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.
Files changed (143) hide show
  1. package/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
  2. package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  3. package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  4. package/esm/__internal__/input/input-presentation.component.js +19 -17
  5. package/esm/__internal__/input/input.component.js +355 -353
  6. package/esm/__internal__/input/input.style.d.ts +1 -1
  7. package/esm/__internal__/input/input.style.js +1 -7
  8. package/esm/__spec_helper__/index.js +5 -1
  9. package/esm/components/accordion/accordion.component.js +338 -336
  10. package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  11. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  12. package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
  13. package/esm/components/box/box.component.js +3785 -3783
  14. package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
  15. package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
  16. package/esm/components/button/button.component.js +688 -684
  17. package/esm/components/checkbox/checkbox.component.js +524 -522
  18. package/esm/components/date/date.component.js +722 -720
  19. package/esm/components/decimal/decimal.component.js +536 -534
  20. package/esm/components/dialog/dialog.component.js +56 -54
  21. package/esm/components/draggable/draggable-container.component.js +160 -158
  22. package/esm/components/draggable/draggable-item.component.js +162 -160
  23. package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  24. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  25. package/esm/components/file-input/file-input.component.js +191 -189
  26. package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  27. package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  28. package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  29. package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  30. package/esm/components/grouped-character/grouped-character.component.js +538 -536
  31. package/esm/components/help/help.component.js +172 -170
  32. package/esm/components/hr/hr.component.js +159 -157
  33. package/esm/components/icon/icon.component.js +181 -179
  34. package/esm/components/icon-button/icon-button.component.js +321 -319
  35. package/esm/components/link/link.component.js +72 -70
  36. package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
  37. package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
  38. package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  39. package/esm/components/message/message.component.js +168 -166
  40. package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
  41. package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  42. package/esm/components/number/number.component.js +536 -534
  43. package/esm/components/pod/pod.component.js +178 -176
  44. package/esm/components/radio-button/radio-button.component.js +523 -521
  45. package/esm/components/search/search.component.js +183 -181
  46. package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
  47. package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
  48. package/esm/components/select/multi-select/multi-select.component.js +551 -549
  49. package/esm/components/select/option/option.component.js +402 -400
  50. package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
  51. package/esm/components/select/option-row/option-row.component.js +16 -14
  52. package/esm/components/select/select-list/select-list.component.js +34 -32
  53. package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
  54. package/esm/components/select/simple-select/simple-select.component.js +550 -548
  55. package/esm/components/sidebar/sidebar.component.js +297 -295
  56. package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  57. package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
  58. package/esm/components/step-flow/step-flow.component.js +170 -168
  59. package/esm/components/switch/switch.component.js +524 -522
  60. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  61. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  62. package/esm/components/text-editor/text-editor.component.js +171 -169
  63. package/esm/components/textarea/textarea.component.js +532 -530
  64. package/esm/components/textbox/textbox.component.js +536 -534
  65. package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  66. package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  67. package/esm/components/tile-select/tile-select.component.js +180 -178
  68. package/esm/components/time/time.component.js +202 -200
  69. package/esm/components/toast/toast.component.js +18 -16
  70. package/esm/components/tooltip/tooltip.component.js +23 -21
  71. package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
  72. package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
  73. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  74. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  75. package/lib/__internal__/input/input-presentation.component.js +19 -17
  76. package/lib/__internal__/input/input.component.js +355 -353
  77. package/lib/__internal__/input/input.style.d.ts +1 -1
  78. package/lib/__internal__/input/input.style.js +1 -7
  79. package/lib/__spec_helper__/index.js +5 -1
  80. package/lib/components/accordion/accordion.component.js +338 -336
  81. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  82. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  83. package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
  84. package/lib/components/box/box.component.js +3785 -3783
  85. package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
  86. package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
  87. package/lib/components/button/button.component.js +688 -684
  88. package/lib/components/checkbox/checkbox.component.js +524 -522
  89. package/lib/components/date/date.component.js +722 -720
  90. package/lib/components/decimal/decimal.component.js +536 -534
  91. package/lib/components/dialog/dialog.component.js +56 -54
  92. package/lib/components/draggable/draggable-container.component.js +160 -158
  93. package/lib/components/draggable/draggable-item.component.js +162 -160
  94. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  95. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  96. package/lib/components/file-input/file-input.component.js +191 -189
  97. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  98. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  99. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  100. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  101. package/lib/components/grouped-character/grouped-character.component.js +538 -536
  102. package/lib/components/help/help.component.js +172 -170
  103. package/lib/components/hr/hr.component.js +159 -157
  104. package/lib/components/icon/icon.component.js +181 -179
  105. package/lib/components/icon-button/icon-button.component.js +321 -319
  106. package/lib/components/link/link.component.js +72 -70
  107. package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
  108. package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
  109. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  110. package/lib/components/message/message.component.js +168 -166
  111. package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
  112. package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  113. package/lib/components/number/number.component.js +536 -534
  114. package/lib/components/pod/pod.component.js +178 -176
  115. package/lib/components/radio-button/radio-button.component.js +523 -521
  116. package/lib/components/search/search.component.js +183 -181
  117. package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
  118. package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
  119. package/lib/components/select/multi-select/multi-select.component.js +551 -549
  120. package/lib/components/select/option/option.component.js +402 -400
  121. package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
  122. package/lib/components/select/option-row/option-row.component.js +16 -14
  123. package/lib/components/select/select-list/select-list.component.js +34 -32
  124. package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
  125. package/lib/components/select/simple-select/simple-select.component.js +550 -548
  126. package/lib/components/sidebar/sidebar.component.js +297 -295
  127. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  128. package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
  129. package/lib/components/step-flow/step-flow.component.js +170 -168
  130. package/lib/components/switch/switch.component.js +524 -522
  131. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  132. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  133. package/lib/components/text-editor/text-editor.component.js +171 -169
  134. package/lib/components/textarea/textarea.component.js +532 -530
  135. package/lib/components/textbox/textbox.component.js +536 -534
  136. package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  137. package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  138. package/lib/components/tile-select/tile-select.component.js +180 -178
  139. package/lib/components/time/time.component.js +202 -200
  140. package/lib/components/toast/toast.component.js +18 -16
  141. package/lib/components/tooltip/tooltip.component.js +23 -21
  142. package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
  143. package/package.json +1 -1
