react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Closes https://github.com/github/primer/issues/3316 Update the `StateLabel` to include support for labeling the icon. This provides additional information as to the resource that is being described (issue, pull request, etc). I also...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
We needed linked group headings when developing the new Primer docs. Instead of faking it by using `ActionList.GroupHeading`, we discussed updating the `NavList` API to allow rendering `NavList.Group` headings using...
Closes https://github.com/github/primer/issues/3425 Renders the `LabelGroup` as a `ul` with `li`s by default, with the option to use `as` prop to customize the element type of the rendered container. In the...
Closes https://github.com/github/primer/issues/4251 ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
New stories added: - Autocomplete - Playground story - Select - `placeholder` - Textarea - `rows` (custom width) - `columns` (custom height) - `resize` - all options - TextInputWithTokens -...
Closes https://github.com/github/primer/issues/3381 This is a revert of primer/react#5114. Corrects the detected bug by adding an offset to the GlobalFocusStyles. Adds focus styles for `SegmentedControlButton` and `SegmentedControlIconButton` components via calling `getGlobalFocusStyles()`...
Update the deprecation notice for Octicon to include the relevant suggestion from `@primer/octicons-react` ### Changelog #### New #### Changed - The `@deprecated` JSDoc tag for Octicon now includes instructions to...
Closes https://github.com/github/primer/issues/3348 ### Changelog #### New * Adds keyboard support to `AvatarStack` #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [x] Minor release - [...
Revert changes that we made for premode to go back to our classic mode 👀 ### Changelog #### New #### Changed - Revert `pre.json` specific changes that we needed for...