@storybook/vue3 6.4.0-beta.21 → 6.4.0-beta.25
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/cjs/client/preview/config.js +8 -0
- package/dist/cjs/client/preview/decorateStory.js +73 -0
- package/dist/cjs/client/preview/index.js +3 -68
- package/dist/esm/client/preview/config.js +1 -0
- package/dist/esm/client/preview/decorateStory.js +63 -0
- package/dist/esm/client/preview/index.js +1 -64
- package/dist/modern/client/preview/config.js +1 -0
- package/dist/modern/client/preview/decorateStory.js +59 -0
- package/dist/modern/client/preview/index.js +1 -60
- package/dist/ts3.4/client/preview/config.d.ts +1 -0
- package/dist/ts3.4/client/preview/decorateStory.d.ts +3 -0
- package/dist/ts3.4/client/preview/index.d.ts +2 -3
- package/dist/ts3.9/client/preview/config.d.ts +1 -0
- package/dist/ts3.9/client/preview/decorateStory.d.ts +3 -0
- package/dist/ts3.9/client/preview/index.d.ts +2 -3
- package/package.json +6 -6
- package/types-7-0.d.ts +1 -0
|
@@ -9,10 +9,18 @@ Object.defineProperty(exports, "renderToDOM", {
|
|
|
9
9
|
return _render.renderToDOM;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "decorateStory", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _decorateStory.decorateStory;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
12
18
|
exports.parameters = void 0;
|
|
13
19
|
|
|
14
20
|
var _render = require("./render");
|
|
15
21
|
|
|
22
|
+
var _decorateStory = require("./decorateStory");
|
|
23
|
+
|
|
16
24
|
var parameters = {
|
|
17
25
|
framework: 'vue3'
|
|
18
26
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.decorateStory = decorateStory;
|
|
7
|
+
|
|
8
|
+
require("core-js/modules/es.function.name.js");
|
|
9
|
+
|
|
10
|
+
require("core-js/modules/es.object.assign.js");
|
|
11
|
+
|
|
12
|
+
var _vue = require("vue");
|
|
13
|
+
|
|
14
|
+
var _store = require("@storybook/store");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
This normalizes a functional component into a render method in ComponentOptions.
|
|
18
|
+
|
|
19
|
+
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
20
|
+
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
21
|
+
*/
|
|
22
|
+
function normalizeFunctionalComponent(options) {
|
|
23
|
+
return typeof options === 'function' ? {
|
|
24
|
+
render: options,
|
|
25
|
+
name: options.name
|
|
26
|
+
} : options;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function prepare(rawStory, innerStory) {
|
|
30
|
+
var story = rawStory;
|
|
31
|
+
|
|
32
|
+
if (story == null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (innerStory) {
|
|
37
|
+
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
38
|
+
components: Object.assign({}, story.components || {}, {
|
|
39
|
+
story: innerStory
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
render: function render() {
|
|
46
|
+
return (0, _vue.h)(story);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function decorateStory(storyFn, decorators) {
|
|
52
|
+
return decorators.reduce(function (decorated, decorator) {
|
|
53
|
+
return function (context) {
|
|
54
|
+
var story;
|
|
55
|
+
var decoratedStory = decorator(function (update) {
|
|
56
|
+
story = decorated(Object.assign({}, context, (0, _store.sanitizeStoryContextUpdate)(update)));
|
|
57
|
+
return story;
|
|
58
|
+
}, context);
|
|
59
|
+
|
|
60
|
+
if (!story) {
|
|
61
|
+
story = decorated(context);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (decoratedStory === story) {
|
|
65
|
+
return story;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return prepare(decoratedStory, story);
|
|
69
|
+
};
|
|
70
|
+
}, function (context) {
|
|
71
|
+
return prepare(storyFn(context));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -11,84 +11,19 @@ Object.defineProperty(exports, "activeStoryComponent", {
|
|
|
11
11
|
});
|
|
12
12
|
exports.app = exports.raw = exports.getStorybook = exports.forceReRender = exports.setAddon = exports.clearDecorators = exports.addParameters = exports.addDecorator = exports.configure = exports.storiesOf = void 0;
|
|
13
13
|
|
|
14
|
-
require("core-js/modules/es.function.name.js");
|
|
15
|
-
|
|
16
|
-
require("core-js/modules/es.object.assign.js");
|
|
17
|
-
|
|
18
14
|
require("core-js/modules/es.array.concat.js");
|
|
19
15
|
|
|
20
|
-
var _vue = require("vue");
|
|
21
|
-
|
|
22
16
|
var _client = require("@storybook/core/client");
|
|
23
17
|
|
|
24
|
-
var _store = require("@storybook/store");
|
|
25
|
-
|
|
26
18
|
require("./globals");
|
|
27
19
|
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
This normalizes a functional component into a render method in ComponentOptions.
|
|
32
|
-
|
|
33
|
-
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
34
|
-
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
35
|
-
*/
|
|
36
|
-
function normalizeFunctionalComponent(options) {
|
|
37
|
-
return typeof options === 'function' ? {
|
|
38
|
-
render: options,
|
|
39
|
-
name: options.name
|
|
40
|
-
} : options;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function prepare(rawStory, innerStory) {
|
|
44
|
-
var story = rawStory;
|
|
45
|
-
|
|
46
|
-
if (story == null) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (innerStory) {
|
|
51
|
-
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
52
|
-
components: Object.assign({}, story.components || {}, {
|
|
53
|
-
story: innerStory
|
|
54
|
-
})
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
return {
|
|
59
|
-
render: function render() {
|
|
60
|
-
return (0, _vue.h)(story);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function decorateStory(storyFn, decorators) {
|
|
66
|
-
return decorators.reduce(function (decorated, decorator) {
|
|
67
|
-
return function (context) {
|
|
68
|
-
var story;
|
|
69
|
-
var decoratedStory = decorator(function (update) {
|
|
70
|
-
story = decorated(Object.assign({}, context, (0, _store.sanitizeStoryContextUpdate)(update)));
|
|
71
|
-
return story;
|
|
72
|
-
}, context);
|
|
20
|
+
var _decorateStory = require("./decorateStory");
|
|
73
21
|
|
|
74
|
-
|
|
75
|
-
story = decorated(context);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
if (decoratedStory === story) {
|
|
79
|
-
return story;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
return prepare(decoratedStory, story);
|
|
83
|
-
};
|
|
84
|
-
}, function (context) {
|
|
85
|
-
return prepare(storyFn(context));
|
|
86
|
-
});
|
|
87
|
-
}
|
|
22
|
+
var _render = require("./render");
|
|
88
23
|
|
|
89
24
|
var framework = 'vue3';
|
|
90
25
|
var api = (0, _client.start)(_render.renderToDOM, {
|
|
91
|
-
decorateStory: decorateStory
|
|
26
|
+
decorateStory: _decorateStory.decorateStory
|
|
92
27
|
});
|
|
93
28
|
|
|
94
29
|
var storiesOf = function storiesOf(kind, m) {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import "core-js/modules/es.function.name.js";
|
|
2
|
+
import "core-js/modules/es.object.assign.js";
|
|
3
|
+
import { h } from 'vue';
|
|
4
|
+
import { sanitizeStoryContextUpdate } from '@storybook/store';
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
This normalizes a functional component into a render method in ComponentOptions.
|
|
8
|
+
|
|
9
|
+
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
10
|
+
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
11
|
+
*/
|
|
12
|
+
function normalizeFunctionalComponent(options) {
|
|
13
|
+
return typeof options === 'function' ? {
|
|
14
|
+
render: options,
|
|
15
|
+
name: options.name
|
|
16
|
+
} : options;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function prepare(rawStory, innerStory) {
|
|
20
|
+
var story = rawStory;
|
|
21
|
+
|
|
22
|
+
if (story == null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (innerStory) {
|
|
27
|
+
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
28
|
+
components: Object.assign({}, story.components || {}, {
|
|
29
|
+
story: innerStory
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return {
|
|
35
|
+
render: function render() {
|
|
36
|
+
return h(story);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function decorateStory(storyFn, decorators) {
|
|
42
|
+
return decorators.reduce(function (decorated, decorator) {
|
|
43
|
+
return function (context) {
|
|
44
|
+
var story;
|
|
45
|
+
var decoratedStory = decorator(function (update) {
|
|
46
|
+
story = decorated(Object.assign({}, context, sanitizeStoryContextUpdate(update)));
|
|
47
|
+
return story;
|
|
48
|
+
}, context);
|
|
49
|
+
|
|
50
|
+
if (!story) {
|
|
51
|
+
story = decorated(context);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (decoratedStory === story) {
|
|
55
|
+
return story;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return prepare(decoratedStory, story);
|
|
59
|
+
};
|
|
60
|
+
}, function (context) {
|
|
61
|
+
return prepare(storyFn(context));
|
|
62
|
+
});
|
|
63
|
+
}
|
|
@@ -1,71 +1,8 @@
|
|
|
1
|
-
import "core-js/modules/es.function.name.js";
|
|
2
|
-
import "core-js/modules/es.object.assign.js";
|
|
3
1
|
import "core-js/modules/es.array.concat.js";
|
|
4
|
-
import { h } from 'vue';
|
|
5
2
|
import { start } from '@storybook/core/client';
|
|
6
|
-
import { sanitizeStoryContextUpdate } from '@storybook/store';
|
|
7
3
|
import './globals';
|
|
4
|
+
import { decorateStory } from './decorateStory';
|
|
8
5
|
import { renderToDOM, storybookApp } from './render';
|
|
9
|
-
/*
|
|
10
|
-
This normalizes a functional component into a render method in ComponentOptions.
|
|
11
|
-
|
|
12
|
-
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
13
|
-
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
function normalizeFunctionalComponent(options) {
|
|
17
|
-
return typeof options === 'function' ? {
|
|
18
|
-
render: options,
|
|
19
|
-
name: options.name
|
|
20
|
-
} : options;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function prepare(rawStory, innerStory) {
|
|
24
|
-
var story = rawStory;
|
|
25
|
-
|
|
26
|
-
if (story == null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
if (innerStory) {
|
|
31
|
-
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
32
|
-
components: Object.assign({}, story.components || {}, {
|
|
33
|
-
story: innerStory
|
|
34
|
-
})
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
return {
|
|
39
|
-
render: function render() {
|
|
40
|
-
return h(story);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function decorateStory(storyFn, decorators) {
|
|
46
|
-
return decorators.reduce(function (decorated, decorator) {
|
|
47
|
-
return function (context) {
|
|
48
|
-
var story;
|
|
49
|
-
var decoratedStory = decorator(function (update) {
|
|
50
|
-
story = decorated(Object.assign({}, context, sanitizeStoryContextUpdate(update)));
|
|
51
|
-
return story;
|
|
52
|
-
}, context);
|
|
53
|
-
|
|
54
|
-
if (!story) {
|
|
55
|
-
story = decorated(context);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
if (decoratedStory === story) {
|
|
59
|
-
return story;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return prepare(decoratedStory, story);
|
|
63
|
-
};
|
|
64
|
-
}, function (context) {
|
|
65
|
-
return prepare(storyFn(context));
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
|
|
69
6
|
var framework = 'vue3';
|
|
70
7
|
var api = start(renderToDOM, {
|
|
71
8
|
decorateStory: decorateStory
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import "core-js/modules/es.array.reduce.js";
|
|
2
|
+
import { h } from 'vue';
|
|
3
|
+
import { sanitizeStoryContextUpdate } from '@storybook/store';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
This normalizes a functional component into a render method in ComponentOptions.
|
|
7
|
+
|
|
8
|
+
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
9
|
+
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
10
|
+
*/
|
|
11
|
+
function normalizeFunctionalComponent(options) {
|
|
12
|
+
return typeof options === 'function' ? {
|
|
13
|
+
render: options,
|
|
14
|
+
name: options.name
|
|
15
|
+
} : options;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function prepare(rawStory, innerStory) {
|
|
19
|
+
const story = rawStory;
|
|
20
|
+
|
|
21
|
+
if (story == null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (innerStory) {
|
|
26
|
+
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
27
|
+
components: Object.assign({}, story.components || {}, {
|
|
28
|
+
story: innerStory
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
render() {
|
|
35
|
+
return h(story);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function decorateStory(storyFn, decorators) {
|
|
42
|
+
return decorators.reduce((decorated, decorator) => context => {
|
|
43
|
+
let story;
|
|
44
|
+
const decoratedStory = decorator(update => {
|
|
45
|
+
story = decorated(Object.assign({}, context, sanitizeStoryContextUpdate(update)));
|
|
46
|
+
return story;
|
|
47
|
+
}, context);
|
|
48
|
+
|
|
49
|
+
if (!story) {
|
|
50
|
+
story = decorated(context);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (decoratedStory === story) {
|
|
54
|
+
return story;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return prepare(decoratedStory, story);
|
|
58
|
+
}, context => prepare(storyFn(context)));
|
|
59
|
+
}
|
|
@@ -1,66 +1,7 @@
|
|
|
1
|
-
import "core-js/modules/es.array.reduce.js";
|
|
2
|
-
import { h } from 'vue';
|
|
3
1
|
import { start } from '@storybook/core/client';
|
|
4
|
-
import { sanitizeStoryContextUpdate } from '@storybook/store';
|
|
5
2
|
import './globals';
|
|
3
|
+
import { decorateStory } from './decorateStory';
|
|
6
4
|
import { renderToDOM, storybookApp } from './render';
|
|
7
|
-
/*
|
|
8
|
-
This normalizes a functional component into a render method in ComponentOptions.
|
|
9
|
-
|
|
10
|
-
The concept is taken from Vue 3's `defineComponent` but changed from creating a `setup`
|
|
11
|
-
method on the ComponentOptions so end-users don't need to specify a "thunk" as a decorator.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
function normalizeFunctionalComponent(options) {
|
|
15
|
-
return typeof options === 'function' ? {
|
|
16
|
-
render: options,
|
|
17
|
-
name: options.name
|
|
18
|
-
} : options;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function prepare(rawStory, innerStory) {
|
|
22
|
-
const story = rawStory;
|
|
23
|
-
|
|
24
|
-
if (story == null) {
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
if (innerStory) {
|
|
29
|
-
return Object.assign({}, normalizeFunctionalComponent(story), {
|
|
30
|
-
components: Object.assign({}, story.components || {}, {
|
|
31
|
-
story: innerStory
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return {
|
|
37
|
-
render() {
|
|
38
|
-
return h(story);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function decorateStory(storyFn, decorators) {
|
|
45
|
-
return decorators.reduce((decorated, decorator) => context => {
|
|
46
|
-
let story;
|
|
47
|
-
const decoratedStory = decorator(update => {
|
|
48
|
-
story = decorated(Object.assign({}, context, sanitizeStoryContextUpdate(update)));
|
|
49
|
-
return story;
|
|
50
|
-
}, context);
|
|
51
|
-
|
|
52
|
-
if (!story) {
|
|
53
|
-
story = decorated(context);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (decoratedStory === story) {
|
|
57
|
-
return story;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return prepare(decoratedStory, story);
|
|
61
|
-
}, context => prepare(storyFn(context)));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
5
|
const framework = 'vue3';
|
|
65
6
|
const api = start(renderToDOM, {
|
|
66
7
|
decorateStory
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="webpack-env" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import { App } from 'vue';
|
|
4
|
-
import { DecoratorFunction } from '@storybook/csf';
|
|
5
4
|
import { ClientStoryApi, Loadable } from '@storybook/addons';
|
|
6
5
|
import './globals';
|
|
7
6
|
import { IStorybookSection } from './types';
|
|
@@ -18,8 +17,8 @@ interface ClientApi extends ClientStoryApi<VueFramework['storyResult']> {
|
|
|
18
17
|
}
|
|
19
18
|
export declare const storiesOf: ClientApi['storiesOf'];
|
|
20
19
|
export declare const configure: ClientApi['configure'];
|
|
21
|
-
export declare const addDecorator: (() => never) | ((decorator: DecoratorFunction<VueFramework, import("@storybook/
|
|
22
|
-
export declare const addParameters: (() => never) | (({ globals, globalTypes, ...parameters }: import("@storybook/csf").Parameters & {
|
|
20
|
+
export declare const addDecorator: (() => never) | ((decorator: import("@storybook/csf").DecoratorFunction<VueFramework, import("@storybook/addons").Args>) => void);
|
|
21
|
+
export declare const addParameters: (() => never) | (({ globals, globalTypes, ...parameters }: import("@storybook/csf/dist/story").Parameters & {
|
|
23
22
|
globals?: import("@storybook/csf").Globals;
|
|
24
23
|
globalTypes?: import("@storybook/csf").GlobalTypes;
|
|
25
24
|
}) => void);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="webpack-env" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import type { App } from 'vue';
|
|
4
|
-
import { DecoratorFunction } from '@storybook/csf';
|
|
5
4
|
import { ClientStoryApi, Loadable } from '@storybook/addons';
|
|
6
5
|
import './globals';
|
|
7
6
|
import { IStorybookSection } from './types';
|
|
@@ -18,8 +17,8 @@ interface ClientApi extends ClientStoryApi<VueFramework['storyResult']> {
|
|
|
18
17
|
}
|
|
19
18
|
export declare const storiesOf: ClientApi['storiesOf'];
|
|
20
19
|
export declare const configure: ClientApi['configure'];
|
|
21
|
-
export declare const addDecorator: (() => never) | ((decorator: DecoratorFunction<VueFramework, import("@storybook/
|
|
22
|
-
export declare const addParameters: (() => never) | (({ globals, globalTypes, ...parameters }: import("@storybook/csf").Parameters & {
|
|
20
|
+
export declare const addDecorator: (() => never) | ((decorator: import("@storybook/csf").DecoratorFunction<VueFramework, import("@storybook/addons").Args>) => void);
|
|
21
|
+
export declare const addParameters: (() => never) | (({ globals, globalTypes, ...parameters }: import("@storybook/csf/dist/story").Parameters & {
|
|
23
22
|
globals?: import("@storybook/csf").Globals;
|
|
24
23
|
globalTypes?: import("@storybook/csf").GlobalTypes;
|
|
25
24
|
}) => void);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/vue3",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.25",
|
|
4
4
|
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"prepare": "node ../../scripts/prepare.js"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@storybook/addons": "6.4.0-beta.
|
|
49
|
-
"@storybook/core": "6.4.0-beta.
|
|
50
|
-
"@storybook/core-common": "6.4.0-beta.
|
|
48
|
+
"@storybook/addons": "6.4.0-beta.25",
|
|
49
|
+
"@storybook/core": "6.4.0-beta.25",
|
|
50
|
+
"@storybook/core-common": "6.4.0-beta.25",
|
|
51
51
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
52
|
-
"@storybook/store": "6.4.0-beta.
|
|
52
|
+
"@storybook/store": "6.4.0-beta.25",
|
|
53
53
|
"@types/webpack-env": "^1.16.0",
|
|
54
54
|
"core-js": "^3.8.2",
|
|
55
55
|
"global": "^4.4.0",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "5bf101067e5b9387ce092301bea6ab4ee432f777",
|
|
85
85
|
"sbmodern": "dist/modern/client/index.js"
|
|
86
86
|
}
|
package/types-7-0.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/ts3.9/client/preview/types-7-0.d';
|