Skip to content

Commit 7891e57

Browse files
author
pipeline
committed
v29.2.7 is released
1 parent 6325f33 commit 7891e57

File tree

106 files changed

+2466
-437
lines changed

Some content is hidden

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

106 files changed

+2466
-437
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-
## 29.2.5 (2025-05-21)
5+
## 29.2.7 (2025-05-27)
66

77
### Barcode
88

controls/base/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-
## 29.2.5 (2025-05-21)
5+
## 29.2.7 (2025-05-27)
66

77
### Common
88

controls/buttons/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-
## 29.2.5 (2025-05-21)
5+
## 29.2.7 (2025-05-27)
66

77
### Switch
88

controls/calendars/CHANGELOG.md

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

1111
- `#I711579` - Fixed an issue where the DatePicker popup did not close on mobile devices when clicking outside of it.
1212

13+
### DateRangePicker
14+
15+
#### Bug Fixes
16+
17+
- `#709169` - Fixed an issue where the Daterangepicker popup did not update the selected range when using min and max dates with mid-month values, with depth set to year and decade.
18+
1319
## 29.1.40 (2025-04-29)
1420

1521
### DateRangePicker

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": "29.2.4",
3+
"version": "29.2.5",
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/daterangepicker/daterangepicker.ts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,7 @@ export class DateRangePicker extends CalendarBase {
15501550
if (this.inputElement.defaultValue !== value){
15511551
endDate = this.getStartEndDate(endDate, true);
15521552
}
1553+
if (endDate >= this.max) { endDate = this.max; }
15531554
}
15541555
if (!isNullOrUndefined(startDate) && !isNaN(+startDate) && !isNullOrUndefined(endDate) && !isNaN(+endDate)) {
15551556
const prevStartVal: Date = this.startValue;
@@ -2394,8 +2395,27 @@ export class DateRangePicker extends CalendarBase {
23942395
this.checkMinMaxDays();
23952396
}
23962397
}
2397-
2398-
2398+
const isCustomMin: boolean = this.min.getTime() !== new Date(1900, 0, 1).getTime();
2399+
const isCustomMax: boolean = this.max.getTime() !== new Date(2099, 11, 31).getTime();
2400+
if (this.currentView() === 'Year' && this.depth === 'Year') {
2401+
const startMonth: Date = new Date(this.min.getFullYear(), this.min.getMonth(), 1);
2402+
if (!isNullOrUndefined(this.startValue) && isCustomMin && +this.startValue <= +startMonth) {
2403+
this.startValue = this.min;
2404+
}
2405+
const endMonth: Date = new Date(this.max.getFullYear(), this.max.getMonth() + 1, 0);
2406+
if (!isNullOrUndefined(this.endValue) && isCustomMax && +this.endValue >= +endMonth) {
2407+
this.endValue = this.max;
2408+
}
2409+
} else if (this.currentView() === 'Decade' && this.depth === 'Decade') {
2410+
if (!isNullOrUndefined(this.startValue) && isCustomMin && this.startValue.getFullYear() <= this.min.getFullYear()) {
2411+
this.startValue = this.min;
2412+
} else if (isCustomMin && this.startValue.getFullYear() > this.min.getFullYear()) {
2413+
this.startValue = new Date(this.startValue.getFullYear(), 0, 1);
2414+
}
2415+
if (!isNullOrUndefined(this.endValue) && isCustomMax && this.endValue.getFullYear() >= this.max.getFullYear()) {
2416+
this.endValue = this.max;
2417+
}
2418+
}
23992419
if (event) {
24002420
leftCalendar = <HTMLElement>closest(<HTMLElement>event.target, '.' + LEFTCALENDER);
24012421
}

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": "29.2.4",
3+
"version": "29.2.5",
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/series/stacking-area-series.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class StackingAreaSeries extends LineBase {
4646
const isPolar: boolean = (series.chart && series.chart.chartAreaType === 'PolarRadar');
4747
let index: number;
4848
for (let i: number = series.index; i >= 0; i--) {
49-
if (series.chart.visibleSeries[i as number].visible) {
49+
if (series.chart.visibleSeries[i as number].visible && series.chart.visibleSeries[i as number].type.indexOf('Stacking') > -1) {
5050
index = series.chart.visibleSeries[i as number].index;
5151
break;
5252
}
@@ -57,7 +57,7 @@ export class StackingAreaSeries extends LineBase {
5757
if (visiblePoints[i as number].visible && withInRange(visiblePoints[i - 1], visiblePoints[i as number],
5858
visiblePoints[i + 1], series)) {
5959
const startvalue: number = series.index > 0 && index !== undefined ?
60-
this.chart.visibleSeries[series.index as number].stackedValues.endValues[pointIndex as number] :
60+
this.chart.visibleSeries[index as number].stackedValues.endValues[pointIndex as number] :
6161
stackedvalue.startValues[pointIndex as number];
6262
point1 = getCoordinate(
6363
visiblePoints[i as number].xValue, (!series.visible && series.isLegendClicked) ? startvalue :
@@ -119,7 +119,7 @@ export class StackingAreaSeries extends LineBase {
119119
if (previousSeries.emptyPointSettings.mode !== 'Drop' || !previousSeries.points[j as number].isEmpty) {
120120
point2 = getCoordinate(visiblePoints[j as number].xValue, (!series.visible && series.isLegendClicked && series.index > 0
121121
&& index !== undefined) ?
122-
this.chart.visibleSeries[series.index as number].stackedValues.endValues[pointIndex as number]
122+
this.chart.visibleSeries[index as number].stackedValues.endValues[pointIndex as number]
123123
: stackedvalue.startValues[pointIndex as number], xAxis, yAxis, isInverted, series);
124124
if (stackedvalue.startValues[pointIndex as number] === stackedvalue.endValues[pointIndex as number]) {
125125
point2.y = Math.floor(point2.y);

controls/diagrams/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+
## 29.2.7 (2025-05-27)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I718482` - Now, Flowchart layout will render without console error while loading mermaid syntax data.
12+
513
## 29.2.4 (2025-05-14)
614

715
### Diagram

0 commit comments

Comments
 (0)