Skip to content

Commit caf1904

Browse files
author
pipeline
committed
v28.1.41 is released
1 parent bdbf4ad commit caf1904

File tree

157 files changed

+1771
-651
lines changed

Some content is hidden

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

157 files changed

+1771
-651
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-
## 28.1.39 (2024-01-14)
5+
## 28.1.41 (2025-01-21)
66

77
### Barcode
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-
## 28.1.39 (2024-01-14)
5+
## 28.1.41 (2025-01-21)
66

77
### Switch
88

controls/calendars/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 28.1.41 (2025-01-21)
6+
7+
### DatePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I675886` - Fixed an issue where values were not updated correctly when a mask was configured.
12+
513
## 28.1.39 (2024-01-14)
614

715
### DateRangePicker
@@ -1211,4 +1219,4 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
12111219

12121220
- **StrictMode** - Allows to entering the only valid time in a textbox.
12131221

1214-
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.
1222+
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.

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": "28.1.37",
3+
"version": "28.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/maskbase/masked-date-time.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ export class MaskedDateTime {
328328
return;
329329
}
330330
this.isDayPart = true;
331-
this.dayTypeCount = this.dayTypeCount + 1;
331+
const maxDaysInMonth: number = new Date(newDateValue.getFullYear(), newDateValue.getMonth() + 1, 0).getDate();
332+
this.dayTypeCount += (this.dayTypeCount === 0 && (parseInt(date + '0', 10) > maxDaysInMonth)) ? 2 : 1;
332333
} else {
333334
this.isDayPart = false;
334335
this.dayTypeCount = this.isDateZero ? this.dayTypeCount + 1 : this.dayTypeCount;
@@ -450,7 +451,7 @@ export class MaskedDateTime {
450451
newDateValue.setHours(Math.floor(newDateValue.getHours() / 12) * 12 + (this.hour % 12));
451452
this.isNavigate = this.hour.toString().length === 2;
452453
this.isHourPart = true;
453-
this.hourTypeCount = this.hourTypeCount + 1;
454+
this.hourTypeCount = (this.hourTypeCount === 0 && this.hour && (parseInt(this.hour + '0', 10) > 12)) ? 2 : this.hourTypeCount + 1;
454455
break;
455456
case 'H':
456457
this.hour = (this.isHourPart && newDateValue.getHours().toString().length < 2 &&
@@ -466,7 +467,7 @@ export class MaskedDateTime {
466467
newDateValue.setHours(this.hour);
467468
this.isNavigate = this.hour.toString().length === 2;
468469
this.isHourPart = true;
469-
this.hourTypeCount = this.hourTypeCount + 1;
470+
this.hourTypeCount = (this.hourTypeCount === 0 && this.hour && (parseInt(this.hour + '0', 10) > 23)) ? 2 : this.hourTypeCount + 1;
470471
break;
471472
case 'm':
472473
{
@@ -483,7 +484,7 @@ export class MaskedDateTime {
483484
newDateValue.setMinutes(minutes);
484485
this.isNavigate = minutes.toString().length === 2;
485486
this.isMinutePart = true;
486-
this.minuteTypeCount = this.minuteTypeCount + 1;
487+
this.minuteTypeCount = (this.minuteTypeCount === 0 && (parseInt(minutes + '0', 10) > 59)) ? 2 : this.minuteTypeCount + 1;
487488
break;
488489
}
489490
case 's':
@@ -501,7 +502,7 @@ export class MaskedDateTime {
501502
newDateValue.setSeconds(seconds);
502503
this.isNavigate = seconds.toString().length === 2;
503504
this.isSecondsPart = true;
504-
this.secondTypeCount = this.secondTypeCount + 1;
505+
this.secondTypeCount = (this.secondTypeCount === 0 && (parseInt(seconds + '0', 10) > 59)) ? 2 : this.secondTypeCount + 1;
505506
break;
506507
}
507508
case 'a':

controls/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 28.1.41 (2025-01-21)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I651775` - The data label position for the stacked column now renders properly.
12+
- `#F195744` - The tooltip for the stacking column series now renders properly during keyboard navigation.
13+
14+
### Bullet Chart
15+
16+
#### Bug Fixes
17+
18+
- `#I676482` - The bullet chart will render properly even when the range is set to empty.
19+
520
## 28.1.39 (2024-01-14)
621

722
### 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": "28.1.38",
3+
"version": "28.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/charts/spec/chart/series/stacking-column-series.spec.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,15 +1896,17 @@ describe('Chart Control', () => {
18961896
loaded = function (args) {
18971897
let legendElement = document.getElementById('container_Series_0_Point_0_Text_0').getAttribute('x');
18981898
let legendElement1 = document.getElementById('container_Series_1_Point_0_Text_0').getAttribute('x');
1899-
expect(legendElement).toBe('36.4');
1900-
expect(legendElement1).toBe('36.4');
1899+
expect(legendElement).toBe('16');
1900+
expect(legendElement1).toBe('16');
19011901
legendElement = document.getElementById('container_Series_0_Point_0_Text_0').getAttribute('y');
19021902
legendElement1 = document.getElementById('container_Series_1_Point_0_Text_0').getAttribute('y');
1903-
expect(legendElement).toBe('336.3104248046875');
1904-
expect(legendElement1).toBe('322.5380078125');
1903+
expect(legendElement).toBe('132.31040954589844');
1904+
expect(legendElement1).toBe('127.8333958943685');
19051905
done();
19061906
};
19071907
chartObj.loaded = loaded;
1908+
chartObj.height = '240px';
1909+
chartObj.width = '336px';
19081910
chartObj.refresh();
19091911
});
19101912
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ export class BulletChart extends Component<HTMLElement> implements INotifyProper
660660
if (!this.minimum) {
661661
this.minimum = 0;
662662
}
663-
if (!this.maximum) {
663+
if (!this.maximum && this.ranges.length) {
664664
this.maximum = 0;
665665
for (let i: number = 0; i < this.ranges.length; i++) {
666666
this.maximum = this.maximum > this.ranges[i as number].end ? this.maximum : this.ranges[i as number].end;

controls/charts/src/chart/chart.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3647,8 +3647,10 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
36473647
const pointIndex: number = +(targetId.split('_Series_')[1].replace('_Symbol', '').split('_Point_')[1]);
36483648
const pointRegion: ChartLocation = this.visibleSeries[seriesIndex as number].points[pointIndex as number].
36493649
symbolLocations[0];
3650-
this.mouseX = pointRegion.x + this.initialClipRect.x;
3651-
this.mouseY = pointRegion.y + this.initialClipRect.y;
3650+
this.mouseX = pointRegion.x + this.initialClipRect.x - (this.visibleSeries[seriesIndex as number].type.indexOf('StackingBar') > -1 ?
3651+
this.visibleSeries[seriesIndex as number].marker.height / 2 : 0);
3652+
this.mouseY = pointRegion.y + this.initialClipRect.y + (this.visibleSeries[seriesIndex as number].type.indexOf('StackingColumn') > -1 ?
3653+
this.visibleSeries[seriesIndex as number].marker.height / 2 : 0);
36523654
if (this.highlightModule) {
36533655
this.highlightModule.highlightChart(document.getElementById(targetId), 'mousemove');
36543656
this.highlightModule.completeSelection(document.getElementById(targetId), 'mousemove');

0 commit comments

Comments
 (0)