grommet 2.40.2 → 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 (139) 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/Button/StyledButtonKind.js +12 -6
  9. package/components/Calendar/Calendar.js +90 -56
  10. package/components/Calendar/StyledCalendar.js +89 -7
  11. package/components/Calendar/utils.js +16 -2
  12. package/components/Carousel/Carousel.js +1 -1
  13. package/components/Chart/Chart.js +3 -3
  14. package/components/CheckBox/CheckBox.js +3 -2
  15. package/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  16. package/components/Clock/Digital.js +1 -1
  17. package/components/Data/stories/Infinite.js +2 -2
  18. package/components/Data/stories/OnSelect.js +2 -2
  19. package/components/Data/stories/SpaceX.js +2 -2
  20. package/components/Data/stories/StarWars.js +1 -1
  21. package/components/DataChart/Detail.js +19 -4
  22. package/components/DataFilter/DataFilter.js +6 -1
  23. package/components/DataSort/DataSort.js +46 -14
  24. package/components/DataSort/stories/Simple.js +10 -1
  25. package/components/DataTable/Body.js +14 -8
  26. package/components/DataTable/GroupedBody.js +3 -3
  27. package/components/DataTable/buildState.js +5 -1
  28. package/components/DataTable/stories/SpaceX.js +2 -2
  29. package/components/DataTable/stories/SpaceXUngrouped.js +1 -1
  30. package/components/Drop/DropContainer.js +51 -3
  31. package/components/FileInput/index.d.ts +2 -3
  32. package/components/FocusedContainer.js +134 -17
  33. package/components/Grommet/Grommet.js +11 -5
  34. package/components/Layer/Layer.js +1 -1
  35. package/components/Layer/index.d.ts +2 -0
  36. package/components/List/List.js +18 -12
  37. package/components/MaskedInput/MaskedInput.js +3 -0
  38. package/components/Menu/Menu.js +3 -3
  39. package/components/Meter/Circle.js +2 -2
  40. package/components/Notification/Notification.js +18 -6
  41. package/components/Notification/index.d.ts +1 -0
  42. package/components/Notification/propTypes.js +1 -0
  43. package/components/Pagination/Pagination.js +4 -2
  44. package/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  45. package/components/Select/Select.js +29 -18
  46. package/components/Select/SelectContainer.js +41 -34
  47. package/components/Select/index.d.ts +1 -1
  48. package/components/Select/stories/ChildrenRender.js +7 -8
  49. package/components/Select/utils.js +13 -2
  50. package/components/SelectMultiple/SelectMultiple.js +18 -6
  51. package/components/SelectMultiple/SelectMultipleContainer.js +28 -2
  52. package/components/SelectMultiple/SelectMultipleValue.js +14 -1
  53. package/components/SkipLinks/index.d.ts +1 -0
  54. package/components/SkipLinks/propTypes.js +1 -0
  55. package/components/Tab/Tab.js +1 -1
  56. package/components/Tag/Tag.js +11 -7
  57. package/components/TextInput/TextInput.js +3 -0
  58. package/components/ToggleGroup/StyledToggleGroup.js +12 -5
  59. package/components/ToggleGroup/ToggleGroup.js +21 -10
  60. package/components/WorldMap/WorldMap.js +1 -1
  61. package/contexts/RootsContext.js +23 -5
  62. package/es6/components/AccordionPanel/AccordionPanel.js +2 -9
  63. package/es6/components/Box/Box.js +1 -1
  64. package/es6/components/Box/StyledBox.js +1 -6
  65. package/es6/components/Box/index.d.ts +1 -0
  66. package/es6/components/Box/propTypes.js +1 -0
  67. package/es6/components/Button/Button.js +1 -0
  68. package/es6/components/Button/StyledButton.js +4 -3
  69. package/es6/components/Button/StyledButtonKind.js +12 -6
  70. package/es6/components/Calendar/Calendar.js +89 -56
  71. package/es6/components/Calendar/StyledCalendar.js +90 -8
  72. package/es6/components/Calendar/utils.js +15 -1
  73. package/es6/components/Carousel/Carousel.js +1 -1
  74. package/es6/components/Chart/Chart.js +3 -3
  75. package/es6/components/CheckBox/CheckBox.js +3 -2
  76. package/es6/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  77. package/es6/components/Clock/Digital.js +1 -1
  78. package/es6/components/Data/stories/Infinite.js +2 -2
  79. package/es6/components/Data/stories/OnSelect.js +2 -2
  80. package/es6/components/Data/stories/SpaceX.js +2 -2
  81. package/es6/components/Data/stories/StarWars.js +1 -1
  82. package/es6/components/DataChart/Detail.js +20 -5
  83. package/es6/components/DataFilter/DataFilter.js +6 -1
  84. package/es6/components/DataSort/DataSort.js +46 -14
  85. package/es6/components/DataSort/stories/Simple.js +10 -1
  86. package/es6/components/DataTable/Body.js +14 -8
  87. package/es6/components/DataTable/GroupedBody.js +3 -3
  88. package/es6/components/DataTable/buildState.js +5 -1
  89. package/es6/components/DataTable/stories/SpaceX.js +2 -2
  90. package/es6/components/DataTable/stories/SpaceXUngrouped.js +1 -1
  91. package/es6/components/Drop/DropContainer.js +51 -3
  92. package/es6/components/FileInput/index.d.ts +2 -3
  93. package/es6/components/FocusedContainer.js +136 -19
  94. package/es6/components/Grommet/Grommet.js +12 -6
  95. package/es6/components/Layer/Layer.js +1 -1
  96. package/es6/components/Layer/index.d.ts +2 -0
  97. package/es6/components/List/List.js +18 -12
  98. package/es6/components/MaskedInput/MaskedInput.js +3 -0
  99. package/es6/components/Menu/Menu.js +3 -3
  100. package/es6/components/Meter/Circle.js +2 -2
  101. package/es6/components/Notification/Notification.js +18 -6
  102. package/es6/components/Notification/index.d.ts +1 -0
  103. package/es6/components/Notification/propTypes.js +1 -0
  104. package/es6/components/Pagination/Pagination.js +4 -2
  105. package/es6/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  106. package/es6/components/Select/Select.js +30 -19
  107. package/es6/components/Select/SelectContainer.js +41 -34
  108. package/es6/components/Select/index.d.ts +1 -1
  109. package/es6/components/Select/stories/ChildrenRender.js +7 -8
  110. package/es6/components/Select/utils.js +15 -3
  111. package/es6/components/SelectMultiple/SelectMultiple.js +18 -6
  112. package/es6/components/SelectMultiple/SelectMultipleContainer.js +28 -2
  113. package/es6/components/SelectMultiple/SelectMultipleValue.js +14 -1
  114. package/es6/components/SkipLinks/index.d.ts +1 -0
  115. package/es6/components/SkipLinks/propTypes.js +1 -0
  116. package/es6/components/Tab/Tab.js +1 -1
  117. package/es6/components/Tag/Tag.js +11 -7
  118. package/es6/components/TextInput/TextInput.js +3 -0
  119. package/es6/components/ToggleGroup/StyledToggleGroup.js +12 -5
  120. package/es6/components/ToggleGroup/ToggleGroup.js +22 -11
  121. package/es6/components/WorldMap/WorldMap.js +1 -1
  122. package/es6/contexts/RootsContext.js +20 -3
  123. package/es6/themes/base.d.ts +205 -6
  124. package/es6/themes/base.js +166 -1
  125. package/es6/utils/DOM.js +2 -1
  126. package/es6/utils/background.js +1 -1
  127. package/es6/utils/index.js +2 -1
  128. package/es6/utils/styles.js +8 -0
  129. package/es6/utils/useId.js +16 -0
  130. package/grommet.min.js +1 -1
  131. package/grommet.min.js.map +1 -1
  132. package/package.json +40 -40
  133. package/themes/base.d.ts +205 -6
  134. package/themes/base.js +166 -1
  135. package/utils/DOM.js +2 -1
  136. package/utils/background.js +1 -1
  137. package/utils/index.js +6 -0
  138. package/utils/styles.js +9 -1
  139. package/utils/useId.js +19 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.40.2",
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.24.8",
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.24.7",
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.3",
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,48 +83,48 @@
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.4.8",
87
- "@testing-library/react": "^16.0.0",
86
+ "@testing-library/jest-dom": "^6.6.0",
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
- "@types/jest": "^29.5.12",
90
+ "@types/jest": "^29.5.13",
91
91
  "@types/jest-axe": "^3.5.9",
