openproject-primer_view_components 0.29.1 → 0.30.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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/app/assets/javascripts/primer_view_components.js +1 -1
  4. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  5. data/app/assets/styles/primer_view_components.css +1 -1
  6. data/app/assets/styles/primer_view_components.css.map +1 -1
  7. data/app/components/primer/alpha/action_list/form_wrapper.rb +5 -0
  8. data/app/components/primer/alpha/button_marketing.rb +2 -0
  9. data/app/components/primer/alpha/dialog/header.html.erb +3 -0
  10. data/app/components/primer/alpha/dialog/header.rb +26 -0
  11. data/app/components/primer/alpha/overlay/header.html.erb +3 -1
  12. data/app/components/primer/alpha/overlay/header.rb +15 -0
  13. data/app/components/primer/alpha/tab_nav.css +1 -1
  14. data/app/components/primer/alpha/tab_nav.css.json +2 -0
  15. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  16. data/app/components/primer/alpha/tab_nav.pcss +10 -0
  17. data/app/components/primer/alpha/tab_panels.html.erb +5 -9
  18. data/app/components/primer/alpha/tab_panels.rb +4 -13
  19. data/app/components/primer/alpha/underline_nav.css +1 -1
  20. data/app/components/primer/alpha/underline_nav.css.json +2 -0
  21. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  22. data/app/components/primer/alpha/underline_nav.pcss +7 -1
  23. data/app/components/primer/alpha/underline_panels.css +1 -0
  24. data/app/components/primer/alpha/underline_panels.css.json +6 -0
  25. data/app/components/primer/alpha/underline_panels.css.map +1 -0
  26. data/app/components/primer/alpha/underline_panels.html.erb +6 -8
  27. data/app/components/primer/alpha/underline_panels.pcss +4 -0
  28. data/app/components/primer/alpha/underline_panels.rb +6 -14
  29. data/app/components/primer/anchored_position.js +2 -0
  30. data/app/components/primer/anchored_position.ts +2 -0
  31. data/app/components/primer/beta/button.css +1 -1
  32. data/app/components/primer/beta/button.css.map +1 -1
  33. data/app/components/primer/beta/button.html.erb +6 -1
  34. data/app/components/primer/beta/button.pcss +1 -0
  35. data/app/components/primer/beta/button.rb +9 -1
  36. data/app/components/primer/primer.pcss +1 -0
  37. data/lib/primer/view_components/version.rb +2 -2
  38. data/previews/primer/alpha/button_marketing_preview.rb +15 -3
  39. data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
  40. data/previews/primer/alpha/dialog_preview.rb +4 -0
  41. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
  42. data/previews/primer/alpha/overlay_preview.rb +15 -0
  43. data/previews/primer/beta/button_group_preview.rb +3 -7
  44. data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
  45. data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
  46. data/previews/primer/beta/button_preview.rb +42 -12
  47. data/static/arguments.json +0 -12
  48. data/static/info_arch.json +118 -17
  49. data/static/previews.json +80 -2
  50. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d11575bdf567795b310d1ef73fe7451149b6116440aadf61fbba69caa3fdf11
4
- data.tar.gz: 2260f6c43d1e4468963589d211540f5054d41936c90bd6604bcf5bba4118cdaa
3
+ metadata.gz: 5cebbb8304e5f4e7b844b7ed3cdef92df7539654fcdfafc720ede59f612652ec
4
+ data.tar.gz: 8c32acf76573bb667665819bc7608d586d5150008c44de01a148582433873464
5
5
  SHA512:
