react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Closes #4129 Reintroducing https://github.com/primer/react/pull/4210 since it is [reverted due to random VRT tests failings](https://github.com/primer/react/pull/4249) - I removed the threshold setting in Playwright since the default one is less strict. ###...
Closes https://github.com/primer/react/issues/4262 ### Changelog #### New #### Changed - Mirror the `aria-checked` attribute to the `checked` property on the checkbox input #### Removed ### Rollout strategy - [x] Patch release...
Previous Pull Request: https://github.com/primer/react/pull/4048 Closes https://github.com/github/primer/issues/2414 Closes https://github.com/github/primer/issues/2413 Note: I've chosen not to tackle the[ issues mentioned here](https://github.com/github/primer/issues/2372) to avoid causing any disruptive changes. ### Changelog #### New 1️⃣ `action-sheet`...
Closes #4269 ### Changelog #### New Allows TreeView directories to toggle their expanded state via Space key press. ### Rollout strategy - [x] Patch release - [ ] Minor release...
Closes #4289 ### Changelog #### New #### Changed Updated the autocomplete-input component to now emit a change event, once a user input makes the input value matches an autocomplete suggestion....
### Description https://github.com/primer/react/assets/13063135/a908fe24-f3e3-4729-ad1b-93932a03c052 When the string you type into the autocomplete input field exactly matches a suggestion, the last character is lost on blur ### Steps to reproduce 1. Go...
Closes #3606 ### Changelog #### New #### Changed - ***Avatar***: Expanded the `src` prop to allow not only strings but also image data objects as a source for images. These...
I have a use case for this in `Button`, and we have this [same component](https://github.com/primer/view_components/blob/main/app/components/primer/conditional_wrapper.rb) in PVC. I renamed it to match up with PVC, but no changes beyond that....
### Description We use a `data-testid` attribute to markup a DOM for test scripts, but `MarkdownEditor` are not forward data attributes to a components (like `textarea`), so it is not...