diff --git a/.changeset/brave-cheetahs-prove.md b/.changeset/brave-cheetahs-prove.md deleted file mode 100644 index 9e8f73c0063..00000000000 --- a/.changeset/brave-cheetahs-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Select component from team to staff flag diff --git a/.changeset/calm-meals-impress.md b/.changeset/calm-meals-impress.md deleted file mode 100644 index 210b515dbf9..00000000000 --- a/.changeset/calm-meals-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move CounterLabel CSS module feature flag from staff to ga diff --git a/.changeset/chilled-goats-visit.md b/.changeset/chilled-goats-visit.md deleted file mode 100644 index 442afc551c7..00000000000 --- a/.changeset/chilled-goats-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Spinner component from team to staff flag diff --git a/.changeset/curly-bikes-burn.md b/.changeset/curly-bikes-burn.md deleted file mode 100644 index 03bc23457c9..00000000000 --- a/.changeset/curly-bikes-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Radio component from team to staff flag diff --git a/.changeset/dirty-fans-tap.md b/.changeset/dirty-fans-tap.md deleted file mode 100644 index e524b12f1b3..00000000000 --- a/.changeset/dirty-fans-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update `Textarea` component to use CSS module diff --git a/.changeset/dry-seals-count.md b/.changeset/dry-seals-count.md deleted file mode 100644 index 87b384272ce..00000000000 --- a/.changeset/dry-seals-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert TextInput to CSS module behind feature flag diff --git a/.changeset/fair-wolves-attack.md b/.changeset/fair-wolves-attack.md deleted file mode 100644 index c618fad7d05..00000000000 --- a/.changeset/fair-wolves-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert Breadcrumbs to css module behind feature flag diff --git a/.changeset/fast-hats-drum.md b/.changeset/fast-hats-drum.md deleted file mode 100644 index d53a7844a25..00000000000 --- a/.changeset/fast-hats-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Pagehead component from team to staff flag diff --git a/.changeset/fluffy-crabs-rhyme.md b/.changeset/fluffy-crabs-rhyme.md deleted file mode 100644 index 9548f46ac53..00000000000 --- a/.changeset/fluffy-crabs-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -update version of lit-labs/react to latest lit/react. diff --git a/.changeset/forty-hornets-exercise.md b/.changeset/forty-hornets-exercise.md deleted file mode 100644 index 2f5eb8c0058..00000000000 --- a/.changeset/forty-hornets-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert Dialog v2 to CSS Modules behind feature flag diff --git a/.changeset/gentle-yaks-shake.md b/.changeset/gentle-yaks-shake.md deleted file mode 100644 index c84b39ddca5..00000000000 --- a/.changeset/gentle-yaks-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update `TreeView` component to use CSS Modules diff --git a/.changeset/grumpy-cherries-deny.md b/.changeset/grumpy-cherries-deny.md deleted file mode 100644 index 5b762db67a7..00000000000 --- a/.changeset/grumpy-cherries-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Details component from team to staff flag diff --git a/.changeset/honest-plums-approve.md b/.changeset/honest-plums-approve.md deleted file mode 100644 index 97da31e5ab4..00000000000 --- a/.changeset/honest-plums-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Header component from team to staff flag diff --git a/.changeset/hot-jobs-marry.md b/.changeset/hot-jobs-marry.md deleted file mode 100644 index 9d0fb77920d..00000000000 --- a/.changeset/hot-jobs-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Add forward ref to Popover diff --git a/.changeset/lovely-stingrays-jog.md b/.changeset/lovely-stingrays-jog.md deleted file mode 100644 index a4e1a140c03..00000000000 --- a/.changeset/lovely-stingrays-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Convert CheckBoxOrRadioGroup to CSS modules behind feature flag diff --git a/.changeset/odd-seas-study.md b/.changeset/odd-seas-study.md deleted file mode 100644 index 8a41ad5635e..00000000000 --- a/.changeset/odd-seas-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move BranchName component from team to staff flag diff --git a/.changeset/old-weeks-matter.md b/.changeset/old-weeks-matter.md deleted file mode 100644 index 19cf62741c0..00000000000 --- a/.changeset/old-weeks-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Skeleton component from team to staff flag diff --git a/.changeset/polite-ligers-exercise.md b/.changeset/polite-ligers-exercise.md deleted file mode 100644 index 890be37ab4b..00000000000 --- a/.changeset/polite-ligers-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -chore(ButtonGroup): Move ButtonGroup CSS module feature flag from staff to ga diff --git a/.changeset/quiet-garlics-compare.md b/.changeset/quiet-garlics-compare.md deleted file mode 100644 index 45b10547d46..00000000000 --- a/.changeset/quiet-garlics-compare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Do not pass through hoverColor prop into DOM element diff --git a/.changeset/real-fans-tap.md b/.changeset/real-fans-tap.md deleted file mode 100644 index f419b1ad11d..00000000000 --- a/.changeset/real-fans-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert TextInput to use data attributes diff --git a/.changeset/small-foxes-tan.md b/.changeset/small-foxes-tan.md deleted file mode 100644 index bc5ee27c455..00000000000 --- a/.changeset/small-foxes-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Convert ProgressBar to CSS modules behind feature flag diff --git a/.changeset/tall-cameras-unite.md b/.changeset/tall-cameras-unite.md deleted file mode 100644 index f42cd2a8bad..00000000000 --- a/.changeset/tall-cameras-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Migrate TextInputAction & TextInputInnerVisualSlot to CSS Modules behind feature flag diff --git a/.changeset/three-falcons-compete.md b/.changeset/three-falcons-compete.md deleted file mode 100644 index be14c153e1f..00000000000 --- a/.changeset/three-falcons-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update `Popover` component to use CSS modules behind the feature flag primer_react_css_modules_team diff --git a/.changeset/tidy-turtles-protect.md b/.changeset/tidy-turtles-protect.md deleted file mode 100644 index 6d378fe75da..00000000000 --- a/.changeset/tidy-turtles-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Check certain refs for nullishness to address HMR issues in dotcom diff --git a/examples/app-router/package.json b/examples/app-router/package.json index fc0bd1890f1..67edd7a1270 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.5.0", + "@primer/react": "37.6.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 97fad961973..dc895e279b3 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.5.0", + "@primer/react": "37.6.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 8844caa4814..aad3a55c548 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.5.0", + "@primer/react": "37.6.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 16058d45a19..7c5f0821334 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.5.0", + "@primer/react": "37.6.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 0b5c555d1b2..0bf75cd0ce9 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,59 @@ # @primer/react +## 37.6.0 + +### Minor Changes + +- [#5294](https://github.com/primer/react/pull/5294) [`912a0d7`](https://github.com/primer/react/commit/912a0d7102cb65d2b9c31a68a244795586d1ee3b) Thanks [@randall-krauskopf](https://github.com/randall-krauskopf)! - Update `Textarea` component to use CSS module + +- [#5227](https://github.com/primer/react/pull/5227) [`1cfbf63`](https://github.com/primer/react/commit/1cfbf633c6ccc01595a19b2e1d8714d59e56a007) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert TextInput to CSS module behind feature flag + +- [#5150](https://github.com/primer/react/pull/5150) [`e89edbc`](https://github.com/primer/react/commit/e89edbc6c8892e324eeb1af381a70f2ac0e75a3c) Thanks [@jonrohan](https://github.com/jonrohan)! - Convert Breadcrumbs to css module behind feature flag + +- [#5298](https://github.com/primer/react/pull/5298) [`3935811`](https://github.com/primer/react/commit/393581160180ccb87da126e441439748909f138d) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert Dialog v2 to CSS Modules behind feature flag + +- [#5267](https://github.com/primer/react/pull/5267) [`ffc8f91`](https://github.com/primer/react/commit/ffc8f91e9c96033abad523cb4440a144ace30db9) Thanks [@ktravers](https://github.com/ktravers)! - Update `TreeView` component to use CSS Modules + +- [#5320](https://github.com/primer/react/pull/5320) [`e9e4d1c`](https://github.com/primer/react/commit/e9e4d1c2781f6d45a3a001f89b352abb1a265c26) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Add forward ref to Popover + +- [#5319](https://github.com/primer/react/pull/5319) [`37c4e97`](https://github.com/primer/react/commit/37c4e9731af622be2b19fed82a1c9235517b918e) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Do not pass through hoverColor prop into DOM element + +- [#5257](https://github.com/primer/react/pull/5257) [`4aa40c9`](https://github.com/primer/react/commit/4aa40c9acd90f432c505abba6ca9213dbd971f5c) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Convert TextInput to use data attributes + +- [#5304](https://github.com/primer/react/pull/5304) [`a3fc488`](https://github.com/primer/react/commit/a3fc4881b8e3916a054900fa2a2b252056350bc9) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Convert ProgressBar to CSS modules behind feature flag + +- [#5276](https://github.com/primer/react/pull/5276) [`d91dc54`](https://github.com/primer/react/commit/d91dc541ece37c4a9681ded10b220f511aa34b2f) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Migrate TextInputAction & TextInputInnerVisualSlot to CSS Modules behind feature flag + +- [#5300](https://github.com/primer/react/pull/5300) [`65802fc`](https://github.com/primer/react/commit/65802fcbe2e882a53fef85a4b0efb6c326012ad6) Thanks [@francinelucca](https://github.com/francinelucca)! - Update `Popover` component to use CSS modules behind the feature flag primer_react_css_modules_team + +### Patch Changes + +- [#5285](https://github.com/primer/react/pull/5285) [`057d868`](https://github.com/primer/react/commit/057d868d657e88aeba6eea930bd4fdd50027f62c) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Select component from team to staff flag + +- [#5279](https://github.com/primer/react/pull/5279) [`aac10fa`](https://github.com/primer/react/commit/aac10fa1c134444791a01fe7c71d508f94ab5ca5) Thanks [@jonrohan](https://github.com/jonrohan)! - Move CounterLabel CSS module feature flag from staff to ga + +- [#5286](https://github.com/primer/react/pull/5286) [`d4cb322`](https://github.com/primer/react/commit/d4cb322ef030bb4bbf379a4a962fc39659779297) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Spinner component from team to staff flag + +- [#5288](https://github.com/primer/react/pull/5288) [`9d004d0`](https://github.com/primer/react/commit/9d004d037bbd740d30424e919383ba32a5f04eda) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Radio component from team to staff flag + +- [#5291](https://github.com/primer/react/pull/5291) [`8fd0035`](https://github.com/primer/react/commit/8fd003505d91a92c1ea9dc73c4b4efd926c2b6c0) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Pagehead component from team to staff flag + +- [#5321](https://github.com/primer/react/pull/5321) [`424d4a7`](https://github.com/primer/react/commit/424d4a7b9e7fc46e1f45dd2e9dd4500bc2a0437a) Thanks [@mattcosta7](https://github.com/mattcosta7)! - update version of lit-labs/react to latest lit/react. + +- [#5290](https://github.com/primer/react/pull/5290) [`7c94916`](https://github.com/primer/react/commit/7c9491628a2905c806a4d2758152f93331755ffc) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Details component from team to staff flag + +- [#5284](https://github.com/primer/react/pull/5284) [`8853f5f`](https://github.com/primer/react/commit/8853f5f9daa6e4f4c284d432e7ce6747709afc27) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Header component from team to staff flag + +- [#5275](https://github.com/primer/react/pull/5275) [`d1b7bce`](https://github.com/primer/react/commit/d1b7bceb9ca9211a1d12dbf83c973ddbe7cde973) Thanks [@jonrohan](https://github.com/jonrohan)! - Convert CheckBoxOrRadioGroup to CSS modules behind feature flag + +- [#5287](https://github.com/primer/react/pull/5287) [`41ae5aa`](https://github.com/primer/react/commit/41ae5aa7b38707072310354d89721b677bfa4d23) Thanks [@jonrohan](https://github.com/jonrohan)! - Move BranchName component from team to staff flag + +- [#5289](https://github.com/primer/react/pull/5289) [`cc876d9`](https://github.com/primer/react/commit/cc876d9ecbf7f4e2d1a7af94605c6be2d7b6fe45) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Skeleton component from team to staff flag + +- [#5281](https://github.com/primer/react/pull/5281) [`b8e138e`](https://github.com/primer/react/commit/b8e138e76721003240cf813257e717d607cbb467) Thanks [@jonrohan](https://github.com/jonrohan)! - chore(ButtonGroup): Move ButtonGroup CSS module feature flag from staff to ga + +- [#5209](https://github.com/primer/react/pull/5209) [`556afbd`](https://github.com/primer/react/commit/556afbda728ef34a278f786f11cce6c459817178) Thanks [@dusave](https://github.com/dusave)! - Check certain refs for nullishness to address HMR issues in dotcom + ## 37.5.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 6b51224433f..efac5505110 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.5.0", + "version": "37.6.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",