@storybook/svelte 9.0.0-alpha.2 → 9.0.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/package.json +2 -2
- package/template/cli/js/Page.stories.js +1 -1
- package/template/cli/svelte-5-js/Button.stories.svelte +1 -1
- package/template/cli/svelte-5-js/Header.stories.svelte +1 -1
- package/template/cli/svelte-5-js/Page.stories.svelte +2 -2
- package/template/cli/svelte-5-ts-3-8/Button.stories.svelte +1 -1
- package/template/cli/svelte-5-ts-3-8/Header.stories.svelte +1 -1
- package/template/cli/svelte-5-ts-3-8/Page.stories.svelte +2 -2
- package/template/cli/svelte-5-ts-4-9/Button.stories.svelte +1 -1
- package/template/cli/svelte-5-ts-4-9/Header.stories.svelte +1 -1
- package/template/cli/svelte-5-ts-4-9/Page.stories.svelte +2 -2
- package/template/cli/ts-4-9/Page.stories.ts +2 -1
- package/template/stories/args.stories.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/svelte",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.3",
|
|
4
4
|
"description": "Storybook Svelte renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"vite": "^6.0.11"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"storybook": "^9.0.0-alpha.
|
|
74
|
+
"storybook": "^9.0.0-alpha.3",
|
|
75
75
|
"svelte": "^4.0.0 || ^5.0.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Button from './Button.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Header from './Header.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
|
-
import { expect, userEvent, waitFor, within } from '
|
|
3
|
+
import { expect, userEvent, waitFor, within } from 'storybook/test';
|
|
4
4
|
import Page from './Page.svelte';
|
|
5
|
-
import { fn } from '
|
|
5
|
+
import { fn } from 'storybook/test';
|
|
6
6
|
|
|
7
7
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
8
8
|
const { Story } = defineMeta({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Button from './Button.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Header from './Header.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
|
-
import { expect, userEvent, waitFor, within } from '
|
|
3
|
+
import { expect, userEvent, waitFor, within } from 'storybook/test';
|
|
4
4
|
import Page from './Page.svelte';
|
|
5
|
-
import { fn } from '
|
|
5
|
+
import { fn } from 'storybook/test';
|
|
6
6
|
|
|
7
7
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
8
8
|
const { Story } = defineMeta({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Button from './Button.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
3
|
import Header from './Header.svelte';
|
|
4
|
-
import { fn } from '
|
|
4
|
+
import { fn } from 'storybook/test';
|
|
5
5
|
|
|
6
6
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
7
7
|
const { Story } = defineMeta({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module>
|
|
2
2
|
import { defineMeta } from '@storybook/addon-svelte-csf';
|
|
3
|
-
import { expect, userEvent, waitFor, within } from '
|
|
3
|
+
import { expect, userEvent, waitFor, within } from 'storybook/test';
|
|
4
4
|
import Page from './Page.svelte';
|
|
5
|
-
import { fn } from '
|
|
5
|
+
import { fn } from 'storybook/test';
|
|
6
6
|
|
|
7
7
|
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
8
8
|
const { Story } = defineMeta({
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from 'storybook/internal/core-events';
|
|
6
6
|
import { addons } from 'storybook/internal/preview-api';
|
|
7
7
|
|
|
8
|
-
import { expect, userEvent, waitFor, within } from '
|
|
8
|
+
import { expect, userEvent, waitFor, within } from 'storybook/test';
|
|
9
9
|
|
|
10
10
|
import ButtonView from './views/ButtonJavaScript.svelte';
|
|
11
11
|
|