Skip to content

Commit 7b28d24

Browse files
author
pipeline
committed
v24.1.44 is released
1 parent b439f72 commit 7b28d24

File tree

134 files changed

+2458
-612
lines changed

Some content is hidden

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

134 files changed

+2458
-612
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-
## 24.1.43 (2023-12-27)
5+
## 24.1.44 (2024-01-03)
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-
## 24.1.43 (2023-12-27)
5+
## 24.1.41 (2023-12-18)
66

77
### RadioButton
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": "18.64.1",
3+
"version": "24.1.41",
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/spec/chips.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('Chips', () => {
3535
expect(element.classList.contains('e-chip-set')).toBe(false);
3636
//attribute
3737
expect(element.getAttribute('tabindex')).toBe('0');
38-
expect(element.getAttribute('role')).toBe('option');
38+
expect(element.getAttribute('role')).toBe('button');
3939
expect(element.getAttribute('aria-label')).toBe('chip content');
4040
//text content
4141
expect(element.innerText).toBe('chip content');
@@ -51,7 +51,7 @@ describe('Chips', () => {
5151
expect(element.innerText).toBe('chip innertext');
5252
//attribute
5353
expect(element.getAttribute('tabindex')).toBe('0');
54-
expect(element.getAttribute('role')).toBe('option');
54+
expect(element.getAttribute('role')).toBe('button');
5555
expect(element.getAttribute('aria-label')).toBe('chip innertext');
5656
//text content
5757
expect(element.innerText).toBe('chip innertext');
@@ -1346,4 +1346,4 @@ describe('Chips', () => {
13461346
});
13471347
});
13481348
});
1349-
});
1349+
});

