@storybook/addon-controls 7.6.0-beta.2 → 7.6.0
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/README.md +2 -2
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
-
Controls is part of [essentials](https://storybook.js.org/docs/react/essentials
|
|
11
|
+
Controls is part of [essentials](https://storybook.js.org/docs/react/essentials) and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
npm i -D @storybook/addon-controls
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/react/configure
|
|
17
|
+
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/react/configure/#configure-your-storybook-project):
|
|
18
18
|
|
|
19
19
|
```js
|
|
20
20
|
export default {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-controls",
|
|
3
|
-
"version": "7.6.0
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"description": "Interact with component inputs dynamically in the Storybook UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@storybook/blocks": "7.6.0
|
|
54
|
+
"@storybook/blocks": "7.6.0",
|
|
55
55
|
"lodash": "^4.17.21",
|
|
56
56
|
"ts-dedent": "^2.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@storybook/client-logger": "7.6.0
|
|
60
|
-
"@storybook/components": "7.6.0
|
|
61
|
-
"@storybook/core-common": "7.6.0
|
|
62
|
-
"@storybook/manager-api": "7.6.0
|
|
63
|
-
"@storybook/node-logger": "7.6.0
|
|
64
|
-
"@storybook/preview-api": "7.6.0
|
|
65
|
-
"@storybook/theming": "7.6.0
|
|
66
|
-
"@storybook/types": "7.6.0
|
|
59
|
+
"@storybook/client-logger": "7.6.0",
|
|
60
|
+
"@storybook/components": "7.6.0",
|
|
61
|
+
"@storybook/core-common": "7.6.0",
|
|
62
|
+
"@storybook/manager-api": "7.6.0",
|
|
63
|
+
"@storybook/node-logger": "7.6.0",
|
|
64
|
+
"@storybook/preview-api": "7.6.0",
|
|
65
|
+
"@storybook/theming": "7.6.0",
|
|
66
|
+
"@storybook/types": "7.6.0",
|
|
67
67
|
"react": "^16.8.0",
|
|
68
68
|
"react-dom": "^16.8.0"
|
|
69
69
|
},
|