storybook 9.0.0-alpha.2 → 9.0.0-alpha.21
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 +1 -1
- package/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/assets/server/base-preview-head.html +1 -3
- package/bin/index.cjs +2 -2
- package/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +134 -0
- package/dist/actions/index.cjs +123 -0
- package/dist/actions/index.d.ts +102 -0
- package/dist/actions/index.js +108 -0
- package/dist/actions/preview.cjs +161 -0
- package/dist/actions/preview.d.ts +54 -0
- package/dist/actions/preview.js +152 -0
- package/dist/babel/index.cjs +822 -816
- package/dist/babel/index.js +822 -816
- package/dist/backgrounds/index.cjs +148 -0
- package/dist/backgrounds/index.d.ts +91 -0
- package/dist/backgrounds/index.js +130 -0
- package/dist/backgrounds/preview.cjs +143 -0
- package/dist/backgrounds/preview.d.ts +54 -0
- package/dist/backgrounds/preview.js +127 -0
- package/dist/bin/index.cjs +49 -70
- package/dist/bin/index.js +49 -70
- package/dist/builder-manager/index.cjs +319 -326
- package/dist/builder-manager/index.js +576 -583
- package/dist/channels/index.cjs +1026 -981
- package/dist/channels/index.js +1258 -1207
- package/dist/cli/bin/index.cjs +483 -483
- package/dist/cli/bin/index.js +495 -495
- package/dist/cli/index.cjs +61735 -7590
- package/dist/cli/index.d.ts +25 -21
- package/dist/cli/index.js +61776 -7631
- package/dist/client-logger/index.cjs +56 -88
- package/dist/client-logger/index.js +41 -47
- package/dist/common/index.cjs +16137 -9085
- package/dist/common/index.d.ts +35 -30
- package/dist/common/index.js +16230 -9172
- package/dist/component-testing/index.cjs +23 -0
- package/dist/component-testing/index.d.ts +3 -0
- package/dist/component-testing/index.js +5 -0
- package/dist/component-testing/preview.cjs +40 -0
- package/dist/component-testing/preview.d.ts +5 -0
- package/dist/component-testing/preview.js +25 -0
- package/dist/components/index.cjs +16268 -24926
- package/dist/components/index.d.ts +98 -347
- package/dist/components/index.js +5905 -19177
- package/dist/controls/decorator.d.ts +5 -0
- package/dist/controls/decorator.js +8 -0
- package/dist/controls/index.cjs +26 -0
- package/dist/controls/index.d.ts +39 -0
- package/dist/controls/index.js +6 -0
- package/dist/controls/preview.cjs +26 -0
- package/dist/controls/preview.d.ts +54 -0
- package/dist/controls/preview.js +9 -0
- package/dist/core-events/index.cjs +91 -106
- package/dist/core-events/index.d.ts +139 -104
- package/dist/core-events/index.js +79 -94
- package/dist/core-server/index.cjs +13898 -13409
- package/dist/core-server/index.d.ts +270 -3
- package/dist/core-server/index.js +13981 -13497
- package/dist/core-server/presets/common-manager.css +170 -0
- package/dist/core-server/presets/common-manager.js +12149 -17
- package/dist/core-server/presets/common-preset.cjs +3009 -3155
- package/dist/core-server/presets/common-preset.js +2862 -3009
- package/dist/csf/index.cjs +76 -120
- package/dist/csf/index.d.ts +2 -6
- package/dist/csf/index.js +69 -113
- package/dist/csf-tools/index.cjs +412 -403
- package/dist/csf-tools/index.d.ts +0 -4
- package/dist/csf-tools/index.js +410 -401
- package/dist/docs-tools/index.cjs +2569 -575
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +2565 -564
- package/dist/highlight/index.cjs +27 -0
- package/dist/highlight/index.d.ts +61 -0
- package/dist/highlight/index.js +7 -0
- package/dist/highlight/preview.cjs +535 -0
- package/dist/highlight/preview.d.ts +54 -0
- package/dist/highlight/preview.js +519 -0
- package/dist/instrumenter/index.cjs +2207 -2342
- package/dist/instrumenter/index.d.ts +8 -7
- package/dist/instrumenter/index.js +2430 -2603
- package/dist/manager/globals-module-info.cjs +291 -151
- package/dist/manager/globals-module-info.d.ts +1 -1
- package/dist/manager/globals-module-info.js +275 -135
- package/dist/manager/globals-runtime.js +60263 -28383
- package/dist/manager/globals.cjs +23 -19
- package/dist/manager/globals.d.ts +8 -5
- package/dist/manager/globals.js +10 -6
- package/dist/manager/runtime.js +4625 -3921
- package/dist/manager-api/index.cjs +4228 -3833
- package/dist/manager-api/index.d.ts +398 -102
- package/dist/manager-api/index.js +3500 -3084
- package/dist/manager-errors.d.ts +25 -1
- package/dist/manager-errors.js +50 -30
- package/dist/measure/index.cjs +476 -0
- package/dist/measure/index.d.ts +66 -0
- package/dist/measure/index.js +464 -0
- package/dist/measure/preview.cjs +466 -0
- package/dist/measure/preview.d.ts +59 -0
- package/dist/measure/preview.js +450 -0
- package/dist/outline/index.cjs +528 -0
- package/dist/outline/index.d.ts +66 -0
- package/dist/outline/index.js +500 -0
- package/dist/outline/preview.cjs +518 -0
- package/dist/outline/preview.d.ts +59 -0
- package/dist/outline/preview.js +486 -0
- package/dist/preview/globals.cjs +21 -17
- package/dist/preview/globals.d.ts +4 -1
- package/dist/preview/globals.js +6 -2
- package/dist/preview/runtime.js +46311 -6614
- package/dist/preview-api/index.cjs +1363 -1899
- package/dist/preview-api/index.d.ts +81 -395
- package/dist/preview-api/index.js +1711 -2169
- package/dist/preview-errors.cjs +119 -88
- package/dist/preview-errors.d.ts +30 -2
- package/dist/preview-errors.js +192 -142
- package/dist/router/index.cjs +847 -871
- package/dist/router/index.js +193 -199
- package/dist/server-errors.cjs +188 -124
- package/dist/server-errors.d.ts +36 -2
- package/dist/server-errors.js +188 -124
- package/dist/telemetry/index.cjs +1056 -1979
- package/dist/telemetry/index.d.ts +26 -5
- package/dist/telemetry/index.js +1091 -2010
- package/dist/test/index.cjs +35686 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +33840 -0
- package/dist/test/preview.cjs +15870 -0
- package/dist/test/preview.d.ts +48 -0
- package/dist/test/preview.js +14501 -0
- package/dist/test/spy.cjs +258 -0
- package/dist/test/spy.d.ts +66 -0
- package/dist/test/spy.js +240 -0
- package/dist/theming/create.cjs +79 -2269
- package/dist/theming/create.js +67 -841
- package/dist/theming/index.cjs +1065 -3232
- package/dist/theming/index.js +951 -1719
- package/dist/types/index.cjs +11 -12
- package/dist/types/index.d.ts +684 -163
- package/dist/types/index.js +1 -2
- package/dist/viewport/index.cjs +310 -0
- package/dist/viewport/index.d.ts +320 -0
- package/dist/viewport/index.js +290 -0
- package/dist/viewport/preview.cjs +35 -0
- package/dist/viewport/preview.d.ts +68 -0
- package/dist/viewport/preview.js +19 -0
- package/package.json +359 -12
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ComponentProps, AnchorHTMLAttributes, MouseEvent, ReactNode, ReactElement, ButtonHTMLAttributes, SyntheticEvent, Component, RefObject, FC, PropsWithChildren, DetailedHTMLProps, RefAttributes, ElementType } from 'react';
|
|
3
|
-
import * as
|
|
4
|
-
import { FunctionInterpolation } from 'storybook/
|
|
5
|
-
import { BuiltInParserName } from 'prettier';
|
|
3
|
+
import * as storybook_theming from 'storybook/theming';
|
|
4
|
+
import { FunctionInterpolation } from 'storybook/theming';
|
|
6
5
|
import { Addon_RenderOptions } from 'storybook/internal/types';
|
|
7
6
|
|
|
8
|
-
declare const A:
|
|
9
|
-
theme?:
|
|
7
|
+
declare const A: storybook_theming.StyledComponent<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
8
|
+
theme?: storybook_theming.Theme;
|
|
10
9
|
}, {}, {}>;
|
|
11
10
|
|
|
12
|
-
declare const Blockquote:
|
|
13
|
-
theme?:
|
|
11
|
+
declare const Blockquote: storybook_theming.StyledComponent<{
|
|
12
|
+
theme?: storybook_theming.Theme;
|
|
14
13
|
as?: React.ElementType;
|
|
15
14
|
}, React$1.DetailedHTMLProps<React$1.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, {}>;
|
|
16
15
|
|
|
17
|
-
declare const DefaultCodeBlock:
|
|
18
|
-
theme?:
|
|
16
|
+
declare const DefaultCodeBlock: storybook_theming.StyledComponent<{
|
|
17
|
+
theme?: storybook_theming.Theme;
|
|
19
18
|
as?: React__default.ElementType;
|
|
20
19
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
21
20
|
declare const Code: ({ className, children, ...props }: ComponentProps<typeof DefaultCodeBlock>) => React__default.JSX.Element;
|
|
22
21
|
|
|
23
|
-
declare const Div:
|
|
24
|
-
theme?:
|
|
22
|
+
declare const Div: storybook_theming.StyledComponent<{
|
|
23
|
+
theme?: storybook_theming.Theme;
|
|
25
24
|
as?: React.ElementType;
|
|
26
25
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
26
|
|
|
28
|
-
declare const DL:
|
|
29
|
-
theme?:
|
|
27
|
+
declare const DL: storybook_theming.StyledComponent<{
|
|
28
|
+
theme?: storybook_theming.Theme;
|
|
30
29
|
as?: React.ElementType;
|
|
31
30
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}>;
|
|
32
31
|
|
|
33
|
-
declare const H1:
|
|
34
|
-
theme?:
|
|
32
|
+
declare const H1: storybook_theming.StyledComponent<{
|
|
33
|
+
theme?: storybook_theming.Theme;
|
|
35
34
|
as?: React.ElementType;
|
|
36
35
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
37
36
|
|
|
38
|
-
declare const H2:
|
|
39
|
-
theme?:
|
|
37
|
+
declare const H2: storybook_theming.StyledComponent<{
|
|
38
|
+
theme?: storybook_theming.Theme;
|
|
40
39
|
as?: React.ElementType;
|
|
41
40
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
42
41
|
|
|
43
|
-
declare const H3:
|
|
44
|
-
theme?:
|
|
42
|
+
declare const H3: storybook_theming.StyledComponent<{
|
|
43
|
+
theme?: storybook_theming.Theme;
|
|
45
44
|
as?: React.ElementType;
|
|
46
45
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
47
46
|
|
|
48
|
-
declare const H4:
|
|
49
|
-
theme?:
|
|
47
|
+
declare const H4: storybook_theming.StyledComponent<{
|
|
48
|
+
theme?: storybook_theming.Theme;
|
|
50
49
|
as?: React.ElementType;
|
|
51
50
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
52
51
|
|
|
53
|
-
declare const H5:
|
|
54
|
-
theme?:
|
|
52
|
+
declare const H5: storybook_theming.StyledComponent<{
|
|
53
|
+
theme?: storybook_theming.Theme;
|
|
55
54
|
as?: React.ElementType;
|
|
56
55
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
57
56
|
|
|
58
|
-
declare const H6:
|
|
59
|
-
theme?:
|
|
57
|
+
declare const H6: storybook_theming.StyledComponent<{
|
|
58
|
+
theme?: storybook_theming.Theme;
|
|
60
59
|
as?: React.ElementType;
|
|
61
60
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
62
61
|
|
|
63
|
-
declare const HR:
|
|
64
|
-
theme?:
|
|
62
|
+
declare const HR: storybook_theming.StyledComponent<{
|
|
63
|
+
theme?: storybook_theming.Theme;
|
|
65
64
|
as?: React.ElementType;
|
|
66
65
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;
|
|
67
66
|
|
|
68
|
-
declare const Img:
|
|
69
|
-
theme?:
|
|
67
|
+
declare const Img: storybook_theming.StyledComponent<{
|
|
68
|
+
theme?: storybook_theming.Theme;
|
|
70
69
|
as?: React.ElementType;
|
|
71
70
|
}, React$1.DetailedHTMLProps<React$1.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
72
71
|
|
|
73
|
-
declare const LI:
|
|
74
|
-
theme?:
|
|
72
|
+
declare const LI: storybook_theming.StyledComponent<{
|
|
73
|
+
theme?: storybook_theming.Theme;
|
|
75
74
|
as?: React.ElementType;
|
|
76
75
|
}, React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
77
76
|
|
|
78
|
-
declare const OL:
|
|
79
|
-
theme?:
|
|
77
|
+
declare const OL: storybook_theming.StyledComponent<{
|
|
78
|
+
theme?: storybook_theming.Theme;
|
|
80
79
|
as?: React.ElementType;
|
|
81
80
|
}, React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, {}>;
|
|
82
81
|
|
|
83
|
-
declare const P:
|
|
84
|
-
theme?:
|
|
82
|
+
declare const P: storybook_theming.StyledComponent<{
|
|
83
|
+
theme?: storybook_theming.Theme;
|
|
85
84
|
as?: React.ElementType;
|
|
86
85
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
87
86
|
|
|
88
|
-
declare const Pre:
|
|
89
|
-
theme?:
|
|
87
|
+
declare const Pre: storybook_theming.StyledComponent<{
|
|
88
|
+
theme?: storybook_theming.Theme;
|
|
90
89
|
as?: React.ElementType;
|
|
91
90
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, {}>;
|
|
92
91
|
|
|
93
|
-
declare const Span:
|
|
94
|
-
theme?:
|
|
92
|
+
declare const Span: storybook_theming.StyledComponent<{
|
|
93
|
+
theme?: storybook_theming.Theme;
|
|
95
94
|
as?: React.ElementType;
|
|
96
95
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
97
96
|
|
|
98
|
-
declare const Table:
|
|
99
|
-
theme?:
|
|
97
|
+
declare const Table: storybook_theming.StyledComponent<{
|
|
98
|
+
theme?: storybook_theming.Theme;
|
|
100
99
|
as?: React.ElementType;
|
|
101
100
|
}, React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
102
101
|
|
|
103
|
-
declare const TT:
|
|
104
|
-
theme?:
|
|
102
|
+
declare const TT: storybook_theming.StyledComponent<{
|
|
103
|
+
theme?: storybook_theming.Theme;
|
|
105
104
|
as?: React.ElementType;
|
|
106
105
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, {}>;
|
|
107
106
|
|
|
108
|
-
declare const UL:
|
|
109
|
-
theme?:
|
|
107
|
+
declare const UL: storybook_theming.StyledComponent<{
|
|
108
|
+
theme?: storybook_theming.Theme;
|
|
110
109
|
as?: React.ElementType;
|
|
111
110
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
112
111
|
|
|
113
112
|
interface BadgeProps {
|
|
114
|
-
|
|
113
|
+
compact?: boolean;
|
|
114
|
+
status?: 'positive' | 'negative' | 'neutral' | 'warning' | 'critical' | 'active';
|
|
115
115
|
children?: React__default.ReactNode;
|
|
116
116
|
}
|
|
117
117
|
declare const Badge: ({ ...props }: BadgeProps) => React__default.JSX.Element;
|
|
@@ -137,8 +137,8 @@ interface LinkProps extends LinkInnerProps, LinkStylesProps, AProps {
|
|
|
137
137
|
}
|
|
138
138
|
declare const Link$1: ({ cancel, children, onClick, withArrow, containsIcon, className, style, ...rest }: LinkProps) => React__default.JSX.Element;
|
|
139
139
|
|
|
140
|
-
declare const DocumentWrapper:
|
|
141
|
-
theme?:
|
|
140
|
+
declare const DocumentWrapper: storybook_theming.StyledComponent<{
|
|
141
|
+
theme?: storybook_theming.Theme;
|
|
142
142
|
as?: React.ElementType;
|
|
143
143
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
144
144
|
|
|
@@ -173,7 +173,7 @@ interface SyntaxHighlighterCustomProps {
|
|
|
173
173
|
className?: string;
|
|
174
174
|
renderer?: SyntaxHighlighterRenderer;
|
|
175
175
|
}
|
|
176
|
-
type SyntaxHighlighterFormatTypes = boolean | 'dedent'
|
|
176
|
+
type SyntaxHighlighterFormatTypes = boolean | 'dedent';
|
|
177
177
|
type LineTagPropsFunction = (lineNumber: number) => React.HTMLProps<HTMLElement>;
|
|
178
178
|
type SupportedLanguage = 'text' | keyof typeof supportedLanguages;
|
|
179
179
|
interface SyntaxHighlighterBaseProps {
|
|
@@ -445,66 +445,48 @@ interface ButtonProps$1 extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
445
445
|
disabled?: boolean;
|
|
446
446
|
active?: boolean;
|
|
447
447
|
animation?: 'none' | 'rotate360' | 'glow' | 'jiggle';
|
|
448
|
-
/** @deprecated Use {@link asChild} instead. This will be removed in Storybook 9.0 */
|
|
449
|
-
isLink?: boolean;
|
|
450
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
451
|
-
primary?: boolean;
|
|
452
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
453
|
-
secondary?: boolean;
|
|
454
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
455
|
-
tertiary?: boolean;
|
|
456
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
457
|
-
gray?: boolean;
|
|
458
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
459
|
-
inForm?: boolean;
|
|
460
|
-
/** @deprecated Use {@link size} instead. This will be removed in Storybook 9.0 */
|
|
461
|
-
small?: boolean;
|
|
462
|
-
/** @deprecated Use {@link variant} instead. This will be removed in Storybook 9.0 */
|
|
463
|
-
outline?: boolean;
|
|
464
|
-
/** @deprecated Add your icon as a child directly. This will be removed in Storybook 9.0 */
|
|
465
|
-
containsIcon?: boolean;
|
|
466
448
|
}
|
|
467
449
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps$1 & React__default.RefAttributes<HTMLButtonElement>>;
|
|
468
450
|
|
|
469
451
|
declare const IconButton: React__default.ForwardRefExoticComponent<ButtonProps$1 & React__default.RefAttributes<HTMLButtonElement>>;
|
|
470
452
|
|
|
471
|
-
declare const Overlay:
|
|
472
|
-
theme?:
|
|
453
|
+
declare const Overlay: storybook_theming.StyledComponent<{
|
|
454
|
+
theme?: storybook_theming.Theme;
|
|
473
455
|
as?: React__default.ElementType;
|
|
474
456
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
475
|
-
declare const Container:
|
|
476
|
-
theme?:
|
|
457
|
+
declare const Container: storybook_theming.StyledComponent<{
|
|
458
|
+
theme?: storybook_theming.Theme;
|
|
477
459
|
as?: React__default.ElementType;
|
|
478
460
|
} & {
|
|
479
461
|
width?: number;
|
|
480
462
|
height?: number;
|
|
481
463
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
482
464
|
declare const CloseButton: (props: React__default.ComponentProps<typeof IconButton>) => React__default.JSX.Element;
|
|
483
|
-
declare const Content:
|
|
484
|
-
theme?:
|
|
465
|
+
declare const Content: storybook_theming.StyledComponent<{
|
|
466
|
+
theme?: storybook_theming.Theme;
|
|
485
467
|
as?: React__default.ElementType;
|
|
486
468
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
487
|
-
declare const Row:
|
|
488
|
-
theme?:
|
|
469
|
+
declare const Row: storybook_theming.StyledComponent<{
|
|
470
|
+
theme?: storybook_theming.Theme;
|
|
489
471
|
as?: React__default.ElementType;
|
|
490
472
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
491
|
-
declare const Col:
|
|
492
|
-
theme?:
|
|
473
|
+
declare const Col: storybook_theming.StyledComponent<{
|
|
474
|
+
theme?: storybook_theming.Theme;
|
|
493
475
|
as?: React__default.ElementType;
|
|
494
476
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
495
477
|
declare const Header: (props: React__default.ComponentProps<typeof Col>) => React__default.JSX.Element;
|
|
496
|
-
declare const Title:
|
|
497
|
-
theme?:
|
|
478
|
+
declare const Title: storybook_theming.StyledComponent<DialogTitleProps & React__default.RefAttributes<HTMLHeadingElement> & {
|
|
479
|
+
theme?: storybook_theming.Theme;
|
|
498
480
|
}, {}, {}>;
|
|
499
|
-
declare const Description:
|
|
500
|
-
theme?:
|
|
481
|
+
declare const Description: storybook_theming.StyledComponent<DialogDescriptionProps & React__default.RefAttributes<HTMLParagraphElement> & {
|
|
482
|
+
theme?: storybook_theming.Theme;
|
|
501
483
|
}, {}, {}>;
|
|
502
|
-
declare const Actions:
|
|
503
|
-
theme?:
|
|
484
|
+
declare const Actions: storybook_theming.StyledComponent<{
|
|
485
|
+
theme?: storybook_theming.Theme;
|
|
504
486
|
as?: React__default.ElementType;
|
|
505
487
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
506
|
-
declare const ErrorWrapper:
|
|
507
|
-
theme?:
|
|
488
|
+
declare const ErrorWrapper: storybook_theming.StyledComponent<{
|
|
489
|
+
theme?: storybook_theming.Theme;
|
|
508
490
|
as?: React__default.ElementType;
|
|
509
491
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
510
492
|
declare const Error$1: ({ children, ...props }: {
|
|
@@ -595,6 +577,8 @@ interface ErrorFormatterProps {
|
|
|
595
577
|
}
|
|
596
578
|
declare const ErrorFormatter: ({ error }: ErrorFormatterProps) => React__default.JSX.Element;
|
|
597
579
|
|
|
580
|
+
declare const Checkbox: (props: React__default.InputHTMLAttributes<HTMLInputElement>) => React__default.JSX.Element;
|
|
581
|
+
|
|
598
582
|
/**
|
|
599
583
|
* These types are copied from `react-textarea-autosize`. I copied them because of
|
|
600
584
|
* https://github.com/storybookjs/storybook/issues/18734 Maybe there's some bug in `tsup` or
|
|
@@ -623,18 +607,18 @@ interface FieldProps {
|
|
|
623
607
|
label?: ReactNode;
|
|
624
608
|
}
|
|
625
609
|
|
|
626
|
-
declare const Form:
|
|
627
|
-
theme?:
|
|
610
|
+
declare const Form: storybook_theming.StyledComponent<{
|
|
611
|
+
theme?: storybook_theming.Theme;
|
|
628
612
|
as?: React.ElementType;
|
|
629
613
|
}, React$1.DetailedHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}> & {
|
|
630
614
|
Field: ({ label, children, ...props }: FieldProps) => React$1.JSX.Element;
|
|
631
|
-
Input:
|
|
615
|
+
Input: storybook_theming.StyledComponent<Omit<Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
|
|
632
616
|
size?: Sizes;
|
|
633
617
|
align?: Alignments;
|
|
634
618
|
valid?: ValidationStates;
|
|
635
619
|
height?: number;
|
|
636
620
|
}, "ref"> & React$1.RefAttributes<any> & {
|
|
637
|
-
theme?:
|
|
621
|
+
theme?: storybook_theming.Theme;
|
|
638
622
|
} & Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
|
|
639
623
|
size?: Sizes;
|
|
640
624
|
align?: Alignments;
|
|
@@ -643,23 +627,23 @@ declare const Form: storybook_internal_theming.StyledComponent<{
|
|
|
643
627
|
}, {}, {}> & {
|
|
644
628
|
displayName: string;
|
|
645
629
|
};
|
|
646
|
-
Select:
|
|
630
|
+
Select: storybook_theming.StyledComponent<Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "align" | "height" | "size" | "valid"> & {
|
|
647
631
|
size?: Sizes;
|
|
648
632
|
align?: Alignments;
|
|
649
633
|
valid?: ValidationStates;
|
|
650
634
|
height?: number;
|
|
651
635
|
} & React$1.RefAttributes<any> & {
|
|
652
|
-
theme?:
|
|
636
|
+
theme?: storybook_theming.Theme;
|
|
653
637
|
}, {}, {}> & {
|
|
654
638
|
displayName: string;
|
|
655
639
|
};
|
|
656
|
-
Textarea:
|
|
640
|
+
Textarea: storybook_theming.StyledComponent<Omit<Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
|
|
657
641
|
size?: Sizes;
|
|
658
642
|
align?: Alignments;
|
|
659
643
|
valid?: ValidationStates;
|
|
660
644
|
height?: number;
|
|
661
645
|
} & React$1.RefAttributes<HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<any> & {
|
|
662
|
-
theme?:
|
|
646
|
+
theme?: storybook_theming.Theme;
|
|
663
647
|
} & Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
|
|
664
648
|
size?: Sizes;
|
|
665
649
|
align?: Alignments;
|
|
@@ -899,8 +883,8 @@ declare type PopperOptions = Partial<Options> & {
|
|
|
899
883
|
createPopper?: typeof createPopper;
|
|
900
884
|
};
|
|
901
885
|
|
|
902
|
-
declare const TargetContainer:
|
|
903
|
-
theme?:
|
|
886
|
+
declare const TargetContainer: storybook_theming.StyledComponent<{
|
|
887
|
+
theme?: storybook_theming.Theme;
|
|
904
888
|
as?: React__default.ElementType;
|
|
905
889
|
} & {
|
|
906
890
|
trigger: Config["trigger"];
|
|
@@ -953,8 +937,8 @@ interface ItemProps {
|
|
|
953
937
|
href?: string;
|
|
954
938
|
onClick?: (event: SyntheticEvent, ...args: any[]) => any;
|
|
955
939
|
}
|
|
956
|
-
declare const Item:
|
|
957
|
-
theme?:
|
|
940
|
+
declare const Item: storybook_theming.StyledComponent<{
|
|
941
|
+
theme?: storybook_theming.Theme;
|
|
958
942
|
as?: React__default.ElementType;
|
|
959
943
|
} & ItemProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
960
944
|
type LinkWrapperType = (props: any) => ReactNode;
|
|
@@ -964,16 +948,17 @@ interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'title'> {
|
|
|
964
948
|
center?: ReactNode;
|
|
965
949
|
right?: ReactNode;
|
|
966
950
|
icon?: ReactNode;
|
|
951
|
+
input?: ReactNode;
|
|
967
952
|
active?: boolean;
|
|
968
953
|
disabled?: boolean;
|
|
969
954
|
href?: string;
|
|
970
955
|
LinkWrapper?: LinkWrapperType;
|
|
971
956
|
isIndented?: boolean;
|
|
972
957
|
}
|
|
973
|
-
declare const ListItem: (
|
|
958
|
+
declare const ListItem: (props: ListItemProps) => React__default.JSX.Element;
|
|
974
959
|
|
|
975
|
-
declare const List:
|
|
976
|
-
theme?:
|
|
960
|
+
declare const List: storybook_theming.StyledComponent<{
|
|
961
|
+
theme?: storybook_theming.Theme;
|
|
977
962
|
as?: React__default.ElementType;
|
|
978
963
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
979
964
|
interface NormalLink extends Omit<ListItemProps, 'onClick'> {
|
|
@@ -995,8 +980,8 @@ interface TooltipLinkListProps extends ComponentProps<typeof List> {
|
|
|
995
980
|
}
|
|
996
981
|
declare const TooltipLinkList: ({ links, LinkWrapper, ...props }: TooltipLinkListProps) => React__default.JSX.Element;
|
|
997
982
|
|
|
998
|
-
declare const TabBar:
|
|
999
|
-
theme?:
|
|
983
|
+
declare const TabBar: storybook_theming.StyledComponent<{
|
|
984
|
+
theme?: storybook_theming.Theme;
|
|
1000
985
|
as?: React__default.ElementType;
|
|
1001
986
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1002
987
|
interface TabWrapperProps {
|
|
@@ -1059,17 +1044,15 @@ interface TabButtonProps {
|
|
|
1059
1044
|
active?: boolean;
|
|
1060
1045
|
textColor?: string;
|
|
1061
1046
|
}
|
|
1062
|
-
declare const TabButton:
|
|
1063
|
-
theme?:
|
|
1047
|
+
declare const TabButton: storybook_theming.StyledComponent<Omit<ButtonProps, "ref"> & RefAttributes<HTMLButtonElement> & {
|
|
1048
|
+
theme?: storybook_theming.Theme;
|
|
1064
1049
|
} & TabButtonProps, {}, {}>;
|
|
1065
|
-
/** @deprecated This component will be removed in Storybook 9.0 */
|
|
1066
|
-
declare const IconButtonSkeleton: () => React__default.JSX.Element;
|
|
1067
1050
|
|
|
1068
1051
|
interface SeparatorProps {
|
|
1069
1052
|
force?: boolean;
|
|
1070
1053
|
}
|
|
1071
|
-
declare const Separator:
|
|
1072
|
-
theme?:
|
|
1054
|
+
declare const Separator: storybook_theming.StyledComponent<{
|
|
1055
|
+
theme?: storybook_theming.Theme;
|
|
1073
1056
|
as?: React__default.ElementType;
|
|
1074
1057
|
} & SeparatorProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
1075
1058
|
declare const interleaveSeparators: (list: any[]) => any;
|
|
@@ -1080,8 +1063,8 @@ interface UnstyledBarProps extends ScrollAreaProps {
|
|
|
1080
1063
|
interface BarProps extends UnstyledBarProps {
|
|
1081
1064
|
border?: boolean;
|
|
1082
1065
|
}
|
|
1083
|
-
declare const Bar:
|
|
1084
|
-
theme?:
|
|
1066
|
+
declare const Bar: storybook_theming.StyledComponent<UnstyledBarProps & {
|
|
1067
|
+
theme?: storybook_theming.Theme;
|
|
1085
1068
|
} & BarProps, {}, {}>;
|
|
1086
1069
|
interface FlexBarProps extends ComponentProps<typeof Bar> {
|
|
1087
1070
|
border?: boolean;
|
|
@@ -1098,238 +1081,6 @@ interface AddonPanelProps {
|
|
|
1098
1081
|
}
|
|
1099
1082
|
declare const AddonPanel: ({ active, children }: AddonPanelProps) => React__default.JSX.Element;
|
|
1100
1083
|
|
|
1101
|
-
type IconType = keyof typeof icons;
|
|
1102
|
-
declare const Svg: storybook_internal_theming.StyledComponent<{
|
|
1103
|
-
theme?: storybook_internal_theming.Theme;
|
|
1104
|
-
as?: React__default.ElementType;
|
|
1105
|
-
}, React__default.SVGProps<SVGSVGElement>, {}>;
|
|
1106
|
-
interface IconsProps extends ComponentProps<typeof Svg> {
|
|
1107
|
-
icon: IconType;
|
|
1108
|
-
useSymbol?: boolean;
|
|
1109
|
-
onClick?: () => void;
|
|
1110
|
-
__suppressDeprecationWarning?: boolean;
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* @deprecated No longer used, will be removed in Storybook 9.0 Please use the `@storybook/icons`
|
|
1114
|
-
* package instead.
|
|
1115
|
-
*/
|
|
1116
|
-
declare const Icons: ({ icon, useSymbol, __suppressDeprecationWarning, ...props }: IconsProps) => React__default.JSX.Element | null;
|
|
1117
|
-
interface SymbolsProps {
|
|
1118
|
-
icons?: IconType[];
|
|
1119
|
-
}
|
|
1120
|
-
/**
|
|
1121
|
-
* @deprecated No longer used, will be removed in Storybook 9.0 Please use the `@storybook/icons`
|
|
1122
|
-
* package instead.
|
|
1123
|
-
*/
|
|
1124
|
-
declare const Symbols: React__default.NamedExoticComponent<SymbolsProps>;
|
|
1125
|
-
declare const icons: {
|
|
1126
|
-
readonly user: "UserIcon";
|
|
1127
|
-
readonly useralt: "UserAltIcon";
|
|
1128
|
-
readonly useradd: "UserAddIcon";
|
|
1129
|
-
readonly users: "UsersIcon";
|
|
1130
|
-
readonly profile: "ProfileIcon";
|
|
1131
|
-
readonly facehappy: "FaceHappyIcon";
|
|
1132
|
-
readonly faceneutral: "FaceNeutralIcon";
|
|
1133
|
-
readonly facesad: "FaceSadIcon";
|
|
1134
|
-
readonly accessibility: "AccessibilityIcon";
|
|
1135
|
-
readonly accessibilityalt: "AccessibilityAltIcon";
|
|
1136
|
-
readonly arrowup: "ChevronUpIcon";
|
|
1137
|
-
readonly arrowdown: "ChevronDownIcon";
|
|
1138
|
-
readonly arrowleft: "ChevronLeftIcon";
|
|
1139
|
-
readonly arrowright: "ChevronRightIcon";
|
|
1140
|
-
readonly arrowupalt: "ArrowUpIcon";
|
|
1141
|
-
readonly arrowdownalt: "ArrowDownIcon";
|
|
1142
|
-
readonly arrowleftalt: "ArrowLeftIcon";
|
|
1143
|
-
readonly arrowrightalt: "ArrowRightIcon";
|
|
1144
|
-
readonly expandalt: "ExpandAltIcon";
|
|
1145
|
-
readonly collapse: "CollapseIcon";
|
|
1146
|
-
readonly expand: "ExpandIcon";
|
|
1147
|
-
readonly unfold: "UnfoldIcon";
|
|
1148
|
-
readonly transfer: "TransferIcon";
|
|
1149
|
-
readonly redirect: "RedirectIcon";
|
|
1150
|
-
readonly undo: "UndoIcon";
|
|
1151
|
-
readonly reply: "ReplyIcon";
|
|
1152
|
-
readonly sync: "SyncIcon";
|
|
1153
|
-
readonly upload: "UploadIcon";
|
|
1154
|
-
readonly download: "DownloadIcon";
|
|
1155
|
-
readonly back: "BackIcon";
|
|
1156
|
-
readonly proceed: "ProceedIcon";
|
|
1157
|
-
readonly refresh: "RefreshIcon";
|
|
1158
|
-
readonly globe: "GlobeIcon";
|
|
1159
|
-
readonly compass: "CompassIcon";
|
|
1160
|
-
readonly location: "LocationIcon";
|
|
1161
|
-
readonly pin: "PinIcon";
|
|
1162
|
-
readonly time: "TimeIcon";
|
|
1163
|
-
readonly dashboard: "DashboardIcon";
|
|
1164
|
-
readonly timer: "TimerIcon";
|
|
1165
|
-
readonly home: "HomeIcon";
|
|
1166
|
-
readonly admin: "AdminIcon";
|
|
1167
|
-
readonly info: "InfoIcon";
|
|
1168
|
-
readonly question: "QuestionIcon";
|
|
1169
|
-
readonly support: "SupportIcon";
|
|
1170
|
-
readonly alert: "AlertIcon";
|
|
1171
|
-
readonly email: "EmailIcon";
|
|
1172
|
-
readonly phone: "PhoneIcon";
|
|
1173
|
-
readonly link: "LinkIcon";
|
|
1174
|
-
readonly unlink: "LinkBrokenIcon";
|
|
1175
|
-
readonly bell: "BellIcon";
|
|
1176
|
-
readonly rss: "RSSIcon";
|
|
1177
|
-
readonly sharealt: "ShareAltIcon";
|
|
1178
|
-
readonly share: "ShareIcon";
|
|
1179
|
-
readonly circle: "CircleIcon";
|
|
1180
|
-
readonly circlehollow: "CircleHollowIcon";
|
|
1181
|
-
readonly bookmarkhollow: "BookmarkHollowIcon";
|
|
1182
|
-
readonly bookmark: "BookmarkIcon";
|
|
1183
|
-
readonly hearthollow: "HeartHollowIcon";
|
|
1184
|
-
readonly heart: "HeartIcon";
|
|
1185
|
-
readonly starhollow: "StarHollowIcon";
|
|
1186
|
-
readonly star: "StarIcon";
|
|
1187
|
-
readonly certificate: "CertificateIcon";
|
|
1188
|
-
readonly verified: "VerifiedIcon";
|
|
1189
|
-
readonly thumbsup: "ThumbsUpIcon";
|
|
1190
|
-
readonly shield: "ShieldIcon";
|
|
1191
|
-
readonly basket: "BasketIcon";
|
|
1192
|
-
readonly beaker: "BeakerIcon";
|
|
1193
|
-
readonly hourglass: "HourglassIcon";
|
|
1194
|
-
readonly flag: "FlagIcon";
|
|
1195
|
-
readonly cloudhollow: "CloudHollowIcon";
|
|
1196
|
-
readonly edit: "EditIcon";
|
|
1197
|
-
readonly cog: "CogIcon";
|
|
1198
|
-
readonly nut: "NutIcon";
|
|
1199
|
-
readonly wrench: "WrenchIcon";
|
|
1200
|
-
readonly ellipsis: "EllipsisIcon";
|
|
1201
|
-
readonly check: "CheckIcon";
|
|
1202
|
-
readonly form: "FormIcon";
|
|
1203
|
-
readonly batchdeny: "BatchDenyIcon";
|
|
1204
|
-
readonly batchaccept: "BatchAcceptIcon";
|
|
1205
|
-
readonly controls: "ControlsIcon";
|
|
1206
|
-
readonly plus: "PlusIcon";
|
|
1207
|
-
readonly closeAlt: "CloseAltIcon";
|
|
1208
|
-
readonly cross: "CrossIcon";
|
|
1209
|
-
readonly trash: "TrashIcon";
|
|
1210
|
-
readonly pinalt: "PinAltIcon";
|
|
1211
|
-
readonly unpin: "UnpinIcon";
|
|
1212
|
-
readonly add: "AddIcon";
|
|
1213
|
-
readonly subtract: "SubtractIcon";
|
|
1214
|
-
readonly close: "CloseIcon";
|
|
1215
|
-
readonly delete: "DeleteIcon";
|
|
1216
|
-
readonly passed: "PassedIcon";
|
|
1217
|
-
readonly changed: "ChangedIcon";
|
|
1218
|
-
readonly failed: "FailedIcon";
|
|
1219
|
-
readonly clear: "ClearIcon";
|
|
1220
|
-
readonly comment: "CommentIcon";
|
|
1221
|
-
readonly commentadd: "CommentAddIcon";
|
|
1222
|
-
readonly requestchange: "RequestChangeIcon";
|
|
1223
|
-
readonly comments: "CommentsIcon";
|
|
1224
|
-
readonly lock: "LockIcon";
|
|
1225
|
-
readonly unlock: "UnlockIcon";
|
|
1226
|
-
readonly key: "KeyIcon";
|
|
1227
|
-
readonly outbox: "OutboxIcon";
|
|
1228
|
-
readonly credit: "CreditIcon";
|
|
1229
|
-
readonly button: "ButtonIcon";
|
|
1230
|
-
readonly type: "TypeIcon";
|
|
1231
|
-
readonly pointerdefault: "PointerDefaultIcon";
|
|
1232
|
-
readonly pointerhand: "PointerHandIcon";
|
|
1233
|
-
readonly browser: "BrowserIcon";
|
|
1234
|
-
readonly tablet: "TabletIcon";
|
|
1235
|
-
readonly mobile: "MobileIcon";
|
|
1236
|
-
readonly watch: "WatchIcon";
|
|
1237
|
-
readonly sidebar: "SidebarIcon";
|
|
1238
|
-
readonly sidebaralt: "SidebarAltIcon";
|
|
1239
|
-
readonly sidebaralttoggle: "SidebarAltToggleIcon";
|
|
1240
|
-
readonly sidebartoggle: "SidebarToggleIcon";
|
|
1241
|
-
readonly bottombar: "BottomBarIcon";
|
|
1242
|
-
readonly bottombartoggle: "BottomBarToggleIcon";
|
|
1243
|
-
readonly cpu: "CPUIcon";
|
|
1244
|
-
readonly database: "DatabaseIcon";
|
|
1245
|
-
readonly memory: "MemoryIcon";
|
|
1246
|
-
readonly structure: "StructureIcon";
|
|
1247
|
-
readonly box: "BoxIcon";
|
|
1248
|
-
readonly power: "PowerIcon";
|
|
1249
|
-
readonly photo: "PhotoIcon";
|
|
1250
|
-
readonly component: "ComponentIcon";
|
|
1251
|
-
readonly grid: "GridIcon";
|
|
1252
|
-
readonly outline: "OutlineIcon";
|
|
1253
|
-
readonly photodrag: "PhotoDragIcon";
|
|
1254
|
-
readonly search: "SearchIcon";
|
|
1255
|
-
readonly zoom: "ZoomIcon";
|
|
1256
|
-
readonly zoomout: "ZoomOutIcon";
|
|
1257
|
-
readonly zoomreset: "ZoomResetIcon";
|
|
1258
|
-
readonly eye: "EyeIcon";
|
|
1259
|
-
readonly eyeclose: "EyeCloseIcon";
|
|
1260
|
-
readonly lightning: "LightningIcon";
|
|
1261
|
-
readonly lightningoff: "LightningOffIcon";
|
|
1262
|
-
readonly contrast: "ContrastIcon";
|
|
1263
|
-
readonly switchalt: "SwitchAltIcon";
|
|
1264
|
-
readonly mirror: "MirrorIcon";
|
|
1265
|
-
readonly grow: "GrowIcon";
|
|
1266
|
-
readonly paintbrush: "PaintBrushIcon";
|
|
1267
|
-
readonly ruler: "RulerIcon";
|
|
1268
|
-
readonly stop: "StopIcon";
|
|
1269
|
-
readonly camera: "CameraIcon";
|
|
1270
|
-
readonly video: "VideoIcon";
|
|
1271
|
-
readonly speaker: "SpeakerIcon";
|
|
1272
|
-
readonly play: "PlayIcon";
|
|
1273
|
-
readonly playback: "PlayBackIcon";
|
|
1274
|
-
readonly playnext: "PlayNextIcon";
|
|
1275
|
-
readonly rewind: "RewindIcon";
|
|
1276
|
-
readonly fastforward: "FastForwardIcon";
|
|
1277
|
-
readonly stopalt: "StopAltIcon";
|
|
1278
|
-
readonly sidebyside: "SideBySideIcon";
|
|
1279
|
-
readonly stacked: "StackedIcon";
|
|
1280
|
-
readonly sun: "SunIcon";
|
|
1281
|
-
readonly moon: "MoonIcon";
|
|
1282
|
-
readonly book: "BookIcon";
|
|
1283
|
-
readonly document: "DocumentIcon";
|
|
1284
|
-
readonly copy: "CopyIcon";
|
|
1285
|
-
readonly category: "CategoryIcon";
|
|
1286
|
-
readonly folder: "FolderIcon";
|
|
1287
|
-
readonly print: "PrintIcon";
|
|
1288
|
-
readonly graphline: "GraphLineIcon";
|
|
1289
|
-
readonly calendar: "CalendarIcon";
|
|
1290
|
-
readonly graphbar: "GraphBarIcon";
|
|
1291
|
-
readonly menu: "MenuIcon";
|
|
1292
|
-
readonly menualt: "MenuIcon";
|
|
1293
|
-
readonly filter: "FilterIcon";
|
|
1294
|
-
readonly docchart: "DocChartIcon";
|
|
1295
|
-
readonly doclist: "DocListIcon";
|
|
1296
|
-
readonly markup: "MarkupIcon";
|
|
1297
|
-
readonly bold: "BoldIcon";
|
|
1298
|
-
readonly paperclip: "PaperClipIcon";
|
|
1299
|
-
readonly listordered: "ListOrderedIcon";
|
|
1300
|
-
readonly listunordered: "ListUnorderedIcon";
|
|
1301
|
-
readonly paragraph: "ParagraphIcon";
|
|
1302
|
-
readonly markdown: "MarkdownIcon";
|
|
1303
|
-
readonly repository: "RepoIcon";
|
|
1304
|
-
readonly commit: "CommitIcon";
|
|
1305
|
-
readonly branch: "BranchIcon";
|
|
1306
|
-
readonly pullrequest: "PullRequestIcon";
|
|
1307
|
-
readonly merge: "MergeIcon";
|
|
1308
|
-
readonly apple: "AppleIcon";
|
|
1309
|
-
readonly linux: "LinuxIcon";
|
|
1310
|
-
readonly ubuntu: "UbuntuIcon";
|
|
1311
|
-
readonly windows: "WindowsIcon";
|
|
1312
|
-
readonly storybook: "StorybookIcon";
|
|
1313
|
-
readonly azuredevops: "AzureDevOpsIcon";
|
|
1314
|
-
readonly bitbucket: "BitbucketIcon";
|
|
1315
|
-
readonly chrome: "ChromeIcon";
|
|
1316
|
-
readonly chromatic: "ChromaticIcon";
|
|
1317
|
-
readonly componentdriven: "ComponentDrivenIcon";
|
|
1318
|
-
readonly discord: "DiscordIcon";
|
|
1319
|
-
readonly facebook: "FacebookIcon";
|
|
1320
|
-
readonly figma: "FigmaIcon";
|
|
1321
|
-
readonly gdrive: "GDriveIcon";
|
|
1322
|
-
readonly github: "GithubIcon";
|
|
1323
|
-
readonly gitlab: "GitlabIcon";
|
|
1324
|
-
readonly google: "GoogleIcon";
|
|
1325
|
-
readonly graphql: "GraphqlIcon";
|
|
1326
|
-
readonly medium: "MediumIcon";
|
|
1327
|
-
readonly redux: "ReduxIcon";
|
|
1328
|
-
readonly twitter: "TwitterIcon";
|
|
1329
|
-
readonly youtube: "YoutubeIcon";
|
|
1330
|
-
readonly vscode: "VSCodeIcon";
|
|
1331
|
-
};
|
|
1332
|
-
|
|
1333
1084
|
type StorybookLogoProps = {
|
|
1334
1085
|
alt: string;
|
|
1335
1086
|
} & React__default.SVGAttributes<SVGSVGElement>;
|
|
@@ -1352,8 +1103,8 @@ interface LoaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
|
1352
1103
|
}
|
|
1353
1104
|
declare const Loader: ({ progress, error, size, ...props }: LoaderProps) => React__default.JSX.Element;
|
|
1354
1105
|
|
|
1355
|
-
declare const Wrapper:
|
|
1356
|
-
theme?:
|
|
1106
|
+
declare const Wrapper: storybook_theming.StyledComponent<{
|
|
1107
|
+
theme?: storybook_theming.Theme;
|
|
1357
1108
|
as?: React__default.ElementType;
|
|
1358
1109
|
} & {
|
|
1359
1110
|
size: number;
|
|
@@ -1381,8 +1132,8 @@ declare const nameSpaceClassNames: ({ ...props }: {
|
|
|
1381
1132
|
* We can't style individual elements (e.g. h1, h2, etc.) in here because the CSS specificity is too
|
|
1382
1133
|
* high, so those styles can too easily override child elements that are not expecting it.
|
|
1383
1134
|
*/
|
|
1384
|
-
declare const ResetWrapper:
|
|
1385
|
-
theme?:
|
|
1135
|
+
declare const ResetWrapper: storybook_theming.StyledComponent<{
|
|
1136
|
+
theme?: storybook_theming.Theme;
|
|
1386
1137
|
as?: React.ElementType;
|
|
1387
1138
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1388
1139
|
|
|
@@ -1420,4 +1171,4 @@ declare const components: {
|
|
|
1420
1171
|
};
|
|
1421
1172
|
declare const resetComponents: Record<string, ElementType>;
|
|
1422
1173
|
|
|
1423
|
-
export { A, ActionBar, type ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, ClipboardCode, Code, DL, Div, DocumentWrapper, EmptyTabContent, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton,
|
|
1174
|
+
export { A, ActionBar, type ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, Checkbox, ClipboardCode, Code, DL, Div, DocumentWrapper, EmptyTabContent, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, Img, LI, Link$1 as Link, ListItem, Loader, Modal, OL, P, Placeholder, Pre, ProgressSpinner, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, type SupportedLanguage, SyntaxHighlighter, type SyntaxHighlighterFormatTypes, type SyntaxHighlighterProps, type SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, type Link as TooltipLinkListLink, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };
|