diff --git a/.changeset/many-rivers-deny.md b/.changeset/many-rivers-deny.md deleted file mode 100644 index 6443c2b25ea..00000000000 --- a/.changeset/many-rivers-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add `NavList.ShowMoreItem` component to support showing more content within a `NavList`. diff --git a/.changeset/pink-hotels-rescue.md b/.changeset/pink-hotels-rescue.md deleted file mode 100644 index 54854920135..00000000000 --- a/.changeset/pink-hotels-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -feat: Support `className` prop in `FormControl.Caption` component diff --git a/.changeset/rare-experts-beg.md b/.changeset/rare-experts-beg.md deleted file mode 100644 index 8d98d6d4c56..00000000000 --- a/.changeset/rare-experts-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Update FormControl to use CSS Modules GA feature flag. diff --git a/.changeset/seven-chairs-act.md b/.changeset/seven-chairs-act.md deleted file mode 100644 index 3b0d356259a..00000000000 --- a/.changeset/seven-chairs-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix: user red focus state for inputs when in error state diff --git a/.changeset/seven-falcons-fry.md b/.changeset/seven-falcons-fry.md deleted file mode 100644 index 690311a6468..00000000000 --- a/.changeset/seven-falcons-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -chore: Ensure class names conform to PascalCase diff --git a/.changeset/sixty-otters-lie.md b/.changeset/sixty-otters-lie.md deleted file mode 100644 index fd11e567ce8..00000000000 --- a/.changeset/sixty-otters-lie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -ActionBar: Improves `disabled` state on `ActionBar.IconButton`; includes `disabled` state in overflow menu diff --git a/.changeset/strange-pets-stare.md b/.changeset/strange-pets-stare.md deleted file mode 100644 index 7470f76a8a1..00000000000 --- a/.changeset/strange-pets-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix `AvatarStack` stacking `z-index` bugs by creating a new stacking context around the component diff --git a/.changeset/strong-cobras-refuse-1.md b/.changeset/strong-cobras-refuse-1.md deleted file mode 100644 index 70a30664eb7..00000000000 --- a/.changeset/strong-cobras-refuse-1.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving AvatarStack to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-10.md b/.changeset/strong-cobras-refuse-10.md deleted file mode 100644 index 8a3c74e5495..00000000000 --- a/.changeset/strong-cobras-refuse-10.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving PageLayout to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-11.md b/.changeset/strong-cobras-refuse-11.md deleted file mode 100644 index 1160fad1b20..00000000000 --- a/.changeset/strong-cobras-refuse-11.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving Pagination to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-12.md b/.changeset/strong-cobras-refuse-12.md deleted file mode 100644 index 0721a13b444..00000000000 --- a/.changeset/strong-cobras-refuse-12.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving SegmentedControl to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-13.md b/.changeset/strong-cobras-refuse-13.md deleted file mode 100644 index c6746acefb5..00000000000 --- a/.changeset/strong-cobras-refuse-13.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving SelectPanel to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-14.md b/.changeset/strong-cobras-refuse-14.md deleted file mode 100644 index b10fededc88..00000000000 --- a/.changeset/strong-cobras-refuse-14.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving SubNav to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-15.md b/.changeset/strong-cobras-refuse-15.md deleted file mode 100644 index abbb3d7d775..00000000000 --- a/.changeset/strong-cobras-refuse-15.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving Token to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-16.md b/.changeset/strong-cobras-refuse-16.md deleted file mode 100644 index eebf9408c8d..00000000000 --- a/.changeset/strong-cobras-refuse-16.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving Tooltip to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-17.md b/.changeset/strong-cobras-refuse-17.md deleted file mode 100644 index 36369c2c014..00000000000 --- a/.changeset/strong-cobras-refuse-17.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving BaseStyles to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-18.md b/.changeset/strong-cobras-refuse-18.md deleted file mode 100644 index 5536b566838..00000000000 --- a/.changeset/strong-cobras-refuse-18.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving SideNav to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-2.md b/.changeset/strong-cobras-refuse-2.md deleted file mode 100644 index 8c4ae7f6ace..00000000000 --- a/.changeset/strong-cobras-refuse-2.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving ConfirmationDialog to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-3.md b/.changeset/strong-cobras-refuse-3.md deleted file mode 100644 index 67b4db56df6..00000000000 --- a/.changeset/strong-cobras-refuse-3.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving DataTable to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-4.md b/.changeset/strong-cobras-refuse-4.md deleted file mode 100644 index 07667c7913a..00000000000 --- a/.changeset/strong-cobras-refuse-4.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving UnderlinePanels to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-5.md b/.changeset/strong-cobras-refuse-5.md deleted file mode 100644 index 8f286afe7d6..00000000000 --- a/.changeset/strong-cobras-refuse-5.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving InlineMessage to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-6.md b/.changeset/strong-cobras-refuse-6.md deleted file mode 100644 index d54d0283a25..00000000000 --- a/.changeset/strong-cobras-refuse-6.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving KeybindingHint to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-7.md b/.changeset/strong-cobras-refuse-7.md deleted file mode 100644 index e13bbed3953..00000000000 --- a/.changeset/strong-cobras-refuse-7.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving NavList to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-8.md b/.changeset/strong-cobras-refuse-8.md deleted file mode 100644 index 7b512eb84a1..00000000000 --- a/.changeset/strong-cobras-refuse-8.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving Overlay to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse-9.md b/.changeset/strong-cobras-refuse-9.md deleted file mode 100644 index 050224f140a..00000000000 --- a/.changeset/strong-cobras-refuse-9.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving PageHeader to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/strong-cobras-refuse.md b/.changeset/strong-cobras-refuse.md deleted file mode 100644 index 522106dcad3..00000000000 --- a/.changeset/strong-cobras-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Moving Autocomplete to `primer_react_css_modules_ga` feature flag diff --git a/.changeset/stupid-moons-admire.md b/.changeset/stupid-moons-admire.md deleted file mode 100644 index 359b15c3396..00000000000 --- a/.changeset/stupid-moons-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move `ActionList` feature flag to GA diff --git a/.changeset/swift-ravens-join.md b/.changeset/swift-ravens-join.md deleted file mode 100644 index fce6a1f147d..00000000000 --- a/.changeset/swift-ravens-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(TextInput): use cursor text on wrapper diff --git a/.changeset/thick-singers-fold.md b/.changeset/thick-singers-fold.md deleted file mode 100644 index 9581e74a135..00000000000 --- a/.changeset/thick-singers-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fixes AvatarStack styling bugs. Primarily, preventing avatars from appearing above overlays such as dialog modals. diff --git a/.changeset/three-lobsters-wonder.md b/.changeset/three-lobsters-wonder.md deleted file mode 100644 index 2c5f57dd8f7..00000000000 --- a/.changeset/three-lobsters-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -fix(SplitPageLayout): add className prop diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 6ddeea9ab41..e44ffbc8f06 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.14.0", + "@primer/react": "37.15.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 33357051d16..5f5774be73b 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.14.0", + "@primer/react": "37.15.0", "next": "^15.1.4", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 51c128e72a1..60b89e32357 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.14.0", + "@primer/react": "37.15.0", "clsx": "^1.2.1", "next": "^14.2.15", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index a8a04f84a95..481d9367cb1 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,71 @@ # @primer/react +## 37.15.0 + +### Minor Changes + +- [#4686](https://github.com/primer/react/pull/4686) [`6b137a4`](https://github.com/primer/react/commit/6b137a4c5358c776d67de63798056444ca66c136) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Add `NavList.ShowMoreItem` component to support showing more content within a `NavList`. + +- [#5726](https://github.com/primer/react/pull/5726) [`2646c12`](https://github.com/primer/react/commit/2646c126d6050de8a1a947a91aa97cae38edaef3) Thanks [@smockle](https://github.com/smockle)! - feat: Support `className` prop in `FormControl.Caption` component + +- [#5716](https://github.com/primer/react/pull/5716) [`d62a494`](https://github.com/primer/react/commit/d62a4942d65d32a7ea6ad4f6916c2120f685dad3) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - chore: Ensure class names conform to PascalCase + +- [#5666](https://github.com/primer/react/pull/5666) [`7400549`](https://github.com/primer/react/commit/740054915ad1f51ab16f9e68addb17716f068437) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionBar: Improves `disabled` state on `ActionBar.IconButton`; includes `disabled` state in overflow menu + +- [#5737](https://github.com/primer/react/pull/5737) [`454ff20`](https://github.com/primer/react/commit/454ff20b34565bdeaa43ebcc161d105a41a7536e) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - fix(SplitPageLayout): add className prop + +### Patch Changes + +- [#5738](https://github.com/primer/react/pull/5738) [`a4137bc`](https://github.com/primer/react/commit/a4137bcf8c2b62b51ec8dfb26ab0bc2f35f83988) Thanks [@jamieshark](https://github.com/jamieshark)! - Update FormControl to use CSS Modules GA feature flag. + +- [#5742](https://github.com/primer/react/pull/5742) [`86cd9f0`](https://github.com/primer/react/commit/86cd9f0ee6bb912acc7caf78918613f3b82aec5c) Thanks [@francinelucca](https://github.com/francinelucca)! - fix: user red focus state for inputs when in error state + +- [#5705](https://github.com/primer/react/pull/5705) [`2857a8e`](https://github.com/primer/react/commit/2857a8e9b4e4ae619a664f7b452df302da7e3e89) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix `AvatarStack` stacking `z-index` bugs by creating a new stacking context around the component + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving AvatarStack to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving PageLayout to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving Pagination to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving SegmentedControl to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving SelectPanel to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving SubNav to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving Token to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving Tooltip to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving BaseStyles to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving SideNav to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving ConfirmationDialog to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving DataTable to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving UnderlinePanels to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving InlineMessage to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving KeybindingHint to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving NavList to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving Overlay to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving PageHeader to `primer_react_css_modules_ga` feature flag + +- [#5710](https://github.com/primer/react/pull/5710) [`b1cdc63`](https://github.com/primer/react/commit/b1cdc6337d0b83eefe33446f2f212090acb5a61d) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving Autocomplete to `primer_react_css_modules_ga` feature flag + +- [#5743](https://github.com/primer/react/pull/5743) [`9d78410`](https://github.com/primer/react/commit/9d78410bb4542972cd8f371e134c8ffc6d5ca235) Thanks [@langermank](https://github.com/langermank)! - Move `ActionList` feature flag to GA + +- [#5733](https://github.com/primer/react/pull/5733) [`7849c95`](https://github.com/primer/react/commit/7849c953377fa1d9e5b3c9db7af64468aab903d5) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(TextInput): use cursor text on wrapper + +- [#5714](https://github.com/primer/react/pull/5714) [`0cfafe8`](https://github.com/primer/react/commit/0cfafe8a3ecad29238f88ab86201764364446ce3) Thanks [@mperrotti](https://github.com/mperrotti)! - Fixes AvatarStack styling bugs. Primarily, preventing avatars from appearing above overlays such as dialog modals. + ## 37.14.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index d64f4c612e8..21097de4e10 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.14.0", + "version": "37.15.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",