grommet 2.55.0 → 2.56.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 (109) hide show
  1. package/components/Button/Button.js +7 -4
  2. package/components/Button/stories/CustomThemed/ChildrenPlainOption.stories.js +86 -0
  3. package/components/FormField/FormField.js +1 -1
  4. package/components/Grommet/index.d.ts +21 -0
  5. package/components/Grommet/propTypes.js +26 -0
  6. package/components/Stepper/StepConnector.js +68 -0
  7. package/components/Stepper/Stepper.js +309 -0
  8. package/components/Stepper/StepperContext.js +43 -0
  9. package/components/Stepper/StepperDescription.js +26 -0
  10. package/components/Stepper/StepperHelperText.js +44 -0
  11. package/components/Stepper/StepperIndicator.js +74 -0
  12. package/components/Stepper/StepperLabel.js +41 -0
  13. package/components/Stepper/StepperStep.js +127 -0
  14. package/components/Stepper/StyledStepper.js +124 -0
  15. package/components/Stepper/index.d.ts +80 -0
  16. package/components/Stepper/index.js +18 -0
  17. package/components/Stepper/propTypes.js +35 -0
  18. package/components/Stepper/stories/DisabledSteps.stories.js +45 -0
  19. package/components/Stepper/stories/ErrorStates.stories.js +45 -0
  20. package/components/Stepper/stories/HorizontalSteps.stories.js +50 -0
  21. package/components/Stepper/stories/Interactive.stories.js +60 -0
  22. package/components/Stepper/stories/KeyboardNavigation.stories.js +64 -0
  23. package/components/Stepper/stories/NestedSubSteps.stories.js +70 -0
  24. package/components/Stepper/stories/ReadOnly.stories.js +43 -0
  25. package/components/Stepper/stories/ThemingLightDark.stories.js +58 -0
  26. package/components/Stepper/stories/VerticalSteps.stories.js +67 -0
  27. package/components/Tab/Tab.js +19 -6
  28. package/components/Tabs/Tabs.js +156 -22
  29. package/components/TimeInput/README.md +2 -0
  30. package/components/TimeInput/StyledTimeInput.js +73 -0
  31. package/components/TimeInput/TimeInput.js +689 -0
  32. package/components/TimeInput/TimeInputPopup.js +393 -0
  33. package/components/TimeInput/index.d.ts +41 -0
  34. package/components/TimeInput/index.js +6 -0
  35. package/components/TimeInput/propTypes.js +35 -0
  36. package/components/TimeInput/stories/Controlled.stories.tsx +29 -0
  37. package/components/TimeInput/stories/Disabled.stories.tsx +13 -0
  38. package/components/TimeInput/stories/Form.stories.tsx +38 -0
  39. package/components/TimeInput/stories/ReadOnly.stories.tsx +13 -0
  40. package/components/TimeInput/stories/Simple.stories.tsx +19 -0
  41. package/components/TimeInput/stories/Step.stories.tsx +14 -0
  42. package/components/TimeInput/stories/ThemingLightDark.stories.tsx +22 -0
  43. package/components/TimeInput/stories/Uncontrolled.stories.tsx +22 -0
  44. package/components/TimeInput/useSectionedTimeField.js +359 -0
  45. package/components/TimeInput/utils.js +187 -0
  46. package/components/index.d.ts +2 -0
  47. package/components/index.js +12 -0
  48. package/es6/components/Button/Button.js +7 -4
  49. package/es6/components/Button/stories/CustomThemed/ChildrenPlainOption.stories.js +81 -0
  50. package/es6/components/FormField/FormField.js +1 -1
  51. package/es6/components/Grommet/index.d.ts +21 -0
  52. package/es6/components/Grommet/propTypes.js +26 -0
  53. package/es6/components/Stepper/StepConnector.js +63 -0
  54. package/es6/components/Stepper/Stepper.js +306 -0
  55. package/es6/components/Stepper/StepperContext.js +39 -0
  56. package/es6/components/Stepper/StepperDescription.js +21 -0
  57. package/es6/components/Stepper/StepperHelperText.js +39 -0
  58. package/es6/components/Stepper/StepperIndicator.js +69 -0
  59. package/es6/components/Stepper/StepperLabel.js +36 -0
  60. package/es6/components/Stepper/StepperStep.js +122 -0
  61. package/es6/components/Stepper/StyledStepper.js +120 -0
  62. package/es6/components/Stepper/index.d.ts +80 -0
  63. package/es6/components/Stepper/index.js +6 -0
  64. package/es6/components/Stepper/propTypes.js +30 -0
  65. package/es6/components/Stepper/stories/DisabledSteps.stories.js +41 -0
  66. package/es6/components/Stepper/stories/ErrorStates.stories.js +41 -0
  67. package/es6/components/Stepper/stories/HorizontalSteps.stories.js +46 -0
  68. package/es6/components/Stepper/stories/Interactive.stories.js +56 -0
  69. package/es6/components/Stepper/stories/KeyboardNavigation.stories.js +60 -0
  70. package/es6/components/Stepper/stories/NestedSubSteps.stories.js +66 -0
  71. package/es6/components/Stepper/stories/ReadOnly.stories.js +39 -0
  72. package/es6/components/Stepper/stories/ThemingLightDark.stories.js +54 -0
  73. package/es6/components/Stepper/stories/VerticalSteps.stories.js +63 -0
  74. package/es6/components/Tab/Tab.js +19 -6
  75. package/es6/components/Tabs/Tabs.js +157 -23
  76. package/es6/components/TimeInput/README.md +2 -0
  77. package/es6/components/TimeInput/StyledTimeInput.js +68 -0
  78. package/es6/components/TimeInput/TimeInput.js +685 -0
  79. package/es6/components/TimeInput/TimeInputPopup.js +389 -0
  80. package/es6/components/TimeInput/index.d.ts +41 -0
  81. package/es6/components/TimeInput/index.js +1 -0
  82. package/es6/components/TimeInput/propTypes.js +30 -0
  83. package/es6/components/TimeInput/stories/Controlled.stories.tsx +29 -0
  84. package/es6/components/TimeInput/stories/Disabled.stories.tsx +13 -0
  85. package/es6/components/TimeInput/stories/Form.stories.tsx +38 -0
  86. package/es6/components/TimeInput/stories/ReadOnly.stories.tsx +13 -0
  87. package/es6/components/TimeInput/stories/Simple.stories.tsx +19 -0
  88. package/es6/components/TimeInput/stories/Step.stories.tsx +14 -0
  89. package/es6/components/TimeInput/stories/ThemingLightDark.stories.tsx +22 -0
  90. package/es6/components/TimeInput/stories/Uncontrolled.stories.tsx +22 -0
  91. package/es6/components/TimeInput/useSectionedTimeField.js +356 -0
  92. package/es6/components/TimeInput/utils.js +183 -0
  93. package/es6/components/index.d.ts +2 -0
  94. package/es6/components/index.js +2 -0
  95. package/es6/index.d.ts +2 -0
  96. package/es6/languages/default.json +20 -0
  97. package/es6/themes/base.d.ts +108 -0
  98. package/es6/themes/base.js +208 -0
  99. package/grommet.min.js +1 -1
  100. package/grommet.min.js.map +1 -1
  101. package/index.d.ts +2 -0
  102. package/languages/default.json +20 -0
  103. package/package.json +41 -40
  104. package/themes/base.d.ts +108 -0
  105. package/themes/base.js +208 -0
  106. package/components/TextInput/stories/CustomThemed/CustomSuggestions.stories.tsx +0 -180
  107. package/components/TextInput/stories/CustomThemed/Themed.stories.js +0 -79
  108. package/es6/components/TextInput/stories/CustomThemed/CustomSuggestions.stories.tsx +0 -180
  109. package/es6/components/TextInput/stories/CustomThemed/Themed.stories.js +0 -74