@@ -201,177 +201,179 @@ const SimpleColorPicker = /*#__PURE__*/React.forwardRef((props, ref) => {
201
201
  tooltipFlipOverrides: ["top", "bottom"]
202
202
  }))));
203
203
  });
204
- SimpleColorPicker.propTypes = {
205
- "children": PropTypes.node,
206
- "childWidth": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
207
- "error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
208
- "info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
209
- "isBlurBlocked": PropTypes.bool,
210
- "legend": PropTypes.string.isRequired,
211
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
212
- "__@toStringTag": PropTypes.string.isRequired,
213
- "description": PropTypes.string,
214
- "toString": PropTypes.func.isRequired,
215
- "valueOf": PropTypes.func.isRequired
216
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
217
- "__@toStringTag": PropTypes.string.isRequired,
218
- "description": PropTypes.string,
219
- "toString": PropTypes.func.isRequired,
220
- "valueOf": PropTypes.func.isRequired
221
- }), PropTypes.string]),
222
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
223
- "__@toStringTag": PropTypes.string.isRequired,
224
- "description": PropTypes.string,
225
- "toString": PropTypes.func.isRequired,
226
- "valueOf": PropTypes.func.isRequired
227
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
228
- "__@toStringTag": PropTypes.string.isRequired,
229
- "description": PropTypes.string,
230
- "toString": PropTypes.func.isRequired,
231
- "valueOf": PropTypes.func.isRequired
232
- }), PropTypes.string]),
233
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
234
- "__@toStringTag": PropTypes.string.isRequired,
235
- "description": PropTypes.string,
236
- "toString": PropTypes.func.isRequired,
237
- "valueOf": PropTypes.func.isRequired
238
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
239
- "__@toStringTag": PropTypes.string.isRequired,
240
- "description": PropTypes.string,
241
- "toString": PropTypes.func.isRequired,
242
- "valueOf": PropTypes.func.isRequired
243
- }), PropTypes.string]),
244
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
245
- "__@toStringTag": PropTypes.string.isRequired,
246
- "description": PropTypes.string,
247
- "toString": PropTypes.func.isRequired,
248
- "valueOf": PropTypes.func.isRequired
249
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
250
- "__@toStringTag": PropTypes.string.isRequired,
251
- "description": PropTypes.string,
252
- "toString": PropTypes.func.isRequired,
253
- "valueOf": PropTypes.func.isRequired
254
- }), PropTypes.string]),
255
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
256
- "__@toStringTag": PropTypes.string.isRequired,
257
- "description": PropTypes.string,
258
- "toString": PropTypes.func.isRequired,
259
- "valueOf": PropTypes.func.isRequired
260
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
261
- "__@toStringTag": PropTypes.string.isRequired,
262
- "description": PropTypes.string,
263
- "toString": PropTypes.func.isRequired,
264
- "valueOf": PropTypes.func.isRequired
265
- }), PropTypes.string]),
266
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
267
- "__@toStringTag": PropTypes.string.isRequired,
268
- "description": PropTypes.string,
269
- "toString": PropTypes.func.isRequired,
270
- "valueOf": PropTypes.func.isRequired
271
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
272
- "__@toStringTag": PropTypes.string.isRequired,
273
- "description": PropTypes.string,
274
- "toString": PropTypes.func.isRequired,
275
- "valueOf": PropTypes.func.isRequired
276
- }), PropTypes.string]),
277
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
278
- "__@toStringTag": PropTypes.string.isRequired,
279
- "description": PropTypes.string,
280
- "toString": PropTypes.func.isRequired,
281
- "valueOf": PropTypes.func.isRequired
282
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
283
- "__@toStringTag": PropTypes.string.isRequired,
284
- "description": PropTypes.string,
285
- "toString": PropTypes.func.isRequired,
286
- "valueOf": PropTypes.func.isRequired
287
- }), PropTypes.string]),
288
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
289
- "__@toStringTag": PropTypes.string.isRequired,
290
- "description": PropTypes.string,
291
- "toString": PropTypes.func.isRequired,
292
- "valueOf": PropTypes.func.isRequired
293
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
294
- "__@toStringTag": PropTypes.string.isRequired,
295
- "description": PropTypes.string,
296
- "toString": PropTypes.func.isRequired,
297
- "valueOf": PropTypes.func.isRequired
298
- }), PropTypes.string]),
299
- "maxWidth": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
300
- "mb": 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
- "ml": 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
- "mr": 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
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
334
- "__@toStringTag": PropTypes.string.isRequired,
335
- "description": PropTypes.string,
336
- "toString": PropTypes.func.isRequired,
337
- "valueOf": PropTypes.func.isRequired
338
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
339
- "__@toStringTag": PropTypes.string.isRequired,
340
- "description": PropTypes.string,
341
- "toString": PropTypes.func.isRequired,
342
- "valueOf": PropTypes.func.isRequired
343
- }), PropTypes.string]),
344
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
345
- "__@toStringTag": PropTypes.string.isRequired,
346
- "description": PropTypes.string,
347
- "toString": PropTypes.func.isRequired,
348
- "valueOf": PropTypes.func.isRequired
349
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
350
- "__@toStringTag": PropTypes.string.isRequired,
351
- "description": PropTypes.string,
352
- "toString": PropTypes.func.isRequired,
353
- "valueOf": PropTypes.func.isRequired
354
- }), PropTypes.string]),
355
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
356
- "__@toStringTag": PropTypes.string.isRequired,
357
- "description": PropTypes.string,
358
- "toString": PropTypes.func.isRequired,
359
- "valueOf": PropTypes.func.isRequired
360
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
361
- "__@toStringTag": PropTypes.string.isRequired,
362
- "description": PropTypes.string,
363
- "toString": PropTypes.func.isRequired,
364
- "valueOf": PropTypes.func.isRequired
365
- }), PropTypes.string]),
366
- "name": PropTypes.string.isRequired,
367
- "onBlur": PropTypes.func,
368
- "onChange": PropTypes.func,
369
- "onKeyDown": PropTypes.func,
370
- "required": PropTypes.bool,
371
- "validationOnLegend": PropTypes.bool,
372
- "value": PropTypes.string,
373
- "warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
374
- };
204
+ if (process.env.NODE_ENV !== "production") {
205
+ SimpleColorPicker.propTypes = {
206
+ "children": PropTypes.node,
207
+ "childWidth": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
208
+ "error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
209
+ "info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
210
+ "isBlurBlocked": PropTypes.bool,
211
+ "legend": PropTypes.string.isRequired,
212
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
213
+ "__@toStringTag": PropTypes.string.isRequired,
214
+ "description": PropTypes.string,
215
+ "toString": PropTypes.func.isRequired,
216
+ "valueOf": PropTypes.func.isRequired
217
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
218
+ "__@toStringTag": PropTypes.string.isRequired,
219
+ "description": PropTypes.string,
220
+ "toString": PropTypes.func.isRequired,
221
+ "valueOf": PropTypes.func.isRequired
222
+ }), PropTypes.string]),
223
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
224
+ "__@toStringTag": PropTypes.string.isRequired,
225
+ "description": PropTypes.string,
226
+ "toString": PropTypes.func.isRequired,
227
+ "valueOf": PropTypes.func.isRequired
228
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
229
+ "__@toStringTag": PropTypes.string.isRequired,
230
+ "description": PropTypes.string,
231
+ "toString": PropTypes.func.isRequired,
232
+ "valueOf": PropTypes.func.isRequired
233
+ }), PropTypes.string]),
234
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
235
+ "__@toStringTag": PropTypes.string.isRequired,
236
+ "description": PropTypes.string,
237
+ "toString": PropTypes.func.isRequired,
238
+ "valueOf": PropTypes.func.isRequired
239
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
240
+ "__@toStringTag": PropTypes.string.isRequired,
241
+ "description": PropTypes.string,
242
+ "toString": PropTypes.func.isRequired,
243
+ "valueOf": PropTypes.func.isRequired
244
+ }), PropTypes.string]),
245
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
246
+ "__@toStringTag": PropTypes.string.isRequired,
247
+ "description": PropTypes.string,
248
+ "toString": PropTypes.func.isRequired,
249
+ "valueOf": PropTypes.func.isRequired
250
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
251
+ "__@toStringTag": PropTypes.string.isRequired,
252
+ "description": PropTypes.string,
253
+ "toString": PropTypes.func.isRequired,
254
+ "valueOf": PropTypes.func.isRequired
255
+ }), PropTypes.string]),
256
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
257
+ "__@toStringTag": PropTypes.string.isRequired,
258
+ "description": PropTypes.string,
259
+ "toString": PropTypes.func.isRequired,
260
+ "valueOf": PropTypes.func.isRequired
261
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
262
+ "__@toStringTag": PropTypes.string.isRequired,
263
+ "description": PropTypes.string,
264
+ "toString": PropTypes.func.isRequired,
265
+ "valueOf": PropTypes.func.isRequired
266
+ }), PropTypes.string]),
267
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
268
+ "__@toStringTag": PropTypes.string.isRequired,
269
+ "description": PropTypes.string,
270
+ "toString": PropTypes.func.isRequired,
271
+ "valueOf": PropTypes.func.isRequired
272
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
273
+ "__@toStringTag": PropTypes.string.isRequired,
274
+ "description": PropTypes.string,
275
+ "toString": PropTypes.func.isRequired,
276
+ "valueOf": PropTypes.func.isRequired
277
+ }), PropTypes.string]),
278
+ "marginX": 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
+ "marginY": 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
+ "maxWidth": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
301
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
302
+ "__@toStringTag": PropTypes.string.isRequired,
303
+ "description": PropTypes.string,
304
+ "toString": PropTypes.func.isRequired,
305
+ "valueOf": PropTypes.func.isRequired
306
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
307
+ "__@toStringTag": PropTypes.string.isRequired,
308
+ "description": PropTypes.string,
309
+ "toString": PropTypes.func.isRequired,
310
+ "valueOf": PropTypes.func.isRequired
311
+ }), PropTypes.string]),
312
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
313
+ "__@toStringTag": PropTypes.string.isRequired,
314
+ "description": PropTypes.string,
315
+ "toString": PropTypes.func.isRequired,
316
+ "valueOf": PropTypes.func.isRequired
317
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
318
+ "__@toStringTag": PropTypes.string.isRequired,
319
+ "description": PropTypes.string,
320
+ "toString": PropTypes.func.isRequired,
321
+ "valueOf": PropTypes.func.isRequired
322
+ }), PropTypes.string]),
323
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
324
+ "__@toStringTag": PropTypes.string.isRequired,
325
+ "description": PropTypes.string,
326
+ "toString": PropTypes.func.isRequired,
327
+ "valueOf": PropTypes.func.isRequired
328
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
329
+ "__@toStringTag": PropTypes.string.isRequired,
330
+ "description": PropTypes.string,
331
+ "toString": PropTypes.func.isRequired,
332
+ "valueOf": PropTypes.func.isRequired
333
+ }), PropTypes.string]),
334
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
335
+ "__@toStringTag": PropTypes.string.isRequired,
336
+ "description": PropTypes.string,
337
+ "toString": PropTypes.func.isRequired,
338
+ "valueOf": PropTypes.func.isRequired
339
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
340
+ "__@toStringTag": PropTypes.string.isRequired,
341
+ "description": PropTypes.string,
342
+ "toString": PropTypes.func.isRequired,
343
+ "valueOf": PropTypes.func.isRequired
344
+ }), PropTypes.string]),
345
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
346
+ "__@toStringTag": PropTypes.string.isRequired,
347
+ "description": PropTypes.string,
348
+ "toString": PropTypes.func.isRequired,
349
+ "valueOf": PropTypes.func.isRequired
350
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
351
+ "__@toStringTag": PropTypes.string.isRequired,
352
+ "description": PropTypes.string,
353
+ "toString": PropTypes.func.isRequired,
354
+ "valueOf": PropTypes.func.isRequired
355
+ }), PropTypes.string]),
356
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
357
+ "__@toStringTag": PropTypes.string.isRequired,
358
+ "description": PropTypes.string,
359
+ "toString": PropTypes.func.isRequired,
360
+ "valueOf": PropTypes.func.isRequired
361
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
362
+ "__@toStringTag": PropTypes.string.isRequired,
363
+ "description": PropTypes.string,
364
+ "toString": PropTypes.func.isRequired,
365
+ "valueOf": PropTypes.func.isRequired
366
+ }), PropTypes.string]),
367
+ "name": PropTypes.string.isRequired,
368
+ "onBlur": PropTypes.func,
369
+ "onChange": PropTypes.func,
370
+ "onKeyDown": PropTypes.func,
371
+ "required": PropTypes.bool,
372
+ "validationOnLegend": PropTypes.bool,
373
+ "value": PropTypes.string,
374
+ "warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
375
+ };
376
+ }
375
377
  export { SimpleColorPicker };
376
378
  SimpleColorPicker.displayName = "SimpleColorPicker";
377
379
  export default SimpleColorPicker;