@progress/kendo-vue-dateinputs 3.5.3 → 3.5.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.
Files changed (32) hide show
  1. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  2. package/dist/es/calendar/components/Header.js +7 -7
  3. package/dist/es/calendar/components/ViewList.js +2 -2
  4. package/dist/es/dateinput/DateInput.js +33 -17
  5. package/dist/es/dateinput/models/DateInputSettings.d.ts +20 -0
  6. package/dist/es/datepicker/DatePicker.js +11 -18
  7. package/dist/es/daterangepicker/DateRangePicker.js +6 -21
  8. package/dist/es/datetimepicker/DateTimePicker.js +13 -9
  9. package/dist/es/package-metadata.js +1 -1
  10. package/dist/es/timepicker/TimePicker.js +10 -8
  11. package/dist/es/timepicker/TimeSelector.js +1 -1
  12. package/dist/esm/calendar/components/Header.js +7 -7
  13. package/dist/esm/calendar/components/ViewList.js +2 -2
  14. package/dist/esm/dateinput/DateInput.js +33 -17
  15. package/dist/esm/dateinput/models/DateInputSettings.d.ts +20 -0
  16. package/dist/esm/datepicker/DatePicker.js +11 -18
  17. package/dist/esm/daterangepicker/DateRangePicker.js +6 -21
  18. package/dist/esm/datetimepicker/DateTimePicker.js +13 -9
  19. package/dist/esm/package-metadata.js +1 -1
  20. package/dist/esm/timepicker/TimePicker.js +10 -8
  21. package/dist/esm/timepicker/TimeSelector.js +1 -1
  22. package/dist/npm/calendar/components/Header.js +7 -7
  23. package/dist/npm/calendar/components/ViewList.js +2 -2
  24. package/dist/npm/dateinput/DateInput.js +33 -17
  25. package/dist/npm/dateinput/models/DateInputSettings.d.ts +20 -0
  26. package/dist/npm/datepicker/DatePicker.js +11 -18
  27. package/dist/npm/daterangepicker/DateRangePicker.js +6 -21
  28. package/dist/npm/datetimepicker/DateTimePicker.js +13 -9
  29. package/dist/npm/package-metadata.js +1 -1
  30. package/dist/npm/timepicker/TimePicker.js +10 -8
  31. package/dist/npm/timepicker/TimeSelector.js +1 -1
  32. package/package.json +7 -7
