From 7caef22f34ef8a6587ebbb052edb8987ec2ad8f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 18:03:25 +0000 Subject: [PATCH] Version Packages --- .changeset/actionlist-react-compiler.md | 5 ---- .changeset/announce-skip-empty-reflow.md | 5 ---- .changeset/banner-aria-labelledby-title.md | 5 ---- .changeset/blankslate-text-wrap-balance.md | 5 ---- .changeset/button-optimize-render.md | 5 ---- .changeset/clever-geese-cover.md | 5 ---- .changeset/content-visibility-perf.md | 5 ---- .changeset/dirty-cooks-clap.md | 5 ---- .../perf-actionlist-replace-has-disabled.md | 5 ---- .../perf-useismacOS-sync-external-store.md | 5 ---- examples/codesandbox/package.json | 2 +- examples/nextjs/package.json | 2 +- examples/theming/package.json | 2 +- packages/react/CHANGELOG.md | 26 +++++++++++++++++++ packages/react/package.json | 2 +- 15 files changed, 30 insertions(+), 54 deletions(-) delete mode 100644 .changeset/actionlist-react-compiler.md delete mode 100644 .changeset/announce-skip-empty-reflow.md delete mode 100644 .changeset/banner-aria-labelledby-title.md delete mode 100644 .changeset/blankslate-text-wrap-balance.md delete mode 100644 .changeset/button-optimize-render.md delete mode 100644 .changeset/clever-geese-cover.md delete mode 100644 .changeset/content-visibility-perf.md delete mode 100644 .changeset/dirty-cooks-clap.md delete mode 100644 .changeset/perf-actionlist-replace-has-disabled.md delete mode 100644 .changeset/perf-useismacOS-sync-external-store.md diff --git a/.changeset/actionlist-react-compiler.md b/.changeset/actionlist-react-compiler.md deleted file mode 100644 index 719eab64581..00000000000 --- a/.changeset/actionlist-react-compiler.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -perf(ActionList): enable React Compiler diff --git a/.changeset/announce-skip-empty-reflow.md b/.changeset/announce-skip-empty-reflow.md deleted file mode 100644 index 9368837a542..00000000000 --- a/.changeset/announce-skip-empty-reflow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -perf(Announce): skip getComputedStyle when there is no text content to announce diff --git a/.changeset/banner-aria-labelledby-title.md b/.changeset/banner-aria-labelledby-title.md deleted file mode 100644 index c10c0756daa..00000000000 --- a/.changeset/banner-aria-labelledby-title.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Banner: Use `aria-labelledby` to reference the title for the landmark region instead of generic variant labels. diff --git a/.changeset/blankslate-text-wrap-balance.md b/.changeset/blankslate-text-wrap-balance.md deleted file mode 100644 index 180af37d219..00000000000 --- a/.changeset/blankslate-text-wrap-balance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Blankslate: Add `text-wrap: balance` to Heading and Description diff --git a/.changeset/button-optimize-render.md b/.changeset/button-optimize-render.md deleted file mode 100644 index d0857ea6ef3..00000000000 --- a/.changeset/button-optimize-render.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -perf(Button): fix CounterLabel remount and remove conditional DEV hook diff --git a/.changeset/clever-geese-cover.md b/.changeset/clever-geese-cover.md deleted file mode 100644 index 9b609eebcca..00000000000 --- a/.changeset/clever-geese-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -UnderlineNav: Adds `overflow: hidden` when the "More" button isn't present diff --git a/.changeset/content-visibility-perf.md b/.changeset/content-visibility-perf.md deleted file mode 100644 index 7fd4a81d31d..00000000000 --- a/.changeset/content-visibility-perf.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Add `content-visibility: auto` to ActionList items to improve rendering performance for large lists by allowing the browser to skip layout and paint for off-screen items. diff --git a/.changeset/dirty-cooks-clap.md b/.changeset/dirty-cooks-clap.md deleted file mode 100644 index ac23467ab87..00000000000 --- a/.changeset/dirty-cooks-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -PageLayout: Add `PageLayout.Sidebar` sub-component diff --git a/.changeset/perf-actionlist-replace-has-disabled.md b/.changeset/perf-actionlist-replace-has-disabled.md deleted file mode 100644 index 9fbae4cd34b..00000000000 --- a/.changeset/perf-actionlist-replace-has-disabled.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -perf(ActionList): replace `:has([aria-disabled])` child scan with `data-is-disabled` attribute for faster style recalculation diff --git a/.changeset/perf-useismacOS-sync-external-store.md b/.changeset/perf-useismacOS-sync-external-store.md deleted file mode 100644 index 6b999df419a..00000000000 --- a/.changeset/perf-useismacOS-sync-external-store.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -perf(useIsMacOS): replace useState+useEffect with useSyncExternalStore to eliminate unnecessary re-render diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index c928318dc16..4d729cb3f2e 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -17,7 +17,7 @@ "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.3", - "@primer/react": "38.12.0", + "@primer/react": "38.13.0", "@primer/styled-react": "1.0.3", "styled-components": "5.x", "typescript": "^5.9.2", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 27a7cb4f683..96dea8cb17c 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.12.0", + "@primer/react": "38.13.0", "@primer/styled-react": "1.0.3", "next": "^16.1.5", "react": "^19.2.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index ba27e7500b9..b424fa1eb02 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.21.0", - "@primer/react": "38.12.0", + "@primer/react": "38.13.0", "@primer/styled-react": "1.0.3", "clsx": "^2.1.1", "next": "^16.1.5", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index cbbebf26485..97bfe4f2cb5 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,31 @@ # @primer/react +## 38.13.0 + +### Minor Changes + +- [#7099](https://github.com/primer/react/pull/7099) [`4720c2f`](https://github.com/primer/react/commit/4720c2f27cfacc7600244422ee22af9104b5aa09) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Banner: Use `aria-labelledby` to reference the title for the landmark region instead of generic variant labels. + +- [#7521](https://github.com/primer/react/pull/7521) [`12dda86`](https://github.com/primer/react/commit/12dda8654b07bffc33e6b8f29580914c95f3e8e2) Thanks [@TylerJDev](https://github.com/TylerJDev)! - PageLayout: Add `PageLayout.Sidebar` sub-component + +### Patch Changes + +- [#7537](https://github.com/primer/react/pull/7537) [`4fd987c`](https://github.com/primer/react/commit/4fd987c4194f51dc7e66f16895542a1e4678bde7) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): enable React Compiler + +- [#7546](https://github.com/primer/react/pull/7546) [`86d6897`](https://github.com/primer/react/commit/86d68971a602be6c99535eb01227bf48dd87cfdc) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Announce): skip getComputedStyle when there is no text content to announce + +- [#7568](https://github.com/primer/react/pull/7568) [`aa46098`](https://github.com/primer/react/commit/aa460989194e6bb2c0e15e16023a07cf7fc42dc0) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Blankslate: Add `text-wrap: balance` to Heading and Description + +- [#7552](https://github.com/primer/react/pull/7552) [`551ec63`](https://github.com/primer/react/commit/551ec6338af5c45e3f549245d85a4dd5a708df47) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Button): fix CounterLabel remount and remove conditional DEV hook + +- [#7504](https://github.com/primer/react/pull/7504) [`d91e78e`](https://github.com/primer/react/commit/d91e78e8d1e69915222354b95d09d93d269dbd8b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - UnderlineNav: Adds `overflow: hidden` when the "More" button isn't present + +- [#7526](https://github.com/primer/react/pull/7526) [`0c2358a`](https://github.com/primer/react/commit/0c2358aa12a409f7cbcf15ce4fd41cbb9eee4b6c) Thanks [@hectahertz](https://github.com/hectahertz)! - Add `content-visibility: auto` to ActionList items to improve rendering performance for large lists by allowing the browser to skip layout and paint for off-screen items. + +- [#7556](https://github.com/primer/react/pull/7556) [`6dc1858`](https://github.com/primer/react/commit/6dc1858538e3b7ea66b78dd9d37c391c530d78ae) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): replace `:has([aria-disabled])` child scan with `data-is-disabled` attribute for faster style recalculation + +- [#7548](https://github.com/primer/react/pull/7548) [`d4b32c3`](https://github.com/primer/react/commit/d4b32c3672d3d5421711324654c1028527dcdf38) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(useIsMacOS): replace useState+useEffect with useSyncExternalStore to eliminate unnecessary re-render + ## 38.12.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 30e3166fe1e..ad473ffe67b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.12.0", + "version": "38.13.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "./dist/index.js", "module": "./dist/index.js",