storybook 9.0.0-alpha.2 → 9.0.0-alpha.20
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/bin/index.cjs +2 -2
- package/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +138 -0
- package/dist/actions/index.cjs +126 -0
- package/dist/actions/index.d.ts +102 -0
- package/dist/actions/index.js +111 -0
- package/dist/actions/preview.cjs +164 -0
- package/dist/actions/preview.d.ts +54 -0
- package/dist/actions/preview.js +155 -0
- 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 +66 -89
- package/dist/bin/index.js +62 -85
- package/dist/builder-manager/index.cjs +523 -540
- package/dist/builder-manager/index.js +544 -561
- package/dist/channels/index.cjs +1026 -981
- package/dist/channels/index.js +1194 -1165
- package/dist/cli/bin/index.cjs +483 -483
- package/dist/cli/bin/index.js +495 -495
- package/dist/cli/index.cjs +2279 -2295
- package/dist/cli/index.d.ts +4 -8
- package/dist/cli/index.js +740 -756
- package/dist/client-logger/index.cjs +56 -88
- package/dist/client-logger/index.js +41 -47
- package/dist/common/index.cjs +2496 -2480
- package/dist/common/index.d.ts +5 -29
- package/dist/common/index.js +2679 -2663
- 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 +11709 -20418
- package/dist/components/index.d.ts +94 -346
- package/dist/components/index.js +5827 -19157
- 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 +14413 -13924
- package/dist/core-server/index.d.ts +270 -3
- package/dist/core-server/index.js +14003 -13519
- package/dist/core-server/presets/common-manager.css +170 -0
- package/dist/core-server/presets/common-manager.js +12099 -17
- package/dist/core-server/presets/common-preset.cjs +2760 -2914
- package/dist/core-server/presets/common-preset.js +2852 -3007
- 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 +2557 -564
- package/dist/highlight/index.cjs +27 -0
- package/dist/highlight/index.d.ts +17 -0
- package/dist/highlight/index.js +7 -0
- package/dist/highlight/preview.cjs +81 -0
- package/dist/highlight/preview.d.ts +54 -0
- package/dist/highlight/preview.js +67 -0
- package/dist/instrumenter/index.cjs +2207 -2342
- package/dist/instrumenter/index.d.ts +8 -7
- package/dist/instrumenter/index.js +2438 -2620
- package/dist/manager/globals-module-info.cjs +290 -151
- package/dist/manager/globals-module-info.d.ts +1 -1
- package/dist/manager/globals-module-info.js +274 -135
- package/dist/manager/globals-runtime.js +60016 -28331
- 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 +4645 -3946
- package/dist/manager-api/index.cjs +4228 -3833
- package/dist/manager-api/index.d.ts +398 -102
- package/dist/manager-api/index.js +3676 -3291
- package/dist/manager-errors.d.ts +25 -1
- package/dist/manager-errors.js +42 -26
- package/dist/measure/index.cjs +474 -0
- package/dist/measure/index.d.ts +66 -0
- package/dist/measure/index.js +462 -0
- package/dist/measure/preview.cjs +464 -0
- package/dist/measure/preview.d.ts +59 -0
- package/dist/measure/preview.js +448 -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 +45697 -6618
- package/dist/preview-api/index.cjs +1363 -1898
- package/dist/preview-api/index.d.ts +449 -498
- package/dist/preview-api/index.js +1622 -2095
- package/dist/preview-errors.cjs +99 -82
- package/dist/preview-errors.d.ts +25 -1
- package/dist/preview-errors.js +110 -94
- package/dist/router/index.cjs +847 -871
- package/dist/router/index.js +193 -199
- package/dist/server-errors.cjs +156 -125
- package/dist/server-errors.d.ts +28 -2
- package/dist/server-errors.js +150 -119
- package/dist/telemetry/index.cjs +1050 -1977
- package/dist/telemetry/index.d.ts +26 -5
- package/dist/telemetry/index.js +1085 -2008
- package/dist/test/index.cjs +35686 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +33752 -0
- package/dist/test/preview.cjs +15870 -0
- package/dist/test/preview.d.ts +54 -0
- package/dist/test/preview.js +14441 -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 +612 -157
- 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 }: {
|
|
@@ -623,18 +605,18 @@ interface FieldProps {
|
|
|
623
605
|
label?: ReactNode;
|
|
624
606
|
}
|
|
625
607
|
|
|
626
|
-
declare const Form:
|
|
627
|
-
theme?:
|
|
608
|
+
declare const Form: storybook_theming.StyledComponent<{
|
|
609
|
+
theme?: storybook_theming.Theme;
|
|
628
610
|
as?: React.ElementType;
|
|
629
611
|
}, React$1.DetailedHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}> & {
|
|
630
612
|
Field: ({ label, children, ...props }: FieldProps) => React$1.JSX.Element;
|
|
631
|
-
Input:
|
|
613
|
+
Input: storybook_theming.StyledComponent<Omit<Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
|
|
632
614
|
size?: Sizes;
|
|
633
615
|
align?: Alignments;
|
|
634
616
|
valid?: ValidationStates;
|
|
635
617
|
height?: number;
|
|
636
618
|
}, "ref"> & React$1.RefAttributes<any> & {
|
|
637
|
-
theme?:
|
|
619
|
+
theme?: storybook_theming.Theme;
|
|
638
620
|
} & Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
|
|
639
621
|
size?: Sizes;
|
|
640
622
|
align?: Alignments;
|
|
@@ -643,23 +625,23 @@ declare const Form: storybook_internal_theming.StyledComponent<{
|
|
|
643
625
|
}, {}, {}> & {
|
|
644
626
|
displayName: string;
|
|
645
627
|
};
|
|
646
|
-
Select:
|
|
628
|
+
Select: storybook_theming.StyledComponent<Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "align" | "height" | "size" | "valid"> & {
|
|
647
629
|
size?: Sizes;
|
|
648
630
|
align?: Alignments;
|
|
649
631
|
valid?: ValidationStates;
|
|
650
632
|
height?: number;
|
|
651
633
|
} & React$1.RefAttributes<any> & {
|
|
652
|
-
theme?:
|
|
634
|
+
theme?: storybook_theming.Theme;
|
|
653
635
|
}, {}, {}> & {
|
|
654
636
|
displayName: string;
|
|
655
637
|
};
|
|
656
|
-
Textarea:
|
|
638
|
+
Textarea: storybook_theming.StyledComponent<Omit<Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
|
|
657
639
|
size?: Sizes;
|
|
658
640
|
align?: Alignments;
|
|
659
641
|
valid?: ValidationStates;
|
|
660
642
|
height?: number;
|
|
661
643
|
} & React$1.RefAttributes<HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<any> & {
|
|
662
|
-
theme?:
|
|
644
|
+
theme?: storybook_theming.Theme;
|
|
663
645
|
} & Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
|
|
664
646
|
size?: Sizes;
|
|
665
647
|
align?: Alignments;
|
|
@@ -899,8 +881,8 @@ declare type PopperOptions = Partial<Options> & {
|
|
|
899
881
|
createPopper?: typeof createPopper;
|
|
900
882
|
};
|
|
901
883
|
|
|
902
|
-
declare const TargetContainer:
|
|
903
|
-
theme?:
|
|
884
|
+
declare const TargetContainer: storybook_theming.StyledComponent<{
|
|
885
|
+
theme?: storybook_theming.Theme;
|
|
904
886
|
as?: React__default.ElementType;
|
|
905
887
|
} & {
|
|
906
888
|
trigger: Config["trigger"];
|
|
@@ -953,8 +935,8 @@ interface ItemProps {
|
|
|
953
935
|
href?: string;
|
|
954
936
|
onClick?: (event: SyntheticEvent, ...args: any[]) => any;
|
|
955
937
|
}
|
|
956
|
-
declare const Item:
|
|
957
|
-
theme?:
|
|
938
|
+
declare const Item: storybook_theming.StyledComponent<{
|
|
939
|
+
theme?: storybook_theming.Theme;
|
|
958
940
|
as?: React__default.ElementType;
|
|
959
941
|
} & ItemProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
960
942
|
type LinkWrapperType = (props: any) => ReactNode;
|
|
@@ -972,8 +954,8 @@ interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'title'> {
|
|
|
972
954
|
}
|
|
973
955
|
declare const ListItem: ({ loading, title, center, right, active, disabled, isIndented, href, onClick, icon, LinkWrapper, ...rest }: ListItemProps) => React__default.JSX.Element;
|
|
974
956
|
|
|
975
|
-
declare const List:
|
|
976
|
-
theme?:
|
|
957
|
+
declare const List: storybook_theming.StyledComponent<{
|
|
958
|
+
theme?: storybook_theming.Theme;
|
|
977
959
|
as?: React__default.ElementType;
|
|
978
960
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
979
961
|
interface NormalLink extends Omit<ListItemProps, 'onClick'> {
|
|
@@ -995,8 +977,8 @@ interface TooltipLinkListProps extends ComponentProps<typeof List> {
|
|
|
995
977
|
}
|
|
996
978
|
declare const TooltipLinkList: ({ links, LinkWrapper, ...props }: TooltipLinkListProps) => React__default.JSX.Element;
|
|
997
979
|
|
|
998
|
-
declare const TabBar:
|
|
999
|
-
theme?:
|
|
980
|
+
declare const TabBar: storybook_theming.StyledComponent<{
|
|
981
|
+
theme?: storybook_theming.Theme;
|
|
1000
982
|
as?: React__default.ElementType;
|
|
1001
983
|
}, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1002
984
|
interface TabWrapperProps {
|
|
@@ -1059,17 +1041,15 @@ interface TabButtonProps {
|
|
|
1059
1041
|
active?: boolean;
|
|
1060
1042
|
textColor?: string;
|
|
1061
1043
|
}
|
|
1062
|
-
declare const TabButton:
|
|
1063
|
-
theme?:
|
|
1044
|
+
declare const TabButton: storybook_theming.StyledComponent<Omit<ButtonProps, "ref"> & RefAttributes<HTMLButtonElement> & {
|
|
1045
|
+
theme?: storybook_theming.Theme;
|
|
1064
1046
|
} & TabButtonProps, {}, {}>;
|
|
1065
|
-
/** @deprecated This component will be removed in Storybook 9.0 */
|
|
1066
|
-
declare const IconButtonSkeleton: () => React__default.JSX.Element;
|
|
1067
1047
|
|
|
1068
1048
|
interface SeparatorProps {
|
|
1069
1049
|
force?: boolean;
|
|
1070
1050
|
}
|
|
1071
|
-
declare const Separator:
|
|
1072
|
-
theme?:
|
|
1051
|
+
declare const Separator: storybook_theming.StyledComponent<{
|
|
1052
|
+
theme?: storybook_theming.Theme;
|
|
1073
1053
|
as?: React__default.ElementType;
|
|
1074
1054
|
} & SeparatorProps, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
1075
1055
|
declare const interleaveSeparators: (list: any[]) => any;
|
|
@@ -1080,8 +1060,8 @@ interface UnstyledBarProps extends ScrollAreaProps {
|
|
|
1080
1060
|
interface BarProps extends UnstyledBarProps {
|
|
1081
1061
|
border?: boolean;
|
|
1082
1062
|
}
|
|
1083
|
-
declare const Bar:
|
|
1084
|
-
theme?:
|
|
1063
|
+
declare const Bar: storybook_theming.StyledComponent<UnstyledBarProps & {
|
|
1064
|
+
theme?: storybook_theming.Theme;
|
|
1085
1065
|
} & BarProps, {}, {}>;
|
|
1086
1066
|
interface FlexBarProps extends ComponentProps<typeof Bar> {
|
|
1087
1067
|
border?: boolean;
|
|
@@ -1098,238 +1078,6 @@ interface AddonPanelProps {
|
|
|
1098
1078
|
}
|
|
1099
1079
|
declare const AddonPanel: ({ active, children }: AddonPanelProps) => React__default.JSX.Element;
|
|
1100
1080
|
|
|
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
1081
|
type StorybookLogoProps = {
|
|
1334
1082
|
alt: string;
|
|
1335
1083
|
} & React__default.SVGAttributes<SVGSVGElement>;
|
|
@@ -1352,8 +1100,8 @@ interface LoaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
|
1352
1100
|
}
|
|
1353
1101
|
declare const Loader: ({ progress, error, size, ...props }: LoaderProps) => React__default.JSX.Element;
|
|
1354
1102
|
|
|
1355
|
-
declare const Wrapper:
|
|
1356
|
-
theme?:
|
|
1103
|
+
declare const Wrapper: storybook_theming.StyledComponent<{
|
|
1104
|
+
theme?: storybook_theming.Theme;
|
|
1357
1105
|
as?: React__default.ElementType;
|
|
1358
1106
|
} & {
|
|
1359
1107
|
size: number;
|
|
@@ -1381,8 +1129,8 @@ declare const nameSpaceClassNames: ({ ...props }: {
|
|
|
1381
1129
|
* We can't style individual elements (e.g. h1, h2, etc.) in here because the CSS specificity is too
|
|
1382
1130
|
* high, so those styles can too easily override child elements that are not expecting it.
|
|
1383
1131
|
*/
|
|
1384
|
-
declare const ResetWrapper:
|
|
1385
|
-
theme?:
|
|
1132
|
+
declare const ResetWrapper: storybook_theming.StyledComponent<{
|
|
1133
|
+
theme?: storybook_theming.Theme;
|
|
1386
1134
|
as?: React.ElementType;
|
|
1387
1135
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1388
1136
|
|
|
@@ -1420,4 +1168,4 @@ declare const components: {
|
|
|
1420
1168
|
};
|
|
1421
1169
|
declare const resetComponents: Record<string, ElementType>;
|
|
1422
1170
|
|
|
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,
|
|
1171
|
+
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, 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 };
|