react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Closes https://github.com/primer/react/issues/2351 This PR grabs the extra values from props in `ButtonBase` and spreads them onto `StyledButton`. One thing I noticed is that the props for this custom component would...
This is a follow-up to https://github.com/primer/react/pull/2257 after https://github.com/primer/react/pull/2314 landed to remove circular imports. This PR specifically removes the `compile` step in `scripts/build` in favor of using Rollup. It uses the...
`TabNav` creates an automatic focus zone where focusing from tab to tab is performed via the arrow keys. This makes sense and matches the behavior recommended in the corresponding [ARIA...
- [x] Add the `a11yReviewed` frontmatter variable to the `Select` and `ActionMenu` components - [x] Add Accessible column in component statuses ### References - https://github.com/github/primer/issues/1212 - https://github.com/primer/doctocat/pull/468 - https://github.com/primer/primer.style/pull/326 ###...
Describe your changes here. Convert `primer/react` to a ES Module. ### Screenshots N/A ### Merge checklist - [x] Added/updated tests - [ ] Added/updated documentation - [ ] Tested in...
SelectPanel introduced [breaking behavioural changes](https://github.com/primer/react/commit/ace38afb0f469f93fbfea0df488e688005609a62) in [v35.8.0](https://github.com/primer/react/releases/tag/v35.8.0) and that caused issues for consumers. So [we decided to rollback these changes](https://docs.google.com/document/d/1XROq7mBumWcKlSg1_Acj3FXZrhDN1oD4ekL3xv7Hrlw/edit?disco=AAAAaiG_0gY) (see [the PR](https://github.com/primer/react/pull/2338) for ref) and release SelectPanel accessibility improvements...
Closes [#1251](https://github.com/github/primer/issues/1251) This PR addresses the overflow behaviour implementation that is described in [the design issue. ](https://github.com/github/primer/issues/1100) TODO: - [x] Auto hide the icons when overflow occurs - [x] Update...
Closes https://github.com/github/primer/issues/1049 This PR introduces an approach to avoid using `dangerouslySetInnerHTML` if it's supported in the SSR framework. Specifically, it introduces a new prop `script` that allows consumers to provide...
Describe your changes here. This PR adds resizable support to the `` component. ### Screenshots Please provide before/after screenshots for any visual changes ### Merge checklist - [ ] Added/updated...
This moves the import of `markdown-toolbar-element` out of a conditional, which seems to be causing SegFaults due to poor support of ESM modules in various tools like Jest. Moving the...