package/index.d.ts CHANGED
@@ -75,6 +75,7 @@ export * from './components/SkipLinkTarget';
75
75
  export * from './components/Spinner';
76
76
  export * from './components/Stack';
77
77
  export * from './components/StarRating';
78
+ export * from './components/Stepper';
78
79
  export * from './components/Table';
79
80
  export * from './components/TableBody';
80
81
  export * from './components/TableCell';
@@ -87,6 +88,7 @@ export * from './components/Tag';
87
88
  export * from './components/Text';
88
89
  export * from './components/TextArea';
89
90
  export * from './components/TextInput';
91
+ export * from './components/TimeInput';
90
92
  export * from './components/ThumbsRating';
91
93
  export * from './components/Tip';
92
94
  export * from './components/ToggleGroup';
@@ -197,7 +197,13 @@
197
197
  "skipLinks": {
198
198
  "skipTo": "Skip To:"
199
199
  },
200
+ "stepper": {
201
+ "progress": "Progress",
202
+ "step": "Step {step} of {total}: {title}"
203
+ },
200
204
  "tabs": {
205
+ "nextTab": "Next Tab",
206
+ "previousTab": "Previous Tab",
201
207
  "tabContents": "Tab Contents"
202
208
  },
203
209
  "tag": {
@@ -212,6 +218,20 @@
212
218
  "suggestionsExist": "This input has suggestions use arrow keys to navigate",
213
219
  "suggestionIsOpen": "Suggestions drop is open, continue to use arrow keys to navigate"
214
220
  },
