primer_view_components 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -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/item.rb +7 -4
- data/app/components/primer/alpha/action_bar.rb +2 -2
- data/app/components/primer/alpha/action_bar_element.js +2 -2
- data/app/components/primer/alpha/action_bar_element.ts +2 -2
- data/app/components/primer/alpha/action_menu/action_menu_element.js +168 -84
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +204 -79
- data/app/components/primer/alpha/action_menu/list.rb +0 -2
- data/app/components/primer/focus_group.js +28 -3
- data/app/components/primer/focus_group.ts +27 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/action_menu_preview/with_actions.html.erb +5 -4
- data/previews/primer/alpha/action_menu_preview.rb +4 -1
- data/static/arguments.json +12 -1
- data/static/info_arch.json +12 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f48107c8d70bf5013cb17f594e7aacf039b6ee04511de34aba3a1dd536a09cd9
|
4
|
+
data.tar.gz: 7b5774525d9a69246b0aad997cb03ac9c413c10071f8583341ead8ffe0b4188a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 593249fcdf817fd9df568a8aa97ea00fec9e901fbfebdb6411de1d521a11b549e6f91bb0314512e644af86618276197326befaa6f2a227cb84c986c666e3ae8e
|
7
|
+
data.tar.gz: 96c27005ca0e11bb53edc19ab6821b8d54e8137dd24efce0f7340ca88cee67ba1b5ab037d5708c4766390024b68b087890913856645b57dad4fd7b39562d736e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.11.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#2276](https://github.com/primer/view_components/pull/2276) [`7184d76e`](https://github.com/primer/view_components/commit/7184d76edbe94b008158940d15909b1778c9ed8c) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding option item_arguments hash argument to ActionBar::Item that will control the item system arguments
|
8
|
+
|
9
|
+
<!-- Changed components: Primer::Alpha::ActionBar -->
|
10
|
+
|
11
|
+
- [#2259](https://github.com/primer/view_components/pull/2259) [`a2fe6134`](https://github.com/primer/view_components/commit/a2fe61342b2f3527533902d845f5a9d500d6910c) Thanks [@TylerJDev](https://github.com/TylerJDev)! - \* Includes ActionMenu in ActionBar focus trap when present.
|
12
|
+
|
13
|
+
- Adjusts `focus_group.ts` to set `tabindex="0"` back to invoker if it is non-focusable.
|
14
|
+
- Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.
|
15
|
+
|
16
|
+
<!-- Changed components: Primer::Alpha::ActionBar, Primer::Alpha::ActionMenu -->
|
17
|
+
|
18
|
+
### Patch Changes
|
19
|
+
|
20
|
+
- [#2260](https://github.com/primer/view_components/pull/2260) [`b584a6b5`](https://github.com/primer/view_components/commit/b584a6b57e07b4def45bd30e90bf31203e7b7010) Thanks [@camertron](https://github.com/camertron)! - ActionMenu: hide the menu when focus leaves the component; focus the first list item when the menu is activated with the mouse; allow disabling list items while still permitting them to be focused with the keyboard
|
21
|
+
|
22
|
+
<!-- Changed components: Primer::Alpha::ActionMenu -->
|
23
|
+
|
3
24
|
## 0.10.0
|
4
25
|
|
5
26
|
### Minor Changes
|