diff --git a/.changeset/pink-pumas-rest.md b/.changeset/pink-pumas-rest.md new file mode 100644 index 0000000000..7d6beb6ccf --- /dev/null +++ b/.changeset/pink-pumas-rest.md @@ -0,0 +1,5 @@ +--- +"@fluentui-react-native/components": patch +--- + +Remove file added inadvertently after the move of the storybook app diff --git a/apps/storybook/src/main.ts b/apps/storybook/src/main.ts index daa4d201be..6e42dd7975 100644 --- a/apps/storybook/src/main.ts +++ b/apps/storybook/src/main.ts @@ -7,7 +7,10 @@ import type { StorybookConfig } from '@storybook/react-native'; * that are linked into this application. */ const main: StorybookConfig = { - stories: ['../../src/**/*.stories.?(ts|tsx)', '../../../native/Callout/src/**/*.stories.?(ts|tsx)'], + stories: [ + '../../../packages/agentic-components/src/**/*.stories.?(ts|tsx)', + '../../../packages/native/callout/src/**/*.stories.?(ts|tsx)', + ], addons: [], deviceAddons: ['@storybook/addon-ondevice-controls', '@storybook/addon-ondevice-actions'], }; diff --git a/packages/agentic-components/storybook/src/storybook.requires.ts b/packages/agentic-components/storybook/src/storybook.requires.ts deleted file mode 100644 index 8174f95f30..0000000000 --- a/packages/agentic-components/storybook/src/storybook.requires.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* do not change this file, it is auto generated by storybook. */ -/// -import { start, updateView, type View, type Features } from '@storybook/react-native'; - -import '@storybook/addon-ondevice-controls/register'; -import '@storybook/addon-ondevice-actions/register'; - -const normalizedStories = [ - { - titlePrefix: '', - directory: '../src', - files: '**/*.stories.?(ts|tsx)', - importPathMatcher: /^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(?:ts|tsx)?)$/, - req: require.context('../../src', true, /^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(?:ts|tsx)?)$/), - }, - { - titlePrefix: '', - directory: '../../native/Callout/src', - files: '**/*.stories.?(ts|tsx)', - importPathMatcher: /^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(?:ts|tsx)?)$/, - req: require.context( - '../../../native/Callout/src', - true, - /^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(?:ts|tsx)?)$/, - ), - }, -]; - -declare global { - var view: View; - var STORIES: typeof normalizedStories; - var STORYBOOK_WEBSOCKET: { host?: string; port?: number; secured?: boolean } | undefined; - var FEATURES: Features; -} - -const annotations = [require('./preview'), require('@storybook/react-native/preview')]; - -globalThis.STORIES = normalizedStories; - -module?.hot?.accept?.(); - -const options = {}; - -if (!globalThis.view) { - globalThis.view = start({ - annotations, - storyEntries: normalizedStories, - options, - }); -} else { - updateView(globalThis.view, annotations, normalizedStories, options); -} - -export const view: View = globalThis.view;