react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
Closes https://github.com/github/primer/issues/1421 Adds the code @siddharthkp created for [his PR to solve this problem](https://github.com/primer/react/pull/2200). When you scroll within a parent element that isn't the main body element, the Anchor now...
Context : https://github.slack.com/archives/C02NUUQ9C30/p1676613354180279 Seems like the alphabetical ordering for the feature stories is disorienting and the react contributors were trying to find ways to *hack* it to group them more...
In NextJS, the most common way to import and use an image, at least for local images, is to do as the documentation suggests ([the documentation](https://nextjs.org/docs/pages/building-your-application/optimizing/images#local-images)): ```ts import MyImage from...
When visiting the React docs for `Blankslate` at: https://primer.style/design/components/blankslate/react folks may run into one of two. problems when trying to use the component: - The import statement is incorrect (it...
- The `Dialog` component example for using the new document (https://primer.style/components/dialog/react) is not functioning correctly; there is no response after clicking the button, and there are no error or warning...
I'm working on improving the accessibility of tooltips in our application and I came across an automated accessibility linting issue that I'm not sure how to resolve. ## Problem Our...
Closes https://github.com/primer/react/issues/3767 ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
Closes # ### Changelog #### New #### Changed #### Removed ### Rollout strategy - [ ] Patch release - [ ] Minor release - [ ] Major release; if selected,...
- Merged https://github.com/primer/react/pull/4178 and https://github.com/primer/react/pull/3840 - Mockup: [Figma](https://www.figma.com/file/S3xgRPvRuFVCDGxPlIGxaP/SelectPanel-%26-Filtering?type=design&node-id=1406-130691&mode=design) Open question on keyboard navigation: Should the "Create new label" button be reachable by arrow keys (like it's part of list) or...
Closes https://github.com/primer/react/issues/3942 ### Changelog #### New - Spinner accepts `srText` prop (default value is "Loading" #### Changed - Deprecated `aria-label` on Spinner - Restricts Spinner to only accept specified props,...