react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Closes https://github.com/github/primer/issues/6096 > NOTE: ⚠️ This is a WIP PR, the approach here can be changed as there's multiple ways of tackling this issue. * Added automatic overflow detection and...
### Description When using the addNewItem prop in `Autocomplete.Menu` selecting the `“+ Add new item”` option doesn’t close the overlay or update the input value with the newly added item....
Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
### Changelog - Updated `eslint-plugin-primer-react` from `^8.2.0` to `^8.4.0` - Added primer-react/spread-props-first: warn (rather than error for incremental adoption) - Removed `--max-warnings=0` from the `npm run lint` to allow warnings...
- Closes https://github.com/github/primer/issues/5122 ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if...
commit 8984410 has introduced a number of dependencies used by a temporary script. Quote: ```js // Temporary script to migrate React component metadata // from .mdx files to .doc.json files....
(For testing only) Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major...
When looking into React 19 changes, it appears that `ref` can now be overridden by prop spread patterns which can cause unexpected behavior. Investigate the codebase and make sure that...
When working with UnderlinePanels, it is difficult to know how to set a tab as the one that is initially selected. It doesn't seem like `UnderlinePanels.Tab` accepts a `selected` prop...
When rendering `UnderlinePanels` in an SSR context, we initially send an empty shell that is then hydrated on the client. For example: ```tsx import { UnderlinePanels } from "@primer/react/experimental"; export...