221
+ "timeInput": {
222
+ "inputLabel": "Time input",
223
+ "chooseTime": "Choose time",
224
+ "currentValue": "Current time {hour}:{minute}:{second}{period}",
225
+ "activeSection": "{section} selected",
226
+ "activeSectionValue": "{value} {section}",
227
+ "activePeriodValue": "{period} period",
228
+ "openDrop": "Press space to open time picker",
229
+ "invalidTime": "Invalid time value",
230
+ "sectionHours": "hours",
231
+ "sectionMinutes": "minutes",
232
+ "sectionSeconds": "seconds",
233
+ "sectionMeridiem": "meridiem"
234
+ },
215
235
  "video": {
216
236
  "audioDescriptions": "video audio description",
217
237
  "captions": "closed captions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.55.0",
3
+ "version": "2.56.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -60,29 +60,29 @@
60
60
  "prop-types": "^15.8.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@babel/cli": "^7.28.6",
64
- "@babel/core": "^7.29.0",
65
- "@babel/eslint-parser": "^7.28.6",
66
- "@babel/node": "^7.29.0",
63
+ "@babel/cli": "^7.29.7",
64
+ "@babel/core": "^7.29.7",
65
+ "@babel/eslint-parser": "^7.29.7",
66
+ "@babel/node": "^7.29.7",
67
67
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
- "@babel/plugin-proposal-do-expressions": "^7.28.6",
69
- "@babel/plugin-proposal-export-default-from": "^7.27.1",
70
- "@babel/plugin-proposal-pipeline-operator": "^7.28.6",
71
- "@babel/plugin-transform-class-properties": "^7.28.6",
72
- "@babel/plugin-transform-logical-assignment-operators": "^7.28.6",
73
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
74
- "@babel/plugin-transform-optional-chaining": "^7.28.6",
75
- "@babel/preset-env": "^7.29.2",
76
- "@babel/preset-react": "^7.28.5",
77
- "@chromatic-com/storybook": "^5.1.2",
78
- "@eslint/compat": "^2.0.5",
68
+ "@babel/plugin-proposal-do-expressions": "^7.29.7",
69
+ "@babel/plugin-proposal-export-default-from": "^7.29.7",
70
+ "@babel/plugin-proposal-pipeline-operator": "^7.29.7",
71
+ "@babel/plugin-transform-class-properties": "^7.29.7",
72
+ "@babel/plugin-transform-logical-assignment-operators": "^7.29.7",
73
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.29.7",
74
+ "@babel/plugin-transform-optional-chaining": "^7.29.7",
75
+ "@babel/preset-env": "^7.29.7",
76
+ "@babel/preset-react": "^7.29.7",
77
+ "@chromatic-com/storybook": "^5.2.1",
78
+ "@eslint/compat": "^2.1.0",
79
79
  "@eslint/eslintrc": "^3.3.5",
80
80
  "@eslint/js": "^10.0.1",
81
- "@storybook/addon-a11y": "^10.3.6",
82
- "@storybook/addon-docs": "^10.3.6",
81
+ "@storybook/addon-a11y": "^10.4.2",
82
+ "@storybook/addon-docs": "^10.4.2",
83
83
  "@storybook/addon-webpack5-compiler-babel": "^4.0.1",
84
- "@storybook/react": "^10.3.6",
85
- "@storybook/react-webpack5": "^10.3.6",
84
+ "@storybook/react": "^10.4.2",
85
+ "@storybook/react-webpack5": "^10.4.2",
86
86
  "@testing-library/dom": "^10.4.1",
87
87
  "@testing-library/jest-dom": "^6.9.1",
88
88
  "@testing-library/react": "^16.3.2",
@@ -90,17 +90,17 @@
90
90
  "@testing-library/user-event": "^14.6.1",
91
91
  "@types/jest": "^30.0.0",
92
92
  "@types/jest-axe": "^3.5.9",
93
- "@types/node": "^25.6.0",
94
- "@types/react": "^19.2.14",
93
+ "@types/node": "^25.9.1",
94
+ "@types/react": "^19.2.16",
95
95
  "@types/react-dom": "^19.2.3",
96
96
  "@types/styled-components": "^5.1.36",
97
97
  "babel-core": "^7.0.0-bridge.0",
98
- "babel-jest": "^30.3.0",
98
+ "babel-jest": "^30.4.1",
99
99
  "babel-loader": "^10.1.1",
100
- "babel-plugin-styled-components": "^2.1.4",
100
+ "babel-plugin-styled-components": "^2.3.0",
101
101
  "babel-plugin-transform-imports": "^2.0.0",
102
102
  "bundlesize2": "^0.0.35",
103
- "chromatic": "^13.3.5",
103
+ "chromatic": "^17.6.0",
104
104
  "clean-webpack-plugin": "^4.0.0",
105
105
  "copy-webpack-plugin": "^14.0.0",
106
106
  "copyfiles": "^2.4.1",
@@ -117,34 +117,35 @@
117
117
  "eslint-plugin-react": "^7.37.5",
118
118
  "eslint-plugin-react-hooks": "^7.0.1",
119
119
  "eslint-plugin-testing-library": "^7.16.2",
120
- "fs-extra": "^11.3.4",
121
- "globals": "^17.5.0",
122
- "grommet-theme-hpe": "^7.0.2",
123
- "jest": "^30.3.0",
120
+ "fs-extra": "^11.3.5",
121
+ "globals": "^17.6.0",
122
+ "grommet-theme-hpe": "^8.1.4",
123
+ "jest": "^30.4.2",
124
124
  "jest-axe": "^10.0.0",
125
125
  "jest-cli": "^30.3.0",
126
- "jest-environment-jsdom": "^30.3.0",
126
+ "jest-environment-jsdom": "^30.4.1",
127
127
  "jest-styled-components": "7.0.5",
128
128
  "jsdom": "^29.0.2",
129
- "postcss": "^8.5.9",
130
- "pre-commit": "^1.2.2",
129
+ "postcss": "^8.5.15",
130
+ "pre-commit": "^2.0.0",
131
131
  "prettier": "^2.8.8",
132
132
  "pretty-quick": "^4.2.2",
133
- "react": "^19.2.5",
133
+ "react": "^19.2.7",
134
134
  "react-dev-utils": "^12.0.1",
135
- "react-dom": "^19.2.5",
136
- "react-is": "^19.2.5",
135
+ "react-dom": "^19.2.7",
136
+ "react-is": "^19.2.7",
137
137
  "react-shadow": "^20.6.0",
138
138
  "regenerator-runtime": "^0.14.1",
139
139
  "simple-git": "^3.36.0",
140
- "storybook": "^10.3.6",
141
- "styled-components": "^6.3.11",
140
+ "storybook": "^10.4.2",
141
+ "storybook-dark-mode": "^5.0.0",
142
+ "styled-components": "^6.4.2",
142
143
  "tarball-extract": "^0.0.6",
143
144
  "testcafe": "^3.7.4",
144
145
  "testcafe-react-selectors": "^5.0.3",
145
146
  "testcafe-reporter-xunit": "^2.2.3",
146
- "ts-jest": "^29.4.6",
147
- "ts-loader": "^9.5.4",
147
+ "ts-jest": "^29.4.11",
148
+ "ts-loader": "^9.6.0",
148
149
  "typescript": "^5.9.3",
149
150
  "webpack": "^5.105.2",
150
151
  "webpack-cli": "^6.0.1",
@@ -210,7 +211,7 @@
210
211
  "bundlesize": [
211
212
  {
212
213
  "path": "./dist/grommet.min.js",
213
- "maxSize": "192 kB"
214
+ "maxSize": "200 kB"
214
215
  }
215
216
  ],
216
217
  "keywords": [
package/themes/base.d.ts CHANGED
@@ -297,6 +297,43 @@ type ContainerExtend = {
297
297
  };
298
298
  };
299
299
 
300
+ interface StepperStateType {
301
+ indicator?: {
302
+ icon?: React.ReactNode | Icon;
303
+ iconSize?: string;
304
+ background?: BackgroundType;
305
+ color?: ColorType;
306
+ border?: ColorType;
307
+ substep?: {
308
+ iconSize?: string;
309
+ };
310
+ hover?: {
311
+ background?: BackgroundType;
312
+ border?: ColorType;
313
+ color?: ColorType;
314
+ };
315
+ };
316
+ label?: TextProps;
317
+ }
318
+
319
+ interface StepperHelperTextStateType extends StepperStateType {
320
+ helperText?: {
321
+ color?: ColorType;
322
+ };
323
+ }
324
+
325
+ interface StepperStatusStateType extends StepperStateType {
326
+ connector?: {
327
+ color?: ColorType;
328
+ };
329
+ }
330
+
331
+ interface StepperStatusWithHelperTextStateType extends StepperStatusStateType {
332
+ helperText?: {
333
+ color?: ColorType;
334
+ };
335
+ }
336
+
300
337
  export interface ThemeType {
301
338
  global?: {
302
339
  active?: {
@@ -1221,6 +1258,7 @@ export interface ThemeType {
1221
1258
  maskedInput?: ContainerExtend;
1222
1259
  selectMultiple?: ContainerExtend;
1223
1260
  dateInput?: ContainerExtend;
1261
+ timeInput?: ContainerExtend;
1224
1262
  fileInput?: ContainerExtend;
1225
1263
  radioButton?: ContainerExtend;
1226
1264
  radioButtonGroup?: ContainerExtend;
@@ -2100,6 +2138,42 @@ export interface ThemeType {
2100
2138
  large?: number;
2101
2139
  };
2102
2140
  };
2141
+ stepper?: {
2142
+ indicator?: {
2143
+ size?: string;
2144
+ border?: {
2145
+ width?: string;
2146
+ };
2147
+ };
2148
+ label?: {
2149
+ size?: string;
2150
+ substep?: {
2151
+ size?: string;
2152
+ };
2153
+ };
2154
+ connector?: {
2155
+ stroke?: {
2156
+ width?: string;
2157
+ };
2158
+ };
2159
+ description?: TextProps;
2160
+ helperText?: {
2161
+ size?: string;
2162
+ color?: ColorType;
2163
+ };
2164
+ hover?: {
2165
+ background?: BackgroundType;
2166
+ border?: ColorType;
2167
+ };
2168
+ // States: [component].[state].[element].[property]
2169
+ pending?: StepperStatusStateType;
2170
+ current?: StepperStateType;
2171
+ currentCompleted?: StepperStateType;
2172
+ completed?: StepperStatusStateType;
2173
+ error?: StepperStatusWithHelperTextStateType;
2174
+ currentError?: StepperHelperTextStateType;
2175
+ disabled?: StepperStatusWithHelperTextStateType;
2176
+ };
2103
2177
  table?: {
2104
2178
  caption?: {
2105
2179
  margin?: MarginType;
@@ -2269,6 +2343,40 @@ export interface ThemeType {
2269
2343
  extend?: ExtendType;
2270
2344
  };
2271
2345
  };
2346
+ timeInput?: {
2347
+ button?: {
2348
+ margin?: MarginType;
2349
+ };
2350
+ container?: {
2351
+ round?: RoundType;
2352
+ };
2353
+ active?: {
2354
+ background?: ColorType;
2355
+ pad?: string;
2356
+ indicator?: {
2357
+ color?: ColorType;
2358
+ size?: string;
2359
+ };
2360
+ };
2361
+ drop?: {
2362
+ option?: {
2363
+ background?: ColorType;
2364
+ hover?: {
2365
+ background?: ColorType;
2366
+ };
2367
+ selected?: {
2368
+ background?: ColorType;
2369
+ color?: ColorType;
2370
+ hover?: {
2371
+ background?: ColorType;
2372
+ };
2373
+ };
2374
+ };
2375
+ };
2376
+ icon?: {
2377
+ clock?: React.ReactNode | Icon;
2378
+ };
2379
+ };
2272
2380
  tip?: {
2273
2381
  content?: BoxProps;
2274
2382
  drop?: DropProps;
package/themes/base.js CHANGED
@@ -7,6 +7,7 @@ var _AssistListening = require("grommet-icons/icons/AssistListening");
7
7
  var _CircleInformation = require("grommet-icons/icons/CircleInformation");
8
8
  var _ClosedCaption = require("grommet-icons/icons/ClosedCaption");
9
9
  var _Expand = require("grommet-icons/icons/Expand");
10
+ var _FormCheckmark = require("grommet-icons/icons/FormCheckmark");
10
11
  var _FormClose = require("grommet-icons/icons/FormClose");
11
12
  var _FormDown = require("grommet-icons/icons/FormDown");
12
13
  var _FormNext = require("grommet-icons/icons/FormNext");
@@ -2484,6 +2485,174 @@ var generate = exports.generate = function generate(baseSpacing, scale) {
2484
2485
  large: 3
2485
2486
  }
2486
2487
  },
2488
+ stepper: {
2489
+ indicator: {
2490
+ size: 'medium',
2491
+ // 'small' | 'medium' | 'large'
2492
+ border: {
2493
+ width: '2px'
2494
+ }
2495
+ },
2496
+ label: {
2497
+ size: 'medium',
2498
+ substep: {
2499
+ size: 'small'
2500
+ }
2501
+ },
2502
+ connector: {
2503
+ stroke: {
2504
+ width: '2px'
2505
+ }
2506
+ },
2507
+ description: {
2508
+ size: 'small',
2509
+ color: 'text-weak'
2510
+ },
2511
+ helperText: {
2512
+ size: 'xsmall',
2513
+ color: 'text-weak'
2514
+ },
2515
+ // States: [component].[state].[element].[property]
2516
+ pending: {
2517
+ indicator: {
2518
+ background: 'background-front',
2519
+ color: 'text-strong',
2520
+ border: 'text-xweak',
2521
+ substep: {
2522
+ iconSize: 'small'
2523
+ },
2524
+ hover: {
2525
+ background: 'background-front',
2526
+ border: 'text-strong'
2527
+ }
2528
+ },
2529
+ label: {
2530
+ color: 'text'
2531
+ },
2532
+ connector: {
2533
+ color: 'border'
2534
+ }
2535
+ },
2536
+ current: {
2537
+ indicator: {
2538
+ icon: _StatusGoodSmall.StatusGoodSmall,
2539
+ iconSize: 'medium',
2540
+ background: 'brand',
2541
+ color: 'white',
2542
+ border: 'brand',
2543
+ substep: {
2544
+ iconSize: 'small'
2545
+ },
2546
+ hover: {
2547
+ color: 'white'
2548
+ }
2549
+ },
2550
+ label: {
2551
+ color: {
2552
+ dark: 'text-strong',
2553
+ light: 'brand'
2554
+ }
2555
+ }
2556
+ },
2557
+ currentCompleted: {
2558
+ indicator: {
2559
+ icon: _FormCheckmark.FormCheckmark,
2560
+ iconSize: 'medium',
2561
+ background: 'brand',
2562
+ color: 'white',
2563
+ border: 'brand',
2564
+ substep: {
2565
+ iconSize: 'small'
2566
+ },
2567
+ hover: {
2568
+ color: 'white'
2569
+ }
2570
+ },
2571
+ label: {
2572
+ color: {
2573
+ dark: 'text-strong',
2574
+ light: 'brand'
2575
+ }
2576
+ }
2577
+ },
2578
+ completed: {
2579
+ indicator: {
2580
+ icon: _FormCheckmark.FormCheckmark,
2581
+ iconSize: 'medium',
2582
+ background: 'background-front',
2583
+ color: 'brand',
2584
+ border: 'brand',
2585
+ substep: {
2586
+ iconSize: 'small'
2587
+ },
2588
+ hover: {
2589
+ background: 'background-front'
2590
+ }
2591
+ },
2592
+ label: {
2593
+ color: 'text-weak'
2594
+ },
2595
+ connector: {
2596
+ color: 'brand'
2597
+ }
2598
+ },
2599
+ error: {
2600
+ indicator: {
2601
+ icon: _StatusCriticalSmall.StatusCriticalSmall,
2602
+ background: 'background-front',
2603
+ color: 'status-critical',
2604
+ border: 'status-critical',
2605
+ substep: {
2606
+ iconSize: 'small'
2607
+ },
2608
+ hover: {
2609
+ background: 'background-front'
2610
+ }
2611
+ },
2612
+ label: {
2613
+ color: 'text'
2614
+ },
2615
+ connector: {
2616
+ color: 'status-critical'
2617
+ },
2618
+ helperText: {
2619
+ color: 'status-critical'
2620
+ }
2621
+ },
2622
+ currentError: {
2623
+ indicator: {
2624
+ icon: _StatusCriticalSmall.StatusCriticalSmall,
2625
+ background: 'status-critical',
2626
+ color: 'white',
2627
+ border: 'status-critical',
2628
+ substep: {
2629
+ iconSize: 'small'
2630
+ },
2631
+ hover: {
2632
+ color: 'white'
2633
+ }
2634
+ },
2635
+ label: {
2636
+ color: 'status-critical'
2637
+ }
2638
+ },
2639
+ disabled: {
2640
+ indicator: {
2641
+ background: 'background-contrast',
2642
+ color: 'text-weak',
2643
+ border: 'border',
2644
+ substep: {
2645
+ iconSize: 'small'
2646
+ }
2647
+ },
2648
+ label: {
2649
+ color: 'text-weak'
2650
+ },
2651
+ connector: {
2652
+ color: 'border'
2653
+ }
2654
+ }
2655
+ },
2487
2656
  table: {
2488
2657
  caption: {
2489
2658
  margin: {
@@ -2652,6 +2821,45 @@ var generate = exports.generate = function generate(baseSpacing, scale) {
2652
2821
  // copy: undefined,
2653
2822
  // },
2654
2823
  },
2824
+ timeInput: {
2825
+ button: {
2826
+ margin: {
2827
+ right: 'small'
2828
+ }
2829
+ },
2830
+ container: {
2831
+ round: 'xxsmall'
2832
+ },
2833
+ active: {
2834
+ background: 'active-background',
2835
+ pad: 'xxsmall',
2836
+ indicator: {
2837
+ color: {
2838
+ dark: 'white',
2839
+ light: 'black'
2840
+ },
2841
+ size: 'small'
2842
+ }
2843
+ },
2844
+ drop: {
2845
+ option: {
2846
+ // background: undefined,
2847
+ hover: {
2848
+ background: 'active-background'
2849
+ },
2850
+ selected: {
2851
+ background: 'selected',
2852
+ color: 'white',
2853
+ hover: {
2854
+ // background: undefined,
2855
+ }
2856
+ }
2857
+ }
2858
+ },
2859
+ icon: {
2860
+ // clock: undefined,
2861
+ }
2862
+ },
2655
2863
  tip: {
2656
2864
  content: {
2657
2865
  // any Box props