openproject-primer_view_components 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/app/assets/javascripts/app/components/primer/primer.d.ts +0 -1
  4. data/app/assets/javascripts/primer_view_components.js +1 -1
  5. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  6. data/app/assets/styles/primer_view_components.css +1 -1
  7. data/app/assets/styles/primer_view_components.css.map +1 -1
  8. data/app/components/primer/alpha/action_bar_element.js +2 -0
  9. data/app/components/primer/alpha/action_bar_element.ts +2 -0
  10. data/app/components/primer/alpha/action_menu/action_menu_element.js +20 -3
  11. data/app/components/primer/alpha/action_menu/action_menu_element.ts +27 -1
  12. data/app/components/primer/alpha/overlay.css +1 -1
  13. data/app/components/primer/alpha/overlay.css.json +0 -1
  14. data/app/components/primer/alpha/overlay.css.map +1 -1
  15. data/app/components/primer/alpha/overlay.pcss +0 -12
  16. data/app/components/primer/alpha/tool_tip.js +76 -3
  17. data/app/components/primer/alpha/tool_tip.ts +76 -3
  18. data/app/components/primer/open_project/page_header.css +1 -1
  19. data/app/components/primer/open_project/page_header.css.json +4 -1
  20. data/app/components/primer/open_project/page_header.css.map +1 -1
  21. data/app/components/primer/open_project/page_header.html.erb +6 -2
  22. data/app/components/primer/open_project/page_header.pcss +19 -6
  23. data/app/components/primer/open_project/page_header.rb +70 -0
  24. data/app/components/primer/primer.d.ts +0 -1
  25. data/app/components/primer/primer.js +0 -1
  26. data/app/components/primer/primer.pcss +0 -2
  27. data/app/components/primer/primer.ts +0 -1
  28. data/lib/primer/accessibility.rb +1 -3
  29. data/lib/primer/static/generate_info_arch.rb +6 -1
  30. data/lib/primer/view_components/version.rb +1 -1
  31. data/previews/primer/alpha/check_box_preview.rb +0 -3
  32. data/previews/primer/alpha/dialog_preview/with_text_input.html.erb +2 -1
  33. data/previews/primer/alpha/radio_button_preview.rb +0 -3
  34. data/previews/primer/open_project/page_header_preview.rb +39 -1
  35. data/static/classes.json +9 -0
  36. data/static/constants.json +12 -0
  37. data/static/info_arch.json +243 -8
  38. data/static/previews.json +198 -0
  39. metadata +2 -2
data/static/previews.json CHANGED
@@ -2358,6 +2358,92 @@
2358
2358
  }
2359
2359
  ]
2360
2360
  },
2361
+ {
2362
+ "name": "check_box",
2363
+ "component": "CheckBox",
2364
+ "status": "alpha",
2365
+ "lookup_path": "primer/alpha/check_box",
2366
+ "examples": [
2367
+ {
2368
+ "preview_path": "primer/alpha/check_box/playground",
2369
+ "name": "playground",
2370
+ "snapshot": "false",
2371
+ "skip_rules": {
2372
+ "wont_fix": [
2373
+ "region"
2374
+ ],
2375
+ "will_fix": [
2376
+ "color-contrast"
2377
+ ]
2378
+ }
2379
+ },
2380
+ {
2381
+ "preview_path": "primer/alpha/check_box/default",
2382
+ "name": "default",
2383
+ "snapshot": "false",
2384
+ "skip_rules": {
2385
+ "wont_fix": [
2386
+ "region"
2387
+ ],
2388
+ "will_fix": [
2389
+ "color-contrast"
2390
+ ]
2391
+ }
2392
+ },
2393
+ {
2394
+ "preview_path": "primer/alpha/check_box/with_caption",
2395
+ "name": "with_caption",
2396
+ "snapshot": "true",
2397
+ "skip_rules": {
2398
+ "wont_fix": [
2399
+ "region"
2400
+ ],
2401
+ "will_fix": [
2402
+ "color-contrast"
2403
+ ]
2404
+ }
2405
+ },
2406
+ {
2407
+ "preview_path": "primer/alpha/check_box/checked",
2408
+ "name": "checked",
2409
+ "snapshot": "false",
2410
+ "skip_rules": {
2411
+ "wont_fix": [
2412
+ "region"
2413
+ ],
2414
+ "will_fix": [
2415
+ "color-contrast"
2416
+ ]
2417
+ }
2418
+ },
2419
+ {
2420
+ "preview_path": "primer/alpha/check_box/visually_hide_label",
2421
+ "name": "visually_hide_label",
2422
+ "snapshot": "false",
2423
+ "skip_rules": {
2424
+ "wont_fix": [
2425
+ "region"
2426
+ ],
2427
+ "will_fix": [
2428
+ "color-contrast"
2429
+ ]
2430
+ }
2431
+ },
2432
+ {
2433
+ "preview_path": "primer/alpha/check_box/disabled",
2434
+ "name": "disabled",
2435
+ "snapshot": "false",
2436
+ "skip_rules": {
2437
+ "wont_fix": [
2438
+ "region"
2439
+ ],
2440
+ "will_fix": [
2441
+ "color-contrast"
2442
+ ]
2443
+ }
2444
+ }
2445
+ ]
2446
+ },
2361
2447
  {
2362
2448
  "name": "check_box_group",
2363
2449
  "component": "CheckBoxGroup",
@@ -4669,6 +4755,32 @@
4669
4755
  "color-contrast"
4670
4756
  ]
