@storybook/addon-backgrounds 7.6.0-beta.2 → 7.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
@@ -8,7 +8,7 @@ Storybook Addon Backgrounds can be used to change background colors inside the p
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
Backgrounds is part of [essentials](https://storybook.js.org/docs/react/essentials
|
11
|
+
Backgrounds 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-backgrounds
|
@@ -16,7 +16,7 @@ npm i -D @storybook/addon-backgrounds
|
|
16
16
|
|
17
17
|
## Configuration
|
18
18
|
|
19
|
-
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/react/configure
|
19
|
+
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/react/configure/#configure-your-storybook-project):
|
20
20
|
|
21
21
|
```js
|
22
22
|
export default {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/addon-backgrounds",
|
3
|
-
"version": "7.6.
|
3
|
+
"version": "7.6.1",
|
4
4
|
"description": "Switch backgrounds to view components in different settings",
|
5
5
|
"keywords": [
|
6
6
|
"addon",
|
@@ -57,12 +57,12 @@
|
|
57
57
|
"ts-dedent": "^2.0.0"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
|
-
"@storybook/client-logger": "7.6.
|
61
|
-
"@storybook/components": "7.6.
|
62
|
-
"@storybook/manager-api": "7.6.
|
63
|
-
"@storybook/preview-api": "7.6.
|
64
|
-
"@storybook/theming": "7.6.
|
65
|
-
"@storybook/types": "7.6.
|
60
|
+
"@storybook/client-logger": "7.6.1",
|
61
|
+
"@storybook/components": "7.6.1",
|
62
|
+
"@storybook/manager-api": "7.6.1",
|
63
|
+
"@storybook/preview-api": "7.6.1",
|
64
|
+
"@storybook/theming": "7.6.1",
|
65
|
+
"@storybook/types": "7.6.1",
|
66
66
|
"react": "^16.8.0",
|
67
67
|
"react-dom": "^16.8.0",
|
68
68
|
"typescript": "~4.9.3"
|