primer_view_components 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +3 -3
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list/form_wrapper.html.erb +10 -0
- data/app/components/primer/alpha/action_list/form_wrapper.rb +61 -0
- data/app/components/primer/alpha/action_list/item.html.erb +41 -36
- data/app/components/primer/alpha/action_list/item.rb +18 -4
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.html.erb +5 -0
- data/app/components/primer/alpha/action_list.pcss +37 -37
- data/app/components/primer/alpha/action_list.rb +18 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.d.ts +8 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.js +100 -22
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +119 -20
- data/app/components/primer/alpha/action_menu/list.rb +27 -19
- data/app/components/primer/alpha/action_menu.rb +106 -29
- data/app/components/primer/alpha/auto_complete.css +1 -1
- data/app/components/primer/alpha/auto_complete.css.map +1 -1
- data/app/components/primer/alpha/auto_complete.pcss +2 -2
- data/app/components/primer/alpha/banner.css +1 -1
- data/app/components/primer/alpha/banner.css.map +1 -1
- data/app/components/primer/alpha/banner.pcss +7 -7
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.json +0 -2
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +33 -36
- data/app/components/primer/alpha/dropdown/menu.rb +1 -1
- data/app/components/primer/alpha/dropdown.css +1 -1
- data/app/components/primer/alpha/dropdown.css.map +1 -1
- data/app/components/primer/alpha/dropdown.pcss +12 -11
- data/app/components/primer/alpha/layout.css +1 -1
- data/app/components/primer/alpha/layout.css.map +1 -1
- data/app/components/primer/alpha/layout.pcss +4 -4
- data/app/components/primer/alpha/menu.css +1 -1
- data/app/components/primer/alpha/menu.css.map +1 -1
- data/app/components/primer/alpha/menu.pcss +20 -20
- data/app/components/primer/alpha/modal_dialog.js +12 -0
- data/app/components/primer/alpha/modal_dialog.ts +17 -0
- data/app/components/primer/alpha/overlay.css +1 -1
- data/app/components/primer/alpha/overlay.css.map +1 -1
- data/app/components/primer/alpha/overlay.pcss +1 -1
- data/app/components/primer/alpha/overlay.rb +9 -5
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +27 -38
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +12 -12
- data/app/components/primer/alpha/text_field.css +3 -3
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +74 -88
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.pcss +9 -9
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.pcss +7 -7
- data/app/components/primer/beta/auto_complete/auto_complete.html.erb +1 -1
- data/app/components/primer/beta/auto_complete/item.html.erb +9 -9
- data/app/components/primer/beta/auto_complete/item.rb +17 -13
- data/app/components/primer/beta/auto_complete.rb +20 -2
- data/app/components/primer/beta/avatar.css +1 -1
- data/app/components/primer/beta/avatar.css.map +1 -1
- data/app/components/primer/beta/avatar.pcss +2 -2
- data/app/components/primer/beta/avatar_stack.css +1 -1
- data/app/components/primer/beta/avatar_stack.css.map +1 -1
- data/app/components/primer/beta/avatar_stack.pcss +5 -5
- data/app/components/primer/beta/blankslate.css +1 -1
- data/app/components/primer/beta/blankslate.css.map +1 -1
- data/app/components/primer/beta/blankslate.pcss +13 -13
- data/app/components/primer/beta/border_box.css +1 -1
- data/app/components/primer/beta/border_box.css.json +1 -1
- data/app/components/primer/beta/border_box.css.map +1 -1
- data/app/components/primer/beta/border_box.pcss +41 -39
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +0 -2
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +27 -29
- data/app/components/primer/beta/counter.css +1 -1
- data/app/components/primer/beta/counter.css.map +1 -1
- data/app/components/primer/beta/counter.pcss +3 -3
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/flash.pcss +10 -11
- data/app/components/primer/beta/label.css +1 -1
- data/app/components/primer/beta/label.css.map +1 -1
- data/app/components/primer/beta/label.pcss +2 -2
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/popover.pcss +4 -4
- data/app/components/primer/beta/state.css +1 -1
- data/app/components/primer/beta/state.css.map +1 -1
- data/app/components/primer/beta/state.pcss +5 -5
- data/app/components/primer/beta/subhead.css +1 -1
- data/app/components/primer/beta/subhead.css.map +1 -1
- data/app/components/primer/beta/subhead.pcss +4 -4
- data/app/components/primer/beta/timeline_item.css +1 -1
- data/app/components/primer/beta/timeline_item.css.map +1 -1
- data/app/components/primer/beta/timeline_item.pcss +13 -13
- data/app/components/primer/beta/truncate.css +1 -1
- data/app/components/primer/beta/truncate.css.map +1 -1
- data/app/components/primer/beta/truncate.pcss +1 -1
- data/lib/postcss_mixins/activeIndicatorLine.pcss +1 -1
- data/lib/primer/view_components/linters/disallow_component_css_counter.rb +1 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/primer/yard/component_manifest.rb +1 -0
- data/previews/primer/alpha/action_menu_preview/content_labels.html.erb +9 -0
- data/previews/primer/alpha/action_menu_preview/multiple_select_form.html.erb +13 -0
- data/previews/primer/alpha/action_menu_preview/single_select_form.html.erb +13 -0
- data/previews/primer/alpha/action_menu_preview/submitting_forms.html.erb +15 -0
- data/previews/primer/alpha/action_menu_preview.rb +89 -38
- data/previews/primer/beta/auto_complete_preview.rb +36 -23
- data/static/arguments.json +43 -2
- data/static/audited_at.json +1 -0
- data/static/constants.json +37 -9
- data/static/info_arch.json +137 -23
- data/static/previews.json +25 -0
- data/static/statuses.json +1 -0
- metadata +12 -6
data/static/info_arch.json
CHANGED
@@ -45,6 +45,12 @@
|
|
45
45
|
"default": "`:none`",
|
46
46
|
"description": "How items may be selected in the list. One of `:multiple`, `:multiple_checkbox`, `:none`, or `:single`."
|
47
47
|
},
|
48
|
+
{
|
49
|
+
"name": "form_arguments",
|
50
|
+
"type": "Hash",
|
51
|
+
"default": "`{}`",
|
52
|
+
"description": "Allows an `ActionList` to act as a select list in multi- and single-select modes. Pass the `builder:` and `name:` options to this hash. `builder:` should be an instance of `ActionView::Helpers::FormBuilder`, which are created by the standard Rails `#form_with` and `#form_for` helpers. The `name:` option is the desired name of the field that will be included in the params sent to the server on form submission. *NOTE*: Consider using an {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} instead of using this feature directly."
|
53
|
+
},
|
48
54
|
{
|
49
55
|
"name": "system_arguments",
|
50
56
|
"type": "Hash",
|
@@ -260,6 +266,12 @@
|
|
260
266
|
"default": "`{}`",
|
261
267
|
"description": "{{link_to_system_arguments_docs}} used to construct the item's anchor or button tag."
|
262
268
|
},
|
269
|
+
{
|
270
|
+
"name": "form_arguments",
|
271
|
+
"type": "Hash",
|
272
|
+
"default": "`{}`",
|
273
|
+
"description": "Allows the item to submit a form on click. The URL passed in the `href:` option will be used as the form action. Pass the `method:` option to this hash to control what kind of request is made, One of `:delete`, `:get`, `:head`, `:patch`, `:post`, or `:put`. The `name:` option is required and specifies the desired name of the field that will be included in the params sent to the server on form submission. Specify the `value:` option to send a custom value to the server; otherwise the value of `name:` is sent."
|
274
|
+
},
|
263
275
|
{
|
264
276
|
"name": "truncate_label",
|
265
277
|
"type": "Boolean",
|
@@ -517,6 +529,31 @@
|
|
517
529
|
|
518
530
|
]
|
519
531
|
},
|
532
|
+
{
|
533
|
+
"fully_qualified_name": "Primer::Alpha::ActionList::FormWrapper",
|
534
|
+
"description": "Utility component for wrapping ActionLists or individual ActionList::Items in forms.",
|
535
|
+
"component": "ActionList::FormWrapper",
|
536
|
+
"status": "alpha",
|
537
|
+
"a11y_reviewed": false,
|
538
|
+
"short_name": "ActionListFormWrapper",
|
539
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list/form_wrapper.rb",
|
540
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/form_wrapper/default/",
|
541
|
+
"parameters": [
|
542
|
+
|
543
|
+
],
|
544
|
+
"slots": [
|
545
|
+
|
546
|
+
],
|
547
|
+
"methods": [
|
548
|
+
|
549
|
+
],
|
550
|
+
"previews": [
|
551
|
+
|
552
|
+
],
|
553
|
+
"subcomponents": [
|
554
|
+
|
555
|
+
]
|
556
|
+
},
|
520
557
|
{
|
521
558
|
"fully_qualified_name": "Primer::Alpha::ActionList::Divider",
|
522
559
|
"description": "Group heading rendered above the group contents.",
|
@@ -557,7 +594,7 @@
|
|
557
594
|
},
|
558
595
|
{
|
559
596
|
"fully_qualified_name": "Primer::Alpha::ActionMenu",
|
560
|
-
"description": "
|
597
|
+
"description": "ActionMenu is used for actions, navigation, to display secondary options, or single/multi select lists. They appear when users interact with buttons, actions, or other controls.\n\nThe only allowed elements for the `Item` components are: `:a`, `:button`, and `:clipboard-copy`. The default is `:button`.",
|
561
598
|
"component": "ActionMenu",
|
562
599
|
"status": "alpha",
|
563
600
|
"a11y_reviewed": false,
|
@@ -583,6 +620,12 @@
|
|
583
620
|
"default": "`:outside_bottom`",
|
584
621
|
"description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`.."
|
585
622
|
},
|
623
|
+
{
|
624
|
+
"name": "size",
|
625
|
+
"type": "Symbol",
|
626
|
+
"default": "`:auto`",
|
627
|
+
"description": "One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`.."
|
628
|
+
},
|
586
629
|
{
|
587
630
|
"name": "src",
|
588
631
|
"type": "String",
|
@@ -611,7 +654,13 @@
|
|
611
654
|
"name": "select_variant",
|
612
655
|
"type": "Symbol",
|
613
656
|
"default": "`:none`",
|
614
|
-
"description": "
|
657
|
+
"description": "One of `:multiple`, `:none`, or `:single`."
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"name": "form_arguments",
|
661
|
+
"type": "Hash",
|
662
|
+
"default": "`{}`",
|
663
|
+
"description": "Allows an `ActionMenu` to act as a select list in multi- and single-select modes. Pass the `builder:` and `name:` options to this hash. `builder:` should be an instance of `ActionView::Helpers::FormBuilder`, which are created by the standard Rails `#form_with` and `#form_for` helpers. The `name:` option is the desired name of the field that will be included in the params sent to the server on form submission."
|
615
664
|
},
|
616
665
|
{
|
617
666
|
"name": "system_arguments",
|
@@ -621,7 +670,30 @@
|
|
621
670
|
}
|
622
671
|
],
|
623
672
|
"slots": [
|
624
|
-
|
673
|
+
{
|
674
|
+
"name": "show_button",
|
675
|
+
"description": "Button to activate the menu.",
|
676
|
+
"parameters": [
|
677
|
+
{
|
678
|
+
"name": "system_arguments",
|
679
|
+
"type": "Hash",
|
680
|
+
"default": "N/A",
|
681
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::Overlay{{/link_to_component}}'s `show_button` slot."
|
682
|
+
}
|
683
|
+
]
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"name": "items",
|
687
|
+
"description": "Adds a new item to the list.",
|
688
|
+
"parameters": [
|
689
|
+
{
|
690
|
+
"name": "system_arguments",
|
691
|
+
"type": "Hash",
|
692
|
+
"default": "N/A",
|
693
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::ActionList::Item{{/link_to_component}}."
|
694
|
+
}
|
695
|
+
]
|
696
|
+
}
|
625
697
|
],
|
626
698
|
"methods": [
|
627
699
|
{
|
@@ -647,13 +719,13 @@
|
|
647
719
|
},
|
648
720
|
{
|
649
721
|
"name": "with_show_button",
|
650
|
-
"description": "Button to activate the menu.
|
722
|
+
"description": "Button to activate the menu.",
|
651
723
|
"parameters": [
|
652
724
|
{
|
653
|
-
"name": "
|
654
|
-
"type": "
|
725
|
+
"name": "system_arguments",
|
726
|
+
"type": "Hash",
|
655
727
|
"default": "N/A",
|
656
|
-
"description": "
|
728
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::Overlay{{/link_to_component}}'s `show_button` slot."
|
657
729
|
}
|
658
730
|
]
|
659
731
|
},
|
@@ -669,13 +741,6 @@
|
|
669
741
|
}
|
670
742
|
]
|
671
743
|
},
|
672
|
-
{
|
673
|
-
"name": "items",
|
674
|
-
"description": "Retrieves the list of items.",
|
675
|
-
"parameters": [
|
676
|
-
|
677
|
-
]
|
678
|
-
},
|
679
744
|
{
|
680
745
|
"name": "with_divider",
|
681
746
|
"description": "Adds a divider to the list.",
|
@@ -695,11 +760,21 @@
|
|
695
760
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/playground",
|
696
761
|
"name": "playground"
|
697
762
|
},
|
763
|
+
{
|
764
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/content_labels",
|
765
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/content_labels",
|
766
|
+
"name": "content_labels"
|
767
|
+
},
|
698
768
|
{
|
699
769
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/default",
|
700
770
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/default",
|
701
771
|
"name": "default"
|
702
772
|
},
|
773
|
+
{
|
774
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/wide",
|
775
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/wide",
|
776
|
+
"name": "wide"
|
777
|
+
},
|
703
778
|
{
|
704
779
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_icon_button",
|
705
780
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_icon_button",
|
@@ -750,6 +825,16 @@
|
|
750
825
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_actions",
|
751
826
|
"name": "with_actions"
|
752
827
|
},
|
828
|
+
{
|
829
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/single_select_form",
|
830
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/single_select_form",
|
831
|
+
"name": "single_select_form"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/multiple_select_form",
|
835
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/multiple_select_form",
|
836
|
+
"name": "multiple_select_form"
|
837
|
+
},
|
753
838
|
{
|
754
839
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_disabled_items",
|
755
840
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_disabled_items",
|
@@ -770,6 +855,11 @@
|
|
770
855
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/block_description",
|
771
856
|
"name": "block_description"
|
772
857
|
},
|
858
|
+
{
|
859
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/submitting_forms",
|
860
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/submitting_forms",
|
861
|
+
"name": "submitting_forms"
|
862
|
+
},
|
773
863
|
{
|
774
864
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/inline_description",
|
775
865
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/inline_description",
|
@@ -807,7 +897,7 @@
|
|
807
897
|
"name": "system_arguments",
|
808
898
|
"type": "Hash",
|
809
899
|
"default": "N/A",
|
810
|
-
"description": "{{
|
900
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::ActionList{{/link_to_component}}"
|
811
901
|
}
|
812
902
|
],
|
813
903
|
"slots": [
|
@@ -841,6 +931,12 @@
|
|
841
931
|
"name": "with_item",
|
842
932
|
"description": "Adds a new item to the list.",
|
843
933
|
"parameters": [
|
934
|
+
{
|
935
|
+
"name": "data",
|
936
|
+
"type": "Hash",
|
937
|
+
"default": "`{}`",
|
938
|
+
"description": "When the menu is used as a form input (see the {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} docs), the label is submitted to the server by default. However, if the `data: { value: }` or `\"data-value\":` attribute is provided, it will be sent to the server instead."
|
939
|
+
},
|
844
940
|
{
|
845
941
|
"name": "system_arguments",
|
846
942
|
"type": "Hash",
|
@@ -3347,10 +3443,22 @@
|
|
3347
3443
|
"description": "Optional button to open the Overlay.",
|
3348
3444
|
"parameters": [
|
3349
3445
|
{
|
3350
|
-
"name": "
|
3446
|
+
"name": "icon",
|
3447
|
+
"type": "String",
|
3448
|
+
"default": "N/A",
|
3449
|
+
"description": "Name of {{link_to_octicons}} to use instead of text. If provided, a {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} will be rendered. Otherwise a {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} will be rendered."
|
3450
|
+
},
|
3451
|
+
{
|
3452
|
+
"name": "controls",
|
3453
|
+
"type": "String",
|
3454
|
+
"default": "N/A",
|
3455
|
+
"description": "The ID of the menu this button controls. Used internally."
|
3456
|
+
},
|
3457
|
+
{
|
3458
|
+
"name": "button_arguments",
|
3351
3459
|
"type": "Hash",
|
3352
3460
|
"default": "N/A",
|
3353
|
-
"description": "The
|
3461
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} or {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} depending on the presence of the `icon:` argument."
|
3354
3462
|
}
|
3355
3463
|
]
|
3356
3464
|
},
|
@@ -3364,6 +3472,12 @@
|
|
3364
3472
|
"default": "N/A",
|
3365
3473
|
"description": "Show a divider between the header and body."
|
3366
3474
|
},
|
3475
|
+
{
|
3476
|
+
"name": "size",
|
3477
|
+
"type": "Symbol",
|
3478
|
+
"default": "N/A",
|
3479
|
+
"description": "One of One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`.."
|
3480
|
+
},
|
3367
3481
|
{
|
3368
3482
|
"name": "visually_hide_title",
|
3369
3483
|
"type": "Boolean",
|
@@ -5286,6 +5400,12 @@
|
|
5286
5400
|
"default": "`false`",
|
5287
5401
|
"description": "Input can be full-width or fit to content"
|
5288
5402
|
},
|
5403
|
+
{
|
5404
|
+
"name": "width",
|
5405
|
+
"type": "String",
|
5406
|
+
"default": "`:auto`",
|
5407
|
+
"description": "Optional parameter to set max width of results list. One of `:auto`, `:large`, `:medium`, `:small`, `:xlarge`, or `:xxlarge`."
|
5408
|
+
},
|
5289
5409
|
{
|
5290
5410
|
"name": "disabled",
|
5291
5411
|
"type": "Boolean",
|
@@ -5527,13 +5647,7 @@
|
|
5527
5647
|
}
|
5528
5648
|
],
|
5529
5649
|
"methods": [
|
5530
|
-
{
|
5531
|
-
"name": "description_variant_class",
|
5532
|
-
"description": "Description variant class.",
|
5533
|
-
"parameters": [
|
5534
5650
|
|
5535
|
-
]
|
5536
|
-
}
|
5537
5651
|
],
|
5538
5652
|
"previews": [
|
5539
5653
|
{
|
data/static/previews.json
CHANGED
@@ -123,11 +123,21 @@
|
|
123
123
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/playground",
|
124
124
|
"name": "playground"
|
125
125
|
},
|
126
|
+
{
|
127
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/content_labels",
|
128
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/content_labels",
|
129
|
+
"name": "content_labels"
|
130
|
+
},
|
126
131
|
{
|
127
132
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/default",
|
128
133
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/default",
|
129
134
|
"name": "default"
|
130
135
|
},
|
136
|
+
{
|
137
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/wide",
|
138
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/wide",
|
139
|
+
"name": "wide"
|
140
|
+
},
|
131
141
|
{
|
132
142
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_icon_button",
|
133
143
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_icon_button",
|
@@ -178,6 +188,16 @@
|
|
178
188
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_actions",
|
179
189
|
"name": "with_actions"
|
180
190
|
},
|
191
|
+
{
|
192
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/single_select_form",
|
193
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/single_select_form",
|
194
|
+
"name": "single_select_form"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/multiple_select_form",
|
198
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/multiple_select_form",
|
199
|
+
"name": "multiple_select_form"
|
200
|
+
},
|
181
201
|
{
|
182
202
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_disabled_items",
|
183
203
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_disabled_items",
|
@@ -198,6 +218,11 @@
|
|
198
218
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/block_description",
|
199
219
|
"name": "block_description"
|
200
220
|
},
|
221
|
+
{
|
222
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/submitting_forms",
|
223
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/submitting_forms",
|
224
|
+
"name": "submitting_forms"
|
225
|
+
},
|
201
226
|
{
|
202
227
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/inline_description",
|
203
228
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/inline_description",
|
data/static/statuses.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"Primer::Alpha::ActionList": "alpha",
|
3
3
|
"Primer::Alpha::ActionList::Divider": "alpha",
|
4
|
+
"Primer::Alpha::ActionList::FormWrapper": "alpha",
|
4
5
|
"Primer::Alpha::ActionList::Heading": "alpha",
|
5
6
|
"Primer::Alpha::ActionList::Item": "alpha",
|
6
7
|
"Primer::Alpha::ActionMenu": "alpha",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -146,16 +146,16 @@ dependencies:
|
|
146
146
|
name: erb_lint
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - "
|
149
|
+
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
151
|
+
version: 0.4.0
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - "
|
156
|
+
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
158
|
+
version: 0.4.0
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: erblint-github
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -401,6 +401,8 @@ files:
|
|
401
401
|
- app/components/primer/alpha/action_list.pcss
|
402
402
|
- app/components/primer/alpha/action_list.rb
|
403
403
|
- app/components/primer/alpha/action_list/divider.rb
|
404
|
+
- app/components/primer/alpha/action_list/form_wrapper.html.erb
|
405
|
+
- app/components/primer/alpha/action_list/form_wrapper.rb
|
404
406
|
- app/components/primer/alpha/action_list/heading.html.erb
|
405
407
|
- app/components/primer/alpha/action_list/heading.rb
|
406
408
|
- app/components/primer/alpha/action_list/item.html.erb
|
@@ -940,7 +942,11 @@ files:
|
|
940
942
|
- previews/primer/alpha/action_list_preview.rb
|
941
943
|
- previews/primer/alpha/action_menu_preview.rb
|
942
944
|
- previews/primer/alpha/action_menu_preview/align_end.html.erb
|
945
|
+
- previews/primer/alpha/action_menu_preview/content_labels.html.erb
|
946
|
+
- previews/primer/alpha/action_menu_preview/multiple_select_form.html.erb
|
943
947
|
- previews/primer/alpha/action_menu_preview/opens_dialog.html.erb
|
948
|
+
- previews/primer/alpha/action_menu_preview/single_select_form.html.erb
|
949
|
+
- previews/primer/alpha/action_menu_preview/submitting_forms.html.erb
|
944
950
|
- previews/primer/alpha/auto_complete_preview.rb
|
945
951
|
- previews/primer/alpha/banner_preview.rb
|
946
952
|
- previews/primer/alpha/banner_preview/with_action_button.html.erb
|