@progress/kendo-angular-dateinputs 16.11.0-develop.10 → 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
  }
@@ -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: 1727948351,
13
- version: '16.11.0-develop.10',
12
+ publishDate: 1727949557,
13
+ version: '16.11.0-develop.11',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -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
  /**
@@ -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: 1727948351,
39
- version: '16.11.0-develop.10',
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
  }
@@ -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
  /**
@@ -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
  }
@@ -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: 1727948351,
39
- version: '16.11.0-develop.10',
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
  }
@@ -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
  /**
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "16.11.0-develop.10",
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.10",
38
- "@progress/kendo-angular-common": "16.11.0-develop.10",
39
- "@progress/kendo-angular-intl": "16.11.0-develop.10",
40
- "@progress/kendo-angular-l10n": "16.11.0-develop.10",
41
- "@progress/kendo-angular-icons": "16.11.0-develop.10",
42
- "@progress/kendo-angular-popup": "16.11.0-develop.10",
43
- "@progress/kendo-angular-navigation": "16.11.0-develop.10",
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.10",
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"