@@ -181,7 +181,7 @@ var HeaderVue2 = {
181
181
  var titleClassNames = classNames('k-calendar-title', 'k-title', {
182
182
  'k-disabled': !this.navigate
183
183
  });
184
- var todayClassNames = classNames('k-nav-today', {
184
+ var todayClassNames = classNames('k-calendar-nav-today', {
185
185
  'k-disabled': !this.todayIsInRange
186
186
  });
187
187
  var headerTitle;
@@ -217,17 +217,17 @@ var HeaderVue2 = {
217
217
  type: "button",
218
218
  attrs: this.v3 ? undefined : {
219
219
  type: "button",
220
- icon: 'arrow-60-left',
220
+ icon: 'chevron-left',
221
221
  size: this.$props.size,
222
222
  fillMode: 'flat',
223
223
  desabled: isPrevDisabled,
224
224
  "aria-label": prevViewTitle,
225
225
  title: prevViewTitle
226
226
  },
227
- icon: 'arrow-60-left',
227
+ icon: 'chevron-left',
228
228
  size: this.$props.size,
229
229
  fillMode: 'flat',
230
- "class": "k-prev-view",
230
+ "class": "k-calendar-nav-pre",
231
231
  desabled: isPrevDisabled,
232
232
  "aria-label": prevViewTitle,
233
233
  title: prevViewTitle,
@@ -252,17 +252,17 @@ var HeaderVue2 = {
252
252
  type: "button",
253
253
  attrs: this.v3 ? undefined : {
254
254
  type: "button",
255
- icon: 'arrow-60-right',
255
+ icon: 'chevron-right',
256
256
  size: this.$props.size,
257
257
  fillMode: 'flat',
258
258
  desabled: isNextDisabled,
259
259
  "aria-label": nextViewTittle,
260
260
  title: nextViewTittle
261
261
  },
262
- icon: 'arrow-60-right',
262
+ icon: 'chevron-right',
263
263
  size: this.$props.size,
264
264
  fillMode: 'flat',
265
- "class": "k-next-view",
265
+ "class": "k-calendar-nav-next",
266
266
  desabled: isNextDisabled,
267
267
  "aria-label": nextViewTittle,
268
268
  title: nextViewTittle,
@@ -227,7 +227,7 @@ var ViewListVue2 = {
227
227
  'k-calendar-decadeview': this.$props.activeView === CalendarViewEnum.decade,
228
228
  'k-calendar-centuryview': this.$props.activeView === CalendarViewEnum.century
229
229
  });
230
- var tableClassNames = classNames('k-calendar-table', 'k-content', 'k-calendar-content', {
230
+ var tableClassNames = classNames('k-calendar-table', {
231
231
  'k-month': this.$props.activeView === CalendarViewEnum.month,
232
232
  'k-year': this.$props.activeView === CalendarViewEnum.year,
233
233
  'k-decade': this.$props.activeView === CalendarViewEnum.decade,
@@ -242,7 +242,7 @@ var ViewListVue2 = {
242
242
  "class": 'k-calendar-tr k-calendar-weekdays'
243
243
  }, [weekNames.map(function (name, idx) {
244
244
  return h("th", {
245
- "class": 'k-calendar-th',
245
+ "class": 'k-calendar-caption',
246
246
  key: idx,
247
247
  onClick: function onClick(ev) {
248
248
  return that.handleWeekNameClick(ev, name);
@@ -136,6 +136,20 @@ var DateInputVue2 = {
136
136
  valid: {
137
137
  type: Boolean,
138
138
  default: undefined
139
+ },
140
+ ariaRole: {
141
+ type: String,
142
+ default: 'textbox'
143
+ },
144
+ ariaControls: String,
145
+ ariaLabel: String,
146
+ ariaExpanded: {
147
+ type: Boolean,
148
+ default: undefined
149
+ },
150
+ ariaHasPopup: {
151
+ type: Boolean,
152
+ default: undefined
139
153
  }
140
154
  },
141
155
  data: function data() {
@@ -539,12 +553,14 @@ var DateInputVue2 = {
539
553
  format = _a.format,
540
554
  value = _a.value,
541
555
  modelValue = _a.modelValue,
542
- min = _a.min,
543
- max = _a.max,
544
556
  name = _a.name,
545
557
  label = _a.label,
546
558
  id = _a.id,
547
- defaultValue = _a.defaultValue;
559
+ ariaLabel = _a.ariaLabel,
560
+ ariaExpanded = _a.ariaExpanded,
561
+ ariaHasPopup = _a.ariaHasPopup,
562
+ ariaRole = _a.ariaRole,
563
+ ariaControls = _a.ariaControls;
548
564
  this.kendoDate.format = format;
549
565
  this.kendoDate.formatPlaceholder = formatPlaceholder;
550
566
  var currentValue = value !== undefined ? value : modelValue;
@@ -570,9 +586,9 @@ var DateInputVue2 = {
570
586
  dir: this.$props.dir
571
587
  }
572
588
  }, [h("input", {
573
- role: "spinbutton",
589
+ role: ariaRole,
574
590
  attrs: this.v3 ? undefined : {
575
- role: "spinbutton",
591
+ role: ariaRole,
576
592
  tabindex: this.$props.tabIndex,
577
593
  disabled: this.$props.disabled,
578
594
  title: this.$props.title !== undefined ? this.$props.title : currentText,
@@ -583,10 +599,10 @@ var DateInputVue2 = {
583
599
  id: inputId,
584
600
  placeholder: this.$props.placeholder,
585
601
  name: name,
586
- "aria-valuenow": this.computedValue !== null ? this.computedValue.getTime() : undefined,
587
- "aria-valuemin": min === null ? undefined : min.getTime(),
588
- "aria-valuemax": max === null ? undefined : max.getTime(),
589
- "aria-valuetext": currentText
602
+ "aria-label": ariaLabel,
603
+ "aria-expanded": ariaExpanded,
604
+ "aria-haspopup": ariaHasPopup,
605
+ "aria-controls": ariaControls
590
606
  },
591
607
  tabindex: this.$props.tabIndex,
592
608
  disabled: this.$props.disabled,
@@ -619,10 +635,10 @@ var DateInputVue2 = {
619
635
  "value": textToDisplay
620
636
  },
621
637
  name: name,
622
- "aria-valuenow": this.computedValue !== null ? this.computedValue.getTime() : undefined,
623
- "aria-valuemin": min === null ? undefined : min.getTime(),
624
- "aria-valuemax": max === null ? undefined : max.getTime(),
625
- "aria-valuetext": currentText,
638
+ "aria-label": ariaLabel,
639
+ "aria-expanded": ariaExpanded,
640
+ "aria-haspopup": ariaHasPopup,
641
+ "aria-controls": ariaControls,
626
642
  ref: setRef(this, 'input')
627
643
  }), defaultSlot, this.$props.spinners && h("span", {
628
644
  "class": "k-input-spinner k-spin-button",
@@ -636,14 +652,14 @@ var DateInputVue2 = {
636
652
  attrs: this.v3 ? undefined : {
637
653
  type: "button",
638
654
  tabIndex: -1,
639
- icon: 'arrow-n',
655
+ icon: 'caret-alt-up',
640
656
  size: this.$props.size,
641
657
  fillMode: this.$props.fillMode,
642
658
  "aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
643
659
  title: localizationService.toLanguageString(increaseValue, messages[increaseValue])
644
660
  },
645
661
  tabIndex: -1,
646
- icon: 'arrow-n',
662
+ icon: 'caret-alt-up',
647
663
  size: this.$props.size,
648
664
  fillMode: this.$props.fillMode,
649
665
  "class": "k-spinner-increase",
@@ -659,7 +675,7 @@ var DateInputVue2 = {
659
675
  attrs: this.v3 ? undefined : {
660
676
  type: "button",
661
677
  tabIndex: -1,
662
- icon: 'arrow-s',
678
+ icon: 'caret-alt-down',
663
679
  size: this.$props.size,
664
680
  fillMode: this.$props.fillMode,
665
681
  "aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
@@ -667,7 +683,7 @@ var DateInputVue2 = {
667
683
  },
668
684
  tabIndex: -1,
669
685
  "class": "k-spinner-decrease",
670
- icon: 'arrow-s',
686
+ icon: 'caret-alt-down',
671
687
  size: this.$props.size,
672
688
  fillMode: this.$props.fillMode,
673
689
  "aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
@@ -64,6 +64,26 @@ export interface DateInputSettings {
64
64
  * Sets the title of the `input` element of the DateInput.
65
65
  */
66
66
  title?: string;
67
+ /**
68
+ * Sets the aria-label of the DateInput.
69
+ */
70
+ ariaLabel?: string;
71
+ /**
72
+ * Sets the aria role of the DateInput.
73
+ */
74
+ ariaRole?: string;
75
+ /**
76
+ * Sets the aria-controls of the DateInput.
77
+ */
78
+ ariaControls?: string;
79
+ /**
80
+ * Sets the aria-haspopup of the DateInput.
81
+ */
82
+ ariaHasPopup?: boolean;
83
+ /**
84
+ * Sets the aria-expanded of the DateInput.
85
+ */
86
+ ariaExpanded?: boolean;
67
87
  /**
68
88
  * Specifies the incremental steps of the DateInput ([see example]({% slug incrementalsteps_dateinput %}).
69
89
  *
@@ -192,21 +192,8 @@ var DatePickerVue2 = {
192
192
  // If defaultShow is true during the initial render, the popup is not aligned.
193
193
  this.$forceUpdate();
194
194
  }
195
-
196
- if (this._dateInput && this._dateInput.$el) {
197
- this._dateInput.$el.setAttribute('aria-haspopup', 'true'); // this._dateInput.$el.setAttribute('aria-expanded', `${this.$data.currentShow}`);
198
-
199
- }
200
-
201
- if (this.$el) {
202
- this.$el.setAttribute('aria-expanded', "".concat(this.computedShow));
203
- }
204
195
  },
205
196
  updated: function updated() {
206
- if (this.$el) {
207
- this.$el.setAttribute('aria-expanded', "".concat(this.computedShow));
208
- }
209
-
210
197
  if (this.$refs.calendar || this.calendarRef) {
211
198
  this._calendar = getRef(this, 'calendar');
212
199
  }
@@ -494,7 +481,11 @@ var DatePickerVue2 = {
494
481
  valid: this.validity().valid,
495
482
  validationMessage: validationMessage,
496
483
  validityStyles: validityStyles,
497
- value: value
484
+ value: value,
485
+ ariaHasPopup: true,
486
+ ariaExpanded: show,
487
+ ariaRole: "combobox",
488
+ ariaControls: this._popupId
498
489
  },
499
490
  disabled: disabled,
500
491
  format: format,
@@ -516,7 +507,11 @@ var DatePickerVue2 = {
516
507
  valid: this.validity().valid,
517
508
  validationMessage: validationMessage,
518
509
  validityStyles: validityStyles,
519
- value: value
510
+ value: value,
511
+ ariaHasPopup: true,
512
+ ariaExpanded: show,
513
+ ariaRole: "combobox",
514
+ ariaControls: this._popupId
520
515
  });
521
516
  var dateInputRendering = getTemplate.call(this, {
522
517
  h: h,
@@ -602,10 +597,8 @@ var DatePickerVue2 = {
602
597
  ref: setRef(this, 'kendoAnchor', this._anchor),
603
598
  role: "group",
604
599
  attrs: this.v3 ? undefined : {
605
- role: "group",
606
- "aria-expanded": this.computedShow
600
+ role: "group"
607
601
  },
608
- "aria-expanded": this.computedShow,
609
602
  "class": classNames('k-input', 'k-datepicker', (_a = {}, _a["k-input-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-".concat(fillMode)] = fillMode, _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-invalid'] = !isValid, _a['k-required'] = this.required, _a['k-disabled'] = this.$props.disabled, _a['k-focus'] = this.$data.isFocused, _a)),
610
603
  onKeydown: this.handleKeyDown,
611
604
  on: this.v3 ? undefined : {
@@ -275,7 +275,9 @@ var DateRangePickerVue2 = {
275
275
  rounded: rounded,
276
276
  ariaHasPopup: true,
277
277
  ariaExpanded: this.computedShow,
278
- value: value.start
278
+ value: value.start,
279
+ ariaRole: 'combobox',
280
+ ariaControls: this._popupId
279
281
  }, this.$props.startDateInputSettings);
280
282
 
281
283
  var startDateInputDefaultRendering = h(DateInput, __assign(__assign({
@@ -312,7 +314,9 @@ var DateRangePickerVue2 = {
312
314
  valid: this.$props.valid,
313
315
  ariaHasPopup: true,
314
316
  ariaExpanded: this.computedShow,
315
- value: value.end
317
+ value: value.end,
318
+ ariaRole: 'combobox',
319
+ ariaControls: this._popupId
316
320
  }, this.$props.endDateInputSettings);
317
321
 
318
322
  var endDateInputDefaultRendering = h(DateInput, __assign(__assign({
@@ -520,21 +524,10 @@ var DateRangePickerVue2 = {
520
524
  event.preventDefault();
521
525
  },
522
526
  handleFocus: function handleFocus(event) {
523
- var startInput = this.getStartInput();
524
- var endInput = this.getEndInput();
525
-
526
527
  if (!this.shouldFocusDateInput) {
527
528
  this.setShow(true);
528
529
  }
529
530
 
530
- if (startInput) {
531
- startInput.classList.add('k-focus');
532
- }
533
-
534
- if (endInput) {
535
- endInput.classList.add('k-focus');
536
- }
537
-
538
531
  this.$emit('focus', event);
539
532
  },
540
533
  calendarBlur: function calendarBlur() {
@@ -554,14 +547,6 @@ var DateRangePickerVue2 = {
554
547
 
555
548
  var endInput = _this.getEndInput();
556
549
 
557
- if (startInput) {
558
- startInput.classList.remove('k-focus');
559
- }
560
-
561
- if (endInput) {
562
- endInput.classList.remove('k-focus');
563
- }
564
-
565
550
  if (startInput && endInput && canUseDOM && startInput && document.activeElement !== endInput) {
566
551
  _this.setShow(false);
567
552
  }
@@ -243,7 +243,6 @@ var DateTimePickerVue2 = {
243
243
 
244
244
  if (dateInputElement) {
245
245
  dateInputElement.setAttribute('aria-haspopup', 'true');
246
- dateInputElement.setAttribute('aria-expanded', "".concat(this.computedShow));
247
246
  }
248
247
  },
249
248
  updated: function updated() {
@@ -251,10 +250,6 @@ var DateTimePickerVue2 = {
251
250
  this._dateTimeSelector = this.$refs.dateTimeSelector;
252
251
  this._wrapper = this.v3 ? this.kendoAnchorRef : this.$refs[this._anchor];
253
252
 
254
- if (dateInputElement) {
255
- dateInputElement.setAttribute('aria-expanded', "".concat(this.computedShow));
256
- }
257
-
258
253
  if (this._dateTimeSelector && this.computedShow && !this._oldShow) {
259
254
  this._dateTimeSelector.focus({
260
255
  preventScroll: true
@@ -349,7 +344,11 @@ var DateTimePickerVue2 = {
349
344
  valid: this.validity().valid,
350
345
  validationMessage: validationMessage,
351
346
  validityStyles: validityStyles,
352
- value: this.computedValue
347
+ value: this.computedValue,
348
+ ariaHasPopup: true,
349
+ ariaExpanded: this.computedShow,
350
+ ariaRole: "combobox",
351
+ ariaControls: this._popupId
353
352
  },
354
353
  disabled: disabled,
355
354
  format: format,
@@ -376,7 +375,11 @@ var DateTimePickerVue2 = {
376
375
  valid: this.validity().valid,
377
376
  validationMessage: validationMessage,
378
377
  validityStyles: validityStyles,
379
- value: this.computedValue
378
+ value: this.computedValue,
379
+ ariaHasPopup: true,
380
+ ariaExpanded: this.computedShow,
381
+ ariaRole: "combobox",
382
+ ariaControls: this._popupId
380
383
  }, this.v3 ? function () {
381
384
  return [defaultSlot];
382
385
  } : [defaultSlot]);
@@ -428,7 +431,7 @@ var DateTimePickerVue2 = {
428
431
  onBlur: this.timeSelectorBlur,
429
432
  onKeydown: this.handleKeyDown
430
433
  });
431
- var popupClassNames = classNames('k-datetime-container k-group k-reset', popupClass);
434
+ var popupClassNames = classNames('k-datetime-container k-reset', popupClass);
432
435
  var popup = this.$props.popup ? templateRendering.call(this, this.$props.popup, getListeners.call(this)) : undefined;
433
436
  var popupDefaultRendering = // @ts-ignore function children
434
437
  h(Popup, {
@@ -436,6 +439,7 @@ var DateTimePickerVue2 = {
436
439
  attrs: this.v3 ? undefined : {
437
440
  show: this.computedShow,
438
441
  anchor: this._anchor,
442
+ popupClass: popupClassNames,
439
443
  id: this._popupId,
440
444
  anchorAlign: {
441
445
  horizontal: 'left',
@@ -449,7 +453,7 @@ var DateTimePickerVue2 = {
449
453
  animate: animate
450
454
  },
451
455
  anchor: this._anchor,
452
- "class": popupClassNames,
456
+ popupClass: popupClassNames,
453
457
  id: this._popupId,
454
458
  anchorAlign: {
455
459
  horizontal: 'left',
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dateinputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1662389008,
8
+ publishDate: 1662729342,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -251,8 +251,6 @@ var TimePickerVue2 = {
251
251
 
252
252
  if (this._dateInput && this._dateInput.element()) {
253
253
  this._dateInput.element().setAttribute('aria-haspopup', 'true');
254
-
255
- this._dateInput.element().setAttribute('aria-expanded', "".concat(this.computedShow));
256
254
  }
257
255
  },
258
256
  updated: function updated() {
@@ -260,10 +258,6 @@ var TimePickerVue2 = {
260
258
  this._timeSelector = this.$refs.timeSelector;
261
259
  this._wrapper = this.v3 ? this.kendoAnchorRef : this.$refs[this._anchor];
262
260
 
263
- if (this._dateInput && this._dateInput.element()) {
264
- this._dateInput.element().setAttribute('aria-expanded', "".concat(this.computedShow));
265
- }
266
-
267
261
  if (this._timeSelector && this.computedShow && !this._oldShow) {
268
262
  this._timeSelector.focusActiveList();
269
263
  } else if (this._dateInput && this._dateInput.element() && !this.computedShow && this.shouldFocusDateInput) {
@@ -357,7 +351,11 @@ var TimePickerVue2 = {
357
351
  valid: this.validity().valid,
358
352
  validationMessage: validationMessage,
359
353
  validityStyles: validityStyles,
360
- value: this.computedValue && this.normalizeTime(this.computedValue)
354
+ value: this.computedValue && this.normalizeTime(this.computedValue),
355
+ ariaHasPopup: true,
356
+ ariaExpanded: this.computedShow,
357
+ ariaRole: "combobox",
358
+ ariaControls: this._popupId
361
359
  },
362
360
  disabled: disabled,
363
361
  format: format,
@@ -382,7 +380,11 @@ var TimePickerVue2 = {
382
380
  valid: this.validity().valid,
383
381
  validationMessage: validationMessage,
384
382
  validityStyles: validityStyles,
385
- value: this.computedValue && this.normalizeTime(this.computedValue)
383
+ value: this.computedValue && this.normalizeTime(this.computedValue),
384
+ ariaHasPopup: true,
385
+ ariaExpanded: this.computedShow,
386
+ ariaRole: "combobox",
387
+ ariaControls: this._popupId
386
388
  }, this.v3 ? function () {
387
389
  return [defaultSlot];
388
390
  } : [defaultSlot]);
@@ -157,7 +157,7 @@ var TimeSelectorVue2 = {
157
157
  attrs: this.v3 ? undefined : {
158
158
  tabindex: !disabled ? tabIndex || 0 : undefined
159
159
  },
160
- "class": classNames('k-timeselector k-reset', {
160
+ "class": classNames('k-timeselector', {
161
161
  'k-disabled': disabled
162
162
  }),
163
163
  onKeydown: this.handleKeyDown,
@@ -181,7 +181,7 @@ var HeaderVue2 = {
181
181
  var titleClassNames = classNames('k-calendar-title', 'k-title', {
182
182
  'k-disabled': !this.navigate
183
183
  });
184
- var todayClassNames = classNames('k-nav-today', {
184
+ var todayClassNames = classNames('k-calendar-nav-today', {
185
185
  'k-disabled': !this.todayIsInRange
186
186
  });
187
187
  var headerTitle;
@@ -217,17 +217,17 @@ var HeaderVue2 = {
217
217
  type: "button",
218
218
  attrs: this.v3 ? undefined : {
219
219
  type: "button",
220
- icon: 'arrow-60-left',
220
+ icon: 'chevron-left',
221
221
  size: this.$props.size,
222
222
  fillMode: 'flat',
223
223
  desabled: isPrevDisabled,
224
224
  "aria-label": prevViewTitle,
225
225
  title: prevViewTitle
226
226
  },
227
- icon: 'arrow-60-left',
227
+ icon: 'chevron-left',
228
228
  size: this.$props.size,
229
229
  fillMode: 'flat',
230
- "class": "k-prev-view",
230
+ "class": "k-calendar-nav-pre",
231
231
  desabled: isPrevDisabled,
232
232
  "aria-label": prevViewTitle,
233
233
  title: prevViewTitle,
@@ -252,17 +252,17 @@ var HeaderVue2 = {
252
252
  type: "button",
253
253
  attrs: this.v3 ? undefined : {
254
254
  type: "button",
255
- icon: 'arrow-60-right',
255
+ icon: 'chevron-right',
256
256
  size: this.$props.size,
257
257
  fillMode: 'flat',
258
258
  desabled: isNextDisabled,
259
259
  "aria-label": nextViewTittle,
260
260
  title: nextViewTittle
261
261
  },
262
- icon: 'arrow-60-right',
262
+ icon: 'chevron-right',
263
263
  size: this.$props.size,
264
264
  fillMode: 'flat',
265
- "class": "k-next-view",
265
+ "class": "k-calendar-nav-next",
266
266
  desabled: isNextDisabled,
267
267
  "aria-label": nextViewTittle,
268
268
  title: nextViewTittle,
@@ -227,7 +227,7 @@ var ViewListVue2 = {
227
227
  'k-calendar-decadeview': this.$props.activeView === CalendarViewEnum.decade,
228
228
  'k-calendar-centuryview': this.$props.activeView === CalendarViewEnum.century
229
229
  });
230
- var tableClassNames = classNames('k-calendar-table', 'k-content', 'k-calendar-content', {
230
+ var tableClassNames = classNames('k-calendar-table', {
231
231
  'k-month': this.$props.activeView === CalendarViewEnum.month,
232
232
  'k-year': this.$props.activeView === CalendarViewEnum.year,
233
233
  'k-decade': this.$props.activeView === CalendarViewEnum.decade,
@@ -242,7 +242,7 @@ var ViewListVue2 = {
242
242
  "class": 'k-calendar-tr k-calendar-weekdays'
243
243
  }, [weekNames.map(function (name, idx) {
244
244
  return h("th", {
245
- "class": 'k-calendar-th',
245
+ "class": 'k-calendar-caption',
246
246
  key: idx,
247
247
  onClick: function onClick(ev) {
248
248
  return that.handleWeekNameClick(ev, name);
@@ -136,6 +136,20 @@ var DateInputVue2 = {
136
136
  valid: {
137
137
  type: Boolean,
138
138
  default: undefined
139
+ },
140
+ ariaRole: {
141
+ type: String,
142
+ default: 'textbox'
143
+ },
144
+ ariaControls: String,
145
+ ariaLabel: String,
146
+ ariaExpanded: {
147
+ type: Boolean,
148
+ default: undefined
149
+ },
150
+ ariaHasPopup: {
151
+ type: Boolean,
152
+ default: undefined
139
153
  }
140
154
  },
141
155
  data: function data() {
@@ -539,12 +553,14 @@ var DateInputVue2 = {
539
553
  format = _a.format,
540
554
  value = _a.value,
541
555
  modelValue = _a.modelValue,
542
- min = _a.min,
543
- max = _a.max,
544
556
  name = _a.name,
545
557
  label = _a.label,
546
558
  id = _a.id,
547
- defaultValue = _a.defaultValue;
559
+ ariaLabel = _a.ariaLabel,
560
+ ariaExpanded = _a.ariaExpanded,
561
+ ariaHasPopup = _a.ariaHasPopup,
562
+ ariaRole = _a.ariaRole,
563
+ ariaControls = _a.ariaControls;
548
564
  this.kendoDate.format = format;
549
565
  this.kendoDate.formatPlaceholder = formatPlaceholder;
550
566
  var currentValue = value !== undefined ? value : modelValue;
@@ -570,9 +586,9 @@ var DateInputVue2 = {
570
586
  dir: this.$props.dir
571
587
  }
572
588
  }, [h("input", {
573
- role: "spinbutton",
589
+ role: ariaRole,
574
590
  attrs: this.v3 ? undefined : {
575
- role: "spinbutton",
591
+ role: ariaRole,
576
592
  tabindex: this.$props.tabIndex,
577
593
  disabled: this.$props.disabled,
578
594
  title: this.$props.title !== undefined ? this.$props.title : currentText,
@@ -583,10 +599,10 @@ var DateInputVue2 = {
583
599
  id: inputId,
584
600
  placeholder: this.$props.placeholder,
585
601
  name: name,
586
- "aria-valuenow": this.computedValue !== null ? this.computedValue.getTime() : undefined,
587
- "aria-valuemin": min === null ? undefined : min.getTime(),
588
- "aria-valuemax": max === null ? undefined : max.getTime(),
589
- "aria-valuetext": currentText
602
+ "aria-label": ariaLabel,
603
+ "aria-expanded": ariaExpanded,
604
+ "aria-haspopup": ariaHasPopup,
605
+ "aria-controls": ariaControls
590
606
  },
591
607
  tabindex: this.$props.tabIndex,
592
608
  disabled: this.$props.disabled,
@@ -619,10 +635,10 @@ var DateInputVue2 = {
619
635
  "value": textToDisplay
620
636
  },
621
637
  name: name,
622
- "aria-valuenow": this.computedValue !== null ? this.computedValue.getTime() : undefined,
623
- "aria-valuemin": min === null ? undefined : min.getTime(),
624
- "aria-valuemax": max === null ? undefined : max.getTime(),
625
- "aria-valuetext": currentText,
638
+ "aria-label": ariaLabel,
639
+ "aria-expanded": ariaExpanded,
640
+ "aria-haspopup": ariaHasPopup,
641
+ "aria-controls": ariaControls,
626
642
  ref: setRef(this, 'input')
627
643
  }), defaultSlot, this.$props.spinners && h("span", {
628
644
  "class": "k-input-spinner k-spin-button",
@@ -636,14 +652,14 @@ var DateInputVue2 = {
636
652
  attrs: this.v3 ? undefined : {
637
653
  type: "button",
638
654
  tabIndex: -1,
639
- icon: 'arrow-n',
655
+ icon: 'caret-alt-up',
640
656
  size: this.$props.size,
641
657
  fillMode: this.$props.fillMode,
642
658
  "aria-label": localizationService.toLanguageString(increaseValue, messages[increaseValue]),
643
659
  title: localizationService.toLanguageString(increaseValue, messages[increaseValue])
644
660
  },
645
661
  tabIndex: -1,
646
- icon: 'arrow-n',
662
+ icon: 'caret-alt-up',
647
663
  size: this.$props.size,
648
664
  fillMode: this.$props.fillMode,
649
665
  "class": "k-spinner-increase",
@@ -659,7 +675,7 @@ var DateInputVue2 = {
659
675
  attrs: this.v3 ? undefined : {
660
676
  type: "button",
661
677
  tabIndex: -1,
662
- icon: 'arrow-s',
678
+ icon: 'caret-alt-down',
663
679
  size: this.$props.size,
664
680
  fillMode: this.$props.fillMode,
665
681
  "aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
@@ -667,7 +683,7 @@ var DateInputVue2 = {
667
683
  },
668
684
  tabIndex: -1,
669
685
  "class": "k-spinner-decrease",
670
- icon: 'arrow-s',
686
+ icon: 'caret-alt-down',
671
687
  size: this.$props.size,
672
688
  fillMode: this.$props.fillMode,
673
689
  "aria-label": localizationService.toLanguageString(decreaseValue, messages[decreaseValue]),
@@ -64,6 +64,26 @@ export interface DateInputSettings {
64
64
  * Sets the title of the `input` element of the DateInput.
65
65
  */
66
66
  title?: string;
67
+ /**
68
+ * Sets the aria-label of the DateInput.
69
+ */
70
+ ariaLabel?: string;
71
+ /**
72
+ * Sets the aria role of the DateInput.
73
+ */
74
+ ariaRole?: string;
75
+ /**
76
+ * Sets the aria-controls of the DateInput.
77
+ */
78
+ ariaControls?: string;
79
+ /**
80
+ * Sets the aria-haspopup of the DateInput.
81
+ */
82
+ ariaHasPopup?: boolean;
83
+ /**
84
+ * Sets the aria-expanded of the DateInput.
85
+ */
86
+ ariaExpanded?: boolean;
67
87
  /**
68
88
  * Specifies the incremental steps of the DateInput ([see example]({% slug incrementalsteps_dateinput %}).
69
89
  *