@syncfusion/ej2-calendars 29.1.39 → 29.2.4

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.
@@ -210,7 +210,7 @@ let CalendarBase = class CalendarBase extends Component {
210
210
  'aria-label': 'next month'
211
211
  };
212
212
  const ariaTitleAttrs = {
213
- 'aria-atomic': 'true', 'aria-live': 'assertive', 'aria-label': 'title'
213
+ 'aria-atomic': 'true', 'aria-live': 'assertive'
214
214
  };
215
215
  const tabIndexAttr = { 'tabindex': '0' };
216
216
  this.headerElement = this.createElement('div', { className: HEADER });
@@ -1030,7 +1030,7 @@ let CalendarBase = class CalendarBase extends Component {
1030
1030
  value = date.valueOf();
1031
1031
  }
1032
1032
  const attrs = {
1033
- className: CELL, attrs: { 'id': '' + getUniqueID('' + value), 'aria-selected': 'false' }
1033
+ className: CELL, attrs: { 'id': '' + getUniqueID('' + value) }
1034
1034
  };
1035
1035
  return this.createElement('td', attrs);
1036
1036
  }
@@ -3339,6 +3339,7 @@ let DatePicker = class DatePicker extends Calendar {
3339
3339
  timeZoneDiff = this.isDayLightSaving() ? timeZoneDiff-- : timeZoneDiff;
3340
3340
  this.value = new Date((this.value).getTime() + (timeZoneDiff * 60 * 60 * 1000));
3341
3341
  this.updateInput();
3342
+ this.changeTrigger(null);
3342
3343
  }
3343
3344
  }
3344
3345
  isDayLightSaving() {
@@ -8110,7 +8111,6 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
8110
8111
  const labelContainer = this.createRangeHeader();
8111
8112
  headerContainer.appendChild(labelContainer);
8112
8113
  const daySpan = this.createElement('div', { className: DAYSPAN });
8113
- attributes(daySpan, { 'aria-label': 'Selected Days' });
8114
8114
  daySpan.textContent = this.l10n.getConstant('selectedDays');
8115
8115
  headerContainer.appendChild(daySpan);
8116
8116
  const separator = this.createElement('div', { className: SEPARATOR });
@@ -8871,8 +8871,11 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
8871
8871
  attributes(this.inputElement, {
8872
8872
  'tabindex': '0', 'aria-expanded': 'false', 'role': 'combobox',
8873
8873
  'autocomplete': 'off', 'aria-disabled': !this.enabled ? 'true' : 'false',
8874
- 'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
8874
+ 'autocapitalize': 'off', 'spellcheck': 'false'
8875
8875
  });
8876
+ if (Browser.isIos) {
8877
+ attributes(this.inputElement, { 'autocorrect': 'off' });
8878
+ }
8876
8879
  Input.addAttributes({ 'aria-label': 'select', 'role': 'button' }, this.inputWrapper.buttons[0]);
8877
8880
  // if (!isNullOrUndefined(this.placeholder) && this.placeholder.trim() !== '') {
8878
8881
  // Input.addAttributes({ 'aria-placeholder': this.placeholder }, this.inputElement);