diff --git a/.changeset/big-jokes-jog.md b/.changeset/big-jokes-jog.md deleted file mode 100644 index dfe2c30e235e..000000000000 --- a/.changeset/big-jokes-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -BugFix: Fix issue in ButtonGroup Overlay screenshots by updating the selector to use `:is(button, a)` and `:first-of-type` and `:last-of-type` pseudo-classes. diff --git a/.changeset/cyan-buses-visit.md b/.changeset/cyan-buses-visit.md deleted file mode 100644 index 53c017704c1f..000000000000 --- a/.changeset/cyan-buses-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert SelectPanel to CSS modules behind feature flag diff --git a/.changeset/empty-crews-impress.md b/.changeset/empty-crews-impress.md deleted file mode 100644 index 2b7a16d2d319..000000000000 --- a/.changeset/empty-crews-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert SegmentedControl to use CSS modules behind feature flag diff --git a/.changeset/friendly-tomatoes-yell.md b/.changeset/friendly-tomatoes-yell.md deleted file mode 100644 index 01a1c79543eb..000000000000 --- a/.changeset/friendly-tomatoes-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert PageHeader to CSS modules behind feature flag diff --git a/.changeset/gentle-apes-do.md b/.changeset/gentle-apes-do.md deleted file mode 100644 index 4ceb2ac641d9..000000000000 --- a/.changeset/gentle-apes-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert KeybindingHint to CSS modules behind feature flag diff --git a/.changeset/hot-chicken-tickle.md b/.changeset/hot-chicken-tickle.md deleted file mode 100644 index d09a216a5a4f..000000000000 --- a/.changeset/hot-chicken-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update `AvatarStack` component to use CSS modules behind the feature flag primer_react_css_modules_team diff --git a/.changeset/large-grasshoppers-work.md b/.changeset/large-grasshoppers-work.md deleted file mode 100644 index 38180fdb6701..000000000000 --- a/.changeset/large-grasshoppers-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Remove the CSS modules feature flag from Checkbox diff --git a/.changeset/large-rats-film.md b/.changeset/large-rats-film.md deleted file mode 100644 index 65778f70ed56..000000000000 --- a/.changeset/large-rats-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -docs: fix *.docs.json story ids diff --git a/.changeset/quick-chairs-rule.md b/.changeset/quick-chairs-rule.md deleted file mode 100644 index 45e191d552b1..000000000000 --- a/.changeset/quick-chairs-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert `Pagination` component to use CSS modules diff --git a/.changeset/slow-spoons-peel.md b/.changeset/slow-spoons-peel.md deleted file mode 100644 index 83dcb2f59434..000000000000 --- a/.changeset/slow-spoons-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update `Token`, `IssueLabelToken`, `AvatarToken` components to use CSS Modules diff --git a/.changeset/soft-bananas-behave.md b/.changeset/soft-bananas-behave.md deleted file mode 100644 index 1df88830ada7..000000000000 --- a/.changeset/soft-bananas-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update FormControl sub-components to use new styled components format for migration diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 67edd7a1270a..690b6016e81c 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.6.0", + "@primer/react": "37.7.0", "next": "^14.2.10", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index dc895e279b3e..7374c5f275e5 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.6.0", + "@primer/react": "37.7.0", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.7", diff --git a/examples/consumer-test/package.json b/examples/consumer-test/package.json index aad3a55c548d..2e7173e7ed9e 100644 --- a/examples/consumer-test/package.json +++ b/examples/consumer-test/package.json @@ -9,7 +9,7 @@ "@types/react": "^18.3.11", "@types/react-dom": "^18.2.19", "@types/styled-components": "^5.1.11", - "@primer/react": "37.6.0", + "@primer/react": "37.7.0", "react": "^18.0.0", "react-dom": "^18.0.0", "styled-components": "^5.3.11", diff --git a/examples/theming/package.json b/examples/theming/package.json index 7c5f08213347..9f6af42e907b 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.6.0", + "@primer/react": "37.7.0", "clsx": "^1.2.1", "next": "^14.2.10", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index af6002fcf024..c007e8d5a445 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,33 @@ # @primer/react +## 37.7.0 + +### Minor Changes + +- [#5324](https://github.com/primer/react/pull/5324) [`bd5f0d4`](https://github.com/primer/react/commit/bd5f0d4cd78d2fb557f2a7bb3ba7157d5ca5c3b9) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert SelectPanel to CSS modules behind feature flag + +- [#5336](https://github.com/primer/react/pull/5336) [`59a6654`](https://github.com/primer/react/commit/59a6654b34430d4469e94c5b56881558e599bccd) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert SegmentedControl to use CSS modules behind feature flag + +- [#5332](https://github.com/primer/react/pull/5332) [`3fcfba8`](https://github.com/primer/react/commit/3fcfba8a2c85a4d4f58eb66f7567b96adfcb2f20) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert PageHeader to CSS modules behind feature flag + +- [#5326](https://github.com/primer/react/pull/5326) [`1d79cc5`](https://github.com/primer/react/commit/1d79cc5c2ee19b0d957e68d783ac644728fae6ba) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert KeybindingHint to CSS modules behind feature flag + +- [#5299](https://github.com/primer/react/pull/5299) [`8673664`](https://github.com/primer/react/commit/867366474d67360d74b771ffbf5b58789535dad2) Thanks [@jonrohan](https://github.com/jonrohan)! - Update `AvatarStack` component to use CSS modules behind the feature flag primer_react_css_modules_team + +- [#5337](https://github.com/primer/react/pull/5337) [`7d9bb0c`](https://github.com/primer/react/commit/7d9bb0cad33fc4bcb1121f3437466924190952de) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from Checkbox + +- [#5302](https://github.com/primer/react/pull/5302) [`82bf850`](https://github.com/primer/react/commit/82bf85030b8f728b8a7845b0a523cff1b0704e05) Thanks [@randall-krauskopf](https://github.com/randall-krauskopf)! - Convert `Pagination` component to use CSS modules + +- [#5271](https://github.com/primer/react/pull/5271) [`05db651`](https://github.com/primer/react/commit/05db651698af5a713cf0a5624016a2f86ab13a90) Thanks [@randall-krauskopf](https://github.com/randall-krauskopf)! - Update `Token`, `IssueLabelToken`, `AvatarToken` components to use CSS Modules + +- [#5342](https://github.com/primer/react/pull/5342) [`39df71e`](https://github.com/primer/react/commit/39df71e0c8724de6d26dcb35b8eb1bc85b36281e) Thanks [@joshblack](https://github.com/joshblack)! - Update FormControl sub-components to use new styled components format for migration + +### Patch Changes + +- [#5343](https://github.com/primer/react/pull/5343) [`70005b8`](https://github.com/primer/react/commit/70005b8043ed8845ccc8d675f9bf4735a5da94c8) Thanks [@jonrohan](https://github.com/jonrohan)! - BugFix: Fix issue in ButtonGroup Overlay screenshots by updating the selector to use `:is(button, a)` and `:first-of-type` and `:last-of-type` pseudo-classes. + +- [#5345](https://github.com/primer/react/pull/5345) [`e231b5f`](https://github.com/primer/react/commit/e231b5f1f70d789fa65f28e768f8675ba2d8cad5) Thanks [@francinelucca](https://github.com/francinelucca)! - docs: fix \*.docs.json story ids + ## 37.6.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 10f99488535f..9bb3d96a09db 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.6.0", + "version": "37.7.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",