@storybook/addon-docs 6.5.0-alpha.28 → 6.5.0-alpha.31

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/addon-docs",
3
- "version": "6.5.0-alpha.28",
3
+ "version": "6.5.0-alpha.31",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -64,21 +64,21 @@
64
64
  "@mdx-js/loader": "^1.6.22",
65
65
  "@mdx-js/mdx": "^1.6.22",
66
66
  "@mdx-js/react": "^1.6.22",
67
- "@storybook/addons": "6.5.0-alpha.28",
68
- "@storybook/api": "6.5.0-alpha.28",
69
- "@storybook/builder-webpack4": "6.5.0-alpha.28",
70
- "@storybook/client-logger": "6.5.0-alpha.28",
71
- "@storybook/components": "6.5.0-alpha.28",
72
- "@storybook/core": "6.5.0-alpha.28",
73
- "@storybook/core-events": "6.5.0-alpha.28",
67
+ "@storybook/addons": "6.5.0-alpha.31",
68
+ "@storybook/api": "6.5.0-alpha.31",
69
+ "@storybook/builder-webpack4": "6.5.0-alpha.31",
70
+ "@storybook/client-logger": "6.5.0-alpha.31",
71
+ "@storybook/components": "6.5.0-alpha.31",
72
+ "@storybook/core": "6.5.0-alpha.31",
73
+ "@storybook/core-events": "6.5.0-alpha.31",
74
74
  "@storybook/csf": "0.0.2--canary.87bc651.0",
75
- "@storybook/csf-tools": "6.5.0-alpha.28",
76
- "@storybook/node-logger": "6.5.0-alpha.28",
77
- "@storybook/postinstall": "6.5.0-alpha.28",
78
- "@storybook/preview-web": "6.5.0-alpha.28",
79
- "@storybook/source-loader": "6.5.0-alpha.28",
80
- "@storybook/store": "6.5.0-alpha.28",
81
- "@storybook/theming": "6.5.0-alpha.28",
75
+ "@storybook/csf-tools": "6.5.0-alpha.31",
76
+ "@storybook/node-logger": "6.5.0-alpha.31",
77
+ "@storybook/postinstall": "6.5.0-alpha.31",
78
+ "@storybook/preview-web": "6.5.0-alpha.31",
79
+ "@storybook/source-loader": "6.5.0-alpha.31",
80
+ "@storybook/store": "6.5.0-alpha.31",
81
+ "@storybook/theming": "6.5.0-alpha.31",
82
82
  "acorn": "^7.4.1",
83
83
  "acorn-jsx": "^5.3.1",
84
84
  "acorn-walk": "^7.2.0",
@@ -107,11 +107,11 @@
107
107
  "@babel/core": "^7.12.10",
108
108
  "@emotion/core": "^10.3.1",
109
109
  "@emotion/styled": "^10.0.27",
110
- "@storybook/angular": "6.5.0-alpha.28",
111
- "@storybook/html": "6.5.0-alpha.28",
112
- "@storybook/react": "6.5.0-alpha.28",
113
- "@storybook/vue": "6.5.0-alpha.28",
114
- "@storybook/web-components": "6.5.0-alpha.28",
110
+ "@storybook/angular": "6.5.0-alpha.31",
111
+ "@storybook/html": "6.5.0-alpha.31",
112
+ "@storybook/react": "6.5.0-alpha.31",
113
+ "@storybook/vue": "6.5.0-alpha.31",
114
+ "@storybook/web-components": "6.5.0-alpha.31",
115
115
  "@types/cross-spawn": "^6.0.2",
116
116
  "@types/doctrine": "^0.0.3",
117
117
  "@types/enzyme": "^3.10.8",
@@ -133,7 +133,6 @@
133
133
  "rxjs": "^6.6.3",
134
134
  "styled-components": "^5.2.1",
135
135
  "sveltedoc-parser": "4.1.0",
136
- "terser-webpack-plugin": "^5.0.3",
137
136
  "tmp": "^0.2.1",
138
137
  "tslib": "^2.1.0",
139
138
  "vue": "^2.6.10",
@@ -142,12 +141,12 @@
142
141
  "zone.js": "^0.11.3"
143
142
  },
