react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Note: this PR depends on: https://github.com/primer/doctocat/pull/479 This PR update gatsby to use a prerelease version of the doctocat theme which has also been updated to support v3. **Checklist** - [x]...
**Describe the bug** If an element is given a tabIndex of -1 and filtered out of a Focus Zone with focusableElementFilter, it should not participate in the Focus Zone or...
**Describe the bug** Recently the SelectPanel component was updated to add cancel and save buttons at the bottom of the component, this is great but in some cases i think...
Closes https://github.com/github/primer/issues/1264 This PR presents an alternative to our `PageLayout.Pane` behavior in order to address some of these issues that have come up when using the existing implementation. Specifically, there...
Combines the following PRs which would not pass the "Visual testing" check because they were opened by dependabot: - https://github.com/primer/react/pull/2311 - https://github.com/primer/react/pull/2310 - https://github.com/primer/react/pull/2309 - https://github.com/primer/react/pull/2308 - https://github.com/primer/react/pull/2307
testing https://github.com/primer/react/blob/main/.github/workflows/add_to_inbox.yml
Closes https://github.com/github/primer/issues/1191 This PR tackles some of the small wins identified by @mattcosta7 over in https://github.com/github/primer/issues/1191 Specifically, it focuses on providing stable identity for `StyledButton` and the two underlying `Box`...
In order to properly insert suggestions, we need a reference to the textarea itself. I'm working on implementing a "suggest changes" button in the draft `MarkdownEditor`, and I think that...
Fix a bug in the useMnemonics hook that makes it incompatible with `textarea` elements. This bug manifested itself when I was trying to use a `MarkdownEditor` in an `ActionMenu`. Closes...
### Description When a `textarea` element is rendered inside of an `ActionMenu.Overlay` with some named buttons, random buttons will get focused as the user is typing. This is because the...