openproject-primer_view_components 0.22.2 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/app/assets/javascripts/app/components/primer/alpha/action_list.d.ts +16 -0
- data/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +3 -0
- data/app/assets/javascripts/app/components/primer/primer.d.ts +1 -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 +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_bar_element.js +4 -6
- data/app/components/primer/alpha/action_list/item.rb +19 -6
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.json +2 -0
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.d.ts +16 -0
- data/app/components/primer/alpha/action_list.html.erb +19 -17
- data/app/components/primer/alpha/action_list.js +69 -0
- data/app/components/primer/alpha/action_list.pcss +8 -0
- data/app/components/primer/alpha/action_list.ts +58 -0
- data/app/components/primer/alpha/action_menu/action_menu_element.js +12 -19
- 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 +4 -4
- data/app/components/primer/alpha/banner.rb +17 -3
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.json +2 -0
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +9 -0
- 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 +1 -1
- data/app/components/primer/alpha/modal_dialog.js +8 -10
- data/app/components/primer/alpha/segmented_control.js +2 -3
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.json +2 -0
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +10 -0
- data/app/components/primer/alpha/toggle_switch.rb +2 -2
- data/app/components/primer/alpha/tool_tip.js +5 -7
- data/app/components/primer/beta/auto_complete/auto_complete.html.erb +9 -9
- data/app/components/primer/beta/breadcrumbs.css +1 -1
- data/app/components/primer/beta/breadcrumbs.css.map +1 -1
- data/app/components/primer/beta/breadcrumbs.pcss +3 -1
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +5 -5
- data/app/components/primer/beta/button_group.rb +53 -1
- 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 +4 -4
- data/app/components/primer/beta/flash.rb +3 -1
- data/app/components/primer/beta/nav_list.d.ts +3 -0
- data/app/components/primer/beta/nav_list.html.erb +1 -1
- data/app/components/primer/beta/nav_list.js +31 -12
- data/app/components/primer/beta/nav_list.ts +18 -1
- data/app/components/primer/beta/nav_list_group_element.js +6 -4
- data/app/components/primer/beta/nav_list_group_element.ts +3 -0
- 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 +3 -0
- data/app/components/primer/beta/popover.rb +0 -1
- data/app/components/primer/dialog_helper.js +5 -7
- data/app/components/primer/focus_group.js +9 -12
- data/app/components/primer/open_project/page_header.css +1 -1
- data/app/components/primer/open_project/page_header.css.json +2 -4
- data/app/components/primer/open_project/page_header.css.map +1 -1
- data/app/components/primer/open_project/page_header.html.erb +15 -3
- data/app/components/primer/open_project/page_header.pcss +4 -17
- data/app/components/primer/open_project/page_header.rb +17 -28
- data/app/components/primer/primer.d.ts +1 -0
- data/app/components/primer/primer.js +1 -0
- data/app/components/primer/primer.ts +1 -0
- data/app/forms/auto_complete_form.rb +18 -0
- data/app/forms/select_form.rb +10 -0
- data/lib/primer/deprecations.yml +5 -0
- data/lib/primer/forms/auto_complete.html.erb +6 -0
- data/lib/primer/forms/auto_complete.rb +56 -0
- data/lib/primer/forms/builder.rb +19 -0
- data/lib/primer/forms/check_box_group.html.erb +4 -4
- data/lib/primer/forms/check_box_group.rb +0 -3
- data/lib/primer/forms/dsl/auto_complete_input.rb +33 -0
- data/lib/primer/forms/dsl/check_box_group_input.rb +8 -0
- data/lib/primer/forms/dsl/input.rb +8 -2
- data/lib/primer/forms/dsl/input_methods.rb +9 -0
- data/lib/primer/forms/dsl/radio_button_group_input.rb +8 -0
- data/lib/primer/forms/dsl/select_input.rb +5 -1
- data/lib/primer/forms/form_control.rb +1 -2
- data/lib/primer/forms/primer_multi_input.js +2 -3
- data/lib/primer/forms/primer_text_field.js +4 -6
- data/lib/primer/forms/primer_text_field.ts +2 -2
- data/lib/primer/forms/radio_button_group.html.erb +4 -4
- data/lib/primer/forms/radio_button_group.rb +0 -3
- data/lib/primer/forms/select.html.erb +1 -0
- data/lib/primer/forms/select.rb +9 -5
- data/lib/primer/view_components/version.rb +2 -2
- data/previews/primer/alpha/action_list_preview.rb +42 -0
- data/previews/primer/alpha/select_preview.rb +12 -1
- data/previews/primer/alpha/text_area_preview.rb +7 -1
- data/previews/primer/alpha/text_field_preview.rb +7 -1
- data/previews/primer/beta/button_group_preview/with_menu_button.html.erb +7 -0
- data/previews/primer/beta/button_group_preview.rb +6 -0
- data/previews/primer/beta/nav_list_preview.rb +43 -0
- data/previews/primer/forms_preview/auto_complete_form.html.erb +3 -0
- data/previews/primer/forms_preview/select_form.html.erb +1 -1
- data/previews/primer/forms_preview.rb +2 -0
- data/previews/primer/open_project/page_header_preview/actions.html.erb +9 -7
- data/previews/primer/open_project/page_header_preview/context_bar_actions.html.erb +8 -6
- data/previews/primer/open_project/page_header_preview/playground.html.erb +4 -4
- data/previews/primer/open_project/page_header_preview.rb +11 -15
- data/static/arguments.json +30 -8
- data/static/audited_at.json +1 -0
- data/static/classes.json +2 -5
- data/static/constants.json +25 -13
- data/static/info_arch.json +226 -25
- data/static/previews.json +161 -5
- data/static/statuses.json +2 -1
- metadata +12 -3
- data/previews/primer/beta/button_group_preview/action_menus.html.erb +0 -8
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openproject-primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- LICENSE.txt
|
84
84
|
- README.md
|
85
85
|
- app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts
|
86
|
+
- app/assets/javascripts/app/components/primer/alpha/action_list.d.ts
|
86
87
|
- app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
|
87
88
|
- app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts
|
88
89
|
- app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts
|
@@ -124,9 +125,12 @@ files:
|
|
124
125
|
- app/components/primer/alpha/action_list.css
|
125
126
|
- app/components/primer/alpha/action_list.css.json
|
126
127
|
- app/components/primer/alpha/action_list.css.map
|
128
|
+
- app/components/primer/alpha/action_list.d.ts
|
127
129
|
- app/components/primer/alpha/action_list.html.erb
|
130
|
+
- app/components/primer/alpha/action_list.js
|
128
131
|
- app/components/primer/alpha/action_list.pcss
|
129
132
|
- app/components/primer/alpha/action_list.rb
|
133
|
+
- app/components/primer/alpha/action_list.ts
|
130
134
|
- app/components/primer/alpha/action_list/divider.rb
|
131
135
|
- app/components/primer/alpha/action_list/form_wrapper.html.erb
|
132
136
|
- app/components/primer/alpha/action_list/form_wrapper.rb
|
@@ -507,6 +511,7 @@ files:
|
|
507
511
|
- app/forms/application_form.rb
|
508
512
|
- app/forms/array_check_box_group_form.rb
|
509
513
|
- app/forms/array_check_box_group_form/places_lopez_caption.html.erb
|
514
|
+
- app/forms/auto_complete_form.rb
|
510
515
|
- app/forms/both_types_of_caption_form.rb
|
511
516
|
- app/forms/both_types_of_caption_form/first_name_caption.html.erb
|
512
517
|
- app/forms/caption_template_form.rb
|
@@ -574,6 +579,8 @@ files:
|
|
574
579
|
- lib/primer/forms/action_menu.html.erb
|
575
580
|
- lib/primer/forms/action_menu.rb
|
576
581
|
- lib/primer/forms/acts_as_component.rb
|
582
|
+
- lib/primer/forms/auto_complete.html.erb
|
583
|
+
- lib/primer/forms/auto_complete.rb
|
577
584
|
- lib/primer/forms/base.html.erb
|
578
585
|
- lib/primer/forms/base.rb
|
579
586
|
- lib/primer/forms/base_component.rb
|
@@ -588,6 +595,7 @@ files:
|
|
588
595
|
- lib/primer/forms/check_box_group.html.erb
|
589
596
|
- lib/primer/forms/check_box_group.rb
|
590
597
|
- lib/primer/forms/dsl/action_menu_input.rb
|
598
|
+
- lib/primer/forms/dsl/auto_complete_input.rb
|
591
599
|
- lib/primer/forms/dsl/button_input.rb
|
592
600
|
- lib/primer/forms/dsl/check_box_group_input.rb
|
593
601
|
- lib/primer/forms/dsl/check_box_input.rb
|
@@ -827,7 +835,7 @@ files:
|
|
827
835
|
- previews/primer/beta/border_box_preview.rb
|
828
836
|
- previews/primer/beta/breadcrumbs_preview.rb
|
829
837
|
- previews/primer/beta/button_group_preview.rb
|
830
|
-
- previews/primer/beta/button_group_preview/
|
838
|
+
- previews/primer/beta/button_group_preview/with_menu_button.html.erb
|
831
839
|
- previews/primer/beta/button_preview.rb
|
832
840
|
- previews/primer/beta/button_preview/all_schemes.html.erb
|
833
841
|
- previews/primer/beta/button_preview/invisible_all_visuals.html.erb
|
@@ -867,6 +875,7 @@ files:
|
|
867
875
|
- previews/primer/forms_preview/action_menu_form.html.erb
|
868
876
|
- previews/primer/forms_preview/after_content_form.html.erb
|
869
877
|
- previews/primer/forms_preview/array_check_box_group_form.html.erb
|
878
|
+
- previews/primer/forms_preview/auto_complete_form.html.erb
|
870
879
|
- previews/primer/forms_preview/caption_template_form.html.erb
|
871
880
|
- previews/primer/forms_preview/check_box_group_form.html.erb
|
872
881
|
- previews/primer/forms_preview/check_box_with_nested_form.html.erb
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<%= render(Primer::Beta::ButtonGroup.new) do |component| %>
|
2
|
-
<% component.with_button() { "Main menu" } %>
|
3
|
-
<% component.with_button(icon: "triangle-down", "aria-label": "secondary menu", data: { "menu-id": "my-id" }) %>
|
4
|
-
<% end %>
|
5
|
-
|
6
|
-
<%= render(Primer::Alpha::ActionMenu.new(anchor_align: :end, menu_id: "my-id")) do |component| %>
|
7
|
-
<% component.with_item(label: "Item", tag: :button, value: "") %>
|
8
|
-
<% end %>
|