@storybook/vue3 10.4.0-alpha.7 → 10.4.0-alpha.9
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.
|
@@ -196,8 +196,6 @@ function getArgs(element, storyContext) {
|
|
|
196
196
|
return element.props && isVNode(element) ? element.props : storyContext.args;
|
|
197
197
|
}
|
|
198
198
|
function updateArgs(reactiveArgs, nextArgs) {
|
|
199
|
-
if (Object.keys(nextArgs).length === 0)
|
|
200
|
-
return;
|
|
201
199
|
let currentArgs = isReactive(reactiveArgs) ? reactiveArgs : reactive(reactiveArgs);
|
|
202
200
|
Object.keys(currentArgs).forEach((key) => {
|
|
203
201
|
key in nextArgs || delete currentArgs[key];
|
package/dist/entry-preview.js
CHANGED
package/dist/index.js
CHANGED
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mjkw6e3pues from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mjkw6e3pues from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mjkw6e3pues from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mjkw6e3pues.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mjkw6e3pues.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mjkw6e3pues.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.4.0-alpha.
|
|
3
|
+
"version": "10.4.0-alpha.9",
|
|
4
4
|
"description": "Storybook Vue 3 renderer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"vue-tsc": "latest"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"storybook": "^10.4.0-alpha.
|
|
64
|
+
"storybook": "^10.4.0-alpha.9",
|
|
65
65
|
"vue": "^3.0.0"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|