From 457ff5954ff920fa7d7566b0a2c30e0eee8cda92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 22:08:53 +0000 Subject: [PATCH] Version Packages --- .changeset/clever-geckos-sleep.md | 5 ---- .changeset/cold-lions-listen.md | 5 ---- .changeset/datatable-stable-selectors.md | 20 ------------- .changeset/fast-pugs-camp.md | 5 ---- .changeset/gold-humans-tap.md | 5 ---- .changeset/hot-phones-sing.md | 5 ---- .changeset/shaggy-houses-laugh.md | 5 ---- .changeset/swift-grapes-warn.md | 5 ---- examples/codesandbox/package.json | 2 +- examples/nextjs/package.json | 2 +- examples/theming/package.json | 2 +- packages/react/CHANGELOG.md | 37 ++++++++++++++++++++++++ packages/react/package.json | 2 +- 13 files changed, 41 insertions(+), 59 deletions(-) delete mode 100644 .changeset/clever-geckos-sleep.md delete mode 100644 .changeset/cold-lions-listen.md delete mode 100644 .changeset/datatable-stable-selectors.md delete mode 100644 .changeset/fast-pugs-camp.md delete mode 100644 .changeset/gold-humans-tap.md delete mode 100644 .changeset/hot-phones-sing.md delete mode 100644 .changeset/shaggy-houses-laugh.md delete mode 100644 .changeset/swift-grapes-warn.md diff --git a/.changeset/clever-geckos-sleep.md b/.changeset/clever-geckos-sleep.md deleted file mode 100644 index d5c08a9a720..00000000000 --- a/.changeset/clever-geckos-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -perf(ActionList): replace :has() selector with JS-computed attribute diff --git a/.changeset/cold-lions-listen.md b/.changeset/cold-lions-listen.md deleted file mode 100644 index c76d57f910d..00000000000 --- a/.changeset/cold-lions-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Deprecate the `useResponsiveValue` hook. diff --git a/.changeset/datatable-stable-selectors.md b/.changeset/datatable-stable-selectors.md deleted file mode 100644 index 13ed25a58a6..00000000000 --- a/.changeset/datatable-stable-selectors.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@primer/react': minor ---- - -Add stable `data-component` selectors to multiple components following ADR-023: - -- **ActionBar** -- **ActionList** and friends -- **Button** -- **FilteredActionList** and friends -- **Link** -- **LinkButton** -- **Pagination** -- **SelectPanel** and friends -- **Table** and friends -- **TextInput** -- **TextInputWithTokens** -- **TooltipV2** - -This enables consumers to query and test components using stable selectors like `[data-component="Table.Row"]`. diff --git a/.changeset/fast-pugs-camp.md b/.changeset/fast-pugs-camp.md deleted file mode 100644 index 31a8ce872ff..00000000000 --- a/.changeset/fast-pugs-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Breadcrumbs: On narrow viewports, only show the current page breadcrumb and the overflow menu when `overflow="menu"` is set. diff --git a/.changeset/gold-humans-tap.md b/.changeset/gold-humans-tap.md deleted file mode 100644 index eafb21a263e..00000000000 --- a/.changeset/gold-humans-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -SelectPanel: Lock body scroll when modal variant is on. diff --git a/.changeset/hot-phones-sing.md b/.changeset/hot-phones-sing.md deleted file mode 100644 index 83c4be66599..00000000000 --- a/.changeset/hot-phones-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -AnchoredOverlay: (Behind feature flag) Make popover API usage opt-in diff --git a/.changeset/shaggy-houses-laugh.md b/.changeset/shaggy-houses-laugh.md deleted file mode 100644 index 933fba00f38..00000000000 --- a/.changeset/shaggy-houses-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -add data-component attributes for Avatar, AvatarStack, Banner, & BaseStyles diff --git a/.changeset/swift-grapes-warn.md b/.changeset/swift-grapes-warn.md deleted file mode 100644 index 91f64d56658..00000000000 --- a/.changeset/swift-grapes-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add borderRadius prop to Card component. diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index b98a18f46e0..904a6656751 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.20.0", + "@primer/react": "38.21.0", "@primer/styled-react": "1.0.6", "styled-components": "5.x", "typescript": "^5.9.2", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 8e2c5791e13..eabda2fd4f7 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.20.0", + "@primer/react": "38.21.0", "@primer/styled-react": "1.0.6", "next": "^16.1.7", "react": "^19.2.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 3f1227c8274..26cfd6eb09f 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.20.0", + "@primer/react": "38.21.0", "@primer/styled-react": "1.0.6", "clsx": "^2.1.1", "next": "^16.1.7", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9fd2cb679b2..e57e58478c6 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,42 @@ # @primer/react +## 38.21.0 + +### Minor Changes + +- [#7760](https://github.com/primer/react/pull/7760) [`b2e0efd`](https://github.com/primer/react/commit/b2e0efd04c61e526d8e7db6bc773f9b4ab155d72) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Deprecate the `useResponsiveValue` hook. + +- [#7724](https://github.com/primer/react/pull/7724) [`d813099`](https://github.com/primer/react/commit/d813099b7377be4eed329b4276e8b231054326c8) Thanks [@francinelucca](https://github.com/francinelucca)! - Add stable `data-component` selectors to multiple components following ADR-023: + + - **ActionBar** + - **ActionList** and friends + - **Button** + - **FilteredActionList** and friends + - **Link** + - **LinkButton** + - **Pagination** + - **SelectPanel** and friends + - **Table** and friends + - **TextInput** + - **TextInputWithTokens** + - **TooltipV2** + + This enables consumers to query and test components using stable selectors like `[data-component="Table.Row"]`. + +- [#7766](https://github.com/primer/react/pull/7766) [`b3f06f1`](https://github.com/primer/react/commit/b3f06f1e2c91125c7b6b035bd019f534219d358f) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: (Behind feature flag) Make popover API usage opt-in + +- [#7763](https://github.com/primer/react/pull/7763) [`b288d6e`](https://github.com/primer/react/commit/b288d6e2dc9d1eef345ef4d16f6b0fba4f165955) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add borderRadius prop to Card component. + +### Patch Changes + +- [#7714](https://github.com/primer/react/pull/7714) [`e974d9f`](https://github.com/primer/react/commit/e974d9f6d156805dbda9639a3fe6091a02a1a754) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): replace :has() selector with JS-computed attribute + +- [#7754](https://github.com/primer/react/pull/7754) [`9e3fe4b`](https://github.com/primer/react/commit/9e3fe4b501ce5affb558bf92697e5c79341903ca) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Breadcrumbs: On narrow viewports, only show the current page breadcrumb and the overflow menu when `overflow="menu"` is set. + +- [#7757](https://github.com/primer/react/pull/7757) [`ed82a1e`](https://github.com/primer/react/commit/ed82a1e0399b98428d4b794239bb37649806b5cc) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - SelectPanel: Lock body scroll when modal variant is on. + +- [#7734](https://github.com/primer/react/pull/7734) [`421ebf0`](https://github.com/primer/react/commit/421ebf0a54558a29f1efbe1850036f80b1bbe126) Thanks [@llastflowers](https://github.com/llastflowers)! - add data-component attributes for Avatar, AvatarStack, Banner, & BaseStyles + ## 38.20.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index bf354b115d6..e19b7e3f38a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.20.0", + "version": "38.21.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "./dist/index.js", "module": "./dist/index.js",