diff --git a/.changeset/actionbar-more-items-label.md b/.changeset/actionbar-more-items-label.md deleted file mode 100644 index 0b8477d7e45..00000000000 --- a/.changeset/actionbar-more-items-label.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Update the ActionBar overflow menu anchor label to `More items` diff --git a/.changeset/contain-layout-high-churn.md b/.changeset/contain-layout-high-churn.md deleted file mode 100644 index fa08dda1c4e..00000000000 --- a/.changeset/contain-layout-high-churn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Add `contain: layout` to high-churn overflow containers (`ActionBar`, `UnderlineNav`, `UnderlinePanels`, and `LabelGroup`) so their frequent reflows no longer invalidate ancestor layout. diff --git a/.changeset/guard-missing-feature-flag-context.md b/.changeset/guard-missing-feature-flag-context.md deleted file mode 100644 index 02b0166f813..00000000000 --- a/.changeset/guard-missing-feature-flag-context.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -FeatureFlags: Guard against missing context in `useFeatureFlag` so it returns `false` instead of throwing when used outside a provider diff --git a/.changeset/heavy-brooms-wash.md b/.changeset/heavy-brooms-wash.md deleted file mode 100644 index 78684058b4a..00000000000 --- a/.changeset/heavy-brooms-wash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix `UnderlineNav` items all being considered overflowing on Safari with text size overrides diff --git a/.changeset/pagelayout-export-resize-primitives.md b/.changeset/pagelayout-export-resize-primitives.md deleted file mode 100644 index f5befb8df6f..00000000000 --- a/.changeset/pagelayout-export-resize-primitives.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -PageLayout: Export the resize primitives `usePaneWidth` and `DragHandle` (with `defaultPaneWidth` and related types) so pane-resize behavior can be reused outside of `PageLayout`. diff --git a/.changeset/perf-anchored-position-cache-scrollables.md b/.changeset/perf-anchored-position-cache-scrollables.md deleted file mode 100644 index eb9feea9e44..00000000000 --- a/.changeset/perf-anchored-position-cache-scrollables.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -`useAnchoredPosition`: improve performance by caching the scrollable-ancestor walk per anchor, reducing repositioning work for overlays, menus, and tooltips. diff --git a/.changeset/tidy-tools-fetch.md b/.changeset/tidy-tools-fetch.md deleted file mode 100644 index 4650a0a55b5..00000000000 --- a/.changeset/tidy-tools-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/mcp': minor ---- - -Components: Add a batch tool for retrieving documentation for multiple components in one call. diff --git a/.changeset/underline-item-list-flex-grow.md b/.changeset/underline-item-list-flex-grow.md deleted file mode 100644 index cae26e4cd3e..00000000000 --- a/.changeset/underline-item-list-flex-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fix `UnderlineNav` tab list not filling the full width of the underline nav in Safari diff --git a/.changeset/underline-wrapper-force-no-border.md b/.changeset/underline-wrapper-force-no-border.md deleted file mode 100644 index 40c38b7da33..00000000000 --- a/.changeset/underline-wrapper-force-no-border.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Pin the underline tabbed interface wrapper's vertical box model in wrap mode so external border and padding overrides can no longer offset its height and incorrectly trigger the overflow "more" menu diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 747787610a7..847bccb96e7 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -14,7 +14,7 @@ "react-dom": "^18.3.1" }, "devDependencies": { - "@primer/react": "38.32.0", + "@primer/react": "38.33.0", "@primer/styled-react": "1.1.0", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 497d04d7313..2adc57400bd 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.32.0", + "@primer/react": "38.33.0", "@primer/styled-react": "1.1.0", "next": "^16.2.10", "react": "^19.2.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 99450a31e5c..1b7db4c8f92 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.28.1", - "@primer/react": "38.32.0", + "@primer/react": "38.33.0", "clsx": "^2.1.1", "next": "^16.2.10", "react": "^19.2.0", diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index 458f9e406c5..2494af6a483 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,16 @@ # @primer/mcp +## 0.5.0 + +### Minor Changes + +- [#8150](https://github.com/primer/react/pull/8150) [`c261f95`](https://github.com/primer/react/commit/c261f9551a9f98e5414d3bab3ab53b61574ac4f7) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Components: Add a batch tool for retrieving documentation for multiple components in one call. + +### Patch Changes + +- Updated dependencies [[`eb447fe`](https://github.com/primer/react/commit/eb447fef0f1565934dc38d09df21d8063957aa9d), [`4045abe`](https://github.com/primer/react/commit/4045abea621d0940edcd1120fc70e6ed5f797205), [`f061bc4`](https://github.com/primer/react/commit/f061bc41483211bef1ec8b1dfe07937f20a9ddd6), [`2a67c19`](https://github.com/primer/react/commit/2a67c191a0038df64d2225c0bc11c020c2def03c), [`f8e7cf2`](https://github.com/primer/react/commit/f8e7cf2e1bd3eb02d4106b4932b487bb8ff108e6), [`cade4af`](https://github.com/primer/react/commit/cade4af9a70f3fd2622031af585dc07dccd79e11), [`f86e5a6`](https://github.com/primer/react/commit/f86e5a6420e857e7476c3954d419f4e228bdcf1a), [`d60d05b`](https://github.com/primer/react/commit/d60d05b2684056b653cb605418d6f1cae0ba38e2)]: + - @primer/react@38.33.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 23eea22bc23..42ba8a10e6c 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,7 +1,7 @@ { "name": "@primer/mcp", "description": "An MCP server that connects AI tools to the Primer Design System", - "version": "0.4.0", + "version": "0.5.0", "type": "module", "bin": { "mcp": "./bin/mcp.js" @@ -37,7 +37,7 @@ "@modelcontextprotocol/sdk": "^1.24.0", "@primer/octicons": "^19.15.5", "@primer/primitives": "10.x || 11.x", - "@primer/react": "^38.30.0", + "@primer/react": "^38.33.0", "cheerio": "^1.0.0", "turndown": "^7.2.0", "zod": "^4.3.5" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 5068f108850..b2046b97496 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @primer/react +## 38.33.0 + +### Minor Changes + +- [#8160](https://github.com/primer/react/pull/8160) [`f8e7cf2`](https://github.com/primer/react/commit/f8e7cf2e1bd3eb02d4106b4932b487bb8ff108e6) Thanks [@TylerJDev](https://github.com/TylerJDev)! - PageLayout: Export the resize primitives `usePaneWidth` and `DragHandle` (with `defaultPaneWidth` and related types) so pane-resize behavior can be reused outside of `PageLayout`. + +### Patch Changes + +- [#8064](https://github.com/primer/react/pull/8064) [`eb447fe`](https://github.com/primer/react/commit/eb447fef0f1565934dc38d09df21d8063957aa9d) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Update the ActionBar overflow menu anchor label to `More items` + +- [#8166](https://github.com/primer/react/pull/8166) [`4045abe`](https://github.com/primer/react/commit/4045abea621d0940edcd1120fc70e6ed5f797205) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Add `contain: layout` to high-churn overflow containers (`ActionBar`, `UnderlineNav`, `UnderlinePanels`, and `LabelGroup`) so their frequent reflows no longer invalidate ancestor layout. + +- [#8176](https://github.com/primer/react/pull/8176) [`f061bc4`](https://github.com/primer/react/commit/f061bc41483211bef1ec8b1dfe07937f20a9ddd6) Thanks [@francinelucca](https://github.com/francinelucca)! - FeatureFlags: Guard against missing context in `useFeatureFlag` so it returns `false` instead of throwing when used outside a provider + +- [#8188](https://github.com/primer/react/pull/8188) [`2a67c19`](https://github.com/primer/react/commit/2a67c191a0038df64d2225c0bc11c020c2def03c) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix `UnderlineNav` items all being considered overflowing on Safari with text size overrides + +- [#8116](https://github.com/primer/react/pull/8116) [`cade4af`](https://github.com/primer/react/commit/cade4af9a70f3fd2622031af585dc07dccd79e11) Thanks [@mattcosta7](https://github.com/mattcosta7)! - `useAnchoredPosition`: improve performance by caching the scrollable-ancestor walk per anchor, reducing repositioning work for overlays, menus, and tooltips. + +- [#8164](https://github.com/primer/react/pull/8164) [`f86e5a6`](https://github.com/primer/react/commit/f86e5a6420e857e7476c3954d419f4e228bdcf1a) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix `UnderlineNav` tab list not filling the full width of the underline nav in Safari + +- [#8165](https://github.com/primer/react/pull/8165) [`d60d05b`](https://github.com/primer/react/commit/d60d05b2684056b653cb605418d6f1cae0ba38e2) Thanks [@jonrohan](https://github.com/jonrohan)! - Pin the underline tabbed interface wrapper's vertical box model in wrap mode so external border and padding overrides can no longer offset its height and incorrectly trigger the overflow "more" menu + ## 38.32.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 2ab015f6430..9931d84de5d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.32.0", + "version": "38.33.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "./dist/index.js", "module": "./dist/index.js",