Skip to content

Commit

Permalink
Fix Storybook links (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyvc authored Nov 15, 2023
1 parent c6f5fee commit 833ab2e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Form Field can display Helper Text using the `FormFieldHelperText` component.
<Story id="core-form-field--helper-text" />
</Canvas>

If you are low on screen real-estate, opt for using a [Tooltip](/?path=/docs/documentation-core-tooltip--docs) to display your helper text.
If you are low on screen real-estate, opt for using a [Tooltip](/docs/documentation-core-tooltip--docs) to display your helper text.

<Canvas>
<Story id="core-form-field--helper-text-as-tooltip" />
Expand Down
4 changes: 2 additions & 2 deletions packages/lab/stories/pill-next/pill-next.doc.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Pill is a versatile, interactive and stand-alone component. It is often used to:

## Basic Pill

The default Pill is often used for tagging purposes, or to categorize content. Pill can be used to trigger an action that is subject to change as a result of using Pills or other factors. This Pill, for example, may be used to send an auto-generated quick response to a message. If a Pill enables an action that is fixed, and not subject to change, use a [Button](/?path=/docs/documentation-core-button--docs) instead.
The default Pill is often used for tagging purposes, or to categorize content. Pill can be used to trigger an action that is subject to change as a result of using Pills or other factors. This Pill, for example, may be used to send an auto-generated quick response to a message. If a Pill enables an action that is fixed, and not subject to change, use a [Button](/docs/documentation-core-button--docs) instead.

**Best practices**

- Position any Pill you’re using to tag content below or on the right
of the related content, so that it’s not the primary focus.
- Never apply RAG (status) colors to the Pill component to differentiate between
categories. Use [Icon Descriptor](/?path=/docs/documentation-icons-icon--docs) instead.
categories. Use [Icon Descriptor](/docs/documentation-icons-icon--docs) instead.

<Canvas>
<Story id="lab-pill-next--default" />
Expand Down
22 changes: 11 additions & 11 deletions packages/lab/stories/pill/pill.doc.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ allow users to trigger actions, make selections or filter results.

**Related components**

**Similar to:** [Badge](/?path=/story/core-badge--all-badges),
[Checkbox](/?path=/story/core-checkbox--feature-input),
[Link](/?path=/story/lab-link--default),
[Switch](/?path=/story/core-badge--feature-switch),
[ToggleButton](/?path=/story/toggle-button--default-button)
**Uses:** [Button](/?path=/story/core-button--cta),
[Checkbox](/?path=/story/core-checkbox--feature-input),
[Icon](/?path=/story/core-icon--toolkit-icon),
[Tooltip](/?path=/story/lab-tooltip--default)
**Similar to:** [Badge](/docs/documentation-core-badge--docs),
[Checkbox](/docs/documentation-core-checkbox--docs),
[Link](/docs/documentation-core-link--docs),
[Switch](/docs/documentation-core-switch--docs),
[ToggleButton](/docs/documentation-core-toggle-button--docs)
**Uses:** [Button](/docs/documentation-core-button--docs),
[Checkbox](/docs/documentation-core-checkbox--docs),
[Icon](/docs/documentation-core-icon--docs),
[Tooltip](/docs/documentation-core-tooltip--docs)

**Usage**
Pill is a versatile, interactive and stand-alone component. It is often used to:
Expand Down Expand Up @@ -81,9 +81,9 @@ page, the ‘role’ prop must be changed from ‘button’ (the default attribu
- Position any Pill that you’re using to tag content _below_ or on the _right_
of the related content, so that it’s not the primary focus.
- Never apply RAG (status) colors to the Pill component to differentiate between
categories—use [Icon Descriptor](/?path=/docs/toolkit-2-0-icon) instead.
categories—use [Icon Descriptor](/docs/documentation-icons-icon--docs) instead.
- If a Pill enables an action that is fixed, and not subject to change, use a
[Button](/?path=/docs/toolkit-2-0-button) instead.
[Button](/docs/documentation-core-button--docs) instead.

<Canvas>
<Story id="lab-pill--feature-pill" />
Expand Down

1 comment on commit 833ab2e

@vercel
Copy link

@vercel vercel bot commented on 833ab2e Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.