From 6b1981b03c55817d71b557dd61c2317d6e54b097 Mon Sep 17 00:00:00 2001 From: Vincent Smedinga Date: Mon, 22 Jul 2024 17:46:14 +0200 Subject: [PATCH] Import from source in stories --- .../src/components/DescriptionList/DescriptionList.stories.tsx | 2 +- storybook/src/components/Field/Field.stories.tsx | 2 +- storybook/src/components/Select/Select.stories.tsx | 2 +- storybook/src/utils/VisuallyHidden/VisuallyHidden.stories.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/storybook/src/components/DescriptionList/DescriptionList.stories.tsx b/storybook/src/components/DescriptionList/DescriptionList.stories.tsx index e0602180aa..898cad3ce7 100644 --- a/storybook/src/components/DescriptionList/DescriptionList.stories.tsx +++ b/storybook/src/components/DescriptionList/DescriptionList.stories.tsx @@ -3,7 +3,7 @@ * Copyright Gemeente Amsterdam */ -import { DescriptionList } from '@amsterdam/design-system-react' +import { DescriptionList } from '@amsterdam/design-system-react/src' import { Meta, StoryObj } from '@storybook/react' import { inverseColorDecorator } from '../shared/decorators' import { exampleParagraph } from '../shared/exampleContent' diff --git a/storybook/src/components/Field/Field.stories.tsx b/storybook/src/components/Field/Field.stories.tsx index e542c88ea8..65afe5e1a1 100644 --- a/storybook/src/components/Field/Field.stories.tsx +++ b/storybook/src/components/Field/Field.stories.tsx @@ -3,7 +3,7 @@ * Copyright Gemeente Amsterdam */ -import { ErrorMessage, Label, TextInput } from '@amsterdam/design-system-react' +import { ErrorMessage, Label, TextInput } from '@amsterdam/design-system-react/src' import { Field, Paragraph } from '@amsterdam/design-system-react/src' import { Meta, StoryObj } from '@storybook/react' diff --git a/storybook/src/components/Select/Select.stories.tsx b/storybook/src/components/Select/Select.stories.tsx index 20741154da..50639dd6e2 100644 --- a/storybook/src/components/Select/Select.stories.tsx +++ b/storybook/src/components/Select/Select.stories.tsx @@ -3,7 +3,7 @@ * Copyright Gemeente Amsterdam */ -import { Select } from '@amsterdam/design-system-react' +import { Select } from '@amsterdam/design-system-react/src' import { Meta, StoryObj } from '@storybook/react' const meta = { diff --git a/storybook/src/utils/VisuallyHidden/VisuallyHidden.stories.tsx b/storybook/src/utils/VisuallyHidden/VisuallyHidden.stories.tsx index 929ff807e9..cc9a3ebff5 100644 --- a/storybook/src/utils/VisuallyHidden/VisuallyHidden.stories.tsx +++ b/storybook/src/utils/VisuallyHidden/VisuallyHidden.stories.tsx @@ -3,7 +3,7 @@ * Copyright Gemeente Amsterdam */ -import { Paragraph } from '@amsterdam/design-system-react' +import { Paragraph } from '@amsterdam/design-system-react/src' import { Meta, StoryObj } from '@storybook/react' import type { HTMLAttributes } from 'react'