Skip to content

Commit 60f3d85

Browse files
author
pipeline
committed
v20.2.48 is released
1 parent 93df9d2 commit 60f3d85

File tree

132 files changed

+1949
-313
lines changed

Some content is hidden

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

132 files changed

+1949
-313
lines changed

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.2.48 (2022-09-06)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I401438` - The issue with the "License registration through `npx` command" has been resolved.
12+
513
## 20.2.46 (2022-08-30)
614

715
### Common

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.2.45",
3+
"version": "20.2.46",
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/themestudio/styles/popups/dialog/_layout.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,31 +437,31 @@
437437
@media (min-width: 768px) {
438438
.e-alert-dialog.e-dialog.e-popup,
439439
.e-confirm-dialog.e-dialog.e-popup {
440-
margin: 30px auto;
440+
margin: 30px;
441441
width: 600px;
442442
}
443443
}
444444

445445
@media (max-width: 768px) {
446446
.e-alert-dialog.e-dialog.e-popup,
447447
.e-confirm-dialog.e-dialog.e-popup {
448-
margin: 30px auto;
448+
margin: 30px;
449449
width: auto;
450450
}
451451
}
452452

453453
@media (max-width: 768px) {
454454
.e-prompt-dialog.e-dialog.e-popup,
455455
.e-prompt-dialog.e-dialog.e-popup {
456-
margin: 30px auto;
456+
margin: 30px;
457457
width: auto;
458458
}
459459
}
460460

461461
@media (min-width: 768px) {
462462
.e-prompt-dialog.e-dialog.e-popup,
463463
.e-prompt-dialog.e-dialog.e-popup {
464-
margin: 30px auto;
464+
margin: 30px;
465465
width: 600px;
466466
}
467467
}

controls/base/themestudio/styles/spreadsheet/ribbon/_theme.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,44 @@
111111
}
112112
}
113113
}
114+
115+
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5-dark' {
116+
& .e-tab,
117+
& .e-tab.e-focused {
118+
119+
& .e-tab-header .e-toolbar-item {
120+
121+
& .e-tab-wrap:focus {
122+
border: 1px solid transparent;
123+
}
124+
125+
& .e-tab-wrap:focus-visible {
126+
border: 1px solid $ribbon-focused-wrap-focus-border-color;
127+
}
128+
129+
& .e-tab-wrap:focus-visible:hover {
130+
border: 1px solid $ribbon-focused-wrap-focus-border-color;
131+
}
132+
}
133+
}
134+
135+
& .e-tab .e-tab-header {
136+
137+
& .e-toolbar-item.e-active .e-tab-wrap {
138+
border: 1px solid transparent;
139+
}
140+
141+
& .e-toolbar-item.e-active .e-tab-wrap:hover {
142+
border: 1px solid transparent;
143+
}
144+
}
145+
146+
& .e-tab:not(.e-focused),
147+
& .e-tab:not(.e-focused)> {
148+
& .e-tab-header .e-toolbar-item.e-active .e-tab-wrap:focus {
149+
border: 1px solid transparent;
150+
}
151+
}
152+
}
114153
}
115154
}

controls/base/themestudio/styles/spreadsheet/spreadsheet/_layout.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2985,4 +2985,24 @@
29852985
}
29862986
}
29872987
}
2988+
2989+
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5-dark' {
2990+
.e-ribbon .e-tab .e-tab-header .e-toolbar-item {
2991+
& .e-tab-wrap:focus .e-text-wrap {
2992+
height: 32px;
2993+
}
2994+
2995+
&:not(.e-separator) .e-text-wrap {
2996+
height: 32px;
2997+
}
2998+
2999+
&:not(.e-separator) .e-tab-wrap {
3000+
height: 35px;
3001+
}
3002+
3003+
&.e-active {
3004+
margin: 0;
3005+
}
3006+
}
3007+
}
29883008
}

controls/buttons/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-buttons",
3-
"version": "20.2.45",
3+
"version": "20.2.46",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/buttons/themestudio/styles/richtexteditor/rich-text-editor/_layout.scss

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

17331733
.e-rte-table-popup.e-dialog .e-dlg-content {
17341734
padding: 0;
1735+
@if $skin-name == 'FluentUI' {
1736+
margin-bottom: 0;
1737+
}
17351738
}
17361739

17371740
@if $skin-name == 'tailwind' {

controls/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.2.48 (2022-09-06)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I400391` - X axis start label is now shifted when y axis is in opposed position.
12+
- `#I400062` - Now the axis lines are displayed properly after the scrollbar.
13+
14+
### Bullet Chart
15+
16+
#### Bug Fixes
17+
18+
- `#I400762` - Bullet Chart target height is now render properly.
19+
- `#I400763` - Bullet chart axis labels are now center aligned, when changing value height.
20+
521
## 20.2.46 (2022-08-30)
622

