openproject-primer_view_components 0.29.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/app/assets/javascripts/app/components/primer/open_project/page_header_element.d.ts +0 -2
  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_list/form_wrapper.rb +5 -0
  9. data/app/components/primer/alpha/button_marketing.rb +2 -0
  10. data/app/components/primer/alpha/dialog/header.html.erb +3 -0
  11. data/app/components/primer/alpha/dialog/header.rb +26 -0
  12. data/app/components/primer/alpha/overlay/header.html.erb +3 -1
  13. data/app/components/primer/alpha/overlay/header.rb +15 -0
  14. data/app/components/primer/alpha/tab_nav.css +1 -1
  15. data/app/components/primer/alpha/tab_nav.css.json +2 -0
  16. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  17. data/app/components/primer/alpha/tab_nav.pcss +10 -0
  18. data/app/components/primer/alpha/tab_panels.html.erb +5 -9
  19. data/app/components/primer/alpha/tab_panels.rb +4 -13
  20. data/app/components/primer/alpha/underline_nav.css +1 -1
  21. data/app/components/primer/alpha/underline_nav.css.json +2 -0
  22. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  23. data/app/components/primer/alpha/underline_nav.pcss +7 -1
  24. data/app/components/primer/alpha/underline_panels.css +1 -0
  25. data/app/components/primer/alpha/underline_panels.css.json +6 -0
  26. data/app/components/primer/alpha/underline_panels.css.map +1 -0
  27. data/app/components/primer/alpha/underline_panels.html.erb +6 -8
  28. data/app/components/primer/alpha/underline_panels.pcss +4 -0
  29. data/app/components/primer/alpha/underline_panels.rb +6 -14
  30. data/app/components/primer/anchored_position.js +2 -0
  31. data/app/components/primer/anchored_position.ts +2 -0
  32. data/app/components/primer/beta/button.css +1 -1
  33. data/app/components/primer/beta/button.css.map +1 -1
  34. data/app/components/primer/beta/button.html.erb +6 -1
  35. data/app/components/primer/beta/button.pcss +1 -0
  36. data/app/components/primer/beta/button.rb +9 -1
  37. data/app/components/primer/open_project/page_header.css +1 -1
  38. data/app/components/primer/open_project/page_header.css.json +0 -1
  39. data/app/components/primer/open_project/page_header.css.map +1 -1
  40. data/app/components/primer/open_project/page_header.html.erb +2 -0
  41. data/app/components/primer/open_project/page_header.pcss +0 -10
  42. data/app/components/primer/open_project/page_header.rb +53 -36
  43. data/app/components/primer/open_project/page_header_element.d.ts +0 -2
  44. data/app/components/primer/open_project/page_header_element.js +1 -16
  45. data/app/components/primer/open_project/page_header_element.ts +1 -16
  46. data/app/components/primer/open_project/zen_mode_button.html.erb +1 -0
  47. data/app/components/primer/open_project/zen_mode_button.rb +2 -0
  48. data/app/components/primer/primer.pcss +1 -0
  49. data/lib/primer/view_components/version.rb +1 -1
  50. data/previews/primer/alpha/button_marketing_preview.rb +15 -3
  51. data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
  52. data/previews/primer/alpha/dialog_preview.rb +4 -0
  53. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
  54. data/previews/primer/alpha/overlay_preview.rb +15 -0
  55. data/previews/primer/beta/button_group_preview.rb +3 -7
  56. data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
  57. data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
  58. data/previews/primer/beta/button_preview.rb +42 -12
  59. data/previews/primer/open_project/page_header_preview.rb +15 -0
  60. data/static/arguments.json +0 -12
  61. data/static/classes.json +0 -3
  62. data/static/constants.json +1 -1
  63. data/static/info_arch.json +131 -17
  64. data/static/previews.json +93 -2
  65. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4acd2b38d2b08cd49e71d60df55aa4e350c0ca0672de310381dc316165ff9610
4
- data.tar.gz: 54696d53d4acbc62de7ebcf67bdec34e3604f737725085b666cc5ee5a6ffd658
3
+ metadata.gz: 5cebbb8304e5f4e7b844b7ed3cdef92df7539654fcdfafc720ede59f612652ec
4
+ data.tar.gz: 8c32acf76573bb667665819bc7608d586d5150008c44de01a148582433873464
5
5
  SHA512:
6
- metadata.gz: b3d03e3c4f6b302615dc898cae70bae0151c64ed0dcf40a6f4425899faada238e691887c64e2459d07816981f7d7c3dfb7d94a16db3b7ee9ad9ab7bba9360fd7
7
- data.tar.gz: af7749a29a214e2173e0d2a268b87e94fcb912bad55440b2c6071fb9a72694bc6624180b73713c34d5f0e34d5f8ef7b93dcf06fa16cb0106997a2f6f7004deb8
6
+ metadata.gz: c78bf016cb50cad5e25a41d996324d44307fdfa080b7947cd22eb7224a1e93e9dd7b387bcca595709ecfd71e693a396f534a60e700c0110353b9fd3649a3ff6d
7
+ data.tar.gz: 4298e8347974a18a568746dda5f6ab760d24eec1fc6609473a0f2d3ee521aa0d51e142b6bff790b7836fa72b633fd134d7a932a882bf54c685ea4e3a2513fd89
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
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
+
29
+ ## 0.29.1
30
+
31
+ ### Patch Changes
32
+
33
+ - [#108](https://github.com/opf/primer_view_components/pull/108) [`22cf2ef`](https://github.com/opf/primer_view_components/commit/22cf2ef963b2d0dd2a738b8019cb195067784f65) Thanks [@HDinger](https://github.com/HDinger)! - Show single actions of Primer::OpenProject::PageHeader in a smaller variant on mobile
34
+
3
35
  ## 0.29.0
4
36
 
5
37
  ### Minor Changes
@@ -1,6 +1,4 @@
1
1
  declare class PageHeaderElement extends HTMLElement {
2
- actionItems: HTMLElement[];
3
- connectedCallback(): void;
4
2
  menuItemClick(event: Event): void;
5
3
  }
6
4
  declare global {