react-magma-dom 4.10.1 → 5.0.1-rc.0
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/components/AIButton/AIButton.stories.d.ts +37 -0
- package/dist/components/AIButton/StyledAIButtonTemplate.d.ts +2 -2
- package/dist/components/Accordion/Accordion.d.ts +4 -3
- package/dist/components/Accordion/Accordion.stories.d.ts +49 -0
- package/dist/components/Accordion/AccordionButton.d.ts +4 -3
- package/dist/components/Accordion/AccordionItem.d.ts +4 -3
- package/dist/components/Accordion/AccordionPanel.d.ts +4 -3
- package/dist/components/Alert/Alert.stories.d.ts +5 -0
- package/dist/components/Alert/index.d.ts +4 -3
- package/dist/components/AlertBase/index.d.ts +1 -1
- package/dist/components/Announce/Announce.stories.d.ts +4 -0
- package/dist/components/Announce/index.d.ts +5 -4
- package/dist/components/AppBar/AppBar.d.ts +4 -3
- package/dist/components/AppBar/AppBar.stories.d.ts +21 -0
- package/dist/components/Badge/Badge.stories.d.ts +5 -0
- package/dist/components/Badge/index.d.ts +4 -3
- package/dist/components/Banner/Banner.stories.d.ts +15 -0
- package/dist/components/Banner/index.d.ts +4 -3
- package/dist/components/BlockQuote/BlockQuote.d.ts +4 -3
- package/dist/components/BlockQuote/BlockQuote.stories.d.ts +17 -0
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +4 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +4 -3
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +17 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +4 -3
- package/dist/components/BreakpointsContainer/BreakpointsContainer.stories.d.ts +4 -0
- package/dist/components/BreakpointsContainer/index.d.ts +4 -3
- package/dist/components/Button/Button.stories.d.ts +42 -0
- package/dist/components/Button/index.d.ts +4 -3
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +24 -0
- package/dist/components/ButtonGroup/index.d.ts +4 -3
- package/dist/components/Card/Card.d.ts +4 -3
- package/dist/components/Card/Card.stories.d.ts +13 -0
- package/dist/components/Card/CardBody.d.ts +4 -3
- package/dist/components/Card/CardHeading.d.ts +4 -3
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +39 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/components/Checkbox/index.d.ts +3 -3
- package/dist/components/Combobox/Combobox.stories.d.ts +142 -0
- package/dist/components/Container/Container.d.ts +4 -3
- package/dist/components/Container/Container.stories.d.ts +34 -0
- package/dist/components/Datagrid/Datagrid.d.ts +4 -3
- package/dist/components/Datagrid/Datagrid.stories.d.ts +296 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +36 -0
- package/dist/components/DatePicker/StyledSelect.d.ts +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +25 -0
- package/dist/components/DefinitionList/DefinitionList.stories.d.ts +32 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +36 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +76 -0
- package/dist/components/Dropdown/DropdownContent.d.ts +4 -3
- package/dist/components/Dropdown/DropdownExpandableMenuPanel.d.ts +3 -2
- package/dist/components/Dropdown/DropdownHeader.d.ts +4 -3
- package/dist/components/Dropdown/DropdownMenuGroup.d.ts +4 -3
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +1 -1
- package/dist/components/Flex/Flex.d.ts +4 -3
- package/dist/components/Flex/Flex.stories.d.ts +46 -0
- package/dist/components/Form/Form.stories.d.ts +27 -0
- package/dist/components/Form/index.d.ts +4 -3
- package/dist/components/FormGroup/FormGroup.stories.d.ts +4 -0
- package/dist/components/FormGroup/index.d.ts +4 -3
- package/dist/components/Grid/Grid.d.ts +14 -12
- package/dist/components/Grid/Grid.stories.d.ts +6 -0
- package/dist/components/Heading/Heading.stories.d.ts +14 -0
- package/dist/components/Heading/index.d.ts +5 -4
- package/dist/components/HideAtBreakpoint/HideAtBreakpoint.stories.d.ts +4 -0
- package/dist/components/HideAtBreakpoint/index.d.ts +4 -3
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +33 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +75 -0
- package/dist/components/IndeterminateCheckbox/IndeterminateCheckbox.stories.d.ts +6 -0
- package/dist/components/Input/Input.stories.d.ts +169 -0
- package/dist/components/InputBase/InputBase.stories.d.ts +10 -0
- package/dist/components/InputBase/index.d.ts +3 -3
- package/dist/components/List/List.d.ts +4 -3
- package/dist/components/List/List.stories.d.ts +65 -0
- package/dist/components/List/ListItem.d.ts +4 -3
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +11 -0
- package/dist/components/Modal/Modal.d.ts +4 -3
- package/dist/components/Modal/Modal.stories.d.ts +16 -0
- package/dist/components/NativeSelect/NativeSelect.d.ts +4 -3
- package/dist/components/NativeSelect/NativeSelect.stories.d.ts +86 -0
- package/dist/components/NavTabs/NavTabs.d.ts +1 -1
- package/dist/components/NavTabs/NavTabs.stories.d.ts +27 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +88 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts +6 -0
- package/dist/components/Paragraph/index.d.ts +4 -3
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +28 -0
- package/dist/components/Popover/Popover.stories.d.ts +135 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +30 -0
- package/dist/components/Radio/Radio.stories.d.ts +5 -0
- package/dist/components/RadioGroup/index.d.ts +4 -3
- package/dist/components/Search/Search.stories.d.ts +9 -0
- package/dist/components/Select/Select.stories.d.ts +247 -0
- package/dist/components/Select/SelectContainer.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +8 -8
- package/dist/components/SkipLink/SkipLink.stories.d.ts +4 -0
- package/dist/components/SkipLinkContent/index.d.ts +4 -3
- package/dist/components/Spacer/Spacer.stories.d.ts +14 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +7 -0
- package/dist/components/Stepper/Step.d.ts +1 -1
- package/dist/components/Stepper/Stepper.stories.d.ts +29 -0
- package/dist/components/StyledButton/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +8 -7
- package/dist/components/Table/Table.stories.d.ts +176 -0
- package/dist/components/Table/TableBody.d.ts +4 -3
- package/dist/components/Table/TableHead.d.ts +4 -3
- package/dist/components/Table/TableRow.d.ts +4 -3
- package/dist/components/Tabs/Tab.d.ts +2 -2
- package/dist/components/Tabs/TabPanelsContainer.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/Tabs.stories.d.ts +82 -0
- package/dist/components/Tabs/TabsContainer.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -3
- package/dist/components/Tag/Tag.stories.d.ts +25 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +16 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +22 -0
- package/dist/components/Toast/Toast.stories.d.ts +22 -0
- package/dist/components/Toast/index.d.ts +4 -3
- package/dist/components/Toggle/Toggle.stories.d.ts +5 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +26 -0
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -3
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +26 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +53 -0
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Transition/Transition.d.ts +5 -4
- package/dist/components/Transition/Transition.stories.d.ts +81 -0
- package/dist/components/TreeView/TreeView.stories.d.ts +199 -0
- package/dist/components/TreeView/index.d.ts +1 -1
- package/dist/components/TreeView/useTreeItem.d.ts +1 -1
- package/dist/components/TreeView/useTreeView.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +4 -0
- package/dist/components/VisuallyHidden/index.d.ts +4 -3
- package/dist/esm/index.js +1145 -1307
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +143 -71
- package/dist/properties.json +10418 -11030
- package/dist/react-magma-dom.cjs.development.js +773 -725
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +24 -21
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputSize, InputType } from '../InputBase';
|
|
3
|
+
import { InputProps } from '.';
|
|
4
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
8
|
+
args: {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
helperMessage: string;
|
|
11
|
+
isClearable: boolean;
|
|
12
|
+
isInverse: boolean;
|
|
13
|
+
labelWidth: number;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
type: InputType;
|
|
16
|
+
};
|
|
17
|
+
parameters: {
|
|
18
|
+
controls: {
|
|
19
|
+
exclude: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const Error: {
|
|
24
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
25
|
+
args: {
|
|
26
|
+
errorMessage: string;
|
|
27
|
+
};
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: {
|
|
30
|
+
exclude: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const Large: {
|
|
35
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
36
|
+
args: {
|
|
37
|
+
inputSize: InputSize;
|
|
38
|
+
isClearable: boolean;
|
|
39
|
+
isInverse: boolean;
|
|
40
|
+
};
|
|
41
|
+
parameters: {
|
|
42
|
+
controls: {
|
|
43
|
+
exclude: string[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const IconPositions: {
|
|
48
|
+
render: (args: any) => React.JSX.Element;
|
|
49
|
+
args: {
|
|
50
|
+
placeholder: string;
|
|
51
|
+
helperMessage: any;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
isClearable: boolean;
|
|
54
|
+
isInverse: boolean;
|
|
55
|
+
labelWidth: number;
|
|
56
|
+
type: InputType;
|
|
57
|
+
};
|
|
58
|
+
parameters: {
|
|
59
|
+
controls: {
|
|
60
|
+
exclude: string[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export declare const File: {
|
|
65
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
66
|
+
args: {
|
|
67
|
+
type: InputType;
|
|
68
|
+
};
|
|
69
|
+
parameters: {
|
|
70
|
+
controls: {
|
|
71
|
+
exclude: string[];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const ClickableIcon: {
|
|
76
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
77
|
+
args: {
|
|
78
|
+
icon: React.JSX.Element;
|
|
79
|
+
iconAriaLabel: string;
|
|
80
|
+
onIconClick: () => void;
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
helperMessage: string;
|
|
83
|
+
isClearable: boolean;
|
|
84
|
+
isInverse: boolean;
|
|
85
|
+
labelWidth: number;
|
|
86
|
+
placeholder: string;
|
|
87
|
+
type: InputType;
|
|
88
|
+
};
|
|
89
|
+
parameters: {
|
|
90
|
+
controls: {
|
|
91
|
+
exclude: string[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export declare const Inverse: {
|
|
96
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, InputProps>;
|
|
97
|
+
args: {
|
|
98
|
+
isInverse: boolean;
|
|
99
|
+
errorMessage: string;
|
|
100
|
+
disabled: boolean;
|
|
101
|
+
helperMessage: string;
|
|
102
|
+
isClearable: boolean;
|
|
103
|
+
labelWidth: number;
|
|
104
|
+
placeholder: string;
|
|
105
|
+
type: InputType;
|
|
106
|
+
};
|
|
107
|
+
parameters: {
|
|
108
|
+
controls: {
|
|
109
|
+
exclude: string[];
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
113
|
+
};
|
|
114
|
+
export declare const HelpLink: {
|
|
115
|
+
render: (args: any) => React.JSX.Element;
|
|
116
|
+
args: {
|
|
117
|
+
errorMessage: string;
|
|
118
|
+
helperMessage: string;
|
|
119
|
+
labelText: string;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
isClearable: boolean;
|
|
122
|
+
isInverse: boolean;
|
|
123
|
+
labelWidth: number;
|
|
124
|
+
placeholder: string;
|
|
125
|
+
type: InputType;
|
|
126
|
+
};
|
|
127
|
+
parameters: {
|
|
128
|
+
controls: {
|
|
129
|
+
exclude: string[];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
export declare const WithTwoIcons: {
|
|
134
|
+
render: () => React.JSX.Element;
|
|
135
|
+
args: {
|
|
136
|
+
disabled: boolean;
|
|
137
|
+
helperMessage: string;
|
|
138
|
+
isClearable: boolean;
|
|
139
|
+
isInverse: boolean;
|
|
140
|
+
labelWidth: number;
|
|
141
|
+
placeholder: string;
|
|
142
|
+
type: InputType;
|
|
143
|
+
};
|
|
144
|
+
parameters: {
|
|
145
|
+
controls: {
|
|
146
|
+
exclude: string[];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export declare const NumberInput: {
|
|
151
|
+
render: (args: any) => React.JSX.Element;
|
|
152
|
+
args: {
|
|
153
|
+
disabled: boolean;
|
|
154
|
+
helperMessage: string;
|
|
155
|
+
isClearable: boolean;
|
|
156
|
+
};
|
|
157
|
+
parameters: {
|
|
158
|
+
controls: {
|
|
159
|
+
exclude: string[];
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export declare const PhoneInput: () => React.JSX.Element;
|
|
164
|
+
export declare const URLInput: () => React.JSX.Element;
|
|
165
|
+
export declare const SeveralErrors: () => React.JSX.Element;
|
|
166
|
+
export declare const ErrorMessageAndHelperMessage: () => React.JSX.Element;
|
|
167
|
+
export declare const AllInputs: () => React.JSX.Element;
|
|
168
|
+
export declare function TimeInput(): React.JSX.Element;
|
|
169
|
+
export declare const CustomTopicsRowStory: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: {
|
|
5
|
+
render: (args: any) => React.JSX.Element;
|
|
6
|
+
args: {};
|
|
7
|
+
};
|
|
8
|
+
export declare const Inverse: {
|
|
9
|
+
render: (args: any) => React.JSX.Element;
|
|
10
|
+
};
|
|
@@ -179,12 +179,12 @@ export interface InputBaseStylesProps {
|
|
|
179
179
|
export declare const inputBaseStyles: (props: InputBaseStylesProps) => import("@emotion/react").SerializedStyles;
|
|
180
180
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
181
181
|
theme?: import("@emotion/react").Theme;
|
|
182
|
-
as?: React.ElementType<any>;
|
|
182
|
+
as?: React.ElementType<any, "symbol" | "object" | "button" | "image" | "search" | "text" | "time" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">;
|
|
183
183
|
} & InputWrapperStylesProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
184
184
|
export declare function getHelpIconButtonSize(props: any): any;
|
|
185
185
|
export declare const IconButtonContainer: import("@emotion/styled").StyledComponent<{
|
|
186
186
|
theme?: import("@emotion/react").Theme;
|
|
187
|
-
as?: React.ElementType<any>;
|
|
187
|
+
as?: React.ElementType<any, "symbol" | "object" | "button" | "image" | "search" | "text" | "time" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">;
|
|
188
188
|
} & {
|
|
189
189
|
iconPosition?: InputIconPosition;
|
|
190
190
|
inputSize?: InputSize;
|
|
@@ -198,7 +198,7 @@ export declare const isLeftOrHidden: ({ labelPosition, isLabelVisuallyHidden, }:
|
|
|
198
198
|
}) => boolean;
|
|
199
199
|
export declare const HelpLinkContainer: import("@emotion/styled").StyledComponent<{
|
|
200
200
|
theme?: import("@emotion/react").Theme;
|
|
201
|
-
as?: React.ElementType<any>;
|
|
201
|
+
as?: React.ElementType<any, "symbol" | "object" | "button" | "image" | "search" | "text" | "time" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view">;
|
|
202
202
|
} & {
|
|
203
203
|
labelPosition?: LabelPosition;
|
|
204
204
|
inputSize?: InputSize;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { magma, ThemeInterface } from '../../theme/magma';
|
|
3
3
|
import { TypographyVisualStyle } from '../Typography';
|
|
4
|
-
/**
|
|
5
|
-
* @children required
|
|
6
|
-
*/
|
|
7
4
|
export interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/**
|
|
6
|
+
* @children required
|
|
7
|
+
*/
|
|
8
|
+
children: React.ReactNode;
|
|
8
9
|
/**
|
|
9
10
|
* Allows an ordered list to start at a determined value of a letter or number.
|
|
10
11
|
*/
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ulListType } from './List';
|
|
3
|
+
import { TypographyVisualStyle } from '../Typography';
|
|
4
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Simple: {
|
|
7
|
+
render: (args: any) => React.JSX.Element;
|
|
8
|
+
args: {
|
|
9
|
+
spacingStyle: string;
|
|
10
|
+
isOrdered: boolean;
|
|
11
|
+
isReversed: boolean;
|
|
12
|
+
isInverse: boolean;
|
|
13
|
+
visualStyle: TypographyVisualStyle;
|
|
14
|
+
listType: ulListType;
|
|
15
|
+
};
|
|
16
|
+
parameters: {
|
|
17
|
+
controls: {
|
|
18
|
+
exclude: string[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const UnorderedList: {
|
|
23
|
+
render: (args: any) => React.JSX.Element;
|
|
24
|
+
args: {
|
|
25
|
+
spacingStyle: string;
|
|
26
|
+
isOrdered: boolean;
|
|
27
|
+
};
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: {
|
|
30
|
+
exclude: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const OrderedList: {
|
|
35
|
+
render: (args: any) => React.JSX.Element;
|
|
36
|
+
args: {
|
|
37
|
+
spacingStyle: string;
|
|
38
|
+
isOrdered: boolean;
|
|
39
|
+
hasStart: number;
|
|
40
|
+
};
|
|
41
|
+
parameters: {
|
|
42
|
+
controls: {
|
|
43
|
+
exclude: string[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const WithLinks: {
|
|
48
|
+
render: (args: any) => React.JSX.Element;
|
|
49
|
+
parameters: {
|
|
50
|
+
controls: {
|
|
51
|
+
exclude: string[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare const WithIcons: {
|
|
56
|
+
render: (args: any) => React.JSX.Element;
|
|
57
|
+
args: {
|
|
58
|
+
spacingStyle: string;
|
|
59
|
+
};
|
|
60
|
+
parameters: {
|
|
61
|
+
controls: {
|
|
62
|
+
exclude: string[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Colors } from '../../theme/magma';
|
|
3
3
|
import { ListProps } from './';
|
|
4
|
-
/**
|
|
5
|
-
* @children required
|
|
6
|
-
*/
|
|
7
4
|
export interface ListItemProps extends ListProps, React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/**
|
|
6
|
+
* @children required
|
|
7
|
+
*/
|
|
8
|
+
children: React.ReactNode;
|
|
8
9
|
/**
|
|
9
10
|
* @deprecated = true
|
|
10
11
|
* Please use DefinitionList instead
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: {
|
|
5
|
+
render: (args: any) => React.JSX.Element;
|
|
6
|
+
args: {
|
|
7
|
+
message1: string;
|
|
8
|
+
message2: string;
|
|
9
|
+
message3: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -6,10 +6,11 @@ export declare enum ModalSize {
|
|
|
6
6
|
medium = "medium",
|
|
7
7
|
small = "small"
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* @children required
|
|
11
|
-
*/
|
|
12
9
|
export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/**
|
|
11
|
+
* @children required
|
|
12
|
+
*/
|
|
13
|
+
children: React.ReactNode;
|
|
13
14
|
/**
|
|
14
15
|
* Custom aria label ONLY for modals that do not have a header
|
|
15
16
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const info: {
|
|
3
|
+
component: React.ForwardRefExoticComponent<import("./Modal").ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
export default info;
|
|
7
|
+
export declare const Default: () => React.JSX.Element;
|
|
8
|
+
export declare const BackgroundCickDisabled: () => React.JSX.Element;
|
|
9
|
+
export declare const LongContentWithScrolling: () => React.JSX.Element;
|
|
10
|
+
export declare const RadioInModal: () => React.JSX.Element;
|
|
11
|
+
export declare const ModalContentUpdate: () => React.JSX.Element;
|
|
12
|
+
export declare const NoHeaderOrFocusableContent: () => React.JSX.Element;
|
|
13
|
+
export declare const ModalInAModal: () => React.JSX.Element;
|
|
14
|
+
export declare const CloseModalWithConfirmation: () => React.JSX.Element;
|
|
15
|
+
export declare const HeaderReference: () => React.JSX.Element;
|
|
16
|
+
export declare const Inverse: () => React.JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FormFieldContainerBaseProps } from '../FormFieldContainer';
|
|
3
|
-
/**
|
|
4
|
-
* @children required
|
|
5
|
-
*/
|
|
6
3
|
export interface NativeSelectProps extends Omit<FormFieldContainerBaseProps, 'inputSize'>, React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
4
|
+
/**
|
|
5
|
+
* @children required
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
7
8
|
/**
|
|
8
9
|
* Content above the select. For use with Icon Buttons to relay information.
|
|
9
10
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NativeSelectProps } from '.';
|
|
3
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: {
|
|
6
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
7
|
+
args: {
|
|
8
|
+
isInverse: boolean;
|
|
9
|
+
labelText: string;
|
|
10
|
+
testId: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const Disabled: {
|
|
14
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
15
|
+
args: {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
isInverse: boolean;
|
|
18
|
+
labelText: string;
|
|
19
|
+
testId: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const WithContent: {
|
|
23
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
24
|
+
args: {
|
|
25
|
+
isInverse: boolean;
|
|
26
|
+
labelText: string;
|
|
27
|
+
testId: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const HasError: {
|
|
31
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
32
|
+
args: {
|
|
33
|
+
errorMessage: string;
|
|
34
|
+
isInverse: boolean;
|
|
35
|
+
labelText: string;
|
|
36
|
+
testId: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const HelperMessage: {
|
|
40
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
41
|
+
args: {
|
|
42
|
+
helperMessage: string;
|
|
43
|
+
isInverse: boolean;
|
|
44
|
+
labelText: string;
|
|
45
|
+
testId: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export declare const Inverse: {
|
|
49
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
50
|
+
args: {
|
|
51
|
+
isInverse: boolean;
|
|
52
|
+
labelText: string;
|
|
53
|
+
testId: string;
|
|
54
|
+
};
|
|
55
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
56
|
+
};
|
|
57
|
+
export declare const InverseDisabled: {
|
|
58
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
59
|
+
args: {
|
|
60
|
+
isInverse: boolean;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
labelText: string;
|
|
63
|
+
testId: string;
|
|
64
|
+
};
|
|
65
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
66
|
+
};
|
|
67
|
+
export declare const HasErrorInverse: {
|
|
68
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
69
|
+
args: {
|
|
70
|
+
isInverse: boolean;
|
|
71
|
+
errorMessage: string;
|
|
72
|
+
labelText: string;
|
|
73
|
+
testId: string;
|
|
74
|
+
};
|
|
75
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
76
|
+
};
|
|
77
|
+
export declare const HelperMessageInverse: {
|
|
78
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, NativeSelectProps>;
|
|
79
|
+
args: {
|
|
80
|
+
isInverse: boolean;
|
|
81
|
+
helperMessage: string;
|
|
82
|
+
labelText: string;
|
|
83
|
+
testId: string;
|
|
84
|
+
};
|
|
85
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
86
|
+
};
|
|
@@ -12,5 +12,5 @@ interface NavTabsContextInterface {
|
|
|
12
12
|
textTransform?: TabsTextTransform;
|
|
13
13
|
}
|
|
14
14
|
export declare const NavTabsContext: React.Context<NavTabsContextInterface>;
|
|
15
|
-
export declare const NavTabs: React.ForwardRefExoticComponent<(Pick<TabsProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "
|
|
15
|
+
export declare const NavTabs: React.ForwardRefExoticComponent<(Pick<TabsProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignment" | "backgroundColor" | "iconPosition" | "isFullWidth" | "isInverse" | "orientation" | "textTransform" | "testId"> & import("../Tabs").HorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (Pick<TabsProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignment" | "backgroundColor" | "iconPosition" | "isFullWidth" | "isInverse" | "orientation" | "textTransform" | "testId"> & import("../Tabs").VerticalTabsProps & React.RefAttributes<HTMLDivElement>)>;
|
|
16
16
|
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { TabsOrientation } from '../Tabs/shared';
|
|
3
|
+
import { NavTabsProps } from '.';
|
|
4
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<import("../Tabs").TabsProps, "slot" | "style" | "title" | "backgroundColor" | "color" | "content" | "textTransform" | "translate" | "children" | "isFullWidth" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignment" | "orientation" | "iconPosition">>;
|
|
8
|
+
args: {};
|
|
9
|
+
};
|
|
10
|
+
export declare const IconOnly: StoryObj<NavTabsProps>;
|
|
11
|
+
export declare const BackgroundColor: StoryObj<NavTabsProps>;
|
|
12
|
+
export declare const Inverse: {
|
|
13
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<import("../Tabs").TabsProps, "slot" | "style" | "title" | "backgroundColor" | "color" | "content" | "textTransform" | "translate" | "children" | "isFullWidth" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignment" | "orientation" | "iconPosition">>;
|
|
14
|
+
args: {
|
|
15
|
+
isInverse: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const CustomTab: StoryObj<NavTabsProps>;
|
|
19
|
+
export declare const Scrolling: {
|
|
20
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<import("../Tabs").TabsProps, "slot" | "style" | "title" | "backgroundColor" | "color" | "content" | "textTransform" | "translate" | "children" | "isFullWidth" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignment" | "orientation" | "iconPosition"> & {
|
|
21
|
+
activeIndex: number;
|
|
22
|
+
}>;
|
|
23
|
+
args: {
|
|
24
|
+
orientation: TabsOrientation;
|
|
25
|
+
activeIndex: number;
|
|
26
|
+
};
|
|
27
|
+
};
|