diff --git a/.changeset/brown-fireants-reflect.md b/.changeset/brown-fireants-reflect.md deleted file mode 100644 index a35180e318..0000000000 --- a/.changeset/brown-fireants-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Allow ActionList item content to be supplied by positional arg diff --git a/.changeset/curly-plums-explode.md b/.changeset/curly-plums-explode.md deleted file mode 100644 index 0972c64135..0000000000 --- a/.changeset/curly-plums-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Prep for high contrast theme updates diff --git a/.changeset/dull-knives-leave.md b/.changeset/dull-knives-leave.md deleted file mode 100644 index f93f919438..0000000000 --- a/.changeset/dull-knives-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Fixes Alpha::SelectPanel remote loading bug where items from the server were overriding the users selections. Additionally, update the #removeSelectedItem function to grab the data-value from the correct element. diff --git a/.changeset/fast-items-tell.md b/.changeset/fast-items-tell.md deleted file mode 100644 index 9a418d5546..0000000000 --- a/.changeset/fast-items-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Ensure focus is set on SelectPanel item when arrowing down from input diff --git a/.changeset/loud-shoes-enjoy.md b/.changeset/loud-shoes-enjoy.md deleted file mode 100644 index d5728c118a..0000000000 --- a/.changeset/loud-shoes-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': minor ---- - -Add ability to attach a test selector to ActionList items diff --git a/.changeset/metal-shirts-sparkle.md b/.changeset/metal-shirts-sparkle.md deleted file mode 100644 index 593c2491ad..0000000000 --- a/.changeset/metal-shirts-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Prevent an empty list of custom regexes in the DetailsMenuMigration linter from reporting false-positives diff --git a/.changeset/perfect-dogs-tell.md b/.changeset/perfect-dogs-tell.md deleted file mode 100644 index 7680ebe528..0000000000 --- a/.changeset/perfect-dogs-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Ensure pressing 'Enter' in SelectPanel filter input causes navigation if first item is link. diff --git a/.changeset/spotty-kings-whisper.md b/.changeset/spotty-kings-whisper.md deleted file mode 100644 index 268a84d114..0000000000 --- a/.changeset/spotty-kings-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Remove tabindex="-1" from li elements labelled as role="none" since tabindex's remove/negate role presentation diff --git a/.changeset/tall-ladybugs-divide.md b/.changeset/tall-ladybugs-divide.md deleted file mode 100644 index 810c246c4d..0000000000 --- a/.changeset/tall-ladybugs-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Add `aria-haspopup` and `aria-expanded` to `SelectPanel` state diff --git a/.changeset/tasty-icons-knock.md b/.changeset/tasty-icons-knock.md deleted file mode 100644 index 3a4f7304e4..0000000000 --- a/.changeset/tasty-icons-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Add aria-labelledby on the SelectPanel dialog diff --git a/.changeset/warm-oranges-march.md b/.changeset/warm-oranges-march.md deleted file mode 100644 index 6a7bdc49b0..0000000000 --- a/.changeset/warm-oranges-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Adds custom config for DetailsMenuMigration linter. diff --git a/.changeset/wicked-poems-rhyme.md b/.changeset/wicked-poems-rhyme.md deleted file mode 100644 index 6d3d89fa93..0000000000 --- a/.changeset/wicked-poems-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Fix documentation comments in relative_time.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d5d72284b..994be75553 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # CHANGELOG +## 0.31.0 + +### Minor Changes + +- [#2984](https://github.com/primer/view_components/pull/2984) [`c56f325`](https://github.com/primer/view_components/commit/c56f3254128999ed69cdaeefb5a48cd08636fca0) Thanks [@camertron](https://github.com/camertron)! - Add ability to attach a test selector to ActionList items + +### Patch Changes + +- [#2995](https://github.com/primer/view_components/pull/2995) [`0647fed`](https://github.com/primer/view_components/commit/0647fedd4c0a9c23c5312f8e753a346e3ac42960) Thanks [@camertron](https://github.com/camertron)! - Allow ActionList item content to be supplied by positional arg + +- [#2979](https://github.com/primer/view_components/pull/2979) [`ae6e3d7`](https://github.com/primer/view_components/commit/ae6e3d73d5bc70492a151845e4d35c48f5510fa5) Thanks [@langermank](https://github.com/langermank)! - Prep for high contrast theme updates + +- [#2986](https://github.com/primer/view_components/pull/2986) [`4d8ec0c`](https://github.com/primer/view_components/commit/4d8ec0c67c748d07ff3c2b69d6bdaff408461d8e) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Fixes Alpha::SelectPanel remote loading bug where items from the server were overriding the users selections. Additionally, update the #removeSelectedItem function to grab the data-value from the correct element. + +- [#2987](https://github.com/primer/view_components/pull/2987) [`82f0267`](https://github.com/primer/view_components/commit/82f026711246f6f5409e79e4cffb74cc5145b39c) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Ensure focus is set on SelectPanel item when arrowing down from input + +- [#2997](https://github.com/primer/view_components/pull/2997) [`0d0b5bc`](https://github.com/primer/view_components/commit/0d0b5bcf2d2fd9f328f69545f850d825d2cc435b) Thanks [@camertron](https://github.com/camertron)! - Prevent an empty list of custom regexes in the DetailsMenuMigration linter from reporting false-positives + +- [#2978](https://github.com/primer/view_components/pull/2978) [`fac1ec9`](https://github.com/primer/view_components/commit/fac1ec9aed4c05d1034bb04d24c1380c9ef06c97) Thanks [@camertron](https://github.com/camertron)! - Ensure pressing 'Enter' in SelectPanel filter input causes navigation if first item is link. + +- [#2996](https://github.com/primer/view_components/pull/2996) [`53abaa6`](https://github.com/primer/view_components/commit/53abaa6a14ace48cf5d016edf58cf60930cd764e) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Remove tabindex="-1" from li elements labelled as role="none" since tabindex's remove/negate role presentation + +- [#2989](https://github.com/primer/view_components/pull/2989) [`36a044a`](https://github.com/primer/view_components/commit/36a044a28f6070e422681c8765693d1c21411fea) Thanks [@JoyceZhu](https://github.com/JoyceZhu)! - Add `aria-haspopup` and `aria-expanded` to `SelectPanel` state + +- [#2994](https://github.com/primer/view_components/pull/2994) [`3bf8fd4`](https://github.com/primer/view_components/commit/3bf8fd4142a7647bd4cc2798f7e62bf1046092b4) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Add aria-labelledby on the SelectPanel dialog + +- [#2985](https://github.com/primer/view_components/pull/2985) [`868b49e`](https://github.com/primer/view_components/commit/868b49ee1e8d82066be91a6ffe97d948c1d7dc43) Thanks [@jamieshark](https://github.com/jamieshark)! - Adds custom config for DetailsMenuMigration linter. + +- [#2988](https://github.com/primer/view_components/pull/2988) [`a5eefd9`](https://github.com/primer/view_components/commit/a5eefd9b5c7b8e6463b64ce6f7b3c46f65897759) Thanks [@gjtorikian](https://github.com/gjtorikian)! - Fix documentation comments in relative_time.rb + ## 0.30.0 ### Minor Changes diff --git a/Gemfile.lock b/Gemfile.lock index 573a728426..81e10ec077 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - primer_view_components (0.30.0) + primer_view_components (0.31.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) octicons (>= 18.0.0) diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index 6a3661cfd7..a544a80005 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - primer_view_components (0.30.0) + primer_view_components (0.31.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 0c86d3c239..a7f89756f5 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 = 30 + MINOR = 31 PATCH = 0 STRING = [MAJOR, MINOR, PATCH].join(".") diff --git a/package-lock.json b/package-lock.json index d09def250d..a573a9eaf4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@primer/view-components", - "version": "0.30.0", + "version": "0.31.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@primer/view-components", - "version": "0.30.0", + "version": "0.31.0", "license": "MIT", "dependencies": { "@github/auto-check-element": "^5.2.0", diff --git a/package.json b/package.json index 83e0af883a..1d3759ad14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/view-components", - "version": "0.30.0", + "version": "0.31.0", "description": "ViewComponents for the Primer Design System", "main": "app/assets/javascripts/primer_view_components.js", "module": "app/components/primer/primer.js",