From 33ccf475cbb5cf5150a0f2620191a5eaa71c0fe1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:57:13 +0000 Subject: [PATCH 1/2] Version Packages --- .changeset/fix-link-loading-wrapper.md | 5 ----- .changeset/fix-select-panel-item-dividers.md | 5 ----- .changeset/gentle-masks-notice.md | 5 ----- ...duate-actionmenu-display-in-viewport-ff.md | 5 ----- .changeset/great-pots-suffer.md | 5 ----- .changeset/neat-moose-dress.md | 5 ----- .changeset/remove-link-underline-on-hover.md | 5 ----- .../select-panel-display-in-viewport.md | 5 ----- .changeset/tame-lions-blend.md | 5 ----- .changeset/timeline-clip-sidebar-options.md | 5 ----- examples/codesandbox/package.json | 4 ++-- examples/nextjs/package.json | 4 ++-- examples/theming/package.json | 4 ++-- packages/react/CHANGELOG.md | 22 +++++++++++++++++++ packages/react/package.json | 2 +- packages/styled-react/CHANGELOG.md | 8 +++++++ packages/styled-react/package.json | 4 ++-- 17 files changed, 39 insertions(+), 59 deletions(-) delete mode 100644 .changeset/fix-link-loading-wrapper.md delete mode 100644 .changeset/fix-select-panel-item-dividers.md delete mode 100644 .changeset/gentle-masks-notice.md delete mode 100644 .changeset/graduate-actionmenu-display-in-viewport-ff.md delete mode 100644 .changeset/great-pots-suffer.md delete mode 100644 .changeset/neat-moose-dress.md delete mode 100644 .changeset/remove-link-underline-on-hover.md delete mode 100644 .changeset/select-panel-display-in-viewport.md delete mode 100644 .changeset/tame-lions-blend.md delete mode 100644 .changeset/timeline-clip-sidebar-options.md diff --git a/.changeset/fix-link-loading-wrapper.md b/.changeset/fix-link-loading-wrapper.md deleted file mode 100644 index ea0e37551c9..00000000000 --- a/.changeset/fix-link-loading-wrapper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -fix(Button): Apply inline-flex display to loading wrapper for link variant buttons diff --git a/.changeset/fix-select-panel-item-dividers.md b/.changeset/fix-select-panel-item-dividers.md deleted file mode 100644 index 3be425d297e..00000000000 --- a/.changeset/fix-select-panel-item-dividers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fix item dividers not visible in SelectPanel and FilteredActionList when `showItemDividers` is enabled, caused by `content-visibility: auto` clipping the absolutely-positioned divider pseudo-elements. diff --git a/.changeset/gentle-masks-notice.md b/.changeset/gentle-masks-notice.md deleted file mode 100644 index 7e0b04aecba..00000000000 --- a/.changeset/gentle-masks-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/styled-react": patch ---- - -Remove Textarea from `@primer/styled-react` diff --git a/.changeset/graduate-actionmenu-display-in-viewport-ff.md b/.changeset/graduate-actionmenu-display-in-viewport-ff.md deleted file mode 100644 index ad4d1b32311..00000000000 --- a/.changeset/graduate-actionmenu-display-in-viewport-ff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -ActionMenu: Graduate `primer_react_action_menu_display_in_viewport_inside_dialog` feature flag. ActionMenu now automatically uses `displayInViewport` when rendered inside a Dialog, without requiring the feature flag. diff --git a/.changeset/great-pots-suffer.md b/.changeset/great-pots-suffer.md deleted file mode 100644 index 741e0d646c6..00000000000 --- a/.changeset/great-pots-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/styled-react": patch ---- - -Remove Avatar component from @primer/styled-react diff --git a/.changeset/neat-moose-dress.md b/.changeset/neat-moose-dress.md deleted file mode 100644 index fc732c2f69c..00000000000 --- a/.changeset/neat-moose-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Dialog: dynamically switch footer button layout based on available height. diff --git a/.changeset/remove-link-underline-on-hover.md b/.changeset/remove-link-underline-on-hover.md deleted file mode 100644 index f1713cc06f3..00000000000 --- a/.changeset/remove-link-underline-on-hover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals) diff --git a/.changeset/select-panel-display-in-viewport.md b/.changeset/select-panel-display-in-viewport.md deleted file mode 100644 index 05357d80c04..00000000000 --- a/.changeset/select-panel-display-in-viewport.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -SelectPanel: Add `displayInViewport` prop diff --git a/.changeset/tame-lions-blend.md b/.changeset/tame-lions-blend.md deleted file mode 100644 index c82a7526310..00000000000 --- a/.changeset/tame-lions-blend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link` diff --git a/.changeset/timeline-clip-sidebar-options.md b/.changeset/timeline-clip-sidebar-options.md deleted file mode 100644 index cef6fe7fdd2..00000000000 --- a/.changeset/timeline-clip-sidebar-options.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Timeline: Update `clipSidebar` prop to accept `'start'`, `'end'`, or `'both'` in addition to `boolean`. Use `'start'` to only clip the top, `'end'` to only clip the bottom, or `'both'`/`true` to clip both ends. diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 968d8b74671..9c69af6c8d5 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.17.0", - "@primer/styled-react": "1.0.3", + "@primer/react": "38.18.0", + "@primer/styled-react": "1.0.4", "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 dac1987157f..dd9a1baac0a 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,8 +10,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.17.0", - "@primer/styled-react": "1.0.3", + "@primer/react": "38.18.0", + "@primer/styled-react": "1.0.4", "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 36cb5d666bb..678befedc86 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.17.0", - "@primer/styled-react": "1.0.3", + "@primer/react": "38.18.0", + "@primer/styled-react": "1.0.4", "clsx": "^2.1.1", "next": "^16.1.7", "react": "^19.2.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b35ae3f5e3d..0bb9009d7ea 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @primer/react +## 38.18.0 + +### Minor Changes + +- [#7700](https://github.com/primer/react/pull/7700) [`91bf343`](https://github.com/primer/react/commit/91bf343210483be373f7ec5ce1ba652518a9ce4c) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu: Graduate `primer_react_action_menu_display_in_viewport_inside_dialog` feature flag. ActionMenu now automatically uses `displayInViewport` when rendered inside a Dialog, without requiring the feature flag. + +- [#7699](https://github.com/primer/react/pull/7699) [`1505d9b`](https://github.com/primer/react/commit/1505d9b06bbcbb1d6bf87b4d21461d79b71eff10) Thanks [@francinelucca](https://github.com/francinelucca)! - SelectPanel: Add `displayInViewport` prop + +- [#7662](https://github.com/primer/react/pull/7662) [`39c8cf3`](https://github.com/primer/react/commit/39c8cf30254268d770422b9d890d96da51d35d89) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Timeline: Update `clipSidebar` prop to accept `'start'`, `'end'`, or `'both'` in addition to `boolean`. Use `'start'` to only clip the top, `'end'` to only clip the bottom, or `'both'`/`true` to clip both ends. + +### Patch Changes + +- [#7690](https://github.com/primer/react/pull/7690) [`b492cc8`](https://github.com/primer/react/commit/b492cc82efdb68189a070dfa7fcd88f18cc9d7b4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - fix(Button): Apply inline-flex display to loading wrapper for link variant buttons + +- [#7696](https://github.com/primer/react/pull/7696) [`1acb7d3`](https://github.com/primer/react/commit/1acb7d3dc416094e481ac9b45d3fa45ebd527c86) Thanks [@francinelucca](https://github.com/francinelucca)! - Fix item dividers not visible in SelectPanel and FilteredActionList when `showItemDividers` is enabled, caused by `content-visibility: auto` clipping the absolutely-positioned divider pseudo-elements. + +- [#7683](https://github.com/primer/react/pull/7683) [`f05fcac`](https://github.com/primer/react/commit/f05fcacedafe8a9a1af9caa6a762403d47851250) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Dialog: dynamically switch footer button layout based on available height. + +- [#7676](https://github.com/primer/react/pull/7676) [`35ca056`](https://github.com/primer/react/commit/35ca05690910ffb8286a2aeef01c043af377a6c2) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals) + +- [#7631](https://github.com/primer/react/pull/7631) [`0ecaf6f`](https://github.com/primer/react/commit/0ecaf6f64c50235081416515b7d5b6b2e364b33f) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link` + ## 38.17.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 4ec3a654346..b83d281afe8 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.17.0", + "version": "38.18.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 2f5282f661c..804dfbb52a7 100644 --- a/packages/styled-react/CHANGELOG.md +++ b/packages/styled-react/CHANGELOG.md @@ -1,5 +1,13 @@ # @primer/styled-react +## 1.0.4 + +### Patch Changes + +- [#7684](https://github.com/primer/react/pull/7684) [`ced0a71`](https://github.com/primer/react/commit/ced0a7194221bef332131cec40cd1ba2fd190cac) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove Textarea from `@primer/styled-react` + +- [#7685](https://github.com/primer/react/pull/7685) [`1c7c598`](https://github.com/primer/react/commit/1c7c59850d0fe26c27d1866799eac04062204b7b) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove Avatar component from @primer/styled-react + ## 1.0.3 ### Patch Changes diff --git a/packages/styled-react/package.json b/packages/styled-react/package.json index dd8ad53c639..fa7435a6eea 100644 --- a/packages/styled-react/package.json +++ b/packages/styled-react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/styled-react", - "version": "1.0.3", + "version": "1.0.4", "type": "module", "exports": { ".": { @@ -46,7 +46,7 @@ "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@primer/primitives": "10.x || 11.x", - "@primer/react": "^38.10.0", + "@primer/react": "^38.18.0", "@rollup/plugin-babel": "^6.1.0", "@storybook/react-vite": "^10.1.11", "@types/react": "18.3.11", From f372aa7ad404fe338f14e97f737527dc69211749 Mon Sep 17 00:00:00 2001 From: LiuLiu Date: Thu, 26 Mar 2026 09:30:31 -0700 Subject: [PATCH 2/2] fix credits --- packages/react/CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 0bb9009d7ea..41247e0c598 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -8,19 +8,19 @@ - [#7699](https://github.com/primer/react/pull/7699) [`1505d9b`](https://github.com/primer/react/commit/1505d9b06bbcbb1d6bf87b4d21461d79b71eff10) Thanks [@francinelucca](https://github.com/francinelucca)! - SelectPanel: Add `displayInViewport` prop -- [#7662](https://github.com/primer/react/pull/7662) [`39c8cf3`](https://github.com/primer/react/commit/39c8cf30254268d770422b9d890d96da51d35d89) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Timeline: Update `clipSidebar` prop to accept `'start'`, `'end'`, or `'both'` in addition to `boolean`. Use `'start'` to only clip the top, `'end'` to only clip the bottom, or `'both'`/`true` to clip both ends. +- [#7662](https://github.com/primer/react/pull/7662) [`39c8cf3`](https://github.com/primer/react/commit/39c8cf30254268d770422b9d890d96da51d35d89) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Timeline: Update `clipSidebar` prop to accept `'start'`, `'end'`, or `'both'` in addition to `boolean`. Use `'start'` to only clip the top, `'end'` to only clip the bottom, or `'both'`/`true` to clip both ends. ### Patch Changes -- [#7690](https://github.com/primer/react/pull/7690) [`b492cc8`](https://github.com/primer/react/commit/b492cc82efdb68189a070dfa7fcd88f18cc9d7b4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - fix(Button): Apply inline-flex display to loading wrapper for link variant buttons +- [#7690](https://github.com/primer/react/pull/7690) [`b492cc8`](https://github.com/primer/react/commit/b492cc82efdb68189a070dfa7fcd88f18cc9d7b4) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - fix(Button): Apply inline-flex display to loading wrapper for link variant buttons - [#7696](https://github.com/primer/react/pull/7696) [`1acb7d3`](https://github.com/primer/react/commit/1acb7d3dc416094e481ac9b45d3fa45ebd527c86) Thanks [@francinelucca](https://github.com/francinelucca)! - Fix item dividers not visible in SelectPanel and FilteredActionList when `showItemDividers` is enabled, caused by `content-visibility: auto` clipping the absolutely-positioned divider pseudo-elements. - [#7683](https://github.com/primer/react/pull/7683) [`f05fcac`](https://github.com/primer/react/commit/f05fcacedafe8a9a1af9caa6a762403d47851250) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Dialog: dynamically switch footer button layout based on available height. -- [#7676](https://github.com/primer/react/pull/7676) [`35ca056`](https://github.com/primer/react/commit/35ca05690910ffb8286a2aeef01c043af377a6c2) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals) +- [#7676](https://github.com/primer/react/pull/7676) [`35ca056`](https://github.com/primer/react/commit/35ca05690910ffb8286a2aeef01c043af377a6c2) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals) -- [#7631](https://github.com/primer/react/pull/7631) [`0ecaf6f`](https://github.com/primer/react/commit/0ecaf6f64c50235081416515b7d5b6b2e364b33f) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link` +- [#7631](https://github.com/primer/react/pull/7631) [`0ecaf6f`](https://github.com/primer/react/commit/0ecaf6f64c50235081416515b7d5b6b2e364b33f) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link` ## 38.17.0