diff --git a/.changeset/cuddly-stingrays-camp.md b/.changeset/cuddly-stingrays-camp.md deleted file mode 100644 index 02a6732804..0000000000 --- a/.changeset/cuddly-stingrays-camp.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/view-components': minor ---- - -Adding option item_arguments hash argument to ActionBar::Item that will control the item system arguments - - diff --git a/.changeset/sour-colts-prove.md b/.changeset/sour-colts-prove.md deleted file mode 100644 index 55d740ddd4..0000000000 --- a/.changeset/sour-colts-prove.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/view-components': patch ---- - -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 - - diff --git a/.changeset/weak-mails-teach.md b/.changeset/weak-mails-teach.md deleted file mode 100644 index 96a4825913..0000000000 --- a/.changeset/weak-mails-teach.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@primer/view-components': minor ---- - -* Includes ActionMenu in ActionBar focus trap when present. -* Adjusts `focus_group.ts` to set `tabindex="0"` back to invoker if it is non-focusable. -* Prevents popover invokers from being triggered with 'left' and 'right' arrow keys. - - diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/dismissible/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/dismissible/default.png index 847983c793..4f785ffc45 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/dismissible/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/dismissible/default.png differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 96ed077222..a2f031e11c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # CHANGELOG +## 0.11.0 + +### Minor Changes + +- [#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 + + + +- [#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. + + - Adjusts `focus_group.ts` to set `tabindex="0"` back to invoker if it is non-focusable. + - Prevents popover invokers from being triggered with 'left' and 'right' arrow keys. + + + +### Patch Changes + +- [#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 + + + ## 0.10.0 ### Minor Changes diff --git a/Gemfile.lock b/Gemfile.lock index add7b3bbc9..2863a7d452 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - primer_view_components (0.10.0) + primer_view_components (0.11.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) octicons (>= 18.0.0) diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index 73c2be3cdc..881824f70f 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - primer_view_components (0.10.0) + primer_view_components (0.11.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) octicons (>= 18.0.0) diff --git a/lib/primer/view_components/version.rb b/lib/primer/view_components/version.rb index 7ccb5ac955..a1c462e315 100644 --- a/lib/primer/view_components/version.rb +++ b/lib/primer/view_components/version.rb @@ -5,7 +5,7 @@ module Primer module ViewComponents module VERSION MAJOR = 0 - MINOR = 10 + MINOR = 11 PATCH = 0 STRING = [MAJOR, MINOR, PATCH].join(".") diff --git a/package-lock.json b/package-lock.json index 3fe1dce0c6..a06d7bed81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@primer/view-components", - "version": "0.10.0", + "version": "0.11.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@primer/view-components", - "version": "0.10.0", + "version": "0.11.0", "license": "MIT", "dependencies": { "@github/auto-check-element": "^5.2.0", diff --git a/package.json b/package.json index e2abe3cb44..75cc97b331 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/view-components", - "version": "0.10.0", + "version": "0.11.0", "description": "ViewComponents for the Primer Design System", "main": "app/assets/javascripts/primer_view_components.js", "module": "app/components/primer/primer.js",