144
143
  "peerDependencies": {
145
- "@storybook/angular": "6.5.0-alpha.28",
146
- "@storybook/html": "6.5.0-alpha.28",
147
- "@storybook/react": "6.5.0-alpha.28",
148
- "@storybook/vue": "6.5.0-alpha.28",
149
- "@storybook/vue3": "6.5.0-alpha.28",
150
- "@storybook/web-components": "6.5.0-alpha.28",
144
+ "@storybook/angular": "6.5.0-alpha.31",
145
+ "@storybook/html": "6.5.0-alpha.31",
146
+ "@storybook/react": "6.5.0-alpha.31",
147
+ "@storybook/vue": "6.5.0-alpha.31",
148
+ "@storybook/vue3": "6.5.0-alpha.31",
149
+ "@storybook/web-components": "6.5.0-alpha.31",
151
150
  "lit": "^2.0.0",
152
151
  "lit-html": "^1.4.1 || ^2.0.0",
153
152
  "react": "^16.8.0 || ^17.0.0",
@@ -204,7 +203,7 @@
204
203
  "publishConfig": {
205
204
  "access": "public"
206
205
  },
207
- "gitHead": "a95a47b6cb372d38518aa220129169d889b23d64",
206
+ "gitHead": "6e124b7c457588818d07583ca576ec3c0995f809",
208
207
  "sbmodern": "dist/modern/index.js",
209
208
  "storybook": {
210
209
  "displayName": "Docs",
@@ -1,7 +0,0 @@
1
- <script>
2
- export let storyFn;
3
-
4
- let { Component: component, props } = storyFn();
5
- </script>
6
-
7
- <svelte:component this={component} {...props}/>
@@ -1,45 +0,0 @@
1
- <script>
2
- import { createEventDispatcher, afterUpdate } from 'svelte';
3
- export let text = '';
4
- export let rounded = true;
5
-
6
- const dispatch = createEventDispatcher();
7
-
8
- function onClick(event) {
9
- rounded = !rounded;
10
-
11
- /**
12
- * Click Event
13
- */
14
- dispatch('click', event);
15
- }
16
-
17
- afterUpdate(() => {
18
- /**
19
- * After Update
20
- */
21
- dispatch('afterUpdate');
22
- });
23
- </script>
24
-
25
- <style>
26
- .rounded {
27
- border-radius: 35px;
28
- }
29
-
30
- .button {
31
- border: 3px solid;
32
- padding: 10px 20px;
33
- background-color: white;
34
- outline: none;
35
- }
36
- </style>
37
-
38
- <svelte:options accessors={true} />
39
- <button class="button" class:rounded on:click={onClick}>
40
- <strong>{rounded ? 'Round' : 'Square'} corners</strong>
41
- <br />
42
- {text}
43
- <!-- Default Slot -->
44
- <slot {rounded}/>
45
- </button>
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- <script>
2
- export let storyFn;
3
-
4
- let { Component: component, props } = storyFn();
5
- </script>
6
-
7
- <svelte:component this={component} {...props}/>
@@ -1,45 +0,0 @@
1
- <script>
2
- import { createEventDispatcher, afterUpdate } from 'svelte';
3
- export let text = '';
4
- export let rounded = true;
5
-
6
- const dispatch = createEventDispatcher();
7
-
8
- function onClick(event) {
9
- rounded = !rounded;
10
-
11
- /**
12
- * Click Event
13
- */
14
- dispatch('click', event);
15
- }
16
-
17
- afterUpdate(() => {
18
- /**
19
- * After Update
20
- */
21
- dispatch('afterUpdate');
22
- });
23
- </script>
24
-
25
- <style>
26
- .rounded {
27
- border-radius: 35px;
28
- }
29
-
30
- .button {
31
- border: 3px solid;
32
- padding: 10px 20px;
33
- background-color: white;
34
- outline: none;
35
- }
36
- </style>
37
-
38
- <svelte:options accessors={true} />
39
- <button class="button" class:rounded on:click={onClick}>
40
- <strong>{rounded ? 'Round' : 'Square'} corners</strong>
41
- <br />
42
- {text}
43
- <!-- Default Slot -->
44
- <slot {rounded}/>
45
- </button>
File without changes
@@ -1,7 +0,0 @@
1
- <script>
2
- export let storyFn;
3
-
4
- let { Component: component, props } = storyFn();
5
- </script>
6
-
7
- <svelte:component this={component} {...props}/>
@@ -1,45 +0,0 @@
1
- <script>
2
- import { createEventDispatcher, afterUpdate } from 'svelte';
3
- export let text = '';
4
- export let rounded = true;
5
-
6
- const dispatch = createEventDispatcher();
7
-
8
- function onClick(event) {
9
- rounded = !rounded;
10
-
11
- /**
12
- * Click Event
13
- */
14
- dispatch('click', event);
15
- }
16
-
17
- afterUpdate(() => {
18
- /**
19
- * After Update
20
- */
21
- dispatch('afterUpdate');
22
- });
23
- </script>
24
-
25
- <style>
26
- .rounded {
27
- border-radius: 35px;
28
- }
29
-
30
- .button {
31
- border: 3px solid;
32
- padding: 10px 20px;
33
- background-color: white;
34
- outline: none;
35
- }
36
- </style>
37
-
38
- <svelte:options accessors={true} />
39
- <button class="button" class:rounded on:click={onClick}>
40
- <strong>{rounded ? 'Round' : 'Square'} corners</strong>
41
- <br />
42
- {text}
43
- <!-- Default Slot -->
44
- <slot {rounded}/>
45
- </button>
File without changes