openproject-primer_view_components 0.26.0 → 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 +10 -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/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 +1 -1
- 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/constants.json +7 -2
- data/static/info_arch.json +131 -6
- data/static/previews.json +60 -0
- data/static/statuses.json +3 -1
- metadata +11 -2
data/static/previews.json
CHANGED
@@ -5196,6 +5196,32 @@
|
|
5196
5196
|
]
|
5197
5197
|
}
|
5198
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
|
+
},
|
5199
5225
|
{
|
5200
5226
|
"preview_path": "primer/open_project/page_header/leading_action",
|
5201
5227
|
"name": "leading_action",
|
@@ -7456,5 +7482,39 @@
|
|
7456
7482
|
}
|
7457
7483
|
}
|
7458
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",
|
7508
|
+
"snapshot": "false",
|
7509
|
+
"skip_rules": {
|
7510
|
+
"wont_fix": [
|
7511
|
+
"region"
|
7512
|
+
],
|
7513
|
+
"will_fix": [
|
7514
|
+
"color-contrast"
|
7515
|
+
]
|
7516
|
+
}
|
7517
|
+
}
|
7518
|
+
]
|
7459
7519
|
}
|
7460
7520
|
]
|
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
|
@@ -915,6 +923,7 @@ files:
|
|
915
923
|
- previews/primer/open_project/page_header_preview.rb
|
916
924
|
- previews/primer/open_project/page_header_preview/actions.html.erb
|
917
925
|
- previews/primer/open_project/page_header_preview/playground.html.erb
|
926
|
+
- previews/primer/open_project/zen_mode_button_preview.rb
|
918
927
|
- previews/primer/url_helpers.rb
|
919
928
|
- static/arguments.json
|
920
929
|
- static/assets/view-components.svg
|