chore: add ActionList primitives exports#7755
Conversation
🦋 Changeset detectedLatest commit: 30fe2c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The React 19 failures are all in |
Removed unused imports related to Selection and GroupContext from ActionList.
Removed unused exports from index.ts for cleaner code.
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/19663 |
Exporting some primitives for https://github.com/github/primer/issues/6456
This pull request refactors and enhances the FilteredActionList and related components in the Primer React library. The main focus is on improving the modularity and extensibility of FilteredActionList by extracting the input field logic into its own component, updating exports for better accessibility, and adding new utility exports. There are also minor improvements to ActionList and SelectPanel, as well as updates to test snapshots and type exports.
New
FilteredActionListinto a newFilteredActionListInputcomponent for better separation of concerns and reusability. The main component now uses this new input component.SelectPanelMessagecomponent and added it as a property ofSelectPanelfor easier access.ActionListGroupHeadingProps,ActionListTrailingActionProps, andFocusKeys, to make them available for consumers of the package.FilteredActionListexport to include the newInputandBodyLoadersubcomponents, and re-exported relevant types and loading constants for improved modularity.Changed
Rollout strategy
Testing & Reviewing
Merge checklist