openproject-primer_view_components 0.22.1 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
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: e770336457a8f1b429496a1538adff9a185e9e06d3afd64e749fec1d259d73bc
4
- data.tar.gz: 4b84bba50129792151486fda5207a2fd7d2dc8fb200ec34aa8608ebc542aced7
3
+ metadata.gz: 62d58b2b1e99edd2d49360b5f04b5237c0e66de39ff866ac862f0a698840b572
4
+ data.tar.gz: f0fdceb91efa390914590bd67fa9efae4d346b28fcd3cce522889e00e60173eb
5
5
  SHA512:
6
- metadata.gz: ff0f06b17297d6e8c208c74ab95f5b8f009e9e435987949f4f0b1eda782426396f8617c58ba66d08d7c288423df7cc388ebc200962f1063baa4d24212b8e48d1
7
- data.tar.gz: 3baabe23abce3fbdad71edea2210f9639471eb7a2f5017dc20beeac4458eefa1e8bd2d1c37cfed4716f0fbfbaf36edb47b54a533bbff076d98e8a668fd5ea188
6
+ metadata.gz: 2b2a8317d4e2689e3dcf5f60e2960c29e776a5ab1de51f65481ef7aa60b346b8baf326e36af38bb9075fcb8031e1cbe3f84f88bb7468c995773416f464a47604
7
+ data.tar.gz: bfdc884cbdf78fb388cc3762f57ea97441ac381b0ccc46851392b4ca3d6817ebc7cb6029280e7bde8f9fab22f046d1069789c9ed7af6dfaeaa45980aa9eb484d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2607](https://github.com/primer/view_components/pull/2607) [`1cf14e5`](https://github.com/opf/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/opf/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/opf/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/opf/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/opf/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/opf/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/opf/primer_view_components/commit/8c111df3cbd0c8964ab2376c72db2dc72e288de7) Thanks [@lindseywild](https://github.com/lindseywild)! - Update README docs with instructions to preview docs site locally
22
+
23
+ ## 0.22.2
24
+
25
+ ### Patch Changes
26
+
27
+ - [#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
28
+
29
+ - [#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
30
+
31
+ - [#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
32
+
33
+ - [#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
34
+
35
+ - [#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
36
+
3
37
  ## 0.22.1
4
38
 
5
39
  ### Patch Changes