Skip to content

Commit 26b443e

Browse files
Version Packages
1 parent 6889235 commit 26b443e

11 files changed

Lines changed: 36 additions & 48 deletions

.changeset/action-list-group-heading-trailing-action.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.changeset/healthy-pens-boil.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/many-suns-promise.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/silent-taxis-eat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/timeline-badge-border-fix.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tiny-hats-applaud.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/codesandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@types/react": "^18.3.11",
1818
"@types/react-dom": "^18.3.0",
1919
"@vitejs/plugin-react": "^4.3.3",
20-
"@primer/react": "38.23.0",
20+
"@primer/react": "38.24.0",
2121
"@primer/styled-react": "1.0.8",
2222
"styled-components": "5.x",
2323
"typescript": "^6.0.3",

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc --noEmit"
1111
},
1212
"dependencies": {
13-
"@primer/react": "38.23.0",
13+
"@primer/react": "38.24.0",
1414
"@primer/styled-react": "1.0.8",
1515
"next": "^16.1.7",
1616
"react": "^19.2.0",

examples/theming/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@primer/octicons-react": "^19.21.0",
14-
"@primer/react": "38.23.0",
14+
"@primer/react": "38.24.0",
1515
"@primer/styled-react": "1.0.8",
1616
"clsx": "^2.1.1",
1717
"next": "^16.1.7",

packages/react/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @primer/react
22

3+
## 38.24.0
4+
5+
### Minor Changes
6+
7+
- [#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.
8+
9+
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.
10+
11+
```tsx
12+
<ActionList>
13+
<ActionList.Group>
14+
<ActionList.GroupHeading as="h3">
15+
Custom fields
16+
<ActionList.GroupHeading.TrailingAction label="New field" icon={PlusIcon} />
17+
</ActionList.GroupHeading>
18+
<ActionList.Item>...</ActionList.Item>
19+
</ActionList.Group>
20+
</ActionList>
21+
```
22+
23+
- [#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.
24+
25+
- [#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
26+
27+
- [#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.
28+
29+
### Patch Changes
30+
31+
- [#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
32+
33+
- [#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
34+
335
## 38.23.0
436

537
### Minor Changes

0 commit comments

Comments
 (0)