6
- metadata.gz: 648ea84621362fff5ae46deca70031aa067d4ab0e8c141e6bc63df32f4bdcc1252e5f7c97848ae46054d3fa504d979cadd8aa6713650c401c3d423424b77490c
7
- data.tar.gz: 17758bda475abcdc355f9bac4ebbba0092568d74c8ede975a107cb2c1015fde83ef73d07b4b4c82456c28c5b1b894de33f73e1aa6a46e050ad28f435eb7245e4
6
+ metadata.gz: c78bf016cb50cad5e25a41d996324d44307fdfa080b7947cd22eb7224a1e93e9dd7b387bcca595709ecfd71e693a396f534a60e700c0110353b9fd3649a3ff6d
7
+ data.tar.gz: 4298e8347974a18a568746dda5f6ab760d24eec1fc6609473a0f2d3ee521aa0d51e142b6bff790b7836fa72b633fd134d7a932a882bf54c685ea4e3a2513fd89
data/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.30.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2624](https://github.com/primer/view_components/pull/2624) [`8600b3b`](https://github.com/opf/primer_view_components/commit/8600b3bd96d5b425fa34e0434c5aeb3223fd66c8) Thanks [@keithamus](https://github.com/keithamus)! - Upgrade @github/tab-container, using shadowdom
8
+
9
+ - [#2808](https://github.com/primer/view_components/pull/2808) [`bdb3d88`](https://github.com/opf/primer_view_components/commit/bdb3d88595dedc93ad20e55a68d34ba1899e8fac) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds a subtitle slot to the Primer::Alpha::Overlay::Header and Primer::Alpha::Dialog::Header
10
+
11
+ - [#2804](https://github.com/primer/view_components/pull/2804) [`757635a`](https://github.com/opf/primer_view_components/commit/757635a902c0986da60d94daa3799bd59ad1e697) Thanks [@camertron](https://github.com/camertron)! - Add a filter slot to the dialog header
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2807](https://github.com/primer/view_components/pull/2807) [`1863522`](https://github.com/opf/primer_view_components/commit/186352212178c66b651852ab6517213869927eae) Thanks [@khiga8](https://github.com/khiga8)! - Add parenthesis to trailing counter for React parity, and to improve screen reader speech output
16
+
17
+ - [#2794](https://github.com/primer/view_components/pull/2794) [`1d0ecc5`](https://github.com/opf/primer_view_components/commit/1d0ecc5fe4cd738809fc67e9ee43cecf69b2899c) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix: Re-calculate anchored-position on scroll
18
+
19
+ - [#2821](https://github.com/primer/view_components/pull/2821) [`19f4d7e`](https://github.com/opf/primer_view_components/commit/19f4d7e2068aa8c0fee5da9c15850c1afb9238cb) Thanks [@khiga8](https://github.com/khiga8)! - Add min-width
20
+
21
+ - [#2803](https://github.com/primer/view_components/pull/2803) [`d81824c`](https://github.com/opf/primer_view_components/commit/d81824c43eea2c313b3c024dfc2d4adcb5b51fd0) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds data attribute to overlay header
22
+
23
+ - [#2822](https://github.com/primer/view_components/pull/2822) [`11aa0e9`](https://github.com/opf/primer_view_components/commit/11aa0e92034ceac4fe3b9042be31102723b85b8a) Thanks [@smockle](https://github.com/smockle)! - Fix NVDA menu item counts that are broken by using '<form>' inside an 'ActionMenu'.
24
+
25
+ - [#2828](https://github.com/primer/view_components/pull/2828) [`9ca87d3`](https://github.com/opf/primer_view_components/commit/9ca87d39e4bcff1753a116e829ea336425e161d1) Thanks [@camertron](https://github.com/camertron)! - Fix issue with ActionMenu form items which would prevent a wrapping form if form_arguments: was passed
26
+
27
+ - [#2802](https://github.com/primer/view_components/pull/2802) [`2906d96`](https://github.com/opf/primer_view_components/commit/2906d96e0780dd5795800cfd29ede076c1e4bcd5) Thanks [@lindseywild](https://github.com/lindseywild)! - Updates Button and ButtonMarketing docs with markup requirements
28
+
3
29
  ## 0.29.1
4
30
 
5
31
  ### Patch Changes