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
|
@@ -159,195 +159,197 @@ const FileInput = /*#__PURE__*/React.forwardRef(({
|
|
|
159
159
|
key: props.filename
|
|
160
160
|
}), /*#__PURE__*/React.createElement(FileUploadStatus, props)))));
|
|
161
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
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
"
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
"
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
"
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
"
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
162
|
+
if (process.env.NODE_ENV !== "production") {
|
|
163
|
+
FileInput.propTypes = {
|
|
164
|
+
"accept": PropTypes.string,
|
|
165
|
+
"buttonText": PropTypes.string,
|
|
166
|
+
"data-component": PropTypes.string,
|
|
167
|
+
"data-element": PropTypes.string,
|
|
168
|
+
"data-role": PropTypes.string,
|
|
169
|
+
"dragAndDropText": PropTypes.string,
|
|
170
|
+
"error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
171
|
+
"id": PropTypes.string,
|
|
172
|
+
"inputHint": PropTypes.node,
|
|
173
|
+
"isVertical": PropTypes.bool,
|
|
174
|
+
"label": PropTypes.string,
|
|
175
|
+
"m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
176
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
177
|
+
"description": PropTypes.string,
|
|
178
|
+
"toString": PropTypes.func.isRequired,
|
|
179
|
+
"valueOf": PropTypes.func.isRequired
|
|
180
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
181
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
182
|
+
"description": PropTypes.string,
|
|
183
|
+
"toString": PropTypes.func.isRequired,
|
|
184
|
+
"valueOf": PropTypes.func.isRequired
|
|
185
|
+
}), PropTypes.string]),
|
|
186
|
+
"margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
187
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
188
|
+
"description": PropTypes.string,
|
|
189
|
+
"toString": PropTypes.func.isRequired,
|
|
190
|
+
"valueOf": PropTypes.func.isRequired
|
|
191
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
192
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
193
|
+
"description": PropTypes.string,
|
|
194
|
+
"toString": PropTypes.func.isRequired,
|
|
195
|
+
"valueOf": PropTypes.func.isRequired
|
|
196
|
+
}), PropTypes.string]),
|
|
197
|
+
"marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
198
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
199
|
+
"description": PropTypes.string,
|
|
200
|
+
"toString": PropTypes.func.isRequired,
|
|
201
|
+
"valueOf": PropTypes.func.isRequired
|
|
202
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
203
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
204
|
+
"description": PropTypes.string,
|
|
205
|
+
"toString": PropTypes.func.isRequired,
|
|
206
|
+
"valueOf": PropTypes.func.isRequired
|
|
207
|
+
}), PropTypes.string]),
|
|
208
|
+
"marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
209
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
210
|
+
"description": PropTypes.string,
|
|
211
|
+
"toString": PropTypes.func.isRequired,
|
|
212
|
+
"valueOf": PropTypes.func.isRequired
|
|
213
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
214
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
215
|
+
"description": PropTypes.string,
|
|
216
|
+
"toString": PropTypes.func.isRequired,
|
|
217
|
+
"valueOf": PropTypes.func.isRequired
|
|
218
|
+
}), PropTypes.string]),
|
|
219
|
+
"marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
220
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
221
|
+
"description": PropTypes.string,
|
|
222
|
+
"toString": PropTypes.func.isRequired,
|
|
223
|
+
"valueOf": PropTypes.func.isRequired
|
|
224
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
225
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
226
|
+
"description": PropTypes.string,
|
|
227
|
+
"toString": PropTypes.func.isRequired,
|
|
228
|
+
"valueOf": PropTypes.func.isRequired
|
|
229
|
+
}), PropTypes.string]),
|
|
230
|
+
"marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
231
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
232
|
+
"description": PropTypes.string,
|
|
233
|
+
"toString": PropTypes.func.isRequired,
|
|
234
|
+
"valueOf": PropTypes.func.isRequired
|
|
235
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
236
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
237
|
+
"description": PropTypes.string,
|
|
238
|
+
"toString": PropTypes.func.isRequired,
|
|
239
|
+
"valueOf": PropTypes.func.isRequired
|
|
240
|
+
}), PropTypes.string]),
|
|
241
|
+
"marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
242
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
243
|
+
"description": PropTypes.string,
|
|
244
|
+
"toString": PropTypes.func.isRequired,
|
|
245
|
+
"valueOf": PropTypes.func.isRequired
|
|
246
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
247
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
248
|
+
"description": PropTypes.string,
|
|
249
|
+
"toString": PropTypes.func.isRequired,
|
|
250
|
+
"valueOf": PropTypes.func.isRequired
|
|
251
|
+
}), PropTypes.string]),
|
|
252
|
+
"marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
253
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
254
|
+
"description": PropTypes.string,
|
|
255
|
+
"toString": PropTypes.func.isRequired,
|
|
256
|
+
"valueOf": PropTypes.func.isRequired
|
|
257
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
258
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
259
|
+
"description": PropTypes.string,
|
|
260
|
+
"toString": PropTypes.func.isRequired,
|
|
261
|
+
"valueOf": PropTypes.func.isRequired
|
|
262
|
+
}), PropTypes.string]),
|
|
263
|
+
"maxHeight": PropTypes.string,
|
|
264
|
+
"maxWidth": PropTypes.string,
|
|
265
|
+
"mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
266
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
267
|
+
"description": PropTypes.string,
|
|
268
|
+
"toString": PropTypes.func.isRequired,
|
|
269
|
+
"valueOf": PropTypes.func.isRequired
|
|
270
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
271
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
272
|
+
"description": PropTypes.string,
|
|
273
|
+
"toString": PropTypes.func.isRequired,
|
|
274
|
+
"valueOf": PropTypes.func.isRequired
|
|
275
|
+
}), PropTypes.string]),
|
|
276
|
+
"minHeight": PropTypes.string,
|
|
277
|
+
"minWidth": PropTypes.string,
|
|
278
|
+
"ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
279
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
280
|
+
"description": PropTypes.string,
|
|
281
|
+
"toString": PropTypes.func.isRequired,
|
|
282
|
+
"valueOf": PropTypes.func.isRequired
|
|
283
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
284
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
285
|
+
"description": PropTypes.string,
|
|
286
|
+
"toString": PropTypes.func.isRequired,
|
|
287
|
+
"valueOf": PropTypes.func.isRequired
|
|
288
|
+
}), PropTypes.string]),
|
|
289
|
+
"mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
290
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
291
|
+
"description": PropTypes.string,
|
|
292
|
+
"toString": PropTypes.func.isRequired,
|
|
293
|
+
"valueOf": PropTypes.func.isRequired
|
|
294
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
295
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
296
|
+
"description": PropTypes.string,
|
|
297
|
+
"toString": PropTypes.func.isRequired,
|
|
298
|
+
"valueOf": PropTypes.func.isRequired
|
|
299
|
+
}), PropTypes.string]),
|
|
300
|
+
"mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
301
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
302
|
+
"description": PropTypes.string,
|
|
303
|
+
"toString": PropTypes.func.isRequired,
|
|
304
|
+
"valueOf": PropTypes.func.isRequired
|
|
305
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
306
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
307
|
+
"description": PropTypes.string,
|
|
308
|
+
"toString": PropTypes.func.isRequired,
|
|
309
|
+
"valueOf": PropTypes.func.isRequired
|
|
310
|
+
}), PropTypes.string]),
|
|
311
|
+
"mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
312
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
313
|
+
"description": PropTypes.string,
|
|
314
|
+
"toString": PropTypes.func.isRequired,
|
|
315
|
+
"valueOf": PropTypes.func.isRequired
|
|
316
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
317
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
318
|
+
"description": PropTypes.string,
|
|
319
|
+
"toString": PropTypes.func.isRequired,
|
|
320
|
+
"valueOf": PropTypes.func.isRequired
|
|
321
|
+
}), PropTypes.string]),
|
|
322
|
+
"my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
|
|
323
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
324
|
+
"description": PropTypes.string,
|
|
325
|
+
"toString": PropTypes.func.isRequired,
|
|
326
|
+
"valueOf": PropTypes.func.isRequired
|
|
327
|
+
}), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
|
|
328
|
+
"__@toStringTag": PropTypes.string.isRequired,
|
|
329
|
+
"description": PropTypes.string,
|
|
330
|
+
"toString": PropTypes.func.isRequired,
|
|
331
|
+
"valueOf": PropTypes.func.isRequired
|
|
332
|
+
}), PropTypes.string]),
|
|
333
|
+
"name": PropTypes.string,
|
|
334
|
+
"onChange": PropTypes.func.isRequired,
|
|
335
|
+
"required": PropTypes.bool,
|
|
336
|
+
"uploadStatus": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object, PropTypes.shape({
|
|
337
|
+
"filename": PropTypes.string.isRequired,
|
|
338
|
+
"iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
|
|
339
|
+
"message": PropTypes.string,
|
|
340
|
+
"onAction": PropTypes.func.isRequired,
|
|
341
|
+
"progress": PropTypes.number,
|
|
342
|
+
"status": PropTypes.oneOf(["uploading"]).isRequired
|
|
343
|
+
})])), PropTypes.object, PropTypes.shape({
|
|
344
|
+
"filename": PropTypes.string.isRequired,
|
|
345
|
+
"iconType": PropTypes.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
|
|
346
|
+
"message": PropTypes.string,
|
|
347
|
+
"onAction": PropTypes.func.isRequired,
|
|
348
|
+
"progress": PropTypes.number,
|
|
349
|
+
"status": PropTypes.oneOf(["uploading"]).isRequired
|
|
350
|
+
})])
|
|
351
|
+
};
|
|
352
|
+
}
|
|
351
353
|
export { FileInput };
|
|
352
354
|
FileInput.displayName = "FileInput";
|
|
353
355
|
export default FileInput;
|
|
@@ -9,9 +9,11 @@ const FlatTableBody = /*#__PURE__*/React.forwardRef(({
|
|
|
9
9
|
ref: ref
|
|
10
10
|
}, rest), children);
|
|
11
11
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
if (process.env.NODE_ENV !== "production") {
|
|
13
|
+
FlatTableBody.propTypes = {
|
|
14
|
+
"children": PropTypes.node
|
|
15
|
+
};
|
|
16
|
+
}
|
|
15
17
|
export { FlatTableBody };
|
|
16
18
|
FlatTableBody.displayName = "FlatTableBody";
|
|
17
19
|
export default FlatTableBody;
|
package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js
CHANGED
|
@@ -23,7 +23,7 @@ const DropTarget = ({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
return /*#__PURE__*/React.createElement(StyledFlatTableBodyDraggable, _extends({
|
|
26
|
-
"data-
|
|
26
|
+
"data-role": "flat-table-body-draggable",
|
|
27
27
|
ref: drop,
|
|
28
28
|
isDragging: isDragging
|
|
29
29
|
}, rest), children);
|
package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js
CHANGED
|
@@ -60,16 +60,18 @@ const FlatTableRowDraggable = ({
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
}
|
|
63
|
+
if (process.env.NODE_ENV !== "production") {
|
|
64
|
+
FlatTableRowDraggable.propTypes = {
|
|
65
|
+
"children": PropTypes.node,
|
|
66
|
+
"draggable": PropTypes.bool,
|
|
67
|
+
"findItem": PropTypes.func,
|
|
68
|
+
"id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
69
|
+
"moveItem": PropTypes.func,
|
|
70
|
+
"rowRef": PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
71
|
+
"current": PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.object]).isRequired
|
|
72
|
+
})])
|
|
73
|
+
};
|
|
74
|
+
}
|
|
73
75
|
export { FlatTableRowDraggable };
|
|
74
76
|
FlatTableRowDraggable.displayName = "FlatTableRowDraggable";
|
|
75
77
|
export default FlatTableRowDraggable;
|
|
@@ -202,23 +202,25 @@ const FlatTableRow = /*#__PURE__*/React.forwardRef(({
|
|
|
202
202
|
}, rowComponent());
|
|
203
203
|
return /*#__PURE__*/React.createElement(React.Fragment, null, draggable ? draggableComponent() : rowComponent(), isExpanded && subRows && /*#__PURE__*/React.createElement(SubRowProvider, null, subRows));
|
|
204
204
|
});
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
205
|
+
if (process.env.NODE_ENV !== "production") {
|
|
206
|
+
FlatTableRow.propTypes = {
|
|
207
|
+
"bgColor": PropTypes.string,
|
|
208
|
+
"children": PropTypes.node,
|
|
209
|
+
"draggable": PropTypes.bool,
|
|
210
|
+
"expandable": PropTypes.bool,
|
|
211
|
+
"expandableArea": PropTypes.oneOf(["firstColumn", "wholeRow"]),
|
|
212
|
+
"expanded": PropTypes.bool,
|
|
213
|
+
"findItem": PropTypes.func,
|
|
214
|
+
"highlighted": PropTypes.bool,
|
|
215
|
+
"horizontalBorderColor": PropTypes.string,
|
|
216
|
+
"horizontalBorderSize": PropTypes.oneOf(["large", "medium", "small"]),
|
|
217
|
+
"id": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
218
|
+
"moveItem": PropTypes.func,
|
|
219
|
+
"onClick": PropTypes.func,
|
|
220
|
+
"selected": PropTypes.bool,
|
|
221
|
+
"subRows": PropTypes.node
|
|
222
|
+
};
|
|
223
|
+
}
|
|
222
224
|
export { FlatTableRow };
|
|
223
225
|
FlatTableRow.displayName = "FlatTableRow";
|
|
224
226
|
export default FlatTableRow;
|