Skip to content

Commit bd485ea

Browse files
author
pipeline
committed
v25.1.40 is released
1 parent d2521f6 commit bd485ea

File tree

211 files changed

+5163
-1524
lines changed

Some content is hidden

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

211 files changed

+5163
-1524
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.1.39 (2024-04-09)
5+
## 25.1.40 (2024-04-16)
66

77
### Barcode
88

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.1.35",
3+
"version": "25.1.39",
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/calendars/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.1.40 (2024-04-16)
6+
7+
### DatePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I572913` - Resolved the console error that occurred when dynamically showing the popup on focus out.
12+
513
## 25.1.37 (2024-03-26)
614

715
### DateTimePicker

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": "25.1.37",
3+
"version": "25.1.39",
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/src/calendar/calendar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,8 @@ export class CalendarBase extends Component<HTMLElement> implements INotifyPrope
634634
}
635635
}
636636
private removeContentFocus(args: any): void {
637-
const focusedDate: Element = this.tableBodyElement.querySelector('tr td.e-focused-date');
638-
const selectedDate: Element = this.tableBodyElement.querySelector('tr td.e-selected');
637+
const focusedDate: Element = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-focused-date') : null;
638+
const selectedDate: Element = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-selected') : null;
639639
if (!isNullOrUndefined(selectedDate)) {
640640
selectedDate.classList.remove(FOCUSEDCELL);
641641
}

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.1.38",
3+
"version": "25.1.39",
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/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.1.39 (2024-04-09)
7+
## 25.1.40 (2024-04-16)
88

99
### Circular Gauge
1010

controls/diagrams/CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,27 @@
22

33
## [Unreleased]
44

5+
## 25.1.40 (2024-04-16)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#FB51986` - Now, The Diagram is rendered with swimlane when passing element container as a second parameter.
12+
- `#FB52116` - Now, The user handle is not visible while dragging the node/connector.
13+
- `#I570099` - Now, Phase is selectable after deleting first phase without swimlane header.
14+
- `#I51986` - Now, aria-label value is added in text edit mode for annotation resolving accessibility error.
15+
- `#I561938` - Now, the connectors routed properly with shortest routing distance while using enable routing.
16+
- `#I568115` - Prevented overlapping of Nodes during collapse of multiple nodes with Layout Animation.
17+
- `#FB52027` - Now, the text edit for Bpmn text annotation working properly.
18+
519
## 25.1.39 (2024-04-09)
620

721
### Diagram
822

923
#### Bug Fixes
1024

1125
- `#I570446` - Now, zoom in and zoom out works properly while setting canZoomOut as true.
12-
- `#I561938` - Now, the connectors routed properly with shortest routing distance while using enable routing.
1326
- `#I565099` - Now, the undo redo works properly for swimlane after cut and delete.
1427

1528
## 25.1.38 (2024-04-02)

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": "25.1.38",
3+
"version": "25.1.39",
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",

controls/diagrams/spec/diagram/core-canvas/text.spec.ts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Diagram } from '../../../src/diagram/diagram';
66
import { TextElement } from '../../../src/diagram/core/elements/text-element';
77
import { profile, inMB, getMemoryProfile } from '../../../spec/common.spec';
88
import { NodeModel, Rect, DiagramElement } from '../../../src';
9+
import { MouseEvents } from '../interaction/mouseevents.spec';
910

1011
/**
1112
* Text Element
@@ -386,4 +387,50 @@ describe('Diagram Control', () => {
386387
expect(memory).toBeLessThan(profile.samples[0] + 0.25);
387388
})
388389
});
390+
391+
describe('879137: Annotaiton text edit', () => {
392+
let diagram: Diagram;
393+
let ele: HTMLElement;
394+
let mouseEvents = new MouseEvents();
395+
beforeAll((): void => {
396+
ele = createElement('div', { id: 'diagramtextEdit' });
397+
document.body.appendChild(ele);
398+
let nodes: NodeModel[] = [
399+
{
400+
id: 'node',
401+
offsetX: 100, offsetY: 100,
402+
height: 100,
403+
width: 100,
404+
annotations: [{ id: "annotation", content: "Edit" }]
405+
}
406+
];
407+
408+
diagram = new Diagram({
409+
width: '80%',
410+
height: '600px',
411+
nodes: nodes,
412+
});
413+
diagram.appendTo('#diagramtextEdit');
414+
});
415+
afterAll((): void => {
416+
diagram.destroy();
417+
ele.remove();
418+
});
419+
it('check the aria-label value in text-edit mode', (done: Function) => {
420+
let diagramCanvas = document.getElementById(diagram.element.id + 'content');
421+
expect(diagram.nodes.length).toBe(1);
422+
diagram.select([diagram.nodes[0]]);
423+
mouseEvents.clickEvent(diagramCanvas, 100, 100);
424+
mouseEvents.dblclickEvent(diagramCanvas, 100, 100);
425+
const textElement = document.getElementById('node_annotation_text');
426+
let flag: boolean = false;
427+
// Check if the aria-label attribute is present
428+
if (textElement.hasAttribute('aria-label')) {
429+
flag = true;
430+
}
431+
expect(flag).toBe(true);
432+
done();
433+
});
434+
435+
});
389436
});

0 commit comments

Comments
 (0)