@progress/kendo-vue-buttons 7.1.0-develop.6 → 7.1.0-develop.7

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/index.d.ts CHANGED
@@ -45,7 +45,6 @@ default: () => any;
45
45
  svgIcon: PropType<SVGIcon>;
46
46
  iconSize: {
47
47
  type: PropType<string>;
48
- default: string;
49
48
  };
50
49
  iconClass: {
51
50
  type: PropType<string>;
@@ -60,25 +59,10 @@ disabled: {
60
59
  type: PropType<boolean>;
61
60
  default: any;
62
61
  };
63
- size: {
64
- type: PropType<"small" | "medium" | "large">;
65
- default: string;
66
- };
67
- shape: {
68
- type: PropType<string>;
69
- };
70
- rounded: {
71
- type: PropType<string>;
72
- default: string;
73
- };
74
- fillMode: {
75
- type: PropType<string>;
76
- default: string;
77
- };
78
- themeColor: {
79
- type: PropType<string>;
80
- default: string;
81
- };
62
+ size: PropType<"small" | "medium" | "large">;
63
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
64
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
65
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
82
66
  tabIndex: PropType<number>;
83
67
  accessKey: PropType<string>;
84
68
  id: PropType<string>;
@@ -139,7 +123,6 @@ default: () => any;
139
123
  svgIcon: PropType<SVGIcon>;
140
124
  iconSize: {
141
125
  type: PropType<string>;
142
- default: string;
143
126
  };
144
127
  iconClass: {
145
128
  type: PropType<string>;
@@ -154,25 +137,10 @@ disabled: {
154
137
  type: PropType<boolean>;
155
138
  default: any;
156
139
  };
157
- size: {
158
- type: PropType<"small" | "medium" | "large">;
159
- default: string;
160
- };
161
- shape: {
162
- type: PropType<string>;
163
- };
164
- rounded: {
165
- type: PropType<string>;
166
- default: string;
167
- };
168
- fillMode: {
169
- type: PropType<string>;
170
- default: string;
171
- };
172
- themeColor: {
173
- type: PropType<string>;
174
- default: string;
175
- };
140
+ size: PropType<"small" | "medium" | "large">;
141
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
142
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
143
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
176
144
  tabIndex: PropType<number>;
177
145
  accessKey: PropType<string>;
178
146
  id: PropType<string>;
@@ -190,14 +158,9 @@ onMouseup?: (event: MouseEvent) => any;
190
158
  onPointerdown?: (event: PointerEvent) => any;
191
159
  onPointerup?: (event: PointerEvent) => any;
192
160
  }>, {
193
- themeColor: string;
194
- size: "small" | "medium" | "large";
195
161
  icon: string;
196
- rounded: string;
197
162
  selected: boolean;
198
163
  disabled: boolean;
199
- fillMode: string;
200
- iconSize: string;
201
164
  togglable: boolean;
202
165
  iconClass: string;
203
166
  imageUrl: string;
@@ -313,13 +276,6 @@ export declare interface ButtonGroupProps extends ButtonGroupInterface, ButtonPr
313
276
  * Inherits the native HTML Button. Represents the properties which can be set to a Button.
314
277
  */
315
278
  declare interface ButtonInterface {
316
- /**
317
- * Adds visual weight to the Button and makes it primary ([see example]({% slug primary_button %})).
318
- * **Deprecated**. Use [`themeColor`]({% slug api_buttons_buttonprops %}#toc-themecolor) prop instead.
319
- *
320
- * @deprecated
321
- */
322
- primary?: boolean;
323
279
  /**
324
280
  * Specifies if the Button is disabled ([see example]({% slug disabled_button %})). Defaults to `false`.
325
281
  */
@@ -468,35 +424,24 @@ export declare interface ButtonProps extends ButtonInterface {
468
424
  * - small
469
425
  * - medium
470
426
  * - large
471
- * - null&mdash;Does not set a size `className`.
472
- *
473
- * @default `medium`
474
- */
475
- size?: null | 'small' | 'medium' | 'large';
476
- /**
477
- * Configures the `shape` of the Button.
478
- *
479
- * The available options are:
480
- * - rectangle
481
- * - square
482
- * - null&mdash;Does not set a shape `class`.
483
427
  *
428
+ * @default `undefined`
484
429
  */
485
- shape?: null | 'rectangle' | 'square' | string;
430
+ size?: 'small' | 'medium' | 'large';
486
431
  /**
487
432
  * Configures the `roundness` of the Button.
488
433
  *
489
434
  * The available options are:
435
+ * - none
490
436
  * - small
491
437
  * - medium
492
438
  * - large
493
439
  * - circle
494
440
  * - full
495
- * - null&mdash;Does not set a rounded `className`.
496
441
  *
497
- * @default `medium`
442
+ * @default `undefined`
498
443
  */
499
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
444
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
500
445
  /**
501
446
  * Configures the `fillMode` of the Button.
502
447
  *
@@ -505,11 +450,10 @@ export declare interface ButtonProps extends ButtonInterface {
505
450
  * - outline
506
451
  * - flat
507
452
  * - link
508
- * - null&mdash;Does not set a fillMode `className`.
509
453
  *
510
- * @default `solid`
454
+ * @default `undefined`
511
455
  */
512
- fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | string;
456
+ fillMode?: 'solid' | 'outline' | 'flat' | 'link';
513
457
  /**
514
458
  * Configures the `themeColor` of the Button.
515
459
  *
@@ -524,11 +468,10 @@ export declare interface ButtonProps extends ButtonInterface {
524
468
  * - dark
525
469
  * - light
526
470
  * - inverse
527
- * - null&mdash;Does not set a themeColor `className`.
528
471
  *
529
- * @default `base`
472
+ * @default `undefined`
530
473
  */
531
- themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'dark' | 'light' | 'inverse' | string;
474
+ themeColor?: 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'dark' | 'light' | 'inverse';
532
475
  /**
533
476
  * Sets the `tabIndex` property of the Button.
534
477
  */
@@ -624,23 +567,15 @@ selectedSvgIcon: {
624
567
  type: PropType<SVGIcon>;
625
568
  default: () => SVGIcon_2;
626
569
  };
627
- size: {
628
- type: PropType<"small" | "medium" | "large">;
629
- default: string;
630
- };
631
- rounded: {
632
- type: PropType<string>;
633
- default: string;
634
- };
570
+ size: PropType<"small" | "medium" | "large">;
571
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
635
572
  fillMode: {
636
- type: PropType<string>;
637
- default: string;
638
- validator: (value: any) => any;
573
+ type: PropType<"flat" | "solid" | "outline">;
574
+ validator: (value: string) => boolean;
639
575
  };
640
576
  themeColor: {
641
- type: PropType<string>;
642
- default: string;
643
- validator: (value: any) => any;
577
+ type: PropType<"base" | "info" | "success" | "warning" | "error">;
578
+ validator: (value: string) => boolean;
644
579
  };
645
580
  dataItem: PropType<any>;
646
581
  selected: PropType<boolean>;
@@ -710,23 +645,15 @@ selectedSvgIcon: {
710
645
  type: PropType<SVGIcon>;
711
646
  default: () => SVGIcon_2;
712
647
  };
713
- size: {
714
- type: PropType<"small" | "medium" | "large">;
715
- default: string;
716
- };
717
- rounded: {
718
- type: PropType<string>;
719
- default: string;
720
- };
648
+ size: PropType<"small" | "medium" | "large">;
649
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
721
650
  fillMode: {
722
- type: PropType<string>;
723
- default: string;
724
- validator: (value: any) => any;
651
+ type: PropType<"flat" | "solid" | "outline">;
652
+ validator: (value: string) => boolean;
725
653
  };
726
654
  themeColor: {
727
- type: PropType<string>;
728
- default: string;
729
- validator: (value: any) => any;
655
+ type: PropType<"base" | "info" | "success" | "warning" | "error">;
656
+ validator: (value: string) => boolean;
730
657
  };
731
658
  dataItem: PropType<any>;
732
659
  selected: PropType<boolean>;
@@ -744,12 +671,8 @@ onFocus?: (event: ChipFocusEvent) => any;
744
671
  onKeydown?: (event: ChipKeyboardEvent) => any;
745
672
  onRemove?: (event: ChipRemoveEvent) => any;
746
673
  }>, {
747
- themeColor: string;
748
- size: "small" | "medium" | "large";
749
674
  role: string;
750
- rounded: string;
751
675
  disabled: boolean;
752
- fillMode: string;
753
676
  dir: string;
754
677
  avatar: string | Object | Function;
755
678
  removable: boolean;
@@ -817,18 +740,11 @@ defaultValue: {
817
740
  type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
818
741
  default: () => any;
819
742
  };
820
- size: {
821
- type: StringConstructor;
822
- default: string;
823
- };
824
- rounded: {
825
- type: StringConstructor;
826
- default: string;
827
- };
743
+ size: StringConstructor;
744
+ rounded: StringConstructor;
828
745
  fillMode: {
829
746
  type: StringConstructor;
830
- default: string;
831
- validator: (value: any) => any;
747
+ validator: (value: string) => boolean;
832
748
  };
833
749
  selection: {
834
750
  type: StringConstructor;
@@ -896,18 +812,11 @@ defaultValue: {
896
812
  type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
897
813
  default: () => any;
898
814
  };
899
- size: {
900
- type: StringConstructor;
901
- default: string;
902
- };
903
- rounded: {
904
- type: StringConstructor;
905
- default: string;
906
- };
815
+ size: StringConstructor;
816
+ rounded: StringConstructor;
907
817
  fillMode: {
908
818
  type: StringConstructor;
909
- default: string;
910
- validator: (value: any) => any;
819
+ validator: (value: string) => boolean;
911
820
  };
912
821
  selection: {
913
822
  type: StringConstructor;
@@ -940,10 +849,7 @@ ariaDescribedBy: StringConstructor;
940
849
  onChange?: (event: ChipListChangeEvent) => any;
941
850
  onDatachange?: (event: ChipListDataChangeEvent) => any;
942
851
  }>, {
943
- size: string;
944
- rounded: string;
945
852
  disabled: boolean;
946
- fillMode: string;
947
853
  dir: string;
948
854
  defaultDataItems: unknown[];
949
855
  defaultValue: string | number | Record<string, any> | unknown[];
@@ -1061,24 +967,23 @@ export declare interface ChipListProps extends FormComponentProps, ChipProps {
1061
967
  * - small
1062
968
  * - medium
1063
969
  * - large
1064
- * - null&mdash;Does not set a size `class`.
1065
970
  *
1066
- * @default `medium`
971
+ * @default `undefined`
1067
972
  */
1068
- size?: null | 'small' | 'medium' | 'large';
973
+ size?: 'small' | 'medium' | 'large';
1069
974
  /**
1070
975
  * Configures the `roundness` of the Chip.
1071
976
  *
1072
977
  * The available options are:
978
+ * - none
1073
979
  * - small
1074
980
  * - medium
1075
981
  * - large
1076
982
  * - full
1077
- * - null&mdash;Does not set a rounded `class`.
1078
983
  *
1079
- * @default `medium`
984
+ * @default `undefined`
1080
985
  */
1081
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
986
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
1082
987
  /**
1083
988
  * Configures the `fillMode` of the Chip.
1084
989
  *
@@ -1086,11 +991,10 @@ export declare interface ChipListProps extends FormComponentProps, ChipProps {
1086
991
  * - solid
1087
992
  * - outline
1088
993
  * - flat
1089
- * - null&mdash;Does not set a fillMode `class`.
1090
994
  *
1091
- * @default `solid`
995
+ * @default `undefined`
1092
996
  */
1093
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
997
+ fillMode?: 'solid' | 'outline' | 'flat';
1094
998
  /**
1095
999
  * Represents the selection state of Chip component.
1096
1000
  */
@@ -1208,24 +1112,23 @@ export declare interface ChipProps {
1208
1112
  * - small
1209
1113
  * - medium
1210
1114
  * - large
1211
- * - null&mdash;Does not set a size `class`.
1212
1115
  *
1213
- * @default `medium`
1116
+ * @default `undefined`
1214
1117
  */
1215
- size?: null | 'small' | 'medium' | 'large';
1118
+ size?: 'small' | 'medium' | 'large';
1216
1119
  /**
1217
1120
  * Configures the `roundness` of the Chip.
1218
1121
  *
1219
1122
  * The available options are:
1123
+ * - none
1220
1124
  * - small
1221
1125
  * - medium
1222
1126
  * - large
1223
1127
  * - full
1224
- * - null&mdash;Does not set a rounded `class`.
1225
1128
  *
1226
- * @default `medium`
1129
+ * @default `undefined`
1227
1130
  */
1228
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
1131
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
1229
1132
  /**
1230
1133
  * Configures the `fillMode` of the Chip.
1231
1134
  *
@@ -1233,11 +1136,10 @@ export declare interface ChipProps {
1233
1136
  * - solid
1234
1137
  * - outline
1235
1138
  * - flat
1236
- * - null&mdash;Does not set a fillMode `class`.
1237
1139
  *
1238
- * @default `solid`
1140
+ * @default `undefined`
1239
1141
  */
1240
- fillMode?: null | 'solid' | 'outline' | 'flat' | string;
1142
+ fillMode?: 'solid' | 'outline' | 'flat';
1241
1143
  /**
1242
1144
  * Configures the `themeColor` of the Chip.
1243
1145
  *
@@ -1247,11 +1149,10 @@ export declare interface ChipProps {
1247
1149
  * - success
1248
1150
  * - warning
1249
1151
  * - error
1250
- * - null&mdash;Does not set a themeColor `class`.
1251
1152
  *
1252
- * @default `base`
1153
+ * @default `undefined`
1253
1154
  */
1254
- themeColor?: null | 'base' | 'info' | 'success' | 'warning' | 'error' | string;
1155
+ themeColor?: 'base' | 'info' | 'success' | 'warning' | 'error';
1255
1156
  /**
1256
1157
  * Triggered on Chip removing.
1257
1158
  */
@@ -1330,28 +1231,15 @@ imageUrl: PropType<string>;
1330
1231
  popupSettings: PropType<ButtonsPopupSettings_2>;
1331
1232
  itemRender: PropType<any>;
1332
1233
  item: PropType<any>;
1333
- size: {
1334
- type: PropType<"small" | "medium" | "large">;
1335
- default: string;
1336
- };
1337
- shape: {
1338
- type: PropType<string>;
1339
- default: string;
1340
- validator: (value: any) => any;
1341
- };
1342
- rounded: {
1343
- type: PropType<string>;
1344
- default: string;
1345
- };
1234
+ size: PropType<"small" | "medium" | "large">;
1235
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
1346
1236
  fillMode: {
1347
- type: PropType<string>;
1348
- default: string;
1349
- validator: (value: any) => any;
1237
+ type: PropType<"flat" | "link" | "solid" | "outline">;
1238
+ validator: (value: string) => boolean;
1350
1239
  };
1351
1240
  themeColor: {
1352
- type: PropType<string>;
1353
- default: string;
1354
- validator: (value: any) => any;
1241
+ type: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
1242
+ validator: (value: string) => boolean;
1355
1243
  };
1356
1244
  opened: {
1357
1245
  type: PropType<boolean>;
@@ -1409,28 +1297,15 @@ imageUrl: PropType<string>;
1409
1297
  popupSettings: PropType<ButtonsPopupSettings_2>;
1410
1298
  itemRender: PropType<any>;
1411
1299
  item: PropType<any>;
1412
- size: {
1413
- type: PropType<"small" | "medium" | "large">;
1414
- default: string;
1415
- };
1416
- shape: {
1417
- type: PropType<string>;
1418
- default: string;
1419
- validator: (value: any) => any;
1420
- };
1421
- rounded: {
1422
- type: PropType<string>;
1423
- default: string;
1424
- };
1300
+ size: PropType<"small" | "medium" | "large">;
1301
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
1425
1302
  fillMode: {
1426
- type: PropType<string>;
1427
- default: string;
1428
- validator: (value: any) => any;
1303
+ type: PropType<"flat" | "link" | "solid" | "outline">;
1304
+ validator: (value: string) => boolean;
1429
1305
  };
1430
1306
  themeColor: {
1431
- type: PropType<string>;
1432
- default: string;
1433
- validator: (value: any) => any;
1307
+ type: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
1308
+ validator: (value: string) => boolean;
1434
1309
  };
1435
1310
  opened: {
1436
1311
  type: PropType<boolean>;
@@ -1445,11 +1320,6 @@ onFocus?: (event: DropDownButtonFocusEvent) => any;
1445
1320
  onOpen?: (event: DropDownButtonOpenEvent) => any;
1446
1321
  onItemclick?: (event: DropDownButtonItemClickEvent) => any;
1447
1322
  }>, {
1448
- themeColor: string;
1449
- size: "small" | "medium" | "large";
1450
- rounded: string;
1451
- fillMode: string;
1452
- shape: string;
1453
1323
  items: any[];
1454
1324
  opened: boolean;
1455
1325
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1590,36 +1460,24 @@ export declare interface DropDownButtonProps {
1590
1460
  * - small
1591
1461
  * - medium
1592
1462
  * - large
1593
- * - null&mdash;Does not set a size `className`.
1594
1463
  *
1595
- * @default `medium`
1464
+ * @default `undefined`
1596
1465
  */
1597
- size?: null | 'small' | 'medium' | 'large';
1598
- /**
1599
- * Configures the `shape` of the Button.
1600
- *
1601
- * The available options are:
1602
- * - rectangle
1603
- * - square
1604
- * - null&mdash;Does not set a shape `className`.
1605
- *
1606
- * @default `rectangle`
1607
- */
1608
- shape?: null | 'rectangle' | 'square' | string;
1466
+ size?: 'small' | 'medium' | 'large';
1609
1467
  /**
1610
1468
  * Configures the `roundness` of the Button.
1611
1469
  *
1612
1470
  * The available options are:
1471
+ * - none
1613
1472
  * - small
1614
1473
  * - medium
1615
1474
  * - large
1616
1475
  * - circle
1617
1476
  * - full
1618
- * - null&mdash;Does not set a rounded `className`.
1619
1477
  *
1620
- * @default `medium`
1478
+ * @default `undefined`
1621
1479
  */
1622
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
1480
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
1623
1481
  /**
1624
1482
  * Configures the `fillMode` of the Button.
1625
1483
  *
@@ -1628,11 +1486,10 @@ export declare interface DropDownButtonProps {
1628
1486
  * - outline
1629
1487
  * - flat
1630
1488
  * - link
1631
- * - null&mdash;Does not set a fillMode `className`.
1632
1489
  *
1633
- * @default `solid`
1490
+ * @default `undefined`
1634
1491
  */
1635
- fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | string;
1492
+ fillMode?: 'solid' | 'outline' | 'flat' | 'link';
1636
1493
  /**
1637
1494
  * Configures the `themeColor` of the Button.
1638
1495
  *
@@ -1647,11 +1504,10 @@ export declare interface DropDownButtonProps {
1647
1504
  * - dark
1648
1505
  * - light
1649
1506
  * - inverse
1650
- * - null&mdash;Does not set a themeColor `className`.
1651
1507
  *
1652
- * @default `base`
1508
+ * @default `undefined`
1653
1509
  */
1654
- themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'dark' | 'light' | 'inverse' | string;
1510
+ themeColor?: 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'dark' | 'light' | 'inverse';
1655
1511
  /**
1656
1512
  * Fires when the component is focused ([see example]({% slug events_dropdownbutton %})).
1657
1513
  */
@@ -1709,27 +1565,13 @@ popupSettings: {
1709
1565
  type: PropType<FloatingActionButtonPopupSettings_2>;
1710
1566
  default: () => {};
1711
1567
  };
1712
- shape: {
1713
- type: PropType<string>;
1714
- default: () => FloatingActionButtonShape;
1715
- };
1716
- rounded: {
1717
- type: PropType<string>;
1718
- default: string;
1719
- };
1568
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
1720
1569
  fillMode: {
1721
- type: PropType<string>;
1722
- default: string;
1723
- validator: (value: any) => any;
1724
- };
1725
- size: {
1726
- type: PropType<FloatingActionButtonSize>;
1727
- default: () => FloatingActionButtonSize;
1728
- };
1729
- themeColor: {
1730
- type: PropType<FloatingActionButtonThemeColor>;
1731
- default: () => FloatingActionButtonThemeColor;
1570
+ type: PropType<"flat" | "link" | "solid" | "outline">;
1571
+ validator: (value: string) => boolean;
1732
1572
  };
1573
+ size: PropType<FloatingActionButtonSize>;
1574
+ themeColor: PropType<FloatingActionButtonThemeColor>;
1733
1575
  }>, {
1734
1576
  chipRef: Ref<any, any>;
1735
1577
  kendoAnchorRef: Ref<any, any>;
@@ -1801,27 +1643,13 @@ popupSettings: {
1801
1643
  type: PropType<FloatingActionButtonPopupSettings_2>;
1802
1644
  default: () => {};
1803
1645
  };
1804
- shape: {
1805
- type: PropType<string>;
1806
- default: () => FloatingActionButtonShape;
1807
- };
1808
- rounded: {
1809
- type: PropType<string>;
1810
- default: string;
1811
- };
1646
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
1812
1647
  fillMode: {
1813
- type: PropType<string>;
1814
- default: string;
1815
- validator: (value: any) => any;
1816
- };
1817
- size: {
1818
- type: PropType<FloatingActionButtonSize>;
1819
- default: () => FloatingActionButtonSize;
1820
- };
1821
- themeColor: {
1822
- type: PropType<FloatingActionButtonThemeColor>;
1823
- default: () => FloatingActionButtonThemeColor;
1648
+ type: PropType<"flat" | "link" | "solid" | "outline">;
1649
+ validator: (value: string) => boolean;
1824
1650
  };
1651
+ size: PropType<FloatingActionButtonSize>;
1652
+ themeColor: PropType<FloatingActionButtonThemeColor>;
1825
1653
  }>> & Readonly<{
1826
1654
  onClick?: (event: FloatingActionButtonEvent) => any;
1827
1655
  onBlur?: (event: FloatingActionButtonEvent) => any;
@@ -1833,12 +1661,7 @@ onMouseup?: (event: FloatingActionButtonEvent) => any;
1833
1661
  onOpen?: (event: FloatingActionButtonEvent) => any;
1834
1662
  onItemclick?: (event: FloatingActionButtonItemEvent) => any;
1835
1663
  }>, {
1836
- themeColor: FloatingActionButtonThemeColor;
1837
- size: FloatingActionButtonSize;
1838
- rounded: string;
1839
1664
  disabled: boolean;
1840
- fillMode: string;
1841
- shape: string;
1842
1665
  opened: boolean;
1843
1666
  align: FloatingActionButtonAlign;
1844
1667
  positionMode: FloatingActionButtonPositionMode;
@@ -2113,7 +1936,7 @@ export declare interface FloatingActionButtonProps extends Omit_2<any, 'onBlur'
2113
1936
  id?: string;
2114
1937
  /**
2115
1938
  * Specifies if the Floating Action Button is
2116
- * disabled [see example]({% slug disabled_floatingactionbutton %}). Defaults to `false`.
1939
+ * disabled [see example]({% slug disabled_floatingactionbutton %}). Defaults to `false`.
2117
1940
  */
2118
1941
  disabled?: boolean;
2119
1942
  /**
@@ -2188,34 +2011,20 @@ export declare interface FloatingActionButtonProps extends Omit_2<any, 'onBlur'
2188
2011
  * * 'absolute'
2189
2012
  */
2190
2013
  positionMode?: FloatingActionButtonPositionMode;
2191
- /**
2192
- * Specifies the shape of the Floating Action Button
2193
- * [see example]({% slug appearance_floatingactionbutton %}).
2194
- *
2195
- * The possible values are:
2196
- * * `pill`(Default)&mdash;Applies border radius equal to half of the height of the FloatingActionButton.
2197
- * If the Floating Action Button contains only icon, the shape will be circle.
2198
- * * `circle`&mdash;Applies circle shape on the FloatingActionButton.
2199
- * * `rectangle`&mdash;Applies no border radius on the FloatingActionButton.
2200
- * * `rounded`&mdash;Applies default border radius on the FloatingActionButton.
2201
- * * `square`&mdash;Applies square shape on the FloatingActionButton.
2202
- *
2203
- */
2204
- shape?: null | 'rectangle' | 'square' | string;
2205
2014
  /**
2206
2015
  * Configures the `roundness` of the Floating Action Button.
2207
2016
  *
2208
2017
  * The available options are:
2018
+ * - none
2209
2019
  * - small
2210
2020
  * - medium
2211
2021
  * - large
2212
2022
  * - circle
2213
2023
  * - full
2214
- * - null&mdash;Does not set a rounded `class`.
2215
2024
  *
2216
- * @default `medium`
2025
+ * @default `undefined`
2217
2026
  */
2218
- rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
2027
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
2219
2028
  /**
2220
2029
  * Configures the `fillMode` of the Floating Action Button.
2221
2030
  *
@@ -2224,11 +2033,10 @@ export declare interface FloatingActionButtonProps extends Omit_2<any, 'onBlur'
2224
2033
  * - outline
2225
2034
  * - flat
2226
2035
  * - link
2227
- * - null&mdash;Does not set a fillMode `class`.
2228
2036
  *
2229
- * @default `solid`
2037
+ * @default `undefined`
2230
2038
  */
2231
- fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | string;
2039
+ fillMode?: 'solid' | 'outline' | 'flat' | 'link';
2232
2040
  /**
2233
2041
  * Specifies the size of the Floating Action Button
2234
2042
  * [see example]({% slug appearance_floatingactionbutton %}).
@@ -2329,20 +2137,6 @@ export declare interface FloatingActionButtonProps extends Omit_2<any, 'onBlur'
2329
2137
  onClose?: (event: FloatingActionButtonEvent) => void;
2330
2138
  }
2331
2139
 
2332
- /**
2333
- * Specifies the shape of the Floating Action Button.
2334
- *
2335
- * The possible values are:
2336
- * * `full`(Default)&mdash;Applies border radius equal to half of the height of the FloatingActionButton.
2337
- * If the Floating Action Button contains only icon, the shape will be circle.
2338
- * * `circle`&mdash;Applies circle shape on the FloatingActionButton.
2339
- * * `rectangle`&mdash;Applies no border radius on the FloatingActionButton.
2340
- * * `rounded`&mdash;Applies default border radius on the FloatingActionButton.
2341
- * * `square`&mdash;Applies square shape on the FloatingActionButton.
2342
- *
2343
- */
2344
- export declare type FloatingActionButtonShape = 'rectangle' | 'rounded' | 'pill' | 'circle' | 'square';
2345
-
2346
2140
  /**
2347
2141
  * Specifies the size of the Floating Action Button.
2348
2142
  *
@@ -2434,28 +2228,15 @@ default: SVGIcon_2;
2434
2228
  };
2435
2229
  iconSize: {
2436
2230
  type: PropType<string>;
2437
- default: string;
2438
2231
  };
2439
2232
  disabled: {
2440
2233
  type: PropType<boolean>;
2441
2234
  default: any;
2442
2235
  };
2443
- size: {
2444
- type: PropType<"small" | "medium" | "large">;
2445
- default: string;
2446
- };
2447
- rounded: {
2448
- type: PropType<string>;
2449
- default: string;
2450
- };
2451
- fillMode: {
2452
- type: PropType<string>;
2453
- default: string;
2454
- };
2455
- themeColor: {
2456
- type: PropType<string>;
2457
- default: string;
2458
- };
2236
+ size: PropType<"small" | "medium" | "large">;
2237
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
2238
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
2239
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
2459
2240
  title: {
2460
2241
  type: PropType<string>;
2461
2242
  default: string;
@@ -2506,28 +2287,15 @@ default: SVGIcon_2;
2506
2287
  };
2507
2288
  iconSize: {
2508
2289
  type: PropType<string>;
2509
- default: string;
2510
2290
  };
2511
2291
  disabled: {
2512
2292
  type: PropType<boolean>;
2513
2293
  default: any;
2514
2294
  };
2515
- size: {
2516
- type: PropType<"small" | "medium" | "large">;
2517
- default: string;
2518
- };
2519
- rounded: {
2520
- type: PropType<string>;
2521
- default: string;
2522
- };
2523
- fillMode: {
2524
- type: PropType<string>;
2525
- default: string;
2526
- };
2527
- themeColor: {
2528
- type: PropType<string>;
2529
- default: string;
2530
- };
2295
+ size: PropType<"small" | "medium" | "large">;
2296
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
2297
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
2298
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
2531
2299
  title: {
2532
2300
  type: PropType<string>;
2533
2301
  default: string;
@@ -2539,12 +2307,7 @@ default: string;
2539
2307
  }>> & Readonly<{}>, {
2540
2308
  title: string;
2541
2309
  ariaLabel: string;
2542
- themeColor: string;
2543
- size: "small" | "medium" | "large";
2544
- rounded: string;
2545
2310
  disabled: boolean;
2546
- fillMode: string;
2547
- iconSize: string;
2548
2311
  svgIcon: SVGIcon;
2549
2312
  lang: string;
2550
2313
  continuous: boolean;
@@ -2558,7 +2321,7 @@ export declare enum SpeechToTextButtonMode {
2558
2321
  None = "None"
2559
2322
  }
2560
2323
 
2561
- export declare interface SpeechToTextButtonProps extends Omit<ButtonProps, 'shape'> {
2324
+ export declare interface SpeechToTextButtonProps extends ButtonProps {
2562
2325
  /**
2563
2326
  * The valid BCP 47 language tag to use for speech recognition. Defaults to `en-US`.
2564
2327
  */
@@ -2663,23 +2426,15 @@ tabIndex: PropType<number>;
2663
2426
  disabled: PropType<boolean>;
2664
2427
  icon: PropType<string>;
2665
2428
  svgIcon: PropType<SVGIcon>;
2666
- size: {
2667
- type: PropType<"small" | "medium" | "large">;
2668
- default: string;
2669
- };
2670
- rounded: {
2671
- type: PropType<string>;
2672
- default: string;
2673
- };
2429
+ size: PropType<"small" | "medium" | "large">;
2430
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
2674
2431
  fillMode: {
2675
- type: PropType<string>;
2676
- default: string;
2677
- validator: (value: any) => any;
2432
+ type: PropType<"flat" | "link" | "solid" | "outline">;
2433
+ validator: (value: string) => boolean;
2678
2434
  };
2679
2435
  themeColor: {
2680
- type: PropType<string>;
2681
- default: string;
2682
- validator: (value: any) => any;
2436
+ type: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
2437
+ validator: (value: string) => boolean;
2683
2438
  };
2684
2439
  opened: {
2685
2440
  type: PropType<boolean>;
@@ -2740,23 +2495,15 @@ tabIndex: PropType<number>;
2740
2495
  disabled: PropType<boolean>;
2741
2496
  icon: PropType<string>;
2742
2497
  svgIcon: PropType<SVGIcon>;
2743
- size: {
2744
- type: PropType<"small" | "medium" | "large">;
2745
- default: string;
2746
- };
2747
- rounded: {
2748
- type: PropType<string>;
2749
- default: string;
2750
- };
2498
+ size: PropType<"small" | "medium" | "large">;
2499
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
2751
2500
  fillMode: {
2752
- type: PropType<string>;
2753
- default: string;
2754
- validator: (value: any) => any;
2501
+ type: PropType<"flat" | "link" | "solid" | "outline">;
2502
+ validator: (value: string) => boolean;
2755
2503
  };
2756
2504
  themeColor: {
2757
- type: PropType<string>;
2758
- default: string;
2759
- validator: (value: any) => any;
2505
+ type: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
2506
+ validator: (value: string) => boolean;
2760
2507
  };
2761
2508
  opened: {
2762
2509
  type: PropType<boolean>;
@@ -2778,10 +2525,6 @@ onOpen?: (event: SplitButtonOpenEvent) => any;
2778
2525
  onItemclick?: (event: SplitButtonItemClickEvent) => any;
2779
2526
  onButtonclick?: (event: SplitButtonClickEvent) => any;
2780
2527
  }>, {
2781
- themeColor: string;
2782
- size: "small" | "medium" | "large";
2783
- rounded: string;
2784
- fillMode: string;
2785
2528
  items: any[];
2786
2529
  opened: boolean;
2787
2530
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -2873,17 +2616,15 @@ default: () => any;
2873
2616
  };
2874
2617
  size: {
2875
2618
  type: PropType<"small" | "medium" | "large">;
2876
- default: string;
2877
- validator: (value: any) => any;
2619
+ validator: (value: string) => boolean;
2878
2620
  };
2879
2621
  fillMode: {
2880
- type: PropType<string>;
2881
- default: string;
2882
- validator: (value: any) => any;
2622
+ type: PropType<"flat" | "solid" | "outline">;
2623
+ validator: (value: string) => boolean;
2883
2624
  };
2884
2625
  ariaLabel: PropType<string>;
2885
2626
  overflow: {
2886
- type: PropType<"section" | "scroll" | "none">;
2627
+ type: PropType<"none" | "section" | "scroll">;
2887
2628
  default: string;
2888
2629
  validator: (value: any) => any;
2889
2630
  };
@@ -2953,17 +2694,15 @@ default: () => any;
2953
2694
  };
2954
2695
  size: {
2955
2696
  type: PropType<"small" | "medium" | "large">;
2956
- default: string;
2957
- validator: (value: any) => any;
2697
+ validator: (value: string) => boolean;
2958
2698
  };
2959
2699
  fillMode: {
2960
- type: PropType<string>;
2961
- default: string;
2962
- validator: (value: any) => any;
2700
+ type: PropType<"flat" | "solid" | "outline">;
2701
+ validator: (value: string) => boolean;
2963
2702
  };
2964
2703
  ariaLabel: PropType<string>;
2965
2704
  overflow: {
2966
- type: PropType<"section" | "scroll" | "none">;
2705
+ type: PropType<"none" | "section" | "scroll">;
2967
2706
  default: string;
2968
2707
  validator: (value: any) => any;
2969
2708
  };
@@ -2985,9 +2724,7 @@ default: number;
2985
2724
  onResize?: (event: ToolbarResizeEvent) => any;
2986
2725
  }>, {
2987
2726
  tabIndex: number;
2988
- size: "small" | "medium" | "large";
2989
- overflow: "section" | "scroll" | "none";
2990
- fillMode: string;
2727
+ overflow: "none" | "section" | "scroll";
2991
2728
  dir: string;
2992
2729
  keyboardNavigation: boolean;
2993
2730
  buttons: string[];
@@ -3098,11 +2835,10 @@ export declare interface ToolbarProps extends ToolbarOverflowProps {
3098
2835
  * - `small`&mdash;sets the padding of the component to 4px 4px
3099
2836
  * - `medium`&mdash;sets the padding of the component to 8px 8px
3100
2837
  * - `large`&mdash;sets the padding of the component to 10px 10px
3101
- * - `null`&mdash;removes the styling related to the Toolbar sizing option
3102
2838
  *
3103
- * @default `medium`
2839
+ * @default `undefined`
3104
2840
  */
3105
- size?: null | 'small' | 'medium' | 'large';
2841
+ size?: 'small' | 'medium' | 'large';
3106
2842
  /**
3107
2843
  * Configures the `fillMode` of the Toolbar.
3108
2844
  *
@@ -3110,11 +2846,10 @@ export declare interface ToolbarProps extends ToolbarOverflowProps {
3110
2846
  * - solid&mdash;Applies a `background` color and `solid borders`.
3111
2847
  * - flat&mdash;Sets a `transparent background` and `solid bottom border`.
3112
2848
  * - outline&mdash;Sets a `transparent background` and `solid borders`.
3113
- * - null&mdash;This option removes the built-in fill mode styles of the Toolbar. Allows for custom `background` and `border` styles.
3114
2849
  *
3115
- * @default `solid`
2850
+ * @default `undefined`
3116
2851
  */
3117
- fillMode?: null | 'solid' | 'flat' | 'outline' | string;
2852
+ fillMode?: 'solid' | 'flat' | 'outline';
3118
2853
  /**
3119
2854
  * Defines the `aria-label` HTML attribute of the Toolbar.
3120
2855
  */