Release tracking
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@primer/[email protected]
Minor Changes
-
#2191
7edf1347Thanks @mperrotti! - Adds responsive behavior to SegmentedControl'sfullWidthprop. -
#2174
62dbc981Thanks @colebemis! - Add a responsivehiddenprop toPageLayout.Header,PageLayout.Pane,PageLayout.Content, andPageLayout.Footerthat allows you to hide layout regions based on the viewport width. Example usage:// Hide pane on narrow viewports <PageLayout.Pane hidden={{narrow: true}}>...</PageLayout.Pane> -
#2199
fb385b63Thanks @colebemis! - * Updated thepositionprop inPageLayout.Paneto use the new responsive prop API introduced in https://github.com/primer/react/pull/2174.- Deprecated the
positionWhenNarrowprop in favor of the new responsive prop API
Before
position="start" positionWhenNarrow="end"After
position={{regular: 'start', narrow: 'end'}} - Deprecated the
-
#2201
885064edThanks @colebemis! - Addpaddingprop toPageLayout.Header,PageLayout.Content,PageLayout.Pane, andPageLayout.Footer -
#2164
2b5c86e5Thanks @mperrotti! - Adds support for a responsive 'variant' prop to the SegmentedControl component -
#2198
4d9b7db9Thanks @colebemis! - * Updated thedividerprop inPageLayout.Header,PageLayout.Pane, andPageLayout.Footerto use the new responsive prop API introduced in https://github.com/primer/react/pull/2174.- Deprecated the
dividerWhenNarrowprop in favor of the new responsive prop API
Before
divider="line" dividerWhenNarrow="filled"After
divider={{regular: 'line', narrow: 'filled'}} - Deprecated the
Patch Changes
-
#2024
5321f1c9Thanks @siddharthkp! - ActionMenu: Remove focus trap to enable Tab and Shift+Tab behavior and fix initial focus on click -
#2186
e28aadbdThanks @mperrotti! - Updates SegmentedControl styles to use component primitives. -
#2171
384ae6b9Thanks @anleac! - Support issues closed as not planned, and correct the standard issue closed backgroud colour -
#2157
77e7ab05Thanks @iansan5653! - AddInlineAutocompletecomponent,useComboboxhook, anduseSyntheticChangehook to drafts -
#2196
5ff5bb81Thanks @mattcosta7! - update types to allow children for react 18 -
#2173
ed609719Thanks @mperrotti! - Updates styles for the Select component so that the focus outline is even all the way around. -
#2216
82fd8c35Thanks @iansan5653! - ChangecreateSlotsto use layout effects when registering slots -
#2185
3756a1edThanks @mattcosta7! - Set ConfirmationDialog initial focus based on the confirmationButtonVariant. WhendangerautoFocus the cancel button, otherwise autoFocus the confirmation button -
#2166
75d21745Thanks @mattcosta7! - button should be polymorphic -
#2220
f4ef7b4bThanks @mperrotti! - - Fixesroleand keyboard behavior for SegmentedControl.- Fixes a bug where icon-only SegmentedControl buttons did not fill the parent width when the
fullWidthprop was set - Fixes a bug where click handlers were not passed correctly when the responsive variant was set to
'hideLabels'
- Fixes a bug where icon-only SegmentedControl buttons did not fill the parent width when the
-
#2204
522f5806Thanks @iansan5653! - ReplaceuseCombinedRefswithuseRefObjectAsForwardedRef -
#2221
9ce64937Thanks @josepmartins! - Overlay documentation fixes
❗ Pre-merge checklist
Please ensure these items are checked before merging.
🔎 Smoke test
- [x] All CI checks pass
- [x] Docs and Storybook open in a browser
- [x] Successful integration test with GitHub Projects as a primary consumer of Primer React
- [x] Install the Release Candidate
- [x] Verify no new build errors appear
- [x] Verify no new linting errors appear
- [x] Verify no new browser console errors appear
- [x] Verify unit tests and E2E tests pass
- [x] Manually test critical paths (Tip: Use the provided tests project boards)
- [x] Manually test release-specific bugfixes and/or features work as described
- [x] Works in CodeSandbox or StackBlitz
- [ ] New components render successfully
- [ ] (optional) Tested in both SPA and SSR apps if release contains build changes
🤔 Sanity test
- [x] All bugfixes in this release have resolved their corrosponding issues
- [x] All new features in this release have been tested and verified as compatible with GitHub Projects
- [x] No noticeable regressions have not been introduced as a result of changes in this release
- [x] Release notes accurately describe the changes made
Please also leave any testing notes as a comment on this pull request. In particular, describing any issues encountered during your testing. This is helpful in providing historical context to maintainers.
size-limit report 📦
| Path | Size |
|---|---|
| dist/browser.esm.js | 74.21 KB (0%) |
| dist/browser.umd.js | 74.75 KB (0%) |