primer_view_components 0.18.1 → 0.19.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 +34 -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_bar_element.js +16 -10
  8. data/app/components/primer/alpha/action_bar_element.ts +10 -4
  9. data/app/components/primer/alpha/action_menu/action_menu_element.js +16 -20
  10. data/app/components/primer/alpha/action_menu/action_menu_element.ts +4 -1
  11. data/app/components/primer/alpha/banner.html.erb +1 -2
  12. data/app/components/primer/alpha/banner.rb +21 -0
  13. data/app/components/primer/alpha/dialog.rb +0 -1
  14. data/app/components/primer/alpha/modal_dialog.js +11 -10
  15. data/app/components/primer/alpha/modal_dialog.ts +3 -0
  16. data/app/components/primer/alpha/segmented_control.js +2 -3
  17. data/app/components/primer/alpha/toggle_switch.js +2 -2
  18. data/app/components/primer/alpha/toggle_switch.ts +2 -2
  19. data/app/components/primer/alpha/tool_tip.js +6 -7
  20. data/app/components/primer/alpha/tool_tip.ts +1 -0
  21. data/app/components/primer/beta/button.css +1 -1
  22. data/app/components/primer/beta/button.css.json +0 -1
  23. data/app/components/primer/beta/button.css.map +1 -1
  24. data/app/components/primer/beta/button.pcss +1 -5
  25. data/app/components/primer/beta/button_group.rb +53 -1
  26. data/app/components/primer/beta/clipboard_copy.ts +1 -1
  27. data/app/components/primer/beta/flash.rb +3 -1
  28. data/app/components/primer/beta/nav_list.js +8 -10
  29. data/app/components/primer/beta/nav_list.ts +2 -0
  30. data/app/components/primer/beta/nav_list_group_element.js +2 -3
  31. data/app/components/primer/dialog_helper.js +39 -20
  32. data/app/components/primer/dialog_helper.ts +40 -14
  33. data/app/components/primer/focus_group.js +9 -12
  34. data/app/components/primer/focus_group.ts +1 -1
  35. data/lib/primer/deprecations.yml +5 -0
  36. data/lib/primer/forms/primer_multi_input.js +2 -3
  37. data/lib/primer/forms/primer_text_field.js +2 -4
  38. data/lib/primer/view_components/version.rb +2 -2
  39. data/previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb +13 -2
  40. data/previews/primer/alpha/dialog_preview.rb +1 -0
  41. data/previews/primer/beta/button_group_preview/with_menu_button.html.erb +7 -0
  42. data/previews/primer/beta/button_group_preview.rb +6 -0
  43. data/static/arguments.json +23 -1
  44. data/static/audited_at.json +1 -0
  45. data/static/constants.json +3 -0
  46. data/static/info_arch.json +69 -5
  47. data/static/previews.json +15 -2
  48. data/static/statuses.json +2 -1
  49. metadata +4 -4
  50. data/previews/primer/beta/button_group_preview/action_menus.html.erb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 820629de574883a742c3f2609239f41365cae68f0888b869533894d21c16e1ff
4
- data.tar.gz: d40dcb33665e8d891740550aaca381f7197440103ea1f94de522cad0a60e5580
3
+ metadata.gz: abc35352b001e92e0b94cbab1e48c8a99fa49ae888ea4820f0be551cee3462b8
4
+ data.tar.gz: 6be3193a81e8d5568cb966903d95badfbfae93a86367343d080e453adc3ed1c5
5
5
  SHA512:
6
- metadata.gz: aa64eff2c2374ba3b2223c02f9724ff34ea23d2fd068355afc7c9e2a38e9bda3dc5b983d9fccbe87e3a43b558ebf711b62fceb4c9301d1115c6a0e950db8ac97
7
- data.tar.gz: 79cb7ae4b61f8580fbf07612f800b3e2eae8cc42b627ac2b4b41e8409c96513dd08d378d2c38b9b7fcad97018c77a2b574e0df2e7789a28f91bead519e1df031
6
+ metadata.gz: 5a68ec0b19edcaa3fdb92c8c3f94882f944cd6479c43db896de93a20f7341f31f496476e08b7e3a075882fb7afc1eb6f5c5bfe5b0717ce2efe6128100ba35781
7
+ data.tar.gz: 9aa9117b1ab51178f39d401f7ff9330e9b3b0259598e92c7bf25575fd21ae11e5128aaed1687155038c1c91f834d8db9051ec98104e1212de37bca0c9e9225be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2607](https://github.com/primer/view_components/pull/2607) [`1cf14e5`](https://github.com/primer/view_components/commit/1cf14e5034b7461663a982a80c6756f09f4fa968) Thanks [@camertron](https://github.com/camertron)! - Add ability to attach action menus to button group buttons
8
+
9
+ - [#2626](https://github.com/primer/view_components/pull/2626) [`1160edf`](https://github.com/primer/view_components/commit/1160edf76c72de4cc71f7b4ed435ebd336feb854) Thanks [@camertron](https://github.com/camertron)! - Upgrade to view_component v3.11.0
10
+
11
+ - [#2640](https://github.com/primer/view_components/pull/2640) [`56b2413`](https://github.com/primer/view_components/commit/56b24139e7b58a337cf98203cf7a765adfd20414) Thanks [@khiga8](https://github.com/khiga8)! - Mark `Flash` as deprecated
12
+
13
+ - [#2604](https://github.com/primer/view_components/pull/2604) [`8d67631`](https://github.com/primer/view_components/commit/8d67631298b6bbef8efb9acb2ced412253fe0d26) Thanks [@mattcosta7](https://github.com/mattcosta7)! - update tsconfig compile target
14
+
15
+ ### Patch Changes
16
+
17
+ - [#2628](https://github.com/primer/view_components/pull/2628) [`5619810`](https://github.com/primer/view_components/commit/56198108dfb38c1a2a2b52e6798bbbd3ba143090) Thanks [@langermank](https://github.com/langermank)! - Primitives v8 bug fix: `invisible` button hover state in high contrast themes
18
+
19
+ - [#2620](https://github.com/primer/view_components/pull/2620) [`59c3396`](https://github.com/primer/view_components/commit/59c3396d4676947ffe98022dc8f7752eecf82cd0) Thanks [@khiga8](https://github.com/khiga8)! - Docs: update accessibility section of PVC Banner
20
+
21
+ - [#2611](https://github.com/primer/view_components/pull/2611) [`8c111df`](https://github.com/primer/view_components/commit/8c111df3cbd0c8964ab2376c72db2dc72e288de7) Thanks [@lindseywild](https://github.com/lindseywild)! - Update README docs with instructions to preview docs site locally
22
+
23
+ ## 0.18.2
24
+
25
+ ### Patch Changes
26
+
27
+ - [#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
28
+
29
+ - [#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
30
+
31
+ - [#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
32
+
33
+ - [#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
34
+
35
+ - [#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
36
+
3
37
  ## 0.18.1
4
38
 
5
39
  ### Patch Changes