primer_view_components 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -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 +2 -2
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list/heading.html.erb +1 -1
- data/app/components/primer/alpha/action_list/heading.rb +5 -3
- data/app/components/primer/alpha/action_list/item.html.erb +9 -0
- data/app/components/primer/alpha/action_list/item.rb +31 -10
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.json +4 -41
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.pcss +19 -20
- data/app/components/primer/alpha/action_list.rb +54 -6
- data/app/components/primer/alpha/action_menu/action_menu_element.d.ts +22 -0
- data/app/components/primer/alpha/action_menu/action_menu_element.js +139 -0
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +137 -0
- data/app/components/primer/alpha/action_menu/list.rb +81 -0
- data/app/components/primer/alpha/action_menu.html.erb +26 -0
- data/app/components/primer/alpha/action_menu.rb +322 -0
- data/app/components/primer/alpha/auto_complete.css.json +0 -11
- data/app/components/primer/alpha/banner.css.json +0 -14
- data/app/components/primer/alpha/button_marketing.css.json +0 -10
- data/app/components/primer/alpha/dialog.css.json +0 -63
- data/app/components/primer/alpha/dialog.rb +6 -2
- data/app/components/primer/alpha/dropdown.css.json +0 -21
- data/app/components/primer/alpha/layout.css.json +0 -27
- data/app/components/primer/alpha/menu.css.json +0 -11
- data/app/components/primer/alpha/nav_list/item.rb +5 -0
- data/app/components/primer/alpha/overlay.css +1 -1
- data/app/components/primer/alpha/overlay.css.json +0 -3
- data/app/components/primer/alpha/overlay.css.map +1 -1
- data/app/components/primer/alpha/overlay.pcss +1 -0
- data/app/components/primer/alpha/overlay.rb +14 -18
- data/app/components/primer/alpha/segmented_control.css.json +0 -15
- data/app/components/primer/alpha/tab_nav.css.json +0 -10
- data/app/components/primer/alpha/text_field.css.json +0 -38
- data/app/components/primer/alpha/toggle_switch.css.json +0 -16
- data/app/components/primer/alpha/underline_nav.css.json +0 -13
- data/app/components/primer/beta/avatar.css.json +0 -14
- data/app/components/primer/beta/avatar_stack.css.json +0 -9
- data/app/components/primer/beta/blankslate.css.json +0 -12
- data/app/components/primer/beta/border_box.css.json +0 -32
- data/app/components/primer/beta/border_box.rb +3 -3
- data/app/components/primer/beta/breadcrumbs.css.json +0 -4
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +0 -22
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +3 -3
- data/app/components/primer/beta/counter.css.json +0 -6
- data/app/components/primer/beta/flash.css.json +0 -15
- data/app/components/primer/beta/label.css.json +0 -20
- data/app/components/primer/beta/link.css.json +0 -8
- data/app/components/primer/beta/popover.css.json +0 -18
- data/app/components/primer/beta/progress_bar.css.json +0 -6
- data/app/components/primer/beta/state.css.json +0 -10
- data/app/components/primer/beta/subhead.css.json +0 -8
- data/app/components/primer/beta/timeline_item.css.json +0 -9
- data/app/components/primer/beta/truncate.css.json +0 -6
- data/app/components/primer/focus_group.d.ts +19 -0
- data/app/components/primer/focus_group.js +144 -0
- data/app/components/primer/focus_group.ts +137 -0
- data/app/components/primer/icon_button.rb +1 -1
- data/app/components/primer/primer.d.ts +2 -0
- data/app/components/primer/primer.js +2 -0
- data/app/components/primer/primer.ts +2 -0
- data/app/components/primer/truncate.css.json +0 -7
- data/app/lib/primer/css/layout.css.json +0 -263
- data/app/lib/primer/css/utilities.css.json +0 -1636
- data/lib/primer/static/generate_arguments.rb +55 -0
- data/lib/primer/static/generate_audited_at.rb +17 -0
- data/lib/primer/static/generate_constants.rb +19 -0
- data/lib/primer/static/generate_info_arch.rb +156 -0
- data/lib/primer/static/generate_previews.rb +45 -0
- data/lib/primer/static/generate_statuses.rb +17 -0
- data/lib/primer/static.rb +72 -0
- data/lib/primer/view_components/linters/disallow_component_css_counter.rb +43 -4
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/primer/view_components.rb +0 -48
- data/lib/primer/yard/component_manifest.rb +1 -0
- data/lib/primer/yard/component_ref.rb +14 -0
- data/lib/primer/yard/docs_helper.rb +3 -0
- data/lib/primer/yard/info_arch_docs_helper.rb +31 -0
- data/lib/primer/yard/legacy_gatsby_backend.rb +3 -35
- data/lib/primer/yard/registry.rb +2 -1
- data/lib/primer/yard.rb +1 -0
- data/lib/tasks/docs.rake +10 -12
- data/lib/tasks/static.rake +20 -28
- data/previews/primer/alpha/action_list_preview.rb +4 -1
- data/previews/primer/alpha/action_menu_preview/align_end.html.erb +6 -0
- data/previews/primer/alpha/action_menu_preview/opens_dialog.html.erb +21 -0
- data/previews/primer/alpha/action_menu_preview.rb +238 -0
- data/previews/primer/alpha/dialog_preview/body_has_scrollbar_overflow.html.erb +2 -2
- data/previews/primer/alpha/dialog_preview/custom_header.html.erb +3 -3
- data/previews/primer/alpha/dialog_preview/nested_dialog.html.erb +4 -4
- data/previews/primer/alpha/dialog_preview/test.html.erb +3 -3
- data/previews/primer/alpha/dialog_preview/with_footer.html.erb +3 -3
- data/previews/primer/alpha/dialog_preview/with_form.html.erb +1 -1
- data/previews/primer/alpha/dialog_preview/with_text_input.html.erb +2 -2
- data/previews/primer/alpha/dialog_preview.rb +7 -2
- data/previews/primer/beta/auto_complete_item_preview.rb +1 -0
- data/static/arguments.json +3078 -1404
- data/static/audited_at.json +2 -0
- data/static/classes.json +576 -311
- data/static/constants.json +42 -2
- data/static/info_arch.json +8859 -0
- data/static/previews.json +221 -101
- data/static/statuses.json +2 -0
- metadata +23 -2
data/static/statuses.json
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
"Primer::Alpha::ActionList::Divider": "alpha",
|
4
4
|
"Primer::Alpha::ActionList::Heading": "alpha",
|
5
5
|
"Primer::Alpha::ActionList::Item": "alpha",
|
6
|
+
"Primer::Alpha::ActionMenu": "alpha",
|
7
|
+
"Primer::Alpha::ActionMenu::List": "alpha",
|
6
8
|
"Primer::Alpha::AutoComplete": "deprecated",
|
7
9
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
8
10
|
"Primer::Alpha::Banner": "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.5
|
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-
|
11
|
+
date: 2023-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -405,6 +405,12 @@ files:
|
|
405
405
|
- app/components/primer/alpha/action_list/heading.rb
|
406
406
|
- app/components/primer/alpha/action_list/item.html.erb
|
407
407
|
- app/components/primer/alpha/action_list/item.rb
|
408
|
+
- app/components/primer/alpha/action_menu.html.erb
|
409
|
+
- app/components/primer/alpha/action_menu.rb
|
410
|
+
- app/components/primer/alpha/action_menu/action_menu_element.d.ts
|
411
|
+
- app/components/primer/alpha/action_menu/action_menu_element.js
|
412
|
+
- app/components/primer/alpha/action_menu/action_menu_element.ts
|
413
|
+
- app/components/primer/alpha/action_menu/list.rb
|
408
414
|
- app/components/primer/alpha/auto_complete.css
|
409
415
|
- app/components/primer/alpha/auto_complete.css.json
|
410
416
|
- app/components/primer/alpha/auto_complete.css.map
|
@@ -691,6 +697,9 @@ files:
|
|
691
697
|
- app/components/primer/component.rb
|
692
698
|
- app/components/primer/conditional_wrapper.rb
|
693
699
|
- app/components/primer/content.rb
|
700
|
+
- app/components/primer/focus_group.d.ts
|
701
|
+
- app/components/primer/focus_group.js
|
702
|
+
- app/components/primer/focus_group.ts
|
694
703
|
- app/components/primer/icon_button.html.erb
|
695
704
|
- app/components/primer/icon_button.rb
|
696
705
|
- app/components/primer/layout_component.html.erb
|
@@ -841,6 +850,13 @@ files:
|
|
841
850
|
- lib/primer/forms/toggle_switch_input.js
|
842
851
|
- lib/primer/forms/toggle_switch_input.ts
|
843
852
|
- lib/primer/forms/utils.rb
|
853
|
+
- lib/primer/static.rb
|
854
|
+
- lib/primer/static/generate_arguments.rb
|
855
|
+
- lib/primer/static/generate_audited_at.rb
|
856
|
+
- lib/primer/static/generate_constants.rb
|
857
|
+
- lib/primer/static/generate_info_arch.rb
|
858
|
+
- lib/primer/static/generate_previews.rb
|
859
|
+
- lib/primer/static/generate_statuses.rb
|
844
860
|
- lib/primer/view_components.rb
|
845
861
|
- lib/primer/view_components/audited.rb
|
846
862
|
- lib/primer/view_components/constants.rb
|
@@ -883,6 +899,7 @@ files:
|
|
883
899
|
- lib/primer/yard/component_manifest.rb
|
884
900
|
- lib/primer/yard/component_ref.rb
|
885
901
|
- lib/primer/yard/docs_helper.rb
|
902
|
+
- lib/primer/yard/info_arch_docs_helper.rb
|
886
903
|
- lib/primer/yard/legacy_gatsby_backend.rb
|
887
904
|
- lib/primer/yard/lookbook_docs_helper.rb
|
888
905
|
- lib/primer/yard/lookbook_pages_backend.rb
|
@@ -921,6 +938,9 @@ files:
|
|
921
938
|
- previews/pages/forms/08_validations.md.erb
|
922
939
|
- previews/pages/forms/09_compound_forms.md.erb
|
923
940
|
- previews/primer/alpha/action_list_preview.rb
|
941
|
+
- previews/primer/alpha/action_menu_preview.rb
|
942
|
+
- previews/primer/alpha/action_menu_preview/align_end.html.erb
|
943
|
+
- previews/primer/alpha/action_menu_preview/opens_dialog.html.erb
|
924
944
|
- previews/primer/alpha/auto_complete_preview.rb
|
925
945
|
- previews/primer/alpha/banner_preview.rb
|
926
946
|
- previews/primer/alpha/banner_preview/with_action_button.html.erb
|
@@ -1040,6 +1060,7 @@ files:
|
|
1040
1060
|
- static/audited_at.json
|
1041
1061
|
- static/classes.json
|
1042
1062
|
- static/constants.json
|
1063
|
+
- static/info_arch.json
|
1043
1064
|
- static/previews.json
|
1044
1065
|
- static/statuses.json
|
1045
1066
|
homepage: https://github.com/primer/view_components
|