primer_view_components 0.18.0 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
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: 6e436dd7c45ee9ebfeefdb1eda651a3574787205773088d059a68a0e7957be9f
4
- data.tar.gz: 8041711bf27a83803cea386b2217f69fe6bf29b13ef24bcbe1596ac00a82d38d
3
+ metadata.gz: 574dadf0070e8650f62100430c4473704a9eb821aee3b190899907145c7ca8ff
4
+ data.tar.gz: 4cdfee4224db649ea83a43aa297d1d9038e5be09b30128a624db5a862d68b4d5
5
5
  SHA512:
6
- metadata.gz: 6385caf4ac07b14708cfd9bb9f6cd04bd59a1133e5e29db3817b088b2537c6df9422d6e72ed56f1e429ab4a851781f79a1fd8e55e3b192a1c3e4b87192890a02
7
- data.tar.gz: d68fcfaceb8a0fcb02885112e65a13134d3adb9fbe4be8329a0bf5871eb3be930d9a3cfd91ab34d34b923ff62fcfc5e1b4071b5e0a5ba986e5596057226590d6
6
+ metadata.gz: 8be6873cf444ea992059fc5979f2ca7513143cf60de29198825901f1a1272f2bad47792a444b896d723bd11195c141d01edad4db9f1b69247924ecd0ae5d3957
7
+ data.tar.gz: 695b0fdc4960ffd3592458c4372192635a6a3276182b1c34e97d48ad79edbdb9ac4ecac65286b51827fe4a1f601980e6c2f1b618cabd1a496215aff90af8f93a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.18.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2577](https://github.com/primer/view_components/pull/2577) [`6a3071d`](https://github.com/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/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/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/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/primer/view_components/commit/61240988a7e7f0f76a8df1cc361ef6facf240ab7) Thanks [@khiga8](https://github.com/khiga8)! - Bug: Remove dismissable flash stealing focus
16
+
17
+ ## 0.18.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [#2554](https://github.com/primer/view_components/pull/2554) [`652e795`](https://github.com/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/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.18.0
4
26
 
5
27
  ### Minor Changes