controls/buttons/src/chips/chip-list.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
477477
private setAttributes(): void {
478478
if (this.type === 'chip') {
479479
if(this.enabled) this.element.tabIndex = 0;
480-
this.element.setAttribute('role', 'option');
480+
this.element.setAttribute('role', 'button');
481481
} else {
482482
this.element.classList.add(classNames.chipSet);
483483
this.element.setAttribute('role', 'listbox');
@@ -508,7 +508,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
508508
const className: string[] = (classNames.chip + ' ' + (fieldsData.enabled ? ' ' : classNames.disabled) + ' ' +
509509
(fieldsData.avatarIconCss || fieldsData.avatarText ? classNames.chipWrapper : (fieldsData.leadingIconCss ?
510510
classNames.iconWrapper : ' ')) + ' ' + fieldsData.cssClass).split(' ').filter((css: string) => css);
511-
if (!this.chipType()) {
511+
if (!this.chipType() || this.type === 'chip') {
512512
chipListArray = chipArray;
513513
addClass([this.element], className);
514514
this.element.setAttribute('aria-label', fieldsData.text);
@@ -807,7 +807,7 @@ export class ChipList extends Component<HTMLElement> implements INotifyPropertyC
807807
if (e.type === 'keydown') {
808808
if (e.keyCode === 13 || e.keyCode === 32) {
809809
this.clickHandler(e);
810-
} else if (e.keyCode === 46 && this.enableDelete) {
810+
} else if ((e.keyCode === 46 || e.keyCode === 8) && this.enableDelete) {
811811
this.clickHandler(e, true);
812812
}
813813
} else if (e.keyCode === 9) {

controls/buttons/src/speed-dial/speed-dial.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,12 @@ export class SpeedDial extends Component<HTMLButtonElement> implements INotifyPr
922922
private setRTL(): void {
923923
this.popupEle.classList[this.enableRtl ? 'add' : 'remove'](RTLCLASS);
924924
this.clearHorizontalPosition();
925-
if (!(this.popupTemplate || (this.mode === 'Radial'))) { this.setLinearHorizontalPosition(); } else { this.setHorizontalPosition(); }
925+
if (!(this.popupTemplate || (this.mode === 'Radial'))) {
926+
this.setLinearHorizontalPosition();
927+
} else {
928+
if (!this.popupTemplate && this.mode === 'Radial') { this.setRadialPosition(); }
929+
this.setHorizontalPosition();
930+
}
926931
}
927932

928933
private checkTarget(): void {

controls/buttons/styles/button/_theme.scss

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,12 +1045,22 @@
10451045
@if $skin-name == 'FluentUI' {
10461046
outline: none !important; /* stylelint-disable-line declaration-no-important */
10471047
}
1048+
1049+
@if $skin-name == 'bootstrap5' {
1050+
background: $btn-outline-active-bgcolor;
1051+
color: $btn-outline-active-color;
1052+
}
10481053
}
10491054

10501055
&:focus-visible { // only for keybord
10511056
@if $skin-name == 'FluentUI' {
10521057
background: $btn-outline-bgcolor;
10531058
}
1059+
1060+
@if $skin-name == 'bootstrap5' {
1061+
box-shadow: $btn-focus-box-shadow;
1062+
}
1063+
10541064
@if $skin-name == 'Material3' {
10551065
background: $btn-active-bgcolor;
10561066
box-shadow: $btn-keyboard-focus-box-shadow;
@@ -1101,12 +1111,22 @@
11011111
@if $skin-name == 'FluentUI' {
11021112
outline: none !important; /* stylelint-disable-line declaration-no-important */
11031113
}
1114+
1115+
@if $skin-name == 'bootstrap5' {
1116+
background: $btn-outline-primary-focus-bgcolor;
1117+
color: $btn-outline-active-color;
1118+
}
11041119
}
11051120

11061121
&:focus-visible { // only for keybord
11071122
@if $skin-name == 'FluentUI' {
11081123
background: $btn-outline-bgcolor;
11091124
}
1125+
1126+
@if $skin-name == 'bootstrap5' {
1127+
box-shadow: $btn-primary-focus-box-shadow;
1128+
}
1129+
11101130
@if $skin-name == 'Material3' {
11111131
background: $btn-primary-active-bgcolor;
11121132
box-shadow: $btn-keyboard-focus-box-shadow;
@@ -1164,12 +1184,20 @@
11641184
@if $skin-name == 'FluentUI' {
11651185
outline: none !important; /* stylelint-disable-line declaration-no-important */
11661186
}
1187+
1188+
@if $skin-name == 'bootstrap5' {
1189+
background: $btn-success-bgcolor;
1190+
color: $btn-success-color;
1191+
}
11671192
}
11681193

11691194
&:focus-visible { // only for keybord
11701195
@if $skin-name == 'FluentUI' {
11711196
background: $btn-outline-bgcolor;
11721197
}
1198+
@if $skin-name == 'bootstrap5' {
1199+
box-shadow: $btn-success-focus-box-shadow;
1200+
}
11731201
@if $skin-name == 'Material3' {
11741202
background: $btn-success-active-bgcolor;
11751203
box-shadow: $btn-keyboard-focus-box-shadow;
@@ -1227,12 +1255,20 @@
12271255
@if $skin-name == 'FluentUI' {
12281256
outline: none !important; /* stylelint-disable-line declaration-no-important */
12291257
}
1258+
1259+
@if $skin-name == 'bootstrap5' {
1260+
background: $btn-info-bgcolor;
1261+
color: $btn-info-color;
1262+
}
12301263
}
12311264

12321265
&:focus-visible { // only for keybord
12331266
@if $skin-name == 'FluentUI' {
12341267
background: $btn-outline-bgcolor;
12351268
}
1269+
@if $skin-name == 'bootstrap5' {
1270+
box-shadow: $btn-info-focus-box-shadow;
1271+
}
12361272
@if $skin-name == 'Material3' {
12371273
background: $btn-info-active-bgcolor;
12381274
box-shadow: $btn-keyboard-focus-box-shadow;
@@ -1290,12 +1326,20 @@
12901326
@if $skin-name == 'FluentUI' {
12911327
outline: none !important; /* stylelint-disable-line declaration-no-important */
12921328
}
1329+
1330+
@if $skin-name == 'bootstrap5' {
1331+
background: $btn-warning-bgcolor;
1332+
color: $btn-warning-color;
1333+
}
12931334
}
12941335

12951336
&:focus-visible { // only for keybord
12961337
@if $skin-name == 'FluentUI' {
12971338
background: $btn-outline-bgcolor;
12981339
}
1340+
@if $skin-name == 'bootstrap5' {
1341+
box-shadow: $btn-warning-focus-box-shadow;
1342+
}
12991343
@if $skin-name == 'Material3' {
13001344
background: $btn-warning-active-bgcolor;
13011345
box-shadow: $btn-keyboard-focus-box-shadow;
@@ -1353,12 +1397,20 @@
13531397
@if $skin-name == 'FluentUI' {
13541398
outline: none !important; /* stylelint-disable-line declaration-no-important */
13551399
}
1400+
1401+
@if $skin-name == 'bootstrap5' {
1402+
background: $btn-danger-bgcolor;
1403+
color: $btn-danger-color;
1404+
}
13561405
}
13571406

13581407
&:focus-visible { // only for keybord
13591408
@if $skin-name == 'FluentUI' {
13601409
background: $btn-outline-bgcolor;
13611410
}
1411+
@if $skin-name == 'bootstrap5' {
1412+
box-shadow: $btn-danger-focus-box-shadow;
1413+
}
13621414
@if $skin-name == 'Material3' {
13631415
background: $btn-danger-active-bgcolor;
13641416
box-shadow: $btn-keyboard-focus-box-shadow;

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+
## 24.1.44 (2024-01-03)
6+
7+
### TimePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I529252` - Fixed issue where changing the time in `EEE hh:mm a` format was affecting the day.
12+
513
## 24.1.43 (2023-12-27)
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": "18.32.2",
3+
"version": "24.1.43",
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/timepicker/timepicker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2034,7 +2034,7 @@ export class TimePicker extends Component<HTMLElement> implements IInput {
20342034
protected validateValue(date: Date, value: string | Date): string {
20352035
let time: string;
20362036
const val: string | Date = this.validateMinMax(value, this.min, this.max);
2037-
const newval: Date = this.createDateObj(val);
2037+
const newval: Date = this.getDateObject(val);
20382038
if (this.getFormattedValue(newval) !== this.getFormattedValue(this.value)) {
20392039
this.valueWithMinutes = isNullOrUndefined(newval) ? null : newval;
20402040
time = this.objToString(this.valueWithMinutes);

0 commit comments

Comments
 (0)