From 25043b2aa769dc6012b41d28df6741eed5476682 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Apr 2026 02:26:14 +0000 Subject: [PATCH] Version Packages --- .changeset/add-card-component.md | 5 ----- .changeset/datatable-slot-marker.md | 6 ------ .changeset/fix-issue-label-token-contrast.md | 5 ----- .../graduate-overlay-max-height-clamp.md | 7 ------- .changeset/rotten-radios-check.md | 5 ----- .changeset/serious-cheetahs-stare.md | 5 ----- .changeset/small-comics-kick.md | 5 ----- .changeset/swift-ads-matter.md | 5 ----- .changeset/warm-spoons-own.md | 5 ----- examples/codesandbox/package.json | 4 ++-- examples/nextjs/package.json | 4 ++-- examples/theming/package.json | 4 ++-- packages/mcp/CHANGELOG.md | 9 +++++++++ packages/mcp/package.json | 4 ++-- packages/react/CHANGELOG.md | 18 ++++++++++++++++++ packages/react/package.json | 2 +- packages/styled-react/CHANGELOG.md | 12 ++++++++++++ packages/styled-react/package.json | 4 ++-- 18 files changed, 50 insertions(+), 59 deletions(-) delete mode 100644 .changeset/add-card-component.md delete mode 100644 .changeset/datatable-slot-marker.md delete mode 100644 .changeset/fix-issue-label-token-contrast.md delete mode 100644 .changeset/graduate-overlay-max-height-clamp.md delete mode 100644 .changeset/rotten-radios-check.md delete mode 100644 .changeset/serious-cheetahs-stare.md delete mode 100644 .changeset/small-comics-kick.md delete mode 100644 .changeset/swift-ads-matter.md delete mode 100644 .changeset/warm-spoons-own.md diff --git a/.changeset/add-card-component.md b/.changeset/add-card-component.md deleted file mode 100644 index 5e6917a58f0..00000000000 --- a/.changeset/add-card-component.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add Card component with subcomponents: Card.Icon, Card.Image, Card.Heading, Card.Description, Card.Menu, and Card.Metadata diff --git a/.changeset/datatable-slot-marker.md b/.changeset/datatable-slot-marker.md deleted file mode 100644 index 57fc98a09b2..00000000000 --- a/.changeset/datatable-slot-marker.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@primer/styled-react': patch -'@primer/react': patch ---- - -ActionMenu, Table: Fix component mutation issue where `Object.assign` was modifying original `@primer/react` components. Now uses wrapper components to avoid side effects. diff --git a/.changeset/fix-issue-label-token-contrast.md b/.changeset/fix-issue-label-token-contrast.md deleted file mode 100644 index 8d74bc42171..00000000000 --- a/.changeset/fix-issue-label-token-contrast.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix IssueLabelToken text contrast in light theme by updating the lightness-switch formula to use a division-based approach that properly produces a binary switch value for selecting black vs white text diff --git a/.changeset/graduate-overlay-max-height-clamp.md b/.changeset/graduate-overlay-max-height-clamp.md deleted file mode 100644 index 50f15c499c8..00000000000 --- a/.changeset/graduate-overlay-max-height-clamp.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Overlay: Graduate `primer_react_overlay_max_height_clamp_to_viewport` feature flag - -The max-height of overlays is now clamped to the viewport height by default using `min(size, 100dvh)`. This prevents overlays from extending beyond the viewport on smaller screens. diff --git a/.changeset/rotten-radios-check.md b/.changeset/rotten-radios-check.md deleted file mode 100644 index 77864bdfe13..00000000000 --- a/.changeset/rotten-radios-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/styled-react": patch ---- - -Remove Overlay, CounterLabel, and ActionMenu from styled-react package diff --git a/.changeset/serious-cheetahs-stare.md b/.changeset/serious-cheetahs-stare.md deleted file mode 100644 index 6ddd27aebb7..00000000000 --- a/.changeset/serious-cheetahs-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/styled-react": patch ---- - -Remove Token and Tooltip from `@primer/styled-react` diff --git a/.changeset/small-comics-kick.md b/.changeset/small-comics-kick.md deleted file mode 100644 index 33d0afd6ea4..00000000000 --- a/.changeset/small-comics-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Update TokenTextContainer `line-height` to use primer primitives CSS variable `var(--base-text-lineHeight-normal)` diff --git a/.changeset/swift-ads-matter.md b/.changeset/swift-ads-matter.md deleted file mode 100644 index 1b3da848a91..00000000000 --- a/.changeset/swift-ads-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/mcp': patch ---- - -Removes fallback for legacy documentation for components using `get_component` diff --git a/.changeset/warm-spoons-own.md b/.changeset/warm-spoons-own.md deleted file mode 100644 index 25f6f2287a6..00000000000 --- a/.changeset/warm-spoons-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/styled-react": patch ---- - -Remove PageHeader from @primer/styled-react diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 792cdc70530..b98a18f46e0 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -17,8 +17,8 @@ "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.3", - "@primer/react": "38.19.0", - "@primer/styled-react": "1.0.5", + "@primer/react": "38.20.0", + "@primer/styled-react": "1.0.6", "styled-components": "5.x", "typescript": "^5.9.2", "vite": "^7.1.11" diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 6c598a68122..8e2c5791e13 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,8 +10,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.19.0", - "@primer/styled-react": "1.0.5", + "@primer/react": "38.20.0", + "@primer/styled-react": "1.0.6", "next": "^16.1.7", "react": "^19.2.0", "react-dom": "^19.2.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 12c4702d17d..3f1227c8274 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "@primer/octicons-react": "^19.21.0", - "@primer/react": "38.19.0", - "@primer/styled-react": "1.0.5", + "@primer/react": "38.20.0", + "@primer/styled-react": "1.0.6", "clsx": "^2.1.1", "next": "^16.1.7", "react": "^19.2.0", diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index 76514fa3178..662e8ecae7a 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,14 @@ # @primer/mcp +## 0.3.2 + +### Patch Changes + +- [#7710](https://github.com/primer/react/pull/7710) [`e15db4c`](https://github.com/primer/react/commit/e15db4c29a0852524741c62dce694703dc48b6fd) Thanks [@adierkens](https://github.com/adierkens)! - Removes fallback for legacy documentation for components using `get_component` + +- Updated dependencies [[`ec6c88f`](https://github.com/primer/react/commit/ec6c88fe3eb3ef349500617c90378712f802376d), [`f5f2869`](https://github.com/primer/react/commit/f5f28691d9e5c9f8495e8c592635d2b616f7cb49), [`b7dfb78`](https://github.com/primer/react/commit/b7dfb78079c50c6798aa4e09212aede701bf6c56), [`b9211db`](https://github.com/primer/react/commit/b9211db173841c9d9a531c777c5ce2c0cd8af60f), [`30206c4`](https://github.com/primer/react/commit/30206c4fab92de8888f3f103f9b05bff96fdc1b9)]: + - @primer/react@38.20.0 + ## 0.3.1 ### Patch Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index b520bbdbe2a..3d1e4feed20 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.3.1", + "version": "0.3.2", "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.15.0", + "@primer/react": "^38.20.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 3e4dc7cd175..ac85d2a1243 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,23 @@ # @primer/react +## 38.20.0 + +### Minor Changes + +- [#7723](https://github.com/primer/react/pull/7723) [`ec6c88f`](https://github.com/primer/react/commit/ec6c88fe3eb3ef349500617c90378712f802376d) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add Card component with subcomponents: Card.Icon, Card.Image, Card.Heading, Card.Description, Card.Menu, and Card.Metadata + +- [#7733](https://github.com/primer/react/pull/7733) [`b9211db`](https://github.com/primer/react/commit/b9211db173841c9d9a531c777c5ce2c0cd8af60f) Thanks [@francinelucca](https://github.com/francinelucca)! - Overlay: Graduate `primer_react_overlay_max_height_clamp_to_viewport` feature flag + + The max-height of overlays is now clamped to the viewport height by default using `min(size, 100dvh)`. This prevents overlays from extending beyond the viewport on smaller screens. + +### Patch Changes + +- [#7738](https://github.com/primer/react/pull/7738) [`f5f2869`](https://github.com/primer/react/commit/f5f28691d9e5c9f8495e8c592635d2b616f7cb49) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu, Table: Fix component mutation issue where `Object.assign` was modifying original `@primer/react` components. Now uses wrapper components to avoid side effects. + +- [#7747](https://github.com/primer/react/pull/7747) [`b7dfb78`](https://github.com/primer/react/commit/b7dfb78079c50c6798aa4e09212aede701bf6c56) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Fix IssueLabelToken text contrast in light theme by updating the lightness-switch formula to use a division-based approach that properly produces a binary switch value for selecting black vs white text + +- [#7746](https://github.com/primer/react/pull/7746) [`30206c4`](https://github.com/primer/react/commit/30206c4fab92de8888f3f103f9b05bff96fdc1b9) Thanks [@jonrohan](https://github.com/jonrohan)! - Update TokenTextContainer `line-height` to use primer primitives CSS variable `var(--base-text-lineHeight-normal)` + ## 38.19.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index eca897e2ae3..1b594940a69 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.19.0", + "version": "38.20.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/styled-react/CHANGELOG.md b/packages/styled-react/CHANGELOG.md index 954c5ae2c71..2645e63501f 100644 --- a/packages/styled-react/CHANGELOG.md +++ b/packages/styled-react/CHANGELOG.md @@ -1,5 +1,17 @@ # @primer/styled-react +## 1.0.6 + +### Patch Changes + +- [#7738](https://github.com/primer/react/pull/7738) [`f5f2869`](https://github.com/primer/react/commit/f5f28691d9e5c9f8495e8c592635d2b616f7cb49) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu, Table: Fix component mutation issue where `Object.assign` was modifying original `@primer/react` components. Now uses wrapper components to avoid side effects. + +- [#7728](https://github.com/primer/react/pull/7728) [`6eb03b5`](https://github.com/primer/react/commit/6eb03b5a1d8332878e54bf3f2aa3daf6cccc6e44) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove Overlay, CounterLabel, and ActionMenu from styled-react package + +- [#7743](https://github.com/primer/react/pull/7743) [`8550be3`](https://github.com/primer/react/commit/8550be3fee9cc7cdf85ff99fe7850ed42b19452b) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove Token and Tooltip from `@primer/styled-react` + +- [#7726](https://github.com/primer/react/pull/7726) [`2edb05a`](https://github.com/primer/react/commit/2edb05a610c4f6d8fc1bcf759a849263e63347aa) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Remove PageHeader from @primer/styled-react + ## 1.0.5 ### Patch Changes diff --git a/packages/styled-react/package.json b/packages/styled-react/package.json index 605620e63bc..af99f60f94e 100644 --- a/packages/styled-react/package.json +++ b/packages/styled-react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/styled-react", - "version": "1.0.5", + "version": "1.0.6", "type": "module", "exports": { ".": { @@ -49,7 +49,7 @@ "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@primer/primitives": "10.x || 11.x", - "@primer/react": "^38.19.0", + "@primer/react": "^38.20.0", "@rollup/plugin-babel": "^6.1.0", "@storybook/react-vite": "^10.3.3", "@types/react": "18.3.11",