@progress/kendo-angular-toolbar 23.0.0-develop.4 → 23.0.0-develop.6

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.
package/common/size.d.ts CHANGED
@@ -4,6 +4,5 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Represents the possible size options of the ToolBar.
7
- * @default `medium`
8
7
  */
9
8
  export type ToolbarSize = 'small' | 'medium' | 'large';
@@ -27,7 +27,7 @@ const packageMetadata = {
27
27
  productCode: 'KENDOUIANGULAR',
28
28
  productCodes: ['KENDOUIANGULAR'],
29
29
  publishDate: 0,
30
- version: '23.0.0-develop.4',
30
+ version: '23.0.0-develop.6',
31
31
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
32
32
  };
33
33
 
@@ -87,6 +87,12 @@ const closest = (node, predicate) => {
87
87
  }
88
88
  return node;
89
89
  };
90
+ /**
91
+ * @hidden
92
+ */
93
+ const isSmartBoxInput = (target) => {
94
+ return !!closest(target, (el) => el.classList?.contains('k-smart-box'));
95
+ };
90
96
  /**
91
97
  * @hidden
92
98
  */
@@ -1237,8 +1243,7 @@ class ToolBarComponent {
1237
1243
  /**
1238
1244
  * Sets the fill mode for the ToolBar.
1239
1245
  * This property controls the background and border styles of the ToolBar
1240
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)).
1241
- * @default undefined
1246
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)). The default value is set by the Kendo theme.
1242
1247
  */
1243
1248
  set fillMode(fillMode) {
1244
1249
  this.handleClasses(fillMode, 'fillMode');
@@ -1255,8 +1260,7 @@ class ToolBarComponent {
1255
1260
  tabindex = 0;
1256
1261
  /**
1257
1262
  * Sets the size for all ToolBar elements.
1258
- * Use this property to control the padding of the ToolBar elements.
1259
- * @default undefined
1263
+ * Use this property to control the padding of the ToolBar elements. The default value is set by the Kendo theme.
1260
1264
  */
1261
1265
  set size(size) {
1262
1266
  this.handleClasses(size, 'size');
@@ -1472,7 +1476,9 @@ class ToolBarComponent {
1472
1476
  switch (code) {
1473
1477
  case Keys.ArrowLeft:
1474
1478
  this.zone.run(() => {
1475
- ev.preventDefault();
1479
+ if (!isSmartBoxInput(ev.target)) {
1480
+ ev.preventDefault();
1481
+ }
1476
1482
  if (this.direction === 'ltr') {
1477
1483
  this.navigationService.focusPrev(ev);
1478
1484
  }
@@ -1485,7 +1491,9 @@ class ToolBarComponent {
1485
1491
  break;
1486
1492
  case Keys.ArrowRight:
1487
1493
  this.zone.run(() => {
1488
- ev.preventDefault();
1494
+ if (!isSmartBoxInput(ev.target)) {
1495
+ ev.preventDefault();
1496
+ }
1489
1497
  if (this.direction === 'ltr') {
1490
1498
  this.navigationService.focusNext(ev);
1491
1499
  }
@@ -2759,22 +2767,15 @@ class ToolBarButtonComponent extends ToolBarToolComponent {
2759
2767
  */
2760
2768
  selected = false;
2761
2769
  /**
2762
- * Specifies the background and border styles of the Button.
2763
- * Accepts a `ButtonFillMode` value.
2764
- * @default undefined
2770
+ * Specifies the background and border styles of the Button. The default value is set by the Kendo theme.
2765
2771
  */
2766
2772
  fillMode = undefined;
2767
2773
  /**
2768
- * Specifies the border radius of the Button.
2769
- * Accepts a `ButtonRounded` value.
2770
- *
2771
- * @default undefined
2774
+ * Specifies the border radius of the Button. The default value is set by the Kendo theme.
2772
2775
  */
2773
2776
  rounded = undefined;
2774
2777
  /**
2775
- * Specifies the predefined theme color of the Button.
2776
- * Accepts a `ButtonThemeColor` value.
2777
- * @default undefined
2778
+ * Specifies the predefined theme color of the Button. The default value is set by the Kendo theme.
2778
2779
  */
2779
2780
  themeColor = undefined;
2780
2781
  /**
@@ -3911,15 +3912,13 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
3911
3912
  }
3912
3913
  /**
3913
3914
  * Sets the fill mode for the button.
3914
- * The fill mode represents the background and border styles.
3915
- * @default undefined
3915
+ * The fill mode represents the background and border styles. The default value is set by the Kendo theme.
3916
3916
  */
3917
3917
  fillMode = undefined;
3918
3918
  /**
3919
3919
  * Sets the predefined theme color for the button.
3920
3920
  * The theme color applies to the background, border, and text
3921
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)).
3922
- * @default undefined
3921
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
3923
3922
  */
3924
3923
  themeColor = undefined;
3925
3924
  /**
@@ -4474,14 +4473,12 @@ class ToolBarSplitButtonComponent extends ToolBarToolComponent {
4474
4473
  }
4475
4474
  /**
4476
4475
  * Sets the fill mode for the button.
4477
- * The fill mode represents the background and border styles.
4478
- * @default undefined
4476
+ * The fill mode represents the background and border styles. The default value is set by the Kendo theme.
4479
4477
  */
4480
4478
  fillMode = undefined;
4481
4479
  /**
4482
4480
  * Sets the predefined theme color for the button.
4483
- * The theme color applies to the background, border, and text.
4484
- * @default undefined
4481
+ * The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
4485
4482
  */
4486
4483
  themeColor = undefined;
4487
4484
  /**
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1770294878,
11
- "version": "23.0.0-develop.4",
10
+ "publishDate": 1770369324,
11
+ "version": "23.0.0-develop.6",
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-toolbar",
3
- "version": "23.0.0-develop.4",
3
+ "version": "23.0.0-develop.6",
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",
@@ -45,7 +45,7 @@
45
45
  "package": {
46
46
  "productName": "Kendo UI for Angular",
47
47
  "productCode": "KENDOUIANGULAR",
48
- "publishDate": 1770294878,
48
+ "publishDate": 1770369324,
49
49
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
50
50
  }
51
51
  },
@@ -55,17 +55,17 @@
55
55
  "@angular/core": "19 - 21",
56
56
  "@angular/platform-browser": "19 - 21",
57
57
  "@progress/kendo-licensing": "^1.10.0",
58
- "@progress/kendo-angular-buttons": "23.0.0-develop.4",
59
- "@progress/kendo-angular-common": "23.0.0-develop.4",
60
- "@progress/kendo-angular-l10n": "23.0.0-develop.4",
61
- "@progress/kendo-angular-icons": "23.0.0-develop.4",
62
- "@progress/kendo-angular-indicators": "23.0.0-develop.4",
63
- "@progress/kendo-angular-popup": "23.0.0-develop.4",
58
+ "@progress/kendo-angular-buttons": "23.0.0-develop.6",
59
+ "@progress/kendo-angular-common": "23.0.0-develop.6",
60
+ "@progress/kendo-angular-l10n": "23.0.0-develop.6",
61
+ "@progress/kendo-angular-icons": "23.0.0-develop.6",
62
+ "@progress/kendo-angular-indicators": "23.0.0-develop.6",
63
+ "@progress/kendo-angular-popup": "23.0.0-develop.6",
64
64
  "rxjs": "^6.5.3 || ^7.0.0"
65
65
  },
66
66
  "dependencies": {
67
67
  "tslib": "^2.3.1",
68
- "@progress/kendo-angular-schematics": "23.0.0-develop.4"
68
+ "@progress/kendo-angular-schematics": "23.0.0-develop.6"
69
69
  },
70
70
  "schematics": "./schematics/collection.json",
71
71
  "module": "fesm2022/progress-kendo-angular-toolbar.mjs",
@@ -104,8 +104,7 @@ export declare class ToolBarComponent {
104
104
  /**
105
105
  * Sets the fill mode for the ToolBar.
106
106
  * This property controls the background and border styles of the ToolBar
107
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)).
108
- * @default undefined
107
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/toolbar/appearance#fill-mode)). The default value is set by the Kendo theme.
109
108
  */
110
109
  set fillMode(fillMode: ToolbarFillMode);
111
110
  get fillMode(): ToolbarFillMode;
@@ -117,8 +116,7 @@ export declare class ToolBarComponent {
117
116
  tabindex: number;
118
117
  /**
119
118
  * Sets the size for all ToolBar elements.
120
- * Use this property to control the padding of the ToolBar elements.
121
- * @default undefined
119
+ * Use this property to control the padding of the ToolBar elements. The default value is set by the Kendo theme.
122
120
  */
123
121
  set size(size: ToolbarSize);
124
122
  get size(): ToolbarSize;
@@ -95,22 +95,15 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
95
95
  */
96
96
  selected: boolean;
97
97
  /**
98
- * Specifies the background and border styles of the Button.
99
- * Accepts a `ButtonFillMode` value.
100
- * @default undefined
98
+ * Specifies the background and border styles of the Button. The default value is set by the Kendo theme.
101
99
  */
102
100
  fillMode: ButtonFillMode;
103
101
  /**
104
- * Specifies the border radius of the Button.
105
- * Accepts a `ButtonRounded` value.
106
- *
107
- * @default undefined
102
+ * Specifies the border radius of the Button. The default value is set by the Kendo theme.
108
103
  */
109
104
  rounded: ButtonRounded;
110
105
  /**
111
- * Specifies the predefined theme color of the Button.
112
- * Accepts a `ButtonThemeColor` value.
113
- * @default undefined
106
+ * Specifies the predefined theme color of the Button. The default value is set by the Kendo theme.
114
107
  */
115
108
  themeColor: ButtonThemeColor;
116
109
  /**
@@ -91,15 +91,13 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
91
91
  set primary(primary: boolean);
92
92
  /**
93
93
  * Sets the fill mode for the button.
94
- * The fill mode represents the background and border styles.
95
- * @default undefined
94
+ * The fill mode represents the background and border styles. The default value is set by the Kendo theme.
96
95
  */
97
96
  fillMode: ButtonFillMode;
98
97
  /**
99
98
  * Sets the predefined theme color for the button.
100
99
  * The theme color applies to the background, border, and text
101
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)).
102
- * @default undefined
100
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/dropdownbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
103
101
  */
104
102
  themeColor: ButtonThemeColor;
105
103
  /**
@@ -75,14 +75,12 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
75
75
  get popupSettings(): PopupSettings;
76
76
  /**
77
77
  * Sets the fill mode for the button.
78
- * The fill mode represents the background and border styles.
79
- * @default undefined
78
+ * The fill mode represents the background and border styles. The default value is set by the Kendo theme.
80
79
  */
81
80
  fillMode: ButtonFillMode;
82
81
  /**
83
82
  * Sets the predefined theme color for the button.
84
- * The theme color applies to the background, border, and text.
85
- * @default undefined
83
+ * The theme color applies to the background, border, and text. The default value is set by the Kendo theme.
86
84
  */
87
85
  themeColor: ButtonThemeColor;
88
86
  /**
package/util.d.ts CHANGED
@@ -28,6 +28,10 @@ export declare function outerHeight(element: any): number;
28
28
  * @hidden
29
29
  */
30
30
  export declare const closest: (node: any, predicate: any) => any;
31
+ /**
32
+ * @hidden
33
+ */
34
+ export declare const isSmartBoxInput: (target: any) => boolean;
31
35
  /**
32
36
  * @hidden
33
37
  */