@storybook/components 7.0.0-alpha.2 → 7.0.0-alpha.5
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/dist/index.d.ts +5 -5
- package/package.json +4 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default, { ComponentProps, FunctionComponent, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, Component,
|
|
2
|
+
import react__default, { ComponentProps, FunctionComponent, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, Component, RefObject, SyntheticEvent, FC, ElementType } from 'react';
|
|
3
3
|
import * as _storybook_theming from '@storybook/theming';
|
|
4
4
|
import { Theme } from '@storybook/theming';
|
|
5
5
|
import { BuiltInParserName } from 'prettier';
|
|
@@ -210,7 +210,7 @@ declare function ZoomElement({ scale, children }: ZoomProps): JSX.Element;
|
|
|
210
210
|
declare type IZoomIFrameProps = {
|
|
211
211
|
scale: number;
|
|
212
212
|
children: ReactElement<HTMLIFrameElement>;
|
|
213
|
-
iFrameRef:
|
|
213
|
+
iFrameRef: RefObject<HTMLIFrameElement>;
|
|
214
214
|
active?: boolean;
|
|
215
215
|
};
|
|
216
216
|
declare class ZoomIFrame extends Component<IZoomIFrameProps> {
|
|
@@ -251,7 +251,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
|
|
|
251
251
|
Field: react.FunctionComponent<FieldProps>;
|
|
252
252
|
Input: _storybook_theming.StyledComponent<any, {
|
|
253
253
|
size?: "flex" | "auto" | "100%";
|
|
254
|
-
align?: "
|
|
254
|
+
align?: "start" | "center" | "end";
|
|
255
255
|
valid?: "error" | "valid" | "warn";
|
|
256
256
|
height?: number;
|
|
257
257
|
}, _storybook_theming.Theme> & {
|
|
@@ -259,7 +259,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
|
|
|
259
259
|
};
|
|
260
260
|
Select: _storybook_theming.StyledComponent<any, Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "size" | "valid" | "align"> & {
|
|
261
261
|
size?: "flex" | "auto" | "100%";
|
|
262
|
-
align?: "
|
|
262
|
+
align?: "start" | "center" | "end";
|
|
263
263
|
valid?: "error" | "valid" | "warn";
|
|
264
264
|
height?: number;
|
|
265
265
|
}, _storybook_theming.Theme> & {
|
|
@@ -267,7 +267,7 @@ declare const Form: _storybook_theming.StyledComponent<react.DetailedHTMLProps<r
|
|
|
267
267
|
};
|
|
268
268
|
Textarea: _storybook_theming.StyledComponent<any, Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "size" | "valid" | "align"> & {
|
|
269
269
|
size?: "flex" | "auto" | "100%";
|
|
270
|
-
align?: "
|
|
270
|
+
align?: "start" | "center" | "end";
|
|
271
271
|
valid?: "error" | "valid" | "warn";
|
|
272
272
|
height?: number;
|
|
273
273
|
}, _storybook_theming.Theme> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/components",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.5",
|
|
4
4
|
"description": "Core Storybook Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -50,13 +50,12 @@
|
|
|
50
50
|
"prepare": "esrun ../../scripts/prepare/bundle.ts"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@storybook/client-logger": "7.0.0-alpha.
|
|
53
|
+
"@storybook/client-logger": "7.0.0-alpha.5",
|
|
54
54
|
"@storybook/csf": "0.0.2--canary.4566f4d.1",
|
|
55
|
-
"@storybook/theming": "7.0.0-alpha.
|
|
55
|
+
"@storybook/theming": "7.0.0-alpha.5",
|
|
56
56
|
"core-js": "^3.8.2",
|
|
57
57
|
"memoizerific": "^1.11.3",
|
|
58
58
|
"qs": "^6.10.0",
|
|
59
|
-
"regenerator-runtime": "^0.13.7",
|
|
60
59
|
"util-deprecate": "^1.0.2"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
@@ -93,5 +92,5 @@
|
|
|
93
92
|
"./src/index.ts",
|
|
94
93
|
"./src/html.tsx"
|
|
95
94
|
],
|
|
96
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "3dd46982823b34d9f37be917b6247631081feff7"
|
|
97
96
|
}
|