Skip to content

Commit c0d6392

Browse files
author
pipeline
committed
v25.2.7 is released
1 parent ea64fa5 commit c0d6392

File tree

83 files changed

+1879
-378
lines changed

Some content is hidden

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

83 files changed

+1879
-378
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-
## 25.2.6 (2024-05-28)
5+
## 25.2.7 (2024-06-04)
66

77
### Barcode
88

controls/buttons/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+
## 25.2.7 (2024-06-04)
6+
7+
### Speed Dial
8+
9+
#### Bug Fixes
10+
11+
- `#I591414` - Now the issue with unable to click the Speed Dial items when `opensOnHover` property is enabled has been resolved.
12+
513
## 25.2.6 (2024-05-28)
614

715
### Switch

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": "25.2.4",
3+
"version": "25.2.6",
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/styles/speed-dial/_layout.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
.e-speeddial-popup {
33
position: absolute;
44
z-index: 100000;
5-
pointer-events: none;
5+
6+
&:not(.e-speeddial-hover-open) {
7+
pointer-events: none;
8+
}
69

710
&.e-speeddial-top {
811
top: $sd-offset;

controls/calendars/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 25.2.7 (2024-06-04)
6+
7+
### DatePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I594041` - Fixed an issue where the `tab` key and `escape` key were not functioning correctly.
12+
13+
### DateTimePicker
14+
15+
#### Bug Fixes
16+
17+
- `#I594041` - Fixed an issue where the `tab` key and `escape` key were not functioning correctly.
18+
519
## 25.2.5 (2024-05-21)
620

721
### TimePicker

controls/calendars/src/calendar/calendar.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,9 @@ export class CalendarBase extends Component<HTMLElement> implements INotifyPrope
808808
this.nextIcon = this.previousIcon = this.table = null;
809809
}
810810
protected keyActionHandle(e: KeyboardEventArgs, value?: Date, multiSelection?: boolean): void {
811+
if (this.calendarElement === null && e.action === 'escape') {
812+
return;
813+
}
811814
const focusedDate: Element = this.tableBodyElement.querySelector('tr td.e-focused-date');
812815
let selectedDate: Element;
813816
if (multiSelection) {
@@ -952,7 +955,11 @@ export class CalendarBase extends Component<HTMLElement> implements INotifyPrope
952955
case 'tab':
953956
if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && e.target === this.todayElement) {
954957
e.preventDefault();
955-
(this as any).element.focus();
958+
if (this.isAngular) {
959+
(this as any).inputElement.focus();
960+
} else {
961+
(this as any).element.focus();
962+
}
956963
(this as any).hide();
957964
}
958965
break;
@@ -963,6 +970,11 @@ export class CalendarBase extends Component<HTMLElement> implements INotifyPrope
963970
(this as any).hide();
964971
}
965972
break;
973+
case 'escape':
974+
if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && (e.target === this.headerTitleElement || e.target === this.previousIcon || e.target === this.nextIcon || e.target === this.todayElement)) {
975+
(this as any).hide();
976+
}
977+
break;
966978
}
967979
}
968980

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": "25.2.5",
3+
"version": "25.2.6",
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/chart/axis/cartesian-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ export class CartesianAxisLayoutPanel {
927927
case 'Shift':
928928
if ((i === 0 || (isInverse && i === len - 1)) && options.y > rect.y + rect.height) {
929929
options.y = pointY = rect.y + rect.height;
930-
} else if (((i === len - 1) || (isInverse && i === 0)) && (options.y <= rect.y)) {
930+
} else if (((i === len - 1) || (isInverse && i === 0)) && ((options.y < rect.y) || (options.y - elementSize.height / 2 < -1))) {
931931
options.y = pointY = rect.y + elementSize.height * 0.5;
932932
}
933933
break;

controls/circulargauge/CHANGELOG.md

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

55
## [Unreleased]
66

7-
## 25.2.6 (2024-05-28)
7+
## 25.2.7 (2024-06-04)
88

99
### Circular Gauge
1010

controls/documenteditor/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 25.2.7 (2024-06-04)
6+
7+
### DocumentEditor
8+
9+
#### Bug Fixes
10+
11+
- `#I586051` - Resolved the script error when passing null value to open API.
12+
- `#F188215` - Resolved the Horizontal scrollbar in Continuous layout type.
13+
- `#I576525` - Resolved the script error issue when inserting bookmarks with the same name.
14+
- `#I578500` - Resolved the hanging and layout issue when split the widow control paragraph inside table.
15+
- `#I588495` - Resolved the hanging issue when opening a document with big image inside table.
16+
- `#I592601` - Resolved a script error when undoing style changes.
17+
- `#I592608` - Resolved a content syncing issue when switching paste options.
18+
519
## 25.2.6 (2024-05-28)
620

721
### DocumentEditor

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": "25.2.5",
3+
"version": "25.2.6",
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/collaboration/table_paste_option.spec.ts

Lines changed: 0 additions & 158 deletions
This file was deleted.

controls/documenteditor/spec/implementation/editor_16.spec.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,36 @@ describe('remove a table cell with bookmark Element', () => {
292292
container.editor.deleteColumn();
293293
expect(container.documentHelper.bookmarks.keys.length).toEqual(0);
294294
});
295+
});
296+
297+
describe('Open empty string validation', () => {
298+
let container: DocumentEditor;
299+
beforeAll(() => {
300+
document.body.innerHTML = '';
301+
let ele: HTMLElement = createElement('div', { id: 'container' });
302+
document.body.appendChild(ele);
303+
DocumentEditor.Inject(Editor, Selection, EditorHistory);
304+
container = new DocumentEditor({ enableEditor: true, isReadOnly: false, enableEditorHistory: true, enableSfdtExport: true });
305+
(container.documentHelper as any).containerCanvasIn = TestHelper.containerCanvas;
306+
(container.documentHelper as any).selectionCanvasIn = TestHelper.selectionCanvas;
307+
(container.documentHelper.render as any).pageCanvasIn = TestHelper.pageCanvas;
308+
(container.documentHelper.render as any).selectionCanvasIn = TestHelper.pageSelectionCanvas;
309+
container.appendTo('#container');
310+
});
311+
afterAll((done): void => {
312+
container.destroy();
313+
document.body.removeChild(document.getElementById('container'));
314+
container = undefined;
315+
document.body.innerHTML = '';
316+
setTimeout(function () {
317+
done();
318+
}, 1000);
319+
});
320+
it('Empty string validation', () => {
321+
console.log('Empty string validation');
322+
container.openBlank();
323+
expect(() => { container.open('') }).not.toThrowError();
324+
expect(() => { container.open(undefined) }).not.toThrowError();
325+
expect(() => { container.open(null) }).not.toThrowError();
326+
});
295327
});

controls/documenteditor/src/document-editor/document-editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2892,7 +2892,7 @@ export class DocumentEditor extends Component<HTMLElement> implements INotifyPro
28922892
*/
28932893
public open(sfdtText: string): void {
28942894
// sfdtText = HelperMethods.sanitizeString(sfdtText);
2895-
if (!isNullOrUndefined(this.viewer)) {
2895+
if (!isNullOrUndefined(this.viewer) && !isNullOrUndefined(sfdtText) && sfdtText.length > 0) {
28962896
this.clearPreservedCollectionsInViewer();
28972897
this.documentHelper.userCollection.push('Everyone');
28982898
this.documentHelper.lists = [];

0 commit comments

Comments
 (0)