carbon-react 104.58.8 → 105.0.2

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 (64) hide show
  1. package/esm/__internal__/popover/popover.component.d.ts +1 -1
  2. package/esm/__internal__/popover/popover.component.js +15 -5
  3. package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
  4. package/esm/components/menu/menu.component.js +2 -1
  5. package/esm/components/menu/menu.context.d.ts +1 -0
  6. package/esm/components/menu/menu.context.js +2 -1
  7. package/esm/components/menu/menu.d.ts +1 -0
  8. package/esm/components/modal/modal.component.js +2 -1
  9. package/esm/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
  10. package/esm/components/select/__internal__/select-text/select-text.component.js +4 -28
  11. package/esm/components/select/select-textbox/select-textbox.component.js +5 -2
  12. package/esm/components/vertical-divider/index.d.ts +1 -2
  13. package/esm/components/vertical-divider/vertical-divider.component.d.ts +11 -9
  14. package/esm/components/vertical-divider/vertical-divider.component.js +1410 -25
  15. package/esm/components/vertical-divider/vertical-divider.style.d.ts +4 -2
  16. package/esm/components/vertical-divider/vertical-divider.style.js +1 -1
  17. package/lib/__internal__/popover/popover.component.d.ts +1 -1
  18. package/lib/__internal__/popover/popover.component.js +15 -4
  19. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
  20. package/lib/components/menu/menu.component.js +2 -1
  21. package/lib/components/menu/menu.context.d.ts +1 -0
  22. package/lib/components/menu/menu.context.js +2 -1
  23. package/lib/components/menu/menu.d.ts +1 -0
  24. package/lib/components/modal/modal.component.js +2 -1
  25. package/lib/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
  26. package/lib/components/select/__internal__/select-text/select-text.component.js +4 -33
  27. package/lib/components/select/select-textbox/select-textbox.component.js +5 -2
  28. package/lib/components/vertical-divider/index.d.ts +1 -2
  29. package/lib/components/vertical-divider/vertical-divider.component.d.ts +11 -9
  30. package/lib/components/vertical-divider/vertical-divider.component.js +1459 -28
  31. package/lib/components/vertical-divider/vertical-divider.style.d.ts +4 -2
  32. package/lib/components/vertical-divider/vertical-divider.style.js +1 -1
  33. package/package.json +1 -1
  34. package/esm/components/row/column/column.component.d.ts +0 -30
  35. package/esm/components/row/column/column.component.js +0 -72
  36. package/esm/components/row/column/column.d.ts +0 -22
  37. package/esm/components/row/column/column.style.d.ts +0 -2
  38. package/esm/components/row/column/column.style.js +0 -32
  39. package/esm/components/row/index.d.ts +0 -2
  40. package/esm/components/row/index.js +0 -2
  41. package/esm/components/row/row.component.d.ts +0 -24
  42. package/esm/components/row/row.component.js +0 -59
  43. package/esm/components/row/row.config.d.ts +0 -11
  44. package/esm/components/row/row.config.js +0 -12
  45. package/esm/components/row/row.d.ts +0 -27
  46. package/esm/components/row/row.style.d.ts +0 -2
  47. package/esm/components/row/row.style.js +0 -53
  48. package/esm/components/vertical-divider/vertical-divider.d.ts +0 -113
  49. package/lib/components/row/column/column.component.d.ts +0 -30
  50. package/lib/components/row/column/column.component.js +0 -87
  51. package/lib/components/row/column/column.d.ts +0 -22
  52. package/lib/components/row/column/column.style.d.ts +0 -2
  53. package/lib/components/row/column/column.style.js +0 -45
  54. package/lib/components/row/index.d.ts +0 -2
  55. package/lib/components/row/index.js +0 -23
  56. package/lib/components/row/package.json +0 -6
  57. package/lib/components/row/row.component.d.ts +0 -24
  58. package/lib/components/row/row.component.js +0 -73
  59. package/lib/components/row/row.config.d.ts +0 -11
  60. package/lib/components/row/row.config.js +0 -20
  61. package/lib/components/row/row.d.ts +0 -27
  62. package/lib/components/row/row.style.d.ts +0 -2
  63. package/lib/components/row/row.style.js +0 -71
  64. package/lib/components/vertical-divider/vertical-divider.d.ts +0 -113
@@ -1,38 +1,1423 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() {
2
+ _extends =
3
+ Object.assign ||
4
+ function (target) {
5
+ for (var i = 1; i < arguments.length; i++) {
6
+ var source = arguments[i];
7
+ for (var key in source) {
8
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
9
+ target[key] = source[key];
10
+ }
11
+ }
12
+ }
13
+ return target;
14
+ };
15
+ return _extends.apply(this, arguments);
16
+ }
2
17
 
3
- import React from "react";
18
+ import React, { useContext } from "react";
4
19
  import PropTypes from "prop-types";
5
- import propTypes from "@styled-system/prop-types";
20
+ import { MenuContext } from "../menu/menu.component";
6
21
  import { StyledVerticalWrapper, StyledDivider } from "./vertical-divider.style";
7
22
 
8
23
  const VerticalDivider = ({
9
24
  h,
25
+ height,
10
26
  displayInline = false,
11
27
  tint = 80,
12
28
  ...props
13
- }) => /*#__PURE__*/React.createElement(StyledVerticalWrapper, _extends({
14
- "data-component": "vertical-divider",
15
- p: props.p || 3,
16
- height: h,
17
- displayInline: displayInline
18
- }, props), /*#__PURE__*/React.createElement(StyledDivider, {
19
- tint: tint
20
- }));
29
+ }) => {
30
+ const { inMenu } = useContext(MenuContext);
31
+ return /*#__PURE__*/ React.createElement(
32
+ StyledVerticalWrapper,
33
+ _extends(
34
+ {
35
+ "data-component": "vertical-divider",
36
+ p: props.p || 3,
37
+ height: h || height,
38
+ displayInline: displayInline,
39
+ },
40
+ props,
41
+ {
42
+ as: inMenu ? "li" : "div",
43
+ "aria-hidden": !!inMenu,
44
+ }
45
+ ),
46
+ /*#__PURE__*/ React.createElement(StyledDivider, {
47
+ tint: tint,
48
+ })
49
+ );
50
+ };
21
51
 
