@progress/kendo-angular-dateinputs 16.11.0-develop.1 → 16.11.0-develop.11

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.
@@ -860,6 +860,7 @@ export class DatePickerComponent extends MultiTabStop {
860
860
  handleKeydown(e) {
861
861
  const { altKey, shiftKey, keyCode, target } = e;
862
862
  if (keyCode === Keys.Escape) {
863
+ this.dateInput.focus();
863
864
  this.show = false;
864
865
  hasObservers(this.escape) && this.escape.emit();
865
866
  }
@@ -868,6 +869,7 @@ export class DatePickerComponent extends MultiTabStop {
868
869
  this.show = true;
869
870
  }
870
871
  if (keyCode === Keys.ArrowUp) {
872
+ this.dateInput.focus();
871
873
  this.show = false;
872
874
  }
873
875
  }
@@ -832,6 +832,9 @@ export class DateTimePickerComponent extends MultiTabStop {
832
832
  const shouldOpen = !this.isOpen;
833
833
  // handle focus first to maintain correct event order `focus` => `open`
834
834
  this.handleFocus();
835
+ if (!shouldOpen) {
836
+ this.dateInput.focus();
837
+ }
835
838
  this.toggleDateTime(shouldOpen);
836
839
  this.switchFocus();
837
840
  });
@@ -925,6 +928,7 @@ export class DateTimePickerComponent extends MultiTabStop {
925
928
  const runInZone = valueChangePresent || hasObservers(this.close);
926
929
  this.run(runInZone, () => {
927
930
  this.handleValueChange(candidate);
931
+ this.dateInput.focus();
928
932
  this.toggleDateTime(false);
929
933
  });
930
934
  }
@@ -936,6 +940,7 @@ export class DateTimePickerComponent extends MultiTabStop {
936
940
  return;
937
941
  }
938
942
  const runInZone = hasObservers(this.close);
943
+ this.dateInput.focus();
939
944
  this.run(runInZone, () => this.toggleDateTime(false));
940
945
  hasObservers(this.escape) && this.escape.emit();
941
946
  }
@@ -1445,9 +1450,9 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1445
1450
  keydown: handleKeyDown
1446
1451
  }"
1447
1452
  [scope]="this"
1448
- [fillMode]="fillMode"
1449
- [rounded]="rounded"
1450
- [size]="size"
1453
+ fillMode="none"
1454
+ rounded="none"
1455
+ size="none"
1451
1456
  (click)="handleDateInputClick()"
1452
1457
  >
1453
1458
  <kendo-dateinput-messages
@@ -1848,9 +1853,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1848
1853
  keydown: handleKeyDown
1849
1854
  }"
1850
1855
  [scope]="this"
1851
- [fillMode]="fillMode"
1852
- [rounded]="rounded"
1853
- [size]="size"
1856
+ fillMode="none"
1857
+ rounded="none"
1858
+ size="none"
1854
1859
  (click)="handleDateInputClick()"
1855
1860
  >
1856
1861
  <kendo-dateinput-messages
@@ -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: 1727353523,
13
- version: '16.11.0-develop.1',
12
+ publishDate: 1727949557,
13
+ version: '16.11.0-develop.11',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -64,8 +64,8 @@ export class TimePickerDOMService {
64
64
  hostContainer = document.body;
65
65
  wrapper = hostContainer.appendChild(timeListWrapper(true, this.windowSize, this.isDateTimePicker));
66
66
  }
67
- this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
68
- this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
67
+ this.timeListHeight = wrapper.querySelector('.k-scrollable').offsetHeight;
68
+ this.itemHeight = wrapper.querySelector('li').offsetHeight;
69
69
  hostContainer.removeChild(wrapper);
70
70
  }
