@storybook/vue3 8.0.0-alpha.10 → 8.0.0-alpha.12
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/vue3",
|
3
|
-
"version": "8.0.0-alpha.
|
3
|
+
"version": "8.0.0-alpha.12",
|
4
4
|
"description": "Storybook Vue 3 renderer",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,10 +47,10 @@
|
|
47
47
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/docs-tools": "8.0.0-alpha.
|
50
|
+
"@storybook/docs-tools": "8.0.0-alpha.12",
|
51
51
|
"@storybook/global": "^5.0.0",
|
52
|
-
"@storybook/preview-api": "8.0.0-alpha.
|
53
|
-
"@storybook/types": "8.0.0-alpha.
|
52
|
+
"@storybook/preview-api": "8.0.0-alpha.12",
|
53
|
+
"@storybook/types": "8.0.0-alpha.12",
|
54
54
|
"@vue/compiler-core": "^3.0.0",
|
55
55
|
"lodash": "^4.17.21",
|
56
56
|
"ts-dedent": "^2.0.0",
|
@@ -5,7 +5,7 @@ import { setup } from '@storybook/vue3';
|
|
5
5
|
const somePlugin = {
|
6
6
|
install: (app, options) => {
|
7
7
|
// inject a globally available $greetingText() method
|
8
|
-
|
8
|
+
|
9
9
|
app.config.globalProperties.$greetingMessage = (key) => {
|
10
10
|
// retrieve a nested property in `options`
|
11
11
|
// using `key`
|
@@ -25,7 +25,7 @@ const meta = {
|
|
25
25
|
render: (args) => {
|
26
26
|
// Individual properties can be overridden by spreading the args
|
27
27
|
// and the replacing the key-values that need to be updated
|
28
|
-
args = { ...args, icon: icons[args.icon || 'Primary'] };
|
28
|
+
args = { ...args, icon: icons[args.icon || 'Primary'] };
|
29
29
|
return {
|
30
30
|
// Components used in your story `template` are defined in the `components` object
|
31
31
|
components: { OverrideArgs },
|