react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Create a new experimental component called `ActionBar` which is a horizontal list of icon buttons to be used in the Comment Editor. Here's a demo of the storybook complete with...
Placeholder text came up during the v8 color staff ship. It looks like the selector wasn't properly selecting, which could lead to unexpected results. ### Rollout strategy - [ ]...
This PR introduces the tooltip behaviour on icon buttons with an option to be able to disable it with disable `disableTooltip` prop. It is based on our team discussion https://github.com/github/primer/discussions/3027...
Closes # Updating the existing tooltip to match with the [new tooltip styles](https://primer.style/components/tooltip). We need this because we won't be able to update all tooltips at dotcom to use the...
This PR updates the `IssueLabelToken` component to use `variants` for color instead of hex colors. Hex colors are still supported to provide backwards compatibility. I added a new `IssueLabelToken` component...
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.7.0 to 4.8.4. Release notes Sourced from axe-core's releases. Release 4.8.4 This release should not result in different issue numbers. For TypeScript users, an error in type...
Closes #4059 ### Changelog #### New This PR fixes the issue with the `` on smaller screens using the menu. Where it would normally overflow to the left, this makes...
Adds a `loading` state to both `Button` and `IconButton`. The markup follows the recommended path forward from accessibility design, and mirrors the implementation from the `Export CSV` button as part...
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....
Fixes issue in: https://github.com/github/accessibility-audits/issues/2939 Based off of @broccolinisoup's work in https://github.com/primer/react/pull/3971 Ensures that the default semantics of `ActionList.Item` rely on `` instead of ``. If the `ActionList` itself should act...