diff --git a/.changeset/heavy-points-marry.md b/.changeset/heavy-points-marry.md index 18821003286..441a441f09f 100644 --- a/.changeset/heavy-points-marry.md +++ b/.changeset/heavy-points-marry.md @@ -26,8 +26,10 @@ If you were using the `Label` component to render issue/PR labels, use the [Issu ```jsx import {Label} from "@primer/react" - - +<> + + + ``` @@ -36,8 +38,10 @@ import {Label} from "@primer/react" ```jsx import {Label} from "@primer/react" - - +<> + + + ``` diff --git a/.changeset/many-roses-hammer.md b/.changeset/many-roses-hammer.md index 6a0aebbc653..af4480c795c 100644 --- a/.changeset/many-roses-hammer.md +++ b/.changeset/many-roses-hammer.md @@ -25,18 +25,20 @@ import { ButtonPrimary, ButtonInvisible, ButtonOutline, ButtonDanger } from '@primer/react' - +<> + Primary Button - - + + Invisible Button - - + + Outline Button - - + + Danger Button - + + ``` @@ -46,18 +48,20 @@ from '@primer/react' import { Button } from '@primer/react' - - + - + - + + + ``` diff --git a/.changeset/nervous-pets-sleep.md b/.changeset/nervous-pets-sleep.md index f503758a570..5ce25e22c6b 100644 --- a/.changeset/nervous-pets-sleep.md +++ b/.changeset/nervous-pets-sleep.md @@ -20,49 +20,51 @@ The `CheckboxGroup` and `RadioGroup` components are replacing the `ChoiceFieldse ```jsx import {ChoiceFieldset} from "@primer/react" -// Multi-select - - - Preferred Primer component interface - - - - - Figma library - - - Primer CSS - - - Primer React components - - - Primer ViewComponents - - - - -// Single select - - - Preferred Primer component interface - - - - - Figma library - - - Primer CSS - - - Primer React components - - - Primer ViewComponents - - - +<> + // Multi-select + + + Preferred Primer component interface + + + + + Figma library + + + Primer CSS + + + Primer React components + + + Primer ViewComponents + + + + + // Single select + + + Preferred Primer component interface + + + + + Figma library + + + Primer CSS + + + Primer React components + + + Primer ViewComponents + + + + ``` @@ -72,51 +74,53 @@ import {ChoiceFieldset} from "@primer/react" ```jsx import {FormGroup, Checkbox} from "@primer/react" -// Multi-select - - - Preferred Primer component interface - - - - Figma - - - - CSS - - - - Primer React components - - - - Primer ViewComponents - - - -// Single select - - - Preferred Primer component interface - - - - Figma - - - - CSS - - - - Primer React components - - - - Primer ViewComponents - - +<> + // Multi-select + + + Preferred Primer component interface + + + + Figma + + + + CSS + + + + Primer React components + + + + Primer ViewComponents + + + + // Single select + + + Preferred Primer component interface + + + + Figma + + + + CSS + + + + Primer React components + + + + Primer ViewComponents + + + ``` diff --git a/.changeset/olive-bears-act.md b/.changeset/olive-bears-act.md index 94d16738b24..9a3198a0de7 100644 --- a/.changeset/olive-bears-act.md +++ b/.changeset/olive-bears-act.md @@ -18,25 +18,26 @@ The `FormControl` component is replacing the `FormGroup`, `InputField`, and `Cho ```jsx import {FormControl, Checkbox, TextInput} from "@primer/react" +<> + + Example text + + - - Example text - - + // OR -// OR + + Example text + + - - Example text - - - -// OR + // OR - - Example text - - + + Example text + + + ``` @@ -46,17 +47,19 @@ import {FormControl, Checkbox, TextInput} from "@primer/react" ```jsx import {FormGroup, TextInput} from "@primer/react" - - Example text - - +<> + + Example text + + -// OR + // OR - - Example text - - + + Example text + + + ```