Skip to content

Commit dd78e7c

Browse files
author
pipeline
committed
v20.4.52 is released
1 parent 8a7fdb6 commit dd78e7c

File tree

311 files changed

+9738
-343912
lines changed

Some content is hidden

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

311 files changed

+9738
-343912
lines changed

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": "20.4.48",
3+
"version": "20.4.51",
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/base/spec/intl/number-formatter.spec.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,5 +968,22 @@ describe('Number formatter', () => {
968968
expect(result).toBe('¤#,##0.00');
969969
});
970970
});
971+
972+
describe('Custom pivot table format', () => {
973+
it('Number with above 5 lacks values', () => {
974+
let result: Function = NumberFormat.numberFormatter('en-US', { format: '#,###,,;(#,###,,)' }, cldrData);
975+
expect(result(500000)).toBe('1');
976+
expect(result(1500000)).toBe('2');
977+
});
978+
it('Number with below 5 lacks values', () => {
979+
let result: Function = NumberFormat.numberFormatter('en-US', { format: '#,###,,;(#,###,,)' }, cldrData);
980+
expect(result(100000)).toBe('');
981+
});
982+
it('Negative Number with above 5 lacks values', () => {
983+
let result: Function = NumberFormat.numberFormatter('en-US', { format: '#,###,,;(#,###,,)' }, cldrData);
984+
expect(result(-500000)).toBe('(1)');
985+
expect(result(-1500000)).toBe('(2)');
986+
});
987+
});
971988

972-
});
989+
});

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": "20.4.48",
3+
"version": "20.4.51",
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/calendars/styles/daterangepicker/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
overflow: $range-visibility-hidden;
219219
padding: $range-list-item-padding;
220220
white-space: $range-text-nowrap;
221+
text-overflow: $range-text-overflow;
221222
}
222223
#{if(&, '&', '*')} .e-list-parent {
223224
margin: $range-value-zero;

controls/calendars/themestudio/styles/calendars/daterangepicker/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
overflow: $range-visibility-hidden;
219219
padding: $range-list-item-padding;
220220
white-space: $range-text-nowrap;
221+
text-overflow: $range-text-overflow;
221222
}
222223
#{if(&, '&', '*')} .e-list-parent {
223224
margin: $range-value-zero;

controls/calendars/themestudio/styles/grids/grid/_theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@
549549
}
550550
}
551551

552-
.e-ftrchk.e-chkfocus {
552+
.e-ftrchk.e-chkfocus,
553+
li.e-cclist.e-colfocus {
553554
background-color: $grid-hover-bg-color;
554555
}
555556
}
Binary file not shown.

controls/charts/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 20.4.52 (2023-02-28)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#F180554` - Fixed console error thrown when using the destroy method.
12+
- `#I437308` - Resolved accessibility issues in chart.
13+
- `#I436273` - Fixed issue with chart going out when zooming without clip rect in path.
14+
515
## 20.4.51 (2023-02-21)
616

717
### Chart

controls/charts/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-charts",
3-
"version": "20.4.49",
3+
"version": "20.4.51",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/src/accumulation-chart/accumulation.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ export class AccumulationChart extends Component<HTMLElement> implements INotify
837837
if (this.element.className.indexOf('e-accumulationchart') === -1) {
838838
this.element.classList.add('e-accumulationchart');
839839
}
840+
this.element.setAttribute('role', 'chart');
840841
this.element.setAttribute('tabindex', '0');
841842
this.element.setAttribute('aria-label', this.title);
842843
this.element.setAttribute('class', this.element.getAttribute('class') + ' e-accumulationchart-focused');
@@ -1940,7 +1941,8 @@ export class AccumulationChart extends Component<HTMLElement> implements INotify
19401941
super.destroy();
19411942
this.element.classList.remove('e-accumulationchart');
19421943
this.element.classList.remove('e-accumulationchart-focused');
1943-
document.getElementById(this.element.id + 'Keyboard_accumulationchart_focus').remove();
1944+
let element: HTMLElement = document.getElementById(this.element.id + 'Keyboard_accumulationchart_focus');
1945+
if (element) { element.remove(); }
19441946
this.removeSvg();
19451947
this.svgObject = null;
19461948
}

0 commit comments

Comments
 (0)