92
- "@types/node": "^22.1.0",
93
- "@types/react": "^18.3.3",
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.7.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",
106
- "core-js": "^3.38.0",
106
+ "core-js": "^3.38.1",
107
107
  "cross-env": "^7.0.3",
108
108
  "del": "^6.1.1",
109
109
  "eslint": "^8.57.0",
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",
114
- "eslint-plugin-jsx-a11y": "^6.9.0",
113
+ "eslint-plugin-import": "^2.31.0",
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.5.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.1",
127
- "postcss": "^8.4.41",
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,19 +134,19 @@
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.25.0",
137
+ "simple-git": "^3.27.0",
138
138
  "storybook": "7.0.20",
139
- "styled-components": "^6.1.12",
139
+ "styled-components": "^6.1.13",
140
140
  "tarball-extract": "^0.0.6",
141
141
  "testcafe": "3.3.0",
142
142
  "testcafe-react-selectors": "^5.0.3",
143
143
  "testcafe-reporter-xunit": "^2.2.3",
144
- "ts-jest": "^29.2.4",
144
+ "ts-jest": "^29.2.5",
145
145
  "ts-loader": "^9.5.1",
146
- "typescript": "^5.5.4",
147
- "webpack": "^5.93.0",
146
+ "typescript": "^5.6.3",
147
+ "webpack": "^5.95.0",
148
148
  "webpack-cli": "^5.1.4",
