diff --git a/.changeset/angry-boats-poke.md b/.changeset/angry-boats-poke.md deleted file mode 100644 index b09da89e814..00000000000 --- a/.changeset/angry-boats-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix PageHeader context bar `font-weight` diff --git a/.changeset/brown-rules-taste.md b/.changeset/brown-rules-taste.md deleted file mode 100644 index b4dfcf1ca7a..00000000000 --- a/.changeset/brown-rules-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fix ActionList.Description title attribute for non-string children with truncate diff --git a/.changeset/calm-hoops-tie.md b/.changeset/calm-hoops-tie.md deleted file mode 100644 index 79b4bc889f8..00000000000 --- a/.changeset/calm-hoops-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add loading support to ActionList.TrailingAction component. diff --git a/.changeset/clean-ends-end.md b/.changeset/clean-ends-end.md deleted file mode 100644 index bb97b80c3f0..00000000000 --- a/.changeset/clean-ends-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add partial support for React Compiler to components diff --git a/.changeset/empty-experts-glow.md b/.changeset/empty-experts-glow.md deleted file mode 100644 index e13cf96b230..00000000000 --- a/.changeset/empty-experts-glow.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -"@primer/react": patch ---- -Bug fix: Fixing issue where page shifts when Dialog is open diff --git a/.changeset/itchy-rice-rescue.md b/.changeset/itchy-rice-rescue.md deleted file mode 100644 index 8545544d66e..00000000000 --- a/.changeset/itchy-rice-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add CSS variable to `contrast` `TextInput` diff --git a/.changeset/mighty-ideas-tease.md b/.changeset/mighty-ideas-tease.md deleted file mode 100644 index 608328a9f2c..00000000000 --- a/.changeset/mighty-ideas-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fixed position of leadingVisual diff --git a/.changeset/odd-bikes-march.md b/.changeset/odd-bikes-march.md deleted file mode 100644 index 453eeab7e28..00000000000 --- a/.changeset/odd-bikes-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -chore(FormControl): remove sx props diff --git a/.changeset/puny-yaks-bake.md b/.changeset/puny-yaks-bake.md deleted file mode 100644 index 2f09b4e68d0..00000000000 --- a/.changeset/puny-yaks-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -SelectPanel: Adds focus indicator to disabled items diff --git a/.changeset/purple-pants-pay.md b/.changeset/purple-pants-pay.md deleted file mode 100644 index 4e177af7830..00000000000 --- a/.changeset/purple-pants-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix the disappearance of overflow property in the Overlay component diff --git a/.changeset/seven-kangaroos-collect.md b/.changeset/seven-kangaroos-collect.md deleted file mode 100644 index 5440f186353..00000000000 --- a/.changeset/seven-kangaroos-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Set `color` on SegmentedControl icons diff --git a/.changeset/soft-walls-help.md b/.changeset/soft-walls-help.md deleted file mode 100644 index 4a0c90ca71e..00000000000 --- a/.changeset/soft-walls-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add gap between ActionList label and `trailingVisual` diff --git a/.changeset/stale-cats-wonder.md b/.changeset/stale-cats-wonder.md deleted file mode 100644 index f21cce65192..00000000000 --- a/.changeset/stale-cats-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Update Truncate to use CSS Modules diff --git a/.changeset/thick-rules-shout.md b/.changeset/thick-rules-shout.md deleted file mode 100644 index 96b35f2854e..00000000000 --- a/.changeset/thick-rules-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -chore: Refactor components to use BoxWithFallback instead of custom Box if statements and remove defaultSxProp references diff --git a/.changeset/thin-bears-change.md b/.changeset/thin-bears-change.md deleted file mode 100644 index 717cbc087d5..00000000000 --- a/.changeset/thin-bears-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Migrate the TabNav component to use CSS modules diff --git a/.changeset/three-foxes-promise.md b/.changeset/three-foxes-promise.md deleted file mode 100644 index 011dc90ee44..00000000000 --- a/.changeset/three-foxes-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix: remove min height calc logic for SelectPanel diff --git a/.changeset/true-lines-find.md b/.changeset/true-lines-find.md deleted file mode 100644 index 4e1c4e42a9e..00000000000 --- a/.changeset/true-lines-find.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Prevent ActionList crash when selected prop is true without selectionVariant. diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index f7e24bbcbdb..7571f68d6d9 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.27.0", + "@primer/react": "37.28.0", "eslint": "^9.30.1", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 8f3dfb3580e..0dc32089d76 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.27.0", + "@primer/react": "37.28.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 38a2053883a..c163002a288 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.27.0", + "@primer/react": "37.28.0", "clsx": "^2.1.1", "next": "^14.2.30", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 1532c7cdc5f..393f15dac92 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,45 @@ # @primer/react +## 37.28.0 + +### Minor Changes + +- [#6239](https://github.com/primer/react/pull/6239) [`ccd5bab`](https://github.com/primer/react/commit/ccd5bab27506c504941acd535487fca4b456d447) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add loading support to ActionList.TrailingAction component. + +- [#6211](https://github.com/primer/react/pull/6211) [`c99d42e`](https://github.com/primer/react/commit/c99d42e04e0f773ce4a43a98459393ac2780ab13) Thanks [@joshblack](https://github.com/joshblack)! - Add partial support for React Compiler to components + +- [#6257](https://github.com/primer/react/pull/6257) [`2fe33bf`](https://github.com/primer/react/commit/2fe33bfa1dcb45d8a0aec0cad74abd99acce2194) Thanks [@joshblack](https://github.com/joshblack)! - Update Truncate to use CSS Modules + +- [#6176](https://github.com/primer/react/pull/6176) [`507da36`](https://github.com/primer/react/commit/507da36838d5721bd33c48eb89ae36bd33a56920) Thanks [@jonrohan](https://github.com/jonrohan)! - Migrate the TabNav component to use CSS modules + +### Patch Changes + +- [#6256](https://github.com/primer/react/pull/6256) [`0318b4b`](https://github.com/primer/react/commit/0318b4bfde5920a3542ef278f00e1ef646ed8af4) Thanks [@langermank](https://github.com/langermank)! - Fix PageHeader context bar `font-weight` + +- [#6223](https://github.com/primer/react/pull/6223) [`4d85c34`](https://github.com/primer/react/commit/4d85c342e89aee344e2b87dba4dd13e59d5d3e4c) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Fix ActionList.Description title attribute for non-string children with truncate + +- [#6266](https://github.com/primer/react/pull/6266) [`ac5a9c1`](https://github.com/primer/react/commit/ac5a9c13da8f93e964f9a7f1281809979972bbaa) Thanks [@jonrohan](https://github.com/jonrohan)! - Bug fix: Fixing issue where page shifts when Dialog is open + +- [#6270](https://github.com/primer/react/pull/6270) [`b2a44c3`](https://github.com/primer/react/commit/b2a44c3e69749e06e6fb89cc5221effdf5724edd) Thanks [@langermank](https://github.com/langermank)! - Add CSS variable to `contrast` `TextInput` + +- [#6267](https://github.com/primer/react/pull/6267) [`196fbf5`](https://github.com/primer/react/commit/196fbf5497c0afb24bdd328fd9aa0eb1d299a202) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Fixed position of leadingVisual + +- [#6295](https://github.com/primer/react/pull/6295) [`12468d8`](https://github.com/primer/react/commit/12468d860dbba68409afb46a69e7fa0453f6c971) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(FormControl): remove sx props + +- [#6259](https://github.com/primer/react/pull/6259) [`ad6a52c`](https://github.com/primer/react/commit/ad6a52caa5aad2b3e47f39d5e3cb0cb7b13364d5) Thanks [@TylerJDev](https://github.com/TylerJDev)! - SelectPanel: Adds focus indicator to disabled items + +- [#6284](https://github.com/primer/react/pull/6284) [`ff6bf5c`](https://github.com/primer/react/commit/ff6bf5cbe1b012b87b5b35af45b3e08b32d1df22) Thanks [@pksjce](https://github.com/pksjce)! - Fix the disappearance of overflow property in the Overlay component + +- [#6275](https://github.com/primer/react/pull/6275) [`c50d530`](https://github.com/primer/react/commit/c50d5307596ad6b354bf27d5b0a3398a55416bb7) Thanks [@langermank](https://github.com/langermank)! - Set `color` on SegmentedControl icons + +- [#6177](https://github.com/primer/react/pull/6177) [`5e1ed83`](https://github.com/primer/react/commit/5e1ed83af8464296287f132a4b5584b257c4b37e) Thanks [@langermank](https://github.com/langermank)! - Add gap between ActionList label and `trailingVisual` + +- [#6278](https://github.com/primer/react/pull/6278) [`29facae`](https://github.com/primer/react/commit/29facaed800cd858c2db91e071c5814630a1e735) Thanks [@jonrohan](https://github.com/jonrohan)! - chore: Refactor components to use BoxWithFallback instead of custom Box if statements and remove defaultSxProp references + +- [#6225](https://github.com/primer/react/pull/6225) [`669c338`](https://github.com/primer/react/commit/669c338e1a14622603fc44dced42aea23833a2e4) Thanks [@KirankumarAmbati](https://github.com/KirankumarAmbati)! - fix: remove min height calc logic for SelectPanel + +- [#6235](https://github.com/primer/react/pull/6235) [`5446544`](https://github.com/primer/react/commit/5446544dee32f9d2a24d24bd5f3fe01846d5cf37) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Prevent ActionList crash when selected prop is true without selectionVariant. + ## 37.27.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index ea3adb3625b..5a94f745400 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.27.0", + "version": "37.28.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",