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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/components/primer/alpha/action_bar_element.js +12 -4
- data/app/components/primer/alpha/action_bar_element.ts +10 -4
- data/app/components/primer/alpha/action_menu/action_menu_element.js +4 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +4 -1
- data/app/components/primer/alpha/banner.html.erb +1 -2
- data/app/components/primer/alpha/banner.rb +7 -0
- data/app/components/primer/alpha/dialog.rb +0 -1
- data/app/components/primer/alpha/modal_dialog.js +3 -0
- data/app/components/primer/alpha/modal_dialog.ts +3 -0
- data/app/components/primer/alpha/toggle_switch.js +2 -2
- data/app/components/primer/alpha/toggle_switch.ts +2 -2
- data/app/components/primer/alpha/tool_tip.js +1 -0
- data/app/components/primer/alpha/tool_tip.ts +1 -0
- data/app/components/primer/beta/clipboard_copy.ts +1 -1
- data/app/components/primer/beta/nav_list.js +2 -0
- data/app/components/primer/beta/nav_list.ts +2 -0
- data/app/components/primer/dialog_helper.js +38 -7
- data/app/components/primer/dialog_helper.ts +42 -7
- data/app/components/primer/focus_group.ts +1 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb +20 -0
- data/previews/primer/alpha/dialog_preview/nested_dialog.html.erb +7 -0
- data/previews/primer/alpha/dialog_preview.rb +24 -0
- data/static/info_arch.json +14 -1
- data/static/previews.json +13 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64e489f704132668627d34d23cb08e88be8ec0441622c15a9c7af06019277afd
|
4
|
+
data.tar.gz: '0479bac08de802445f16f2b4f6189c88b42052fec606a165268ff4200a24a37d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|