diff --git a/.changeset/cuddly-facts-speak.md b/.changeset/cuddly-facts-speak.md deleted file mode 100644 index 8ca594e5c1f..00000000000 --- a/.changeset/cuddly-facts-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the BaseStyles component diff --git a/.changeset/empty-cooks-love.md b/.changeset/empty-cooks-love.md deleted file mode 100644 index 62a7e9d3d98..00000000000 --- a/.changeset/empty-cooks-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the TextInput component diff --git a/.changeset/fine-bugs-shine.md b/.changeset/fine-bugs-shine.md deleted file mode 100644 index d639aa16b23..00000000000 --- a/.changeset/fine-bugs-shine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add support for the `className` prop to `FormControl.Validation` diff --git a/.changeset/fluffy-squids-hug.md b/.changeset/fluffy-squids-hug.md deleted file mode 100644 index 40b09459fcd..00000000000 --- a/.changeset/fluffy-squids-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): do not depend on id for selection comparison diff --git a/.changeset/heavy-mangos-stay.md b/.changeset/heavy-mangos-stay.md deleted file mode 100644 index 4ebb3ce03d1..00000000000 --- a/.changeset/heavy-mangos-stay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Remove the primer_react_css_modules_staff feature flag. Also needed to rework the feature flag logic for the NavList component. diff --git a/.changeset/modern-doodles-learn.md b/.changeset/modern-doodles-learn.md deleted file mode 100644 index 67bfa639758..00000000000 --- a/.changeset/modern-doodles-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the Overlay component diff --git a/.changeset/open-bananas-smile.md b/.changeset/open-bananas-smile.md deleted file mode 100644 index 58885f34a26..00000000000 --- a/.changeset/open-bananas-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the Dialog component diff --git a/.changeset/petite-women-notice.md b/.changeset/petite-women-notice.md deleted file mode 100644 index 8411f172253..00000000000 --- a/.changeset/petite-women-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the TooltipV2 component diff --git a/.changeset/soft-cases-own.md b/.changeset/soft-cases-own.md deleted file mode 100644 index 6c32a66d563..00000000000 --- a/.changeset/soft-cases-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Update Avatar component to correctly merge style when style prop is provided diff --git a/.changeset/thick-teams-taste.md b/.changeset/thick-teams-taste.md deleted file mode 100644 index 1e528018f9f..00000000000 --- a/.changeset/thick-teams-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the TreeView component diff --git a/.changeset/tough-radios-burn.md b/.changeset/tough-radios-burn.md deleted file mode 100644 index 4ad681eca13..00000000000 --- a/.changeset/tough-radios-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Remove the CSS modules feature flag from the ProgressBar component diff --git a/.changeset/wise-gifts-see.md b/.changeset/wise-gifts-see.md deleted file mode 100644 index 752093c4a66..00000000000 --- a/.changeset/wise-gifts-see.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Update components to use jsx from react/jsx-runtime instead of createElement diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 6af02cc3fb3..1856303b429 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.21.0", + "@primer/react": "37.22.0", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.19", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index c2374a9cd88..93e7109f4bf 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.21.0", + "@primer/react": "37.22.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 d114060118c..01cc1fbc036 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.21.0", + "@primer/react": "37.22.0", "clsx": "^2.1.1", "next": "^14.2.26", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 2275ce63be6..40a91e19c8e 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,35 @@ # @primer/react +## 37.22.0 + +### Minor Changes + +- [#5981](https://github.com/primer/react/pull/5981) [`b03f78f`](https://github.com/primer/react/commit/b03f78fa0d208f932ce056d8a5b64b81da812048) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the BaseStyles component + +- [#5970](https://github.com/primer/react/pull/5970) [`02ed196`](https://github.com/primer/react/commit/02ed196d510e757907e2acf780d471dad4a68e37) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the TextInput component + +- [#5984](https://github.com/primer/react/pull/5984) [`103c3bf`](https://github.com/primer/react/commit/103c3bf9a7385bf6f274fe5abadc3f5cb200b026) Thanks [@joshblack](https://github.com/joshblack)! - Add support for the `className` prop to `FormControl.Validation` + +- [#5982](https://github.com/primer/react/pull/5982) [`36f1007`](https://github.com/primer/react/commit/36f100706a32d369d1f464caeaa60ff38b576d30) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the Overlay component + +- [#5969](https://github.com/primer/react/pull/5969) [`1066419`](https://github.com/primer/react/commit/1066419cd7de84174bd53bdde0e4c0c866d20e45) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the Dialog component + +- [#5872](https://github.com/primer/react/pull/5872) [`2b98c2c`](https://github.com/primer/react/commit/2b98c2cc09dea0097b0cfb0b32bc1393b8cd5521) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the TooltipV2 component + +- [#5934](https://github.com/primer/react/pull/5934) [`c1ea6cf`](https://github.com/primer/react/commit/c1ea6cf6ff4a1ecca7861da242ab9a6935a8139f) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the TreeView component + +- [#5983](https://github.com/primer/react/pull/5983) [`8a22d86`](https://github.com/primer/react/commit/8a22d86693bd98c7993730f87706f01564d06a89) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the CSS modules feature flag from the ProgressBar component + +- [#5973](https://github.com/primer/react/pull/5973) [`6d3fc05`](https://github.com/primer/react/commit/6d3fc0553da65631ecbb049e763adda01776c276) Thanks [@joshblack](https://github.com/joshblack)! - Update components to use jsx from react/jsx-runtime instead of createElement + +### Patch Changes + +- [#5986](https://github.com/primer/react/pull/5986) [`308fe82`](https://github.com/primer/react/commit/308fe82909f3d922be0a6582f83e96798678ec78) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(SelectPanel): do not depend on id for selection comparison + +- [#5968](https://github.com/primer/react/pull/5968) [`0ea045a`](https://github.com/primer/react/commit/0ea045aa05c2555cd54b8c76394a0c5c8f3dab1d) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove the primer_react_css_modules_staff feature flag. Also needed to rework the feature flag logic for the NavList component. + +- [#5963](https://github.com/primer/react/pull/5963) [`7562cbb`](https://github.com/primer/react/commit/7562cbb68cdbfa11dcc7f08f802da10591af8abe) Thanks [@joshblack](https://github.com/joshblack)! - Update Avatar component to correctly merge style when style prop is provided + ## 37.21.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index d7f262f6c65..69b550139fa 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.21.0", + "version": "37.22.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",