diff --git a/.changeset/beige-bags-look.md b/.changeset/beige-bags-look.md deleted file mode 100644 index 3b3fbb8755f..00000000000 --- a/.changeset/beige-bags-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the ActionList.Heading component diff --git a/.changeset/chilly-jars-jog.md b/.changeset/chilly-jars-jog.md deleted file mode 100644 index cb414e294b4..00000000000 --- a/.changeset/chilly-jars-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Hide `TooltipV2` tooltips on `touchend` event diff --git a/.changeset/chubby-coats-knock.md b/.changeset/chubby-coats-knock.md deleted file mode 100644 index c8798756bdf..00000000000 --- a/.changeset/chubby-coats-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag for the TextArea component diff --git a/.changeset/dirty-squids-train.md b/.changeset/dirty-squids-train.md deleted file mode 100644 index 602008a37a2..00000000000 --- a/.changeset/dirty-squids-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -chore(SkeletonBox): promote to Alpha diff --git a/.changeset/floppy-peaches-obey.md b/.changeset/floppy-peaches-obey.md deleted file mode 100644 index 6cb06e4f665..00000000000 --- a/.changeset/floppy-peaches-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Improves how we detect context for inactive item messaging by checking the `role` on `ActionList` instead of relying on parent components, making the logic more robust and consistent. It also fixes incorrect behavior in `NavList` and `SelectPanel`, and improves accessibility by correcting `aria` relationships on tooltip buttons. diff --git a/.changeset/fluffy-moments-move.md b/.changeset/fluffy-moments-move.md deleted file mode 100644 index 2145603d823..00000000000 --- a/.changeset/fluffy-moments-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the SideNav component diff --git a/.changeset/funny-toys-agree.md b/.changeset/funny-toys-agree.md deleted file mode 100644 index 78131752759..00000000000 --- a/.changeset/funny-toys-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -chore(SelectPanel): remove css modules feature flag diff --git a/.changeset/hungry-pumas-poke.md b/.changeset/hungry-pumas-poke.md deleted file mode 100644 index 1a82f7332bb..00000000000 --- a/.changeset/hungry-pumas-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Removes feature flag for FormControl diff --git a/.changeset/light-snakes-deny.md b/.changeset/light-snakes-deny.md deleted file mode 100644 index 7c828d16542..00000000000 --- a/.changeset/light-snakes-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): always show x button on single select diff --git a/.changeset/old-lemons-film.md b/.changeset/old-lemons-film.md deleted file mode 100644 index 7e4ee8b308f..00000000000 --- a/.changeset/old-lemons-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Changes argument signature for toggleSxComponent to simplify diff --git a/.changeset/olive-kangaroos-wonder.md b/.changeset/olive-kangaroos-wonder.md deleted file mode 100644 index da155493d6a..00000000000 --- a/.changeset/olive-kangaroos-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): differentiate onCancel gesture from escape diff --git a/.changeset/strong-pens-cross.md b/.changeset/strong-pens-cross.md deleted file mode 100644 index af171607915..00000000000 --- a/.changeset/strong-pens-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Removes css module flag for UnderlinePanels and associated components. diff --git a/.changeset/tasty-games-trade.md b/.changeset/tasty-games-trade.md deleted file mode 100644 index e370fc95b2a..00000000000 --- a/.changeset/tasty-games-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): disable body scroll on full screen diff --git a/.changeset/ten-eggs-arrive.md b/.changeset/ten-eggs-arrive.md deleted file mode 100644 index 355a5a9877b..00000000000 --- a/.changeset/ten-eggs-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -SelectPanelV2: Add `deprecated` status to SelectPanelV2 docs and stories diff --git a/.changeset/twenty-crabs-try.md b/.changeset/twenty-crabs-try.md deleted file mode 100644 index faf07d8583c..00000000000 --- a/.changeset/twenty-crabs-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): Add margin around notice styles diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 99f6449d1ae..61981d2b599 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -20,7 +20,7 @@ "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.3.1", "@vitejs/plugin-react": "^4.3.3", - "@primer/react": "37.18.0", + "@primer/react": "37.19.0", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.19", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index be1b6da55e4..122a328cbbc 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.18.0", + "@primer/react": "37.19.0", "next": "^15.2.3", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 3dbd0c8d1b7..78bd8a35b9a 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.14.0", - "@primer/react": "37.18.0", + "@primer/react": "37.19.0", "clsx": "^2.1.1", "next": "^14.2.26", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index ae278700cc7..658f25b04db 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,41 @@ # @primer/react +## 37.19.0 + +### Minor Changes + +- [#5900](https://github.com/primer/react/pull/5900) [`ebc6813`](https://github.com/primer/react/commit/ebc68133edd927072bca65e34147df2017e95a86) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the ActionList.Heading component + +- [#5830](https://github.com/primer/react/pull/5830) [`f8760fe`](https://github.com/primer/react/commit/f8760fecf9433e548e90ad7e6cf30d216122091d) Thanks [@iansan5653](https://github.com/iansan5653)! - Hide `TooltipV2` tooltips on `touchend` event + +- [#5873](https://github.com/primer/react/pull/5873) [`0a2e3f0`](https://github.com/primer/react/commit/0a2e3f071fed8ff1109751c56faf4a92f8cf0542) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag for the TextArea component + +- [#5693](https://github.com/primer/react/pull/5693) [`da85192`](https://github.com/primer/react/commit/da851921e7e4cddba577d08da44ffbe32936c15b) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(SkeletonBox): promote to Alpha + +- [#5876](https://github.com/primer/react/pull/5876) [`a78c820`](https://github.com/primer/react/commit/a78c820d9c5ac5c29fdccfd30e8dd1944653f1f4) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the SideNav component + +- [#5882](https://github.com/primer/react/pull/5882) [`6eecde6`](https://github.com/primer/react/commit/6eecde60f93407dcc1d32fe81fb86229c04ad595) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(SelectPanel): remove css modules feature flag + +- [#5851](https://github.com/primer/react/pull/5851) [`a812a86`](https://github.com/primer/react/commit/a812a868c8eb98c3a1ad6540806b7db2bb75aa0d) Thanks [@jamieshark](https://github.com/jamieshark)! - Removes feature flag for FormControl + +- [#5861](https://github.com/primer/react/pull/5861) [`ecb449f`](https://github.com/primer/react/commit/ecb449f41f8e2a16f3c547877f53208f6eef92eb) Thanks [@jamieshark](https://github.com/jamieshark)! - Changes argument signature for toggleSxComponent to simplify + +- [#5836](https://github.com/primer/react/pull/5836) [`c177e5e`](https://github.com/primer/react/commit/c177e5e5b89ef7039dde039b5b2f4a925a3bdc24) Thanks [@jamieshark](https://github.com/jamieshark)! - Removes css module flag for UnderlinePanels and associated components. + +### Patch Changes + +- [#5866](https://github.com/primer/react/pull/5866) [`f978534`](https://github.com/primer/react/commit/f9785343716435f43e3d82482b057a17bd345c25) Thanks [@mperrotti](https://github.com/mperrotti)! - Improves how we detect context for inactive item messaging by checking the `role` on `ActionList` instead of relying on parent components, making the logic more robust and consistent. It also fixes incorrect behavior in `NavList` and `SelectPanel`, and improves accessibility by correcting `aria` relationships on tooltip buttons. + +- [#5912](https://github.com/primer/react/pull/5912) [`81821db`](https://github.com/primer/react/commit/81821db70b054c5d2f932b4fbb8642dfea9625f8) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(SelectPanel): always show x button on single select + +- [#5908](https://github.com/primer/react/pull/5908) [`8e7bc0e`](https://github.com/primer/react/commit/8e7bc0e4299b3c43ef128a9482bef4bb7f539a71) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(SelectPanel): differentiate onCancel gesture from escape + +- [#5904](https://github.com/primer/react/pull/5904) [`a522fdb`](https://github.com/primer/react/commit/a522fdb14562b6dff2f2382f20fc9aefc01a26bc) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(SelectPanel): disable body scroll on full screen + +- [#5906](https://github.com/primer/react/pull/5906) [`8fa12ea`](https://github.com/primer/react/commit/8fa12ead9ec467293e6e6edb38c2ccc90da9fe5e) Thanks [@TylerJDev](https://github.com/TylerJDev)! - SelectPanelV2: Add `deprecated` status to SelectPanelV2 docs and stories + +- [#5881](https://github.com/primer/react/pull/5881) [`ea1fb50`](https://github.com/primer/react/commit/ea1fb509f2b0f143a0f18be1882a4de665313679) Thanks [@emilybrick](https://github.com/emilybrick)! - fix(SelectPanel): Add margin around notice styles + ## 37.18.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 7660f5be443..cec3cb87fae 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.18.0", + "version": "37.19.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",