@syncfusion/ej2-calendars 34.2.2 → 34.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 34.2.2
3
+ * version : 34.2.3
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-calendars",
3
- "version": "34.2.2",
3
+ "version": "34.2.3",
4
4
  "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.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -12,7 +12,7 @@
12
12
  "@syncfusion/ej2-buttons": "~34.2.2",
13
13
  "@syncfusion/ej2-inputs": "~34.2.2",
14
14
  "@syncfusion/ej2-lists": "~34.2.2",
15
- "@syncfusion/ej2-popups": "~34.2.2"
15
+ "@syncfusion/ej2-popups": "~34.2.3"
16
16
  },
17
17
  "devDependencies": {},
18
18
  "keywords": [
@@ -1836,7 +1836,9 @@ var CalendarBase = /** @class */ (function (_super) {
1836
1836
  tableBodyElement = this.tableBodyElement;
1837
1837
  }
1838
1838
  if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + SELECTED))) {
1839
- removeClass([tableBodyElement.querySelector('.' + SELECTED)], SELECTED);
1839
+ var prevSelected = tableBodyElement.querySelector('.' + SELECTED);
1840
+ removeClass([prevSelected], SELECTED);
1841
+ prevSelected.setAttribute('aria-selected', 'false');
1840
1842
  }
1841
1843
  if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + FOCUSEDDATE))) {
1842
1844
  removeClass([tableBodyElement.querySelector('.' + FOCUSEDDATE)], FOCUSEDDATE);
@@ -1856,10 +1858,12 @@ var CalendarBase = /** @class */ (function (_super) {
1856
1858
  if (collection[index] === selectedElement &&
1857
1859
  !this.checkPresentDate(new Date(parseInt(selectedElement.getAttribute('id').split('_')[0], 10)), values)) {
1858
1860
  removeClass([collection[index]], SELECTED);
1861
+ collection[index].setAttribute('aria-selected', 'false');
1859
1862
  }
1860
1863
  }
1861
1864
  if (element.classList.contains(SELECTED)) {
1862
1865
  removeClass([element], SELECTED);
1866
+ element.setAttribute('aria-selected', 'false');
1863
1867
  for (var i = 0; i < copyValues.length; i++) {
1864
1868
  var type = (this.calendarMode === 'Gregorian') ? 'gregorian' : 'islamic';
1865
1869
  var formatOptions = { format: null, type: 'date', skeleton: 'short', calendar: type };
@@ -1869,12 +1873,14 @@ var CalendarBase = /** @class */ (function (_super) {
1869
1873
  var index = copyValues.indexOf(copyValues[i]);
1870
1874
  copyValues.splice(index, 1);
1871
1875
  addClass([element], FOCUSEDDATE);
1876
+ element.setAttribute('aria-selected', 'true');
1872
1877
  }
1873
1878
  }
1874
1879
  this.setProperties({ values: copyValues }, true);
1875
1880
  }
1876
1881
  else {
1877
1882
  addClass([element], SELECTED);
1883
+ element.setAttribute('aria-selected', 'true');
1878
1884
  }
1879
1885
  }
1880
1886
  else {