grommet 2.41.0 → 2.42.0

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.
Files changed (117) hide show
  1. package/components/AccordionPanel/AccordionPanel.js +1 -7
  2. package/components/Box/Box.js +1 -1
  3. package/components/Box/StyledBox.js +1 -6
  4. package/components/Box/index.d.ts +1 -0
  5. package/components/Box/propTypes.js +1 -0
  6. package/components/Button/Button.js +1 -0
  7. package/components/Button/StyledButton.js +3 -2
  8. package/components/Calendar/Calendar.js +90 -56
  9. package/components/Calendar/StyledCalendar.js +89 -7
  10. package/components/Calendar/utils.js +16 -2
  11. package/components/Carousel/Carousel.js +1 -1
  12. package/components/Chart/Chart.js +3 -3
  13. package/components/CheckBox/CheckBox.js +3 -2
  14. package/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  15. package/components/Clock/Digital.js +1 -1
  16. package/components/Data/stories/Infinite.js +2 -2
  17. package/components/Data/stories/OnSelect.js +2 -2
  18. package/components/Data/stories/SpaceX.js +2 -2
  19. package/components/Data/stories/StarWars.js +1 -1
  20. package/components/DataFilter/DataFilter.js +1 -1
  21. package/components/DataSort/DataSort.js +46 -14
  22. package/components/DataSort/stories/Simple.js +10 -1
  23. package/components/DataTable/Body.js +14 -8
  24. package/components/DataTable/GroupedBody.js +3 -3
  25. package/components/DataTable/buildState.js +5 -1
  26. package/components/DataTable/stories/SpaceX.js +2 -2
  27. package/components/DataTable/stories/SpaceXUngrouped.js +1 -1
  28. package/components/FileInput/index.d.ts +2 -3
  29. package/components/Layer/Layer.js +1 -1
  30. package/components/Layer/index.d.ts +2 -0
  31. package/components/List/List.js +18 -12
  32. package/components/Meter/Circle.js +2 -2
  33. package/components/Notification/Notification.js +18 -6
  34. package/components/Notification/index.d.ts +1 -0
  35. package/components/Notification/propTypes.js +1 -0
  36. package/components/Pagination/Pagination.js +4 -2
  37. package/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  38. package/components/Select/Select.js +7 -3
  39. package/components/Select/SelectContainer.js +41 -34
  40. package/components/Select/index.d.ts +1 -1
  41. package/components/Select/utils.js +13 -2
  42. package/components/SelectMultiple/SelectMultiple.js +10 -0
  43. package/components/SelectMultiple/SelectMultipleContainer.js +28 -2
  44. package/components/SelectMultiple/SelectMultipleValue.js +14 -1
  45. package/components/SkipLinks/index.d.ts +1 -0
  46. package/components/SkipLinks/propTypes.js +1 -0
  47. package/components/Tab/Tab.js +1 -1
  48. package/components/Tag/Tag.js +11 -7
  49. package/components/ToggleGroup/StyledToggleGroup.js +12 -5
  50. package/components/ToggleGroup/ToggleGroup.js +21 -10
  51. package/components/WorldMap/WorldMap.js +1 -1
  52. package/es6/components/AccordionPanel/AccordionPanel.js +2 -9
  53. package/es6/components/Box/Box.js +1 -1
  54. package/es6/components/Box/StyledBox.js +1 -6
  55. package/es6/components/Box/index.d.ts +1 -0
  56. package/es6/components/Box/propTypes.js +1 -0
  57. package/es6/components/Button/Button.js +1 -0
  58. package/es6/components/Button/StyledButton.js +4 -3
  59. package/es6/components/Calendar/Calendar.js +89 -56
  60. package/es6/components/Calendar/StyledCalendar.js +90 -8
  61. package/es6/components/Calendar/utils.js +15 -1
  62. package/es6/components/Carousel/Carousel.js +1 -1
  63. package/es6/components/Chart/Chart.js +3 -3
  64. package/es6/components/CheckBox/CheckBox.js +3 -2
  65. package/es6/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  66. package/es6/components/Clock/Digital.js +1 -1
  67. package/es6/components/Data/stories/Infinite.js +2 -2
  68. package/es6/components/Data/stories/OnSelect.js +2 -2
  69. package/es6/components/Data/stories/SpaceX.js +2 -2
  70. package/es6/components/Data/stories/StarWars.js +1 -1
  71. package/es6/components/DataFilter/DataFilter.js +1 -1
  72. package/es6/components/DataSort/DataSort.js +46 -14
  73. package/es6/components/DataSort/stories/Simple.js +10 -1
  74. package/es6/components/DataTable/Body.js +14 -8
  75. package/es6/components/DataTable/GroupedBody.js +3 -3
  76. package/es6/components/DataTable/buildState.js +5 -1
  77. package/es6/components/DataTable/stories/SpaceX.js +2 -2
  78. package/es6/components/DataTable/stories/SpaceXUngrouped.js +1 -1
  79. package/es6/components/FileInput/index.d.ts +2 -3
  80. package/es6/components/Layer/Layer.js +1 -1
  81. package/es6/components/Layer/index.d.ts +2 -0
  82. package/es6/components/List/List.js +18 -12
  83. package/es6/components/Meter/Circle.js +2 -2
  84. package/es6/components/Notification/Notification.js +18 -6
  85. package/es6/components/Notification/index.d.ts +1 -0
  86. package/es6/components/Notification/propTypes.js +1 -0
  87. package/es6/components/Pagination/Pagination.js +4 -2
  88. package/es6/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  89. package/es6/components/Select/Select.js +8 -4
  90. package/es6/components/Select/SelectContainer.js +41 -34
  91. package/es6/components/Select/index.d.ts +1 -1
  92. package/es6/components/Select/utils.js +15 -3
  93. package/es6/components/SelectMultiple/SelectMultiple.js +10 -0
  94. package/es6/components/SelectMultiple/SelectMultipleContainer.js +28 -2
  95. package/es6/components/SelectMultiple/SelectMultipleValue.js +14 -1
  96. package/es6/components/SkipLinks/index.d.ts +1 -0
  97. package/es6/components/SkipLinks/propTypes.js +1 -0
  98. package/es6/components/Tab/Tab.js +1 -1
  99. package/es6/components/Tag/Tag.js +11 -7
  100. package/es6/components/ToggleGroup/StyledToggleGroup.js +12 -5
  101. package/es6/components/ToggleGroup/ToggleGroup.js +22 -11
  102. package/es6/components/WorldMap/WorldMap.js +1 -1
  103. package/es6/themes/base.d.ts +204 -6
  104. package/es6/themes/base.js +165 -1
  105. package/es6/utils/background.js +1 -1
  106. package/es6/utils/index.js +2 -1
  107. package/es6/utils/styles.js +8 -0
  108. package/es6/utils/useId.js +16 -0
  109. package/grommet.min.js +1 -1
  110. package/grommet.min.js.map +1 -1
  111. package/package.json +33 -33
  112. package/themes/base.d.ts +204 -6
  113. package/themes/base.js +165 -1
  114. package/utils/background.js +1 -1
  115. package/utils/index.js +6 -0
  116. package/utils/styles.js +9 -1
  117. package/utils/useId.js +19 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.41.0",
