primer_view_components 0.0.121 → 0.0.122
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/app/assets/styles/primer_view_components.css +2 -2
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list.css.json +123 -1
- data/app/components/primer/alpha/auto_complete.css.json +23 -1
- data/app/components/primer/alpha/banner.css.json +24 -1
- data/app/components/primer/alpha/button_marketing.css.json +33 -1
- data/app/components/primer/alpha/check_box.rb +74 -0
- data/app/components/primer/alpha/check_box_group.rb +36 -0
- data/app/components/primer/alpha/dialog.css.json +82 -1
- data/app/components/primer/alpha/dialog.rb +1 -1
- data/app/components/primer/alpha/dropdown.css.json +40 -1
- data/app/components/primer/alpha/form_button.rb +32 -0
- data/app/components/primer/alpha/form_control.html.erb +26 -0
- data/app/components/primer/alpha/form_control.rb +105 -0
- data/app/components/primer/alpha/layout.css.json +80 -1
- data/app/components/primer/alpha/menu.css.json +28 -1
- data/app/components/primer/alpha/multi_input.rb +81 -0
- data/app/components/primer/alpha/radio_button.rb +25 -0
- data/app/components/primer/alpha/radio_button_group.rb +36 -0
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.json +31 -1
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +43 -12
- data/app/components/primer/alpha/select.rb +37 -0
- data/app/components/primer/alpha/submit_button.rb +32 -0
- data/app/components/primer/alpha/tab_nav.css.json +24 -1
- data/app/components/primer/alpha/tab_panels.rb +7 -0
- data/app/components/primer/alpha/text_area.rb +24 -0
- data/app/components/primer/alpha/text_field.css +2 -2
- data/app/components/primer/alpha/text_field.css.json +134 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +27 -0
- data/app/components/primer/alpha/text_field.rb +15 -20
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.json +40 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.pcss +31 -61
- data/app/components/primer/alpha/underline_nav.css.json +28 -1
- data/app/components/primer/beta/avatar.css.json +17 -1
- data/app/components/primer/beta/avatar_stack.css.json +28 -1
- data/app/components/primer/beta/blankslate.css.json +22 -1
- data/app/components/primer/beta/border_box.css.json +54 -1
- data/app/components/primer/beta/breadcrumbs.css.json +11 -1
- data/app/components/primer/beta/button.css.json +71 -1
- data/app/components/primer/beta/counter.css.json +10 -1
- data/app/components/primer/beta/flash.css.json +27 -1
- data/app/components/primer/beta/label.css.json +25 -1
- data/app/components/primer/beta/link.css.json +19 -1
- data/app/components/primer/beta/popover.css.json +39 -1
- data/app/components/primer/beta/progress_bar.css.json +10 -1
- data/app/components/primer/beta/state.css.json +13 -1
- data/app/components/primer/beta/subhead.css.json +12 -1
- data/app/components/primer/beta/timeline_item.css.json +16 -1
- data/app/components/primer/beta/truncate.css.json +12 -1
- data/app/components/primer/component.rb +10 -2
- data/app/components/primer/truncate.css.json +13 -1
- data/app/forms/{select_list_form.rb → select_form.rb} +1 -1
- data/app/lib/primer/css/layout.css.json +316 -1
- data/app/lib/primer/css/utilities.css.json +1659 -1
- data/lib/primer/form_components.rb +26 -6
- data/lib/primer/forms/builder.rb +1 -17
- data/lib/primer/forms/button.rb +4 -1
- data/lib/primer/forms/check_box_group.html.erb +14 -9
- data/lib/primer/forms/check_box_group.rb +5 -0
- data/lib/primer/forms/dsl/check_box_group_input.rb +3 -4
- data/lib/primer/forms/dsl/input.rb +33 -2
- data/lib/primer/forms/dsl/input_methods.rb +49 -1
- data/lib/primer/forms/dsl/radio_button_group_input.rb +2 -3
- data/lib/primer/forms/dsl/{select_list_input.rb → select_input.rb} +2 -2
- data/lib/primer/forms/dsl/text_field_input.rb +7 -5
- data/lib/primer/forms/form_control.rb +0 -1
- data/lib/primer/forms/group.html.erb +1 -1
- data/lib/primer/forms/multi.html.erb +8 -6
- data/lib/primer/forms/multi.rb +2 -0
- data/lib/primer/forms/radio_button_group.html.erb +14 -9
- data/lib/primer/forms/radio_button_group.rb +5 -0
- data/lib/primer/forms/{select_list.html.erb → select.html.erb} +0 -0
- data/lib/primer/forms/{select_list.rb → select.rb} +2 -2
- data/lib/primer/forms/spacing_wrapper.html.erb +1 -1
- data/lib/primer/forms/text_area.rb +1 -1
- data/lib/primer/forms/text_field.rb +5 -1
- data/lib/primer/forms/utils.rb +20 -0
- data/lib/primer/view_components/engine.rb +1 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/primer/yard/backend.rb +1 -15
- data/lib/primer/yard/component_manifest.rb +44 -25
- data/lib/primer/yard/component_ref.rb +40 -0
- data/lib/primer/yard/docs_helper.rb +16 -2
- data/lib/primer/yard/legacy_gatsby_backend.rb +9 -15
- data/lib/primer/yard/lookbook_docs_helper.rb +32 -0
- data/lib/primer/yard/lookbook_pages_backend.rb +194 -0
- data/lib/primer/yard/registry.rb +6 -21
- data/lib/primer/yard/renders_many_handler.rb +1 -1
- data/lib/primer/yard/renders_one_handler.rb +1 -1
- data/lib/primer/yard.rb +14 -0
- data/lib/tasks/docs.rake +26 -13
- data/previews/pages/forms/01_introduction.md.erb +44 -0
- data/previews/pages/forms/02_getting_started.md.erb +125 -0
- data/previews/pages/forms/03_caption_templates.md.erb +30 -0
- data/previews/pages/forms/04_after_content.md.erb +39 -0
- data/previews/pages/forms/05_groups_layouts.md.erb +22 -0
- data/previews/pages/forms/06_miscellaneous_inputs.md.erb +43 -0
- data/previews/pages/forms/07_toggle_switch_forms.md.erb +58 -0
- data/previews/pages/forms/08_validations.md.erb +28 -0
- data/previews/pages/forms/09_compound_forms.md.erb +97 -0
- data/previews/primer/alpha/check_box_group_preview.rb +89 -0
- data/previews/primer/alpha/check_box_preview.rb +62 -0
- data/previews/primer/alpha/form_control_preview/playground.html.erb +9 -0
- data/previews/primer/alpha/form_control_preview.rb +106 -0
- data/previews/primer/alpha/multi_input_preview/playground.html.erb +41 -0
- data/previews/primer/alpha/multi_input_preview.rb +80 -0
- data/previews/primer/alpha/radio_button_group_preview.rb +83 -0
- data/previews/primer/alpha/radio_button_preview.rb +62 -0
- data/previews/primer/alpha/select_preview.rb +130 -0
- data/previews/primer/alpha/text_area_preview.rb +87 -0
- data/previews/primer/alpha/text_field_preview.rb +10 -1
- data/previews/primer/forms/forms_preview/example_toggle_switch_form.html.erb +2 -2
- data/previews/primer/forms/forms_preview/{select_list_form.html.erb → select_form.html.erb} +1 -1
- data/previews/primer/forms/forms_preview.rb +3 -1
- data/static/arguments.json +1358 -1328
- data/static/audited_at.json +10 -0
- data/static/constants.json +20 -0
- data/static/previews.json +218 -40
- data/static/statuses.json +10 -0
- metadata +41 -7
data/static/audited_at.json
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
"Primer::Alpha::AutoComplete::Item": "",
|
8
8
|
"Primer::Alpha::Banner": "",
|
9
9
|
"Primer::Alpha::ButtonMarketing": "",
|
10
|
+
"Primer::Alpha::CheckBox": "",
|
11
|
+
"Primer::Alpha::CheckBoxGroup": "",
|
10
12
|
"Primer::Alpha::Dialog": "2022-10-10",
|
11
13
|
"Primer::Alpha::Dialog::Body": "2022-10-10",
|
12
14
|
"Primer::Alpha::Dialog::Footer": "2022-10-10",
|
@@ -14,6 +16,8 @@
|
|
14
16
|
"Primer::Alpha::Dropdown": "",
|
15
17
|
"Primer::Alpha::Dropdown::Menu": "",
|
16
18
|
"Primer::Alpha::Dropdown::Menu::Item": "",
|
19
|
+
"Primer::Alpha::FormButton": "",
|
20
|
+
"Primer::Alpha::FormControl": "",
|
17
21
|
"Primer::Alpha::HellipButton": "",
|
18
22
|
"Primer::Alpha::HiddenTextExpander": "",
|
19
23
|
"Primer::Alpha::Image": "",
|
@@ -22,15 +26,21 @@
|
|
22
26
|
"Primer::Alpha::Layout::Main": "",
|
23
27
|
"Primer::Alpha::Layout::Sidebar": "",
|
24
28
|
"Primer::Alpha::Menu": "",
|
29
|
+
"Primer::Alpha::MultiInput": "",
|
25
30
|
"Primer::Alpha::NavList": "",
|
26
31
|
"Primer::Alpha::NavList::Item": "",
|
27
32
|
"Primer::Alpha::NavList::Section": "",
|
28
33
|
"Primer::Alpha::OcticonSymbols": "",
|
34
|
+
"Primer::Alpha::RadioButton": "",
|
35
|
+
"Primer::Alpha::RadioButtonGroup": "",
|
29
36
|
"Primer::Alpha::SegmentedControl": "2023-02-01",
|
30
37
|
"Primer::Alpha::SegmentedControl::Item": "2023-02-01",
|
38
|
+
"Primer::Alpha::Select": "",
|
39
|
+
"Primer::Alpha::SubmitButton": "",
|
31
40
|
"Primer::Alpha::TabContainer": "",
|
32
41
|
"Primer::Alpha::TabNav": "",
|
33
42
|
"Primer::Alpha::TabPanels": "",
|
43
|
+
"Primer::Alpha::TextArea": "",
|
34
44
|
"Primer::Alpha::TextField": "",
|
35
45
|
"Primer::Alpha::ToggleSwitch": "",
|
36
46
|
"Primer::Alpha::Tooltip": "",
|
data/static/constants.json
CHANGED
@@ -127,6 +127,10 @@
|
|
127
127
|
"large"
|
128
128
|
]
|
129
129
|
},
|
130
|
+
"Primer::Alpha::CheckBox": {
|
131
|
+
},
|
132
|
+
"Primer::Alpha::CheckBoxGroup": {
|
133
|
+
},
|
130
134
|
"Primer::Alpha::Dialog": {
|
131
135
|
"Body": "Primer::Alpha::Dialog::Body",
|
132
136
|
"DEFAULT_POSITION": "center",
|
@@ -218,6 +222,10 @@
|
|
218
222
|
"summary"
|
219
223
|
]
|
220
224
|
},
|
225
|
+
"Primer::Alpha::FormButton": {
|
226
|
+
},
|
227
|
+
"Primer::Alpha::FormControl": {
|
228
|
+
},
|
221
229
|
"Primer::Alpha::HellipButton": {
|
222
230
|
},
|
223
231
|
"Primer::Alpha::HiddenTextExpander": {
|
@@ -315,6 +323,8 @@
|
|
315
323
|
"h6"
|
316
324
|
]
|
317
325
|
},
|
326
|
+
"Primer::Alpha::MultiInput": {
|
327
|
+
},
|
318
328
|
"Primer::Alpha::NavList": {
|
319
329
|
"Item": "Primer::Alpha::NavList::Item",
|
320
330
|
"Section": "Primer::Alpha::NavList::Section"
|
@@ -325,6 +335,10 @@
|
|
325
335
|
},
|
326
336
|
"Primer::Alpha::OcticonSymbols": {
|
327
337
|
},
|
338
|
+
"Primer::Alpha::RadioButton": {
|
339
|
+
},
|
340
|
+
"Primer::Alpha::RadioButtonGroup": {
|
341
|
+
},
|
328
342
|
"Primer::Alpha::SegmentedControl": {
|
329
343
|
"FULL_WIDTH_DEFAULT": false,
|
330
344
|
"HIDE_LABELS_DEFAULT": false,
|
@@ -332,6 +346,10 @@
|
|
332
346
|
},
|
333
347
|
"Primer::Alpha::SegmentedControl::Item": {
|
334
348
|
},
|
349
|
+
"Primer::Alpha::Select": {
|
350
|
+
},
|
351
|
+
"Primer::Alpha::SubmitButton": {
|
352
|
+
},
|
335
353
|
"Primer::Alpha::TabContainer": {
|
336
354
|
},
|
337
355
|
"Primer::Alpha::TabNav": {
|
@@ -350,6 +368,8 @@
|
|
350
368
|
"div"
|
351
369
|
]
|
352
370
|
},
|
371
|
+
"Primer::Alpha::TextArea": {
|
372
|
+
},
|
353
373
|
"Primer::Alpha::TextField": {
|
354
374
|
},
|
355
375
|
"Primer::Alpha::ToggleSwitch": {
|
data/static/previews.json
CHANGED
@@ -573,6 +573,48 @@
|
|
573
573
|
}
|
574
574
|
]
|
575
575
|
},
|
576
|
+
{
|
577
|
+
"name": "check_box",
|
578
|
+
"lookup_path": "primer/alpha/check_box",
|
579
|
+
"examples": [
|
580
|
+
{
|
581
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/playground",
|
582
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/playground",
|
583
|
+
"name": "playground"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/default",
|
587
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/default",
|
588
|
+
"name": "default"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/options",
|
592
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/options",
|
593
|
+
"name": "options"
|
594
|
+
}
|
595
|
+
]
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"name": "check_box_group",
|
599
|
+
"lookup_path": "primer/alpha/check_box_group",
|
600
|
+
"examples": [
|
601
|
+
{
|
602
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/playground",
|
603
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/playground",
|
604
|
+
"name": "playground"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/default",
|
608
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/default",
|
609
|
+
"name": "default"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/options",
|
613
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/options",
|
614
|
+
"name": "options"
|
615
|
+
}
|
616
|
+
]
|
617
|
+
},
|
576
618
|
{
|
577
619
|
"name": "clipboard_copy",
|
578
620
|
"lookup_path": "primer/beta/clipboard_copy",
|
@@ -780,103 +822,124 @@
|
|
780
822
|
}
|
781
823
|
]
|
782
824
|
},
|
825
|
+
{
|
826
|
+
"name": "form_control",
|
827
|
+
"lookup_path": "primer/alpha/form_control",
|
828
|
+
"examples": [
|
829
|
+
{
|
830
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/playground",
|
831
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/playground",
|
832
|
+
"name": "playground"
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/default",
|
836
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/default",
|
837
|
+
"name": "default"
|
838
|
+
},
|
839
|
+
{
|
840
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/options",
|
841
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/options",
|
842
|
+
"name": "options"
|
843
|
+
}
|
844
|
+
]
|
845
|
+
},
|
783
846
|
{
|
784
847
|
"name": "forms",
|
785
|
-
"lookup_path": "primer/forms
|
848
|
+
"lookup_path": "primer/forms",
|
786
849
|
"examples": [
|
787
850
|
{
|
788
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
789
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
851
|
+
"inspect_path": "/lookbook/inspect/primer/forms/single_text_field_form",
|
852
|
+
"preview_path": "/lookbook/preview/primer/forms/single_text_field_form",
|
790
853
|
"name": "single_text_field_form"
|
791
854
|
},
|
792
855
|
{
|
793
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
794
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
856
|
+
"inspect_path": "/lookbook/inspect/primer/forms/multi_text_field_form",
|
857
|
+
"preview_path": "/lookbook/preview/primer/forms/multi_text_field_form",
|
795
858
|
"name": "multi_text_field_form"
|
796
859
|
},
|
797
860
|
{
|
798
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
799
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
861
|
+
"inspect_path": "/lookbook/inspect/primer/forms/text_field_and_checkbox_form",
|
862
|
+
"preview_path": "/lookbook/preview/primer/forms/text_field_and_checkbox_form",
|
800
863
|
"name": "text_field_and_checkbox_form"
|
801
864
|
},
|
802
865
|
{
|
803
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
804
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
866
|
+
"inspect_path": "/lookbook/inspect/primer/forms/horizontal_form",
|
867
|
+
"preview_path": "/lookbook/preview/primer/forms/horizontal_form",
|
805
868
|
"name": "horizontal_form"
|
806
869
|
},
|
807
870
|
{
|
808
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
809
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
871
|
+
"inspect_path": "/lookbook/inspect/primer/forms/composed_form",
|
872
|
+
"preview_path": "/lookbook/preview/primer/forms/composed_form",
|
810
873
|
"name": "composed_form"
|
811
874
|
},
|
812
875
|
{
|
813
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
814
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
876
|
+
"inspect_path": "/lookbook/inspect/primer/forms/submit_button_form",
|
877
|
+
"preview_path": "/lookbook/preview/primer/forms/submit_button_form",
|
815
878
|
"name": "submit_button_form"
|
816
879
|
},
|
817
880
|
{
|
818
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
819
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
881
|
+
"inspect_path": "/lookbook/inspect/primer/forms/radio_button_group_form",
|
882
|
+
"preview_path": "/lookbook/preview/primer/forms/radio_button_group_form",
|
820
883
|
"name": "radio_button_group_form"
|
821
884
|
},
|
822
885
|
{
|
823
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
824
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
886
|
+
"inspect_path": "/lookbook/inspect/primer/forms/check_box_group_form",
|
887
|
+
"preview_path": "/lookbook/preview/primer/forms/check_box_group_form",
|
825
888
|
"name": "check_box_group_form"
|
826
889
|
},
|
827
890
|
{
|
828
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
829
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
891
|
+
"inspect_path": "/lookbook/inspect/primer/forms/array_check_box_group_form",
|
892
|
+
"preview_path": "/lookbook/preview/primer/forms/array_check_box_group_form",
|
830
893
|
"name": "array_check_box_group_form"
|
831
894
|
},
|
832
895
|
{
|
833
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
834
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
835
|
-
"name": "
|
896
|
+
"inspect_path": "/lookbook/inspect/primer/forms/select_form",
|
897
|
+
"preview_path": "/lookbook/preview/primer/forms/select_form",
|
898
|
+
"name": "select_form"
|
836
899
|
},
|
837
900
|
{
|
838
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
839
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
901
|
+
"inspect_path": "/lookbook/inspect/primer/forms/radio_button_with_nested_form",
|
902
|
+
"preview_path": "/lookbook/preview/primer/forms/radio_button_with_nested_form",
|
840
903
|
"name": "radio_button_with_nested_form"
|
841
904
|
},
|
842
905
|
{
|
843
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
844
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
906
|
+
"inspect_path": "/lookbook/inspect/primer/forms/check_box_with_nested_form",
|
907
|
+
"preview_path": "/lookbook/preview/primer/forms/check_box_with_nested_form",
|
845
908
|
"name": "check_box_with_nested_form"
|
846
909
|
},
|
847
910
|
{
|
848
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
849
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
911
|
+
"inspect_path": "/lookbook/inspect/primer/forms/caption_template_form",
|
912
|
+
"preview_path": "/lookbook/preview/primer/forms/caption_template_form",
|
850
913
|
"name": "caption_template_form"
|
851
914
|
},
|
852
915
|
{
|
853
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
854
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
916
|
+
"inspect_path": "/lookbook/inspect/primer/forms/after_content_form",
|
917
|
+
"preview_path": "/lookbook/preview/primer/forms/after_content_form",
|
855
918
|
"name": "after_content_form"
|
856
919
|
},
|
857
920
|
{
|
858
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
859
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
921
|
+
"inspect_path": "/lookbook/inspect/primer/forms/invalid_form",
|
922
|
+
"preview_path": "/lookbook/preview/primer/forms/invalid_form",
|
860
923
|
"name": "invalid_form"
|
861
924
|
},
|
862
925
|
{
|
863
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
864
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
926
|
+
"inspect_path": "/lookbook/inspect/primer/forms/multi_input_form",
|
927
|
+
"preview_path": "/lookbook/preview/primer/forms/multi_input_form",
|
865
928
|
"name": "multi_input_form"
|
866
929
|
},
|
867
930
|
{
|
868
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
869
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
931
|
+
"inspect_path": "/lookbook/inspect/primer/forms/name_with_question_mark_form",
|
932
|
+
"preview_path": "/lookbook/preview/primer/forms/name_with_question_mark_form",
|
870
933
|
"name": "name_with_question_mark_form"
|
871
934
|
},
|
872
935
|
{
|
873
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
874
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
936
|
+
"inspect_path": "/lookbook/inspect/primer/forms/immediate_validation_form",
|
937
|
+
"preview_path": "/lookbook/preview/primer/forms/immediate_validation_form",
|
875
938
|
"name": "immediate_validation_form"
|
876
939
|
},
|
877
940
|
{
|
878
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
879
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
941
|
+
"inspect_path": "/lookbook/inspect/primer/forms/example_toggle_switch_form",
|
942
|
+
"preview_path": "/lookbook/preview/primer/forms/example_toggle_switch_form",
|
880
943
|
"name": "example_toggle_switch_form"
|
881
944
|
}
|
882
945
|
]
|
@@ -1127,6 +1190,37 @@
|
|
1127
1190
|
}
|
1128
1191
|
]
|
1129
1192
|
},
|
1193
|
+
{
|
1194
|
+
"name": "multi_input",
|
1195
|
+
"lookup_path": "primer/alpha/multi_input",
|
1196
|
+
"examples": [
|
1197
|
+
{
|
1198
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/playground",
|
1199
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/playground",
|
1200
|
+
"name": "playground"
|
1201
|
+
},
|
1202
|
+
{
|
1203
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/default",
|
1204
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/default",
|
1205
|
+
"name": "default"
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/with_caption",
|
1209
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/with_caption",
|
1210
|
+
"name": "with_caption"
|
1211
|
+
},
|
1212
|
+
{
|
1213
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/visually_hide_label",
|
1214
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/visually_hide_label",
|
1215
|
+
"name": "visually_hide_label"
|
1216
|
+
},
|
1217
|
+
{
|
1218
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/disabled",
|
1219
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/disabled",
|
1220
|
+
"name": "disabled"
|
1221
|
+
}
|
1222
|
+
]
|
1223
|
+
},
|
1130
1224
|
{
|
1131
1225
|
"name": "nav_list",
|
1132
1226
|
"lookup_path": "primer/alpha/nav_list",
|
@@ -1216,6 +1310,48 @@
|
|
1216
1310
|
}
|
1217
1311
|
]
|
1218
1312
|
},
|
1313
|
+
{
|
1314
|
+
"name": "radio_button",
|
1315
|
+
"lookup_path": "primer/alpha/radio_button",
|
1316
|
+
"examples": [
|
1317
|
+
{
|
1318
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/playground",
|
1319
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/playground",
|
1320
|
+
"name": "playground"
|
1321
|
+
},
|
1322
|
+
{
|
1323
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/default",
|
1324
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/default",
|
1325
|
+
"name": "default"
|
1326
|
+
},
|
1327
|
+
{
|
1328
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/options",
|
1329
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/options",
|
1330
|
+
"name": "options"
|
1331
|
+
}
|
1332
|
+
]
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
"name": "radio_button_group",
|
1336
|
+
"lookup_path": "primer/alpha/radio_button_group",
|
1337
|
+
"examples": [
|
1338
|
+
{
|
1339
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/playground",
|
1340
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/playground",
|
1341
|
+
"name": "playground"
|
1342
|
+
},
|
1343
|
+
{
|
1344
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/default",
|
1345
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/default",
|
1346
|
+
"name": "default"
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/options",
|
1350
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/options",
|
1351
|
+
"name": "options"
|
1352
|
+
}
|
1353
|
+
]
|
1354
|
+
},
|
1219
1355
|
{
|
1220
1356
|
"name": "relative_time",
|
1221
1357
|
"lookup_path": "primer/beta/relative_time",
|
@@ -1288,6 +1424,27 @@
|
|
1288
1424
|
}
|
1289
1425
|
]
|
1290
1426
|
},
|
1427
|
+
{
|
1428
|
+
"name": "select",
|
1429
|
+
"lookup_path": "primer/alpha/select",
|
1430
|
+
"examples": [
|
1431
|
+
{
|
1432
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/playground",
|
1433
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/playground",
|
1434
|
+
"name": "playground"
|
1435
|
+
},
|
1436
|
+
{
|
1437
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/default",
|
1438
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/default",
|
1439
|
+
"name": "default"
|
1440
|
+
},
|
1441
|
+
{
|
1442
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/options",
|
1443
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/options",
|
1444
|
+
"name": "options"
|
1445
|
+
}
|
1446
|
+
]
|
1447
|
+
},
|
1291
1448
|
{
|
1292
1449
|
"name": "spinner",
|
1293
1450
|
"lookup_path": "primer/beta/spinner",
|
@@ -1414,6 +1571,27 @@
|
|
1414
1571
|
}
|
1415
1572
|
]
|
1416
1573
|
},
|
1574
|
+
{
|
1575
|
+
"name": "text_area",
|
1576
|
+
"lookup_path": "primer/alpha/text_area",
|
1577
|
+
"examples": [
|
1578
|
+
{
|
1579
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/playground",
|
1580
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/playground",
|
1581
|
+
"name": "playground"
|
1582
|
+
},
|
1583
|
+
{
|
1584
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/default",
|
1585
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/default",
|
1586
|
+
"name": "default"
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/options",
|
1590
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/options",
|
1591
|
+
"name": "options"
|
1592
|
+
}
|
1593
|
+
]
|
1594
|
+
},
|
1417
1595
|
{
|
1418
1596
|
"name": "text_field",
|
1419
1597
|
"lookup_path": "primer/alpha/text_field",
|
data/static/statuses.json
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
8
8
|
"Primer::Alpha::Banner": "alpha",
|
9
9
|
"Primer::Alpha::ButtonMarketing": "alpha",
|
10
|
+
"Primer::Alpha::CheckBox": "alpha",
|
11
|
+
"Primer::Alpha::CheckBoxGroup": "alpha",
|
10
12
|
"Primer::Alpha::Dialog": "alpha",
|
11
13
|
"Primer::Alpha::Dialog::Body": "alpha",
|
12
14
|
"Primer::Alpha::Dialog::Footer": "alpha",
|
@@ -14,6 +16,8 @@
|
|
14
16
|
"Primer::Alpha::Dropdown": "alpha",
|
15
17
|
"Primer::Alpha::Dropdown::Menu": "alpha",
|
16
18
|
"Primer::Alpha::Dropdown::Menu::Item": "alpha",
|
19
|
+
"Primer::Alpha::FormButton": "alpha",
|
20
|
+
"Primer::Alpha::FormControl": "alpha",
|
17
21
|
"Primer::Alpha::HellipButton": "alpha",
|
18
22
|
"Primer::Alpha::HiddenTextExpander": "alpha",
|
19
23
|
"Primer::Alpha::Image": "alpha",
|
@@ -22,15 +26,21 @@
|
|
22
26
|
"Primer::Alpha::Layout::Main": "alpha",
|
23
27
|
"Primer::Alpha::Layout::Sidebar": "alpha",
|
24
28
|
"Primer::Alpha::Menu": "alpha",
|
29
|
+
"Primer::Alpha::MultiInput": "alpha",
|
25
30
|
"Primer::Alpha::NavList": "alpha",
|
26
31
|
"Primer::Alpha::NavList::Item": "alpha",
|
27
32
|
"Primer::Alpha::NavList::Section": "alpha",
|
28
33
|
"Primer::Alpha::OcticonSymbols": "alpha",
|
34
|
+
"Primer::Alpha::RadioButton": "alpha",
|
35
|
+
"Primer::Alpha::RadioButtonGroup": "alpha",
|
29
36
|
"Primer::Alpha::SegmentedControl": "alpha",
|
30
37
|
"Primer::Alpha::SegmentedControl::Item": "alpha",
|
38
|
+
"Primer::Alpha::Select": "alpha",
|
39
|
+
"Primer::Alpha::SubmitButton": "alpha",
|
31
40
|
"Primer::Alpha::TabContainer": "alpha",
|
32
41
|
"Primer::Alpha::TabNav": "alpha",
|
33
42
|
"Primer::Alpha::TabPanels": "alpha",
|
43
|
+
"Primer::Alpha::TextArea": "alpha",
|
34
44
|
"Primer::Alpha::TextField": "alpha",
|
35
45
|
"Primer::Alpha::ToggleSwitch": "alpha",
|
36
46
|
"Primer::Alpha::Tooltip": "alpha",
|