4671
4757
  }
4758
+ },
4759
+ {
4760
+ "preview_path": "primer/open_project/page_header/back_button",
4761
+ "name": "back_button",
4762
+ "snapshot": "false",
4763
+ "skip_rules": {
4764
+ "wont_fix": [
4765
+ "region"
4766
+ ],
4767
+ "will_fix": [
4768
+ "color-contrast"
4769
+ ]
4770
+ }
4771
+ },
4772
+ {
4773
+ "preview_path": "primer/open_project/page_header/breadcrumbs",
4774
+ "name": "breadcrumbs",
4775
+ "snapshot": "false",
4776
+ "skip_rules": {
4777
+ "wont_fix": [
4778
+ "region"
4779
+ ],
4780
+ "will_fix": [
4781
+ "color-contrast"
4782
+ ]
4783
+ }
4672
4784
  }
4673
4785
  ]
4674
4786
  },
@@ -4844,6 +4956,92 @@
4844
4956
  }
4845
4957
  ]
4846
4958
  },
4959
+ {
4960
+ "name": "radio_button",
4961
+ "component": "RadioButton",
4962
+ "status": "alpha",
4963
+ "lookup_path": "primer/alpha/radio_button",
4964
+ "examples": [
4965
+ {
4966
+ "preview_path": "primer/alpha/radio_button/playground",
4967
+ "name": "playground",
4968
+ "snapshot": "false",
4969
+ "skip_rules": {
4970
+ "wont_fix": [
4971
+ "region"
4972
+ ],
4973
+ "will_fix": [
4974
+ "color-contrast"
4975
+ ]
4976
+ }
4977
+ },
4978
+ {
4979
+ "preview_path": "primer/alpha/radio_button/default",
4980
+ "name": "default",
4981
+ "snapshot": "true",
4982
+ "skip_rules": {
4983
+ "wont_fix": [
4984
+ "region"
4985
+ ],
4986
+ "will_fix": [
4987
+ "color-contrast"
4988
+ ]
4989
+ }
4990
+ },
4991
+ {
4992
+ "preview_path": "primer/alpha/radio_button/with_caption",
4993
+ "name": "with_caption",
4994
+ "snapshot": "true",
4995
+ "skip_rules": {
4996
+ "wont_fix": [
4997
+ "region"
4998
+ ],
4999
+ "will_fix": [
5000
+ "color-contrast"
5001
+ ]
5002
+ }
5003
+ },
5004
+ {
5005
+ "preview_path": "primer/alpha/radio_button/checked",
5006
+ "name": "checked",
5007
+ "snapshot": "true",
5008
+ "skip_rules": {
5009
+ "wont_fix": [
5010
+ "region"
5011
+ ],
5012
+ "will_fix": [
5013
+ "color-contrast"
5014
+ ]
5015
+ }
5016
+ },
5017
+ {
5018
+ "preview_path": "primer/alpha/radio_button/visually_hide_label",
5019
+ "name": "visually_hide_label",
5020
+ "snapshot": "true",
5021
+ "skip_rules": {
5022
+ "wont_fix": [
5023
+ "region"
5024
+ ],
5025
+ "will_fix": [
5026
+ "color-contrast"
5027
+ ]
5028
+ }
5029
+ },
5030
+ {
5031
+ "preview_path": "primer/alpha/radio_button/disabled",
5032
+ "name": "disabled",
5033
+ "snapshot": "true",
5034
+ "skip_rules": {
5035
+ "wont_fix": [
5036
+ "region"
5037
+ ],
5038
+ "will_fix": [
5039
+ "color-contrast"
5040
+ ]
5041
+ }
5042
+ }
5043
+ ]
5044
+ },
4847
5045
  {
4848
5046
  "name": "radio_button_group",
4849
5047
  "component": "RadioButtonGroup",
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.13.0
4
+ version: 0.14.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: 2023-10-20 00:00:00.000000000 Z
12
+ date: 2023-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview