Skip to content

Commit

Permalink
Version 4.10.24
Browse files Browse the repository at this point in the history
  • Loading branch information
martynasma committed Feb 14, 2022
1 parent 097703c commit a5c2751
Show file tree
Hide file tree
Showing 26 changed files with 60 additions and 24 deletions.
9 changes: 9 additions & 0 deletions dist/ember/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [4.10.24] - 2022-02-14

### Changed
- When auto-wrapping labels, text will no longer break on dots to prevent fractional numbers from wrapping.

### Fixed
- Multiple square bracket and apostrophe escaping was not working properly.


## [4.10.23] - 2021-11-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/ember/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amcharts/amcharts4-ember",
"version": "4.10.23",
"version": "4.10.24",
"description": "Ember add-on for amCharts 4",
"keywords": [
"ember-addon",
Expand Down
9 changes: 9 additions & 0 deletions dist/ember/vendor/script/amcharts4/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [4.10.24] - 2022-02-14

### Changed
- When auto-wrapping labels, text will no longer break on dots to prevent fractional numbers from wrapping.

### Fixed
- Multiple square bracket and apostrophe escaping was not working properly.


## [4.10.23] - 2021-11-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/core.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/deps/xlsx.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/deps/xlsx.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/plugins/venn.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/core/System.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/core/System.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/es2015/.internal/core/formatters/TextFormatter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/core/formatters/TextFormatter.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/core/utils/Utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/core/utils/Utils.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/es2015/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [4.10.24] - 2022-02-14

### Changed
- When auto-wrapping labels, text will no longer break on dots to prevent fractional numbers from wrapping.

### Fixed
- Multiple square bracket and apostrophe escaping was not working properly.


## [4.10.23] - 2021-11-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amcharts/amcharts4",
"version": "4.10.23",
"version": "4.10.24",
"author": "amCharts <contact@amcharts.com> (https://www.amcharts.com/)",
"description": "amCharts 4",
"homepage": "https://www.amcharts.com/",
Expand Down
9 changes: 9 additions & 0 deletions dist/script/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [4.10.24] - 2022-02-14

### Changed
- When auto-wrapping labels, text will no longer break on dots to prevent fractional numbers from wrapping.

### Fixed
- Multiple square bracket and apostrophe escaping was not working properly.


## [4.10.23] - 2021-11-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/script/core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/script/core.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/script/deps/xlsx.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/script/deps/xlsx.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/script/plugins/venn.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@amcharts/amcharts4",
"version": "4.10.23",
"version": "4.10.24",
"repository": {
"type": "git",
"url": "https://github.com/amcharts/amcharts4.git"
Expand Down
2 changes: 1 addition & 1 deletion src/.internal/core/System.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class System {
*
* @see {@link https://docs.npmjs.com/misc/semver}
*/
static VERSION: string = "4.10.23";
static VERSION: string = "4.10.24";

/**
* @todo Description
Expand Down
4 changes: 2 additions & 2 deletions src/.internal/core/formatters/TextFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class TextFormatter extends BaseObject {
public escape(text: string): string {
return text.
replace(/\[\[/g, registry.getPlaceholder("1")).
replace(/([^\/]{1})\]\]/g, "$1" + registry.getPlaceholder("2")).
replace(/([^\/\]]{1})\]\]/g, "$1" + registry.getPlaceholder("2")).
replace(/\]\]/g, registry.getPlaceholder("2")).
replace(/\{\{/g, registry.getPlaceholder("3")).
replace(/\}\}/g, registry.getPlaceholder("4")).
Expand All @@ -167,7 +167,7 @@ export class TextFormatter extends BaseObject {
replace(new RegExp(registry.getPlaceholder("2"), "g"), "]]").
replace(new RegExp(registry.getPlaceholder("3"), "g"), "{{").
replace(new RegExp(registry.getPlaceholder("4"), "g"), "}}").
replace(new RegExp(registry.getPlaceholder("5"), "g"), "'");
replace(new RegExp(registry.getPlaceholder("5"), "g"), "''");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/.internal/core/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export function splitTextByCharCount(text: string, maxChars: number, fullWords?:
// Split by spacing
let currentIndex: number = -1;
//let tmpText = text.replace(/([,;:!?\\\/\.]+[\s]+|[\s])/g, $strings.PLACEHOLDER + "$1" + $strings.PLACEHOLDER);
let tmpText = text.replace(/([,;:!?\\\/\.]+|[\s])/g, $strings.PLACEHOLDER + "$1" + $strings.PLACEHOLDER);
let tmpText = text.replace(/([,;:!?\\\/]+|[\s])/g, $strings.PLACEHOLDER + "$1" + $strings.PLACEHOLDER);
let words = tmpText.split($strings.PLACEHOLDER);

// Glue end-of-word punctuation to the word itself
Expand Down

0 comments on commit a5c2751

Please sign in to comment.