22
52
  VerticalDivider.propTypes = {
23
- /** Styled system spacing props */
24
- ...propTypes.space,
25
-
26
- /** Set a custom height for the component, if passing a number it will set the value in `px` */
27
- h: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
28
-
29
- /** Set this flag if using component in a non-flex container */
30
53
  displayInline: PropTypes.bool,
31
-
32
- /** Set a custom tint (between 1 and 100) for the component,
33
- * the values determine the level of tint applied to the slate */
34
- tint: PropTypes.oneOf(Array.from({
35
- length: 100
36
- }, (_, i) => i + 1))
54
+ h: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
55
+ height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
56
+ /**
57
+ * Margin on top, left, bottom and right
58
+ */
59
+ m: PropTypes.oneOfType([
60
+ PropTypes.arrayOf(
61
+ PropTypes.oneOfType([
62
+ PropTypes.oneOf([null]),
63
+ PropTypes.number,
64
+ PropTypes.shape({
65
+ "__@toStringTag": PropTypes.string.isRequired,
66
+ /**
67
+ * Expose the [[Description]] internal slot of a symbol directly.
68
+ */
69
+ description: PropTypes.string,
70
+ /**
71
+ * Returns a string representation of an object.
72
+ */
73
+ toString: PropTypes.func.isRequired,
74
+ /**
75
+ * Returns the primitive value of the specified object.
76
+ */
77
+ valueOf: PropTypes.func.isRequired,
78
+ }),
79
+ PropTypes.string,
80
+ ])
81
+ ),
82
+ PropTypes.number,
83
+ PropTypes.object,
84
+ PropTypes.shape({
85
+ "__@toStringTag": PropTypes.string.isRequired,
86
+ /**
87
+ * Expose the [[Description]] internal slot of a symbol directly.
88
+ */
89
+ description: PropTypes.string,
90
+ /**
91
+ * Returns a string representation of an object.
92
+ */
93
+ toString: PropTypes.func.isRequired,
94
+ /**
95
+ * Returns the primitive value of the specified object.
96
+ */
97
+ valueOf: PropTypes.func.isRequired,
98
+ }),
99
+ PropTypes.string,
100
+ ]),
101
+ /**
102
+ * Margin on top, left, bottom and right
103
+ */
104
+ margin: PropTypes.oneOfType([
105
+ PropTypes.arrayOf(
106
+ PropTypes.oneOfType([
107
+ PropTypes.oneOf([null]),
108
+ PropTypes.number,
109
+ PropTypes.shape({
110
+ "__@toStringTag": PropTypes.string.isRequired,
111
+ /**
112
+ * Expose the [[Description]] internal slot of a symbol directly.
113
+ */
114
+ description: PropTypes.string,
115
+ /**
116
+ * Returns a string representation of an object.
117
+ */
118
+ toString: PropTypes.func.isRequired,
119
+ /**
120
+ * Returns the primitive value of the specified object.
121
+ */
122
+ valueOf: PropTypes.func.isRequired,
123
+ }),
124
+ PropTypes.string,
125
+ ])
126
+ ),
127
+ PropTypes.number,
128
+ PropTypes.object,
129
+ PropTypes.shape({
130
+ "__@toStringTag": PropTypes.string.isRequired,
131
+ /**
132
+ * Expose the [[Description]] internal slot of a symbol directly.
133
+ */
134
+ description: PropTypes.string,
135
+ /**
136
+ * Returns a string representation of an object.
137
+ */
138
+ toString: PropTypes.func.isRequired,
139
+ /**
140
+ * Returns the primitive value of the specified object.
141
+ */
142
+ valueOf: PropTypes.func.isRequired,
143
+ }),
144
+ PropTypes.string,
145
+ ]),
146
+ /**
147
+ * Margin on bottom
148
+ */
149
+ marginBottom: PropTypes.oneOfType([
150
+ PropTypes.arrayOf(
151
+ PropTypes.oneOfType([
152
+ PropTypes.oneOf([null]),
153
+ PropTypes.number,
154
+ PropTypes.shape({
155
+ "__@toStringTag": PropTypes.string.isRequired,
156
+ /**
157
+ * Expose the [[Description]] internal slot of a symbol directly.
158
+ */
159
+ description: PropTypes.string,
160
+ /**
161
+ * Returns a string representation of an object.
162
+ */
163
+ toString: PropTypes.func.isRequired,
164
+ /**
165
+ * Returns the primitive value of the specified object.
166
+ */
167
+ valueOf: PropTypes.func.isRequired,
168
+ }),
169
+ PropTypes.string,
170
+ ])
171
+ ),
172
+ PropTypes.number,
173
+ PropTypes.object,
174
+ PropTypes.shape({
175
+ "__@toStringTag": PropTypes.string.isRequired,
176
+ /**
177
+ * Expose the [[Description]] internal slot of a symbol directly.
178
+ */
179
+ description: PropTypes.string,
180
+ /**
181
+ * Returns a string representation of an object.
182
+ */
183
+ toString: PropTypes.func.isRequired,
184
+ /**
185
+ * Returns the primitive value of the specified object.
186
+ */
187
+ valueOf: PropTypes.func.isRequired,
188
+ }),
189
+ PropTypes.string,
190
+ ]),
191
+ /**
192
+ * Margin on left
193
+ */
194
+ marginLeft: PropTypes.oneOfType([
195
+ PropTypes.arrayOf(
196
+ PropTypes.oneOfType([
197
+ PropTypes.oneOf([null]),
198
+ PropTypes.number,
199
+ PropTypes.shape({
200
+ "__@toStringTag": PropTypes.string.isRequired,
201
+ /**
202
+ * Expose the [[Description]] internal slot of a symbol directly.
203
+ */
204
+ description: PropTypes.string,
205
+ /**
206
+ * Returns a string representation of an object.
207
+ */
208
+ toString: PropTypes.func.isRequired,
209
+ /**
210
+ * Returns the primitive value of the specified object.
211
+ */
212
+ valueOf: PropTypes.func.isRequired,
213
+ }),
214
+ PropTypes.string,
215
+ ])
216
+ ),
217
+ PropTypes.number,
218
+ PropTypes.object,
219
+ PropTypes.shape({
220
+ "__@toStringTag": PropTypes.string.isRequired,
221
+ /**
222
+ * Expose the [[Description]] internal slot of a symbol directly.
223
+ */
224
+ description: PropTypes.string,
225
+ /**
226
+ * Returns a string representation of an object.
227
+ */
228
+ toString: PropTypes.func.isRequired,
229
+ /**
230
+ * Returns the primitive value of the specified object.
231
+ */
232
+ valueOf: PropTypes.func.isRequired,
233
+ }),
234
+ PropTypes.string,
235
+ ]),
236
+ /**
237
+ * Margin on right
238
+ */
239
+ marginRight: PropTypes.oneOfType([
240
+ PropTypes.arrayOf(
241
+ PropTypes.oneOfType([
242
+ PropTypes.oneOf([null]),
243
+ PropTypes.number,
244
+ PropTypes.shape({
245
+ "__@toStringTag": PropTypes.string.isRequired,
246
+ /**
247
+ * Expose the [[Description]] internal slot of a symbol directly.
248
+ */
249
+ description: PropTypes.string,
250
+ /**
251
+ * Returns a string representation of an object.
252
+ */
253
+ toString: PropTypes.func.isRequired,
254
+ /**
255
+ * Returns the primitive value of the specified object.
256
+ */
257
+ valueOf: PropTypes.func.isRequired,
258
+ }),
259
+ PropTypes.string,
260
+ ])
261
+ ),
262
+ PropTypes.number,
263
+ PropTypes.object,
264
+ PropTypes.shape({
265
+ "__@toStringTag": PropTypes.string.isRequired,
266
+ /**
267
+ * Expose the [[Description]] internal slot of a symbol directly.
268
+ */
269
+ description: PropTypes.string,
270
+ /**
271
+ * Returns a string representation of an object.
272
+ */
273
+ toString: PropTypes.func.isRequired,
274
+ /**
275
+ * Returns the primitive value of the specified object.
276
+ */
277
+ valueOf: PropTypes.func.isRequired,
278
+ }),
279
+ PropTypes.string,
280
+ ]),
281
+ /**
282
+ * Margin on top
283
+ */
284
+ marginTop: PropTypes.oneOfType([
285
+ PropTypes.arrayOf(
286
+ PropTypes.oneOfType([
287
+ PropTypes.oneOf([null]),
288
+ PropTypes.number,
289
+ PropTypes.shape({
290
+ "__@toStringTag": PropTypes.string.isRequired,
291
+ /**
292
+ * Expose the [[Description]] internal slot of a symbol directly.
293
+ */
294
+ description: PropTypes.string,
295
+ /**
296
+ * Returns a string representation of an object.
297
+ */
298
+ toString: PropTypes.func.isRequired,
299
+ /**
300
+ * Returns the primitive value of the specified object.
301
+ */
302
+ valueOf: PropTypes.func.isRequired,
303
+ }),
304
+ PropTypes.string,
305
+ ])
306
+ ),
307
+ PropTypes.number,
308
+ PropTypes.object,
309
+ PropTypes.shape({
310
+ "__@toStringTag": PropTypes.string.isRequired,
311
+ /**
312
+ * Expose the [[Description]] internal slot of a symbol directly.
313
+ */
314
+ description: PropTypes.string,
315
+ /**
316
+ * Returns a string representation of an object.
317
+ */
318
+ toString: PropTypes.func.isRequired,
319
+ /**
320
+ * Returns the primitive value of the specified object.
321
+ */
322
+ valueOf: PropTypes.func.isRequired,
323
+ }),
324
+ PropTypes.string,
325
+ ]),
326
+ /**
327
+ * Margin on left and right
328
+ */
329
+ marginX: PropTypes.oneOfType([
330
+ PropTypes.arrayOf(
331
+ PropTypes.oneOfType([
332
+ PropTypes.oneOf([null]),
333
+ PropTypes.number,
334
+ PropTypes.shape({
335
+ "__@toStringTag": PropTypes.string.isRequired,
336
+ /**
337
+ * Expose the [[Description]] internal slot of a symbol directly.
338
+ */
339
+ description: PropTypes.string,
340
+ /**
341
+ * Returns a string representation of an object.
342
+ */
343
+ toString: PropTypes.func.isRequired,
344
+ /**
345
+ * Returns the primitive value of the specified object.
346
+ */
347
+ valueOf: PropTypes.func.isRequired,
348
+ }),
349
+ PropTypes.string,
350
+ ])
351
+ ),
352
+ PropTypes.number,
353
+ PropTypes.object,
354
+ PropTypes.shape({
355
+ "__@toStringTag": PropTypes.string.isRequired,
356
+ /**
357
+ * Expose the [[Description]] internal slot of a symbol directly.
358
+ */
359
+ description: PropTypes.string,
360
+ /**
361
+ * Returns a string representation of an object.
362
+ */
363
+ toString: PropTypes.func.isRequired,
364
+ /**
365
+ * Returns the primitive value of the specified object.
366
+ */
367
+ valueOf: PropTypes.func.isRequired,
368
+ }),
369
+ PropTypes.string,
370
+ ]),
371
+ /**
372
+ * Margin on top and bottom
373
+ */
374
+ marginY: PropTypes.oneOfType([
375
+ PropTypes.arrayOf(
376
+ PropTypes.oneOfType([
377
+ PropTypes.oneOf([null]),
378
+ PropTypes.number,
379
+ PropTypes.shape({
380
+ "__@toStringTag": PropTypes.string.isRequired,
381
+ /**
382
+ * Expose the [[Description]] internal slot of a symbol directly.
383
+ */
384
+ description: PropTypes.string,
385
+ /**
386
+ * Returns a string representation of an object.
387
+ */
388
+ toString: PropTypes.func.isRequired,
389
+ /**
390
+ * Returns the primitive value of the specified object.
391
+ */
392
+ valueOf: PropTypes.func.isRequired,
393
+ }),
394
+ PropTypes.string,
395
+ ])
396
+ ),
397
+ PropTypes.number,
398
+ PropTypes.object,
399
+ PropTypes.shape({
400
+ "__@toStringTag": PropTypes.string.isRequired,
401
+ /**
402
+ * Expose the [[Description]] internal slot of a symbol directly.
403
+ */
404
+ description: PropTypes.string,
405
+ /**
406
+ * Returns a string representation of an object.
407
+ */
408
+ toString: PropTypes.func.isRequired,
409
+ /**
410
+ * Returns the primitive value of the specified object.
411
+ */
412
+ valueOf: PropTypes.func.isRequired,
413
+ }),
414
+ PropTypes.string,
415
+ ]),
416
+ /**
417
+ * Margin on bottom
418
+ */
419
+ mb: PropTypes.oneOfType([
420
+ PropTypes.arrayOf(
421
+ PropTypes.oneOfType([
422
+ PropTypes.oneOf([null]),
423
+ PropTypes.number,
424
+ PropTypes.shape({
425
+ "__@toStringTag": PropTypes.string.isRequired,
426
+ /**
427
+ * Expose the [[Description]] internal slot of a symbol directly.
428
+ */
429
+ description: PropTypes.string,
430
+ /**
431
+ * Returns a string representation of an object.
432
+ */
433
+ toString: PropTypes.func.isRequired,
434
+ /**
435
+ * Returns the primitive value of the specified object.
436
+ */
437
+ valueOf: PropTypes.func.isRequired,
438
+ }),
439
+ PropTypes.string,
440
+ ])
441
+ ),
442
+ PropTypes.number,
443
+ PropTypes.object,
444
+ PropTypes.shape({
445
+ "__@toStringTag": PropTypes.string.isRequired,
446
+ /**
447
+ * Expose the [[Description]] internal slot of a symbol directly.
448
+ */
449
+ description: PropTypes.string,
450
+ /**
451
+ * Returns a string representation of an object.
452
+ */
453
+ toString: PropTypes.func.isRequired,
454
+ /**
455
+ * Returns the primitive value of the specified object.
456
+ */
457
+ valueOf: PropTypes.func.isRequired,
458
+ }),
459
+ PropTypes.string,
460
+ ]),
461
+ /**
462
+ * Margin on left
463
+ */
464
+ ml: PropTypes.oneOfType([
465
+ PropTypes.arrayOf(
466
+ PropTypes.oneOfType([
467
+ PropTypes.oneOf([null]),
468
+ PropTypes.number,
469
+ PropTypes.shape({
470
+ "__@toStringTag": PropTypes.string.isRequired,
471
+ /**
472
+ * Expose the [[Description]] internal slot of a symbol directly.
473
+ */
474
+ description: PropTypes.string,
475
+ /**
476
+ * Returns a string representation of an object.
477
+ */
478
+ toString: PropTypes.func.isRequired,
479
+ /**
480
+ * Returns the primitive value of the specified object.
481
+ */
482
+ valueOf: PropTypes.func.isRequired,
483
+ }),
484
+ PropTypes.string,
485
+ ])
486
+ ),
487
+ PropTypes.number,
488
+ PropTypes.object,
489
+ PropTypes.shape({
490
+ "__@toStringTag": PropTypes.string.isRequired,
491
+ /**
492
+ * Expose the [[Description]] internal slot of a symbol directly.
493
+ */
494
+ description: PropTypes.string,
495
+ /**
496
+ * Returns a string representation of an object.
497
+ */
498
+ toString: PropTypes.func.isRequired,
499
+ /**
500
+ * Returns the primitive value of the specified object.
501
+ */
502
+ valueOf: PropTypes.func.isRequired,
503
+ }),
504
+ PropTypes.string,
505
+ ]),
506
+ /**
507
+ * Margin on right
508
+ */
509
+ mr: PropTypes.oneOfType([
510
+ PropTypes.arrayOf(
511
+ PropTypes.oneOfType([
512
+ PropTypes.oneOf([null]),
513
+ PropTypes.number,
514
+ PropTypes.shape({
515
+ "__@toStringTag": PropTypes.string.isRequired,
516
+ /**
517
+ * Expose the [[Description]] internal slot of a symbol directly.
518
+ */
519
+ description: PropTypes.string,
520
+ /**
521
+ * Returns a string representation of an object.
522
+ */
523
+ toString: PropTypes.func.isRequired,
524
+ /**
525
+ * Returns the primitive value of the specified object.
526
+ */
527
+ valueOf: PropTypes.func.isRequired,
528
+ }),
529
+ PropTypes.string,
530
+ ])
531
+ ),
532
+ PropTypes.number,
533
+ PropTypes.object,
534
+ PropTypes.shape({
535
+ "__@toStringTag": PropTypes.string.isRequired,
536
+ /**
537
+ * Expose the [[Description]] internal slot of a symbol directly.
538
+ */
539
+ description: PropTypes.string,
540
+ /**
541
+ * Returns a string representation of an object.
542
+ */
543
+ toString: PropTypes.func.isRequired,
544
+ /**
545
+ * Returns the primitive value of the specified object.
546
+ */
547
+ valueOf: PropTypes.func.isRequired,
548
+ }),
549
+ PropTypes.string,
550
+ ]),
551
+ /**
552
+ * Margin on top
553
+ */
554
+ mt: PropTypes.oneOfType([
555
+ PropTypes.arrayOf(
556
+ PropTypes.oneOfType([
557
+ PropTypes.oneOf([null]),
558
+ PropTypes.number,
559
+ PropTypes.shape({
560
+ "__@toStringTag": PropTypes.string.isRequired,
561
+ /**
562
+ * Expose the [[Description]] internal slot of a symbol directly.
563
+ */
564
+ description: PropTypes.string,
565
+ /**
566
+ * Returns a string representation of an object.
567
+ */
568
+ toString: PropTypes.func.isRequired,
569
+ /**
570
+ * Returns the primitive value of the specified object.
571
+ */
572
+ valueOf: PropTypes.func.isRequired,
573
+ }),
574
+ PropTypes.string,
575
+ ])
576
+ ),
577
+ PropTypes.number,
578
+ PropTypes.object,
579
+ PropTypes.shape({
580
+ "__@toStringTag": PropTypes.string.isRequired,
581
+ /**
582
+ * Expose the [[Description]] internal slot of a symbol directly.
583
+ */
584
+ description: PropTypes.string,
585
+ /**
586
+ * Returns a string representation of an object.
587
+ */
588
+ toString: PropTypes.func.isRequired,
589
+ /**
590
+ * Returns the primitive value of the specified object.
591
+ */
592
+ valueOf: PropTypes.func.isRequired,
593
+ }),
594
+ PropTypes.string,
595
+ ]),
596
+ /**
597
+ * Margin on left and right
598
+ */
599
+ mx: PropTypes.oneOfType([
600
+ PropTypes.arrayOf(
601
+ PropTypes.oneOfType([
602
+ PropTypes.oneOf([null]),
603
+ PropTypes.number,
604
+ PropTypes.shape({
605
+ "__@toStringTag": PropTypes.string.isRequired,
606
+ /**
607
+ * Expose the [[Description]] internal slot of a symbol directly.
608
+ */
609
+ description: PropTypes.string,
610
+ /**
611
+ * Returns a string representation of an object.
612
+ */
613
+ toString: PropTypes.func.isRequired,
614
+ /**
615
+ * Returns the primitive value of the specified object.
616
+ */
617
+ valueOf: PropTypes.func.isRequired,
618
+ }),
619
+ PropTypes.string,
620
+ ])
621
+ ),
622
+ PropTypes.number,
623
+ PropTypes.object,
624
+ PropTypes.shape({
625
+ "__@toStringTag": PropTypes.string.isRequired,
626
+ /**
627
+ * Expose the [[Description]] internal slot of a symbol directly.
628
+ */
629
+ description: PropTypes.string,
630
+ /**
631
+ * Returns a string representation of an object.
632
+ */
633
+ toString: PropTypes.func.isRequired,
634
+ /**
635
+ * Returns the primitive value of the specified object.
636
+ */
637
+ valueOf: PropTypes.func.isRequired,
638
+ }),
639
+ PropTypes.string,
640
+ ]),
641
+ /**
642
+ * Margin on top and bottom
643
+ */
644
+ my: PropTypes.oneOfType([
645
+ PropTypes.arrayOf(
646
+ PropTypes.oneOfType([
647
+ PropTypes.oneOf([null]),
648
+ PropTypes.number,
649
+ PropTypes.shape({
650
+ "__@toStringTag": PropTypes.string.isRequired,
651
+ /**
652
+ * Expose the [[Description]] internal slot of a symbol directly.
653
+ */
654
+ description: PropTypes.string,
655
+ /**
656
+ * Returns a string representation of an object.
657
+ */
658
+ toString: PropTypes.func.isRequired,
659
+ /**
660
+ * Returns the primitive value of the specified object.
661
+ */
662
+ valueOf: PropTypes.func.isRequired,
663
+ }),
664
+ PropTypes.string,
665
+ ])
666
+ ),
667
+ PropTypes.number,
668
+ PropTypes.object,
669
+ PropTypes.shape({
670
+ "__@toStringTag": PropTypes.string.isRequired,
671
+ /**
672
+ * Expose the [[Description]] internal slot of a symbol directly.
673
+ */
674
+ description: PropTypes.string,
675
+ /**
676
+ * Returns a string representation of an object.
677
+ */
678
+ toString: PropTypes.func.isRequired,
679
+ /**
680
+ * Returns the primitive value of the specified object.
681
+ */
682
+ valueOf: PropTypes.func.isRequired,
683
+ }),
684
+ PropTypes.string,
685
+ ]),
686
+ /**
687
+ * Padding on top, left, bottom and right
688
+ */
689
+ p: PropTypes.oneOfType([
690
+ PropTypes.arrayOf(
691
+ PropTypes.oneOfType([
692
+ PropTypes.oneOf([null]),
693
+ PropTypes.number,
694
+ PropTypes.shape({
695
+ "__@toStringTag": PropTypes.string.isRequired,
696
+ /**
697
+ * Expose the [[Description]] internal slot of a symbol directly.
698
+ */
699
+ description: PropTypes.string,
700
+ /**
701
+ * Returns a string representation of an object.
702
+ */
703
+ toString: PropTypes.func.isRequired,
704
+ /**
705
+ * Returns the primitive value of the specified object.
706
+ */
707
+ valueOf: PropTypes.func.isRequired,
708
+ }),
709
+ PropTypes.string,
710
+ ])
711
+ ),
712
+ PropTypes.number,
713
+ PropTypes.object,
714
+ PropTypes.shape({
715
+ "__@toStringTag": PropTypes.string.isRequired,
716
+ /**
717
+ * Expose the [[Description]] internal slot of a symbol directly.
718
+ */
719
+ description: PropTypes.string,
720
+ /**
721
+ * Returns a string representation of an object.
722
+ */
723
+ toString: PropTypes.func.isRequired,
724
+ /**
725
+ * Returns the primitive value of the specified object.
726
+ */
727
+ valueOf: PropTypes.func.isRequired,
728
+ }),
729
+ PropTypes.string,
730
+ ]),
731
+ /**
732
+ * Padding on top, left, bottom and right
733
+ */
734
+ padding: PropTypes.oneOfType([
735
+ PropTypes.arrayOf(
736
+ PropTypes.oneOfType([
737
+ PropTypes.oneOf([null]),
738
+ PropTypes.number,
739
+ PropTypes.shape({
740
+ "__@toStringTag": PropTypes.string.isRequired,
741
+ /**
742
+ * Expose the [[Description]] internal slot of a symbol directly.
743
+ */
744
+ description: PropTypes.string,
745
+ /**
746
+ * Returns a string representation of an object.
747
+ */
748
+ toString: PropTypes.func.isRequired,
749
+ /**
750
+ * Returns the primitive value of the specified object.
751
+ */
752
+ valueOf: PropTypes.func.isRequired,
753
+ }),
754
+ PropTypes.string,
755
+ ])
756
+ ),
757
+ PropTypes.number,
758
+ PropTypes.object,
759
+ PropTypes.shape({
760
+ "__@toStringTag": PropTypes.string.isRequired,
761
+ /**
762
+ * Expose the [[Description]] internal slot of a symbol directly.
763
+ */
764
+ description: PropTypes.string,
765
+ /**
766
+ * Returns a string representation of an object.
767
+ */
768
+ toString: PropTypes.func.isRequired,
769
+ /**
770
+ * Returns the primitive value of the specified object.
771
+ */
772
+ valueOf: PropTypes.func.isRequired,
773
+ }),
774
+ PropTypes.string,
775
+ ]),
776
+ /**
777
+ * Padding on bottom
778
+ */
779
+ paddingBottom: PropTypes.oneOfType([
780
+ PropTypes.arrayOf(
781
+ PropTypes.oneOfType([
782
+ PropTypes.oneOf([null]),
783
+ PropTypes.number,
784
+ PropTypes.shape({
785
+ "__@toStringTag": PropTypes.string.isRequired,
786
+ /**
787
+ * Expose the [[Description]] internal slot of a symbol directly.
788
+ */
789
+ description: PropTypes.string,
790
+ /**
791
+ * Returns a string representation of an object.
792
+ */
793
+ toString: PropTypes.func.isRequired,
794
+ /**
795
+ * Returns the primitive value of the specified object.
796
+ */
797
+ valueOf: PropTypes.func.isRequired,
798
+ }),
799
+ PropTypes.string,
800
+ ])
801
+ ),
802
+ PropTypes.number,
803
+ PropTypes.object,
804
+ PropTypes.shape({
805
+ "__@toStringTag": PropTypes.string.isRequired,
806
+ /**
807
+ * Expose the [[Description]] internal slot of a symbol directly.
808
+ */
809
+ description: PropTypes.string,
810
+ /**
811
+ * Returns a string representation of an object.
812
+ */
813
+ toString: PropTypes.func.isRequired,
814
+ /**
815
+ * Returns the primitive value of the specified object.
816
+ */
817
+ valueOf: PropTypes.func.isRequired,
818
+ }),
819
+ PropTypes.string,
820
+ ]),
821
+ /**
822
+ * Padding on left
823
+ */
824
+ paddingLeft: PropTypes.oneOfType([
825
+ PropTypes.arrayOf(
826
+ PropTypes.oneOfType([
827
+ PropTypes.oneOf([null]),
828
+ PropTypes.number,
829
+ PropTypes.shape({
830
+ "__@toStringTag": PropTypes.string.isRequired,
831
+ /**
832
+ * Expose the [[Description]] internal slot of a symbol directly.
833
+ */
834
+ description: PropTypes.string,
835
+ /**
836
+ * Returns a string representation of an object.
837
+ */
838
+ toString: PropTypes.func.isRequired,
839
+ /**
840
+ * Returns the primitive value of the specified object.
841
+ */
842
+ valueOf: PropTypes.func.isRequired,
843
+ }),
844
+ PropTypes.string,
845
+ ])
846
+ ),
847
+ PropTypes.number,
848
+ PropTypes.object,
849
+ PropTypes.shape({
850
+ "__@toStringTag": PropTypes.string.isRequired,
851
+ /**
852
+ * Expose the [[Description]] internal slot of a symbol directly.
853
+ */
854
+ description: PropTypes.string,
855
+ /**
856
+ * Returns a string representation of an object.
857
+ */
858
+ toString: PropTypes.func.isRequired,
859
+ /**
860
+ * Returns the primitive value of the specified object.
861
+ */
862
+ valueOf: PropTypes.func.isRequired,
863
+ }),
864
+ PropTypes.string,
865
+ ]),
866
+ /**
867
+ * Padding on right
868
+ */
869
+ paddingRight: PropTypes.oneOfType([
870
+ PropTypes.arrayOf(
871
+ PropTypes.oneOfType([
872
+ PropTypes.oneOf([null]),
873
+ PropTypes.number,
874
+ PropTypes.shape({
875
+ "__@toStringTag": PropTypes.string.isRequired,
876
+ /**
877
+ * Expose the [[Description]] internal slot of a symbol directly.
878
+ */
879
+ description: PropTypes.string,
880
+ /**
881
+ * Returns a string representation of an object.
882
+ */
883
+ toString: PropTypes.func.isRequired,
884
+ /**
885
+ * Returns the primitive value of the specified object.
886
+ */
887
+ valueOf: PropTypes.func.isRequired,
888
+ }),
889
+ PropTypes.string,
890
+ ])
891
+ ),
892
+ PropTypes.number,
893
+ PropTypes.object,
894
+ PropTypes.shape({
895
+ "__@toStringTag": PropTypes.string.isRequired,
896
+ /**
897
+ * Expose the [[Description]] internal slot of a symbol directly.
898
+ */
899
+ description: PropTypes.string,
900
+ /**
901
+ * Returns a string representation of an object.
902
+ */
903
+ toString: PropTypes.func.isRequired,
904
+ /**
905
+ * Returns the primitive value of the specified object.
906
+ */
907
+ valueOf: PropTypes.func.isRequired,
908
+ }),
909
+ PropTypes.string,
910
+ ]),
911
+ /**
912
+ * Padding on top
913
+ */
914
+ paddingTop: PropTypes.oneOfType([
915
+ PropTypes.arrayOf(
916
+ PropTypes.oneOfType([
917
+ PropTypes.oneOf([null]),
918
+ PropTypes.number,
919
+ PropTypes.shape({
920
+ "__@toStringTag": PropTypes.string.isRequired,
921
+ /**
922
+ * Expose the [[Description]] internal slot of a symbol directly.
923
+ */
924
+ description: PropTypes.string,
925
+ /**
926
+ * Returns a string representation of an object.
927
+ */
928
+ toString: PropTypes.func.isRequired,
929
+ /**
930
+ * Returns the primitive value of the specified object.
931
+ */
932
+ valueOf: PropTypes.func.isRequired,
933
+ }),
934
+ PropTypes.string,
935
+ ])
936
+ ),
937
+ PropTypes.number,
938
+ PropTypes.object,
939
+ PropTypes.shape({
940
+ "__@toStringTag": PropTypes.string.isRequired,
941
+ /**
942
+ * Expose the [[Description]] internal slot of a symbol directly.
943
+ */
944
+ description: PropTypes.string,
945
+ /**
946
+ * Returns a string representation of an object.
947
+ */
948
+ toString: PropTypes.func.isRequired,
949
+ /**
950
+ * Returns the primitive value of the specified object.
951
+ */
952
+ valueOf: PropTypes.func.isRequired,
953
+ }),
954
+ PropTypes.string,
955
+ ]),
956
+ /**
957
+ * Padding on left and right
958
+ */
959
+ paddingX: PropTypes.oneOfType([
960
+ PropTypes.arrayOf(
961
+ PropTypes.oneOfType([
962
+ PropTypes.oneOf([null]),
963
+ PropTypes.number,
964
+ PropTypes.shape({
965
+ "__@toStringTag": PropTypes.string.isRequired,
966
+ /**
967
+ * Expose the [[Description]] internal slot of a symbol directly.
968
+ */
969
+ description: PropTypes.string,
970
+ /**
971
+ * Returns a string representation of an object.
972
+ */
973
+ toString: PropTypes.func.isRequired,
974
+ /**
975
+ * Returns the primitive value of the specified object.
976
+ */
977
+ valueOf: PropTypes.func.isRequired,
978
+ }),
979
+ PropTypes.string,
980
+ ])
981
+ ),
982
+ PropTypes.number,
983
+ PropTypes.object,
984
+ PropTypes.shape({
985
+ "__@toStringTag": PropTypes.string.isRequired,
986
+ /**
987
+ * Expose the [[Description]] internal slot of a symbol directly.
988
+ */
989
+ description: PropTypes.string,
990
+ /**
991
+ * Returns a string representation of an object.
992
+ */
993
+ toString: PropTypes.func.isRequired,
994
+ /**
995
+ * Returns the primitive value of the specified object.
996
+ */
997
+ valueOf: PropTypes.func.isRequired,
998
+ }),
999
+ PropTypes.string,
1000
+ ]),
1001
+ /**
1002
+ * Padding on top and bottom
1003
+ */
1004
+ paddingY: PropTypes.oneOfType([
1005
+ PropTypes.arrayOf(
1006
+ PropTypes.oneOfType([
1007
+ PropTypes.oneOf([null]),
1008
+ PropTypes.number,
1009
+ PropTypes.shape({
1010
+ "__@toStringTag": PropTypes.string.isRequired,
1011
+ /**
1012
+ * Expose the [[Description]] internal slot of a symbol directly.
1013
+ */
1014
+ description: PropTypes.string,
1015
+ /**
1016
+ * Returns a string representation of an object.
1017
+ */
1018
+ toString: PropTypes.func.isRequired,
1019
+ /**
1020
+ * Returns the primitive value of the specified object.
1021
+ */
1022
+ valueOf: PropTypes.func.isRequired,
1023
+ }),
1024
+ PropTypes.string,
1025
+ ])
1026
+ ),
1027
+ PropTypes.number,
1028
+ PropTypes.object,
1029
+ PropTypes.shape({
1030
+ "__@toStringTag": PropTypes.string.isRequired,
1031
+ /**
1032
+ * Expose the [[Description]] internal slot of a symbol directly.
1033
+ */
1034
+ description: PropTypes.string,
1035
+ /**
1036
+ * Returns a string representation of an object.
1037
+ */
1038
+ toString: PropTypes.func.isRequired,
1039
+ /**
1040
+ * Returns the primitive value of the specified object.
1041
+ */
1042
+ valueOf: PropTypes.func.isRequired,
1043
+ }),
1044
+ PropTypes.string,
1045
+ ]),
1046
+ /**
1047
+ * Padding on bottom
1048
+ */
1049
+ pb: PropTypes.oneOfType([
1050
+ PropTypes.arrayOf(
1051
+ PropTypes.oneOfType([
1052
+ PropTypes.oneOf([null]),
1053
+ PropTypes.number,
1054
+ PropTypes.shape({
1055
+ "__@toStringTag": PropTypes.string.isRequired,
1056
+ /**
1057
+ * Expose the [[Description]] internal slot of a symbol directly.
1058
+ */
1059
+ description: PropTypes.string,
1060
+ /**
1061
+ * Returns a string representation of an object.
1062
+ */
1063
+ toString: PropTypes.func.isRequired,
1064
+ /**
1065
+ * Returns the primitive value of the specified object.
1066
+ */
1067
+ valueOf: PropTypes.func.isRequired,
1068
+ }),
1069
+ PropTypes.string,
1070
+ ])
1071
+ ),
1072
+ PropTypes.number,
1073
+ PropTypes.object,
1074
+ PropTypes.shape({
1075
+ "__@toStringTag": PropTypes.string.isRequired,
1076
+ /**
1077
+ * Expose the [[Description]] internal slot of a symbol directly.
1078
+ */
1079
+ description: PropTypes.string,
1080
+ /**
1081
+ * Returns a string representation of an object.
1082
+ */
1083
+ toString: PropTypes.func.isRequired,
1084
+ /**
1085
+ * Returns the primitive value of the specified object.
1086
+ */
1087
+ valueOf: PropTypes.func.isRequired,
1088
+ }),
1089
+ PropTypes.string,
1090
+ ]),
1091
+ /**
1092
+ * Padding on left
1093
+ */
1094
+ pl: PropTypes.oneOfType([
1095
+ PropTypes.arrayOf(
1096
+ PropTypes.oneOfType([
1097
+ PropTypes.oneOf([null]),
1098
+ PropTypes.number,
1099
+ PropTypes.shape({
1100
+ "__@toStringTag": PropTypes.string.isRequired,
1101
+ /**
1102
+ * Expose the [[Description]] internal slot of a symbol directly.
1103
+ */
1104
+ description: PropTypes.string,
1105
+ /**
1106
+ * Returns a string representation of an object.
1107
+ */
1108
+ toString: PropTypes.func.isRequired,
1109
+ /**
1110
+ * Returns the primitive value of the specified object.
1111
+ */
1112
+ valueOf: PropTypes.func.isRequired,
1113
+ }),
1114
+ PropTypes.string,
1115
+ ])
1116
+ ),
1117
+ PropTypes.number,
1118
+ PropTypes.object,
1119
+ PropTypes.shape({
1120
+ "__@toStringTag": PropTypes.string.isRequired,
1121
+ /**
1122
+ * Expose the [[Description]] internal slot of a symbol directly.
1123
+ */
1124
+ description: PropTypes.string,
1125
+ /**
1126
+ * Returns a string representation of an object.
1127
+ */
1128
+ toString: PropTypes.func.isRequired,
1129
+ /**
1130
+ * Returns the primitive value of the specified object.
1131
+ */
1132
+ valueOf: PropTypes.func.isRequired,
1133
+ }),
1134
+ PropTypes.string,
1135
+ ]),
1136
+ /**
1137
+ * Padding on right
1138
+ */
1139
+ pr: PropTypes.oneOfType([
1140
+ PropTypes.arrayOf(
1141
+ PropTypes.oneOfType([
1142
+ PropTypes.oneOf([null]),
1143
+ PropTypes.number,
1144
+ PropTypes.shape({
1145
+ "__@toStringTag": PropTypes.string.isRequired,
1146
+ /**
1147
+ * Expose the [[Description]] internal slot of a symbol directly.
1148
+ */
1149
+ description: PropTypes.string,
1150
+ /**
1151
+ * Returns a string representation of an object.
1152
+ */
1153
+ toString: PropTypes.func.isRequired,
1154
+ /**
1155
+ * Returns the primitive value of the specified object.
1156
+ */
1157
+ valueOf: PropTypes.func.isRequired,
1158
+ }),
1159
+ PropTypes.string,
1160
+ ])
1161
+ ),
1162
+ PropTypes.number,
1163
+ PropTypes.object,
1164
+ PropTypes.shape({
1165
+ "__@toStringTag": PropTypes.string.isRequired,
1166
+ /**
1167
+ * Expose the [[Description]] internal slot of a symbol directly.
1168
+ */
1169
+ description: PropTypes.string,
1170
+ /**
1171
+ * Returns a string representation of an object.
1172
+ */
1173
+ toString: PropTypes.func.isRequired,
1174
+ /**
1175
+ * Returns the primitive value of the specified object.
1176
+ */
1177
+ valueOf: PropTypes.func.isRequired,
1178
+ }),
1179
+ PropTypes.string,
1180
+ ]),
1181
+ /**
1182
+ * Padding on top
1183
+ */
1184
+ pt: PropTypes.oneOfType([
1185
+ PropTypes.arrayOf(
1186
+ PropTypes.oneOfType([
1187
+ PropTypes.oneOf([null]),
1188
+ PropTypes.number,
1189
+ PropTypes.shape({
1190
+ "__@toStringTag": PropTypes.string.isRequired,
1191
+ /**
1192
+ * Expose the [[Description]] internal slot of a symbol directly.
1193
+ */
1194
+ description: PropTypes.string,
1195
+ /**
1196
+ * Returns a string representation of an object.
1197
+ */
1198
+ toString: PropTypes.func.isRequired,
1199
+ /**
1200
+ * Returns the primitive value of the specified object.
1201
+ */
1202
+ valueOf: PropTypes.func.isRequired,
1203
+ }),
1204
+ PropTypes.string,
1205
+ ])
1206
+ ),
1207
+ PropTypes.number,
1208
+ PropTypes.object,
1209
+ PropTypes.shape({
1210
+ "__@toStringTag": PropTypes.string.isRequired,
1211
+ /**
1212
+ * Expose the [[Description]] internal slot of a symbol directly.
1213
+ */
1214
+ description: PropTypes.string,
1215
+ /**
1216
+ * Returns a string representation of an object.
1217
+ */
1218
+ toString: PropTypes.func.isRequired,
1219
+ /**
1220
+ * Returns the primitive value of the specified object.
1221
+ */
1222
+ valueOf: PropTypes.func.isRequired,
1223
+ }),
1224
+ PropTypes.string,
1225
+ ]),
1226
+ /**
1227
+ * Padding on left and right
1228
+ */
1229
+ px: PropTypes.oneOfType([
1230
+ PropTypes.arrayOf(
1231
+ PropTypes.oneOfType([
1232
+ PropTypes.oneOf([null]),
1233
+ PropTypes.number,
1234
+ PropTypes.shape({
1235
+ "__@toStringTag": PropTypes.string.isRequired,
1236
+ /**
1237
+ * Expose the [[Description]] internal slot of a symbol directly.
1238
+ */
1239
+ description: PropTypes.string,
1240
+ /**
1241
+ * Returns a string representation of an object.
1242
+ */
1243
+ toString: PropTypes.func.isRequired,
1244
+ /**
1245
+ * Returns the primitive value of the specified object.
1246
+ */
1247
+ valueOf: PropTypes.func.isRequired,
1248
+ }),
1249
+ PropTypes.string,
1250
+ ])
1251
+ ),
1252
+ PropTypes.number,
1253
+ PropTypes.object,
1254
+ PropTypes.shape({
1255
+ "__@toStringTag": PropTypes.string.isRequired,
1256
+ /**
1257
+ * Expose the [[Description]] internal slot of a symbol directly.
1258
+ */
1259
+ description: PropTypes.string,
1260
+ /**
1261
+ * Returns a string representation of an object.
1262
+ */
1263
+ toString: PropTypes.func.isRequired,
1264
+ /**
1265
+ * Returns the primitive value of the specified object.
1266
+ */
1267
+ valueOf: PropTypes.func.isRequired,
1268
+ }),
1269
+ PropTypes.string,
1270
+ ]),
1271
+ /**
1272
+ * Padding on top and bottom
1273
+ */
1274
+ py: PropTypes.oneOfType([
1275
+ PropTypes.arrayOf(
1276
+ PropTypes.oneOfType([
1277
+ PropTypes.oneOf([null]),
1278
+ PropTypes.number,
1279
+ PropTypes.shape({
1280
+ "__@toStringTag": PropTypes.string.isRequired,
1281
+ /**
1282
+ * Expose the [[Description]] internal slot of a symbol directly.
1283
+ */
1284
+ description: PropTypes.string,
1285
+ /**
1286
+ * Returns a string representation of an object.
1287
+ */
1288
+ toString: PropTypes.func.isRequired,
1289
+ /**
1290
+ * Returns the primitive value of the specified object.
1291
+ */
1292
+ valueOf: PropTypes.func.isRequired,
1293
+ }),
1294
+ PropTypes.string,
1295
+ ])
1296
+ ),
1297
+ PropTypes.number,
1298
+ PropTypes.object,
1299
+ PropTypes.shape({
1300
+ "__@toStringTag": PropTypes.string.isRequired,
1301
+ /**
1302
+ * Expose the [[Description]] internal slot of a symbol directly.
1303
+ */
1304
+ description: PropTypes.string,
1305
+ /**
1306
+ * Returns a string representation of an object.
1307
+ */
1308
+ toString: PropTypes.func.isRequired,
1309
+ /**
1310
+ * Returns the primitive value of the specified object.
1311
+ */
1312
+ valueOf: PropTypes.func.isRequired,
1313
+ }),
1314
+ PropTypes.string,
1315
+ ]),
1316
+ /**
1317
+ * the supported rage is 1-100
1318
+ */
1319
+ tint: PropTypes.oneOf([
1320
+ 1,
1321
+ 2,
1322
+ 3,
1323
+ 4,
1324
+ 5,
1325
+ 6,
1326
+ 7,
1327
+ 8,
1328
+ 9,
1329
+ 10,
1330
+ 11,
1331
+ 12,
1332
+ 13,
1333
+ 14,
1334
+ 15,
1335
+ 16,
1336
+ 17,
1337
+ 18,
1338
+ 19,
1339
+ 20,
1340
+ 21,
1341
+ 22,
1342
+ 23,
1343
+ 24,
1344
+ 25,
1345
+ 26,
1346
+ 27,
1347
+ 28,
1348
+ 29,
1349
+ 30,
1350
+ 31,
1351
+ 32,
1352
+ 33,
1353
+ 34,
1354
+ 35,
1355
+ 36,
1356
+ 37,
1357
+ 38,
1358
+ 39,
1359
+ 40,
1360
+ 41,
1361
+ 42,
1362
+ 43,
1363
+ 44,
1364
+ 45,
1365
+ 46,
1366
+ 47,
1367
+ 48,
1368
+ 49,
1369
+ 50,
1370
+ 51,
1371
+ 52,
1372
+ 53,
1373
+ 54,
1374
+ 55,
1375
+ 56,
1376
+ 57,
1377
+ 58,
1378
+ 59,
1379
+ 60,
1380
+ 61,
1381
+ 62,
1382
+ 63,
1383
+ 64,
1384
+ 65,
1385
+ 66,
1386
+ 67,
1387
+ 68,
1388
+ 69,
1389
+ 70,
1390
+ 71,
1391
+ 72,
1392
+ 73,
1393
+ 74,
1394
+ 75,
1395
+ 76,
1396
+ 77,
1397
+ 78,
1398
+ 79,
1399
+ 80,
1400
+ 81,
1401
+ 82,
1402
+ 83,
1403
+ 84,
1404
+ 85,
1405
+ 86,
1406
+ 87,
1407
+ 88,
1408
+ 89,
1409
+ 90,
1410
+ 91,
1411
+ 92,
1412
+ 93,
1413
+ 94,
1414
+ 95,
1415
+ 96,
1416
+ 97,
1417
+ 98,
1418
+ 99,
1419
+ 100,
1420
+ ]),
37
1421
  };
38
- export default VerticalDivider;
1422
+
1423
+ export default VerticalDivider;