@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/svelte",
3
- "version": "9.0.0-alpha.2",
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.2",
74
+ "storybook": "^9.0.0-alpha.3",
75
75
  "svelte": "^4.0.0 || ^5.0.0"
76
76
  },
77
77
  "engines": {
@@ -1,4 +1,4 @@
1
- import { expect, userEvent, waitFor, within } from '@storybook/test';
1
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
2
2
 
3
3
  import Page from './Page.svelte';
4
4
 
@@ -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 '@storybook/test';
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 '@storybook/test';
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 '@storybook/test';
3
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
4
4
  import Page from './Page.svelte';
5
- import { fn } from '@storybook/test';
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 '@storybook/test';
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 '@storybook/test';
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 '@storybook/test';
3
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
4
4
  import Page from './Page.svelte';
5
- import { fn } from '@storybook/test';
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 '@storybook/test';
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 '@storybook/test';
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 '@storybook/test';
3
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
4
4
  import Page from './Page.svelte';
5
- import { fn } from '@storybook/test';
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,5 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/svelte';
2
- import { expect, userEvent, waitFor, within } from '@storybook/test';
2
+
3
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
3
4
 
4
5
  import Page from './Page.svelte';
5
6
 
@@ -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 '@storybook/test';
8
+ import { expect, userEvent, waitFor, within } from 'storybook/test';
9
9
 
10
10
  import ButtonView from './views/ButtonJavaScript.svelte';
11
11