react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
**Describe the bug** ActionList.Group should allow for a `TrailingAction`, potentially with an api similar to this one, to maintain consistency with `ActionList.Item` ``` Title {/* reviewer dropdown */} {/* ......
## Problem The structure of our component documentation pages is inconsistent. * Some pages are missing component descriptions, source links, statuses * Headings are named inconsistently (e.g. `Component props` vs...
**Describe the bug** The current way the [Portal](https://github.com/primer/react/blob/main/src/Portal/Portal.tsx) is written, mounts its children on a detached node. This causes children that need to use `autoFocus` or measure themselves to fail....
**Describe the bug** Type definitions for `Button` are not being exported correctly in the transpiled output. E.g: `variant` is being reported as a generic string type, rather than the `VariantType`...
**Describe the bug** There are two separate issues here but I was able to reproduce them in the same CodeSandbox so I figured I would create just one issue. -...
While the [CSS](https://primer.style/css/components/navigation#underline-nav) one has examples of usage with icons this React one doesn't.
**Describe the bug** Small buttons (`Button` with `size="small"`) have `4px` padding on top and bottom and `12px` padding on the sides. This side padding does not match a spacing value...
Pay attention for the line near the caret.
## Description The browser number spinner/steppers are not the greatest, visually: It would be nice if we could leverage our design patterns and language to build one out that is...
**Describe the bug** With version 35.x, Buttons have a new content grid, containing spots for leading and trailing icons along with the content of the button. The issue is that...