react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
This fix resolves : 1. Clear input icon will not be displayed when there is no input in the input box. 2. No background colour will be displayed for clear...
### Changelog - Marked the old component as (deprecated) in Storybook to clarify that it's outdated and should no longer be used. - Updated the close button in the new...
Either way, I think that the height of our overlays should max out at the height of the viewport and then scroll vertically within the overlay. _Originally posted by @mperrotti...
### Description When using `useConfirm`, a `hostElement` is created to display the Dialog. As this `hostElement` is not removed from the DOM, when browsing, its position in the DOM changes...
Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
### Description The `Autocomplete` button has different behaviors when deleting characters off of a selection and pressing **Esc** vs clicking out of the Autocomplete's focus. I was expecting this to...
Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
This PR should merge into the main PageHeader sign-off review feedback PR. There are a few elements in the design spec whose content varies depending on the viewport size. For...
- WIP: Still have doubts about the focus management - Mockup: [Figma](https://www.figma.com/file/S3xgRPvRuFVCDGxPlIGxaP/SelectPanel-%26-Filtering?type=design&node-id=1406-130691&mode=design) - With upcoming dialog refactor: https://github.com/primer/react/pull/4179 https://github.com/primer/react/assets/1863771/240f2ad7-0ba5-46f1-8c01-fd1c40c6ce23