react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
## Summary There is no documented example of how to render an icon-only button with an accessible tooltip in a way that would meet all of the following standard requirements:...
- Based on https://github.com/github/primer/discussions/696 - Fixes https://github.com/github/primer/issues/994 - Fixes https://github.com/github/primer/issues/995 - Fixes https://github.com/github/primer/issues/993 . - [See new section about accessibility in docs →](https://primer-01ca87129d-13348165.drafts.github.io/ActionMenu#accessibility) --- Open questions: 1. Is the prop...
**Describe the bug** If the value is explicitly set to an empty string from the parent on the `Autocomplete.Input` it won't clear the text in the field. **To Reproduce** [Line...
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.2 to 2.75.5. Release notes Sourced from rollup's releases. v2.75.5 2022-06-01 Bug Fixes Avoid crashes when using logical expressions for unused constructor arguments (#4519) Fix missing parameter...
**Describe the bug** A clear and concise description of what the bug is. **Note:** As this is a public repo, please be careful not to include details or screenshots from...
**Describe the bug** `FormControl.Label` is causing Layout Shift on page load (see gif below) **To Reproduce** 1. Create a page using `FormControl` with a `FormControl.Label` component. For example: ``` Username...
**Describe the bug** `FromControl` causes SSR and hydration error with incorrect id between server and client. **To Reproduce** Steps to reproduce the behavior: 1. Create a next.js project 2. Add...
useColorSchemeVar should provide explicit color assistance/types and/or primer reexports primitives
**Describe the bug** In order to use things like scale values from primer/primitives, primer/react recommends using https://primer.style/react/theming#creating-local-color-scheme-variables `primer/react` doesn't explicitly export the colors, or provide the primitive colors on the...
### Problem Our visual regression testing isn't helpful for testing interactions on components like open menus, focus styles, tooltips on hover, etc. Snapshot for menu with single selection, we can't...
## Description I am porting The Hub over to React and using Primer React. The majority of the content is stored as markdown and being rendered as html. I want...