71
71
  isActive(element) {
@@ -528,6 +528,7 @@ export class TimePickerComponent extends MultiTabStop {
528
528
  handleKeydown(event) {
529
529
  const { altKey, keyCode } = event;
530
530
  if (keyCode === Keys.Escape) {
531
+ this.focusInput();
531
532
  this.show = false;
532
533
  hasObservers(this.escape) && this.escape.emit();
533
534
  this.cdr.detectChanges();
@@ -536,6 +537,7 @@ export class TimePickerComponent extends MultiTabStop {
536
537
  if (altKey) {
537
538
  if (keyCode === Keys.ArrowUp) {
538
539
  event.preventDefault();
540
+ this.focusInput();
539
541
  this.show = false;
540
542
  this.cdr.detectChanges();
541
543
  }
@@ -682,6 +684,7 @@ export class TimePickerComponent extends MultiTabStop {
682
684
  * @hidden
683
685
  */
684
686
  handleReject() {
687
+ this.focusInput();
685
688
  this.show = false;
686
689
  }
687
690
  /**
@@ -1039,9 +1042,9 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
1039
1042
  [autoSwitchKeys]="autoSwitchKeys"
1040
1043
  [enableMouseWheel]="enableMouseWheel"
1041
1044
  [allowCaretMode]="allowCaretMode"
1042
- [fillMode]="fillMode"
1043
- [rounded]="rounded"
1044
- [size]="size"
1045
+ fillMode="none"
1046
+ rounded="none"
1047
+ size="none"
1045
1048
  [steps]="steps"
1046
1049
  [tabindex]="!show ? tabindex : -1"
1047
1050
  [isRequired]="isControlRequired"
@@ -1263,9 +1266,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1263
1266
  [autoSwitchKeys]="autoSwitchKeys"
1264
1267
  [enableMouseWheel]="enableMouseWheel"
1265
1268
  [allowCaretMode]="allowCaretMode"
1266
- [fillMode]="fillMode"
1267
- [rounded]="rounded"
1268
- [size]="size"
1269
+ fillMode="none"
1270
+ rounded="none"
1271
+ size="none"
1269
1272
  [steps]="steps"
1270
1273
  [tabindex]="!show ? tabindex : -1"
1271
1274
  [isRequired]="isControlRequired"
@@ -35,8 +35,8 @@ const packageMetadata = {
35
35
  name: '@progress/kendo-angular-dateinputs',
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
38
- publishDate: 1727353523,
39
- version: '16.11.0-develop.1',
38
+ publishDate: 1727949557,
39
+ version: '16.11.0-develop.11',
40
40
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
41
41
  };
42
42
 
@@ -10218,6 +10218,7 @@ class DatePickerComponent extends MultiTabStop {
10218
10218
  handleKeydown(e) {
10219
10219
  const { altKey, shiftKey, keyCode, target } = e;
10220
10220
  if (keyCode === Keys$1.Escape) {
10221
+ this.dateInput.focus();
10221
10222
  this.show = false;
10222
10223
  hasObservers(this.escape) && this.escape.emit();
10223
10224
  }
@@ -10226,6 +10227,7 @@ class DatePickerComponent extends MultiTabStop {
10226
10227
  this.show = true;
10227
10228
  }
10228
10229
  if (keyCode === Keys$1.ArrowUp) {
10230
+ this.dateInput.focus();
10229
10231
  this.show = false;
10230
10232
  }
10231
10233
  }
@@ -11655,8 +11657,8 @@ class TimePickerDOMService {
11655
11657
  hostContainer = document.body;
11656
11658
  wrapper = hostContainer.appendChild(timeListWrapper(true, this.windowSize, this.isDateTimePicker));
11657
11659
  }
11658
- this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
11659
- this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
11660
+ this.timeListHeight = wrapper.querySelector('.k-scrollable').offsetHeight;
11661
+ this.itemHeight = wrapper.querySelector('li').offsetHeight;
11660
11662
  hostContainer.removeChild(wrapper);
11661
11663
  }
11662
11664
  isActive(element) {
@@ -13414,6 +13416,7 @@ class TimePickerComponent extends MultiTabStop {
13414
13416
  handleKeydown(event) {
13415
13417
  const { altKey, keyCode } = event;
13416
13418
  if (keyCode === Keys$1.Escape) {
13419
+ this.focusInput();
13417
13420
  this.show = false;
13418
13421
  hasObservers(this.escape) && this.escape.emit();
13419
13422
  this.cdr.detectChanges();
@@ -13422,6 +13425,7 @@ class TimePickerComponent extends MultiTabStop {
13422
13425
  if (altKey) {
13423
13426
  if (keyCode === Keys$1.ArrowUp) {
13424
13427
  event.preventDefault();
13428
+ this.focusInput();
13425
13429
  this.show = false;
13426
13430
  this.cdr.detectChanges();
13427
13431
  }
@@ -13568,6 +13572,7 @@ class TimePickerComponent extends MultiTabStop {
13568
13572
  * @hidden
13569
13573
  */
13570
13574
  handleReject() {
13575
+ this.focusInput();
13571
13576
  this.show = false;
13572
13577
  }
13573
13578
  /**
@@ -13927,9 +13932,9 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
13927
13932
  [autoSwitchKeys]="autoSwitchKeys"
13928
13933
  [enableMouseWheel]="enableMouseWheel"
13929
13934
  [allowCaretMode]="allowCaretMode"
13930
- [fillMode]="fillMode"
13931
- [rounded]="rounded"
13932
- [size]="size"
13935
+ fillMode="none"
13936
+ rounded="none"
13937
+ size="none"
13933
13938
  [steps]="steps"
13934
13939
  [tabindex]="!show ? tabindex : -1"
13935
13940
  [isRequired]="isControlRequired"
@@ -14151,9 +14156,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
14151
14156
  [autoSwitchKeys]="autoSwitchKeys"
14152
14157
  [enableMouseWheel]="enableMouseWheel"
14153
14158
  [allowCaretMode]="allowCaretMode"
14154
- [fillMode]="fillMode"
14155
- [rounded]="rounded"
14156
- [size]="size"
14159
+ fillMode="none"
14160
+ rounded="none"
14161
+ size="none"
14157
14162
  [steps]="steps"
14158
14163
  [tabindex]="!show ? tabindex : -1"
14159
14164
  [isRequired]="isControlRequired"
@@ -15271,6 +15276,9 @@ class DateTimePickerComponent extends MultiTabStop {
15271
15276
  const shouldOpen = !this.isOpen;
15272
15277
  // handle focus first to maintain correct event order `focus` => `open`
15273
15278
  this.handleFocus();
15279
+ if (!shouldOpen) {
15280
+ this.dateInput.focus();
15281
+ }
15274
15282
  this.toggleDateTime(shouldOpen);
15275
15283
  this.switchFocus();
15276
15284
  });
@@ -15365,6 +15373,7 @@ class DateTimePickerComponent extends MultiTabStop {
15365
15373
  const runInZone = valueChangePresent || hasObservers(this.close);
15366
15374
  this.run(runInZone, () => {
15367
15375
  this.handleValueChange(candidate);
15376
+ this.dateInput.focus();
15368
15377
  this.toggleDateTime(false);
15369
15378
  });
15370
15379
  }
@@ -15376,6 +15385,7 @@ class DateTimePickerComponent extends MultiTabStop {
15376
15385
  return;
15377
15386
  }
15378
15387
  const runInZone = hasObservers(this.close);
15388
+ this.dateInput.focus();
15379
15389
  this.run(runInZone, () => this.toggleDateTime(false));
15380
15390
  hasObservers(this.escape) && this.escape.emit();
15381
15391
  }
@@ -15888,9 +15898,9 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15888
15898
  keydown: handleKeyDown
15889
15899
  }"
15890
15900
  [scope]="this"
15891
- [fillMode]="fillMode"
15892
- [rounded]="rounded"
15893
- [size]="size"
15901
+ fillMode="none"
15902
+ rounded="none"
15903
+ size="none"
15894
15904
  (click)="handleDateInputClick()"
15895
15905
  >
15896
15906
  <kendo-dateinput-messages
@@ -16291,9 +16301,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16291
16301
  keydown: handleKeyDown
16292
16302
  }"
16293
16303
  [scope]="this"
16294
- [fillMode]="fillMode"
16295
- [rounded]="rounded"
16296
- [size]="size"
16304
+ fillMode="none"
16305
+ rounded="none"
16306
+ size="none"
16297
16307
  (click)="handleDateInputClick()"
16298
16308
  >
16299
16309
  <kendo-dateinput-messages
@@ -35,8 +35,8 @@ const packageMetadata = {
35
35
  name: '@progress/kendo-angular-dateinputs',
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
38
- publishDate: 1727353523,
39
- version: '16.11.0-develop.1',
38
+ publishDate: 1727949557,
39
+ version: '16.11.0-develop.11',
40
40
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
41
41
  };
42
42
 
@@ -10195,6 +10195,7 @@ class DatePickerComponent extends MultiTabStop {
10195
10195
  handleKeydown(e) {
10196
10196
  const { altKey, shiftKey, keyCode, target } = e;
10197
10197
  if (keyCode === Keys$1.Escape) {
10198
+ this.dateInput.focus();
10198
10199
  this.show = false;
10199
10200
  hasObservers(this.escape) && this.escape.emit();
10200
10201
  }
@@ -10203,6 +10204,7 @@ class DatePickerComponent extends MultiTabStop {
10203
10204
  this.show = true;
10204
10205
  }
10205
10206
  if (keyCode === Keys$1.ArrowUp) {
10207
+ this.dateInput.focus();
10206
10208
  this.show = false;
10207
10209
  }
10208
10210
  }
@@ -11054,8 +11056,8 @@ class TimePickerDOMService {
11054
11056
  hostContainer = document.body;
11055
11057
  wrapper = hostContainer.appendChild(timeListWrapper(true, this.windowSize, this.isDateTimePicker));
11056
11058
  }
11057
- this.timeListHeight = wrapper.querySelector('.k-scrollable').getBoundingClientRect().height;
11058
- this.itemHeight = wrapper.querySelector('li').getBoundingClientRect().height;
11059
+ this.timeListHeight = wrapper.querySelector('.k-scrollable').offsetHeight;
11060
+ this.itemHeight = wrapper.querySelector('li').offsetHeight;
11059
11061
  hostContainer.removeChild(wrapper);
11060
11062
  }
11061
11063
  isActive(element) {
@@ -13382,6 +13384,7 @@ class TimePickerComponent extends MultiTabStop {
13382
13384
  handleKeydown(event) {
13383
13385
  const { altKey, keyCode } = event;
13384
13386
  if (keyCode === Keys$1.Escape) {
13387
+ this.focusInput();
13385
13388
  this.show = false;
13386
13389
  hasObservers(this.escape) && this.escape.emit();
13387
13390
  this.cdr.detectChanges();
@@ -13390,6 +13393,7 @@ class TimePickerComponent extends MultiTabStop {
13390
13393
  if (altKey) {
13391
13394
  if (keyCode === Keys$1.ArrowUp) {
13392
13395
  event.preventDefault();
13396
+ this.focusInput();
13393
13397
  this.show = false;
13394
13398
  this.cdr.detectChanges();
13395
13399
  }
@@ -13536,6 +13540,7 @@ class TimePickerComponent extends MultiTabStop {
13536
13540
  * @hidden
13537
13541
  */
13538
13542
  handleReject() {
13543
+ this.focusInput();
13539
13544
  this.show = false;
13540
13545
  }
13541
13546
  /**
@@ -13893,9 +13898,9 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
13893
13898
  [autoSwitchKeys]="autoSwitchKeys"
13894
13899
  [enableMouseWheel]="enableMouseWheel"
13895
13900
  [allowCaretMode]="allowCaretMode"
13896
- [fillMode]="fillMode"
13897
- [rounded]="rounded"
13898
- [size]="size"
13901
+ fillMode="none"
13902
+ rounded="none"
13903
+ size="none"
13899
13904
  [steps]="steps"
13900
13905
  [tabindex]="!show ? tabindex : -1"
13901
13906
  [isRequired]="isControlRequired"
@@ -14117,9 +14122,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
14117
14122
  [autoSwitchKeys]="autoSwitchKeys"
14118
14123
  [enableMouseWheel]="enableMouseWheel"
14119
14124
  [allowCaretMode]="allowCaretMode"
14120
- [fillMode]="fillMode"
14121
- [rounded]="rounded"
14122
- [size]="size"
14125
+ fillMode="none"
14126
+ rounded="none"
14127
+ size="none"
14123
14128
  [steps]="steps"
14124
14129
  [tabindex]="!show ? tabindex : -1"
14125
14130
  [isRequired]="isControlRequired"
@@ -15229,6 +15234,9 @@ class DateTimePickerComponent extends MultiTabStop {
15229
15234
  const shouldOpen = !this.isOpen;
15230
15235
  // handle focus first to maintain correct event order `focus` => `open`
15231
15236
  this.handleFocus();
15237
+ if (!shouldOpen) {
15238
+ this.dateInput.focus();
15239
+ }
15232
15240
  this.toggleDateTime(shouldOpen);
15233
15241
  this.switchFocus();
15234
15242
  });
@@ -15322,6 +15330,7 @@ class DateTimePickerComponent extends MultiTabStop {
15322
15330
  const runInZone = valueChangePresent || hasObservers(this.close);
15323
15331
  this.run(runInZone, () => {
15324
15332
  this.handleValueChange(candidate);
15333
+ this.dateInput.focus();
15325
15334
  this.toggleDateTime(false);
15326
15335
  });
15327
15336
  }
@@ -15333,6 +15342,7 @@ class DateTimePickerComponent extends MultiTabStop {
15333
15342
  return;
15334
15343
  }
15335
15344
  const runInZone = hasObservers(this.close);
15345
+ this.dateInput.focus();
15336
15346
  this.run(runInZone, () => this.toggleDateTime(false));
15337
15347
  hasObservers(this.escape) && this.escape.emit();
15338
15348
  }
@@ -15842,9 +15852,9 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
15842
15852
  keydown: handleKeyDown
15843
15853
  }"
15844
15854
  [scope]="this"
15845
- [fillMode]="fillMode"
15846
- [rounded]="rounded"
15847
- [size]="size"
15855
+ fillMode="none"
15856
+ rounded="none"
15857
+ size="none"
15848
15858
  (click)="handleDateInputClick()"
15849
15859
  >
15850
15860
  <kendo-dateinput-messages
@@ -16245,9 +16255,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
16245
16255
  keydown: handleKeyDown
16246
16256
  }"
16247
16257
  [scope]="this"
16248
- [fillMode]="fillMode"
16249
- [rounded]="rounded"
16250
- [size]="size"
16258
+ fillMode="none"
16259
+ rounded="none"
16260
+ size="none"
16251
16261
  (click)="handleDateInputClick()"
16252
16262
  >
16253
16263
  <kendo-dateinput-messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "16.11.0-develop.1",
3
+ "version": "16.11.0-develop.11",
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.11.0-develop.1",
38
- "@progress/kendo-angular-common": "16.11.0-develop.1",
39
- "@progress/kendo-angular-intl": "16.11.0-develop.1",
40
- "@progress/kendo-angular-l10n": "16.11.0-develop.1",
41
- "@progress/kendo-angular-icons": "16.11.0-develop.1",
42
- "@progress/kendo-angular-popup": "16.11.0-develop.1",
43
- "@progress/kendo-angular-navigation": "16.11.0-develop.1",
37
+ "@progress/kendo-angular-buttons": "16.11.0-develop.11",
38
+ "@progress/kendo-angular-common": "16.11.0-develop.11",
39
+ "@progress/kendo-angular-intl": "16.11.0-develop.11",
40
+ "@progress/kendo-angular-l10n": "16.11.0-develop.11",
41
+ "@progress/kendo-angular-icons": "16.11.0-develop.11",
42
+ "@progress/kendo-angular-popup": "16.11.0-develop.11",
43
+ "@progress/kendo-angular-navigation": "16.11.0-develop.11",
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.11.0-develop.1",
48
+ "@progress/kendo-angular-schematics": "16.11.0-develop.11",
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.5"