3
+ "version": "2.42.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -54,27 +54,27 @@
54
54
  "styled-components": "^5.1.0 || ^6.0.0"
55
55
  },
56
56
  "dependencies": {
57
- "@emotion/is-prop-valid": "^1.2.1",
57
+ "@emotion/is-prop-valid": "^1.3.1",
58
58
  "grommet-icons": "^4.12.1",
59
- "hoist-non-react-statics": "^3.2.0",
59
+ "hoist-non-react-statics": "^3.3.2",
60
60
  "markdown-to-jsx": "7.4.4",
61
61
  "prop-types": "^15.8.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@babel/cli": "^7.25.6",
65
- "@babel/core": "^7.25.2",
66
- "@babel/eslint-parser": "^7.25.1",
67
- "@babel/node": "^7.25.0",
64
+ "@babel/cli": "^7.25.7",
65
+ "@babel/core": "^7.25.8",
66
+ "@babel/eslint-parser": "^7.25.8",
67
+ "@babel/node": "^7.25.7",
68
68
  "@babel/plugin-proposal-class-properties": "^7.18.6",
69
- "@babel/plugin-proposal-do-expressions": "^7.24.7",
70
- "@babel/plugin-proposal-export-default-from": "^7.24.7",
71
- "@babel/plugin-proposal-pipeline-operator": "^7.24.7",
72
- "@babel/plugin-transform-class-properties": "^7.25.4",
73
- "@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
74
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
75
- "@babel/plugin-transform-optional-chaining": "^7.24.8",
76
- "@babel/preset-env": "^7.25.4",
77
- "@babel/preset-react": "^7.24.7",
69
+ "@babel/plugin-proposal-do-expressions": "^7.25.8",
70
+ "@babel/plugin-proposal-export-default-from": "^7.25.8",
71
+ "@babel/plugin-proposal-pipeline-operator": "^7.25.7",
72
+ "@babel/plugin-transform-class-properties": "^7.25.7",
73
+ "@babel/plugin-transform-logical-assignment-operators": "^7.25.8",
74
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.8",
75
+ "@babel/plugin-transform-optional-chaining": "^7.25.8",
76
+ "@babel/preset-env": "^7.25.8",
77
+ "@babel/preset-react": "^7.25.7",
78
78
  "@storybook/addon-a11y": "7.0.20",
79
79
  "@storybook/addon-storysource": "7.0.20",
80
80
  "@storybook/addon-toolbars": "7.0.20",
@@ -83,23 +83,23 @@
83
83
  "@storybook/react-webpack5": "7.0.20",
84
84
  "@storybook/source-loader": "7.0.20",
85
85
  "@testing-library/dom": "^10.4.0",
86
- "@testing-library/jest-dom": "^6.5.0",
86
+ "@testing-library/jest-dom": "^6.6.0",
87
87
  "@testing-library/react": "^16.0.1",
88
88
  "@testing-library/testcafe": "^5.0.1",
89
89
  "@testing-library/user-event": "^14.5.2",
90
90
  "@types/jest": "^29.5.13",
91
91
  "@types/jest-axe": "^3.5.9",
92
- "@types/node": "^22.5.4",
93
- "@types/react": "^18.3.5",
94
- "@types/react-dom": "^18.3.0",
92
+ "@types/node": "^22.5.5",
93
+ "@types/react": "^18.3.11",
94
+ "@types/react-dom": "^18.3.1",
95
95
  "@types/styled-components": "^5.1.34",
96
96
  "babel-core": "^7.0.0-bridge.0",
97
97
  "babel-jest": "^29.7.0",
98
- "babel-loader": "^9.1.3",
98
+ "babel-loader": "^9.2.1",
99
99
  "babel-plugin-styled-components": "^2.1.4",
100
100
  "babel-plugin-transform-imports": "^2.0.0",
101
101
  "bundlesize2": "^0.0.31",
102
- "chromatic": "^11.10.0",
102
+ "chromatic": "^11.12.5",
103
103
  "clean-webpack-plugin": "^4.0.0",
104
104
  "copy-webpack-plugin": "^12.0.2",
105
105
  "copyfiles": "^2.4.1",
@@ -110,21 +110,21 @@
110
110
  "eslint-config-airbnb": "^19.0.4",
111
111
  "eslint-config-prettier": "^9.1.0",
112
112
  "eslint-plugin-babel": "^5.3.1",
113
- "eslint-plugin-import": "^2.29.1",
113
+ "eslint-plugin-import": "^2.31.0",
114
114
  "eslint-plugin-jsx-a11y": "^6.10.0",
115
115
  "eslint-plugin-prettier": "4.2.1",
116
- "eslint-plugin-react": "^7.34.3",
117
- "eslint-plugin-react-hooks": "^4.6.2",
118
- "eslint-plugin-testing-library": "^6.2.2",
116
+ "eslint-plugin-react": "^7.37.1",
117
+ "eslint-plugin-react-hooks": "^5.0.0",
118
+ "eslint-plugin-testing-library": "^6.3.0",
119
119
  "fs-extra": "^11.2.0",
120
- "grommet-theme-hpe": "^5.6.0",
120
+ "grommet-theme-hpe": "^5.7.0",
121
121
  "jest": "^29.7.0",
122
122
  "jest-axe": "^9.0.0",
123
123
  "jest-cli": "^29.7.0",
124
124
  "jest-environment-jsdom": "^29.7.0",
125
125
  "jest-styled-components": "7.0.5",
126
- "jsdom": "^24.1.3",
127
- "postcss": "^8.4.45",
126
+ "jsdom": "^25.0.1",
127
+ "postcss": "^8.4.47",
128
128
  "pre-commit": "^1.2.2",
129
129
  "prettier": "^2.8.8",
130
130
  "pretty-quick": "^3.1.3",
@@ -134,7 +134,7 @@
134
134
  "react-is": "^18.3.1",
135
135
  "react-shadow": "^20.5.0",
136
136
  "regenerator-runtime": "^0.14.1",
137
- "simple-git": "^3.26.0",
137
+ "simple-git": "^3.27.0",
138
138
  "storybook": "7.0.20",
139
139
  "styled-components": "^6.1.13",
140
140
  "tarball-extract": "^0.0.6",
@@ -143,8 +143,8 @@
143
143
  "testcafe-reporter-xunit": "^2.2.3",
144
144
  "ts-jest": "^29.2.5",
145
145
  "ts-loader": "^9.5.1",
146
- "typescript": "^5.6.2",
147
- "webpack": "^5.94.0",
146
+ "typescript": "^5.6.3",
147
+ "webpack": "^5.95.0",
148
148
  "webpack-cli": "^5.1.4",
149
149
  "webpack-dev-server": "^5.1.0"
150
150
  },
