@storybook/vue3 7.1.0-alpha.12 → 7.1.0-alpha.14

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": "7.1.0-alpha.12",
3
+ "version": "7.1.0-alpha.14",
4
4
  "description": "Storybook Vue 3 renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,11 +48,11 @@
48
48
  "prep": "../../../scripts/prepare/bundle.ts"
49
49
  },
50
50
  "dependencies": {
51
- "@storybook/core-client": "7.1.0-alpha.12",
52
- "@storybook/docs-tools": "7.1.0-alpha.12",
51
+ "@storybook/core-client": "7.1.0-alpha.14",
52
+ "@storybook/docs-tools": "7.1.0-alpha.14",
53
53
  "@storybook/global": "^5.0.0",
54
- "@storybook/preview-api": "7.1.0-alpha.12",
55
- "@storybook/types": "7.1.0-alpha.12",
54
+ "@storybook/preview-api": "7.1.0-alpha.14",
55
+ "@storybook/types": "7.1.0-alpha.14",
56
56
  "ts-dedent": "^2.0.0",
57
57
  "type-fest": "2.19.0"
58
58
  },
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "platform": "browser"
82
82
  },
83
- "gitHead": "8de6963fca74d5952f5cb5737e34fb4e1ddfd0f6"
83
+ "gitHead": "72ae6b0d965d1ae596159cdb15109c5e13376d78"
84
84
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <header>
3
- <div class="wrapper">
3
+ <div class="storybook-header">
4
4
  <div>
5
5
  <svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
6
6
  <g fill="none" fill-rule="evenodd">
@@ -2,7 +2,7 @@
2
2
  <article>
3
3
  <my-header :user="user" @login="onLogin" @logout="onLogout" @createAccount="onCreateAccount" />
4
4
 
5
- <section>
5
+ <section class="storybook-page">
6
6
  <h2>Pages in Storybook</h2>
7
7
  <p>
8
8
  We recommend building UIs with a
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <header>
3
- <div class="wrapper">
3
+ <div class="storybook-header">
4
4
  <div>
5
5
  <svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
6
6
  <g fill="none" fill-rule="evenodd">
@@ -2,7 +2,7 @@
2
2
  <article>
3
3
  <my-header :user="user" @login="onLogin" @logout="onLogout" @create-account="onCreateAccount" />
4
4
 
5
- <section>
5
+ <section class="storybook-page">
6
6
  <h2>Pages in Storybook</h2>
7
7
  <p>
8
8
  We recommend building UIs with a
@@ -28,7 +28,9 @@
28
28
  </ul>
29
29
  <p>
30
30
  Get a guided tutorial on component-driven development at
31
- <a href="https://storybook.js.org/tutorials/" target="_blank" rel="noopener noreferrer">Storybook tutorials</a>
31
+ <a href="https://storybook.js.org/tutorials/" target="_blank" rel="noopener noreferrer"
32
+ >Storybook tutorials</a
33
+ >
32
34
  . Read more in the
33
35
  <a href="https://storybook.js.org/docs" target="_blank" rel="noopener noreferrer">docs</a>
34
36
  .
@@ -40,7 +42,9 @@
40
42
  <g fill="none" fill-rule="evenodd">
41
43
  <path
42
44
  d="M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z"
43
- id="a" fill="#999" />
45
+ id="a"
46
+ fill="#999"
47
+ />
44
48
  </g>
45
49
  </svg>
46
50
  Viewports addon in the toolbar
@@ -55,7 +59,7 @@ import MyHeader from './Header.vue';
55
59
 
56
60
  import { ref } from 'vue';
57
61
 
58
- const user = ref<{ name: string } | null>(null)
62
+ const user = ref<{ name: string } | null>(null);
59
63
 
60
64
  const onLogin = () => {
61
65
  user.value = { name: 'Jane Doe' };
@@ -66,5 +70,4 @@ const onLogout = () => {
66
70
  const onCreateAccount = () => {
67
71
  user.value = { name: 'Jane Doe' };
68
72
  };
69
-
70
73
  </script>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <header>
3
- <div class="wrapper">
3
+ <div class="storybook-header">
4
4
  <div>
5
5
  <svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
6
6
  <g fill="none" fill-rule="evenodd">
@@ -2,7 +2,7 @@
2
2
  <article>
3
3
  <my-header :user="user" @login="onLogin" @logout="onLogout" @create-account="onCreateAccount" />
4
4
 
5
- <section>
5
+ <section class="storybook-page">
6
6
  <h2>Pages in Storybook</h2>
7
7
  <p>
8
8
  We recommend building UIs with a
@@ -28,7 +28,9 @@
28
28
  </ul>
29
29
  <p>
30
30
  Get a guided tutorial on component-driven development at
31
- <a href="https://storybook.js.org/tutorials/" target="_blank" rel="noopener noreferrer">Storybook tutorials</a>
31
+ <a href="https://storybook.js.org/tutorials/" target="_blank" rel="noopener noreferrer"
32
+ >Storybook tutorials</a
33
+ >
32
34
  . Read more in the
33
35
  <a href="https://storybook.js.org/docs" target="_blank" rel="noopener noreferrer">docs</a>
34
36
  .
@@ -40,7 +42,9 @@
40
42
  <g fill="none" fill-rule="evenodd">
41
43
  <path
42
44
  d="M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z"
43
- id="a" fill="#999" />
45
+ id="a"
46
+ fill="#999"
47
+ />
44
48
  </g>
45
49
  </svg>
46
50
  Viewports addon in the toolbar
@@ -55,7 +59,7 @@ import MyHeader from './Header.vue';
55
59
 
56
60
  import { ref } from 'vue';
57
61
 
58
- const user = ref<{ name: string } | null>(null)
62
+ const user = ref<{ name: string } | null>(null);
59
63
 
60
64
  const onLogin = () => {
61
65
  user.value = { name: 'Jane Doe' };
@@ -66,5 +70,4 @@ const onLogout = () => {
66
70
  const onCreateAccount = () => {
67
71
  user.value = { name: 'Jane Doe' };
68
72
  };
69
-
70
73
  </script>