@progress/kendo-angular-toolbar 15.1.0 → 15.1.1-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.
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-toolbar',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1708601337,
13
- version: '15.1.0',
12
+ publishDate: 1708935054,
13
+ version: '15.1.1-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -246,7 +246,13 @@ export class ToolBarComponent {
246
246
  this.navigationService.overflowButton = this.overflowButton;
247
247
  // because of https://github.com/telerik/kendo-angular-buttons/pull/276
248
248
  // button icons are not rendered until onResize() is called
249
- this.onResize();
249
+ this.zone.runOutsideAngular(() => {
250
+ setTimeout(() => {
251
+ this.zone.run(() => {
252
+ this.onResize();
253
+ });
254
+ });
255
+ });
250
256
  }
251
257
  this.navigationService.setRenderedTools(this.renderedTools.toArray());
252
258
  this.subscriptions.add(this.renderedTools.changes.subscribe((rts) => this.navigationService.setRenderedTools(rts.toArray())));
@@ -483,7 +489,7 @@ export class ToolBarComponent {
483
489
  for (let i = this.overflowTools.length - 1; i >= 0; i--) {
484
490
  width = this.showFirstHiddenTool(containerWidth, childrenWidth);
485
491
  if (width) {
486
- childrenWidth += width;
492
+ childrenWidth += width + this.gap;
487
493
  }
488
494
  else {
489
495
  break;
@@ -28,8 +28,8 @@ const packageMetadata = {
28
28
  name: '@progress/kendo-angular-toolbar',
29
29
  productName: 'Kendo UI for Angular',
30
30
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
31
- publishDate: 1708601337,
32
- version: '15.1.0',
31
+ publishDate: 1708935054,
32
+ version: '15.1.1-develop.2',
33
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
34
34
  };
35
35
 
@@ -931,7 +931,13 @@ class ToolBarComponent {
931
931
  this.navigationService.overflowButton = this.overflowButton;
932
932
  // because of https://github.com/telerik/kendo-angular-buttons/pull/276
933
933
  // button icons are not rendered until onResize() is called
934
- this.onResize();
934
+ this.zone.runOutsideAngular(() => {
935
+ setTimeout(() => {
936
+ this.zone.run(() => {
937
+ this.onResize();
938
+ });
939
+ });
940
+ });
935
941
  }
936
942
  this.navigationService.setRenderedTools(this.renderedTools.toArray());
937
943
  this.subscriptions.add(this.renderedTools.changes.subscribe((rts) => this.navigationService.setRenderedTools(rts.toArray())));
@@ -1169,7 +1175,7 @@ class ToolBarComponent {
1169
1175
  for (let i = this.overflowTools.length - 1; i >= 0; i--) {
1170
1176
  width = this.showFirstHiddenTool(containerWidth, childrenWidth);
1171
1177
  if (width) {
1172
- childrenWidth += width;
1178
+ childrenWidth += width + this.gap;
1173
1179
  }
1174
1180
  else {
1175
1181
  break;
@@ -28,8 +28,8 @@ const packageMetadata = {
28
28
  name: '@progress/kendo-angular-toolbar',
29
29
  productName: 'Kendo UI for Angular',
30
30
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
31
- publishDate: 1708601337,
32
- version: '15.1.0',
31
+ publishDate: 1708935054,
32
+ version: '15.1.1-develop.2',
33
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
34
34
  };
35
35
 
@@ -931,7 +931,13 @@ class ToolBarComponent {
931
931
  this.navigationService.overflowButton = this.overflowButton;
932
932
  // because of https://github.com/telerik/kendo-angular-buttons/pull/276
933
933
  // button icons are not rendered until onResize() is called
934
- this.onResize();
934
+ this.zone.runOutsideAngular(() => {
935
+ setTimeout(() => {
936
+ this.zone.run(() => {
937
+ this.onResize();
938
+ });
939
+ });
940
+ });
935
941
  }
936
942
  this.navigationService.setRenderedTools(this.renderedTools.toArray());
937
943
  this.subscriptions.add(this.renderedTools.changes.subscribe((rts) => this.navigationService.setRenderedTools(rts.toArray())));
@@ -1168,7 +1174,7 @@ class ToolBarComponent {
1168
1174
  for (let i = this.overflowTools.length - 1; i >= 0; i--) {
1169
1175
  width = this.showFirstHiddenTool(containerWidth, childrenWidth);
1170
1176
  if (width) {
1171
- childrenWidth += width;
1177
+ childrenWidth += width + this.gap;
1172
1178
  }
1173
1179
  else {
1174
1180
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-toolbar",
3
- "version": "15.1.0",
3
+ "version": "15.1.1-develop.2",
4
4
  "description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -29,16 +29,16 @@
29
29
  "@angular/core": "13 - 17",
30
30
  "@angular/platform-browser": "13 - 17",
31
31
  "@progress/kendo-licensing": "^1.0.2",
32
- "@progress/kendo-angular-buttons": "15.1.0",
33
- "@progress/kendo-angular-common": "15.1.0",
34
- "@progress/kendo-angular-l10n": "15.1.0",
35
- "@progress/kendo-angular-icons": "15.1.0",
36
- "@progress/kendo-angular-popup": "15.1.0",
32
+ "@progress/kendo-angular-buttons": "15.1.1-develop.2",
33
+ "@progress/kendo-angular-common": "15.1.1-develop.2",
34
+ "@progress/kendo-angular-l10n": "15.1.1-develop.2",
35
+ "@progress/kendo-angular-icons": "15.1.1-develop.2",
36
+ "@progress/kendo-angular-popup": "15.1.1-develop.2",
37
37
  "rxjs": "^6.5.3 || ^7.0.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "tslib": "^2.3.1",
41
- "@progress/kendo-angular-schematics": "15.1.0"
41
+ "@progress/kendo-angular-schematics": "15.1.1-develop.2"
42
42
  },
43
43
  "schematics": "./schematics/collection.json",
44
44
  "module": "fesm2015/progress-kendo-angular-toolbar.mjs",