@storybook/addon-backgrounds 5.3.13 → 5.3.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 +19 -11
- package/ts3.5/dist/components/ColorIcon.d.ts +4 -0
- package/ts3.5/dist/constants.d.ts +6 -0
- package/ts3.5/dist/containers/BackgroundSelector.d.ts +14 -0
- package/ts3.5/dist/containers/GridSelector.d.ts +5 -0
- package/ts3.5/dist/index.d.ts +1 -0
- package/ts3.5/dist/register.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-backgrounds",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.14",
|
|
4
4
|
"description": "A storybook addon to show different backgrounds for your preview",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -19,24 +19,25 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "jbaxleyiii",
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
22
24
|
"files": [
|
|
23
25
|
"dist/**/*",
|
|
24
26
|
"README.md",
|
|
25
27
|
"*.js",
|
|
26
|
-
"*.d.ts"
|
|
28
|
+
"*.d.ts",
|
|
29
|
+
"ts3.5/**/*"
|
|
27
30
|
],
|
|
28
|
-
"main": "dist/index.js",
|
|
29
|
-
"types": "dist/index.d.ts",
|
|
30
31
|
"scripts": {
|
|
31
32
|
"prepare": "node ../../scripts/prepare.js"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
|
-
"@storybook/addons": "5.3.
|
|
35
|
-
"@storybook/api": "5.3.
|
|
36
|
-
"@storybook/client-logger": "5.3.
|
|
37
|
-
"@storybook/components": "5.3.
|
|
38
|
-
"@storybook/core-events": "5.3.
|
|
39
|
-
"@storybook/theming": "5.3.
|
|
35
|
+
"@storybook/addons": "5.3.14",
|
|
36
|
+
"@storybook/api": "5.3.14",
|
|
37
|
+
"@storybook/client-logger": "5.3.14",
|
|
38
|
+
"@storybook/components": "5.3.14",
|
|
39
|
+
"@storybook/core-events": "5.3.14",
|
|
40
|
+
"@storybook/theming": "5.3.14",
|
|
40
41
|
"core-js": "^3.0.1",
|
|
41
42
|
"memoizerific": "^1.11.3",
|
|
42
43
|
"react": "^16.8.3",
|
|
@@ -49,5 +50,12 @@
|
|
|
49
50
|
"publishConfig": {
|
|
50
51
|
"access": "public"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "91d9c0c4e0afd7e494b23ec8076b21e45b7a8906",
|
|
54
|
+
"typesVersions": {
|
|
55
|
+
"<=3.5": {
|
|
56
|
+
"*": [
|
|
57
|
+
"ts3.5/*"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
53
61
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="@emotion/core" />
|
|
2
|
+
export declare const ColorIcon: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
3
|
+
background: string;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { API } from '@storybook/api';
|
|
3
|
+
interface GlobalState {
|
|
4
|
+
name: string | undefined;
|
|
5
|
+
selected: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
api: API;
|
|
9
|
+
}
|
|
10
|
+
export declare class BackgroundSelector extends Component<Props> {
|
|
11
|
+
change: ({ selected, name }: GlobalState) => void;
|
|
12
|
+
render(): JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const withBackgrounds: (...args: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|