@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.
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +7 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +7 -4
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/calendar/calendar.js +2 -2
- package/src/datepicker/datepicker.js +1 -0
- package/src/daterangepicker/daterangepicker.js +4 -2
|
@@ -225,7 +225,7 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
225
225
|
'aria-label': 'next month'
|
|
226
226
|
};
|
|
227
227
|
var ariaTitleAttrs = {
|
|
228
|
-
'aria-atomic': 'true', 'aria-live': 'assertive'
|
|
228
|
+
'aria-atomic': 'true', 'aria-live': 'assertive'
|
|
229
229
|
};
|
|
230
230
|
var tabIndexAttr = { 'tabindex': '0' };
|
|
231
231
|
this.headerElement = this.createElement('div', { className: HEADER });
|
|
@@ -1047,7 +1047,7 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1047
1047
|
value = date.valueOf();
|
|
1048
1048
|
}
|
|
1049
1049
|
var attrs = {
|
|
1050
|
-
className: CELL, attrs: { 'id': '' + getUniqueID('' + value)
|
|
1050
|
+
className: CELL, attrs: { 'id': '' + getUniqueID('' + value) }
|
|
1051
1051
|
};
|
|
1052
1052
|
return this.createElement('td', attrs);
|
|
1053
1053
|
};
|
|
@@ -3378,6 +3378,7 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
3378
3378
|
timeZoneDiff = this.isDayLightSaving() ? timeZoneDiff-- : timeZoneDiff;
|
|
3379
3379
|
this.value = new Date((this.value).getTime() + (timeZoneDiff * 60 * 60 * 1000));
|
|
3380
3380
|
this.updateInput();
|
|
3381
|
+
this.changeTrigger(null);
|
|
3381
3382
|
}
|
|
3382
3383
|
};
|
|
3383
3384
|
DatePicker.prototype.isDayLightSaving = function () {
|
|
@@ -8204,7 +8205,6 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
8204
8205
|
var labelContainer = this.createRangeHeader();
|
|
8205
8206
|
headerContainer.appendChild(labelContainer);
|
|
8206
8207
|
var daySpan = this.createElement('div', { className: DAYSPAN });
|
|
8207
|
-
attributes(daySpan, { 'aria-label': 'Selected Days' });
|
|
8208
8208
|
daySpan.textContent = this.l10n.getConstant('selectedDays');
|
|
8209
8209
|
headerContainer.appendChild(daySpan);
|
|
8210
8210
|
var separator = this.createElement('div', { className: SEPARATOR });
|
|
@@ -8968,8 +8968,11 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
8968
8968
|
attributes(this.inputElement, {
|
|
8969
8969
|
'tabindex': '0', 'aria-expanded': 'false', 'role': 'combobox',
|
|
8970
8970
|
'autocomplete': 'off', 'aria-disabled': !this.enabled ? 'true' : 'false',
|
|
8971
|
-
'
|
|
8971
|
+
'autocapitalize': 'off', 'spellcheck': 'false'
|
|
8972
8972
|
});
|
|
8973
|
+
if (Browser.isIos) {
|
|
8974
|
+
attributes(this.inputElement, { 'autocorrect': 'off' });
|
|
8975
|
+
}
|
|
8973
8976
|
Input.addAttributes({ 'aria-label': 'select', 'role': 'button' }, this.inputWrapper.buttons[0]);
|
|
8974
8977
|
// if (!isNullOrUndefined(this.placeholder) && this.placeholder.trim() !== '') {
|
|
8975
8978
|
// Input.addAttributes({ 'aria-placeholder': this.placeholder }, this.inputElement);
|