@storybook/cli 7.0.0-alpha.34 → 7.0.0-alpha.37
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/cli",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.37",
|
|
4
4
|
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/core": "^7.12.10",
|
|
45
45
|
"@babel/preset-env": "^7.12.11",
|
|
46
|
-
"@storybook/codemod": "7.0.0-alpha.
|
|
47
|
-
"@storybook/core-common": "7.0.0-alpha.
|
|
48
|
-
"@storybook/core-server": "7.0.0-alpha.
|
|
49
|
-
"@storybook/csf-tools": "7.0.0-alpha.
|
|
50
|
-
"@storybook/node-logger": "7.0.0-alpha.
|
|
51
|
-
"@storybook/
|
|
52
|
-
"@
|
|
46
|
+
"@storybook/codemod": "7.0.0-alpha.37",
|
|
47
|
+
"@storybook/core-common": "7.0.0-alpha.37",
|
|
48
|
+
"@storybook/core-server": "7.0.0-alpha.37",
|
|
49
|
+
"@storybook/csf-tools": "7.0.0-alpha.37",
|
|
50
|
+
"@storybook/node-logger": "7.0.0-alpha.37",
|
|
51
|
+
"@storybook/telemetry": "7.0.0-alpha.37",
|
|
52
|
+
"@types/semver": "^7.3.4",
|
|
53
53
|
"boxen": "^5.1.2",
|
|
54
54
|
"chalk": "^4.1.0",
|
|
55
55
|
"commander": "^6.2.1",
|
|
@@ -67,13 +67,14 @@
|
|
|
67
67
|
"prompts": "^2.4.0",
|
|
68
68
|
"puppeteer-core": "^2.1.1",
|
|
69
69
|
"read-pkg-up": "^7.0.1",
|
|
70
|
+
"semver": "^7.3.7",
|
|
70
71
|
"shelljs": "^0.8.5",
|
|
71
72
|
"strip-json-comments": "^3.0.1",
|
|
72
73
|
"ts-dedent": "^2.0.0",
|
|
73
74
|
"update-notifier": "^5.0.1"
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
76
|
-
"@storybook/client-api": "7.0.0-alpha.
|
|
77
|
+
"@storybook/client-api": "7.0.0-alpha.37",
|
|
77
78
|
"@types/cross-spawn": "^6.0.2",
|
|
78
79
|
"@types/degit": "^2.8.3",
|
|
79
80
|
"@types/prompts": "^2.0.9",
|
|
@@ -94,5 +95,5 @@
|
|
|
94
95
|
],
|
|
95
96
|
"platform": "node"
|
|
96
97
|
},
|
|
97
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "82667a655108283aafc828427f00bb3590a334e5"
|
|
98
99
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button type="button" :class="classes" @click="onClick" :style="style">{{
|
|
2
|
+
<button type="button" :class="classes" @click="onClick" :style="style">{{ children }}</button>
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
name: 'my-button',
|
|
11
11
|
|
|
12
12
|
props: {
|
|
13
|
-
|
|
13
|
+
children: {
|
|
14
14
|
type: String,
|
|
15
15
|
required: true,
|
|
16
16
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
<div>
|
|
24
24
|
<span class="welcome" v-if="user">Welcome, <b>{{ user.name }}</b>!</span>
|
|
25
|
-
<my-button size="small" @click="$emit('logout')"
|
|
26
|
-
<my-button size="small" @click="$emit('login')"
|
|
27
|
-
<my-button primary size="small" @click="$emit('createAccount')"
|
|
25
|
+
<my-button size="small" @click="$emit('logout')" children="`Log out`" v-if="user" />
|
|
26
|
+
<my-button size="small" @click="$emit('login')" children="`Log in`" v-if="!user" />
|
|
27
|
+
<my-button primary size="small" @click="$emit('createAccount')" children="`Sign up`" v-if="!user" />
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
30
30
|
</header>
|