diff --git a/.changeset/orange-chairs-add.md b/.changeset/orange-chairs-add.md new file mode 100644 index 00000000000..2151801dc1e --- /dev/null +++ b/.changeset/orange-chairs-add.md @@ -0,0 +1,5 @@ +--- +'@primer/react': patch +--- + +Align status components table to primer.style/status table diff --git a/docs/content/deprecated/Buttons.mdx b/docs/content/deprecated/Buttons.mdx index 592d6cd58ed..f7b11b908d5 100644 --- a/docs/content/deprecated/Buttons.mdx +++ b/docs/content/deprecated/Buttons.mdx @@ -1,6 +1,6 @@ --- title: Button (legacy) -status: deprecated +status: Deprecated source: https://github.com/primer/react/blob/main/src/Button storybook: '/react/storybook?path=/story/composite-components-button--default-button' --- diff --git a/docs/content/status.mdx b/docs/content/status.mdx index 9b11c8a0c58..0cb5c246b1b 100644 --- a/docs/content/status.mdx +++ b/docs/content/status.mdx @@ -1,10 +1,14 @@ --- title: Component status -description: Check the current status of Primer React components +description: Check the current status of Primer React components. --- import {ComponentStatuses} from '../src/component-statuses' + + See the [component lifecycle](https://primer.style/contribute/component-lifecycle) for more information about each status. + + diff --git a/docs/src/component-statuses.js b/docs/src/component-statuses.js index d367f7b8040..ca38eec1ec9 100644 --- a/docs/src/component-statuses.js +++ b/docs/src/component-statuses.js @@ -1,5 +1,6 @@ import componentMetadata from '@primer/component-metadata' -import {Link, Label, Text} from '@primer/react' +import {Link, Label, StyledOcticon} from '@primer/react' +import {AccessibilityInsetIcon} from '@primer/octicons-react' import StatusLabel from '@primer/gatsby-theme-doctocat/src/components/status-label' import Table from '@primer/gatsby-theme-doctocat/src/components/table' import {graphql, Link as GatsbyLink, useStaticQuery} from 'gatsby' @@ -63,13 +64,35 @@ export function ComponentStatuses() { - + {a11yReviewed ? ( - + ) : ( - Review pending + )} {description}