149
- "webpack-dev-server": "^5.0.4"
149
+ "webpack-dev-server": "^5.1.0"
150
150
  },
151
151
  "jest": {
152
152
  "transform": {
@@ -208,7 +208,7 @@
208
208
  "bundlesize": [
209
209
  {
210
210
  "path": "./dist/grommet.min.js",
211
- "maxSize": "171 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;
@@ -164,6 +165,7 @@ interface ButtonKindType {
164
165
  }
165
166
 
166
167
  interface ButtonType {
168
+ intelligentPad?: boolean;
167
169
  badge?: {
168
170
  align?: 'container';
169
171
  container?: {
@@ -181,12 +183,14 @@ interface ButtonType {
181
183
  };
182
184
  };
183
185
  gap?: GapType;
186
+ background?: BackgroundType;
184
187
  border?: {
185
188
  color?: ColorType;
186
189
  width?: string;
187
190
  radius?: string;
188
191
  };
189
192
  color?: ColorType;
193
+ elevation?: ElevationType;
190
194
  extend?: ExtendType;
191
195
  minWidth?: string;
192
196
  maxWidth?: string;
@@ -380,6 +384,7 @@ export interface ThemeType {
380
384
  medium?: string;
381
385
  large?: string;
382
386
  xlarge?: string;
387
+ [x: string]: string;
383
388
  };
384
389
  dark?: {
385
390
  none?: string;
@@ -388,6 +393,7 @@ export interface ThemeType {
388
393
  medium?: string;
389
394
  large?: string;
390
395
  xlarge?: string;
396
+ [x: string]: string;
391
397
  };
392
398
  };
393
399
  focus?: {
@@ -548,10 +554,50 @@ export interface ThemeType {
548
554
  button?: ButtonType;
549
555
  calendar?: {
550
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
+ };
551
582
  extend?: ExtendType;
552
583
  };
584
+ range?: {
585
+ background?: BackgroundType;
586
+ };
553
587
  extend?: ExtendType;
554
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
+ };
555
601
  title?: TextProps;
556
602
  fontSize?: string;
557
603
  lineHeight?: number;
@@ -559,6 +605,18 @@ export interface ThemeType {
559
605
  slideDuration?: string;
560
606
  };
561
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
+ };
562
620
  title?: TextProps;
563
621
  fontSize?: string;
564
622
  lineHeight?: number;
@@ -566,6 +624,18 @@ export interface ThemeType {
566
624
  slideDuration?: string;
567
625
  };
568
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
+ };
569
639
  title?: TextProps;
570
640
  fontSize?: string;
571
641
  lineHeight?: number;
@@ -725,6 +795,9 @@ export interface ThemeType {
725
795
  dataTable?: {
726
796
  body?: {
727
797
  extend?: ExtendType;
798
+ selected?: {
799
+ background?: BackgroundType;
800
+ };
728
801
  };
729
802
  container?: BoxProps;
730
803
  header?: {
@@ -885,6 +958,13 @@ export interface ThemeType {
885
958
  margin?: MarginType;
886
959
  round?: RoundType;
887
960
  extend?: ExtendType;
961
+ survey?: {
962
+ label?: {
963
+ margin?: MarginType;
964
+ size?: string;
965
+ color?: ColorType;
966
+ };
967
+ };
888
968
  };
889
969
  grommet?: {
890
970
  extend?: ExtendType;
@@ -1161,66 +1241,174 @@ export interface ThemeType {
1161
1241
  icon?: React.ReactNode | Icon;
1162
1242
  background?: BackgroundType;
1163
1243
  color?: ColorType;
1244
+ message?: {
1245
+ color?: ColorType;
1246
+ };
1247
+ title?: {
1248
+ color?: ColorType;
1249
+ };
1164
1250
  global?: {
1165
1251
  background?: BackgroundType;
1252
+ message?: {
1253
+ color?: ColorType;
1254
+ };
1255
+ title?: {
1256
+ color?: ColorType;
1257
+ };
1166
1258
  };
1167
1259
  toast?: {
1168
1260
  background?: BackgroundType;
1261
+ message?: {
1262
+ color?: ColorType;
1263
+ };
1264
+ title?: {
1265
+ color?: ColorType;
1266
+ };
1169
1267
  };
1170
1268
  };
1171
1269
  warning?: {
1172
1270
  icon?: React.ReactNode | Icon;
1173
1271
  background?: BackgroundType;
1174
1272
  color?: ColorType;
1273
+ message?: {
1274
+ color?: ColorType;
1275
+ };
1276
+ title?: {
1277
+ color?: ColorType;
1278
+ };
1175
1279
  global?: {
1176
1280
  background?: BackgroundType;
1281
+ message?: {
1282
+ color?: ColorType;
1283
+ };
1284
+ title?: {
1285
+ color?: ColorType;
1286
+ };
1177
1287
  };
1178
1288
  toast?: {
1179
1289
  background?: BackgroundType;
1290
+ message?: {
1291
+ color?: ColorType;
1292
+ };
1293
+ title?: {
1294
+ color?: ColorType;
1295
+ };
1180
1296
  };
1181
1297
  };
1182
1298
  normal?: {
1183
1299
  icon?: React.ReactNode | Icon;
1184
1300
  background?: BackgroundType;
1185
1301
  color?: ColorType;
1302
+ message?: {
1303
+ color?: ColorType;
1304
+ };
1305
+ title?: {
1306
+ color?: ColorType;
1307
+ };
1186
1308
  global?: {
1187
1309
  background?: BackgroundType;
1310
+ message?: {
1311
+ color?: ColorType;
1312
+ };
1313
+ title?: {
1314
+ color?: ColorType;
1315
+ };
1188
1316
  };
1189
1317
  toast?: {
1190
1318
  background?: BackgroundType;
1319
+ message?: {
1320
+ color?: ColorType;
1321
+ };
1322
+ title?: {
1323
+ color?: ColorType;
1324
+ };
1191
1325
  };
1192
1326
  };
1193
1327
  info?: {
1194
1328
  icon?: React.ReactNode | Icon;
1195
1329
  background?: BackgroundType;
1196
1330
  color?: ColorType;
1331
+ message?: {
1332
+ color?: ColorType;
1333
+ };
1334
+ title?: {
1335
+ color?: ColorType;
1336
+ };
1197
1337
  global?: {
1198
1338
  background?: BackgroundType;
1339
+ message?: {
1340
+ color?: ColorType;
1341
+ };
1342
+ title?: {
1343
+ color?: ColorType;
1344
+ };
1199
1345
  };
1200
1346
  toast?: {
1201
1347
  background?: BackgroundType;
1348
+ message?: {
1349
+ color?: ColorType;
1350
+ };
1351
+ title?: {
1352
+ color?: ColorType;
1353
+ };
1202
1354
  };
1203
1355
  };
1204
1356
  unknown?: {
1205
1357
  icon?: React.ReactNode | Icon;
1206
1358
  background?: BackgroundType;
1207
1359
  color?: ColorType;
1360
+ message?: {
1361
+ color?: ColorType;
1362
+ };
1363
+ title?: {
1364
+ color?: ColorType;
1365
+ };
1208
1366
  global?: {
1209
1367
  background?: BackgroundType;
1368
+ message?: {
1369
+ color?: ColorType;
1370
+ };
1371
+ title?: {
1372
+ color?: ColorType;
1373
+ };
1210
1374
  };
1211
1375
  toast?: {
1212
1376
  background?: BackgroundType;
1377
+ message?: {
1378
+ color?: ColorType;
1379
+ };
1380
+ title?: {
1381
+ color?: ColorType;
1382
+ };
1213
1383
  };
1214
1384
  };
1215
1385
  undefined?: {
1216
1386
  icon?: React.ReactNode | Icon;
1217
1387
  background?: BackgroundType;
1218
1388
  color?: ColorType;
1389
+ message?: {
1390
+ color?: ColorType;
1391
+ };
1392
+ title?: {
1393
+ color?: ColorType;
1394
+ };
1219
1395
  global?: {
1220
1396
  background?: BackgroundType;
1397
+ message?: {
1398
+ color?: ColorType;
1399
+ };
1400
+ title?: {
1401
+ color?: ColorType;
1402
+ };
1221
1403
  };
1222
1404
  toast?: {
1223
1405
  background?: BackgroundType;
1406
+ message?: {
1407
+ color?: ColorType;
1408
+ };
1409
+ title?: {
1410
+ color?: ColorType;
1411
+ };
1224
1412
  };
1225
1413
  };
1226
1414
  };
@@ -1448,7 +1636,7 @@ export interface ThemeType {
1448
1636
  select?: {
1449
1637
  background?: BackgroundType;
1450
1638
  clear?: {
1451
- container?: BoxProps;
1639
+ container?: BoxProps & { hover?: BoxProps };
1452
1640
  text?: TextProps;
1453
1641
  };
1454
1642
  container?: {
@@ -1608,7 +1796,7 @@ export interface ThemeType {
1608
1796
  round?: RoundType;
1609
1797
  name?: TextProps;
1610
1798
  pad?: PadType;
1611
- remove?: ButtonType;
1799
+ remove?: ButtonType | { kind?: string };
1612
1800
  separator?: string;
1613
1801
  size?: {
1614
1802
  xsmall?: {
@@ -1616,30 +1804,35 @@ export interface ThemeType {
1616
1804
  icon?: {
1617
1805
  size?: string;
1618
1806
  };
1807
+ remove?: { size?: string; margin?: MarginType };
1619
1808
  };
1620
1809
  small?: {
1621
1810
  pad?: PadType;
1622
1811
  icon?: {
1623
1812
  size?: string;
1624
1813
  };
1814
+ remove?: { size?: string; margin?: MarginType };
1625
1815
  };
1626
1816
  medium?: {
1627
1817
  pad?: PadType;
1628
1818
  icon?: {
1629
1819
  size?: string;
1630
1820
  };
1821
+ remove?: { size?: string; margin?: MarginType };
1631
1822
  };
1632
1823
  large?: {
1633
1824
  pad?: PadType;
1634
1825
  icon?: {
1635
1826
  size?: string;
1636
1827
  };
1828
+ remove?: { size?: string; margin?: MarginType };
1637
1829
  };
1638
1830
  xlarge?: {
1639
1831
  pad?: PadType;
1640
1832
  icon?: {
1641
1833
  size?: string;
1642
1834
  };
1835
+ remove?: { size?: string; margin?: MarginType };
1643
1836
  };
1644
1837
  };
1645
1838
  value?: TextProps;
@@ -1729,15 +1922,21 @@ export interface ThemeType {
1729
1922
  };
1730
1923
  toggleGroup?: {
1731
1924
  button?: {
1732
- pad?: PadType;
1925
+ kind?: string;
1926
+ border?: {
1927
+ radius?: string;
1928
+ };
1733
1929
  iconOnly?: {
1734
1930
  pad?: PadType;
1735
1931
  };
1932
+ pad?: PadType;
1736
1933
  };
1737
1934
  container?: BoxProps;
1738
- divider?: {
1739
- color?: ColorType;
1740
- };
1935
+ divider?:
1936
+ | {
1937
+ color?: ColorType;
1938
+ }
1939
+ | boolean;
1741
1940
  };
1742
1941
  video?: {
1743
1942
  captions?: {