@progress/kendo-angular-pager 25.4.0-develop.3 → 25.4.0-develop.5

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.
@@ -1642,8 +1642,8 @@ const packageMetadata = {
1642
1642
  productName: 'Kendo UI for Angular',
1643
1643
  productCode: 'KENDOUIANGULAR',
1644
1644
  productCodes: ['KENDOUIANGULAR'],
1645
- publishDate: 1792066393,
1646
- version: '25.4.0-develop.3',
1645
+ publishDate: 1792080182,
1646
+ version: '25.4.0-develop.5',
1647
1647
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
1648
1648
  };
1649
1649
 
@@ -1897,9 +1897,15 @@ class PagerComponent {
1897
1897
  get responsiveClass() {
1898
1898
  return this.responsive;
1899
1899
  }
1900
- widgetRole = 'application';
1901
- roleDescription = 'pager';
1902
- keyShortcuts = 'Enter ArrowRight ArrowLeft';
1900
+ get widgetRole() {
1901
+ return this.navigable ? 'application' : null;
1902
+ }
1903
+ get roleDescription() {
1904
+ return this.navigable ? 'pager' : null;
1905
+ }
1906
+ get keyShortcuts() {
1907
+ return this.navigable ? 'Enter ArrowRight ArrowLeft' : null;
1908
+ }
1903
1909
  get hostTabindex() {
1904
1910
  return this.navigable ? '0' : '-1';
1905
1911
  }
@@ -2121,12 +2127,10 @@ class PagerComponent {
2121
2127
  }
2122
2128
  }));
2123
2129
  this.subscriptions.add(this.navigationService.innerNavigationChange.subscribe(this.innerNavigationChange.bind(this)));
2124
- if (this.navigable) {
2125
- const wrapper = this.element.nativeElement;
2126
- this.ngZone.runOutsideAngular(() => {
2127
- this.subscriptions.add(this.renderer.listen(wrapper, 'keydown', this.keyDownHandler.bind(this)));
2128
- });
2129
- }
2130
+ const wrapper = this.element.nativeElement;
2131
+ this.ngZone.runOutsideAngular(() => {
2132
+ this.subscriptions.add(this.renderer.listen(wrapper, 'keydown', this.keyDownHandler.bind(this)));
2133
+ });
2130
2134
  }
2131
2135
  /**
2132
2136
  * Gets the maximum number of items displayed on the current page.
@@ -2328,6 +2332,9 @@ class PagerComponent {
2328
2332
  return replaceMessagePlaceholder(replaceMessagePlaceholder(localizationMsg, 'currentPage', this.currentPage.toString()), 'totalPages', this.totalPages.toString());
2329
2333
  }
2330
2334
  keyDownHandler(e) {
2335
+ if (!this.navigable) {
2336
+ return;
2337
+ }
2331
2338
  const target = e.target;
2332
2339
  const wrapper = this.element.nativeElement;
2333
2340
  // on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
package/index.d.ts CHANGED
@@ -869,9 +869,9 @@ declare class PagerComponent implements AfterViewInit, OnInit, OnDestroy {
869
869
  itemsTextVisibilityChange: EventEmitter<boolean>;
870
870
  pagerClass: boolean;
871
871
  get responsiveClass(): boolean;
872
- widgetRole: string;
873
- roleDescription: string;
874
- keyShortcuts: string;
872
+ get widgetRole(): string | null;
873
+ get roleDescription(): string | null;
874
+ get keyShortcuts(): string | null;
875
875
  get hostTabindex(): string;
876
876
  get dir(): string;
877
877
  /**
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1792066393,
11
- "version": "25.4.0-develop.3",
10
+ "publishDate": 1792080182,
11
+ "version": "25.4.0-develop.5",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-pager",
3
- "version": "25.4.0-develop.3",
3
+ "version": "25.4.0-develop.5",
4
4
  "description": "Kendo UI Angular Pager",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -39,7 +39,7 @@
39
39
  "package": {
40
40
  "productName": "Kendo UI for Angular",
41
41
  "productCode": "KENDOUIANGULAR",
42
- "publishDate": 1792066393,
42
+ "publishDate": 1792080182,
43
43
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
44
44
  }
45
45
  },
@@ -49,16 +49,16 @@
49
49
  "@angular/core": "20 - 22",
50
50
  "@angular/platform-browser": "20 - 22",
51
51
  "@progress/kendo-licensing": "^1.11.0",
52
- "@progress/kendo-angular-common": "25.4.0-develop.3",
53
- "@progress/kendo-angular-dropdowns": "25.4.0-develop.3",
54
- "@progress/kendo-angular-inputs": "25.4.0-develop.3",
55
- "@progress/kendo-angular-icons": "25.4.0-develop.3",
56
- "@progress/kendo-angular-l10n": "25.4.0-develop.3",
52
+ "@progress/kendo-angular-common": "25.4.0-develop.5",
53
+ "@progress/kendo-angular-dropdowns": "25.4.0-develop.5",
54
+ "@progress/kendo-angular-inputs": "25.4.0-develop.5",
55
+ "@progress/kendo-angular-icons": "25.4.0-develop.5",
56
+ "@progress/kendo-angular-l10n": "25.4.0-develop.5",
57
57
  "rxjs": "^6.5.3 || ^7.0.0"
58
58
  },
59
59
  "dependencies": {
60
60
  "tslib": "^2.3.1",
61
- "@progress/kendo-angular-schematics": "25.4.0-develop.3"
61
+ "@progress/kendo-angular-schematics": "25.4.0-develop.5"
62
62
  },
63
63
  "schematics": "./schematics/collection.json",
64
64
  "module": "fesm2022/progress-kendo-angular-pager.mjs",
@@ -9,14 +9,14 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PagerModule', package: 'pager', peerDependencies: {
11
11
  // Peers of inputs and dropdowns
12
- '@progress/kendo-angular-treeview': '25.4.0-develop.3',
13
- '@progress/kendo-angular-intl': '25.4.0-develop.3',
14
- '@progress/kendo-angular-navigation': '25.4.0-develop.3',
15
- '@progress/kendo-angular-popup': '25.4.0-develop.3',
12
+ '@progress/kendo-angular-treeview': '25.4.0-develop.5',
13
+ '@progress/kendo-angular-intl': '25.4.0-develop.5',
14
+ '@progress/kendo-angular-navigation': '25.4.0-develop.5',
15
+ '@progress/kendo-angular-popup': '25.4.0-develop.5',
16
16
  '@progress/kendo-drawing': '^1.5.12',
17
17
  // peer dependency of kendo-angular-inputs
18
- '@progress/kendo-angular-buttons': '25.4.0-develop.3',
19
- '@progress/kendo-angular-dialog': '25.4.0-develop.3',
18
+ '@progress/kendo-angular-buttons': '25.4.0-develop.5',
19
+ '@progress/kendo-angular-dialog': '25.4.0-develop.5',
20
20
  // Peer dependency of icons
21
21
  '@progress/kendo-svg-icons': '^4.0.0'
22
22
  } });