Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a1b216d

Browse files
committed
Fix build
1 parent 6a325db commit a1b216d

File tree

20 files changed

+23
-25
lines changed

20 files changed

+23
-25
lines changed

code/addons/a11y/src/preview.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @vitest-environment happy-dom
22
import { beforeEach, describe, expect, it, vi } from 'vitest';
33

4-
import type { StoryContext } from '@storybook/internal/csf';
4+
import type { StoryContext } from 'storybook/internal/csf';
55

66
import { run } from './a11yRunner';
77
import { A11Y_TEST_TAG } from './constants';

code/addons/controls/src/manager.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import type {
77
SaveStoryResponsePayload,
88
} from 'storybook/internal/core-events';
99
import { SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE } from 'storybook/internal/core-events';
10+
import type { Args } from 'storybook/internal/csf';
1011
import {
1112
addons,
1213
experimental_requestResponse,
@@ -15,8 +16,6 @@ import {
1516
} from 'storybook/internal/manager-api';
1617
import { color } from 'storybook/internal/theming';
1718

18-
import type { Args } from '@storybook/internal/csf';
19-
2019
import { dequal as deepEqual } from 'dequal';
2120

2221
import { ControlsPanel } from './ControlsPanel';

code/addons/links/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { SELECT_STORY, STORY_CHANGED } from 'storybook/internal/core-events';
2+
import { toId } from 'storybook/internal/csf';
23
import { addons, makeDecorator } from 'storybook/internal/preview-api';
34
import type { ComponentTitle, StoryId, StoryKind, StoryName } from 'storybook/internal/types';
45

56
import { global } from '@storybook/global';
6-
import { toId } from '@storybook/internal/csf';
77

88
import { PARAM_KEY } from './constants';
99

code/addons/test/src/components/TestProviderRender.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
type TestProviderConfig,
2121
type TestProviderState,
2222
} from 'storybook/internal/core-events';
23+
import type { Tag } from 'storybook/internal/csf';
2324
import { addons, useStorybookState } from 'storybook/internal/manager-api';
2425
import type { API } from 'storybook/internal/manager-api';
2526
import { styled, useTheme } from 'storybook/internal/theming';
@@ -33,7 +34,6 @@ import {
3334
ShieldIcon,
3435
StopAltIcon,
3536
} from '@storybook/icons';
36-
import type { Tag } from '@storybook/internal/csf';
3737

3838
import { isEqual } from 'es-toolkit';
3939
import { debounce } from 'es-toolkit/compat';

code/addons/test/src/vitest-plugin/viewports.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* eslint-disable no-underscore-dangle */
2+
import type { Globals, Parameters } from 'storybook/internal/csf';
23
import { UnsupportedViewportDimensionError } from 'storybook/internal/preview-errors';
34

4-
import type { Globals, Parameters } from '@storybook/internal/csf';
5-
65
import { MINIMAL_VIEWPORTS } from '../../../viewport/src/defaults';
76
import type { ViewportMap, ViewportStyles } from '../../../viewport/src/types';
87

code/e2e-tests/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable local-rules/no-uncategorized-errors */
2-
import { toId } from '@storybook/internal/csf';
2+
import { toId } from 'storybook/internal/csf';
33

44
import type { Expect, Page } from '@playwright/test';
55

code/lib/blocks/src/blocks/ArgTypes.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22

3-
import type { PlayFunctionContext } from '@storybook/internal/csf';
3+
import type { PlayFunctionContext } from 'storybook/internal/csf';
4+
45
import type { Meta, StoryObj } from '@storybook/react';
56
import { within } from '@storybook/test';
67

code/lib/blocks/src/blocks/ArgTypes.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
import type { FC } from 'react';
33
import React from 'react';
44

5+
import type { Parameters, Renderer, StrictArgTypes } from 'storybook/internal/csf';
56
import type { ArgTypesExtractor } from 'storybook/internal/docs-tools';
67
import type { PropDescriptor } from 'storybook/internal/preview-api';
78
import { filterArgTypes } from 'storybook/internal/preview-api';
89
import type { ModuleExports } from 'storybook/internal/types';
910

10-
import type { Parameters, Renderer, StrictArgTypes } from '@storybook/internal/csf';
11-
1211
import type { SortType } from '../components';
1312
import { ArgsTableError, ArgsTable as PureArgsTable, TabbedArgsTable } from '../components';
1413
import { useOf } from './useOf';

code/lib/blocks/src/blocks/Controls.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22

3-
import type { PlayFunctionContext } from '@storybook/internal/csf';
3+
import type { PlayFunctionContext } from 'storybook/internal/csf';
4+
45
import type { Meta, StoryObj } from '@storybook/react';
56
import { within } from '@storybook/test';
67

code/lib/blocks/src/blocks/Controls.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
import type { FC } from 'react';
33
import React, { useContext } from 'react';
44

5+
import type { Parameters, Renderer, StrictArgTypes } from 'storybook/internal/csf';
56
import type { ArgTypesExtractor } from 'storybook/internal/docs-tools';
67
import { filterArgTypes } from 'storybook/internal/preview-api';
78
import type { PropDescriptor } from 'storybook/internal/preview-api';
89
import type { ModuleExports } from 'storybook/internal/types';
910

10-
import type { Parameters, Renderer, StrictArgTypes } from '@storybook/internal/csf';
11-
1211
import type { SortType } from '../components';
1312
import { ArgsTableError, ArgsTable as PureArgsTable, TabbedArgsTable } from '../components';
1413
import { DocsContext } from './DocsContext';

0 commit comments

Comments
 (0)