@storybook/sveltekit 7.5.0-alpha.1 → 7.5.0-alpha.3
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.
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ However SvelteKit has some [Kit-specific modules](https://kit.svelte.dev/docs/mo
|
|
|
29
29
|
| [`$app/forms`](https://kit.svelte.dev/docs/modules#$app-forms) | ⏳ Future | Will use mocks. Tracked in [#20999](https://github.com/storybookjs/storybook/issues/20999) |
|
|
30
30
|
| [`$app/navigation`](https://kit.svelte.dev/docs/modules#$app-navigation) | ⏳ Future | Will use mocks. Tracked in [#20999](https://github.com/storybookjs/storybook/issues/20999) |
|
|
31
31
|
| [`$app/paths`](https://kit.svelte.dev/docs/modules#$app-paths) | ✅ Supported | Requires SvelteKit 1.4.0 or newer |
|
|
32
|
-
| [`$app/stores`](https://kit.svelte.dev/docs/modules#$app-stores) | ✅ Supported | Mocks planned, so you can set different store values per story.
|
|
32
|
+
| [`$app/stores`](https://kit.svelte.dev/docs/modules#$app-stores) | ✅ Supported | Mocks planned, so you can set different store values per story. |
|
|
33
33
|
| [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private) | ⛔ Not supported | They are meant to only be available server-side, and Storybook renders all components on the client. |
|
|
34
34
|
| [`$env/dynamic/public`](https://kit.svelte.dev/docs/modules#$env-dynamic-public) | 🚧 Partially supported | Only supported in development mode. Storybook is built as a static app with no server-side API so cannot dynamically serve content. |
|
|
35
35
|
| [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private) | ⛔ Not supported | They are meant to only be available server-side, and Storybook renders all components on the client. |
|
|
@@ -796,7 +796,7 @@ type Indexer = BaseIndexer & {
|
|
|
796
796
|
* @param options {@link IndexerOptions} for indexing the file.
|
|
797
797
|
* @returns A promise that resolves to an array of {@link IndexInput} objects.
|
|
798
798
|
*/
|
|
799
|
-
|
|
799
|
+
createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
|
|
800
800
|
/**
|
|
801
801
|
* @soonDeprecated Use {@link index} instead
|
|
802
802
|
*/
|
|
@@ -804,7 +804,7 @@ type Indexer = BaseIndexer & {
|
|
|
804
804
|
};
|
|
805
805
|
type DeprecatedIndexer = BaseIndexer & {
|
|
806
806
|
indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
|
|
807
|
-
|
|
807
|
+
createIndex?: never;
|
|
808
808
|
};
|
|
809
809
|
/**
|
|
810
810
|
* @soonDeprecated Use {@link Indexer} instead
|
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/sveltekit",
|
|
3
|
-
"version": "7.5.0-alpha.
|
|
3
|
+
"version": "7.5.0-alpha.3",
|
|
4
4
|
"description": "Storybook for SvelteKit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@storybook/builder-vite": "7.5.0-alpha.
|
|
54
|
-
"@storybook/svelte": "7.5.0-alpha.
|
|
55
|
-
"@storybook/svelte-vite": "7.5.0-alpha.
|
|
53
|
+
"@storybook/builder-vite": "7.5.0-alpha.3",
|
|
54
|
+
"@storybook/svelte": "7.5.0-alpha.3",
|
|
55
|
+
"@storybook/svelte-vite": "7.5.0-alpha.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/node": "^16.0.0",
|