@progress/kendo-angular-dateinputs 16.3.0-develop.9 → 16.3.0

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.
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ChangeDetectorRef, EventEmitter, OnChanges, TemplateRef, OnDestroy, ElementRef, Renderer2, AfterViewInit } from '@angular/core';
5
+ import { ChangeDetectorRef, EventEmitter, OnChanges, TemplateRef, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
6
6
  import { BusViewService } from './services/bus-view.service';
7
7
  import { ViewService } from './models/view-service.interface';
8
8
  import { WeekNamesService } from './services/weeknames.service';
@@ -17,7 +17,7 @@ import * as i0 from "@angular/core";
17
17
  /**
18
18
  * @hidden
19
19
  */
20
- export declare class HorizontalViewListComponent implements OnChanges, AfterViewInit, OnDestroy {
20
+ export declare class HorizontalViewListComponent implements OnChanges, OnDestroy {
21
21
  private bus;
22
22
  intl: IntlService;
23
23
  private weekService;
@@ -86,19 +86,16 @@ export declare class HorizontalViewListComponent implements OnChanges, AfterView
86
86
  private animation;
87
87
  constructor(bus: BusViewService, intl: IntlService, weekService: WeekNamesService, cdr: ChangeDetectorRef, element: ElementRef<HTMLElement>, renderer: Renderer2);
88
88
  ngOnChanges(changes: any): void;
89
- ngAfterViewInit(): void;
90
89
  ngOnDestroy(): void;
91
90
  initService(): void;
92
91
  isMonthView(): boolean;
93
92
  getCaptionTitle(date: Date): string;
94
- getCaptionClass(): string;
95
93
  handleClassicCalendarFocus(): void;
96
94
  handleClassicCalendarBlur(event: any): void;
97
95
  animateView(action: Action): void;
98
96
  navigate(action: Action): Date;
99
97
  canNavigate(action: Action): boolean;
100
98
  private getWeekNames;
101
- private setTableMinWidth;
102
99
  private intlChange;
103
100
  private clampDate;
104
101
  private move;
@@ -158,7 +158,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
158
158
  ></ng-template>
159
159
  </button>
160
160
  <span class="k-spacer"></span>
161
- <span class="k-calendar-nav k-hstack">
161
+ <span class="k-calendar-nav">
162
162
  <button
163
163
  *ngIf="showNavigationButtons"
164
164
  kendoButton
@@ -179,7 +179,6 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
179
179
  kendoButton
180
180
  class="k-calendar-nav-today"
181
181
  tabindex="-1"
182
- themeColor="primary"
183
182
  fillMode="flat"
184
183
  role="link"
185
184
  [size]="size"
@@ -196,6 +195,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
196
195
  *ngIf="showNavigationButtons"
197
196
  kendoButton
198
197
  fillMode="flat"
198
+ [size]="size"
199
199
  [svgIcon]="chevronRightIcon"
200
200
  icon="chevron-right"
201
201
  class="k-calendar-nav-next"
@@ -244,7 +244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
244
244
  ></ng-template>
245
245
  </button>
246
246
  <span class="k-spacer"></span>
247
- <span class="k-calendar-nav k-hstack">
247
+ <span class="k-calendar-nav">
248
248
  <button
249
249
  *ngIf="showNavigationButtons"
250
250
  kendoButton
@@ -265,7 +265,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
265
265
  kendoButton
266
266
  class="k-calendar-nav-today"
267
267
  tabindex="-1"
268
- themeColor="primary"
269
268
  fillMode="flat"
270
269
  role="link"
271
270
  [size]="size"
@@ -282,6 +281,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
282
281
  *ngIf="showNavigationButtons"
283
282
  kendoButton
284
283
  fillMode="flat"
284
+ [size]="size"
285
285
  [svgIcon]="chevronRightIcon"
286
286
  icon="chevron-right"
287
287
  class="k-calendar-nav-next"
@@ -135,13 +135,6 @@ export class HorizontalViewListComponent {
135
135
  this.renderer.setAttribute(this.element.nativeElement, 'tabindex', this.tabIndex.toString());
136
136
  }
137
137
  }
138
- ngAfterViewInit() {
139
- // make the calendar look the same in the different browsers
140
- // which also smoothens the navigation animation
141
- if (this.views === 1) {
142
- this.setTableMinWidth();
143
- }
144
- }
145
138
  ngOnDestroy() {
146
139
  this.intlSubscription.unsubscribe();
147
140
  }
@@ -154,9 +147,6 @@ export class HorizontalViewListComponent {
154
147
  getCaptionTitle(date) {
155
148
  return this.service.title(date);
156
149
  }
157
- getCaptionClass() {
158
- return this.isMonthView() ? 'k-month-header' : 'k-meta-header';
159
- }
160
150
  handleClassicCalendarFocus() {
161
151
  this.focusCalendar.emit();
162
152
  }
@@ -185,9 +175,6 @@ export class HorizontalViewListComponent {
185
175
  this.cdr.detectChanges();
186
176
  container.querySelectorAll('table').forEach(table => {
187
177
  this.renderer.setStyle(table, 'width', `${tableWidth}px`);
188
- if (this.views === 1) {
189
- this.renderer.setStyle(table, 'min-width', `${initialContainerWidth}px`);
190
- }
191
178
  });
192
179
  // we always slide by the width of 1 table
193
180
  // cross-browser compatibility is ensured by measuring the client rectangle and substracting the gap
@@ -247,14 +234,6 @@ export class HorizontalViewListComponent {
247
234
  getWeekNames(type) {
248
235
  return this.weekService.getWeekNames(this.weekNumber, type);
249
236
  }
250
- setTableMinWidth() {
251
- const container = this.element.nativeElement;
252
- const table = container.querySelector('table');
253
- if (table) {
254
- const containerWidth = parseFloat(getComputedStyle(container).width);
255
- this.renderer.setStyle(table, 'min-width', `${containerWidth}px`);
256
- }
257
- }
258
237
  intlChange() {
259
238
  this.weekNames = this.getWeekNames(this.weekDaysFormat);
260
239
  this.wideWeekNames = this.getWeekNames('wide');
@@ -296,7 +275,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
296
275
  (focus)="handleClassicCalendarFocus()"
297
276
  (blur)="handleClassicCalendarBlur($event)"
298
277
  >
299
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
278
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
300
279
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
301
280
  <tr class="k-calendar-tr" role="row">
302
281
  <th *ngFor="let name of weekNames; let i = index;"
@@ -385,7 +364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
385
364
  (focus)="handleClassicCalendarFocus()"
386
365
  (blur)="handleClassicCalendarBlur($event)"
387
366
  >
388
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
367
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
389
368
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
390
369
  <tr class="k-calendar-tr" role="row">
391
370
  <th *ngFor="let name of weekNames; let i = index;"
@@ -20,8 +20,8 @@ const table = containerFactory('table');
20
20
  const monthHeader = () => (div(`
21
21
  <span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
22
22
  <span class="k-spacer"></span>
23
- <span class="k-calendar-nav k-hstack">
24
- <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
23
+ <span class="k-calendar-nav">
24
+ <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-base k-rounded-md">TODAY</button>
25
25
  </span>
26
26
  `, 'k-calendar-header'));
27
27
  const monthWeekHeader = () => (table([
@@ -12,7 +12,7 @@ import { IntlService, localeData } from '@progress/kendo-angular-intl';
12
12
  import { validatePackage } from '@progress/kendo-licensing';
13
13
  import { packageMetadata } from '../package-metadata';
14
14
  import { cloneDate, isEqual } from '@progress/kendo-date-math';
15
- import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes } from '@progress/kendo-angular-common';
15
+ import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged } from '@progress/kendo-angular-common';
16
16
  import { Arrow } from './arrow.enum';
17
17
  import { noop, isValidRange, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
18
18
  import { PickerService } from '../common/picker.service';
@@ -592,7 +592,7 @@ export class DateInputComponent {
592
592
  */
593
593
  ngOnChanges(changes) {
594
594
  this.verifyRange();
595
- if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['incompleteDateValidation']) {
595
+ if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
596
596
  this.minValidator = this.rangeValidation ? minValidator(this.min) : noop;
597
597
  this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop;
598
598
  this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop;
@@ -615,6 +615,12 @@ export class DateInputComponent {
615
615
  this.kendoDate?.setOptions(this.options, true);
616
616
  this.updateFormatSections();
617
617
  }
618
+ if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
619
+ if (!this.kendoDate) {
620
+ return;
621
+ }
622
+ this.kendoDate?.setOptions(this.options, true);
623
+ }
618
624
  }
619
625
  updateFormatSections() {
620
626
  this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
@@ -639,6 +639,9 @@ export class DatePickerComponent extends MultiTabStop {
639
639
  * @hidden
640
640
  */
641
641
  ngOnDestroy() {
642
+ if (this.isAdaptive && this.isOpen) {
643
+ this.toggleActionSheet(false);
644
+ }
642
645
  this.isActive = false;
643
646
  this.show = false;
644
647
  if (this.localizationChangeSubscription) {
@@ -937,8 +940,10 @@ export class DatePickerComponent extends MultiTabStop {
937
940
  else if (!show && this.isOpen) {
938
941
  this.actionSheet.toggle();
939
942
  this.ariaActiveDescendantSubscription.unsubscribe();
940
- this.renderer.removeAttribute(this.dateInput?.inputElement, attributeNames.ariaActiveDescendant);
941
- this.renderer.removeAttribute(this.dateInput?.inputElement, attributeNames.ariaControls);
943
+ if (this.dateInput) {
944
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaActiveDescendant);
945
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaControls);
946
+ }
942
947
  }
943
948
  this._show = show;
944
949
  }
@@ -572,7 +572,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
572
572
  <div class="k-actionsheet-content !k-overflow-hidden">
573
573
  <div class="k-scrollable-wrap">
574
574
  <kendo-multiviewcalendar
575
- class="k-calendar-lg"
575
+ size="large"
576
576
  orientation="vertical"
577
577
  [allowReverse]="allowReverse"
578
578
  [focusedDate]="dateRangeService.focusedDate"
@@ -685,7 +685,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
685
685
  <div class="k-actionsheet-content !k-overflow-hidden">
686
686
  <div class="k-scrollable-wrap">
687
687
  <kendo-multiviewcalendar
688
- class="k-calendar-lg"
688
+ size="large"
689
689
  orientation="vertical"
690
690
  [allowReverse]="allowReverse"
691
691
  [focusedDate]="dateRangeService.focusedDate"
@@ -63,8 +63,8 @@ const DEFAULT_TIMESELECTOR_FORMAT = 't';
63
63
  const TWO_DIGIT_YEAR_MAX = 68;
64
64
  const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
65
65
  const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
66
- const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
67
- const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
66
+ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
67
+ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
68
68
  /**
69
69
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
70
70
  */
@@ -723,7 +723,7 @@ export class DateTimePickerComponent extends MultiTabStop {
723
723
  }
724
724
  }
725
725
  ngOnDestroy() {
726
- if (this.isOpen) {
726
+ if (this.isOpen && !this.isAdaptive) {
727
727
  this.closePopup();
728
728
  }
729
729
  this.subscriptions.unsubscribe();
@@ -1564,6 +1564,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1564
1564
  <ng-template #dateTimeTemplate>
1565
1565
  <div
1566
1566
  class="k-datetime-wrap k-{{activeTab}}-tab"
1567
+ [ngClass]="{
1568
+ 'k-datetime-wrap-md': !isAdaptive,
1569
+ 'k-datetime-wrap-lg': isAdaptive
1570
+ }"
1567
1571
  [kendoEventsOutsideAngular]="{
1568
1572
  mousedown: preventMouseDown,
1569
1573
  keydown: handleKeyDown
@@ -1577,10 +1581,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1577
1581
  }"
1578
1582
  [scope]="this"
1579
1583
  >
1580
- <div class="k-button-group k-button-group-stretched" role="group">
1584
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
1581
1585
  <button
1582
1586
  type="button"
1583
- class="k-button k-group-start k-date-tab"
1587
+ class="k-button k-group-start"
1584
1588
  [ngClass]="popupButtonsClasses()"
1585
1589
  [class.k-active]="activeTab === 'date'"
1586
1590
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -1596,7 +1600,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1596
1600
  </button>
1597
1601
  <button
1598
1602
  type="button"
1599
- class="k-button k-group-end k-time-tab"
1603
+ class="k-button k-group-end"
1600
1604
  [ngClass]="popupButtonsClasses()"
1601
1605
  [class.k-active]="activeTab === 'time'"
1602
1606
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -1712,6 +1716,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1712
1716
  >
1713
1717
  {{localization.get('accept')}}
1714
1718
  </button>
1719
+
1715
1720
  <button
1716
1721
  *ngIf="cancelButton"
1717
1722
  type="button"
@@ -1962,6 +1967,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1962
1967
  <ng-template #dateTimeTemplate>
1963
1968
  <div
1964
1969
  class="k-datetime-wrap k-{{activeTab}}-tab"
1970
+ [ngClass]="{
1971
+ 'k-datetime-wrap-md': !isAdaptive,
1972
+ 'k-datetime-wrap-lg': isAdaptive
1973
+ }"
1965
1974
  [kendoEventsOutsideAngular]="{
1966
1975
  mousedown: preventMouseDown,
1967
1976
  keydown: handleKeyDown
@@ -1975,10 +1984,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1975
1984
  }"
1976
1985
  [scope]="this"
1977
1986
  >
1978
- <div class="k-button-group k-button-group-stretched" role="group">
1987
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
1979
1988
  <button
1980
1989
  type="button"
1981
- class="k-button k-group-start k-date-tab"
1990
+ class="k-button k-group-start"
1982
1991
  [ngClass]="popupButtonsClasses()"
1983
1992
  [class.k-active]="activeTab === 'date'"
1984
1993
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -1994,7 +2003,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1994
2003
  </button>
1995
2004
  <button
1996
2005
  type="button"
1997
- class="k-button k-group-end k-time-tab"
2006
+ class="k-button k-group-end"
1998
2007
  [ngClass]="popupButtonsClasses()"
1999
2008
  [class.k-active]="activeTab === 'time'"
2000
2009
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -2110,6 +2119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2110
2119
  >
2111
2120
  {{localization.get('accept')}}
2112
2121
  </button>
2122
+
2113
2123
  <button
2114
2124
  *ngIf="cancelButton"
2115
2125
  type="button"
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1718629463,
13
- version: '16.3.0-develop.9',
12
+ publishDate: 1718884867,
13
+ version: '16.3.0',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
9
9
  import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
10
10
  import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
11
11
  import * as i1$2 from '@progress/kendo-angular-common';
12
- import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
12
+ import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
13
13
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
15
15
  import * as i1 from '@progress/kendo-angular-intl';
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dateinputs',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1718629463,
41
- version: '16.3.0-develop.9',
40
+ publishDate: 1718884867,
41
+ version: '16.3.0',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -2146,13 +2146,6 @@ class HorizontalViewListComponent {
2146
2146
  this.renderer.setAttribute(this.element.nativeElement, 'tabindex', this.tabIndex.toString());
2147
2147
  }
2148
2148
  }
2149
- ngAfterViewInit() {
2150
- // make the calendar look the same in the different browsers
2151
- // which also smoothens the navigation animation
2152
- if (this.views === 1) {
2153
- this.setTableMinWidth();
2154
- }
2155
- }
2156
2149
  ngOnDestroy() {
2157
2150
  this.intlSubscription.unsubscribe();
2158
2151
  }
@@ -2165,9 +2158,6 @@ class HorizontalViewListComponent {
2165
2158
  getCaptionTitle(date) {
2166
2159
  return this.service.title(date);
2167
2160
  }
2168
- getCaptionClass() {
2169
- return this.isMonthView() ? 'k-month-header' : 'k-meta-header';
2170
- }
2171
2161
  handleClassicCalendarFocus() {
2172
2162
  this.focusCalendar.emit();
2173
2163
  }
@@ -2196,9 +2186,6 @@ class HorizontalViewListComponent {
2196
2186
  this.cdr.detectChanges();
2197
2187
  container.querySelectorAll('table').forEach(table => {
2198
2188
  this.renderer.setStyle(table, 'width', `${tableWidth}px`);
2199
- if (this.views === 1) {
2200
- this.renderer.setStyle(table, 'min-width', `${initialContainerWidth}px`);
2201
- }
2202
2189
  });
2203
2190
  // we always slide by the width of 1 table
2204
2191
  // cross-browser compatibility is ensured by measuring the client rectangle and substracting the gap
@@ -2258,14 +2245,6 @@ class HorizontalViewListComponent {
2258
2245
  getWeekNames(type) {
2259
2246
  return this.weekService.getWeekNames(this.weekNumber, type);
2260
2247
  }
2261
- setTableMinWidth() {
2262
- const container = this.element.nativeElement;
2263
- const table = container.querySelector('table');
2264
- if (table) {
2265
- const containerWidth = parseFloat(getComputedStyle(container).width);
2266
- this.renderer.setStyle(table, 'min-width', `${containerWidth}px`);
2267
- }
2268
- }
2269
2248
  intlChange() {
2270
2249
  this.weekNames = this.getWeekNames(this.weekDaysFormat);
2271
2250
  this.wideWeekNames = this.getWeekNames('wide');
@@ -2307,7 +2286,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
2307
2286
  (focus)="handleClassicCalendarFocus()"
2308
2287
  (blur)="handleClassicCalendarBlur($event)"
2309
2288
  >
2310
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
2289
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
2311
2290
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
2312
2291
  <tr class="k-calendar-tr" role="row">
2313
2292
  <th *ngFor="let name of weekNames; let i = index;"
@@ -2396,7 +2375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2396
2375
  (focus)="handleClassicCalendarFocus()"
2397
2376
  (blur)="handleClassicCalendarBlur($event)"
2398
2377
  >
2399
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
2378
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
2400
2379
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
2401
2380
  <tr class="k-calendar-tr" role="row">
2402
2381
  <th *ngFor="let name of weekNames; let i = index;"
@@ -2709,7 +2688,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2709
2688
  ></ng-template>
2710
2689
  </button>
2711
2690
  <span class="k-spacer"></span>
2712
- <span class="k-calendar-nav k-hstack">
2691
+ <span class="k-calendar-nav">
2713
2692
  <button
2714
2693
  *ngIf="showNavigationButtons"
2715
2694
  kendoButton
@@ -2730,7 +2709,6 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2730
2709
  kendoButton
2731
2710
  class="k-calendar-nav-today"
2732
2711
  tabindex="-1"
2733
- themeColor="primary"
2734
2712
  fillMode="flat"
2735
2713
  role="link"
2736
2714
  [size]="size"
@@ -2747,6 +2725,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2747
2725
  *ngIf="showNavigationButtons"
2748
2726
  kendoButton
2749
2727
  fillMode="flat"
2728
+ [size]="size"
2750
2729
  [svgIcon]="chevronRightIcon"
2751
2730
  icon="chevron-right"
2752
2731
  class="k-calendar-nav-next"
@@ -2795,7 +2774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2795
2774
  ></ng-template>
2796
2775
  </button>
2797
2776
  <span class="k-spacer"></span>
2798
- <span class="k-calendar-nav k-hstack">
2777
+ <span class="k-calendar-nav">
2799
2778
  <button
2800
2779
  *ngIf="showNavigationButtons"
2801
2780
  kendoButton
@@ -2816,7 +2795,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2816
2795
  kendoButton
2817
2796
  class="k-calendar-nav-today"
2818
2797
  tabindex="-1"
2819
- themeColor="primary"
2820
2798
  fillMode="flat"
2821
2799
  role="link"
2822
2800
  [size]="size"
@@ -2833,6 +2811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2833
2811
  *ngIf="showNavigationButtons"
2834
2812
  kendoButton
2835
2813
  fillMode="flat"
2814
+ [size]="size"
2836
2815
  [svgIcon]="chevronRightIcon"
2837
2816
  icon="chevron-right"
2838
2817
  class="k-calendar-nav-next"
@@ -5424,8 +5403,8 @@ const table = domContainerFactory('table');
5424
5403
  const monthHeader = () => (div$1(`
5425
5404
  <span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
5426
5405
  <span class="k-spacer"></span>
5427
- <span class="k-calendar-nav k-hstack">
5428
- <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
5406
+ <span class="k-calendar-nav">
5407
+ <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-base k-rounded-md">TODAY</button>
5429
5408
  </span>
5430
5409
  `, 'k-calendar-header'));
5431
5410
  const monthWeekHeader = () => (table([
@@ -8598,9 +8577,9 @@ class DateInputComponent {
8598
8577
  * @hidden
8599
8578
  */
8600
8579
  ngOnChanges(changes) {
8601
- var _a;
8580
+ var _a, _b;
8602
8581
  this.verifyRange();
8603
- if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['incompleteDateValidation']) {
8582
+ if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
8604
8583
  this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
8605
8584
  this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
8606
8585
  this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
@@ -8623,6 +8602,12 @@ class DateInputComponent {
8623
8602
  (_a = this.kendoDate) === null || _a === void 0 ? void 0 : _a.setOptions(this.options, true);
8624
8603
  this.updateFormatSections();
8625
8604
  }
8605
+ if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
8606
+ if (!this.kendoDate) {
8607
+ return;
8608
+ }
8609
+ (_b = this.kendoDate) === null || _b === void 0 ? void 0 : _b.setOptions(this.options, true);
8610
+ }
8626
8611
  }
8627
8612
  updateFormatSections() {
8628
8613
  this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
@@ -9957,6 +9942,9 @@ class DatePickerComponent extends MultiTabStop {
9957
9942
  * @hidden
9958
9943
  */
9959
9944
  ngOnDestroy() {
9945
+ if (this.isAdaptive && this.isOpen) {
9946
+ this.toggleActionSheet(false);
9947
+ }
9960
9948
  this.isActive = false;
9961
9949
  this.show = false;
9962
9950
  if (this.localizationChangeSubscription) {
@@ -10243,7 +10231,7 @@ class DatePickerComponent extends MultiTabStop {
10243
10231
  }
10244
10232
  }
10245
10233
  toggleActionSheet(show) {
10246
- var _a, _b, _c;
10234
+ var _a;
10247
10235
  if (show === this._show) {
10248
10236
  return;
10249
10237
  }
@@ -10257,8 +10245,10 @@ class DatePickerComponent extends MultiTabStop {
10257
10245
  else if (!show && this.isOpen) {
10258
10246
  this.actionSheet.toggle();
10259
10247
  this.ariaActiveDescendantSubscription.unsubscribe();
10260
- this.renderer.removeAttribute((_b = this.dateInput) === null || _b === void 0 ? void 0 : _b.inputElement, attributeNames.ariaActiveDescendant);
10261
- this.renderer.removeAttribute((_c = this.dateInput) === null || _c === void 0 ? void 0 : _c.inputElement, attributeNames.ariaControls);
10248
+ if (this.dateInput) {
10249
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaActiveDescendant);
10250
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaControls);
10251
+ }
10262
10252
  }
10263
10253
  this._show = show;
10264
10254
  }
@@ -14449,8 +14439,8 @@ const DEFAULT_TIMESELECTOR_FORMAT = 't';
14449
14439
  const TWO_DIGIT_YEAR_MAX = 68;
14450
14440
  const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
14451
14441
  const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
14452
- const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
14453
- const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
14442
+ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
14443
+ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
14454
14444
  /**
14455
14445
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
14456
14446
  */
@@ -15117,7 +15107,7 @@ class DateTimePickerComponent extends MultiTabStop {
15117
15107
  }
15118
15108
  }
15119
15109
  ngOnDestroy() {
15120
- if (this.isOpen) {
15110
+ if (this.isOpen && !this.isAdaptive) {
15121
15111
  this.closePopup();
15122
15112
  }
15123
15113
  this.subscriptions.unsubscribe();
@@ -15962,6 +15952,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15962
15952
  <ng-template #dateTimeTemplate>
15963
15953
  <div
15964
15954
  class="k-datetime-wrap k-{{activeTab}}-tab"
15955
+ [ngClass]="{
15956
+ 'k-datetime-wrap-md': !isAdaptive,
15957
+ 'k-datetime-wrap-lg': isAdaptive
15958
+ }"
15965
15959
  [kendoEventsOutsideAngular]="{
15966
15960
  mousedown: preventMouseDown,
15967
15961
  keydown: handleKeyDown
@@ -15975,10 +15969,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15975
15969
  }"
15976
15970
  [scope]="this"
15977
15971
  >
15978
- <div class="k-button-group k-button-group-stretched" role="group">
15972
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
15979
15973
  <button
15980
15974
  type="button"
15981
- class="k-button k-group-start k-date-tab"
15975
+ class="k-button k-group-start"
15982
15976
  [ngClass]="popupButtonsClasses()"
15983
15977
  [class.k-active]="activeTab === 'date'"
15984
15978
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -15994,7 +15988,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15994
15988
  </button>
15995
15989
  <button
15996
15990
  type="button"
15997
- class="k-button k-group-end k-time-tab"
15991
+ class="k-button k-group-end"
15998
15992
  [ngClass]="popupButtonsClasses()"
15999
15993
  [class.k-active]="activeTab === 'time'"
16000
15994
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -16110,6 +16104,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
16110
16104
  >
16111
16105
  {{localization.get('accept')}}
16112
16106
  </button>
16107
+
16113
16108
  <button
16114
16109
  *ngIf="cancelButton"
16115
16110
  type="button"
@@ -16360,6 +16355,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16360
16355
  <ng-template #dateTimeTemplate>
16361
16356
  <div
16362
16357
  class="k-datetime-wrap k-{{activeTab}}-tab"
16358
+ [ngClass]="{
16359
+ 'k-datetime-wrap-md': !isAdaptive,
16360
+ 'k-datetime-wrap-lg': isAdaptive
16361
+ }"
16363
16362
  [kendoEventsOutsideAngular]="{
16364
16363
  mousedown: preventMouseDown,
16365
16364
  keydown: handleKeyDown
@@ -16373,10 +16372,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16373
16372
  }"
16374
16373
  [scope]="this"
16375
16374
  >
16376
- <div class="k-button-group k-button-group-stretched" role="group">
16375
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
16377
16376
  <button
16378
16377
  type="button"
16379
- class="k-button k-group-start k-date-tab"
16378
+ class="k-button k-group-start"
16380
16379
  [ngClass]="popupButtonsClasses()"
16381
16380
  [class.k-active]="activeTab === 'date'"
16382
16381
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -16392,7 +16391,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16392
16391
  </button>
16393
16392
  <button
16394
16393
  type="button"
16395
- class="k-button k-group-end k-time-tab"
16394
+ class="k-button k-group-end"
16396
16395
  [ngClass]="popupButtonsClasses()"
16397
16396
  [class.k-active]="activeTab === 'time'"
16398
16397
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -16508,6 +16507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16508
16507
  >
16509
16508
  {{localization.get('accept')}}
16510
16509
  </button>
16510
+
16511
16511
  <button
16512
16512
  *ngIf="cancelButton"
16513
16513
  type="button"
@@ -17728,7 +17728,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17728
17728
  <div class="k-actionsheet-content !k-overflow-hidden">
17729
17729
  <div class="k-scrollable-wrap">
17730
17730
  <kendo-multiviewcalendar
17731
- class="k-calendar-lg"
17731
+ size="large"
17732
17732
  orientation="vertical"
17733
17733
  [allowReverse]="allowReverse"
17734
17734
  [focusedDate]="dateRangeService.focusedDate"
@@ -17841,7 +17841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
17841
17841
  <div class="k-actionsheet-content !k-overflow-hidden">
17842
17842
  <div class="k-scrollable-wrap">
17843
17843
  <kendo-multiviewcalendar
17844
- class="k-calendar-lg"
17844
+ size="large"
17845
17845
  orientation="vertical"
17846
17846
  [allowReverse]="allowReverse"
17847
17847
  [focusedDate]="dateRangeService.focusedDate"
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
9
9
  import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
10
10
  import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
11
11
  import * as i1$2 from '@progress/kendo-angular-common';
12
- import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
12
+ import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
13
13
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
15
15
  import * as i1 from '@progress/kendo-angular-intl';
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  name: '@progress/kendo-angular-dateinputs',
38
38
  productName: 'Kendo UI for Angular',
39
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
40
- publishDate: 1718629463,
41
- version: '16.3.0-develop.9',
40
+ publishDate: 1718884867,
41
+ version: '16.3.0',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -2146,13 +2146,6 @@ class HorizontalViewListComponent {
2146
2146
  this.renderer.setAttribute(this.element.nativeElement, 'tabindex', this.tabIndex.toString());
2147
2147
  }
2148
2148
  }
2149
- ngAfterViewInit() {
2150
- // make the calendar look the same in the different browsers
2151
- // which also smoothens the navigation animation
2152
- if (this.views === 1) {
2153
- this.setTableMinWidth();
2154
- }
2155
- }
2156
2149
  ngOnDestroy() {
2157
2150
  this.intlSubscription.unsubscribe();
2158
2151
  }
@@ -2165,9 +2158,6 @@ class HorizontalViewListComponent {
2165
2158
  getCaptionTitle(date) {
2166
2159
  return this.service.title(date);
2167
2160
  }
2168
- getCaptionClass() {
2169
- return this.isMonthView() ? 'k-month-header' : 'k-meta-header';
2170
- }
2171
2161
  handleClassicCalendarFocus() {
2172
2162
  this.focusCalendar.emit();
2173
2163
  }
@@ -2196,9 +2186,6 @@ class HorizontalViewListComponent {
2196
2186
  this.cdr.detectChanges();
2197
2187
  container.querySelectorAll('table').forEach(table => {
2198
2188
  this.renderer.setStyle(table, 'width', `${tableWidth}px`);
2199
- if (this.views === 1) {
2200
- this.renderer.setStyle(table, 'min-width', `${initialContainerWidth}px`);
2201
- }
2202
2189
  });
2203
2190
  // we always slide by the width of 1 table
2204
2191
  // cross-browser compatibility is ensured by measuring the client rectangle and substracting the gap
@@ -2258,14 +2245,6 @@ class HorizontalViewListComponent {
2258
2245
  getWeekNames(type) {
2259
2246
  return this.weekService.getWeekNames(this.weekNumber, type);
2260
2247
  }
2261
- setTableMinWidth() {
2262
- const container = this.element.nativeElement;
2263
- const table = container.querySelector('table');
2264
- if (table) {
2265
- const containerWidth = parseFloat(getComputedStyle(container).width);
2266
- this.renderer.setStyle(table, 'min-width', `${containerWidth}px`);
2267
- }
2268
- }
2269
2248
  intlChange() {
2270
2249
  this.weekNames = this.getWeekNames(this.weekDaysFormat);
2271
2250
  this.wideWeekNames = this.getWeekNames('wide');
@@ -2307,7 +2286,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
2307
2286
  (focus)="handleClassicCalendarFocus()"
2308
2287
  (blur)="handleClassicCalendarBlur($event)"
2309
2288
  >
2310
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
2289
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
2311
2290
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
2312
2291
  <tr class="k-calendar-tr" role="row">
2313
2292
  <th *ngFor="let name of weekNames; let i = index;"
@@ -2396,7 +2375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2396
2375
  (focus)="handleClassicCalendarFocus()"
2397
2376
  (blur)="handleClassicCalendarBlur($event)"
2398
2377
  >
2399
- <caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
2378
+ <caption *ngIf="showViewHeader" class="k-calendar-caption">{{ getCaptionTitle(date) }}</caption>
2400
2379
  <thead *ngIf="isMonthView()" class="k-calendar-thead" role="rowgroup">
2401
2380
  <tr class="k-calendar-tr" role="row">
2402
2381
  <th *ngFor="let name of weekNames; let i = index;"
@@ -2709,7 +2688,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2709
2688
  ></ng-template>
2710
2689
  </button>
2711
2690
  <span class="k-spacer"></span>
2712
- <span class="k-calendar-nav k-hstack">
2691
+ <span class="k-calendar-nav">
2713
2692
  <button
2714
2693
  *ngIf="showNavigationButtons"
2715
2694
  kendoButton
@@ -2730,7 +2709,6 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2730
2709
  kendoButton
2731
2710
  class="k-calendar-nav-today"
2732
2711
  tabindex="-1"
2733
- themeColor="primary"
2734
2712
  fillMode="flat"
2735
2713
  role="link"
2736
2714
  [size]="size"
@@ -2747,6 +2725,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
2747
2725
  *ngIf="showNavigationButtons"
2748
2726
  kendoButton
2749
2727
  fillMode="flat"
2728
+ [size]="size"
2750
2729
  [svgIcon]="chevronRightIcon"
2751
2730
  icon="chevron-right"
2752
2731
  class="k-calendar-nav-next"
@@ -2795,7 +2774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2795
2774
  ></ng-template>
2796
2775
  </button>
2797
2776
  <span class="k-spacer"></span>
2798
- <span class="k-calendar-nav k-hstack">
2777
+ <span class="k-calendar-nav">
2799
2778
  <button
2800
2779
  *ngIf="showNavigationButtons"
2801
2780
  kendoButton
@@ -2816,7 +2795,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2816
2795
  kendoButton
2817
2796
  class="k-calendar-nav-today"
2818
2797
  tabindex="-1"
2819
- themeColor="primary"
2820
2798
  fillMode="flat"
2821
2799
  role="link"
2822
2800
  [size]="size"
@@ -2833,6 +2811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2833
2811
  *ngIf="showNavigationButtons"
2834
2812
  kendoButton
2835
2813
  fillMode="flat"
2814
+ [size]="size"
2836
2815
  [svgIcon]="chevronRightIcon"
2837
2816
  icon="chevron-right"
2838
2817
  class="k-calendar-nav-next"
@@ -4959,8 +4938,8 @@ const table = domContainerFactory('table');
4959
4938
  const monthHeader = () => (div$1(`
4960
4939
  <span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
4961
4940
  <span class="k-spacer"></span>
4962
- <span class="k-calendar-nav k-hstack">
4963
- <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">TODAY</button>
4941
+ <span class="k-calendar-nav">
4942
+ <button class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-base k-rounded-md">TODAY</button>
4964
4943
  </span>
4965
4944
  `, 'k-calendar-header'));
4966
4945
  const monthWeekHeader = () => (table([
@@ -8581,7 +8560,7 @@ class DateInputComponent {
8581
8560
  */
8582
8561
  ngOnChanges(changes) {
8583
8562
  this.verifyRange();
8584
- if (changes['min'] || changes['max'] || changes['rangeValidation'] || changes['incompleteDateValidation']) {
8563
+ if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
8585
8564
  this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
8586
8565
  this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
8587
8566
  this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
@@ -8604,6 +8583,12 @@ class DateInputComponent {
8604
8583
  this.kendoDate?.setOptions(this.options, true);
8605
8584
  this.updateFormatSections();
8606
8585
  }
8586
+ if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
8587
+ if (!this.kendoDate) {
8588
+ return;
8589
+ }
8590
+ this.kendoDate?.setOptions(this.options, true);
8591
+ }
8607
8592
  }
8608
8593
  updateFormatSections() {
8609
8594
  this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
@@ -9934,6 +9919,9 @@ class DatePickerComponent extends MultiTabStop {
9934
9919
  * @hidden
9935
9920
  */
9936
9921
  ngOnDestroy() {
9922
+ if (this.isAdaptive && this.isOpen) {
9923
+ this.toggleActionSheet(false);
9924
+ }
9937
9925
  this.isActive = false;
9938
9926
  this.show = false;
9939
9927
  if (this.localizationChangeSubscription) {
@@ -10232,8 +10220,10 @@ class DatePickerComponent extends MultiTabStop {
10232
10220
  else if (!show && this.isOpen) {
10233
10221
  this.actionSheet.toggle();
10234
10222
  this.ariaActiveDescendantSubscription.unsubscribe();
10235
- this.renderer.removeAttribute(this.dateInput?.inputElement, attributeNames.ariaActiveDescendant);
10236
- this.renderer.removeAttribute(this.dateInput?.inputElement, attributeNames.ariaControls);
10223
+ if (this.dateInput) {
10224
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaActiveDescendant);
10225
+ this.renderer.removeAttribute(this.dateInput.inputElement, attributeNames.ariaControls);
10226
+ }
10237
10227
  }
10238
10228
  this._show = show;
10239
10229
  }
@@ -14412,8 +14402,8 @@ const DEFAULT_TIMESELECTOR_FORMAT = 't';
14412
14402
  const TWO_DIGIT_YEAR_MAX = 68;
14413
14403
  const ACCEPT_BUTTON_SELECTOR = '.k-button.k-time-accept';
14414
14404
  const CANCEL_BUTTON_SELECOTR = '.k-button.k-time-cancel';
14415
- const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-date-tab';
14416
- const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-time-tab';
14405
+ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
14406
+ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
14417
14407
  /**
14418
14408
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
14419
14409
  */
@@ -15072,7 +15062,7 @@ class DateTimePickerComponent extends MultiTabStop {
15072
15062
  }
15073
15063
  }
15074
15064
  ngOnDestroy() {
15075
- if (this.isOpen) {
15065
+ if (this.isOpen && !this.isAdaptive) {
15076
15066
  this.closePopup();
15077
15067
  }
15078
15068
  this.subscriptions.unsubscribe();
@@ -15913,6 +15903,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15913
15903
  <ng-template #dateTimeTemplate>
15914
15904
  <div
15915
15905
  class="k-datetime-wrap k-{{activeTab}}-tab"
15906
+ [ngClass]="{
15907
+ 'k-datetime-wrap-md': !isAdaptive,
15908
+ 'k-datetime-wrap-lg': isAdaptive
15909
+ }"
15916
15910
  [kendoEventsOutsideAngular]="{
15917
15911
  mousedown: preventMouseDown,
15918
15912
  keydown: handleKeyDown
@@ -15926,10 +15920,10 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15926
15920
  }"
15927
15921
  [scope]="this"
15928
15922
  >
15929
- <div class="k-button-group k-button-group-stretched" role="group">
15923
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
15930
15924
  <button
15931
15925
  type="button"
15932
- class="k-button k-group-start k-date-tab"
15926
+ class="k-button k-group-start"
15933
15927
  [ngClass]="popupButtonsClasses()"
15934
15928
  [class.k-active]="activeTab === 'date'"
15935
15929
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -15945,7 +15939,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15945
15939
  </button>
15946
15940
  <button
15947
15941
  type="button"
15948
- class="k-button k-group-end k-time-tab"
15942
+ class="k-button k-group-end"
15949
15943
  [ngClass]="popupButtonsClasses()"
15950
15944
  [class.k-active]="activeTab === 'time'"
15951
15945
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -16061,6 +16055,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
16061
16055
  >
16062
16056
  {{localization.get('accept')}}
16063
16057
  </button>
16058
+
16064
16059
  <button
16065
16060
  *ngIf="cancelButton"
16066
16061
  type="button"
@@ -16311,6 +16306,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16311
16306
  <ng-template #dateTimeTemplate>
16312
16307
  <div
16313
16308
  class="k-datetime-wrap k-{{activeTab}}-tab"
16309
+ [ngClass]="{
16310
+ 'k-datetime-wrap-md': !isAdaptive,
16311
+ 'k-datetime-wrap-lg': isAdaptive
16312
+ }"
16314
16313
  [kendoEventsOutsideAngular]="{
16315
16314
  mousedown: preventMouseDown,
16316
16315
  keydown: handleKeyDown
@@ -16324,10 +16323,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16324
16323
  }"
16325
16324
  [scope]="this"
16326
16325
  >
16327
- <div class="k-button-group k-button-group-stretched" role="group">
16326
+ <div class="k-button-group k-button-group-solid k-button-group-stretched" role="group">
16328
16327
  <button
16329
16328
  type="button"
16330
- class="k-button k-group-start k-date-tab"
16329
+ class="k-button k-group-start"
16331
16330
  [ngClass]="popupButtonsClasses()"
16332
16331
  [class.k-active]="activeTab === 'date'"
16333
16332
  [attr.aria-pressed]="activeTab === 'date' ? 'true' : 'false'"
@@ -16343,7 +16342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16343
16342
  </button>
16344
16343
  <button
16345
16344
  type="button"
16346
- class="k-button k-group-end k-time-tab"
16345
+ class="k-button k-group-end"
16347
16346
  [ngClass]="popupButtonsClasses()"
16348
16347
  [class.k-active]="activeTab === 'time'"
16349
16348
  [attr.aria-pressed]="activeTab === 'time' ? 'true' : 'false'"
@@ -16459,6 +16458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16459
16458
  >
16460
16459
  {{localization.get('accept')}}
16461
16460
  </button>
16461
+
16462
16462
  <button
16463
16463
  *ngIf="cancelButton"
16464
16464
  type="button"
@@ -17670,7 +17670,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
17670
17670
  <div class="k-actionsheet-content !k-overflow-hidden">
17671
17671
  <div class="k-scrollable-wrap">
17672
17672
  <kendo-multiviewcalendar
17673
- class="k-calendar-lg"
17673
+ size="large"
17674
17674
  orientation="vertical"
17675
17675
  [allowReverse]="allowReverse"
17676
17676
  [focusedDate]="dateRangeService.focusedDate"
@@ -17783,7 +17783,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
17783
17783
  <div class="k-actionsheet-content !k-overflow-hidden">
17784
17784
  <div class="k-scrollable-wrap">
17785
17785
  <kendo-multiviewcalendar
17786
- class="k-calendar-lg"
17786
+ size="large"
17787
17787
  orientation="vertical"
17788
17788
  [allowReverse]="allowReverse"
17789
17789
  [focusedDate]="dateRangeService.focusedDate"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "16.3.0-develop.9",
3
+ "version": "16.3.0",
4
4
  "description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -34,18 +34,18 @@
34
34
  "@angular/forms": "15 - 18",
35
35
  "@angular/platform-browser": "15 - 18",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-buttons": "16.3.0-develop.9",
38
- "@progress/kendo-angular-common": "16.3.0-develop.9",
39
- "@progress/kendo-angular-intl": "16.3.0-develop.9",
40
- "@progress/kendo-angular-l10n": "16.3.0-develop.9",
41
- "@progress/kendo-angular-icons": "16.3.0-develop.9",
42
- "@progress/kendo-angular-popup": "16.3.0-develop.9",
43
- "@progress/kendo-angular-navigation": "16.3.0-develop.9",
37
+ "@progress/kendo-angular-buttons": "16.3.0",
38
+ "@progress/kendo-angular-common": "16.3.0",
39
+ "@progress/kendo-angular-intl": "16.3.0",
40
+ "@progress/kendo-angular-l10n": "16.3.0",
41
+ "@progress/kendo-angular-icons": "16.3.0",
42
+ "@progress/kendo-angular-popup": "16.3.0",
43
+ "@progress/kendo-angular-navigation": "16.3.0",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "16.3.0-develop.9",
48
+ "@progress/kendo-angular-schematics": "16.3.0",
49
49
  "@progress/kendo-common": "^0.2.0",
50
50
  "@progress/kendo-date-math": "^1.1.0",
51
51
  "@progress/kendo-dateinputs-common": "^0.3.3"