From 81032853285d1185cd4e8a02b56f9d27fce8ec07 Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Mon, 11 Jul 2022 11:35:26 -0700 Subject: [PATCH 1/2] update SB files to import from react-components --- .../react-image/src/stories/Image/ImageBlock.stories.tsx | 2 +- .../react-image/src/stories/Image/ImageBordered.stories.tsx | 2 +- .../react-image/src/stories/Image/ImageDefault.stories.tsx | 4 ++-- .../react-image/src/stories/Image/ImageFallback.stories.tsx | 2 +- .../react-image/src/stories/Image/ImageFit.stories.tsx | 2 +- .../react-image/src/stories/Image/ImageShadow.stories.tsx | 2 +- .../react-image/src/stories/Image/ImageShape.stories.tsx | 2 +- .../react-image/src/stories/Image/index.stories.tsx | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/react-components/react-image/src/stories/Image/ImageBlock.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageBlock.stories.tsx index 452dc7c835aedd..edc197712640b8 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageBlock.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageBlock.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Block = () => ( <> diff --git a/packages/react-components/react-image/src/stories/Image/ImageBordered.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageBordered.stories.tsx index 72e3873105d053..0a28196525c335 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageBordered.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageBordered.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Bordered = () => (
diff --git a/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx index 4fd03c5d096389..ef89a3fcd34130 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; -import type { ImageProps } from '@fluentui/react-image'; +import type { ImageProps } from '@fluentui/react-components'; import type { ArgTypes, Parameters } from '@storybook/react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Default = (props: ImageProps) => { return ; diff --git a/packages/react-components/react-image/src/stories/Image/ImageFallback.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageFallback.stories.tsx index 3256130e03c3c3..875129a110dbe7 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageFallback.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageFallback.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Fallback = () => (
diff --git a/packages/react-components/react-image/src/stories/Image/ImageFit.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageFit.stories.tsx index 2ecd4ac3eefa94..a46a273ac2b7a7 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageFit.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageFit.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Fit = () => ( <> diff --git a/packages/react-components/react-image/src/stories/Image/ImageShadow.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageShadow.stories.tsx index eb1224370c3ed3..77d7e34a21e03a 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageShadow.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageShadow.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Shadow = () => ( diff --git a/packages/react-components/react-image/src/stories/Image/ImageShape.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageShape.stories.tsx index d19a6c797bba52..94fadd8cf2f814 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageShape.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageShape.stories.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; export const Shape = () => (
diff --git a/packages/react-components/react-image/src/stories/Image/index.stories.tsx b/packages/react-components/react-image/src/stories/Image/index.stories.tsx index fec2f6fc0b9297..e752e0b02caaa9 100644 --- a/packages/react-components/react-image/src/stories/Image/index.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/index.stories.tsx @@ -1,4 +1,4 @@ -import { Image } from '@fluentui/react-image'; +import { Image } from '@fluentui/react-components'; import type { Meta } from '@storybook/react'; import descriptionMd from './ImageDescription.md'; import bestPracticesMd from './ImageBestPractices.md'; From ab7e6a1cdef8e6aaf42d75e7240e45a262dd1a13 Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Mon, 11 Jul 2022 12:32:16 -0700 Subject: [PATCH 2/2] nit: move type imports after regular imports --- .../react-image/src/stories/Image/ImageDefault.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx b/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx index ef89a3fcd34130..66ce82e41dbb73 100644 --- a/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx +++ b/packages/react-components/react-image/src/stories/Image/ImageDefault.stories.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; +import { Image } from '@fluentui/react-components'; import type { ImageProps } from '@fluentui/react-components'; import type { ArgTypes, Parameters } from '@storybook/react'; -import { Image } from '@fluentui/react-components'; export const Default = (props: ImageProps) => { return ;