@storybook/sveltekit 8.0.0-alpha.8 → 8.0.0-beta.0
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 +1 -2
- package/dist/index-89e47de2.d.ts +1252 -0
- package/dist/index.d.ts +1 -2
- package/dist/preset.d.ts +1 -2
- package/package.json +6 -6
- package/template/stories_svelte-kit-prerelease-ts/hrefs.stories.js +1 -2
- package/template/stories_svelte-kit-skeleton-js/hrefs.stories.js +1 -2
- package/template/stories_svelte-kit-skeleton-ts/hrefs.stories.js +1 -2
- package/dist/index-73647786.d.ts +0 -3147
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { F as FrameworkOptions, H as HrefConfig, N as NormalizedHrefConfig, S as StorybookConfig, a as SvelteKitParameters } from './index-
|
|
1
|
+
export { F as FrameworkOptions, H as HrefConfig, N as NormalizedHrefConfig, S as StorybookConfig, a as SvelteKitParameters } from './index-89e47de2.js';
|
|
2
2
|
import '@storybook/builder-vite';
|
|
3
3
|
import 'file-system-cache';
|
|
4
|
-
import '@babel/core';
|
|
5
4
|
import 'http';
|
package/dist/preset.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { P as PresetProperty, S as StorybookConfig } from './index-
|
|
1
|
+
import { P as PresetProperty, S as StorybookConfig } from './index-89e47de2.js';
|
|
2
2
|
import '@storybook/builder-vite';
|
|
3
3
|
import 'file-system-cache';
|
|
4
|
-
import '@babel/core';
|
|
5
4
|
import 'http';
|
|
6
5
|
|
|
7
6
|
declare const core: PresetProperty<'core'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/sveltekit",
|
|
3
|
-
"version": "8.0.0-
|
|
3
|
+
"version": "8.0.0-beta.0",
|
|
4
4
|
"description": "Storybook for SvelteKit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@storybook/addon-actions": "8.0.0-
|
|
57
|
-
"@storybook/builder-vite": "8.0.0-
|
|
58
|
-
"@storybook/svelte": "8.0.0-
|
|
59
|
-
"@storybook/svelte-vite": "8.0.0-
|
|
56
|
+
"@storybook/addon-actions": "8.0.0-beta.0",
|
|
57
|
+
"@storybook/builder-vite": "8.0.0-beta.0",
|
|
58
|
+
"@storybook/svelte": "8.0.0-beta.0",
|
|
59
|
+
"@storybook/svelte-vite": "8.0.0-beta.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "^18.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"vite": "^4.0.0 || ^5.0.0"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
|
-
"node": "
|
|
71
|
+
"node": ">=18.0.0"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
export const DefaultActions = {
|
|
11
11
|
async play({ canvasElement }) {
|
|
12
12
|
const canvas = within(canvasElement);
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
const initialUrl = window.location.toString();
|
|
15
15
|
|
|
16
16
|
const basicHref = canvas.getByText('/basic-href');
|
|
@@ -21,7 +21,6 @@ export const DefaultActions = {
|
|
|
21
21
|
);
|
|
22
22
|
complexHref.click();
|
|
23
23
|
|
|
24
|
-
// eslint-disable-next-line no-undef
|
|
25
24
|
const finalUrl = window.location.toString();
|
|
26
25
|
expect(finalUrl).toBe(initialUrl);
|
|
27
26
|
},
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
export const DefaultActions = {
|
|
11
11
|
async play({ canvasElement }) {
|
|
12
12
|
const canvas = within(canvasElement);
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
const initialUrl = window.location.toString();
|
|
15
15
|
|
|
16
16
|
const basicHref = canvas.getByText('/basic-href');
|
|
@@ -21,7 +21,6 @@ export const DefaultActions = {
|
|
|
21
21
|
);
|
|
22
22
|
complexHref.click();
|
|
23
23
|
|
|
24
|
-
// eslint-disable-next-line no-undef
|
|
25
24
|
const finalUrl = window.location.toString();
|
|
26
25
|
expect(finalUrl).toBe(initialUrl);
|
|
27
26
|
},
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
export const DefaultActions = {
|
|
11
11
|
async play({ canvasElement }) {
|
|
12
12
|
const canvas = within(canvasElement);
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
const initialUrl = window.location.toString();
|
|
15
15
|
|
|
16
16
|
const basicHref = canvas.getByText('/basic-href');
|
|
@@ -21,7 +21,6 @@ export const DefaultActions = {
|
|
|
21
21
|
);
|
|
22
22
|
complexHref.click();
|
|
23
23
|
|
|
24
|
-
// eslint-disable-next-line no-undef
|
|
25
24
|
const finalUrl = window.location.toString();
|
|
26
25
|
expect(finalUrl).toBe(initialUrl);
|
|
27
26
|
},
|