@@ -208,7 +208,7 @@
208
208
  "bundlesize": [
209
209
  {
210
210
  "path": "./dist/grommet.min.js",
211
- "maxSize": "172 kB"
211
+ "maxSize": "173 kB"
212
212
  }
213
213
  ],
214
214
  "keywords": [
package/themes/base.d.ts CHANGED
@@ -150,6 +150,7 @@ interface ButtonKindType {
150
150
  | boolean;
151
151
  color?: ColorType;
152
152
  direction?: DirectionType;
153
+ elevation?: ElevationType;
153
154
  font?: {
154
155
  size?: string;
155
156
  weight?: number | string;
@@ -182,12 +183,14 @@ interface ButtonType {
182
183
  };
183
184
  };
184
185
  gap?: GapType;
186
+ background?: BackgroundType;
185
187
  border?: {
186
188
  color?: ColorType;
187
189
  width?: string;
188
190
  radius?: string;
189
191
  };
190
192
  color?: ColorType;
193
+ elevation?: ElevationType;
191
194
  extend?: ExtendType;
192
195
  minWidth?: string;
193
196
  maxWidth?: string;
@@ -381,6 +384,7 @@ export interface ThemeType {
381
384
  medium?: string;
382
385
  large?: string;
383
386
  xlarge?: string;
387
+ [x: string]: string;
384
388
  };
385
389
  dark?: {
386
390
  none?: string;
@@ -389,6 +393,7 @@ export interface ThemeType {
389
393
  medium?: string;
390
394
  large?: string;
391
395
  xlarge?: string;
396
+ [x: string]: string;
392
397
  };
393
398
  };
394
399
  focus?: {
@@ -549,10 +554,50 @@ export interface ThemeType {
549
554
  button?: ButtonType;
550
555
  calendar?: {
551
556
  day?: {
557
+ hover?: {
558
+ background?: BackgroundType;
559
+ color?: ColorType;
560
+ };
561
+ selected?: {
562
+ background?: BackgroundType;
563
+ color?: ColorType;
564
+ font?: {
565
+ weight?: string | number;
566
+ };
567
+ hover?: {
568
+ background?: BackgroundType;
569
+ color?: ColorType;
570
+ };
571
+ };
572
+ inRange?: {
573
+ color?: ColorType;
574
+ font?: {
575
+ weight?: string | number;
576
+ };
577
+ hover?: {
578
+ background?: BackgroundType;
579
+ color?: ColorType;
580
+ };
581
+ };
552
582
  extend?: ExtendType;
553
583
  };
584
+ range?: {
585
+ background?: BackgroundType;
586
+ };
554
587
  extend?: ExtendType;
555
588
  small?: {
589
+ day?: {
590
+ round?: RoundType;
591
+ };
592
+ range?: {
593
+ round?: RoundType;
594
+ start?: {
595
+ round?: RoundType;
596
+ };
597
+ end?: {
598
+ round?: RoundType;
599
+ };
600
+ };
556
601
  title?: TextProps;
557
602
  fontSize?: string;
558
603
  lineHeight?: number;
@@ -560,6 +605,18 @@ export interface ThemeType {
560
605
  slideDuration?: string;
561
606
  };
562
607
  medium?: {
608
+ day?: {
609
+ round?: RoundType;
610
+ };
611
+ range?: {
612
+ round?: RoundType;
613
+ start?: {
614
+ round?: RoundType;
615
+ };
616
+ end?: {
617
+ round?: RoundType;
618
+ };
619
+ };
563
620
  title?: TextProps;
564
621
  fontSize?: string;
565
622
  lineHeight?: number;
@@ -567,6 +624,18 @@ export interface ThemeType {
567
624
  slideDuration?: string;
568
625
  };
569
626
  large?: {
627
+ day?: {
628
+ round?: RoundType;
629
+ };
630
+ range?: {
631
+ round?: RoundType;
632
+ start?: {
633
+ round?: RoundType;
634
+ };
635
+ end?: {
636
+ round?: RoundType;
637
+ };
638
+ };
570
639
  title?: TextProps;
571
640
  fontSize?: string;
572
641
  lineHeight?: number;
@@ -726,6 +795,9 @@ export interface ThemeType {
726
795
  dataTable?: {
727
796
  body?: {
728
797
  extend?: ExtendType;
798
+ selected?: {
799
+ background?: BackgroundType;
800
+ };
729
801
  };
730
802
  container?: BoxProps;
731
803
  header?: {
@@ -886,6 +958,13 @@ export interface ThemeType {
886
958
  margin?: MarginType;
887
959
  round?: RoundType;
888
960
  extend?: ExtendType;
961
+ survey?: {
962
+ label?: {
963
+ margin?: MarginType;
964
+ size?: string;
965
+ color?: ColorType;
966
+ };
967
+ };
889
968
  };
890
969
  grommet?: {
891
970
  extend?: ExtendType;
@@ -1162,66 +1241,174 @@ export interface ThemeType {
1162
1241
  icon?: React.ReactNode | Icon;
1163
1242
  background?: BackgroundType;
1164
1243
  color?: ColorType;
1244
+ message?: {
1245
+ color?: ColorType;
1246
+ };
1247
+ title?: {
1248
+ color?: ColorType;
1249
+ };
1165
1250
  global?: {
1166
1251
  background?: BackgroundType;
1252
+ message?: {
1253
+ color?: ColorType;
1254
+ };
1255
+ title?: {
1256
+ color?: ColorType;
1257
+ };
1167
1258
  };
1168
1259
  toast?: {
1169
1260
  background?: BackgroundType;
1261
+ message?: {
1262
+ color?: ColorType;
1263
+ };
1264
+ title?: {
1265
+ color?: ColorType;
1266
+ };
1170
1267
  };
1171
1268
  };
1172
1269
  warning?: {
1173
1270
  icon?: React.ReactNode | Icon;
1174
1271
  background?: BackgroundType;
1175
1272
  color?: ColorType;
1273
+ message?: {
1274
+ color?: ColorType;
1275
+ };
1276
+ title?: {
1277
+ color?: ColorType;
1278
+ };
1176
1279
  global?: {
1177
1280
  background?: BackgroundType;
1281
+ message?: {
1282
+ color?: ColorType;
1283
+ };
1284
+ title?: {
1285
+ color?: ColorType;
1286
+ };
1178
1287
  };
1179
1288
  toast?: {
1180
1289
  background?: BackgroundType;
1290
+ message?: {
1291
+ color?: ColorType;
1292
+ };
1293
+ title?: {
1294
+ color?: ColorType;
1295
+ };
1181
1296
  };
1182
1297
  };
1183
1298
  normal?: {
1184
1299
  icon?: React.ReactNode | Icon;
1185
1300
  background?: BackgroundType;
1186
1301
  color?: ColorType;
1302
+ message?: {
1303
+ color?: ColorType;
1304
+ };
1305
+ title?: {
1306
+ color?: ColorType;
1307
+ };
1187
1308
  global?: {
1188
1309
  background?: BackgroundType;
1310
+ message?: {
1311
+ color?: ColorType;
1312
+ };
1313
+ title?: {
1314
+ color?: ColorType;
1315
+ };
1189
1316
  };
1190
1317
  toast?: {
1191
1318
  background?: BackgroundType;
1319
+ message?: {
1320
+ color?: ColorType;
1321
+ };
1322
+ title?: {
1323
+ color?: ColorType;
1324
+ };
1192
1325
  };
1193
1326
  };
1194
1327
  info?: {
1195
1328
  icon?: React.ReactNode | Icon;
1196
1329
  background?: BackgroundType;
1197
1330
  color?: ColorType;
1331
+ message?: {
1332
+ color?: ColorType;
1333
+ };
1334
+ title?: {
1335
+ color?: ColorType;
1336
+ };
1198
1337
  global?: {
1199
1338
  background?: BackgroundType;
1339
+ message?: {
1340
+ color?: ColorType;
1341
+ };
1342
+ title?: {
1343
+ color?: ColorType;
1344
+ };
1200
1345
  };
1201
1346
  toast?: {
1202
1347
  background?: BackgroundType;
1348
+ message?: {
1349
+ color?: ColorType;
1350
+ };
1351
+ title?: {
1352
+ color?: ColorType;
1353
+ };
1203
1354
  };
1204
1355
  };
1205
1356
  unknown?: {
1206
1357
  icon?: React.ReactNode | Icon;
1207
1358
  background?: BackgroundType;
1208
1359
  color?: ColorType;
1360
+ message?: {
1361
+ color?: ColorType;
1362
+ };
1363
+ title?: {
1364
+ color?: ColorType;
1365
+ };
1209
1366
  global?: {
1210
1367
  background?: BackgroundType;
1368
+ message?: {
1369
+ color?: ColorType;
1370
+ };
1371
+ title?: {
1372
+ color?: ColorType;
1373
+ };
1211
1374
  };
1212
1375
  toast?: {
1213
1376
  background?: BackgroundType;
1377
+ message?: {
1378
+ color?: ColorType;
1379
+ };
1380
+ title?: {
1381
+ color?: ColorType;
1382
+ };
1214
1383
  };
1215
1384
  };
1216
1385
  undefined?: {
1217
1386
  icon?: React.ReactNode | Icon;
1218
1387
  background?: BackgroundType;
1219
1388
  color?: ColorType;
1389
+ message?: {
1390
+ color?: ColorType;
1391
+ };
1392
+ title?: {
1393
+ color?: ColorType;
1394
+ };
1220
1395
  global?: {
1221
1396
  background?: BackgroundType;
1397
+ message?: {
1398
+ color?: ColorType;
1399
+ };
1400
+ title?: {
1401
+ color?: ColorType;
1402
+ };
1222
1403
  };
1223
1404
  toast?: {
1224
1405
  background?: BackgroundType;
1406
+ message?: {
1407
+ color?: ColorType;
1408
+ };
1409
+ title?: {
1410
+ color?: ColorType;
1411
+ };
1225
1412
  };
1226
1413
  };
1227
1414
  };
@@ -1449,7 +1636,7 @@ export interface ThemeType {
1449
1636
  select?: {
1450
1637
  background?: BackgroundType;
1451
1638
  clear?: {
1452
- container?: BoxProps;
1639
+ container?: BoxProps & { hover?: BoxProps };
1453
1640
  text?: TextProps;
1454
1641
  };
1455
1642
  container?: {
@@ -1609,7 +1796,7 @@ export interface ThemeType {
1609
1796
  round?: RoundType;
1610
1797
  name?: TextProps;
1611
1798
  pad?: PadType;
1612
- remove?: ButtonType;
1799
+ remove?: ButtonType | { kind?: string };
1613
1800
  separator?: string;
1614
1801
  size?: {
1615
1802
  xsmall?: {
@@ -1617,30 +1804,35 @@ export interface ThemeType {
1617
1804
  icon?: {
1618
1805
  size?: string;
1619
1806
  };
1807
+ remove?: { size?: string; margin?: MarginType };
1620
1808
  };
1621
1809
  small?: {
1622
1810
  pad?: PadType;
1623
1811
  icon?: {
1624
1812
  size?: string;
1625
1813
  };
1814
+ remove?: { size?: string; margin?: MarginType };
1626
1815
  };
1627
1816
  medium?: {
1628
1817
  pad?: PadType;
1629
1818
  icon?: {
1630
1819
  size?: string;
1631
1820
  };
1821
+ remove?: { size?: string; margin?: MarginType };
1632
1822
  };
1633
1823
  large?: {
1634
1824
  pad?: PadType;
1635
1825
  icon?: {
1636
1826
  size?: string;
1637
1827
  };
1828
+ remove?: { size?: string; margin?: MarginType };
1638
1829
  };
1639
1830
  xlarge?: {
1640
1831
  pad?: PadType;
1641
1832
  icon?: {
1642
1833
  size?: string;
1643
1834
  };
1835
+ remove?: { size?: string; margin?: MarginType };
1644
1836
  };
1645
1837
  };
1646
1838
  value?: TextProps;
@@ -1730,15 +1922,21 @@ export interface ThemeType {
1730
1922
  };
1731
1923
  toggleGroup?: {
1732
1924
  button?: {
1733
- pad?: PadType;
1925
+ kind?: string;
1926
+ border?: {
1927
+ radius?: string;
1928
+ };
1734
1929
  iconOnly?: {
1735
1930
  pad?: PadType;
1736
1931
  };
1932
+ pad?: PadType;
1737
1933
  };
1738
1934
  container?: BoxProps;
1739
- divider?: {
1740
- color?: ColorType;
1741
- };
1935
+ divider?:
1936
+ | {
1937
+ color?: ColorType;
1938
+ }
1939
+ | boolean;
1742
1940
  };
1743
1941
  video?: {
1744
1942
  captions?: {