react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Relates to https://github.com/github/primer/issues/3108 This component is visually identical to `UnderlineNav`. The biggest differences are: - These are [tabs](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/) as behave as such - It cannot be used as a controlled...
Closes https://github.com/github/primer/issues/3269 Add support for hydro analytics to storybook in production deployments. This is only used to get page views of different URLs in storybook. ### Changelog #### New ####...
Closes #4542 ### Changelog This PR adds `TreeView.LeadingAction` sub component (like the leading visual, trailing visual) to create a slot for elements that go before the toggle and can be...
Fixes: https://github.com/github/accessibility/issues/6266 ### Changelog #### New 1. This PR newly adds the `storybook/addon-blocks` package. This allows me to provide more comprehensive documentation for a storybook example the _storybook way_ ✨...
Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
This change makes it easier to integrate our `FeatureFlags` component in scenarios where a feature flag value may be `boolean | undefined`. ### Changelog #### New #### Changed - The...
https://github.com/github/accessibility-audits/issues/6883, https://github.com/github/accessibility-audits/issues/6881 Currently, our validation message is rendered conditionally based on if `slots.validation` is present at the time. This may mean the live region is not added on page load,...
### Changelog - adds figma code connect files for some componenrts - adds `figma.config.json` form code connect config - adds deps and script to `packages/react/package.json` - adds action to run...
Thanks for @JoyceZhu for reporting this bug! #### Reproduction: Open this url in firefox: https://primer.style/react/storybook/?path=/story/components-autocomplete--default, it redirects to an empty page. Turns out this happens because `Autocomplete.play` runs on load...
Unblocks github/accessibility-audits#7437 The audit issue notes that when an `AutocompleteInput` is the first field in a form with errors (and thus when it needs to be auto-focused after submission to...