openproject-primer_view_components 0.25.1 → 0.27.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 +26 -0
- data/app/assets/javascripts/app/components/primer/open_project/zen_mode_button.d.ts +13 -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_list/item.rb +1 -1
- data/app/components/primer/alpha/action_list.js +15 -12
- data/app/components/primer/alpha/action_list.ts +12 -9
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.json +1 -0
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +4 -0
- data/app/components/primer/alpha/overlay/header.html.erb +1 -0
- data/app/components/primer/alpha/overlay/header.rb +12 -0
- data/app/components/primer/alpha/tool_tip.js +1 -1
- data/app/components/primer/alpha/tool_tip.ts +1 -1
- data/app/components/primer/open_project/page_header/dialog.rb +38 -0
- data/app/components/primer/open_project/page_header/menu.rb +38 -0
- data/app/components/primer/open_project/page_header.rb +16 -27
- data/app/components/primer/open_project/zen_mode_button.d.ts +13 -0
- data/app/components/primer/open_project/zen_mode_button.html.erb +11 -0
- data/app/components/primer/open_project/zen_mode_button.js +45 -0
- data/app/components/primer/open_project/zen_mode_button.rb +23 -0
- data/app/components/primer/open_project/zen_mode_button.ts +42 -0
- 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/lib/primer/view_components/version.rb +2 -2
- data/previews/primer/alpha/action_list_preview.rb +19 -1
- data/previews/primer/alpha/overlay_preview/overlay_with_header_filter.html.erb +16 -0
- data/previews/primer/alpha/overlay_preview.rb +4 -0
- data/previews/primer/alpha/tab_nav_preview.rb +1 -1
- data/previews/primer/alpha/tab_panels_preview.rb +2 -2
- data/previews/primer/alpha/underline_nav_preview.rb +3 -3
- data/previews/primer/alpha/underline_panels_preview.rb +38 -0
- data/previews/primer/beta/avatar_stack_preview.rb +1 -1
- data/previews/primer/beta/breadcrumbs_preview.rb +2 -2
- data/previews/primer/beta/nav_list_preview.rb +9 -3
- data/previews/primer/open_project/page_header_preview/actions.html.erb +0 -8
- data/previews/primer/open_project/page_header_preview.rb +48 -0
- data/previews/primer/open_project/zen_mode_button_preview.rb +22 -0
- data/static/arguments.json +42 -4
- data/static/audited_at.json +3 -1
- data/static/classes.json +3 -0
- data/static/constants.json +7 -2
- data/static/info_arch.json +183 -8
- data/static/previews.json +99 -0
- data/static/statuses.json +3 -1
- metadata +12 -2
data/static/previews.json
CHANGED
@@ -5122,6 +5122,19 @@
|
|
5122
5122
|
"color-contrast"
|
5123
5123
|
]
|
5124
5124
|
}
|
5125
|
+
},
|
5126
|
+
{
|
5127
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_filter",
|
5128
|
+
"name": "overlay_with_header_filter",
|
5129
|
+
"snapshot": "false",
|
5130
|
+
"skip_rules": {
|
5131
|
+
"wont_fix": [
|
5132
|
+
"region"
|
5133
|
+
],
|
5134
|
+
"will_fix": [
|
5135
|
+
"color-contrast"
|
5136
|
+
]
|
5137
|
+
}
|
5125
5138
|
}
|
5126
5139
|
]
|
5127
5140
|
},
|
@@ -5183,6 +5196,32 @@
|
|
5183
5196
|
]
|
5184
5197
|
}
|
5185
5198
|
},
|
5199
|
+
{
|
5200
|
+
"preview_path": "primer/open_project/page_header/menu_actions",
|
5201
|
+
"name": "menu_actions",
|
5202
|
+
"snapshot": "false",
|
5203
|
+
"skip_rules": {
|
5204
|
+
"wont_fix": [
|
5205
|
+
"region"
|
5206
|
+
],
|
5207
|
+
"will_fix": [
|
5208
|
+
"color-contrast"
|
5209
|
+
]
|
5210
|
+
}
|
5211
|
+
},
|
5212
|
+
{
|
5213
|
+
"preview_path": "primer/open_project/page_header/dialog_actions",
|
5214
|
+
"name": "dialog_actions",
|
5215
|
+
"snapshot": "false",
|
5216
|
+
"skip_rules": {
|
5217
|
+
"wont_fix": [
|
5218
|
+
"region"
|
5219
|
+
],
|
5220
|
+
"will_fix": [
|
5221
|
+
"color-contrast"
|
5222
|
+
]
|
5223
|
+
}
|
5224
|
+
},
|
5186
5225
|
{
|
5187
5226
|
"preview_path": "primer/open_project/page_header/leading_action",
|
5188
5227
|
"name": "leading_action",
|
@@ -7406,6 +7445,66 @@
|
|
7406
7445
|
{
|
7407
7446
|
"preview_path": "primer/alpha/underline_panels/default",
|
7408
7447
|
"name": "default",
|
7448
|
+
"snapshot": "true",
|
7449
|
+
"skip_rules": {
|
7450
|
+
"wont_fix": [
|
7451
|
+
"region"
|
7452
|
+
],
|
7453
|
+
"will_fix": [
|
7454
|
+
"color-contrast"
|
7455
|
+
]
|
7456
|
+
}
|
7457
|
+
},
|
7458
|
+
{
|
7459
|
+
"preview_path": "primer/alpha/underline_panels/with_icons_and_counters",
|
7460
|
+
"name": "with_icons_and_counters",
|
7461
|
+
"snapshot": "true",
|
7462
|
+
"skip_rules": {
|
7463
|
+
"wont_fix": [
|
7464
|
+
"region"
|
7465
|
+
],
|
7466
|
+
"will_fix": [
|
7467
|
+
"color-contrast"
|
7468
|
+
]
|
7469
|
+
}
|
7470
|
+
},
|
7471
|
+
{
|
7472
|
+
"preview_path": "primer/alpha/underline_panels/with_actions",
|
7473
|
+
"name": "with_actions",
|
7474
|
+
"snapshot": "true",
|
7475
|
+
"skip_rules": {
|
7476
|
+
"wont_fix": [
|
7477
|
+
"region"
|
7478
|
+
],
|
7479
|
+
"will_fix": [
|
7480
|
+
"color-contrast"
|
7481
|
+
]
|
7482
|
+
}
|
7483
|
+
}
|
7484
|
+
]
|
7485
|
+
},
|
7486
|
+
{
|
7487
|
+
"name": "zen_mode_button",
|
7488
|
+
"component": "OpenProject::ZenModeButton",
|
7489
|
+
"status": "open_project",
|
7490
|
+
"lookup_path": "primer/open_project/zen_mode_button",
|
7491
|
+
"examples": [
|
7492
|
+
{
|
7493
|
+
"preview_path": "primer/open_project/zen_mode_button/default",
|
7494
|
+
"name": "default",
|
7495
|
+
"snapshot": "true",
|
7496
|
+
"skip_rules": {
|
7497
|
+
"wont_fix": [
|
7498
|
+
"region"
|
7499
|
+
],
|
7500
|
+
"will_fix": [
|
7501
|
+
"color-contrast"
|
7502
|
+
]
|
7503
|
+
}
|
7504
|
+
},
|
7505
|
+
{
|
7506
|
+
"preview_path": "primer/open_project/zen_mode_button/playground",
|
7507
|
+
"name": "playground",
|
7409
7508
|
"snapshot": "false",
|
7410
7509
|
"skip_rules": {
|
7411
7510
|
"wont_fix": [
|
data/static/statuses.json
CHANGED
@@ -121,7 +121,9 @@
|
|
121
121
|
"Primer::OpenProject::GridLayout::Area": "open_project",
|
122
122
|
"Primer::OpenProject::InputGroup": "open_project",
|
123
123
|
"Primer::OpenProject::PageHeader": "open_project",
|
124
|
-
"Primer::OpenProject::PageHeader::
|
124
|
+
"Primer::OpenProject::PageHeader::Dialog": "open_project",
|
125
|
+
"Primer::OpenProject::PageHeader::Menu": "open_project",
|
126
|
+
"Primer::OpenProject::ZenModeButton": "open_project",
|
125
127
|
"Primer::Tooltip": "deprecated",
|
126
128
|
"Primer::Truncate": "deprecated"
|
127
129
|
}
|
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.27.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-04-
|
12
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- app/assets/javascripts/app/components/primer/dialog_helper.d.ts
|
104
104
|
- app/assets/javascripts/app/components/primer/focus_group.d.ts
|
105
105
|
- app/assets/javascripts/app/components/primer/open_project/page_header_element.d.ts
|
106
|
+
- app/assets/javascripts/app/components/primer/open_project/zen_mode_button.d.ts
|
106
107
|
- app/assets/javascripts/app/components/primer/primer.d.ts
|
107
108
|
- app/assets/javascripts/app/components/primer/scrollable_region.d.ts
|
108
109
|
- app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts
|
@@ -493,9 +494,16 @@ files:
|
|
493
494
|
- app/components/primer/open_project/page_header.html.erb
|
494
495
|
- app/components/primer/open_project/page_header.pcss
|
495
496
|
- app/components/primer/open_project/page_header.rb
|
497
|
+
- app/components/primer/open_project/page_header/dialog.rb
|
498
|
+
- app/components/primer/open_project/page_header/menu.rb
|
496
499
|
- app/components/primer/open_project/page_header_element.d.ts
|
497
500
|
- app/components/primer/open_project/page_header_element.js
|
498
501
|
- app/components/primer/open_project/page_header_element.ts
|
502
|
+
- app/components/primer/open_project/zen_mode_button.d.ts
|
503
|
+
- app/components/primer/open_project/zen_mode_button.html.erb
|
504
|
+
- app/components/primer/open_project/zen_mode_button.js
|
505
|
+
- app/components/primer/open_project/zen_mode_button.rb
|
506
|
+
- app/components/primer/open_project/zen_mode_button.ts
|
499
507
|
- app/components/primer/primer.d.ts
|
500
508
|
- app/components/primer/primer.js
|
501
509
|
- app/components/primer/primer.pcss
|
@@ -800,6 +808,7 @@ files:
|
|
800
808
|
- previews/primer/alpha/overlay_preview/in_an_action_menu.html.erb
|
801
809
|
- previews/primer/alpha/overlay_preview/middle_of_page.html.erb
|
802
810
|
- previews/primer/alpha/overlay_preview/middle_of_page_with_relative_container.html.erb
|
811
|
+
- previews/primer/alpha/overlay_preview/overlay_with_header_filter.html.erb
|
803
812
|
- previews/primer/alpha/radio_button_group_preview.rb
|
804
813
|
- previews/primer/alpha/radio_button_preview.rb
|
805
814
|
- previews/primer/alpha/segmented_control_preview.rb
|
@@ -914,6 +923,7 @@ files:
|
|
914
923
|
- previews/primer/open_project/page_header_preview.rb
|
915
924
|
- previews/primer/open_project/page_header_preview/actions.html.erb
|
916
925
|
- previews/primer/open_project/page_header_preview/playground.html.erb
|
926
|
+
- previews/primer/open_project/zen_mode_button_preview.rb
|
917
927
|
- previews/primer/url_helpers.rb
|
918
928
|
- static/arguments.json
|
919
929
|
- static/assets/view-components.svg
|