Skip to content
Open
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
19 changes: 0 additions & 19 deletions .changeset/action-list-group-heading-trailing-action.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/datatable-zero-sorting.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-toes-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-pens-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-suns-promise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-cheetahs-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silent-taxis-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-impalas-wash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/timeline-badge-border-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-hats-applaud.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/codesandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.3",
"@primer/react": "38.23.0",
"@primer/styled-react": "1.0.8",
"@primer/react": "38.24.0",
"@primer/styled-react": "1.0.9",
"styled-components": "5.x",
"typescript": "^6.0.3",
"vite": "^7.1.11"
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@primer/react": "38.23.0",
"@primer/styled-react": "1.0.8",
"@primer/react": "38.24.0",
"@primer/styled-react": "1.0.9",
"next": "^16.1.7",
"react": "^19.2.0",
"react-dom": "^19.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@primer/octicons-react": "^19.21.0",
"@primer/react": "38.23.0",
"@primer/styled-react": "1.0.8",
"@primer/react": "38.24.0",
"@primer/styled-react": "1.0.9",
"clsx": "^2.1.1",
"next": "^16.1.7",
"react": "^19.2.0",
Expand Down
38 changes: 38 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @primer/react

## 38.24.0

### Minor Changes

- [#7829](https://github.com/primer/react/pull/7829) [`228019c`](https://github.com/primer/react/commit/228019cac474e94558e571c325692d3b40ca4488) Thanks [@adierkens](https://github.com/adierkens)! - ActionList: Add `ActionList.GroupHeading.TrailingAction` for header-level actions on grouped lists. Closes #2043.

When the `primer_react_action_list_group_heading_trailing_action` feature flag is enabled, you can place an `ActionList.GroupHeading.TrailingAction` (a small invisible `IconButton`) inside `ActionList.GroupHeading` to render a uniform square action target next to the group's heading. Only supported inside an `ActionList` with the default `list` role — using it inside `ActionMenu` or with `role="listbox"` will throw.

```tsx
<ActionList>
<ActionList.Group>
<ActionList.GroupHeading as="h3">
Custom fields
<ActionList.GroupHeading.TrailingAction label="New field" icon={PlusIcon} />
</ActionList.GroupHeading>
<ActionList.Item>...</ActionList.Item>
</ActionList.Group>
</ActionList>
```

- [#7838](https://github.com/primer/react/pull/7838) [`8ddf1b0`](https://github.com/primer/react/commit/8ddf1b0b0082e43ffb83c572877f38eb6e9e30c3) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for Hidden, InlineMessage, KeybindingHint, Label, and LabelGroup

- [#7776](https://github.com/primer/react/pull/7776) [`d6f61c1`](https://github.com/primer/react/commit/d6f61c1e197b52eb75cff97299bfac4caedcc1ac) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Blankslate, BranchName, Breadcrumbs, ButtonGroup, Checkbox, CheckboxGroup, CircleBadge, ConfirmationDialog, CounterLabel, and Dialog to provide stable selectors.

- [#7816](https://github.com/primer/react/pull/7816) [`aef8548`](https://github.com/primer/react/commit/aef85486a77a544ab36fcc18470dc06bf2502b09) Thanks [@iansan5653](https://github.com/iansan5653)! - Replace `ActionBar` overflow calculations with CSS wrapping approach to improve performance and stability

- [#7831](https://github.com/primer/react/pull/7831) [`0de97c2`](https://github.com/primer/react/commit/0de97c25ae2adb026b04f7cac46463779ff023a1) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Dialog: Support custom width values.

- [#7819](https://github.com/primer/react/pull/7819) [`8ed6149`](https://github.com/primer/react/commit/8ed6149b45093449c6e12a71a374618fe282d6a1) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Details, Flash, FormControl (+ update InputValidation to forward from FormControl.Validation), Header, and Heading.

### Patch Changes

- [#7842](https://github.com/primer/react/pull/7842) [`635357e`](https://github.com/primer/react/commit/635357e7d2963bb594718a754fb7f53c1f917c41) Thanks [@joshblack](https://github.com/joshblack)! - DataTable: Treat zero as a populated value when sorting numeric columns

- [#7824](https://github.com/primer/react/pull/7824) [`6889235`](https://github.com/primer/react/commit/6889235fac93f17cfd0354758f4f9a1e6ff01942) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix `usePaneWidth` triggering unnecessary React re-renders on every window resize

- [#7833](https://github.com/primer/react/pull/7833) [`dfed7ca`](https://github.com/primer/react/commit/dfed7ca73532922ec0526dd85afcf7ae471c566e) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Timeline: Remove border override from TimelineBadge when variant is set

## 38.23.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.23.0",
"version": "38.24.0",
"description": "An implementation of GitHub's Primer Design System using React",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/styled-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @primer/styled-react

## 1.0.9

### Patch Changes

- [#7806](https://github.com/primer/react/pull/7806) [`36a4922`](https://github.com/primer/react/commit/36a4922bb12dc4abf135c7ac035dd3cc73075693) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing `ActionList, Box, Button, Dialog, Flash, FormControl, Header, Heading, IconButton, Label, Link, LinkButton, SegmentedControl, Spinner, Text, TextInput, ToggleSwitch, UnderlineNav, DialogV1, Octicon, TabNav` from the @primer/styled-react package

## 1.0.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/styled-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/styled-react",
"version": "1.0.8",
"version": "1.0.9",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -41,7 +41,7 @@
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@primer/primitives": "10.x || 11.x",
"@primer/react": "^38.23.0",
"@primer/react": "^38.24.0",
"@rollup/plugin-babel": "^6.1.0",
"@storybook/react-vite": "^10.3.3",
"@types/react": "18.3.11",
Expand Down
Loading