openproject-primer_view_components 0.68.0 → 0.69.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/javascripts/components/primer/alpha/action_menu/action_menu_element.d.ts +5 -0
- data/app/assets/javascripts/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +17 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.d.ts +5 -0
- data/app/components/primer/alpha/action_menu/action_menu_element.js +111 -16
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +136 -23
- data/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +17 -0
- data/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.js +62 -0
- data/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.ts +67 -0
- data/app/components/primer/alpha/action_menu/list.rb +3 -1
- data/app/components/primer/alpha/action_menu/list_wrapper.rb +31 -0
- data/app/components/primer/alpha/action_menu/menu.html.erb +24 -0
- data/app/components/primer/alpha/action_menu/menu.rb +136 -0
- data/app/components/primer/alpha/action_menu/primary_menu.rb +86 -0
- data/app/components/primer/alpha/action_menu/sub_menu.rb +74 -0
- data/app/components/primer/alpha/action_menu/sub_menu_item.html.erb +5 -0
- data/app/components/primer/alpha/action_menu/sub_menu_item.rb +54 -0
- data/app/components/primer/alpha/action_menu.html.erb +1 -26
- data/app/components/primer/alpha/action_menu.rb +44 -118
- data/app/components/primer/alpha/select_panel.rb +3 -3
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/action_menu_preview/multiple_select_form.html.erb +13 -4
- data/previews/primer/alpha/action_menu_preview/opens_dialog.html.erb +20 -11
- data/previews/primer/alpha/action_menu_preview/single_select_form_items.html.erb +13 -2
- data/previews/primer/alpha/action_menu_preview/sub_menus.html.erb +19 -0
- data/previews/primer/alpha/action_menu_preview/with_actions.html.erb +20 -11
- data/previews/primer/alpha/action_menu_preview/with_deferred_content.html.erb +24 -0
- data/previews/primer/alpha/action_menu_preview.rb +93 -29
- data/static/arguments.json +169 -68
- data/static/audited_at.json +4 -0
- data/static/constants.json +27 -7
- data/static/info_arch.json +797 -199
- data/static/previews.json +13 -0
- data/static/statuses.json +4 -0
- metadata +14 -2
data/static/previews.json
CHANGED
@@ -826,6 +826,19 @@
|
|
826
826
|
"color-contrast"
|
827
827
|
]
|
828
828
|
}
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"preview_path": "primer/alpha/action_menu/sub_menus",
|
832
|
+
"name": "sub_menus",
|
833
|
+
"snapshot": "false",
|
834
|
+
"skip_rules": {
|
835
|
+
"wont_fix": [
|
836
|
+
"region"
|
837
|
+
],
|
838
|
+
"will_fix": [
|
839
|
+
"color-contrast"
|
840
|
+
]
|
841
|
+
}
|
829
842
|
}
|
830
843
|
]
|
831
844
|
},
|
data/static/statuses.json
CHANGED
@@ -12,6 +12,10 @@
|
|
12
12
|
"Primer::Alpha::ActionMenu::Heading": "alpha",
|
13
13
|
"Primer::Alpha::ActionMenu::List": "alpha",
|
14
14
|
"Primer::Alpha::ActionMenu::ListWrapper": "alpha",
|
15
|
+
"Primer::Alpha::ActionMenu::Menu": "alpha",
|
16
|
+
"Primer::Alpha::ActionMenu::PrimaryMenu": "alpha",
|
17
|
+
"Primer::Alpha::ActionMenu::SubMenu": "alpha",
|
18
|
+
"Primer::Alpha::ActionMenu::SubMenuItem": "alpha",
|
15
19
|
"Primer::Alpha::AutoComplete": "deprecated",
|
16
20
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
17
21
|
"Primer::Alpha::Banner": "alpha",
|
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.69.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: 2025-
|
12
|
+
date: 2025-06-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- app/assets/javascripts/components/primer/alpha/action_bar_element.d.ts
|
87
87
|
- app/assets/javascripts/components/primer/alpha/action_list.d.ts
|
88
88
|
- app/assets/javascripts/components/primer/alpha/action_menu/action_menu_element.d.ts
|
89
|
+
- app/assets/javascripts/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts
|
89
90
|
- app/assets/javascripts/components/primer/alpha/dropdown.d.ts
|
90
91
|
- app/assets/javascripts/components/primer/alpha/dropdown/menu.d.ts
|
91
92
|
- app/assets/javascripts/components/primer/alpha/modal_dialog.d.ts
|
@@ -159,11 +160,20 @@ files:
|
|
159
160
|
- app/components/primer/alpha/action_menu/action_menu_element.d.ts
|
160
161
|
- app/components/primer/alpha/action_menu/action_menu_element.js
|
161
162
|
- app/components/primer/alpha/action_menu/action_menu_element.ts
|
163
|
+
- app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts
|
164
|
+
- app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.js
|
165
|
+
- app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.ts
|
162
166
|
- app/components/primer/alpha/action_menu/group.rb
|
163
167
|
- app/components/primer/alpha/action_menu/heading.rb
|
164
168
|
- app/components/primer/alpha/action_menu/list.html.erb
|
165
169
|
- app/components/primer/alpha/action_menu/list.rb
|
166
170
|
- app/components/primer/alpha/action_menu/list_wrapper.rb
|
171
|
+
- app/components/primer/alpha/action_menu/menu.html.erb
|
172
|
+
- app/components/primer/alpha/action_menu/menu.rb
|
173
|
+
- app/components/primer/alpha/action_menu/primary_menu.rb
|
174
|
+
- app/components/primer/alpha/action_menu/sub_menu.rb
|
175
|
+
- app/components/primer/alpha/action_menu/sub_menu_item.html.erb
|
176
|
+
- app/components/primer/alpha/action_menu/sub_menu_item.rb
|
167
177
|
- app/components/primer/alpha/auto_complete.css
|
168
178
|
- app/components/primer/alpha/auto_complete.css.json
|
169
179
|
- app/components/primer/alpha/auto_complete.css.map
|
@@ -934,9 +944,11 @@ files:
|
|
934
944
|
- previews/primer/alpha/action_menu_preview/opens_dialog.html.erb
|
935
945
|
- previews/primer/alpha/action_menu_preview/single_select_form.html.erb
|
936
946
|
- previews/primer/alpha/action_menu_preview/single_select_form_items.html.erb
|
947
|
+
- previews/primer/alpha/action_menu_preview/sub_menus.html.erb
|
937
948
|
- previews/primer/alpha/action_menu_preview/submitting_forms.html.erb
|
938
949
|
- previews/primer/alpha/action_menu_preview/two_menus.html.erb
|
939
950
|
- previews/primer/alpha/action_menu_preview/with_actions.html.erb
|
951
|
+
- previews/primer/alpha/action_menu_preview/with_deferred_content.html.erb
|
940
952
|
- previews/primer/alpha/auto_complete_preview.rb
|
941
953
|
- previews/primer/alpha/banner_preview.rb
|
942
954
|
- previews/primer/alpha/banner_preview/with_action_button.html.erb
|