Skip to content

Commit

Permalink
Use new Canvas everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
victortrinh2 committed Nov 13, 2024
1 parent 5457e2d commit ba018b4
Show file tree
Hide file tree
Showing 72 changed files with 147 additions and 143 deletions.
2 changes: 1 addition & 1 deletion .storybook/components/canvas/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const Canvas = (props: Props) => (
{...props}
additionalActions={[
{
title: "Open in Stackblitz",
title: "Open Orbiter Sandbox",
onClick: () => {
window.open(
"https://stackblitz.com/edit/orbiter-sandbox?file=src%2FComponent.tsx",
Expand Down
8 changes: 6 additions & 2 deletions .storybook/components/source/Source.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import React, { ComponentProps } from "react";
import { ComponentProps } from "react";
import { Source as StorybookSource } from "@storybook/addon-docs";

type SourceProps = ComponentProps<typeof StorybookSource>;

export const Source = (props: SourceProps) => {
const { language = "tsx", ...otherProps } = props;

return <StorybookSource language={language} dark {...otherProps} />;
return <StorybookSource
language={language}
dark
{...otherProps}
/>;
};
4 changes: 2 additions & 2 deletions docs/features/color-schemes/ColorSchemes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Canvas } from "@storybook/addon-docs";
import { Meta } from "@storybook/addon-docs";
import * as ColorSchemesStories from "./ColorSchemes.stories.tsx";
import { Source } from "@stories/components";
import { Canvas, Source } from "@stories/components";

<Meta of={ColorSchemesStories} />

Expand Down
4 changes: 2 additions & 2 deletions docs/features/style-props/StyleProps.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Meta, Canvas } from "@storybook/addon-docs";
import { Meta } from "@storybook/addon-docs";
import { Div } from "@components/html/index.ts";
import { Paragraph } from "@components/typography/index.ts";
import { PropsReferenceTable } from "./PropsReferenceTable.tsx";
import * as StylePropsStories from "./StyleProps.stories.tsx";
import { Table, Source } from "@stories/components";
import { Canvas, Table, Source } from "@stories/components";

<Meta of={StylePropsStories} />

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/accordion/docs/Accordion.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion/index.ts";
import { ArgTypes, Meta, Story, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { Content, InnerContent } from "@components/placeholders/index.ts";
import { H3, Text } from "@components/typography/index.ts";
import { SparklesIcon } from "@hopper-ui/icons";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/alert/docs/Alert.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Alert, AlertTrigger, InnerAlert } from "@components/alert/index.ts";
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerContent } from "@components/placeholders/index.ts";
import { InnerHeading } from "@components/typography/index.ts";
import * as AlertStories from "./Alert.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/autocomplete/docs/Autocomplete.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { InnerAutocomplete } from "@components/autocomplete/index.ts";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import { InnerItem, InnerSection } from "@components/collection/index.ts";
import * as AutocompleteStories from "./Autocomplete.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/avatar/docs/Avatar.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { InnerAvatar, InnerAvatarGroup, InnerDeletedAvatar, InnerAnonymousAvatar } from "@components/avatar/index.ts";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import * as AvatarStories from "./Avatar.stories.tsx";

<Meta of={AvatarStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/badge/docs/Badge.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { InnerBadge } from "@components/badge/index.ts";
import { ComponentInfo, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";

import * as BadgeStories from "./Badge.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/box/docs/Box.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerBox } from "@components/box/index.ts";
import * as BoxStories from "./Box.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/button/docs/Button.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { SparklesIcon } from "@hopper-ui/icons";
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import {
InnerButton,
InnerButtonGroup,
InnerIconButton,
InnerToggleButton,
InnerToggleIconButton
} from "@components/button/index.ts";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import * as ButtonStories from "./Button.stories.tsx";

<Meta of={ButtonStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/button/docs/CrossButton.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerCrossButton } from "@components/button/index.ts";

import * as CrossButtonStories from "./CrossButton.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/card/docs/Card.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { InnerCard } from "@components/card/index.ts";
import { ComponentInfo, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerContent, InnerHeader } from "@components/placeholders/index.ts";
import { InnerHeading } from "@components/typography/index.ts";
import * as CardStories from "./Card.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/checkbox/docs/Checkbox.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { InnerCheckbox, InnerCheckboxGroup } from "@components/checkbox/index.ts";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";

import * as CheckboxStories from "./Checkbox.stories.tsx"

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/counter/docs/Counter.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import { InnerCounter } from "@components/counter/index.ts";
import * as CounterStories from "./Counter.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/date-input/docs/DateInput.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerDateInput } from "@components/date-input/index.ts";

import * as DateInputStories from "./DateInput.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/date-input/docs/DateRangeInput.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerDateRangeInput } from "@components/date-input/index.ts";

import * as DateRangeInputStories from "./DateRangeInput.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/disclosure/docs/Disclosure.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerDisclosure } from "@components/disclosure/index.ts";
import { InnerContent } from "@components/placeholders/index.ts";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/disclosure/docs/DisclosureArrow.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerDisclosureArrow } from "@components/disclosure/index.ts";

import * as DisclosureArrowStories from "./DisclosureArrow.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/divider/docs/Divider.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerDivider } from "@components/divider/index.ts";
import * as DividerStories from "./Divider.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/dot/docs/Dot.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo } from "@stories/components";
import { InnerDot } from "@components/dot/index.ts";
import { Inline } from "@components/layout/index.ts";
import * as DotStories from "./Dot.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/field/docs/Field.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import { InnerErrorMessage, InnerField, InnerGroupField, InnerHelpMessage, InnerLabel, InnerValidMessage } from "@components/field/index.ts";
import * as FieldStories from "./Field.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/form/docs/Form.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerFieldset, InnerForm } from "@components/form/index.ts";
import * as FormStories from "./Form.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/address.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as AddressStories from "./address.stories.tsx";

<Meta of={AddressStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/anchor.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as AStories from "./anchor.stories.tsx";

<Meta of={AStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/article.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as ArticleStories from "./article.stories.tsx";

<Meta of={ArticleStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/aside.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as AsideStories from "./aside.stories.tsx";

<Meta of={AsideStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/button.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as ButtonStories from "./button.stories.tsx";

<Meta of={ButtonStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/div.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as DivStories from "./div.stories.tsx";

<Meta of={DivStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/footer.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as FooterStories from "./footer.stories.tsx";

<Meta of={FooterStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/header.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as HeaderStories from "./header.stories.tsx";

<Meta of={HeaderStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/img.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Preview, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Preview, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as ImgStories from "./img.stories.tsx";

<Meta of={ImgStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/input.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as InputStories from "./input.stories.tsx";

<Meta of={InputStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/list.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as ListStories from "./list.stories.tsx";

<Meta of={ListStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/main.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as MainStories from "./main.stories.tsx";

<Meta of={MainStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/nav.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as NavStories from "./nav.stories.tsx";

<Meta of={NavStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/section.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as SectionStories from "./section.stories.tsx";

<Meta of={SectionStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/span.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as SpanStories from "./span.stories.tsx";

<Meta of={SpanStories} />
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/html/docs/table.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentInfo, Link, Preview, Tagline } from "@stories/components";
import { Canvas, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Link, Preview, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";
import * as TableStories from "./table.stories.tsx";

<Meta of={TableStories} />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import { InnerIllustratedMessage } from "@components/illustrated-message/index.ts";

import * as IllustratedMessageStories from "./IllustratedMessage.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/illustration/docs/Illustration.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerIllustration } from "@components/illustration/index.ts";
import * as IllustrationStories from "./Illustration.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/image/docs/Image.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerImage, InnerSvgImage } from "@components/image/index.ts";

import * as ImageStories from "./Image.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/input-group/docs/InputGroup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerInputGroup, InnerTextAddon, InputGroup } from "@components/input-group/index.ts";

import * as InputGroupStories from "./InputGroup.stories.tsx";
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/layout/docs/Flex.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerFlex, InnerInline, InnerStack } from "@components/layout/index.ts";
import * as FlexStories from "./Flex.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/layout/docs/Grid.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Tagline } from "@stories/components";
import { InnerGrid } from "@components/layout/index.ts";
import * as GridStories from "./Grid.stories.tsx";

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/link/docs/Link.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs";
import { ComponentInfo, Preview, Tagline } from "@stories/components";
import { ArgTypes, Meta } from "@storybook/addon-docs";
import { Canvas, ComponentInfo, Preview, Tagline } from "@stories/components";
import { InnerIconLink, InnerLink, InnerTextLink } from "@components/link/index.ts";
import * as LinkStories from "./Link.stories.tsx";

Expand Down
Loading

0 comments on commit ba018b4

Please sign in to comment.