diff --git a/docs/docs-components/data/components.js b/docs/docs-components/data/components.js index 70f8591c4c..ad509b5693 100644 --- a/docs/docs-components/data/components.js +++ b/docs/docs-components/data/components.js @@ -20,6 +20,7 @@ import AvatarGroup from '../../graphics/general/AvatarGroup.svg'; import Badge from '../../graphics/general/Badge.svg'; import Button from '../../graphics/general/Button.svg'; import ButtonGroup from '../../graphics/general/ButtonGroup.svg'; +import ButtonLink from '../../graphics/general/ButtonLink.svg'; import Callout from '../../graphics/general/Callout.svg'; import Checkbox from '../../graphics/general/Checkbox.svg'; import Collage from '../../graphics/general/Collage.svg'; @@ -383,6 +384,32 @@ const componentData: $ReadOnlyArray = [ }, }, }, + { + id: 'ButtonLink', + platform: { + web: { + name: 'ButtonLink', + visual: { + svg: , + }, + description: 'ButtonLink allow users to use a surface action to link to another page.', + category: ['Actions'], + status: { + accessible: { + summary: 'ready', + a11yVisual: 'ready', + a11yScreenreader: 'ready', + a11yNavigation: 'ready', + a11yComprehension: 'ready', + }, + documentation: 'ready', + figmaStatus: 'notAvailable', + responsive: 'ready', + status: 'ready', + }, + }, + }, + }, { id: 'ButtonGroup', platform: { diff --git a/docs/docs-components/siteIndex.js b/docs/docs-components/siteIndex.js index b452799c79..8b3f8dd021 100644 --- a/docs/docs-components/siteIndex.js +++ b/docs/docs-components/siteIndex.js @@ -110,6 +110,7 @@ const siteIndex: $ReadOnlyArray = [ 'Badge', 'Box', 'Button', + 'ButtonLink', 'ButtonGroup', 'Callout', 'Checkbox', diff --git a/docs/examples/button/roleLinkExample.js b/docs/examples/buttonlink/main.js similarity index 81% rename from docs/examples/button/roleLinkExample.js rename to docs/examples/buttonlink/main.js index bcf0dd4a2b..9e306437bd 100644 --- a/docs/examples/button/roleLinkExample.js +++ b/docs/examples/buttonlink/main.js @@ -1,16 +1,16 @@ // @flow strict import { type Node } from 'react'; -import { Button, Flex } from 'gestalt'; +import { ButtonLink, Flex } from 'gestalt'; export default function Example(): Node { return ( -