@solexllc/usx-contracts 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-contracts.json +29 -9
- package/package.json +1 -1
- package/src/contracts.js +29 -9
|
@@ -37,7 +37,17 @@
|
|
|
37
37
|
"className": {
|
|
38
38
|
"type": "string",
|
|
39
39
|
"default": "",
|
|
40
|
-
"description": "Additional CSS classes to apply to the accordion.
|
|
40
|
+
"description": "Additional CSS classes to apply to the accordion."
|
|
41
|
+
},
|
|
42
|
+
"headingClassName": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"default": "",
|
|
45
|
+
"description": "Additional CSS classes to apply to the accordion heading."
|
|
46
|
+
},
|
|
47
|
+
"contentClassName": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"default": "",
|
|
50
|
+
"description": "Additional CSS classes to apply to the accordion content."
|
|
41
51
|
}
|
|
42
52
|
}
|
|
43
53
|
},
|
|
@@ -597,7 +607,13 @@
|
|
|
597
607
|
"items": {
|
|
598
608
|
"type": "object",
|
|
599
609
|
"description": "Button item.",
|
|
600
|
-
"component": "button"
|
|
610
|
+
"component": "button",
|
|
611
|
+
"properties": {
|
|
612
|
+
"itemClassName": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"description": "Additional CSS classes on the list item wrapping the button."
|
|
615
|
+
}
|
|
616
|
+
}
|
|
601
617
|
}
|
|
602
618
|
},
|
|
603
619
|
"segmented": {
|
|
@@ -633,6 +649,10 @@
|
|
|
633
649
|
"version": 1,
|
|
634
650
|
"required": [],
|
|
635
651
|
"props": {
|
|
652
|
+
"id": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"description": "Card element ID, also used as the prefix for carousel slide IDs."
|
|
655
|
+
},
|
|
636
656
|
"title": {
|
|
637
657
|
"type": "string",
|
|
638
658
|
"description": "The title text displayed in the card header"
|
|
@@ -683,7 +703,7 @@
|
|
|
683
703
|
},
|
|
684
704
|
"images": {
|
|
685
705
|
"type": "array",
|
|
686
|
-
"description": "Array of image objects
|
|
706
|
+
"description": "Array of image objects; multiple images render as a carousel",
|
|
687
707
|
"items": {
|
|
688
708
|
"type": "object",
|
|
689
709
|
"description": "Card image.",
|
|
@@ -3511,13 +3531,13 @@
|
|
|
3511
3531
|
},
|
|
3512
3532
|
"label": {
|
|
3513
3533
|
"type": "string",
|
|
3514
|
-
"default":
|
|
3515
|
-
"description": "
|
|
3534
|
+
"default": null,
|
|
3535
|
+
"description": "Visible label text displayed beside the spinner."
|
|
3516
3536
|
},
|
|
3517
|
-
"
|
|
3518
|
-
"type": "
|
|
3519
|
-
"default":
|
|
3520
|
-
"description": "
|
|
3537
|
+
"screenReaderLabel": {
|
|
3538
|
+
"type": "string",
|
|
3539
|
+
"default": null,
|
|
3540
|
+
"description": "Optional screen-reader-only label text."
|
|
3521
3541
|
},
|
|
3522
3542
|
"className": {
|
|
3523
3543
|
"type": "string",
|
package/package.json
CHANGED
package/src/contracts.js
CHANGED
|
@@ -52,7 +52,17 @@ export const componentContracts = {
|
|
|
52
52
|
"className": {
|
|
53
53
|
"type": "string",
|
|
54
54
|
"default": "",
|
|
55
|
-
"description": "Additional CSS classes to apply to the accordion.
|
|
55
|
+
"description": "Additional CSS classes to apply to the accordion."
|
|
56
|
+
},
|
|
57
|
+
"headingClassName": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"default": "",
|
|
60
|
+
"description": "Additional CSS classes to apply to the accordion heading."
|
|
61
|
+
},
|
|
62
|
+
"contentClassName": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"default": "",
|
|
65
|
+
"description": "Additional CSS classes to apply to the accordion content."
|
|
56
66
|
}
|
|
57
67
|
}
|
|
58
68
|
},
|
|
@@ -612,7 +622,13 @@ export const componentContracts = {
|
|
|
612
622
|
"items": {
|
|
613
623
|
"type": "object",
|
|
614
624
|
"description": "Button item.",
|
|
615
|
-
"component": "button"
|
|
625
|
+
"component": "button",
|
|
626
|
+
"properties": {
|
|
627
|
+
"itemClassName": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"description": "Additional CSS classes on the list item wrapping the button."
|
|
630
|
+
}
|
|
631
|
+
}
|
|
616
632
|
}
|
|
617
633
|
},
|
|
618
634
|
"segmented": {
|
|
@@ -648,6 +664,10 @@ export const componentContracts = {
|
|
|
648
664
|
"version": 1,
|
|
649
665
|
"required": [],
|
|
650
666
|
"props": {
|
|
667
|
+
"id": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"description": "Card element ID, also used as the prefix for carousel slide IDs."
|
|
670
|
+
},
|
|
651
671
|
"title": {
|
|
652
672
|
"type": "string",
|
|
653
673
|
"description": "The title text displayed in the card header"
|
|
@@ -698,7 +718,7 @@ export const componentContracts = {
|
|
|
698
718
|
},
|
|
699
719
|
"images": {
|
|
700
720
|
"type": "array",
|
|
701
|
-
"description": "Array of image objects
|
|
721
|
+
"description": "Array of image objects; multiple images render as a carousel",
|
|
702
722
|
"items": {
|
|
703
723
|
"type": "object",
|
|
704
724
|
"description": "Card image.",
|
|
@@ -3526,13 +3546,13 @@ export const componentContracts = {
|
|
|
3526
3546
|
},
|
|
3527
3547
|
"label": {
|
|
3528
3548
|
"type": "string",
|
|
3529
|
-
"default":
|
|
3530
|
-
"description": "
|
|
3549
|
+
"default": null,
|
|
3550
|
+
"description": "Visible label text displayed beside the spinner."
|
|
3531
3551
|
},
|
|
3532
|
-
"
|
|
3533
|
-
"type": "
|
|
3534
|
-
"default":
|
|
3535
|
-
"description": "
|
|
3552
|
+
"screenReaderLabel": {
|
|
3553
|
+
"type": "string",
|
|
3554
|
+
"default": null,
|
|
3555
|
+
"description": "Optional screen-reader-only label text."
|
|
3536
3556
|
},
|
|
3537
3557
|
"className": {
|
|
3538
3558
|
"type": "string",
|