@storybook/react-vite 7.5.0-alpha.2 → 7.5.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -797,18 +797,18 @@ type Indexer = BaseIndexer & {
|
|
|
797
797
|
* @param options {@link IndexerOptions} for indexing the file.
|
|
798
798
|
* @returns A promise that resolves to an array of {@link IndexInput} objects.
|
|
799
799
|
*/
|
|
800
|
-
|
|
800
|
+
createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
|
|
801
801
|
/**
|
|
802
|
-
* @
|
|
802
|
+
* @deprecated Use {@link index} instead
|
|
803
803
|
*/
|
|
804
804
|
indexer?: never;
|
|
805
805
|
};
|
|
806
806
|
type DeprecatedIndexer = BaseIndexer & {
|
|
807
807
|
indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
|
|
808
|
-
|
|
808
|
+
createIndex?: never;
|
|
809
809
|
};
|
|
810
810
|
/**
|
|
811
|
-
* @
|
|
811
|
+
* @deprecated Use {@link Indexer} instead
|
|
812
812
|
*/
|
|
813
813
|
type StoryIndexer = Indexer | DeprecatedIndexer;
|
|
814
814
|
/**
|
|
@@ -1116,7 +1116,7 @@ interface StorybookConfig$1 {
|
|
|
1116
1116
|
previewAnnotations?: PresetValue<Entry[]>;
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Process CSF files for the story index.
|
|
1119
|
-
* @
|
|
1119
|
+
* @deprecated use {@link experimental_indexers} instead
|
|
1120
1120
|
*/
|
|
1121
1121
|
storyIndexers?: PresetValue<StoryIndexer[]>;
|
|
1122
1122
|
/**
|
package/dist/index.d.ts
CHANGED
package/dist/preset.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-vite",
|
|
3
|
-
"version": "7.5.0-alpha.
|
|
3
|
+
"version": "7.5.0-alpha.4",
|
|
4
4
|
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@joshwooding/vite-plugin-react-docgen-typescript": "0.2.1",
|
|
51
51
|
"@rollup/pluginutils": "^5.0.2",
|
|
52
|
-
"@storybook/builder-vite": "7.5.0-alpha.
|
|
53
|
-
"@storybook/react": "7.5.0-alpha.
|
|
52
|
+
"@storybook/builder-vite": "7.5.0-alpha.4",
|
|
53
|
+
"@storybook/react": "7.5.0-alpha.4",
|
|
54
54
|
"@vitejs/plugin-react": "^3.0.1",
|
|
55
55
|
"ast-types": "^0.14.2",
|
|
56
56
|
"magic-string": "^0.30.0",
|