@primer/view-components 0.6.0-rc.2fa2a6f5 → 0.6.0-rc.349637bc
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/package.json +1 -1
- package/static/info_arch.json +229 -229
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.6.0-rc.
|
|
3
|
+
"version": "0.6.0-rc.349637bc",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/info_arch.json
CHANGED
|
@@ -125,17 +125,17 @@
|
|
|
125
125
|
],
|
|
126
126
|
"subcomponents": [
|
|
127
127
|
{
|
|
128
|
-
"fully_qualified_name": "Primer::Alpha::ActionBar::
|
|
128
|
+
"fully_qualified_name": "Primer::Alpha::ActionBar::Divider",
|
|
129
129
|
"description": "ActionBar::Item is an internal component that wraps the items in a div with the `ActionBar-item` class.",
|
|
130
130
|
"is_form_component": false,
|
|
131
131
|
"is_published": true,
|
|
132
132
|
"requires_js": false,
|
|
133
|
-
"component": "ActionBar::
|
|
133
|
+
"component": "ActionBar::Divider",
|
|
134
134
|
"status": "alpha",
|
|
135
135
|
"a11y_reviewed": false,
|
|
136
|
-
"short_name": "
|
|
137
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/
|
|
138
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/
|
|
136
|
+
"short_name": "ActionBarDivider",
|
|
137
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/divider.rb",
|
|
138
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/divider/default/",
|
|
139
139
|
"parameters": [
|
|
140
140
|
|
|
141
141
|
],
|
|
@@ -153,17 +153,17 @@
|
|
|
153
153
|
]
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
|
-
"fully_qualified_name": "Primer::Alpha::ActionBar::
|
|
156
|
+
"fully_qualified_name": "Primer::Alpha::ActionBar::Item",
|
|
157
157
|
"description": "ActionBar::Item is an internal component that wraps the items in a div with the `ActionBar-item` class.",
|
|
158
158
|
"is_form_component": false,
|
|
159
159
|
"is_published": true,
|
|
160
160
|
"requires_js": false,
|
|
161
|
-
"component": "ActionBar::
|
|
161
|
+
"component": "ActionBar::Item",
|
|
162
162
|
"status": "alpha",
|
|
163
163
|
"a11y_reviewed": false,
|
|
164
|
-
"short_name": "
|
|
165
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/
|
|
166
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/
|
|
164
|
+
"short_name": "ActionBarItem",
|
|
165
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/item.rb",
|
|
166
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/item/default/",
|
|
167
167
|
"parameters": [
|
|
168
168
|
|
|
169
169
|
],
|
|
@@ -728,6 +728,143 @@
|
|
|
728
728
|
}
|
|
729
729
|
],
|
|
730
730
|
"subcomponents": [
|
|
731
|
+
{
|
|
732
|
+
"fully_qualified_name": "Primer::Alpha::ActionList::Divider",
|
|
733
|
+
"description": "Separator with optional text rendered above groups or between individual items.",
|
|
734
|
+
"is_form_component": false,
|
|
735
|
+
"is_published": true,
|
|
736
|
+
"requires_js": false,
|
|
737
|
+
"component": "ActionList::Divider",
|
|
738
|
+
"status": "alpha",
|
|
739
|
+
"a11y_reviewed": false,
|
|
740
|
+
"short_name": "ActionListDivider",
|
|
741
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/divider.rb",
|
|
742
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/divider/default/",
|
|
743
|
+
"parameters": [
|
|
744
|
+
{
|
|
745
|
+
"name": "scheme",
|
|
746
|
+
"type": "Symbol",
|
|
747
|
+
"default": "`:subtle`",
|
|
748
|
+
"description": "Display a background color if scheme is `filled`."
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "system_arguments",
|
|
752
|
+
"type": "Hash",
|
|
753
|
+
"default": "N/A",
|
|
754
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"slots": [
|
|
758
|
+
|
|
759
|
+
],
|
|
760
|
+
"methods": [
|
|
761
|
+
|
|
762
|
+
],
|
|
763
|
+
"previews": [
|
|
764
|
+
|
|
765
|
+
],
|
|
766
|
+
"subcomponents": [
|
|
767
|
+
|
|
768
|
+
]
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"fully_qualified_name": "Primer::Alpha::ActionList::Heading",
|
|
772
|
+
"description": "Heading used to describe each sub list within an action list.",
|
|
773
|
+
"is_form_component": false,
|
|
774
|
+
"is_published": true,
|
|
775
|
+
"requires_js": false,
|
|
776
|
+
"component": "ActionList::Heading",
|
|
777
|
+
"status": "alpha",
|
|
778
|
+
"a11y_reviewed": false,
|
|
779
|
+
"short_name": "ActionListHeading",
|
|
780
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/heading.rb",
|
|
781
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/heading/default/",
|
|
782
|
+
"parameters": [
|
|
783
|
+
{
|
|
784
|
+
"name": "title",
|
|
785
|
+
"type": "String",
|
|
786
|
+
"default": "N/A",
|
|
787
|
+
"description": "Sub list title."
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "heading_level",
|
|
791
|
+
"type": "Integer",
|
|
792
|
+
"default": "`3`",
|
|
793
|
+
"description": "Heading level. Level 2 results in an `<h2>` tag, level 3 an `<h3>` tag, etc."
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "subtitle",
|
|
797
|
+
"type": "String",
|
|
798
|
+
"default": "`nil`",
|
|
799
|
+
"description": "Optional sub list description."
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "scheme",
|
|
803
|
+
"type": "Symbol",
|
|
804
|
+
"default": "`:subtle`",
|
|
805
|
+
"description": "Display a background color if scheme is `filled`."
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "system_arguments",
|
|
809
|
+
"type": "Hash",
|
|
810
|
+
"default": "N/A",
|
|
811
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
812
|
+
}
|
|
813
|
+
],
|
|
814
|
+
"slots": [
|
|
815
|
+
|
|
816
|
+
],
|
|
817
|
+
"methods": [
|
|
818
|
+
{
|
|
819
|
+
"name": "title_id",
|
|
820
|
+
"description": "Returns the value of attribute title_id.",
|
|
821
|
+
"parameters": [
|
|
822
|
+
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "subtitle_id",
|
|
827
|
+
"description": "Returns the value of attribute subtitle_id.",
|
|
828
|
+
"parameters": [
|
|
829
|
+
|
|
830
|
+
]
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"previews": [
|
|
834
|
+
|
|
835
|
+
],
|
|
836
|
+
"subcomponents": [
|
|
837
|
+
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"fully_qualified_name": "Primer::Alpha::ActionList::FormWrapper",
|
|
842
|
+
"description": "Utility component for wrapping ActionLists or individual ActionList::Items in forms.",
|
|
843
|
+
"is_form_component": false,
|
|
844
|
+
"is_published": true,
|
|
845
|
+
"requires_js": false,
|
|
846
|
+
"component": "ActionList::FormWrapper",
|
|
847
|
+
"status": "alpha",
|
|
848
|
+
"a11y_reviewed": false,
|
|
849
|
+
"short_name": "ActionListFormWrapper",
|
|
850
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/form_wrapper.rb",
|
|
851
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/form_wrapper/default/",
|
|
852
|
+
"parameters": [
|
|
853
|
+
|
|
854
|
+
],
|
|
855
|
+
"slots": [
|
|
856
|
+
|
|
857
|
+
],
|
|
858
|
+
"methods": [
|
|
859
|
+
|
|
860
|
+
],
|
|
861
|
+
"previews": [
|
|
862
|
+
|
|
863
|
+
],
|
|
864
|
+
"subcomponents": [
|
|
865
|
+
|
|
866
|
+
]
|
|
867
|
+
},
|
|
731
868
|
{
|
|
732
869
|
"fully_qualified_name": "Primer::Alpha::ActionList::Item",
|
|
733
870
|
"description": "An individual `ActionList` item. Items can optionally include leading and/or trailing visuals,\nsuch as icons, avatars, and counters.",
|
|
@@ -966,143 +1103,6 @@
|
|
|
966
1103
|
],
|
|
967
1104
|
"subcomponents": [
|
|
968
1105
|
|
|
969
|
-
]
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"fully_qualified_name": "Primer::Alpha::ActionList::Heading",
|
|
973
|
-
"description": "Heading used to describe each sub list within an action list.",
|
|
974
|
-
"is_form_component": false,
|
|
975
|
-
"is_published": true,
|
|
976
|
-
"requires_js": false,
|
|
977
|
-
"component": "ActionList::Heading",
|
|
978
|
-
"status": "alpha",
|
|
979
|
-
"a11y_reviewed": false,
|
|
980
|
-
"short_name": "ActionListHeading",
|
|
981
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/heading.rb",
|
|
982
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/heading/default/",
|
|
983
|
-
"parameters": [
|
|
984
|
-
{
|
|
985
|
-
"name": "title",
|
|
986
|
-
"type": "String",
|
|
987
|
-
"default": "N/A",
|
|
988
|
-
"description": "Sub list title."
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "heading_level",
|
|
992
|
-
"type": "Integer",
|
|
993
|
-
"default": "`3`",
|
|
994
|
-
"description": "Heading level. Level 2 results in an `<h2>` tag, level 3 an `<h3>` tag, etc."
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"name": "subtitle",
|
|
998
|
-
"type": "String",
|
|
999
|
-
"default": "`nil`",
|
|
1000
|
-
"description": "Optional sub list description."
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
"name": "scheme",
|
|
1004
|
-
"type": "Symbol",
|
|
1005
|
-
"default": "`:subtle`",
|
|
1006
|
-
"description": "Display a background color if scheme is `filled`."
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
"name": "system_arguments",
|
|
1010
|
-
"type": "Hash",
|
|
1011
|
-
"default": "N/A",
|
|
1012
|
-
"description": "{{link_to_system_arguments_docs}}"
|
|
1013
|
-
}
|
|
1014
|
-
],
|
|
1015
|
-
"slots": [
|
|
1016
|
-
|
|
1017
|
-
],
|
|
1018
|
-
"methods": [
|
|
1019
|
-
{
|
|
1020
|
-
"name": "title_id",
|
|
1021
|
-
"description": "Returns the value of attribute title_id.",
|
|
1022
|
-
"parameters": [
|
|
1023
|
-
|
|
1024
|
-
]
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
"name": "subtitle_id",
|
|
1028
|
-
"description": "Returns the value of attribute subtitle_id.",
|
|
1029
|
-
"parameters": [
|
|
1030
|
-
|
|
1031
|
-
]
|
|
1032
|
-
}
|
|
1033
|
-
],
|
|
1034
|
-
"previews": [
|
|
1035
|
-
|
|
1036
|
-
],
|
|
1037
|
-
"subcomponents": [
|
|
1038
|
-
|
|
1039
|
-
]
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"fully_qualified_name": "Primer::Alpha::ActionList::FormWrapper",
|
|
1043
|
-
"description": "Utility component for wrapping ActionLists or individual ActionList::Items in forms.",
|
|
1044
|
-
"is_form_component": false,
|
|
1045
|
-
"is_published": true,
|
|
1046
|
-
"requires_js": false,
|
|
1047
|
-
"component": "ActionList::FormWrapper",
|
|
1048
|
-
"status": "alpha",
|
|
1049
|
-
"a11y_reviewed": false,
|
|
1050
|
-
"short_name": "ActionListFormWrapper",
|
|
1051
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/form_wrapper.rb",
|
|
1052
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/form_wrapper/default/",
|
|
1053
|
-
"parameters": [
|
|
1054
|
-
|
|
1055
|
-
],
|
|
1056
|
-
"slots": [
|
|
1057
|
-
|
|
1058
|
-
],
|
|
1059
|
-
"methods": [
|
|
1060
|
-
|
|
1061
|
-
],
|
|
1062
|
-
"previews": [
|
|
1063
|
-
|
|
1064
|
-
],
|
|
1065
|
-
"subcomponents": [
|
|
1066
|
-
|
|
1067
|
-
]
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
"fully_qualified_name": "Primer::Alpha::ActionList::Divider",
|
|
1071
|
-
"description": "Separator with optional text rendered above groups or between individual items.",
|
|
1072
|
-
"is_form_component": false,
|
|
1073
|
-
"is_published": true,
|
|
1074
|
-
"requires_js": false,
|
|
1075
|
-
"component": "ActionList::Divider",
|
|
1076
|
-
"status": "alpha",
|
|
1077
|
-
"a11y_reviewed": false,
|
|
1078
|
-
"short_name": "ActionListDivider",
|
|
1079
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/divider.rb",
|
|
1080
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/divider/default/",
|
|
1081
|
-
"parameters": [
|
|
1082
|
-
{
|
|
1083
|
-
"name": "scheme",
|
|
1084
|
-
"type": "Symbol",
|
|
1085
|
-
"default": "`:subtle`",
|
|
1086
|
-
"description": "Display a background color if scheme is `filled`."
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"name": "system_arguments",
|
|
1090
|
-
"type": "Hash",
|
|
1091
|
-
"default": "N/A",
|
|
1092
|
-
"description": "{{link_to_system_arguments_docs}}"
|
|
1093
|
-
}
|
|
1094
|
-
],
|
|
1095
|
-
"slots": [
|
|
1096
|
-
|
|
1097
|
-
],
|
|
1098
|
-
"methods": [
|
|
1099
|
-
|
|
1100
|
-
],
|
|
1101
|
-
"previews": [
|
|
1102
|
-
|
|
1103
|
-
],
|
|
1104
|
-
"subcomponents": [
|
|
1105
|
-
|
|
1106
1106
|
]
|
|
1107
1107
|
}
|
|
1108
1108
|
]
|
|
@@ -3050,41 +3050,23 @@
|
|
|
3050
3050
|
],
|
|
3051
3051
|
"subcomponents": [
|
|
3052
3052
|
{
|
|
3053
|
-
"fully_qualified_name": "Primer::Alpha::Dialog::
|
|
3054
|
-
"description": "A `Dialog::
|
|
3053
|
+
"fully_qualified_name": "Primer::Alpha::Dialog::Footer",
|
|
3054
|
+
"description": "A `Dialog::Footer` is a compositional component, used to render the\nFooter of a dialog. See {{#link_to_component}}Primer::Alpha::Dialog{{/link_to_component}}.",
|
|
3055
3055
|
"is_form_component": false,
|
|
3056
3056
|
"is_published": true,
|
|
3057
3057
|
"requires_js": false,
|
|
3058
|
-
"component": "Dialog::
|
|
3058
|
+
"component": "Dialog::Footer",
|
|
3059
3059
|
"status": "alpha",
|
|
3060
3060
|
"a11y_reviewed": true,
|
|
3061
|
-
"short_name": "
|
|
3062
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/
|
|
3063
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/
|
|
3061
|
+
"short_name": "DialogFooter",
|
|
3062
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/footer.rb",
|
|
3063
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/footer/default/",
|
|
3064
3064
|
"parameters": [
|
|
3065
|
-
{
|
|
3066
|
-
"name": "title",
|
|
3067
|
-
"type": "String",
|
|
3068
|
-
"default": "N/A",
|
|
3069
|
-
"description": "Describes the content of the dialog."
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
"name": "subtitle",
|
|
3073
|
-
"type": "String",
|
|
3074
|
-
"default": "`nil`",
|
|
3075
|
-
"description": "Provides dditional context for the dialog, also setting the `aria-describedby` attribute."
|
|
3076
|
-
},
|
|
3077
3065
|
{
|
|
3078
3066
|
"name": "show_divider",
|
|
3079
3067
|
"type": "Boolean",
|
|
3080
3068
|
"default": "`false`",
|
|
3081
|
-
"description": "Show a divider between the
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
"name": "visually_hide_title",
|
|
3085
|
-
"type": "Boolean",
|
|
3086
|
-
"default": "`false`",
|
|
3087
|
-
"description": "Visually hide the `title` while maintaining a label for assistive technologies."
|
|
3069
|
+
"description": "Show a divider between the footer and body."
|
|
3088
3070
|
},
|
|
3089
3071
|
{
|
|
3090
3072
|
"name": "system_arguments",
|
|
@@ -3107,24 +3089,18 @@
|
|
|
3107
3089
|
]
|
|
3108
3090
|
},
|
|
3109
3091
|
{
|
|
3110
|
-
"fully_qualified_name": "Primer::Alpha::Dialog::
|
|
3111
|
-
"description": "A `Dialog::
|
|
3092
|
+
"fully_qualified_name": "Primer::Alpha::Dialog::Body",
|
|
3093
|
+
"description": "A `Dialog::Body` is a compositional component, used to render the\nBody of a dialog. See {{#link_to_component}}Primer::Alpha::Dialog{{/link_to_component}}.",
|
|
3112
3094
|
"is_form_component": false,
|
|
3113
3095
|
"is_published": true,
|
|
3114
3096
|
"requires_js": false,
|
|
3115
|
-
"component": "Dialog::
|
|
3097
|
+
"component": "Dialog::Body",
|
|
3116
3098
|
"status": "alpha",
|
|
3117
3099
|
"a11y_reviewed": true,
|
|
3118
|
-
"short_name": "
|
|
3119
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/
|
|
3120
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/
|
|
3100
|
+
"short_name": "DialogBody",
|
|
3101
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/body.rb",
|
|
3102
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/body/default/",
|
|
3121
3103
|
"parameters": [
|
|
3122
|
-
{
|
|
3123
|
-
"name": "show_divider",
|
|
3124
|
-
"type": "Boolean",
|
|
3125
|
-
"default": "`false`",
|
|
3126
|
-
"description": "Show a divider between the footer and body."
|
|
3127
|
-
},
|
|
3128
3104
|
{
|
|
3129
3105
|
"name": "system_arguments",
|
|
3130
3106
|
"type": "Hash",
|
|
@@ -3146,18 +3122,42 @@
|
|
|
3146
3122
|
]
|
|
3147
3123
|
},
|
|
3148
3124
|
{
|
|
3149
|
-
"fully_qualified_name": "Primer::Alpha::Dialog::
|
|
3150
|
-
"description": "A `Dialog::
|
|
3125
|
+
"fully_qualified_name": "Primer::Alpha::Dialog::Header",
|
|
3126
|
+
"description": "A `Dialog::Header` is a compositional component, used to render the\nHeader of a dialog. See {{#link_to_component}}Primer::Alpha::Dialog{{/link_to_component}}.",
|
|
3151
3127
|
"is_form_component": false,
|
|
3152
3128
|
"is_published": true,
|
|
3153
3129
|
"requires_js": false,
|
|
3154
|
-
"component": "Dialog::
|
|
3130
|
+
"component": "Dialog::Header",
|
|
3155
3131
|
"status": "alpha",
|
|
3156
3132
|
"a11y_reviewed": true,
|
|
3157
|
-
"short_name": "
|
|
3158
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/
|
|
3159
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/
|
|
3133
|
+
"short_name": "DialogHeader",
|
|
3134
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/header.rb",
|
|
3135
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/header/default/",
|
|
3160
3136
|
"parameters": [
|
|
3137
|
+
{
|
|
3138
|
+
"name": "title",
|
|
3139
|
+
"type": "String",
|
|
3140
|
+
"default": "N/A",
|
|
3141
|
+
"description": "Describes the content of the dialog."
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"name": "subtitle",
|
|
3145
|
+
"type": "String",
|
|
3146
|
+
"default": "`nil`",
|
|
3147
|
+
"description": "Provides dditional context for the dialog, also setting the `aria-describedby` attribute."
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"name": "show_divider",
|
|
3151
|
+
"type": "Boolean",
|
|
3152
|
+
"default": "`false`",
|
|
3153
|
+
"description": "Show a divider between the header and body."
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"name": "visually_hide_title",
|
|
3157
|
+
"type": "Boolean",
|
|
3158
|
+
"default": "`false`",
|
|
3159
|
+
"description": "Visually hide the `title` while maintaining a label for assistive technologies."
|
|
3160
|
+
},
|
|
3161
3161
|
{
|
|
3162
3162
|
"name": "system_arguments",
|
|
3163
3163
|
"type": "Hash",
|
|
@@ -5090,6 +5090,45 @@
|
|
|
5090
5090
|
}
|
|
5091
5091
|
],
|
|
5092
5092
|
"subcomponents": [
|
|
5093
|
+
{
|
|
5094
|
+
"fully_qualified_name": "Primer::Alpha::NavList::Divider",
|
|
5095
|
+
"description": "Separator with optional text rendered above groups or between individual items.",
|
|
5096
|
+
"is_form_component": false,
|
|
5097
|
+
"is_published": true,
|
|
5098
|
+
"requires_js": false,
|
|
5099
|
+
"component": "NavList::Divider",
|
|
5100
|
+
"status": "alpha",
|
|
5101
|
+
"a11y_reviewed": false,
|
|
5102
|
+
"short_name": "NavListDivider",
|
|
5103
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/divider.rb",
|
|
5104
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/divider/default/",
|
|
5105
|
+
"parameters": [
|
|
5106
|
+
{
|
|
5107
|
+
"name": "scheme",
|
|
5108
|
+
"type": "Symbol",
|
|
5109
|
+
"default": "`:subtle`",
|
|
5110
|
+
"description": "Display a background color if scheme is `filled`."
|
|
5111
|
+
},
|
|
5112
|
+
{
|
|
5113
|
+
"name": "system_arguments",
|
|
5114
|
+
"type": "Hash",
|
|
5115
|
+
"default": "N/A",
|
|
5116
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
5117
|
+
}
|
|
5118
|
+
],
|
|
5119
|
+
"slots": [
|
|
5120
|
+
|
|
5121
|
+
],
|
|
5122
|
+
"methods": [
|
|
5123
|
+
|
|
5124
|
+
],
|
|
5125
|
+
"previews": [
|
|
5126
|
+
|
|
5127
|
+
],
|
|
5128
|
+
"subcomponents": [
|
|
5129
|
+
|
|
5130
|
+
]
|
|
5131
|
+
},
|
|
5093
5132
|
{
|
|
5094
5133
|
"fully_qualified_name": "Primer::Alpha::NavList::Heading",
|
|
5095
5134
|
"description": "The heading placed above a `NavList`'s items.\n\nSee {{#link_to_component}}Primer::Alpha::NavList{{/link_to_component}} for usage examples.",
|
|
@@ -5321,45 +5360,6 @@
|
|
|
5321
5360
|
|
|
5322
5361
|
]
|
|
5323
5362
|
},
|
|
5324
|
-
{
|
|
5325
|
-
"fully_qualified_name": "Primer::Alpha::NavList::Divider",
|
|
5326
|
-
"description": "Separator with optional text rendered above groups or between individual items.",
|
|
5327
|
-
"is_form_component": false,
|
|
5328
|
-
"is_published": true,
|
|
5329
|
-
"requires_js": false,
|
|
5330
|
-
"component": "NavList::Divider",
|
|
5331
|
-
"status": "alpha",
|
|
5332
|
-
"a11y_reviewed": false,
|
|
5333
|
-
"short_name": "NavListDivider",
|
|
5334
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/divider.rb",
|
|
5335
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/divider/default/",
|
|
5336
|
-
"parameters": [
|
|
5337
|
-
{
|
|
5338
|
-
"name": "scheme",
|
|
5339
|
-
"type": "Symbol",
|
|
5340
|
-
"default": "`:subtle`",
|
|
5341
|
-
"description": "Display a background color if scheme is `filled`."
|
|
5342
|
-
},
|
|
5343
|
-
{
|
|
5344
|
-
"name": "system_arguments",
|
|
5345
|
-
"type": "Hash",
|
|
5346
|
-
"default": "N/A",
|
|
5347
|
-
"description": "{{link_to_system_arguments_docs}}"
|
|
5348
|
-
}
|
|
5349
|
-
],
|
|
5350
|
-
"slots": [
|
|
5351
|
-
|
|
5352
|
-
],
|
|
5353
|
-
"methods": [
|
|
5354
|
-
|
|
5355
|
-
],
|
|
5356
|
-
"previews": [
|
|
5357
|
-
|
|
5358
|
-
],
|
|
5359
|
-
"subcomponents": [
|
|
5360
|
-
|
|
5361
|
-
]
|
|
5362
|
-
},
|
|
5363
5363
|
{
|
|
5364
5364
|
"fully_qualified_name": "Primer::Alpha::NavList::Group",
|
|
5365
5365
|
"description": "A logical grouping of navigation links with an optional heading.\n\nSee {{#link_to_component}}Primer::Alpha::NavList{{/link_to_component}} for usage examples.",
|