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