Skip to content

Commit e97d9f3

Browse files
author
pipeline
committed
v19.1.58 is released
1 parent aba61c8 commit e97d9f3

File tree

221 files changed

+4491
-2086
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+4491
-2086
lines changed

controls/barcodegenerator/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.57 (2021-04-20)
5+
## 19.1.58 (2021-04-27)
66

77
### Barcode
88

controls/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "19.1.56",
3+
"version": "19.1.57",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/calendars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-calendars",
3-
"version": "19.1.55",
3+
"version": "19.1.56",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/circulargauge/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
## [Unreleased]
66

7+
## 19.1.58 (2021-04-27)
8+
9+
### CircularGauge
10+
11+
#### Bug Fixes
12+
13+
- `#324756` - If numeric content is set, the text style of the annotation content will now be applied correctly.
14+
715
## 19.1.55 (2021-04-06)
816

917
### CircularGauge

controls/circulargauge/spec/circulargauge/annotation/annotation.spec.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,29 @@ describe('Circular-Gauge Control', () => {
6161
gauge.refresh();
6262
});
6363

64+
it('checking annotation numeric text', (done: Function) => {
65+
gauge.loaded = (args: ILoadedEventArgs): void => {
66+
svg = document.getElementById('container_Secondary_Element');
67+
expect(svg.childElementCount == 1).toBe(true);
68+
svg = document.getElementById('container_Annotations_0');
69+
expect(svg.textContent).toBe('30');
70+
svg = document.getElementById('container_Axis_0_Annotation_0');
71+
expect(svg.childElementCount == 1).toBe(true);
72+
expect(svg.children[0]['style'].color).toBe("red");
73+
expect(svg.children[0]['style']["font-size"]).toBe("50px");
74+
expect(svg.children[0]['style']["font-family"]).toBe("Roboto");
75+
done();
76+
};
77+
gauge.axes[0].annotations[0].content = '30';
78+
gauge.axes[0].annotations[0].textStyle = {
79+
size: "50px",
80+
color: "red",
81+
fontFamily: "Roboto",
82+
fontStyle: "Regular"
83+
}
84+
gauge.refresh();
85+
})
86+
6487
it('checking annotation template', (done: Function) => {
6588
gauge.loaded = (args: ILoadedEventArgs): void => {
6689
svg = document.getElementById('container_Secondary_Element');

controls/circulargauge/src/circular-gauge/utils/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ export function getTemplateFunction(template: string, gauge: CircularGauge): any
819819
template = numb ? template.replace(numb, '') : template;
820820
template = template.indexOf('/') !== -1 ? template.replace('/', '') : template;
821821
}
822-
if (document.querySelectorAll(template).length) {
822+
if (isNaN(parseFloat(template)) && document.querySelectorAll(template).length) {
823823
if ((template.charAt(0) !== 'a' || template.charAt(0) !== 'A') && template.length !== 1) {
824824
templateFn = templateComplier(document.querySelector(template).innerHTML.trim());
825825
}

controls/compression/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.57 (2021-04-20)
5+
## 19.1.58 (2021-04-27)
66

77
### Compression
88

controls/data/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.57 (2021-04-20)
5+
## 19.1.58 (2021-04-27)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
- `F164350` - The issue "Annotation hyper link is not working" has been fixed.
1212
- `#319911` - The issue "Customized style disappears when serializing the BPMN shapes" has been fixed.
13+
- `#321939` - The issue "Swimlane send to back node working" has been fixed.
14+
- `#322854` - The issue "Swimlane children disappear while performing the order commands" has been fixed.
15+
- `#323203` - The issue "Exception occurs when try to redo the node's gradient color" has been fixed.
1316

1417
## 19.1.56 (2021-04-13)
1518

controls/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "19.1.56",
3+
"version": "19.1.57",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)