Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/autocomplete-blur-suggestion.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/card-compact-layout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/inline-message-optional-variant.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mcp-readonly-tool-annotations.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-coats-sell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove-ssr-handoff-script-under-ff.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/select-panel-modal-css-anchor-positioning.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/timeline-list-semantics.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/codesandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.3",
"@primer/react": "38.27.0",
"@primer/react": "38.28.0",
"@primer/styled-react": "1.1.0",
"styled-components": "5.x",
"typescript": "^6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@primer/react": "38.27.0",
"@primer/react": "38.28.0",
"@primer/styled-react": "1.1.0",
"next": "^16.1.7",
"react": "^19.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@primer/octicons-react": "^19.21.0",
"@primer/react": "38.27.0",
"@primer/react": "38.28.0",
"@primer/styled-react": "1.1.0",
"clsx": "^2.1.1",
"next": "^16.1.7",
Expand Down
9 changes: 9 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @primer/mcp

## 0.3.3

### Patch Changes

- [#7965](https://github.com/primer/react/pull/7965) [`53ea013`](https://github.com/primer/react/commit/53ea0139bc48f5497bab5b43baed959b69dd16b0) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - MCP server: Add `readOnlyHint` annotation to all tools, allowing them to run without human-in-the-loop approval in agentic environments such as Copilot cloud agent.

- Updated dependencies [[`45be31b`](https://github.com/primer/react/commit/45be31b561b2c1280b182531069e8a84364a4185), [`95986ce`](https://github.com/primer/react/commit/95986ce22eaca6f4cb2122a00d51ec93d72f2dfe), [`6a7e130`](https://github.com/primer/react/commit/6a7e13051139ba06e48391edc0b05ef555b814b9), [`55b7b04`](https://github.com/primer/react/commit/55b7b04647af9d7812e9ff77605524048358039c), [`3af5edc`](https://github.com/primer/react/commit/3af5edc56dd21aaa16c7c1676c4627c4ecd6f0f2), [`2087e87`](https://github.com/primer/react/commit/2087e87c9fe869a59fc1dcb0546ee25a14767006), [`0f0f79f`](https://github.com/primer/react/commit/0f0f79f5da92087e636cde0d0709479c9c68d2d1), [`0c38cfa`](https://github.com/primer/react/commit/0c38cfaeabab347e48d4e34c200739e32efa73a2)]:
- @primer/react@38.28.0

## 0.3.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@primer/mcp",
"description": "An MCP server that connects AI tools to the Primer Design System",
"version": "0.3.2",
"version": "0.3.3",
"type": "module",
"bin": {
"mcp": "./bin/mcp.js"
Expand Down Expand Up @@ -37,7 +37,7 @@
"@modelcontextprotocol/sdk": "^1.24.0",
"@primer/octicons": "^19.15.5",
"@primer/primitives": "10.x || 11.x",
"@primer/react": "^38.20.0",
"@primer/react": "^38.28.0",
"cheerio": "^1.0.0",
"turndown": "^7.2.0",
"zod": "^4.3.5"
Expand Down
34 changes: 34 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @primer/react

## 38.28.0

### Minor Changes

- [#7888](https://github.com/primer/react/pull/7888) [`45be31b`](https://github.com/primer/react/commit/45be31b561b2c1280b182531069e8a84364a4185) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Extend `cssAnchorPositioningSettings` with a `fallbackStrategy` (`'default' | 'none' | 'opposite-side'`) to control CSS anchor positioning fallback behavior when native CSS anchor positioning is active.

- [#7923](https://github.com/primer/react/pull/7923) [`6a7e130`](https://github.com/primer/react/commit/6a7e13051139ba06e48391edc0b05ef555b814b9) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - Card: Add `layout="compact"` prop for a compact card layout with tighter spacing, no icon background, and smaller title

- [#7922](https://github.com/primer/react/pull/7922) [`55b7b04`](https://github.com/primer/react/commit/55b7b04647af9d7812e9ff77605524048358039c) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - InlineMessage: Make `variant` prop optional, defaulting to the standard foreground color with an info icon

- [#7889](https://github.com/primer/react/pull/7889) [`3af5edc`](https://github.com/primer/react/commit/3af5edc56dd21aaa16c7c1676c4627c4ecd6f0f2) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for PageHeader, PageLayout, Pagehead, Popover, Portal, and ProgressBar

- [#7964](https://github.com/primer/react/pull/7964) [`0f0f79f`](https://github.com/primer/react/commit/0f0f79f5da92087e636cde0d0709479c9c68d2d1) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add `cssAnchorPositioningSettings` prop to allow opting out of native CSS anchor positioning (via `disable`), and use it in `SelectPanel` so the `modal` variant stays manually centered instead of being repositioned by CSS anchor positioning.

### Patch Changes

- [#7918](https://github.com/primer/react/pull/7918) [`95986ce`](https://github.com/primer/react/commit/95986ce22eaca6f4cb2122a00d51ec93d72f2dfe) Thanks [@jonrohan](https://github.com/jonrohan)! - Autocomplete: Keep the typed text instead of restoring the full inline suggestion when the input loses focus, matching the behavior of pressing Escape

- [#7971](https://github.com/primer/react/pull/7971) [`2087e87`](https://github.com/primer/react/commit/2087e87c9fe869a59fc1dcb0546ee25a14767006) Thanks [@francinelucca](https://github.com/francinelucca)! - ThemeProvider: Skip rendering the SSR handoff script when the `primer_react_theme_provider_remove_ssr_handoff` feature flag is enabled

- [#7910](https://github.com/primer/react/pull/7910) [`0c38cfa`](https://github.com/primer/react/commit/0c38cfaeabab347e48d4e34c200739e32efa73a2) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Timeline: Add `primer_react_timeline_list_semantics` feature flag to opt into list semantics

When the `primer_react_timeline_list_semantics` feature flag is enabled, `Timeline` renders as `<ol role="list">` and `Timeline.Item` / `Timeline.Break` render as `<li>` so screen reader users get list navigation (total item count, position in sequence). The default behavior is unchanged — `Timeline` and its subcomponents still render as `<div>` until the flag is opted into.

Enable the flag with the `FeatureFlags` provider:

```tsx
import {FeatureFlags} from '@primer/react/experimental'

;<FeatureFlags flags={{primer_react_timeline_list_semantics: true}}>
<Timeline>…</Timeline>
</FeatureFlags>
```

## 38.27.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@primer/react",
"type": "module",
"version": "38.27.0",
"version": "38.28.0",
"description": "An implementation of GitHub's Primer Design System using React",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
Loading