@storybook/vue3 10.0.0-beta.1 → 10.0.0-beta.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/dist/preset.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import CJS_COMPAT_NODE_URL_iubns83n3e from 'node:url';
|
2
|
+
import CJS_COMPAT_NODE_PATH_iubns83n3e from 'node:path';
|
3
|
+
import CJS_COMPAT_NODE_MODULE_iubns83n3e from "node:module";
|
4
4
|
|
5
|
-
var __filename =
|
6
|
-
var __dirname =
|
7
|
-
var require =
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_iubns83n3e.fileURLToPath(import.meta.url);
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_iubns83n3e.dirname(__filename);
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_iubns83n3e.createRequire(import.meta.url);
|
8
8
|
|
9
9
|
// ------------------------------------------------------------
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/vue3",
|
3
|
-
"version": "10.0.0-beta.
|
3
|
+
"version": "10.0.0-beta.3",
|
4
4
|
"description": "Storybook Vue 3 renderer: Develop, document, and test UI components in isolation",
|
5
5
|
"keywords": [
|
6
6
|
"storybook",
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"vue-tsc": "latest"
|
64
64
|
},
|
65
65
|
"peerDependencies": {
|
66
|
-
"storybook": "^10.0.0-beta.
|
66
|
+
"storybook": "^10.0.0-beta.3",
|
67
67
|
"vue": "^3.0.0"
|
68
68
|
},
|
69
69
|
"publishConfig": {
|
@@ -11,7 +11,7 @@ export default {
|
|
11
11
|
size: { control: { type: 'select' }, options: ['small', 'medium', 'large'] },
|
12
12
|
backgroundColor: { control: 'color' },
|
13
13
|
},
|
14
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#
|
14
|
+
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
|
15
15
|
args: { onClick: fn() },
|
16
16
|
};
|
17
17
|
|
@@ -16,7 +16,7 @@ const meta = {
|
|
16
16
|
},
|
17
17
|
args: {
|
18
18
|
primary: false,
|
19
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#
|
19
|
+
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
|
20
20
|
onClick: fn(),
|
21
21
|
},
|
22
22
|
} satisfies Meta<typeof Button>;
|