@progress/kendo-angular-navigation 17.2.1-develop.2 → 17.3.0-develop.2

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.
@@ -125,6 +125,7 @@ export declare class BreadCrumbComponent implements OnInit, AfterViewInit, OnDes
125
125
  private shouldResize;
126
126
  private attachResizeHandler;
127
127
  private handleClasses;
128
+ private resizeHandler;
128
129
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbComponent, never>;
129
130
  static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbComponent, "kendo-breadcrumb", ["kendoBreadCrumb"], { "items": { "alias": "items"; "required": false; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; }; "separatorSVGIcon": { "alias": "separatorSVGIcon"; "required": false; }; "collapseMode": { "alias": "collapseMode"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "itemClick": "itemClick"; }, ["itemTemplate"], never, true, never>;
130
131
  }
@@ -226,14 +226,7 @@ export class BreadCrumbComponent {
226
226
  this.subscriptions.add(merge(this.resizeSensor.resize, this.itemsData$, this.afterViewInit.asObservable())
227
227
  .pipe(filter(() => this.shouldResize()))
228
228
  .subscribe(() => {
229
- this.zone.runOutsideAngular(() => setTimeout(() => {
230
- this.zone.run(() => {
231
- if (this.listComponent) {
232
- this.handleResize();
233
- this.resizeSensor.acceptSize();
234
- }
235
- });
236
- }));
229
+ this.resizeHandler();
237
230
  }));
238
231
  }
239
232
  handleClasses(value, input) {
@@ -246,6 +239,16 @@ export class BreadCrumbComponent {
246
239
  this.renderer.addClass(elem, classes.toAdd);
247
240
  }
248
241
  }
242
+ resizeHandler = () => {
243
+ this.zone.runOutsideAngular(() => setTimeout(() => {
244
+ this.zone.run(() => {
245
+ if (this.listComponent) {
246
+ this.handleResize();
247
+ this.resizeSensor.acceptSize();
248
+ }
249
+ });
250
+ }));
251
+ };
249
252
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
250
253
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BreadCrumbComponent, isStandalone: true, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode", size: "size" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.aria-label": "this.hostAriaLabel", "attr.dir": "this.getDir" } }, providers: [
251
254
  LocalizationService,
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-navigation',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1736177353,
13
- version: '17.2.1-develop.2',
12
+ publishDate: 1736180529,
13
+ version: '17.3.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -23,8 +23,8 @@ const packageMetadata = {
23
23
  name: '@progress/kendo-angular-navigation',
24
24
  productName: 'Kendo UI for Angular',
25
25
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
26
- publishDate: 1736177353,
27
- version: '17.2.1-develop.2',
26
+ publishDate: 1736180529,
27
+ version: '17.3.0-develop.2',
28
28
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
29
29
  };
30
30
 
@@ -2361,14 +2361,7 @@ class BreadCrumbComponent {
2361
2361
  this.subscriptions.add(merge(this.resizeSensor.resize, this.itemsData$, this.afterViewInit.asObservable())
2362
2362
  .pipe(filter(() => this.shouldResize()))
2363
2363
  .subscribe(() => {
2364
- this.zone.runOutsideAngular(() => setTimeout(() => {
2365
- this.zone.run(() => {
2366
- if (this.listComponent) {
2367
- this.handleResize();
2368
- this.resizeSensor.acceptSize();
2369
- }
2370
- });
2371
- }));
2364
+ this.resizeHandler();
2372
2365
  }));
2373
2366
  }
2374
2367
  handleClasses(value, input) {
@@ -2381,6 +2374,16 @@ class BreadCrumbComponent {
2381
2374
  this.renderer.addClass(elem, classes.toAdd);
2382
2375
  }
2383
2376
  }
2377
+ resizeHandler = () => {
2378
+ this.zone.runOutsideAngular(() => setTimeout(() => {
2379
+ this.zone.run(() => {
2380
+ if (this.listComponent) {
2381
+ this.handleResize();
2382
+ this.resizeSensor.acceptSize();
2383
+ }
2384
+ });
2385
+ }));
2386
+ };
2384
2387
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadCrumbComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2385
2388
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BreadCrumbComponent, isStandalone: true, selector: "kendo-breadcrumb", inputs: { items: "items", separatorIcon: "separatorIcon", separatorSVGIcon: "separatorSVGIcon", collapseMode: "collapseMode", size: "size" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-breadcrumb": "this.hostClasses", "class.k-breadcrumb-wrap": "this.wrapMode", "attr.aria-label": "this.hostAriaLabel", "attr.dir": "this.getDir" } }, providers: [
2386
2389
  LocalizationService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-navigation",
3
- "version": "17.2.1-develop.2",
3
+ "version": "17.3.0-develop.2",
4
4
  "description": "Kendo UI Navigation for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,14 +21,14 @@
21
21
  "@angular/core": "16 - 19",
22
22
  "@angular/platform-browser": "16 - 19",
23
23
  "@progress/kendo-licensing": "^1.0.2",
24
- "@progress/kendo-angular-common": "17.2.1-develop.2",
25
- "@progress/kendo-angular-icons": "17.2.1-develop.2",
26
- "@progress/kendo-angular-l10n": "17.2.1-develop.2",
24
+ "@progress/kendo-angular-common": "17.3.0-develop.2",
25
+ "@progress/kendo-angular-icons": "17.3.0-develop.2",
26
+ "@progress/kendo-angular-l10n": "17.3.0-develop.2",
27
27
  "rxjs": "^6.5.3 || ^7.0.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.1",
31
- "@progress/kendo-angular-schematics": "17.2.1-develop.2"
31
+ "@progress/kendo-angular-schematics": "17.3.0-develop.2"
32
32
  },
33
33
  "schematics": "./schematics/collection.json",
34
34
  "module": "fesm2022/progress-kendo-angular-navigation.mjs",