@progress/kendo-angular-buttons 22.1.0-develop.9 → 23.0.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.
@@ -46,7 +46,7 @@ const packageMetadata = {
46
46
  productCode: 'KENDOUIANGULAR',
47
47
  productCodes: ['KENDOUIANGULAR'],
48
48
  publishDate: 0,
49
- version: '22.1.0-develop.9',
49
+ version: '23.0.0-develop.2',
50
50
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
51
51
  };
52
52
 
@@ -103,25 +103,37 @@ const ROUNDNESS = {
103
103
  /**
104
104
  * @hidden
105
105
  *
106
- * Returns the styling classes to be added and removed
106
+ * Returns the styling classes to be added and removed.
107
107
  */
108
108
  const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
109
109
  switch (stylingOption) {
110
- case 'size':
110
+ case 'size': {
111
111
  return {
112
- toRemove: `k-${componentType}-${SIZES[previousValue]}`,
113
- toAdd: newValue !== 'none' ? `k-${componentType}-${SIZES[newValue]}` : ''
112
+ toRemove: previousValue ? `k-${componentType}-${SIZES[previousValue]}` : null,
113
+ toAdd: newValue ? `k-${componentType}-${SIZES[newValue]}` : null
114
114
  };
115
- case 'rounded':
115
+ }
116
+ case 'rounded': {
117
+ let roundedClassToAdd = null;
118
+ if (newValue) {
119
+ if (newValue !== 'none') {
120
+ roundedClassToAdd = `k-rounded-${ROUNDNESS[newValue]}`;
121
+ }
122
+ else {
123
+ roundedClassToAdd = 'k-rounded-none';
124
+ }
125
+ }
116
126
  return {
117
- toRemove: `k-rounded-${ROUNDNESS[previousValue]}`,
118
- toAdd: newValue !== 'none' ? `k-rounded-${ROUNDNESS[newValue]}` : ''
127
+ toRemove: previousValue ? `k-rounded-${ROUNDNESS[previousValue]}` : null,
128
+ toAdd: roundedClassToAdd || null
119
129
  };
120
- case 'fillMode':
130
+ }
131
+ case 'fillMode': {
121
132
  return {
122
- toRemove: `k-${componentType}-${previousValue}`,
123
- toAdd: newValue !== 'none' ? `k-${componentType}-${newValue}` : ''
133
+ toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
134
+ toAdd: newValue ? `k-${componentType}-${newValue}` : null
124
135
  };
136
+ }
125
137
  default:
126
138
  break;
127
139
  }
@@ -131,10 +143,10 @@ const getStylingClasses = (componentType, stylingOption, previousValue, newValue
131
143
  *
132
144
  * Returns the themeColor classes to be added and removed
133
145
  */
134
- const getThemeColorClasses = (componentType, prevFillMode, fillMode, previousValue, newValue) => {
146
+ const getThemeColorClasses = (componentType, previousValue, newValue) => {
135
147
  return {
136
- toRemove: `k-${componentType}-${prevFillMode}-${previousValue}`,
137
- toAdd: newValue !== 'none' ? `k-${componentType}-${fillMode}-${newValue}` : ''
148
+ toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
149
+ toAdd: newValue ? `k-${componentType}-${newValue}` : null
138
150
  };
139
151
  };
140
152
  /**
@@ -155,10 +167,6 @@ const toggleClass = (className, add, renderer, element) => {
155
167
  */
156
168
  const isObjectEmpty = (obj) => obj && Object.keys(obj).length === 0 && obj.constructor === Object;
157
169
 
158
- const DEFAULT_ROUNDED$4 = 'medium';
159
- const DEFAULT_SIZE$3 = 'medium';
160
- const DEFAULT_THEME_COLOR$3 = 'base';
161
- const DEFAULT_FILL_MODE$4 = 'solid';
162
170
  /**
163
171
  * Represents the Kendo UI Button component for Angular.
164
172
  *
@@ -268,42 +276,39 @@ class ButtonComponent {
268
276
  }
269
277
  /**
270
278
  * Sets the padding of the Button.
271
- * See [Button Appearance]({% slug appearance_button %}#size).
279
+ * See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#size).
272
280
  *
273
281
  * @default 'medium'
274
282
  */
275
283
  set size(size) {
276
- const newSize = size || DEFAULT_SIZE$3;
277
- this.handleClasses(newSize, 'size');
278
- this._size = newSize;
284
+ this.handleClasses(size, 'size');
285
+ this._size = size;
279
286
  }
280
287
  get size() {
281
288
  return this._size;
282
289
  }
283
290
  /**
284
291
  * Sets the border radius of the Button.
285
- * See [Button Appearance](slug:appearance_button#roundness).
292
+ * See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#roundness).
286
293
  *
287
294
  * @default 'medium'
288
295
  */
289
296
  set rounded(rounded) {
290
- const newRounded = rounded || DEFAULT_ROUNDED$4;
291
- this.handleClasses(newRounded, 'rounded');
292
- this._rounded = newRounded;
297
+ this.handleClasses(rounded, 'rounded');
298
+ this._rounded = rounded;
293
299
  }
294
300
  get rounded() {
295
301
  return this._rounded;
296
302
  }
297
303
  /**
298
304
  * Sets the background and border styles of the Button.
299
- * See [Button Appearance](slug:appearance_button#fill-mode).
305
+ * See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#fill-mode).
300
306
  *
301
307
  * @default 'solid'
302
308
  */
303
309
  set fillMode(fillMode) {
304
- const newFillMode = fillMode || DEFAULT_FILL_MODE$4;
305
- this.handleClasses(newFillMode, 'fillMode');
306
- this._fillMode = newFillMode;
310
+ this.handleClasses(fillMode, 'fillMode');
311
+ this._fillMode = fillMode;
307
312
  }
308
313
  get fillMode() {
309
314
  return this._fillMode;
@@ -311,14 +316,13 @@ class ButtonComponent {
311
316
  /**
312
317
  * Sets a predefined theme color for the Button.
313
318
  * The theme color applies as a background and border color and adjusts the text color.
314
- * See [Button Appearance](slug:appearance_button#theme-colors).
319
+ * See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#theme-colors).
315
320
  *
316
321
  * @default 'base'
317
322
  */
318
323
  set themeColor(themeColor) {
319
- const newThemeColor = themeColor || DEFAULT_THEME_COLOR$3;
320
- this.handleThemeColor(newThemeColor);
321
- this._themeColor = newThemeColor;
324
+ this.handleThemeColor(themeColor);
325
+ this._themeColor = themeColor;
322
326
  }
323
327
  get themeColor() {
324
328
  return this._themeColor;
@@ -347,10 +351,10 @@ class ButtonComponent {
347
351
  element;
348
352
  isDisabled = false;
349
353
  caretAltDownIcon = caretAltDownIcon;
350
- _size = DEFAULT_SIZE$3;
351
- _rounded = DEFAULT_ROUNDED$4;
352
- _fillMode = DEFAULT_FILL_MODE$4;
353
- _themeColor = DEFAULT_THEME_COLOR$3;
354
+ _size = undefined;
355
+ _rounded = undefined;
356
+ _fillMode = undefined;
357
+ _themeColor = undefined;
354
358
  _focused = false;
355
359
  direction;
356
360
  _selected;
@@ -446,12 +450,6 @@ class ButtonComponent {
446
450
  this.toggleAriaPressed(this.toggleable);
447
451
  }
448
452
  }
449
- ngAfterViewInit() {
450
- const stylingOptions = ['size', 'rounded', 'fillMode'];
451
- stylingOptions.forEach(input => {
452
- this.handleClasses(this[input], input);
453
- });
454
- }
455
453
  ngOnDestroy() {
456
454
  this.subs.unsubscribe();
457
455
  }
@@ -532,7 +530,7 @@ class ButtonComponent {
532
530
  const elem = this.element;
533
531
  const classes = getStylingClasses('button', input, this[input], value);
534
532
  if (input === 'fillMode') {
535
- this.handleThemeColor(this.themeColor, this[input], value);
533
+ this.handleThemeColor(this.themeColor);
536
534
  }
537
535
  if (classes.toRemove) {
538
536
  this.renderer.removeClass(elem, classes.toRemove);
@@ -541,16 +539,14 @@ class ButtonComponent {
541
539
  this.renderer.addClass(elem, classes.toAdd);
542
540
  }
543
541
  }
544
- handleThemeColor(value, prevFillMode, fillMode) {
542
+ handleThemeColor(value) {
545
543
  const elem = this.element;
546
- const removeFillMode = prevFillMode || this.fillMode;
547
- const addFillMode = fillMode || this.fillMode;
548
- const themeColorClass = getThemeColorClasses('button', removeFillMode, addFillMode, this.themeColor, value);
549
- this.renderer.removeClass(elem, themeColorClass.toRemove);
550
- if (addFillMode !== 'none' && fillMode !== 'none') {
551
- if (themeColorClass.toAdd) {
552
- this.renderer.addClass(elem, themeColorClass.toAdd);
553
- }
544
+ const themeColorClass = getThemeColorClasses('button', this.themeColor, value);
545
+ if (themeColorClass.toRemove) {
546
+ this.renderer.removeClass(elem, themeColorClass.toRemove);
547
+ }
548
+ if (themeColorClass.toAdd) {
549
+ this.renderer.addClass(elem, themeColorClass.toAdd);
554
550
  }
555
551
  }
556
552
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KendoButtonService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
@@ -586,7 +582,7 @@ class ButtonComponent {
586
582
  [svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon"></kendo-icon-wrapper>
587
583
  </span>
588
584
  }
589
-
585
+
590
586
  `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
591
587
  }
592
588
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ButtonComponent, decorators: [{
@@ -627,7 +623,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
627
623
  [svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon"></kendo-icon-wrapper>
628
624
  </span>
629
625
  }
630
-
626
+
631
627
  `,
632
628
  standalone: true,
633
629
  imports: [IconWrapperComponent, NgClass]
@@ -1041,10 +1037,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1041
1037
  args: ['attr.tabindex']
1042
1038
  }] } });
1043
1039
 
1044
- const DEFAULT_SIZE$2 = 'medium';
1045
- const DEFAULT_ROUNDED$3 = 'medium';
1046
- const DEFAULT_THEME_COLOR$2 = 'base';
1047
- const DEFAULT_FILL_MODE$3 = 'solid';
1048
1040
  /**
1049
1041
  * Displays a Chip that represents an input, attribute, or action.
1050
1042
  *
@@ -1068,8 +1060,8 @@ class ChipComponent {
1068
1060
  */
1069
1061
  icon;
1070
1062
  /**
1071
- * Defines an [`SVGIcon`](slug:api_icons_svgicon) to render inside the Chip using
1072
- * a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component.
1063
+ * Defines an [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) to render inside the Chip using
1064
+ * a [`KendoSVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgiconcomponent) component.
1073
1065
  */
1074
1066
  svgIcon;
1075
1067
  /**
@@ -1094,7 +1086,7 @@ class ChipComponent {
1094
1086
  removable = false;
1095
1087
  /**
1096
1088
  * Specifies a custom remove font icon class to render when the Chip is removable.
1097
- * [see example]({% slug icons %})
1089
+ * [see example](https://www.telerik.com/kendo-angular-ui/components/styling/icons)
1098
1090
  */
1099
1091
  removeIcon;
1100
1092
  /**
@@ -1126,45 +1118,40 @@ class ChipComponent {
1126
1118
  disabled = false;
1127
1119
  /**
1128
1120
  * Sets the padding of the Chip.
1129
- * See [Chip Appearance]({% slug appearance_chip %}#size).
1121
+ * See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#size).
1130
1122
  *
1131
1123
  * @default 'medium'
1132
1124
  */
1133
1125
  set size(size) {
1134
- const newSize = size || DEFAULT_SIZE$2;
1135
- if (!this.sizeIsSet) {
1136
- this.sizeIsSet = true;
1137
- }
1138
- this.handleClasses(newSize, 'size');
1139
- this._size = newSize;
1126
+ !this.sizeIsSet && (this.sizeIsSet = true);
1127
+ this.handleClasses(size, 'size');
1128
+ this._size = size;
1140
1129
  }
1141
1130
  get size() {
1142
1131
  return this._size;
1143
1132
  }
1144
1133
  /**
1145
1134
  * Sets the border radius of the Chip.
1146
- * See [Chip Appearance](slug:appearance_chip#roundness).
1135
+ * See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#roundness).
1147
1136
  *
1148
1137
  * @default 'medium'
1149
1138
  */
1150
1139
  set rounded(rounded) {
1151
- const newRounded = rounded || DEFAULT_ROUNDED$3;
1152
- this.handleClasses(newRounded, 'rounded');
1153
- this._rounded = newRounded;
1140
+ this.handleClasses(rounded, 'rounded');
1141
+ this._rounded = rounded;
1154
1142
  }
1155
1143
  get rounded() {
1156
1144
  return this._rounded;
1157
1145
  }
1158
1146
  /**
1159
1147
  * Sets the background and border styles of the Chip.
1160
- * See [Chip Appearance](slug:appearance_chip#fill-mode).
1148
+ * See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#fill-mode).
1161
1149
  *
1162
1150
  * @default 'solid'
1163
1151
  */
1164
1152
  set fillMode(fillMode) {
1165
- const newFillMode = fillMode || DEFAULT_FILL_MODE$3;
1166
- this.handleClasses(newFillMode, 'fillMode');
1167
- this._fillMode = newFillMode;
1153
+ this.handleClasses(fillMode, 'fillMode');
1154
+ this._fillMode = fillMode;
1168
1155
  }
1169
1156
  get fillMode() {
1170
1157
  return this._fillMode;
@@ -1172,14 +1159,13 @@ class ChipComponent {
1172
1159
  /**
1173
1160
  * Sets a predefined theme color for the Chip.
1174
1161
  * The theme color applies as a background and border color and adjusts the text color.
1175
- * See [Chip Appearance](slug:appearance_chip#theme-colors).
1162
+ * See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#theme-colors).
1176
1163
  *
1177
1164
  * @default 'base'
1178
1165
  */
1179
1166
  set themeColor(themeColor) {
1180
- const newThemeColor = themeColor || DEFAULT_THEME_COLOR$2;
1181
- this.handleThemeColor(newThemeColor);
1182
- this._themeColor = newThemeColor;
1167
+ this.handleThemeColor(themeColor);
1168
+ this._themeColor = themeColor;
1183
1169
  }
1184
1170
  get themeColor() {
1185
1171
  return this._themeColor;
@@ -1228,10 +1214,10 @@ class ChipComponent {
1228
1214
  * @hidden
1229
1215
  */
1230
1216
  sizeIsSet = false;
1231
- _size = 'medium';
1232
- _rounded = 'medium';
1233
- _fillMode = 'solid';
1234
- _themeColor = 'base';
1217
+ _size = undefined;
1218
+ _rounded = undefined;
1219
+ _fillMode = undefined;
1220
+ _themeColor = undefined;
1235
1221
  focused = false;
1236
1222
  subs = new Subscription();
1237
1223
  constructor(element, renderer, ngZone, localizationService) {
@@ -1260,10 +1246,6 @@ class ChipComponent {
1260
1246
  }
1261
1247
  ngAfterViewInit() {
1262
1248
  const chip = this.element.nativeElement;
1263
- const stylingOptions = ['size', 'rounded', 'fillMode'];
1264
- stylingOptions.forEach(input => {
1265
- this.handleClasses(this[input], input);
1266
- });
1267
1249
  this.attachElementEventHandlers(chip);
1268
1250
  }
1269
1251
  /**
@@ -1352,7 +1334,7 @@ class ChipComponent {
1352
1334
  const elem = this.element.nativeElement;
1353
1335
  const classes = getStylingClasses('chip', input, this[input], value);
1354
1336
  if (input === 'fillMode') {
1355
- this.handleThemeColor(this.themeColor, this[input], value);
1337
+ this.handleThemeColor(this.themeColor);
1356
1338
  }
1357
1339
  if (classes.toRemove) {
1358
1340
  this.renderer.removeClass(elem, classes.toRemove);
@@ -1361,16 +1343,14 @@ class ChipComponent {
1361
1343
  this.renderer.addClass(elem, classes.toAdd);
1362
1344
  }
1363
1345
  }
1364
- handleThemeColor(value, prevFillMode, fillMode) {
1346
+ handleThemeColor(value) {
1365
1347
  const elem = this.element.nativeElement;
1366
- const removeFillMode = prevFillMode || this.fillMode;
1367
- const addFillMode = fillMode || this.fillMode;
1368
- const themeColorClass = getThemeColorClasses('chip', removeFillMode, addFillMode, this.themeColor, value);
1369
- this.renderer.removeClass(elem, themeColorClass.toRemove);
1370
- if (addFillMode !== 'none' && fillMode !== 'none') {
1371
- if (themeColorClass.toAdd) {
1372
- this.renderer.addClass(elem, themeColorClass.toAdd);
1373
- }
1348
+ const themeColorClass = getThemeColorClasses('chip', this.themeColor, value);
1349
+ if (themeColorClass.toRemove) {
1350
+ this.renderer.removeClass(elem, themeColorClass.toRemove);
1351
+ }
1352
+ if (themeColorClass.toAdd) {
1353
+ this.renderer.addClass(elem, themeColorClass.toAdd);
1374
1354
  }
1375
1355
  }
1376
1356
  keyDownHandler(e) {
@@ -1406,7 +1386,7 @@ class ChipComponent {
1406
1386
  [name]="icon"
1407
1387
  [svgIcon]="svgIcon"></kendo-icon-wrapper>
1408
1388
  }
1409
-
1389
+
1410
1390
  @if (iconClass) {
1411
1391
  <kendo-icon-wrapper
1412
1392
  size="small"
@@ -1427,7 +1407,7 @@ class ChipComponent {
1427
1407
  }
1428
1408
  </span>
1429
1409
  }
1430
-
1410
+
1431
1411
  <span class="k-chip-content">
1432
1412
  @if (label) {
1433
1413
  <span class="k-chip-label">
@@ -1438,7 +1418,7 @@ class ChipComponent {
1438
1418
  <ng-content></ng-content>
1439
1419
  }
1440
1420
  </span>
1441
-
1421
+
1442
1422
  @if (hasMenu || removable) {
1443
1423
  <span class="k-chip-actions">
1444
1424
  @if (hasMenu) {
@@ -1477,7 +1457,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1477
1457
  [name]="icon"
1478
1458
  [svgIcon]="svgIcon"></kendo-icon-wrapper>
1479
1459
  }
1480
-
1460
+
1481
1461
  @if (iconClass) {
1482
1462
  <kendo-icon-wrapper
1483
1463
  size="small"
@@ -1498,7 +1478,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1498
1478
  }
1499
1479
  </span>
1500
1480
  }
1501
-
1481
+
1502
1482
  <span class="k-chip-content">
1503
1483
  @if (label) {
1504
1484
  <span class="k-chip-label">
@@ -1509,7 +1489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1509
1489
  <ng-content></ng-content>
1510
1490
  }
1511
1491
  </span>
1512
-
1492
+
1513
1493
  @if (hasMenu || removable) {
1514
1494
  <span class="k-chip-actions">
1515
1495
  @if (hasMenu) {
@@ -1646,15 +1626,14 @@ class ChipListComponent {
1646
1626
  selection = 'none';
1647
1627
  /**
1648
1628
  * Sets the gap between the Chips in the ChipList.
1649
- * See [ChipList Appearance]({% slug appearance_chiplist %}#size).
1629
+ * See [ChipList Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chiplist/appearance#size).
1650
1630
  *
1651
1631
  * @default 'medium'
1652
1632
  */
1653
1633
  set size(size) {
1654
- const sizeValue = size || 'medium';
1655
- this.handleClasses(sizeValue, 'size');
1656
- this.chips?.forEach(chip => this.setChipSize(chip, sizeValue));
1657
- this._size = sizeValue;
1634
+ this.handleClasses(size, 'size');
1635
+ this.chips?.forEach(chip => this.setChipSize(chip, size));
1636
+ this._size = size;
1658
1637
  }
1659
1638
  get size() {
1660
1639
  return this._size;
@@ -1679,7 +1658,7 @@ class ChipListComponent {
1679
1658
  */
1680
1659
  role = 'listbox';
1681
1660
  dynamicRTLSubscription;
1682
- _size = 'medium';
1661
+ _size = undefined;
1683
1662
  subs = new Subscription();
1684
1663
  _navigable = true;
1685
1664
  /**
@@ -1982,7 +1961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1982
1961
  * </kendo-dropdownbutton>
1983
1962
  * ```
1984
1963
  *
1985
- * For more examples, refer to the article on the [DropDownButton templates](slug:itemstemplates_dropdownbutton).
1964
+ * For more examples, refer to the article on the [DropDownButton templates](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/items-and-templates).
1986
1965
  */
1987
1966
  class ButtonItemTemplateDirective {
1988
1967
  templateRef;
@@ -2843,7 +2822,6 @@ const NAVIGATION_SETTINGS_PROVIDER$2 = {
2843
2822
  provide: NAVIGATION_CONFIG,
2844
2823
  useValue: NAVIGATION_SETTINGS$2
2845
2824
  };
2846
- const DEFAULT_FILL_MODE$2 = 'solid';
2847
2825
  /**
2848
2826
  * Represents the Kendo UI DropDownButton component for Angular.
2849
2827
  *
@@ -2883,7 +2861,7 @@ class DropDownButtonComponent extends ListButton {
2883
2861
  */
2884
2862
  icon = '';
2885
2863
  /**
2886
- * Specifies an [`SVGIcon`](slug:api_icons_svgicon) to render within the button.
2864
+ * Specifies an [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) to render within the button.
2887
2865
  */
2888
2866
  svgIcon;
2889
2867
  /**
@@ -2909,17 +2887,17 @@ class DropDownButtonComponent extends ListButton {
2909
2887
  return this._data;
2910
2888
  }
2911
2889
  /**
2912
- * Specifies the padding of the DropDownButton. See [DropDownButton Appearance](slug:appearance_dropdownbutton#size).
2890
+ * Specifies the padding of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#size).
2913
2891
  * @default 'medium'
2914
2892
  */
2915
- size = 'medium';
2893
+ size = undefined;
2916
2894
  /**
2917
- * Specifies the border radius of the DropDownButton. See [DropDownButton Appearance](slug:appearance_dropdownbutton#roundness).
2895
+ * Specifies the border radius of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#roundness).
2918
2896
  * @default 'medium'
2919
2897
  */
2920
- rounded = 'medium';
2898
+ rounded = undefined;
2921
2899
  /**
2922
- * Specifies the background and border styles of the DropDownButton. See [DropDownButton Appearance](slug:appearance_dropdownbutton#fill-mode).
2900
+ * Specifies the background and border styles of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#fill-mode).
2923
2901
  * @default 'solid'
2924
2902
  */
2925
2903
  set fillMode(fillMode) {
@@ -2929,10 +2907,10 @@ class DropDownButtonComponent extends ListButton {
2929
2907
  return this._fillMode;
2930
2908
  }
2931
2909
  /**
2932
- * Specifies predefined theme colors for the DropDownButton. See [DropDownButton Appearance](slug:appearance_dropdownbutton#theme-colors).
2910
+ * Specifies predefined theme colors for the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#theme-colors).
2933
2911
  * @default 'base'
2934
2912
  */
2935
- themeColor = 'base';
2913
+ themeColor = undefined;
2936
2914
  /**
2937
2915
  * Sets attributes for the main button.
2938
2916
  */
@@ -2971,7 +2949,7 @@ class DropDownButtonComponent extends ListButton {
2971
2949
  return this._active;
2972
2950
  }
2973
2951
  itemTemplate;
2974
- _fillMode = DEFAULT_FILL_MODE$2;
2952
+ _fillMode = undefined;
2975
2953
  _buttonAttributes = null;
2976
2954
  documentMouseUpSub;
2977
2955
  /**
@@ -3144,7 +3122,7 @@ class DropDownButtonComponent extends ListButton {
3144
3122
  [size]="size"
3145
3123
  [rounded]="rounded"
3146
3124
  [fillMode]="fillMode"
3147
- [themeColor]="fillMode ? themeColor : null"
3125
+ [themeColor]="themeColor"
3148
3126
  (click)="openPopup()"
3149
3127
  (focus)="handleFocus($event)"
3150
3128
  (blur)="onButtonBlur()"
@@ -3206,7 +3184,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3206
3184
  [size]="size"
3207
3185
  [rounded]="rounded"
3208
3186
  [fillMode]="fillMode"
3209
- [themeColor]="fillMode ? themeColor : null"
3187
+ [themeColor]="themeColor"
3210
3188
  (click)="openPopup()"
3211
3189
  (focus)="handleFocus($event)"
3212
3190
  (blur)="onButtonBlur()"
@@ -3362,7 +3340,7 @@ function closeAnimation(animationSettings) {
3362
3340
  /**
3363
3341
  * Represents a template that defines the content of a dial item.
3364
3342
  * To define the template, nest an `<ng-template>` tag with the `kendoDialItemTemplate` directive inside the `<kendo-floatingactionbutton>` tag
3365
- *([see example]({% slug templates_floatingactionbutton %}#dial-item-template)).
3343
+ *([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/templates#dial-item-template)).
3366
3344
  *
3367
3345
  * @example
3368
3346
  * ```html
@@ -3395,7 +3373,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3395
3373
  * Represents a template that defines the content of the FloatingActionButton.
3396
3374
  * To define the template, nest an `<ng-template>` tag with the `kendoFloatingActionButtonTemplate` directive inside the `<kendo-floatingactionbutton>` tag
3397
3375
  *
3398
- * ([see example](slug:templates_floatingactionbutton#floatingactionbutton-template)).
3376
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/templates#floatingactionbutton-template)).
3399
3377
  *
3400
3378
  * @example
3401
3379
  * ```html
@@ -3679,15 +3657,13 @@ const ROUNDED_CLASSES = {
3679
3657
  small: 'k-rounded-sm',
3680
3658
  medium: 'k-rounded-md',
3681
3659
  large: 'k-rounded-lg',
3682
- full: 'k-rounded-full'
3660
+ full: 'k-rounded-full',
3661
+ none: 'k-rounded-none'
3683
3662
  };
3684
- const FILLMODE_CLASS = 'k-fab-solid';
3663
+ const THEME_COLOR_PREFIX = 'k-fab';
3685
3664
  const DEFAULT_DURATION = 180;
3686
3665
  const DEFAULT_ITEM_GAP = 90;
3687
3666
  const DEFAULT_OFFSET = '16px';
3688
- const DEFAULT_ROUNDED$2 = 'full';
3689
- const DEFAULT_SIZE$1 = 'medium';
3690
- const DEFAULT_THEME_COLOR$1 = 'primary';
3691
3667
  /**
3692
3668
  * Represents the Kendo UI FloatingActionButton component for Angular.
3693
3669
  * Use it to represent the primary or most common action in an application.
@@ -3722,38 +3698,35 @@ class FloatingActionButtonComponent {
3722
3698
  dialItemTemplate;
3723
3699
  fabTemplate;
3724
3700
  /**
3725
- * Specifies the theme color of the FloatingActionButton ([see example](slug:appearance_floatingactionbutton#theme-colors)).
3701
+ * Specifies the theme color of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#theme-colors)).
3726
3702
  * @default "primary"
3727
3703
  */
3728
3704
  set themeColor(themeColor) {
3729
- const newThemeColor = themeColor || DEFAULT_THEME_COLOR$1;
3730
- this.handleClasses(newThemeColor, 'themeColor');
3731
- this._themeColor = newThemeColor;
3705
+ this.handleClasses(themeColor, 'themeColor');
3706
+ this._themeColor = themeColor;
3732
3707
  }
3733
3708
  get themeColor() {
3734
3709
  return this._themeColor;
3735
3710
  }
3736
3711
  /**
3737
- * Specifies the size of the FloatingActionButton ([see example](slug:appearance_floatingactionbutton#size)).
3712
+ * Specifies the size of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#size)).
3738
3713
  * @default "medium"
3739
3714
  */
3740
3715
  set size(size) {
3741
- const newSize = size || DEFAULT_SIZE$1;
3742
- this.handleClasses(newSize, 'size');
3743
- this._size = newSize;
3716
+ this.handleClasses(size, 'size');
3717
+ this._size = size;
3744
3718
  }
3745
3719
  get size() {
3746
3720
  return this._size;
3747
3721
  }
3748
3722
  /**
3749
- * Specifies the border radius of the FloatingActionButton ([see example](slug:appearance_floatingactionbutton#roundness)).
3723
+ * Specifies the border radius of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#roundness)).
3750
3724
  *
3751
3725
  * @default "full"
3752
3726
  */
3753
3727
  set rounded(rounded) {
3754
- const newRounded = rounded || DEFAULT_ROUNDED$2;
3755
- this.handleClasses(newRounded, 'rounded');
3756
- this._rounded = newRounded;
3728
+ this.handleClasses(rounded, 'rounded');
3729
+ this._rounded = rounded;
3757
3730
  }
3758
3731
  get rounded() {
3759
3732
  return this._rounded;
@@ -3769,7 +3742,7 @@ class FloatingActionButtonComponent {
3769
3742
  return this._disabled;
3770
3743
  }
3771
3744
  /**
3772
- * Specifies the alignment of the FloatingActionButton ([see example](slug:positioning_floatingactionbutton#alignment)).
3745
+ * Specifies the alignment of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/positioning#alignment)).
3773
3746
  * @default { horizontal: 'end', vertical: 'top' }
3774
3747
  */
3775
3748
  set align(align) {
@@ -3779,7 +3752,7 @@ class FloatingActionButtonComponent {
3779
3752
  return this._align;
3780
3753
  }
3781
3754
  /**
3782
- * Specifies the offset position of the FloatingActionButton ([see example]({% slug positioning_floatingactionbutton %}#offset)).
3755
+ * Specifies the offset position of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/positioning#offset)).
3783
3756
  * @default { x: '16px', y: '16px' }
3784
3757
  */
3785
3758
  set offset(offset) {
@@ -3790,7 +3763,7 @@ class FloatingActionButtonComponent {
3790
3763
  return this._offset;
3791
3764
  }
3792
3765
  /**
3793
- * Specifies the position mode of the FloatingActionButton ([see example](slug:positioning_floatingactionbutton#position-mode)).
3766
+ * Specifies the position mode of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/positioning#position-mode)).
3794
3767
  * @default "fixed"
3795
3768
  */
3796
3769
  positionMode = 'fixed';
@@ -3799,7 +3772,7 @@ class FloatingActionButtonComponent {
3799
3772
  */
3800
3773
  icon;
3801
3774
  /**
3802
- * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the FloatingActionButton.
3775
+ * Defines an [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) to be rendered within the FloatingActionButton.
3803
3776
  */
3804
3777
  svgIcon;
3805
3778
  /**
@@ -3848,12 +3821,12 @@ class FloatingActionButtonComponent {
3848
3821
  dialItemClick = new EventEmitter();
3849
3822
  /**
3850
3823
  * Fires when the popup is about to open. This event is preventable
3851
- * ([more information and example](slug:events_floatingactionbutton)).
3824
+ * ([more information and example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/events)).
3852
3825
  */
3853
3826
  open = new EventEmitter();
3854
3827
  /**
3855
3828
  * Fires when the popup is about to close. This event is preventable
3856
- * ([more information and example](slug:events_floatingactionbutton)).
3829
+ * ([more information and example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/events)).
3857
3830
  */
3858
3831
  close = new EventEmitter();
3859
3832
  /**
@@ -3870,9 +3843,9 @@ class FloatingActionButtonComponent {
3870
3843
  * @hidden
3871
3844
  */
3872
3845
  dialListId = `k-dial-list-${guid()}`;
3873
- _themeColor = DEFAULT_THEME_COLOR$1;
3874
- _size = DEFAULT_SIZE$1;
3875
- _rounded = DEFAULT_ROUNDED$2;
3846
+ _themeColor = undefined;
3847
+ _size = undefined;
3848
+ _rounded = undefined;
3876
3849
  _disabled = false;
3877
3850
  _align = { horizontal: 'end', vertical: 'bottom' };
3878
3851
  _offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
@@ -3939,7 +3912,7 @@ class FloatingActionButtonComponent {
3939
3912
  * Toggles the visibility of the FloatingActionButton dial items popup.
3940
3913
  *
3941
3914
  * If you use the `toggleDial` method to open or close the dial items,
3942
- * the `open` and `close` events do not fire ([more information and examples](slug:openstate_floatingactionbutton)).
3915
+ * the `open` and `close` events do not fire ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/open_state)).
3943
3916
  *
3944
3917
  * @param open - The state of dial items popup.
3945
3918
  */
@@ -4129,12 +4102,12 @@ class FloatingActionButtonComponent {
4129
4102
  if (isPresent(this.button) && (this[input] !== inputValue || this.initialSetup)) {
4130
4103
  const button = this.button.nativeElement;
4131
4104
  const classesToRemove = {
4132
- themeColor: `${FILLMODE_CLASS}-${this.themeColor}`,
4105
+ themeColor: `${THEME_COLOR_PREFIX}-${this.themeColor}`,
4133
4106
  size: SIZE_CLASSES[this.size],
4134
4107
  rounded: ROUNDED_CLASSES[this.rounded]
4135
4108
  };
4136
4109
  const classesToAdd = {
4137
- themeColor: inputValue !== 'none' ? `${FILLMODE_CLASS}-${inputValue}` : '',
4110
+ themeColor: inputValue ? `${THEME_COLOR_PREFIX}-${inputValue}` : '',
4138
4111
  size: SIZE_CLASSES[inputValue],
4139
4112
  rounded: ROUNDED_CLASSES[inputValue]
4140
4113
  };
@@ -4375,20 +4348,20 @@ class FloatingActionButtonComponent {
4375
4348
  }
4376
4349
  ], queries: [{ propertyName: "dialItemTemplate", first: true, predicate: DialItemTemplateDirective, descendants: true }, { propertyName: "fabTemplate", first: true, predicate: FloatingActionButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
4377
4350
  <button
4378
- #button
4379
- [attr.id]="id"
4380
- [tabIndex]="componentTabIndex"
4381
- type="button"
4382
- class="k-fab k-fab-solid"
4383
- [class.k-disabled]="disabled"
4384
- [ngClass]="buttonClass"
4385
- [disabled]="disabled"
4386
- [attr.aria-disabled]="disabled"
4387
- [attr.aria-expanded]="ariaExpanded"
4388
- [attr.aria-haspopup]="ariaHasPopup"
4389
- [attr.aria-controls]="ariaControls"
4390
- (focus)="focusHandler()"
4391
- (blur)="blurHandler($event)"
4351
+ #button
4352
+ [attr.id]="id"
4353
+ [tabIndex]="componentTabIndex"
4354
+ type="button"
4355
+ class="k-fab"
4356
+ [class.k-disabled]="disabled"
4357
+ [ngClass]="buttonClass"
4358
+ [disabled]="disabled"
4359
+ [attr.aria-disabled]="disabled"
4360
+ [attr.aria-expanded]="ariaExpanded"
4361
+ [attr.aria-haspopup]="ariaHasPopup"
4362
+ [attr.aria-controls]="ariaControls"
4363
+ (focus)="focusHandler()"
4364
+ (blur)="blurHandler($event)"
4392
4365
  [kendoEventsOutsideAngular]="{
4393
4366
  keydown: keyDownHandler,
4394
4367
  click: clickHandler,
@@ -4402,7 +4375,7 @@ class FloatingActionButtonComponent {
4402
4375
  >
4403
4376
  </ng-template>
4404
4377
  }
4405
-
4378
+
4406
4379
  @if (!fabTemplate) {
4407
4380
  @if (icon || iconClass || svgIcon) {
4408
4381
  <kendo-icon-wrapper
@@ -4416,7 +4389,7 @@ class FloatingActionButtonComponent {
4416
4389
  }
4417
4390
  }
4418
4391
  </button>
4419
-
4392
+
4420
4393
  <ng-template #popupTemplate>
4421
4394
  <ul
4422
4395
  kendoDialList
@@ -4453,20 +4426,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4453
4426
  ],
4454
4427
  template: `
4455
4428
  <button
4456
- #button
4457
- [attr.id]="id"
4458
- [tabIndex]="componentTabIndex"
4459
- type="button"
4460
- class="k-fab k-fab-solid"
4461
- [class.k-disabled]="disabled"
4462
- [ngClass]="buttonClass"
4463
- [disabled]="disabled"
4464
- [attr.aria-disabled]="disabled"
4465
- [attr.aria-expanded]="ariaExpanded"
4466
- [attr.aria-haspopup]="ariaHasPopup"
4467
- [attr.aria-controls]="ariaControls"
4468
- (focus)="focusHandler()"
4469
- (blur)="blurHandler($event)"
4429
+ #button
4430
+ [attr.id]="id"
4431
+ [tabIndex]="componentTabIndex"
4432
+ type="button"
4433
+ class="k-fab"
4434
+ [class.k-disabled]="disabled"
4435
+ [ngClass]="buttonClass"
4436
+ [disabled]="disabled"
4437
+ [attr.aria-disabled]="disabled"
4438
+ [attr.aria-expanded]="ariaExpanded"
4439
+ [attr.aria-haspopup]="ariaHasPopup"
4440
+ [attr.aria-controls]="ariaControls"
4441
+ (focus)="focusHandler()"
4442
+ (blur)="blurHandler($event)"
4470
4443
  [kendoEventsOutsideAngular]="{
4471
4444
  keydown: keyDownHandler,
4472
4445
  click: clickHandler,
@@ -4480,7 +4453,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4480
4453
  >
4481
4454
  </ng-template>
4482
4455
  }
4483
-
4456
+
4484
4457
  @if (!fabTemplate) {
4485
4458
  @if (icon || iconClass || svgIcon) {
4486
4459
  <kendo-icon-wrapper
@@ -4494,7 +4467,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4494
4467
  }
4495
4468
  }
4496
4469
  </button>
4497
-
4470
+
4498
4471
  <ng-template #popupTemplate>
4499
4472
  <ul
4500
4473
  kendoDialList
@@ -4631,7 +4604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4631
4604
 
4632
4605
  /**
4633
4606
  * Represents a custom component for overriding the default SplitButton messages.
4634
- * ([see example]({% slug rtl_buttons %})).
4607
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/globalization)).
4635
4608
  */
4636
4609
  class SplitButtonCustomMessagesComponent extends Messages {
4637
4610
  service;
@@ -4699,8 +4672,6 @@ const NAVIGATION_SETTINGS_PROVIDER = {
4699
4672
  provide: NAVIGATION_CONFIG,
4700
4673
  useValue: NAVIGATION_SETTINGS
4701
4674
  };
4702
- const DEFAULT_ROUNDED$1 = 'medium';
4703
- const DEFAULT_FILL_MODE$1 = 'solid';
4704
4675
  /**
4705
4676
  * Represents the Kendo UI SplitButton component for Angular.
4706
4677
  *
@@ -4738,7 +4709,7 @@ class SplitButtonComponent extends ListButton {
4738
4709
  */
4739
4710
  text = '';
4740
4711
  /**
4741
- * Specifies an icon to display next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
4712
+ * Specifies an icon to display next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
4742
4713
  */
4743
4714
  icon = '';
4744
4715
  /**
@@ -4746,7 +4717,7 @@ class SplitButtonComponent extends ListButton {
4746
4717
  */
4747
4718
  svgIcon;
4748
4719
  /**
4749
- * Specifies a custom CSS class for the icon displayed next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
4720
+ * Specifies a custom CSS class for the icon displayed next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
4750
4721
  */
4751
4722
  iconClass;
4752
4723
  /**
@@ -4754,48 +4725,46 @@ class SplitButtonComponent extends ListButton {
4754
4725
  */
4755
4726
  type = 'button';
4756
4727
  /**
4757
- * Specifies the URL of an image to display next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
4728
+ * Specifies the URL of an image to display next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
4758
4729
  */
4759
4730
  imageUrl = '';
4760
4731
  /**
4761
- * Configures the padding of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#size)).
4732
+ * Configures the padding of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#size)).
4762
4733
  *
4763
4734
  * @default 'medium'
4764
4735
  */
4765
- size = 'medium';
4736
+ size = undefined;
4766
4737
  /**
4767
- * Configures the border radius of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#rounded)).
4738
+ * Configures the border radius of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#rounded)).
4768
4739
  *
4769
4740
  * @default 'medium'
4770
4741
  */
4771
4742
  set rounded(rounded) {
4772
- const newRounded = rounded || DEFAULT_ROUNDED$1;
4773
- this.handleClasses(newRounded, 'rounded');
4774
- this._rounded = newRounded;
4743
+ this.handleClasses(rounded, 'rounded');
4744
+ this._rounded = rounded;
4775
4745
  }
4776
4746
  get rounded() {
4777
4747
  return this._rounded;
4778
4748
  }
4779
4749
  /**
4780
- * Configures the background and border styles of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#fillMode)).
4750
+ * Configures the background and border styles of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#fillmode)).
4781
4751
  *
4782
4752
  * @default 'solid'
4783
4753
  */
4784
4754
  set fillMode(fillMode) {
4785
- const newFillMode = fillMode || DEFAULT_FILL_MODE$1;
4786
- this._fillMode = fillMode === 'clear' ? 'flat' : newFillMode;
4755
+ this._fillMode = fillMode === 'clear' ? 'flat' : fillMode;
4787
4756
  }
4788
4757
  get fillMode() {
4789
4758
  return this._fillMode;
4790
4759
  }
4791
4760
  /**
4792
- * Configures the theme color of the SplitButton. The theme color applies to the background, border, and text ([see example]({% slug api_buttons_splitbuttoncomponent %}#themeColor)).
4761
+ * Configures the theme color of the SplitButton. The theme color applies to the background, border, and text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#themecolor)).
4793
4762
  *
4794
4763
  * @default 'base'
4795
4764
  */
4796
- themeColor = 'base';
4765
+ themeColor = undefined;
4797
4766
  /**
4798
- * Disables the SplitButton when set to `true` ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
4767
+ * Disables the SplitButton when set to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
4799
4768
  */
4800
4769
  set disabled(value) {
4801
4770
  if (this.isOpen) {
@@ -4845,7 +4814,7 @@ class SplitButtonComponent extends ListButton {
4845
4814
  */
4846
4815
  arrowButtonIcon = 'caret-alt-down';
4847
4816
  /**
4848
- * Specifies the [`SVGIcon`](slug:api_icons_svgiconcomponent) displayed on the button that opens the popup.
4817
+ * Specifies the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgiconcomponent) displayed on the button that opens the popup.
4849
4818
  */
4850
4819
  arrowButtonSvgIcon = caretAltDownIcon;
4851
4820
  /**
@@ -4909,8 +4878,8 @@ class SplitButtonComponent extends ListButton {
4909
4878
  }
4910
4879
  buttonText = '';
4911
4880
  arrowButtonClicked = false;
4912
- _rounded = DEFAULT_ROUNDED$1;
4913
- _fillMode = DEFAULT_FILL_MODE$1;
4881
+ _rounded = undefined;
4882
+ _fillMode = undefined;
4914
4883
  _buttonAttributes = null;
4915
4884
  documentMouseUpSub;
4916
4885
  set isFocused(value) {
@@ -5242,16 +5211,15 @@ class SplitButtonComponent extends ListButton {
5242
5211
  ></button>
5243
5212
  <ng-template #popupTemplate>
5244
5213
  <kendo-button-list
5245
- [id]="listId"
5246
- [data]="data"
5247
- [textField]="textField"
5248
- [itemTemplate]="itemTemplate"
5249
- (onItemClick)="onItemClick($event)"
5250
- (keydown)="keyDownHandler($event)"
5251
- (keyup)="keyUpHandler($event)"
5252
- [attr.dir]="dir"
5253
- [size]="size"
5254
- >
5214
+ [id]="listId"
5215
+ [data]="data"
5216
+ [textField]="textField"
5217
+ [itemTemplate]="itemTemplate"
5218
+ (onItemClick)="onItemClick($event)"
5219
+ (keydown)="keyDownHandler($event)"
5220
+ (keyup)="keyUpHandler($event)"
5221
+ [attr.dir]="dir"
5222
+ >
5255
5223
  </kendo-button-list>
5256
5224
  </ng-template>
5257
5225
  <ng-container #container></ng-container>
@@ -5334,16 +5302,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
5334
5302
  ></button>
5335
5303
  <ng-template #popupTemplate>
5336
5304
  <kendo-button-list
5337
- [id]="listId"
5338
- [data]="data"
5339
- [textField]="textField"
5340
- [itemTemplate]="itemTemplate"
5341
- (onItemClick)="onItemClick($event)"
5342
- (keydown)="keyDownHandler($event)"
5343
- (keyup)="keyUpHandler($event)"
5344
- [attr.dir]="dir"
5345
- [size]="size"
5346
- >
5305
+ [id]="listId"
5306
+ [data]="data"
5307
+ [textField]="textField"
5308
+ [itemTemplate]="itemTemplate"
5309
+ (onItemClick)="onItemClick($event)"
5310
+ (keydown)="keyDownHandler($event)"
5311
+ (keyup)="keyUpHandler($event)"
5312
+ [attr.dir]="dir"
5313
+ >
5347
5314
  </kendo-button-list>
5348
5315
  </ng-template>
5349
5316
  <ng-container #container></ng-container>
@@ -5426,10 +5393,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
5426
5393
  args: ['keyup', ['$event']]
5427
5394
  }] } });
5428
5395
 
5429
- const DEFAULT_ROUNDED = 'medium';
5430
- const DEFAULT_SIZE = 'medium';
5431
- const DEFAULT_THEME_COLOR = 'base';
5432
- const DEFAULT_FILL_MODE = 'solid';
5433
5396
  /**
5434
5397
  * Represents the Kendo UI SpeechToTextButton component for Angular.
5435
5398
  *
@@ -5463,9 +5426,8 @@ class SpeechToTextButtonComponent {
5463
5426
  * @default 'medium'
5464
5427
  */
5465
5428
  set size(size) {
5466
- const newSize = size || DEFAULT_SIZE;
5467
- this.handleClasses(newSize, 'size');
5468
- this._size = newSize;
5429
+ this.handleClasses(size, 'size');
5430
+ this._size = size;
5469
5431
  }
5470
5432
  get size() {
5471
5433
  return this._size;
@@ -5476,9 +5438,8 @@ class SpeechToTextButtonComponent {
5476
5438
  * @default 'medium'
5477
5439
  */
5478
5440
  set rounded(rounded) {
5479
- const newRounded = rounded || DEFAULT_ROUNDED;
5480
- this.handleClasses(newRounded, 'rounded');
5481
- this._rounded = newRounded;
5441
+ this.handleClasses(rounded, 'rounded');
5442
+ this._rounded = rounded;
5482
5443
  }
5483
5444
  get rounded() {
5484
5445
  return this._rounded;
@@ -5489,9 +5450,8 @@ class SpeechToTextButtonComponent {
5489
5450
  * @default 'solid'
5490
5451
  */
5491
5452
  set fillMode(fillMode) {
5492
- const newFillMode = fillMode || DEFAULT_FILL_MODE;
5493
- this.handleClasses(newFillMode, 'fillMode');
5494
- this._fillMode = newFillMode;
5453
+ this.handleClasses(fillMode, 'fillMode');
5454
+ this._fillMode = fillMode;
5495
5455
  }
5496
5456
  get fillMode() {
5497
5457
  return this._fillMode;
@@ -5503,9 +5463,8 @@ class SpeechToTextButtonComponent {
5503
5463
  * @default 'base'
5504
5464
  */
5505
5465
  set themeColor(themeColor) {
5506
- const newThemeColor = themeColor || DEFAULT_THEME_COLOR;
5507
- this.handleThemeColor(newThemeColor);
5508
- this._themeColor = newThemeColor;
5466
+ this.handleThemeColor(themeColor);
5467
+ this._themeColor = themeColor;
5509
5468
  }
5510
5469
  get themeColor() {
5511
5470
  return this._themeColor;
@@ -5645,12 +5604,6 @@ class SpeechToTextButtonComponent {
5645
5604
  }
5646
5605
  }
5647
5606
  }
5648
- ngAfterViewInit() {
5649
- const stylingOptions = ['size', 'rounded', 'fillMode'];
5650
- stylingOptions.forEach(input => {
5651
- this.handleClasses(this[input], input);
5652
- });
5653
- }
5654
5607
  ngOnDestroy() {
5655
5608
  this.destroyWebSpeech();
5656
5609
  this.subs.unsubscribe();
@@ -5748,17 +5701,17 @@ class SpeechToTextButtonComponent {
5748
5701
  microphoneSvgIcon = microphoneOutlineIcon;
5749
5702
  stopSvgIcon = stopSmIcon;
5750
5703
  speechRecognition;
5751
- _size = DEFAULT_SIZE;
5752
- _rounded = DEFAULT_ROUNDED;
5753
- _fillMode = DEFAULT_FILL_MODE;
5754
- _themeColor = DEFAULT_THEME_COLOR;
5704
+ _size = undefined;
5705
+ _rounded = undefined;
5706
+ _fillMode = undefined;
5707
+ _themeColor = undefined;
5755
5708
  _focused = false;
5756
5709
  direction;
5757
5710
  handleClasses(value, input) {
5758
5711
  const elem = this.element;
5759
5712
  const classes = getStylingClasses('button', input, this[input], value);
5760
5713
  if (input === 'fillMode') {
5761
- this.handleThemeColor(this.themeColor, this[input], value);
5714
+ this.handleThemeColor(this.themeColor);
5762
5715
  }
5763
5716
  if (classes.toRemove) {
5764
5717
  this.renderer.removeClass(elem, classes.toRemove);
@@ -5807,16 +5760,12 @@ class SpeechToTextButtonComponent {
5807
5760
  toObservable(input) {
5808
5761
  return input instanceof Observable ? input : from(input);
5809
5762
  }
5810
- handleThemeColor(value, prevFillMode, fillMode) {
5763
+ handleThemeColor(value) {
5811
5764
  const elem = this.element;
5812
- const removeFillMode = prevFillMode || this.fillMode;
5813
- const addFillMode = fillMode || this.fillMode;
5814
- const themeColorClass = getThemeColorClasses('button', removeFillMode, addFillMode, this.themeColor, value);
5765
+ const themeColorClass = getThemeColorClasses('button', this.themeColor, value);
5815
5766
  this.renderer.removeClass(elem, themeColorClass.toRemove);
5816
- if (addFillMode !== 'none' && fillMode !== 'none') {
5817
- if (themeColorClass.toAdd) {
5818
- this.renderer.addClass(elem, themeColorClass.toAdd);
5819
- }
5767
+ if (themeColorClass.toAdd) {
5768
+ this.renderer.addClass(elem, themeColorClass.toAdd);
5820
5769
  }
5821
5770
  }
5822
5771
  destroyWebSpeech() {