723
### 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.2.45",
3+
"version": "20.2.46",
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/spec/chart/scrollbar/scrollbar-horizontal.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('Scrollbar Chart ', () => {
8080
let width: string = scrollEle.getAttribute("width");
8181
expect(width == '832.5' || width == '836.5').toBe(true);
8282
expect(scrollEle.getAttribute("height") == '16').toBe(true);
83-
expect(scrollEle.style.top == '373.5px' || scrollEle.style.top == '377.5px').toBe(true);
83+
expect(scrollEle.style.top == '374.5px' || scrollEle.style.top == '378.5px').toBe(true);
8484
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
8585
done();
8686
};
@@ -258,7 +258,7 @@ describe('Scrollbar Chart ', () => {
258258
let width: string = scrollEle.getAttribute('width');
259259
expect(width == '832.5' || width === '836.5').toBe(true);
260260
expect(scrollEle.getAttribute('height') == '16').toBe(true);
261-
expect(scrollEle.style.top == '404.5px' || scrollEle.style.top == '407.5px').toBe(true);
261+
expect(scrollEle.style.top == '405.5px' || scrollEle.style.top == '408.5px').toBe(true);
262262
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
263263
done();
264264
};
@@ -358,7 +358,7 @@ describe('Scrollbar Chart ', () => {
358358
let width: string = scrollEle.getAttribute('width');
359359
expect(width == '832.5' || width === '836.5').toBe(true);
360360
expect(scrollEle.getAttribute('height') == '16').toBe(true);
361-
expect(scrollEle.style.top == '433.5px').toBe(true);
361+
expect(scrollEle.style.top == '434.5px').toBe(true);
362362
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
363363
done();
364364
};
@@ -500,7 +500,7 @@ describe('Scrollbar Chart ', () => {
500500
expect(scrollEle != null).toBe(true);
501501
expect(scrollEle.getAttribute("width") == '856.5' || scrollEle.getAttribute("width") == '857.5').toBe(true);
502502
expect(scrollEle.getAttribute("height") == '16').toBe(true);
503-
expect(scrollEle.style.top == '397.5px' || scrollEle.style.top == '398.5px').toBe(true);
503+
expect(scrollEle.style.top == '398.5px' || scrollEle.style.top == '399.5px').toBe(true);
504504
expect(scrollEle.style.left == '33.5px' || scrollEle.style.left == '32.5px').toBe(true);
505505
done();
506506
};

controls/charts/spec/chart/scrollbar/scrollbar-multiple.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('Scrollbar Chart', () => {
6363
expect(scrollEle != null).toBe(true);
6464
expect(scrollEle.getAttribute("width") == '16').toBe(true);
6565
expect(scrollEle.getAttribute("height") == '328.25' || scrollEle.getAttribute("height") == '335.25').toBe(true);
66-
expect(scrollEle.style.top == '45.25px' || scrollEle.style.top == '42.25px').toBe(true);
66+
expect(scrollEle.style.top == '46.25px' || scrollEle.style.top == '43.25px').toBe(true);
6767
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
6868
done();
6969
};
@@ -79,7 +79,7 @@ describe('Scrollbar Chart', () => {
7979
expect(scrollEle != null).toBe(true);
8080
expect(scrollEle.getAttribute("width") == '816.5' || scrollEle.getAttribute("width") == '820.5').toBe(true);
8181
expect(scrollEle.getAttribute("height") == '16').toBe(true);
82-
expect(scrollEle.style.top == '373.5px' || scrollEle.style.top == '377.5px').toBe(true);
82+
expect(scrollEle.style.top == '374.5px' || scrollEle.style.top == '378.5px').toBe(true);
8383
expect(scrollEle.style.left == '73.5px' || scrollEle.style.left == '69.5px').toBe(true);
8484
done();
8585
};

controls/charts/spec/chart/scrollbar/scrollbar-vertical.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('Scrollbar Chart', () => {
7171
expect(scrollEle != null).toBe(true);
7272
expect(scrollEle.getAttribute("width") == '16').toBe(true);
7373
expect(scrollEle.getAttribute("height") == '344.25' || scrollEle.getAttribute("height") == '351.25').toBe(true);
74-
expect(scrollEle.style.top == '45.25px' || scrollEle.style.top == '42.25px').toBe(true);
74+
expect(scrollEle.style.top == '46.25px' || scrollEle.style.top == '43.25px').toBe(true);
7575
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
7676
done();
7777
};
@@ -244,7 +244,7 @@ describe('Scrollbar Chart', () => {
244244
expect(scrollEle != null).toBe(true);
245245
expect(scrollEle.getAttribute('width') == '16').toBe(true);
246246
expect(scrollEle.getAttribute('height') == '375.25' || scrollEle.getAttribute('height') == '381.25').toBe(true);
247-
expect(scrollEle.style.top == '45.25px' || scrollEle.style.top == '42.25px').toBe(true);
247+
expect(scrollEle.style.top == '46.25px' || scrollEle.style.top == '43.25px').toBe(true);
248248
expect(scrollEle.style.left == '57.5px' || scrollEle.style.left == '53.5px').toBe(true);
249249
done();
250250
};
@@ -340,7 +340,7 @@ describe('Scrollbar Chart', () => {
340340
expect(scrollEle != null).toBe(true);
341341
expect(scrollEle.getAttribute('width') == '16').toBe(true);
342342
expect(scrollEle.getAttribute('height') == '344.25' || scrollEle.getAttribute('height') == '351.25').toBe(true);
343-
expect(scrollEle.style.top == '45.25px' || scrollEle.style.top == '42.25px').toBe(true);
343+
expect(scrollEle.style.top == '46.25px' || scrollEle.style.top == '43.25px').toBe(true);
344344
expect(scrollEle.style.left == '0.5px').toBe(true);
345345
done();
346346
};
@@ -559,8 +559,8 @@ describe('Scrollbar Chart', () => {
559559
};
560560
chartObj.axisCollections[1].zoomingScrollBar.scrollMouseWheel(<WheelEvent>wheelArgs);
561561
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryYAxis');
562-
expect(thumbEle.getAttribute('x') === '118.0102052013836' || thumbEle.getAttribute('x') === '122.42295795735588').toBe(true);
563-
expect(thumbEle.getAttribute('width') === '41.83006535947713' || thumbEle.getAttribute('width') === '40.99644128113879').toBe(true);
562+
expect(thumbEle.getAttribute('x') === '118.0102052013836' || thumbEle.getAttribute('x') === '122.42626704874375' || thumbEle.getAttribute('x') === '135.84086473600797').toBe(true);
563+
expect(thumbEle.getAttribute('width') === '41.83006535947713' || thumbEle.getAttribute('width') === '40.99644128113879' || thumbEle.getAttribute('width') === '120').toBe(true);
564564
done();
565565
};
566566
chartObj.zoomSettings.enableMouseWheelZooming = true;
@@ -581,7 +581,7 @@ describe('Scrollbar Chart', () => {
581581
};
582582
chartObj.axisCollections[1].zoomingScrollBar.scrollMouseWheel(<WheelEvent>wheelArgs);
583583
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryYAxis');
584-
expect(thumbEle.getAttribute('x') === '137.2216947843075' || thumbEle.getAttribute('x') === '132.91907894632376').toBe(true);
584+
expect(thumbEle.getAttribute('x') === '137.2216947843075' || thumbEle.getAttribute('x') === '137.22462493193277' || thumbEle.getAttribute('x') === '175.76356799454996').toBe(true);
585585
expect(thumbEle.getAttribute('width') === '40').toBe(true);
586586
done();
587587
};
@@ -680,7 +680,7 @@ describe('Scrollbar Chart', () => {
680680
chartObj.axisCollections[1].zoomingScrollBar.scrollMouseMove(<PointerEvent>(trigger.onTouchMove(currentTarget, 0, 0, 0, 0, 150, 380)));
681681
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryYAxis');
682682
expect(thumbEle.getAttribute('x') === '8').toBe(true);
683-
expect(thumbEle.getAttribute('width') === '318.75' || thumbEle.getAttribute('width') === '321.75').toBe(true);
683+
expect(thumbEle.getAttribute('width') === '317.75' || thumbEle.getAttribute('width') === '320.75').toBe(true);
684684
chartObj.axisCollections[1].zoomingScrollBar.scrollMouseUp();
685685
done();
686686
};

controls/charts/src/bullet-chart/renderer/scale-render.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,12 @@ export class ScaleGroup {
233233
}
234234

235235
private drawcategory(lPointX: number, lPointY: number, categoryValue: string): TextOption {
236+
let defaultValueHeight: number = 6;
236237
const categoryOptions: TextOption = {
237238
'id': '',
238239
'anchor': 'middle',
239240
'x': lPointX,
240-
'y': lPointY + (this.bulletChart.valueHeight),
241+
'y': lPointY + (defaultValueHeight / 2 + this.bulletChart.valueHeight / 2),
241242
'transform': '',
242243
'text': categoryValue,
243244
'baseLine': '',
@@ -270,7 +271,7 @@ export class ScaleGroup {
270271
const minimum: number = bulletChart.minimum;
271272
const maximum: number = bulletChart.maximum;
272273
const delta: number = maximum - minimum;
273-
const targetWidth: number = bulletChart.targetWidth;
274+
const targetWidth: number = 5;
274275
const pointX: number = isHorizontal ? (rect.x - (targetWidth / 2)) : (rect.y + rect.height);
275276
let temp: number;
276277
let values: number[] = [];

controls/charts/src/chart/axis/cartesian-panel.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,11 @@ export class CartesianAxisLayoutPanel {
13661366
}
13671367
options.x = pointX = rect.x + rect.width - intervalLength;
13681368
}
1369+
if (this.chart.primaryYAxis.opposedPosition && i === 0 && options.x <= rect.x) {
1370+
intervalLength -= (rect.x - options.x);
1371+
options.x += rect.x + (width / 2);
1372+
pointX += rect.x + (width / 2)
1373+
}
13691374
break;
13701375
}
13711376
}

controls/charts/src/common/scrollbar/scrollbar-elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function createScrollSvg(scrollbar: ScrollBar, renderer: SvgRenderer): vo
3838
width: scrollbar.isVertical ? scrollbar.height : scrollbar.width,
3939
height: scrollbar.isVertical ? scrollbar.width : scrollbar.height,
4040
style: 'position: absolute;top: ' + ((scrollbar.axis.isAxisOpposedPosition && isHorizontalAxis ? -16 :
41-
(enablePadding ? markerHeight : 0)) + rect.y) + 'px;left: ' +
41+
(enablePadding ? markerHeight : 0)) + rect.y + Math.max(1, scrollbar.axis.lineStyle.width / 2)) + 'px;left: ' +
4242
(((scrollbar.axis.isAxisOpposedPosition && !isHorizontalAxis ? 16 : 0) + rect.x) - (scrollbar.isVertical ? scrollbar.height : 0))
4343
+ 'px;cursor:auto;'
4444
});

controls/documenteditor/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.2.48 (2022-09-06)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I401666`, `#I401858` - Resolved the issue with selecting bookmark.
12+
- `#I396827` - Resolved the through wrapping style preservation issue.
13+
- `#I397297` - Resolved the table alignment issue.
14+
- `#I398051` - Resolved the invalid text rendering issue.
15+
- `#I397670` - Resolved the browser hanging issue while changing the line spacing continuously.
16+
- `#I390697` - Shape is now preserved properly on undo/redo.
17+
518
## 20.2.46 (2022-08-30)
619

720
### Document Editor
@@ -14,6 +27,7 @@
1427
- `#I395575` - Resolved the issue with rendering cell right border.
1528
- `#I390700` - Resolved the text overlapping issue with square wrapped image.
1629
- `#I394115` - Resolved the table resizing issue.
30+
- `#I379655` - Resolved the issue with rejecting empty paragraph.
1731

1832
## 20.2.45 (2022-08-23)
1933

controls/documenteditor/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-documenteditor",
3-
"version": "20.2.45",
3+
"version": "20.2.46",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs.",
55
"keywords": [
66
"ej2",

controls/documenteditor/spec/implementation/editor/paste.spec.ts

Lines changed: 37 additions & 0 deletions
Large diffs are not rendered by default.

controls/documenteditor/spec/implementation/editor_19.spec.ts

Lines changed: 29 additions & 1 deletion
Large diffs are not rendered by default.

controls/documenteditor/spec/implementation/formats/table-format.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ console.log('get Property Value undefined Testing');
5454
tableFormat.getPropertyValue('leftMargin');
5555
expect('').toBe('');
5656
});
57-
});
57+
});

0 commit comments

Comments
 (0)