openproject-primer_view_components 0.22.0 → 0.22.2

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -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/components/primer/alpha/action_bar_element.js +12 -4
  6. data/app/components/primer/alpha/action_bar_element.ts +10 -4
  7. data/app/components/primer/alpha/action_menu/action_menu_element.js +4 -1
  8. data/app/components/primer/alpha/action_menu/action_menu_element.ts +4 -1
  9. data/app/components/primer/alpha/banner.html.erb +1 -2
  10. data/app/components/primer/alpha/banner.rb +7 -0
  11. data/app/components/primer/alpha/dialog.rb +0 -1
  12. data/app/components/primer/alpha/modal_dialog.js +3 -0
  13. data/app/components/primer/alpha/modal_dialog.ts +3 -0
  14. data/app/components/primer/alpha/toggle_switch.js +2 -2
  15. data/app/components/primer/alpha/toggle_switch.ts +2 -2
  16. data/app/components/primer/alpha/tool_tip.js +1 -0
  17. data/app/components/primer/alpha/tool_tip.ts +1 -0
  18. data/app/components/primer/beta/clipboard_copy.ts +1 -1
  19. data/app/components/primer/beta/nav_list.js +2 -0
  20. data/app/components/primer/beta/nav_list.ts +2 -0
  21. data/app/components/primer/dialog_helper.js +38 -7
  22. data/app/components/primer/dialog_helper.ts +42 -7
  23. data/app/components/primer/focus_group.ts +1 -1
  24. data/lib/primer/view_components/version.rb +1 -1
  25. data/previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb +20 -0
  26. data/previews/primer/alpha/dialog_preview/nested_dialog.html.erb +7 -0
  27. data/previews/primer/alpha/dialog_preview.rb +24 -0
  28. data/static/info_arch.json +14 -1
  29. data/static/previews.json +13 -0
  30. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 168d7a249e667c91c199f7ff2fc10b72265c7219994c870d87c003148667213b
4
- data.tar.gz: a0fa0563181d7e0e1d6ec9ef8e65c10cd83b3505391cbeb8e79ac8c60cae132d
3
+ metadata.gz: 64e489f704132668627d34d23cb08e88be8ec0441622c15a9c7af06019277afd
4
+ data.tar.gz: '0479bac08de802445f16f2b4f6189c88b42052fec606a165268ff4200a24a37d'
5
5
  SHA512:
6
- metadata.gz: 00c2cde94cf2a8486396326edfdfb6ff7b679f60d4d784bc8a79c2a35e986cfe8984d4dbbabae2871550f84333c61248412f47c006d9f166f494814e7d044314
7
- data.tar.gz: 183d161491bba006b78d456bca13b66f137e893e1e4c495cf2f0ea798a40dbb136506bcb10a6ad8c6bd84a4fe1d245609f7317afe2bcd8f8acf39ec6a7d0f198
6
+ metadata.gz: 31e14691e03e21927acc1d645928e714aeec91d54f2fc23ce806572e2b06ab7e083224dc1b953814fb2f129247d21d9c0a31dde54e848492efcc6c9d436db527
7
+ data.tar.gz: db91537a7159b57b3c8d72a55a12c9243419da81071510a3987e75e51b68f7b9a1bcaa05fd5ce700b83a40b6e0a8218fd462279f552dc37a1eccc8b00afc7a05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.22.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2577](https://github.com/primer/view_components/pull/2577) [`6a3071d`](https://github.com/opf/primer_view_components/commit/6a3071d6adc1135576156df9bc48fd99d23c0153) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds documentation for the Rails Banner and focus management guidance
8
+
9
+ - [#2579](https://github.com/primer/view_components/pull/2579) [`c195fc5`](https://github.com/opf/primer_view_components/commit/c195fc51dc373b86f8f8461a52562d18797c363c) Thanks [@keithamus](https://github.com/keithamus)! - Remove aria-disabled from dialogs
10
+
11
+ - [#2556](https://github.com/primer/view_components/pull/2556) [`077cb08`](https://github.com/opf/primer_view_components/commit/077cb08fe4f7ef5c8e512879bd2847d90f74dea4) Thanks [@keithamus](https://github.com/keithamus)! - Fix issue with layering of nested overlays/dialogs
12
+
13
+ - [#2557](https://github.com/primer/view_components/pull/2557) [`77e59ee`](https://github.com/opf/primer_view_components/commit/77e59ee8af781711026c7785ef58c300561c6e7d) Thanks [@keithamus](https://github.com/keithamus)! - Fix potential out-of-bounds error in ActionBar
14
+
15
+ - [#2585](https://github.com/primer/view_components/pull/2585) [`6124098`](https://github.com/opf/primer_view_components/commit/61240988a7e7f0f76a8df1cc361ef6facf240ab7) Thanks [@khiga8](https://github.com/khiga8)! - Bug: Remove dismissable flash stealing focus
16
+
17
+ ## 0.22.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [#2554](https://github.com/primer/view_components/pull/2554) [`652e795`](https://github.com/opf/primer_view_components/commit/652e7957c59ddc5d05af9c9bc797a917d01cf453) Thanks [@keithamus](https://github.com/keithamus)! - Ensure Overlays that open dialogs do not close when the Dialog opens
22
+
23
+ - [#2553](https://github.com/primer/view_components/pull/2553) [`1ca2f17`](https://github.com/opf/primer_view_components/commit/1ca2f1790a5fb95069f85936d6cb1deafad782fd) Thanks [@keithamus](https://github.com/keithamus)! - Ensure only direct clicks to the dialog can close it
24
+
3
25
  ## 0.22.0
4
26
 
5
27
  ### Minor Changes