diff --git a/.changeset/clever-cats-carry.md b/.changeset/clever-cats-carry.md deleted file mode 100644 index a9cb6bdeed..0000000000 --- a/.changeset/clever-cats-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Make Retry button focusable in loading_failure_story diff --git a/.changeset/healthy-days-hide.md b/.changeset/healthy-days-hide.md deleted file mode 100644 index b78aa74132..0000000000 --- a/.changeset/healthy-days-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Add support for Ruby 4 in test suite. diff --git a/.changeset/plenty-regions-warn.md b/.changeset/plenty-regions-warn.md deleted file mode 100644 index 19f5164b6c..0000000000 --- a/.changeset/plenty-regions-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': minor ---- - -Adds character_limit option to TextArea and TextField components diff --git a/.changeset/stupid-toes-find.md b/.changeset/stupid-toes-find.md deleted file mode 100644 index 202aea7514..0000000000 --- a/.changeset/stupid-toes-find.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Tooltip: Prevents tooltip from appearing when popover (e.g. ActionMenu) is opened diff --git a/.changeset/tidy-years-protect.md b/.changeset/tidy-years-protect.md deleted file mode 100644 index 15c7e12801..0000000000 --- a/.changeset/tidy-years-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Fix compatibility issues with Herb, add linter to CI. diff --git a/.changeset/tough-students-guess.md b/.changeset/tough-students-guess.md deleted file mode 100644 index a9a9a4e983..0000000000 --- a/.changeset/tough-students-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Make AvatarStack accessible via keyboard navigation diff --git a/CHANGELOG.md b/CHANGELOG.md index 02f61e3eba..8f5a23e833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # CHANGELOG +## 0.49.0 + +### Minor Changes + +- [#3785](https://github.com/primer/view_components/pull/3785) [`7526370`](https://github.com/primer/view_components/commit/75263700b8c00ffdd525c81feed0de61b81d1067) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds character_limit option to TextArea and TextField components + +### Patch Changes + +- [#3832](https://github.com/primer/view_components/pull/3832) [`15ac0d4`](https://github.com/primer/view_components/commit/15ac0d498dca5947ca38992fb74b1e485d97a88a) Thanks [@llastflowers](https://github.com/llastflowers)! - Make Retry button focusable in loading_failure_story + +- [#3848](https://github.com/primer/view_components/pull/3848) [`20d2e9f`](https://github.com/primer/view_components/commit/20d2e9f195864fb900fab2473592d2249eed5ac0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Add support for Ruby 4 in test suite. + +- [#3823](https://github.com/primer/view_components/pull/3823) [`954596a`](https://github.com/primer/view_components/commit/954596a07c4230f107c24dad2967f25577828d5b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Tooltip: Prevents tooltip from appearing when popover (e.g. ActionMenu) is opened + +- [#3850](https://github.com/primer/view_components/pull/3850) [`d722644`](https://github.com/primer/view_components/commit/d722644d98e7b80ee684ccd53d3192f51322512c) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Fix compatibility issues with Herb, add linter to CI. + +- [#3849](https://github.com/primer/view_components/pull/3849) [`7efbd32`](https://github.com/primer/view_components/commit/7efbd32a4d90388a13a524f41261b91693b3b222) Thanks [@llastflowers](https://github.com/llastflowers)! - Make AvatarStack accessible via keyboard navigation + ## 0.48.0 ### Minor Changes @@ -382,7 +400,6 @@ - [#2983](https://github.com/primer/view_components/pull/2983) [`5d68193`](https://github.com/primer/view_components/commit/5d681938247c4a957d62b05c2560fef24195ff51) Thanks [@keithamus](https://github.com/keithamus)! - Ensure ActionMenu restores focus on close of a dialog, if a menu item opened that dialog - [#3010](https://github.com/primer/view_components/pull/3010) [`ebab85a`](https://github.com/primer/view_components/commit/ebab85a3a3d2644079aaf495fd1e6689b89f713b) Thanks [@camertron](https://github.com/camertron)! - Fixes several SelectPanel bugs: - 1. If multiple server-rendered items are checked, the panel will only show one item checked. 2. If no `data-value` attributes are provided, panels in single-select mode will allow multiple items to be checked. @@ -559,7 +576,6 @@ ### Patch Changes - [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/primer/view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button` - - Bug fix: text overflows in SegmentedControl instead of ellipses - [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/primer/view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips @@ -761,7 +777,6 @@ - [#2414](https://github.com/primer/view_components/pull/2414) [`48a2405a`](https://github.com/primer/view_components/commit/48a2405a2cdb6865eb57c2ea411fcece026590d0) Thanks [@keithamus](https://github.com/keithamus)! - Prevent other Overlays closing when Escape is pressed while Tooltips are open - [#2379](https://github.com/primer/view_components/pull/2379) [`2c59c33b`](https://github.com/primer/view_components/commit/2c59c33bf54e392d743fbdd1076d06bff2151b42) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates 'inactive' state for buttons based on feedback from the a11y team: - - inactive buttons need to meet the color contrast ratio minimum - inactive buttons shouldn't have aria-disabled since they can still accept interactions such as: - hover/focus to show a tooltip @@ -831,7 +846,6 @@ ### Minor Changes - [#2284](https://github.com/primer/view_components/pull/2284) [`374d10fd`](https://github.com/primer/view_components/commit/374d10fd18e7371f49abf75dde135c3ed29fe33d) Thanks [@langermank](https://github.com/langermank)! - Update tooltip design - - Removes caret - Decrease offset - Remove animation delay @@ -885,7 +899,6 @@ - [#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. @@ -924,7 +937,6 @@ - [#2250](https://github.com/primer/view_components/pull/2250) [`66c4dd69`](https://github.com/primer/view_components/commit/66c4dd6936b386caa42868beef9ea1b33f84b11b) Thanks [@langermank](https://github.com/langermank)! - - Improve contrast for icons in `invisible` button on hover in dark mode (within v8 colors) - - Fix disabled button styles (v8 colors) - Bump Primitives to latest @@ -1639,7 +1651,6 @@ - [#1632](https://github.com/primer/view_components/pull/1632) [`7f1181be`](https://github.com/primer/view_components/commit/7f1181be49960337254db834e9b2b9a5fdb7b0b8) Thanks [@camertron](https://github.com/camertron)! - Improve performance of the deny\_\* methods * [#1625](https://github.com/primer/view_components/pull/1625) [`3af9bf5e`](https://github.com/primer/view_components/commit/3af9bf5e778bb1fe475ed7efda9fc1a5ed36d695) Thanks [@jonrohan](https://github.com/jonrohan)! - Deprecate components and moving to new namespace: - - Primer::Dropdown moving to Primer::Alpha::Dropdown - Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu - Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item @@ -2457,7 +2468,6 @@ _Manuel Puyol_ - Change spacing in `Blankslate`: - - Between `description` and `primary_action` to `32px`. - Between `primary_action` and `secondary_action` to `16px`. @@ -2815,7 +2825,6 @@ _Manuel Puyol_ - Linters can: - - convert values with ERB interpolations. - autocorrect cases with custom classes. @@ -2930,7 +2939,6 @@ _Kate Higa_ - Renames: - - `Primer::AvatarStackComponent` to `Primer::Beta::AvatarStack`. _Manuel Puyol_ @@ -2972,7 +2980,6 @@ _Kate Higa_ - Renames: - - `Primer::AutoComplete` to `Primer::Beta::AutoComplete` - `Primer::AutoComplete::Item` to `Primer::Beta::AutoComplete::Item` - `Primer::AvatarComponent` to `Primer::Beta::Avatar` @@ -3116,7 +3123,6 @@ _Kate Higa_ - Renames: - - `DropdownComponent` to `Dropdown`. - `Dropdown::MenuComponent` to `Dropdown::Menu`. - `Primer::ButtonMarketingComponent` to `Primer::Alpha::ButtonMarketing`. @@ -3574,7 +3580,6 @@ _Simon Taranto_ - Update `LinkComponent`: - - use `Link--muted` instead of `muted-link`. - accept `variant` and `underline` options. - accept `:span` as a tag. @@ -3884,7 +3889,6 @@ - Add support for box_shadow - Add components: - - Popover _Sarah Vessels_ @@ -3906,7 +3910,6 @@ _Joel Hawksley_ - Add components: - - Avatar - Blankslate @@ -3927,7 +3930,6 @@ _Manuel Puyol_ - Add components: - - BorderBox - Box - Breadcrumb diff --git a/Gemfile.lock b/Gemfile.lock index f8dbdd02d0..0284d408f8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - primer_view_components (0.48.0) + primer_view_components (0.49.0) actionview (>= 7.2.0) activesupport (>= 7.2.0) octicons (>= 18.0.0) diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index ab53f7c39b..ff0fd2be3a 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - primer_view_components (0.48.0) + primer_view_components (0.49.0) actionview (>= 7.2.0) activesupport (>= 7.2.0) octicons (>= 18.0.0) diff --git a/lib/primer/view_components/version.rb b/lib/primer/view_components/version.rb index e7c3b4d46a..999a7f657f 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 = 48 + MINOR = 49 PATCH = 0 STRING = [MAJOR, MINOR, PATCH].join(".") diff --git a/package-lock.json b/package-lock.json index 45f121352b..485b4b898e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@primer/view-components", - "version": "0.48.0", + "version": "0.49.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@primer/view-components", - "version": "0.48.0", + "version": "0.49.0", "license": "MIT", "dependencies": { "@github/auto-check-element": "^6.0.0", diff --git a/package.json b/package.json index f24ce4db2b..8cf8be406d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/view-components", - "version": "0.48.0", + "version": "0.49.0", "description": "ViewComponents for the Primer Design System", "main": "app/assets/javascripts/primer_view_components.js", "module": "app/components/primer/primer.js",