carbon-react 126.10.1 → 127.0.1
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/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/esm/__internal__/input/input-presentation.component.js +19 -17
- package/esm/__internal__/input/input.component.js +355 -353
- package/esm/__internal__/input/input.style.d.ts +1 -1
- package/esm/__internal__/input/input.style.js +1 -7
- package/esm/__spec_helper__/index.js +5 -1
- package/esm/components/accordion/accordion.component.js +338 -336
- package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/esm/components/box/box.component.js +3785 -3783
- package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/esm/components/button/button.component.js +688 -684
- package/esm/components/checkbox/checkbox.component.js +524 -522
- package/esm/components/date/date.component.js +722 -720
- package/esm/components/decimal/decimal.component.js +536 -534
- package/esm/components/dialog/dialog.component.js +56 -54
- package/esm/components/draggable/draggable-container.component.js +160 -158
- package/esm/components/draggable/draggable-item.component.js +162 -160
- package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/esm/components/file-input/file-input.component.js +191 -189
- package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
- package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/esm/components/grouped-character/grouped-character.component.js +538 -536
- package/esm/components/help/help.component.js +172 -170
- package/esm/components/hr/hr.component.js +159 -157
- package/esm/components/icon/icon.component.js +181 -179
- package/esm/components/icon-button/icon-button.component.js +321 -319
- package/esm/components/link/link.component.js +72 -70
- package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/esm/components/message/message.component.js +168 -166
- package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/esm/components/number/number.component.js +536 -534
- package/esm/components/pod/pod.component.js +178 -176
- package/esm/components/radio-button/radio-button.component.js +523 -521
- package/esm/components/search/search.component.js +183 -181
- package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
- package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
- package/esm/components/select/multi-select/multi-select.component.js +551 -549
- package/esm/components/select/option/option.component.js +402 -400
- package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
- package/esm/components/select/option-row/option-row.component.js +16 -14
- package/esm/components/select/select-list/select-list.component.js +34 -32
- package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
- package/esm/components/select/simple-select/simple-select.component.js +550 -548
- package/esm/components/sidebar/sidebar.component.js +297 -295
- package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/esm/components/step-flow/step-flow.component.js +170 -168
- package/esm/components/switch/switch.component.js +524 -522
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/esm/components/text-editor/text-editor.component.js +171 -169
- package/esm/components/textarea/textarea.component.js +532 -530
- package/esm/components/textbox/textbox.component.js +536 -534
- package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/esm/components/tile-select/tile-select.component.js +180 -178
- package/esm/components/time/time.component.js +202 -200
- package/esm/components/toast/toast.component.js +18 -16
- package/esm/components/tooltip/tooltip.component.js +23 -21
- package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
- package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/lib/__internal__/input/input-presentation.component.js +19 -17
- package/lib/__internal__/input/input.component.js +355 -353
- package/lib/__internal__/input/input.style.d.ts +1 -1
- package/lib/__internal__/input/input.style.js +1 -7
- package/lib/__spec_helper__/index.js +5 -1
- package/lib/components/accordion/accordion.component.js +338 -336
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/lib/components/box/box.component.js +3785 -3783
- package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/lib/components/button/button.component.js +688 -684
- package/lib/components/checkbox/checkbox.component.js +524 -522
- package/lib/components/date/date.component.js +722 -720
- package/lib/components/decimal/decimal.component.js +536 -534
- package/lib/components/dialog/dialog.component.js +56 -54
- package/lib/components/draggable/draggable-container.component.js +160 -158
- package/lib/components/draggable/draggable-item.component.js +162 -160
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/lib/components/file-input/file-input.component.js +191 -189
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/lib/components/grouped-character/grouped-character.component.js +538 -536
- package/lib/components/help/help.component.js +172 -170
- package/lib/components/hr/hr.component.js +159 -157
- package/lib/components/icon/icon.component.js +181 -179
- package/lib/components/icon-button/icon-button.component.js +321 -319
- package/lib/components/link/link.component.js +72 -70
- package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/lib/components/message/message.component.js +168 -166
- package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/lib/components/number/number.component.js +536 -534
- package/lib/components/pod/pod.component.js +178 -176
- package/lib/components/radio-button/radio-button.component.js +523 -521
- package/lib/components/search/search.component.js +183 -181
- package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
- package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
- package/lib/components/select/multi-select/multi-select.component.js +551 -549
- package/lib/components/select/option/option.component.js +402 -400
- package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
- package/lib/components/select/option-row/option-row.component.js +16 -14
- package/lib/components/select/select-list/select-list.component.js +34 -32
- package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
- package/lib/components/select/simple-select/simple-select.component.js +550 -548
- package/lib/components/sidebar/sidebar.component.js +297 -295
- package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/lib/components/step-flow/step-flow.component.js +170 -168
- package/lib/components/switch/switch.component.js +524 -522
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/lib/components/text-editor/text-editor.component.js +171 -169
- package/lib/components/textarea/textarea.component.js +532 -530
- package/lib/components/textbox/textbox.component.js +536 -534
- package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/lib/components/tile-select/tile-select.component.js +180 -178
- package/lib/components/time/time.component.js +202 -200
- package/lib/components/toast/toast.component.js +18 -16
- package/lib/components/tooltip/tooltip.component.js +23 -21
- package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
- package/package.json +1 -1
|
@@ -105,173 +105,175 @@ const StepFlow = /*#__PURE__*/forwardRef(({
|
|
|
105
105
|
"data-element": "progress-indicator-bar"
|
|
106
106
|
}, progressIndicators)) : stepFlowLabel);
|
|
107
107
|
});
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
"
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
108
|
+
if (process.env.NODE_ENV !== "production") {
|
|
109
|
+
StepFlow.propTypes = {
|
|
110
|
+
"category": PropTypes.string,
|
|
111
|
+
"children": PropTypes.node,
|
|
112
|
+
"currentStep": PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8]).isRequired,
|
|
113
|
+
"data-component": PropTypes.string,
|
|
114
|
+
"data-element": PropTypes.string,
|
|
115
|
+
"data-role": PropTypes.string,
|
|
116
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
117
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
118
|
+
"description": PropTypes.string,
|
|
119
|
+
"toString": PropTypes.func.isRequired,
|
|
120
|
+
"valueOf": PropTypes.func.isRequired
|
|
121
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
122
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
123
|
+
"description": PropTypes.string,
|
|
124
|
+
"toString": PropTypes.func.isRequired,
|
|
125
|
+
"valueOf": PropTypes.func.isRequired
|
|
126
|
+
}), PropTypes.string]),
|
|
127
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
128
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
129
|
+
"description": PropTypes.string,
|
|
130
|
+
"toString": PropTypes.func.isRequired,
|
|
131
|
+
"valueOf": PropTypes.func.isRequired
|
|
132
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
133
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
134
|
+
"description": PropTypes.string,
|
|
135
|
+
"toString": PropTypes.func.isRequired,
|
|
136
|
+
"valueOf": PropTypes.func.isRequired
|
|
137
|
+
}), PropTypes.string]),
|
|
138
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
139
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
140
|
+
"description": PropTypes.string,
|
|
141
|
+
"toString": PropTypes.func.isRequired,
|
|
142
|
+
"valueOf": PropTypes.func.isRequired
|
|
143
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
144
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
145
|
+
"description": PropTypes.string,
|
|
146
|
+
"toString": PropTypes.func.isRequired,
|
|
147
|
+
"valueOf": PropTypes.func.isRequired
|
|
148
|
+
}), PropTypes.string]),
|
|
149
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
150
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
151
|
+
"description": PropTypes.string,
|
|
152
|
+
"toString": PropTypes.func.isRequired,
|
|
153
|
+
"valueOf": PropTypes.func.isRequired
|
|
154
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
155
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
156
|
+
"description": PropTypes.string,
|
|
157
|
+
"toString": PropTypes.func.isRequired,
|
|
158
|
+
"valueOf": PropTypes.func.isRequired
|
|
159
|
+
}), PropTypes.string]),
|
|
160
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
161
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
162
|
+
"description": PropTypes.string,
|
|
163
|
+
"toString": PropTypes.func.isRequired,
|
|
164
|
+
"valueOf": PropTypes.func.isRequired
|
|
165
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
166
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
167
|
+
"description": PropTypes.string,
|
|
168
|
+
"toString": PropTypes.func.isRequired,
|
|
169
|
+
"valueOf": PropTypes.func.isRequired
|
|
170
|
+
}), PropTypes.string]),
|
|
171
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
172
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
173
|
+
"description": PropTypes.string,
|
|
174
|
+
"toString": PropTypes.func.isRequired,
|
|
175
|
+
"valueOf": PropTypes.func.isRequired
|
|
176
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
177
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
178
|
+
"description": PropTypes.string,
|
|
179
|
+
"toString": PropTypes.func.isRequired,
|
|
180
|
+
"valueOf": PropTypes.func.isRequired
|
|
181
|
+
}), PropTypes.string]),
|
|
182
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
183
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
184
|
+
"description": PropTypes.string,
|
|
185
|
+
"toString": PropTypes.func.isRequired,
|
|
186
|
+
"valueOf": PropTypes.func.isRequired
|
|
187
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
188
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
189
|
+
"description": PropTypes.string,
|
|
190
|
+
"toString": PropTypes.func.isRequired,
|
|
191
|
+
"valueOf": PropTypes.func.isRequired
|
|
192
|
+
}), PropTypes.string]),
|
|
193
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
194
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
195
|
+
"description": PropTypes.string,
|
|
196
|
+
"toString": PropTypes.func.isRequired,
|
|
197
|
+
"valueOf": PropTypes.func.isRequired
|
|
198
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
199
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
200
|
+
"description": PropTypes.string,
|
|
201
|
+
"toString": PropTypes.func.isRequired,
|
|
202
|
+
"valueOf": PropTypes.func.isRequired
|
|
203
|
+
}), PropTypes.string]),
|
|
204
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
205
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
206
|
+
"description": PropTypes.string,
|
|
207
|
+
"toString": PropTypes.func.isRequired,
|
|
208
|
+
"valueOf": PropTypes.func.isRequired
|
|
209
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
210
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
211
|
+
"description": PropTypes.string,
|
|
212
|
+
"toString": PropTypes.func.isRequired,
|
|
213
|
+
"valueOf": PropTypes.func.isRequired
|
|
214
|
+
}), PropTypes.string]),
|
|
215
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
216
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
217
|
+
"description": PropTypes.string,
|
|
218
|
+
"toString": PropTypes.func.isRequired,
|
|
219
|
+
"valueOf": PropTypes.func.isRequired
|
|
220
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
221
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
222
|
+
"description": PropTypes.string,
|
|
223
|
+
"toString": PropTypes.func.isRequired,
|
|
224
|
+
"valueOf": PropTypes.func.isRequired
|
|
225
|
+
}), PropTypes.string]),
|
|
226
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
227
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
228
|
+
"description": PropTypes.string,
|
|
229
|
+
"toString": PropTypes.func.isRequired,
|
|
230
|
+
"valueOf": PropTypes.func.isRequired
|
|
231
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
232
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
233
|
+
"description": PropTypes.string,
|
|
234
|
+
"toString": PropTypes.func.isRequired,
|
|
235
|
+
"valueOf": PropTypes.func.isRequired
|
|
236
|
+
}), PropTypes.string]),
|
|
237
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
238
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
239
|
+
"description": PropTypes.string,
|
|
240
|
+
"toString": PropTypes.func.isRequired,
|
|
241
|
+
"valueOf": PropTypes.func.isRequired
|
|
242
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
243
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
244
|
+
"description": PropTypes.string,
|
|
245
|
+
"toString": PropTypes.func.isRequired,
|
|
246
|
+
"valueOf": PropTypes.func.isRequired
|
|
247
|
+
}), PropTypes.string]),
|
|
248
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
249
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
250
|
+
"description": PropTypes.string,
|
|
251
|
+
"toString": PropTypes.func.isRequired,
|
|
252
|
+
"valueOf": PropTypes.func.isRequired
|
|
253
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
254
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
255
|
+
"description": PropTypes.string,
|
|
256
|
+
"toString": PropTypes.func.isRequired,
|
|
257
|
+
"valueOf": PropTypes.func.isRequired
|
|
258
|
+
}), PropTypes.string]),
|
|
259
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
260
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
261
|
+
"description": PropTypes.string,
|
|
262
|
+
"toString": PropTypes.func.isRequired,
|
|
263
|
+
"valueOf": PropTypes.func.isRequired
|
|
264
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
265
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
266
|
+
"description": PropTypes.string,
|
|
267
|
+
"toString": PropTypes.func.isRequired,
|
|
268
|
+
"valueOf": PropTypes.func.isRequired
|
|
269
|
+
}), PropTypes.string]),
|
|
270
|
+
"onDismiss": PropTypes.func,
|
|
271
|
+
"showCloseIcon": PropTypes.bool,
|
|
272
|
+
"showProgressIndicator": PropTypes.bool,
|
|
273
|
+
"title": PropTypes.string.isRequired,
|
|
274
|
+
"titleVariant": PropTypes.oneOf(["h1", "h2"]),
|
|
275
|
+
"totalSteps": PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8]).isRequired
|
|
276
|
+
};
|
|
277
|
+
}
|
|
276
278
|
export { StepFlow };
|
|
277
279
|
export default StepFlow;
|