openproject-primer_view_components 0.36.1 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/app/assets/styles/primer_view_components.css +1 -1
  4. data/app/assets/styles/primer_view_components.css.map +1 -1
  5. data/app/components/primer/open_project/border_grid.rb +2 -2
  6. data/app/components/primer/open_project/input_group.html.erb +1 -3
  7. data/app/components/primer/open_project/side_panel/section.css +1 -0
  8. data/app/components/primer/open_project/side_panel/section.css.json +10 -0
  9. data/app/components/primer/open_project/side_panel/section.css.map +1 -0
  10. data/app/components/primer/open_project/side_panel/section.html.erb +29 -0
  11. data/app/components/primer/open_project/side_panel/section.pcss +24 -0
  12. data/app/components/primer/open_project/side_panel/section.rb +65 -0
  13. data/app/components/primer/open_project/side_panel.html.erb +1 -0
  14. data/app/components/primer/open_project/side_panel.rb +48 -0
  15. data/app/components/primer/primer.pcss +1 -0
  16. data/lib/primer/view_components/version.rb +2 -2
  17. data/previews/primer/open_project/side_panel_preview/default.html.erb +40 -0
  18. data/previews/primer/open_project/side_panel_preview/playground.html.erb +25 -0
  19. data/previews/primer/open_project/side_panel_preview/with_component.html.erb +36 -0
  20. data/previews/primer/open_project/side_panel_preview.rb +38 -0
  21. data/static/arguments.json +27 -0
  22. data/static/audited_at.json +2 -0
  23. data/static/classes.json +15 -0
  24. data/static/constants.json +20 -0
  25. data/static/info_arch.json +152 -0
  26. data/static/previews.json +47 -0
  27. data/static/statuses.json +2 -0
  28. metadata +14 -2
data/static/previews.json CHANGED
@@ -6307,6 +6307,53 @@
6307
6307
  }
6308
6308
  ]
6309
6309
  },
6310
+ {
6311
+ "name": "side_panel",
6312
+ "component": "OpenProject::SidePanel",
6313
+ "status": "open_project",
6314
+ "lookup_path": "primer/open_project/side_panel",
6315
+ "examples": [
6316
+ {
6317
+ "preview_path": "primer/open_project/side_panel/playground",
6318
+ "name": "playground",
6319
+ "snapshot": "false",
6320
+ "skip_rules": {
6321
+ "wont_fix": [
6322
+ "region"
6323
+ ],
6324
+ "will_fix": [
6325
+ "color-contrast"
6326
+ ]
6327
+ }
6328
+ },
6329
+ {
6330
+ "preview_path": "primer/open_project/side_panel/default",
6331
+ "name": "default",
6332
+ "snapshot": "true",
6333
+ "skip_rules": {
6334
+ "wont_fix": [
6335
+ "region"
6336
+ ],
6337
+ "will_fix": [
6338
+ "color-contrast"
6339
+ ]
6340
+ }
6341
+ },
6342
+ {
6343
+ "preview_path": "primer/open_project/side_panel/with_component",
6344
+ "name": "with_component",
6345
+ "snapshot": "false",
6346
+ "skip_rules": {
6347
+ "wont_fix": [
6348
+ "region"
6349
+ ],
6350
+ "will_fix": [
6351
+ "color-contrast"
6352
+ ]
6353
+ }
6354
+ }
6355
+ ]
6356
+ },
6310
6357
  {
6311
6358
  "name": "spinner",
6312
6359
  "component": "Spinner",
data/static/statuses.json CHANGED
@@ -123,6 +123,8 @@
123
123
  "Primer::OpenProject::PageHeader": "open_project",
124
124
  "Primer::OpenProject::PageHeader::Dialog": "open_project",
125
125
  "Primer::OpenProject::PageHeader::Menu": "open_project",
126
+ "Primer::OpenProject::SidePanel": "open_project",
127
+ "Primer::OpenProject::SidePanel::Section": "open_project",
126
128
  "Primer::OpenProject::SubHeader": "open_project",
127
129
  "Primer::OpenProject::ZenModeButton": "open_project",
128
130
  "Primer::Tooltip": "deprecated",
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.36.1
4
+ version: 0.37.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-07-09 00:00:00.000000000 Z
12
+ date: 2024-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview
@@ -500,6 +500,14 @@ files:
500
500
  - app/components/primer/open_project/page_header_element.d.ts
501
501
  - app/components/primer/open_project/page_header_element.js
502
502
  - app/components/primer/open_project/page_header_element.ts
503
+ - app/components/primer/open_project/side_panel.html.erb
504
+ - app/components/primer/open_project/side_panel.rb
505
+ - app/components/primer/open_project/side_panel/section.css
506
+ - app/components/primer/open_project/side_panel/section.css.json
507
+ - app/components/primer/open_project/side_panel/section.css.map
508
+ - app/components/primer/open_project/side_panel/section.html.erb
509
+ - app/components/primer/open_project/side_panel/section.pcss
510
+ - app/components/primer/open_project/side_panel/section.rb
503
511
  - app/components/primer/open_project/sub_header.css
504
512
  - app/components/primer/open_project/sub_header.css.json
505
513
  - app/components/primer/open_project/sub_header.css.map
@@ -943,6 +951,10 @@ files:
943
951
  - previews/primer/open_project/page_header_preview.rb
944
952
  - previews/primer/open_project/page_header_preview/actions.html.erb
945
953
  - previews/primer/open_project/page_header_preview/playground.html.erb
954
+ - previews/primer/open_project/side_panel_preview.rb
955
+ - previews/primer/open_project/side_panel_preview/default.html.erb
956
+ - previews/primer/open_project/side_panel_preview/playground.html.erb
957
+ - previews/primer/open_project/side_panel_preview/with_component.html.erb
946
958
  - previews/primer/open_project/sub_header_preview.rb
947
959
  - previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb
948
960
  - previews/primer/open_project/sub_header_preview/bottom_pane.html.erb