react-magma-dom 5.3.0 → 6.0.0-next.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/StyledAIButtonTemplate.d.ts +2 -2
- package/dist/components/AIButton/index.d.ts +10 -10
- package/dist/components/Accordion/Accordion.d.ts +3 -4
- package/dist/components/Accordion/AccordionButton.d.ts +3 -4
- package/dist/components/Accordion/AccordionItem.d.ts +3 -4
- package/dist/components/Accordion/AccordionPanel.d.ts +3 -4
- package/dist/components/Alert/index.d.ts +3 -4
- package/dist/components/AlertBase/index.d.ts +1 -1
- package/dist/components/Announce/index.d.ts +4 -5
- package/dist/components/AppBar/AppBar.d.ts +3 -4
- package/dist/components/Badge/index.d.ts +3 -4
- package/dist/components/Banner/index.d.ts +3 -4
- package/dist/components/BlockQuote/BlockQuote.d.ts +3 -4
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +3 -4
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -4
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +3 -4
- package/dist/components/BreakpointsContainer/index.d.ts +3 -4
- package/dist/components/Button/index.d.ts +3 -4
- package/dist/components/Card/Card.d.ts +3 -4
- package/dist/components/Card/CardBody.d.ts +3 -4
- package/dist/components/Card/CardHeading.d.ts +3 -4
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Container/Container.d.ts +3 -4
- package/dist/components/Datagrid/Datagrid.d.ts +3 -4
- package/dist/components/DatePicker/DateField/StyledDateFieldInput.d.ts +4 -4
- package/dist/components/DatePicker/StyledSelect.d.ts +1 -1
- package/dist/components/Dropdown/DropdownContent.d.ts +3 -4
- package/dist/components/Dropdown/DropdownExpandableMenuPanel.d.ts +2 -3
- package/dist/components/Dropdown/DropdownHeader.d.ts +3 -4
- package/dist/components/Dropdown/DropdownMenuGroup.d.ts +3 -4
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +1 -1
- package/dist/components/EmptyState/styles.d.ts +4 -4
- package/dist/components/Flex/Flex.d.ts +3 -4
- package/dist/components/Form/index.d.ts +3 -4
- package/dist/components/FormGroup/index.d.ts +3 -4
- package/dist/components/Grid/Grid.d.ts +12 -14
- package/dist/components/Heading/index.d.ts +4 -5
- package/dist/components/HideAtBreakpoint/index.d.ts +3 -4
- package/dist/components/InputBase/index.d.ts +3 -3
- package/dist/components/List/List.d.ts +3 -4
- package/dist/components/List/ListItem.d.ts +3 -4
- package/dist/components/Modal/Modal.d.ts +3 -4
- package/dist/components/NativeSelect/NativeSelect.d.ts +3 -4
- package/dist/components/Paragraph/index.d.ts +3 -4
- package/dist/components/RadioGroup/index.d.ts +3 -4
- package/dist/components/Select/SelectContainer.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +8 -8
- package/dist/components/SkipLinkContent/index.d.ts +3 -4
- package/dist/components/Stepper/Step.d.ts +1 -1
- package/dist/components/StyledButton/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +7 -20
- package/dist/components/Table/TableBody.d.ts +3 -4
- package/dist/components/Table/TableHead.d.ts +3 -4
- package/dist/components/Table/TableRow.d.ts +3 -4
- package/dist/components/Tabs/Tab.d.ts +2 -2
- package/dist/components/Tabs/TabPanelsContainer.d.ts +2 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/TabsContainer.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +3 -4
- package/dist/components/TimePicker/TimePicker.d.ts +2 -2
- package/dist/components/Toast/index.d.ts +3 -4
- package/dist/components/Tooltip/index.d.ts +3 -3
- package/dist/components/Transition/Transition.d.ts +4 -5
- package/dist/components/TreeView/TreeItem.d.ts +0 -1
- package/dist/components/TreeView/useTreeItem.d.ts +1 -1
- package/dist/components/TreeView/useTreeView.d.ts +1 -1
- package/dist/components/TreeView/utils.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/VisuallyHidden/index.d.ts +3 -4
- package/dist/esm/index.js +5185 -6622
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +73 -147
- package/dist/properties.json +13603 -11295
- package/dist/react-magma-dom.cjs.development.js +2782 -2710
- 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 +21 -24
- package/dist/components/AIButton/AIButton.stories.d.ts +0 -35
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -54
- package/dist/components/Alert/Alert.stories.d.ts +0 -5
- package/dist/components/Announce/Announce.stories.d.ts +0 -4
- package/dist/components/AppBar/AppBar.stories.d.ts +0 -20
- package/dist/components/Badge/Badge.stories.d.ts +0 -7
- package/dist/components/Banner/Banner.stories.d.ts +0 -14
- package/dist/components/BlockQuote/BlockQuote.stories.d.ts +0 -16
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -16
- package/dist/components/BreakpointsContainer/BreakpointsContainer.stories.d.ts +0 -4
- package/dist/components/Button/Button.stories.d.ts +0 -41
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -24
- package/dist/components/Card/Card.stories.d.ts +0 -13
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +0 -38
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -39
- package/dist/components/Combobox/Combobox.stories.d.ts +0 -178
- package/dist/components/Container/Container.stories.d.ts +0 -33
- package/dist/components/Datagrid/Datagrid.stories.d.ts +0 -332
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -55
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +0 -25
- package/dist/components/DefinitionList/DefinitionList.stories.d.ts +0 -32
- package/dist/components/Drawer/Drawer.stories.d.ts +0 -44
- package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -85
- package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -137
- package/dist/components/Fieldset/Fieldset.stories.d.ts +0 -46
- package/dist/components/Flex/Flex.stories.d.ts +0 -46
- package/dist/components/Form/Form.stories.d.ts +0 -28
- package/dist/components/FormGroup/FormGroup.stories.d.ts +0 -4
- package/dist/components/Grid/Grid.stories.d.ts +0 -5
- package/dist/components/Heading/Heading.stories.d.ts +0 -14
- package/dist/components/HideAtBreakpoint/HideAtBreakpoint.stories.d.ts +0 -4
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +0 -34
- package/dist/components/IconButton/IconButton.stories.d.ts +0 -55
- package/dist/components/IndeterminateCheckbox/IndeterminateCheckbox.stories.d.ts +0 -38
- package/dist/components/Input/Input.stories.d.ts +0 -168
- package/dist/components/InputBase/InputBase.stories.d.ts +0 -10
- package/dist/components/List/List.stories.d.ts +0 -65
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -11
- package/dist/components/Modal/Modal.stories.d.ts +0 -30
- package/dist/components/NativeSelect/NativeSelect.stories.d.ts +0 -93
- package/dist/components/NavTabs/NavTabs.stories.d.ts +0 -25
- package/dist/components/Pagination/Pagination.stories.d.ts +0 -88
- package/dist/components/Paragraph/Paragraph.stories.d.ts +0 -6
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -27
- package/dist/components/Popover/Popover.stories.d.ts +0 -146
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +0 -30
- package/dist/components/Radio/Radio.stories.d.ts +0 -5
- package/dist/components/Search/Search.stories.d.ts +0 -8
- package/dist/components/Select/Select.stories.d.ts +0 -247
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -48
- package/dist/components/SkipLink/SkipLink.stories.d.ts +0 -4
- package/dist/components/Spacer/Spacer.stories.d.ts +0 -14
- package/dist/components/Spinner/Spinner.stories.d.ts +0 -6
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -29
- package/dist/components/Table/Table.stories.d.ts +0 -194
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -80
- package/dist/components/Tag/Tag.stories.d.ts +0 -21
- package/dist/components/Textarea/Textarea.stories.d.ts +0 -15
- package/dist/components/TimePicker/TimePicker.stories.d.ts +0 -21
- package/dist/components/Toast/Toast.stories.d.ts +0 -31
- package/dist/components/Toggle/Toggle.stories.d.ts +0 -5
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +0 -24
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +0 -33
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -53
- package/dist/components/Transition/Transition.stories.d.ts +0 -81
- package/dist/components/TreeView/TreeView.stories.d.ts +0 -280
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -4
|
@@ -38,11 +38,10 @@ export declare enum FlexWrap {
|
|
|
38
38
|
wrap = "wrap",
|
|
39
39
|
wrapReverse = "wrap-reverse"
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @children required
|
|
43
|
+
*/
|
|
41
44
|
export interface FlexProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
|
-
/**
|
|
43
|
-
* @children required
|
|
44
|
-
*/
|
|
45
|
-
children: React.ReactNode;
|
|
46
45
|
/**
|
|
47
46
|
* Defines the align-content style property. It's applied for all screen sizes.
|
|
48
47
|
* @default FlexAlignContent.stretch
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TypographyContextVariant, TypographyVisualStyle } from '../Typography';
|
|
3
|
+
/**
|
|
4
|
+
* @children required
|
|
5
|
+
*/
|
|
3
6
|
export interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
|
|
4
|
-
/**
|
|
5
|
-
* @children required
|
|
6
|
-
*/
|
|
7
|
-
children: React.ReactNode;
|
|
8
7
|
/**
|
|
9
8
|
* React Node containing the form action buttons; will appear under the form fields
|
|
10
9
|
*/
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @children required
|
|
4
|
+
*/
|
|
2
5
|
export interface FormGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* @children required
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
/**
|
|
8
7
|
* Style properties for the component container element
|
|
9
8
|
*/
|
|
@@ -52,11 +52,10 @@ export declare enum GridAutoFlow {
|
|
|
52
52
|
rowDense = "row-dense",
|
|
53
53
|
columnDense = "column-dense"
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @children required
|
|
57
|
+
*/
|
|
55
58
|
export interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
56
|
-
/**
|
|
57
|
-
* @children required
|
|
58
|
-
*/
|
|
59
|
-
children: React.ReactNode;
|
|
60
59
|
/**
|
|
61
60
|
* Defines the display style property. Sets grid or inline-grid.
|
|
62
61
|
* @default GridDisplay.grid
|
|
@@ -100,16 +99,15 @@ export interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
100
99
|
gridAutoFlow?: GridAutoFlow;
|
|
101
100
|
/**
|
|
102
101
|
* Semantic HTML tag to be used for the Grid
|
|
103
|
-
* Examples:
|
|
104
|
-
* @default
|
|
102
|
+
* Examples: `nav`, `footer`, `main`, `figure`, `aside`, etc.
|
|
103
|
+
* @default `div`
|
|
105
104
|
*/
|
|
106
105
|
as?: string;
|
|
107
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* @children required
|
|
109
|
+
*/
|
|
108
110
|
export interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
109
|
-
/**
|
|
110
|
-
* @children required
|
|
111
|
-
*/
|
|
112
|
-
children: React.ReactNode;
|
|
113
111
|
/**
|
|
114
112
|
* Defines the span of a column on a grid item.
|
|
115
113
|
*/
|
|
@@ -132,16 +130,16 @@ export interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
132
130
|
gridItemAlignSelf?: GridItemAlignSelf;
|
|
133
131
|
/**
|
|
134
132
|
* Semantic HTML tag to be used for the GridItem
|
|
135
|
-
* Examples:
|
|
136
|
-
* @default
|
|
133
|
+
* Examples: `nav`, `footer`, `main`, `figure`, `aside`, etc.
|
|
134
|
+
* @default `div`
|
|
137
135
|
*/
|
|
138
136
|
as?: string;
|
|
139
137
|
}
|
|
140
138
|
export declare const Grid: import("@emotion/styled").StyledComponent<{
|
|
141
139
|
theme?: import("@emotion/react").Theme;
|
|
142
|
-
as?: React.ElementType<any
|
|
140
|
+
as?: React.ElementType<any>;
|
|
143
141
|
} & GridProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
144
142
|
export declare const GridItem: import("@emotion/styled").StyledComponent<{
|
|
145
143
|
theme?: import("@emotion/react").Theme;
|
|
146
|
-
as?: React.ElementType<any
|
|
144
|
+
as?: React.ElementType<any>;
|
|
147
145
|
} & GridItemProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TypographyColor, TypographyContextVariant, TypographyVisualStyle, TypographyProps } from '../Typography';
|
|
3
|
+
/**
|
|
4
|
+
* @children required
|
|
5
|
+
*/
|
|
3
6
|
export interface HeadingProps extends TypographyProps<HTMLHeadingElement> {
|
|
4
|
-
/**
|
|
5
|
-
* @children required
|
|
6
|
-
*/
|
|
7
|
-
children: React.ReactNode;
|
|
8
7
|
/**
|
|
9
8
|
* @internal
|
|
10
9
|
*/
|
|
@@ -33,4 +32,4 @@ export interface HeadingProps extends TypographyProps<HTMLHeadingElement> {
|
|
|
33
32
|
*/
|
|
34
33
|
visualStyle?: TypographyVisualStyle;
|
|
35
34
|
}
|
|
36
|
-
export declare const Heading: React.ForwardRefExoticComponent<Pick<HeadingProps, "color" | "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" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-
|
|
35
|
+
export declare const Heading: React.ForwardRefExoticComponent<Pick<HeadingProps, "color" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onChange" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "contextVariant" | "isInverse" | "level" | "testId" | "visualStyle" | "as" | "element" | "noMargins" | "noBottomMargin" | "noTopMargin" | "theme"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @children required
|
|
4
|
+
*/
|
|
2
5
|
export interface HideAtBreakpointProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* @children required
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
/**
|
|
8
7
|
* @default HideAtBreakpointDisplayType.block
|
|
9
8
|
*/
|
|
@@ -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>;
|
|
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>;
|
|
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>;
|
|
202
202
|
} & {
|
|
203
203
|
labelPosition?: LabelPosition;
|
|
204
204
|
inputSize?: InputSize;
|
|
@@ -1,11 +1,10 @@
|
|
|
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
|
+
*/
|
|
4
7
|
export interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* @children required
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
8
|
/**
|
|
10
9
|
* Allows an ordered list to start at a determined value of a letter or number.
|
|
11
10
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Colors } from '../../theme/magma';
|
|
3
3
|
import { ListProps } from './';
|
|
4
|
+
/**
|
|
5
|
+
* @children required
|
|
6
|
+
*/
|
|
4
7
|
export interface ListItemProps extends ListProps, React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* @children required
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
8
|
/**
|
|
10
9
|
* @deprecated = true
|
|
11
10
|
* Please use DefinitionList instead
|
|
@@ -6,11 +6,10 @@ export declare enum ModalSize {
|
|
|
6
6
|
medium = "medium",
|
|
7
7
|
small = "small"
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @children required
|
|
11
|
+
*/
|
|
9
12
|
export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
/**
|
|
11
|
-
* @children required
|
|
12
|
-
*/
|
|
13
|
-
children: React.ReactNode;
|
|
14
13
|
/**
|
|
15
14
|
* Custom aria label ONLY for modals that do not have a header
|
|
16
15
|
*/
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FormFieldContainerBaseProps } from '../FormFieldContainer';
|
|
3
|
+
/**
|
|
4
|
+
* @children required
|
|
5
|
+
*/
|
|
3
6
|
export interface NativeSelectProps extends Omit<FormFieldContainerBaseProps, 'inputSize'>, React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
4
|
-
/**
|
|
5
|
-
* @children required
|
|
6
|
-
*/
|
|
7
|
-
children: React.ReactNode;
|
|
8
7
|
/**
|
|
9
8
|
* Content above the select. For use with Icon Buttons to relay information.
|
|
10
9
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ThemeInterface } from '../../theme/magma';
|
|
3
3
|
import { TypographyVisualStyle, TypographyColor, TypographyContextVariant } from '../Typography';
|
|
4
|
+
/**
|
|
5
|
+
* @children required
|
|
6
|
+
*/
|
|
4
7
|
export interface ParagraphProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
5
|
-
/**
|
|
6
|
-
* @children required
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
8
|
/**
|
|
10
9
|
* The color of the component, helping to convey meaning or relative emphasis
|
|
11
10
|
* @default TypographyColor.default
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @children required
|
|
4
|
+
*/
|
|
2
5
|
export interface RadioGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
-
* @children required
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
/**
|
|
8
7
|
* Action that fires when the radio group loses focus
|
|
9
8
|
*/
|
|
@@ -3,7 +3,7 @@ import { UseSelectGetLabelPropsOptions } from 'downshift';
|
|
|
3
3
|
import { LabelPosition } from '../Label';
|
|
4
4
|
export declare const SelectContainerElement: import("@emotion/styled").StyledComponent<{
|
|
5
5
|
theme?: import("@emotion/react").Theme;
|
|
6
|
-
as?: React.ElementType<any
|
|
6
|
+
as?: React.ElementType<any>;
|
|
7
7
|
} & {
|
|
8
8
|
isLabelVisuallyHidden?: boolean;
|
|
9
9
|
labelPosition?: LabelPosition;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { ThemeInterface } from '../../theme/magma';
|
|
3
3
|
export declare const SelectContainer: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
|
-
as?: import("react").ElementType<any
|
|
5
|
+
as?: import("react").ElementType<any>;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
9
|
-
as?: import("react").ElementType<any
|
|
9
|
+
as?: import("react").ElementType<any>;
|
|
10
10
|
} & import("../InputBase").InputBaseStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
11
|
export declare const SelectText: import("@emotion/styled").StyledComponent<{
|
|
12
12
|
theme?: import("@emotion/react").Theme;
|
|
13
|
-
as?: import("react").ElementType<any
|
|
13
|
+
as?: import("react").ElementType<any>;
|
|
14
14
|
} & {
|
|
15
15
|
isClearable?: boolean;
|
|
16
16
|
isShowPlaceholder?: boolean;
|
|
@@ -26,14 +26,14 @@ export declare const StyledCard: import("@emotion/styled").StyledComponent<impor
|
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
export declare const StyledList: import("@emotion/styled").StyledComponent<{
|
|
28
28
|
theme?: import("@emotion/react").Theme;
|
|
29
|
-
as?: import("react").ElementType<any
|
|
29
|
+
as?: import("react").ElementType<any>;
|
|
30
30
|
} & {
|
|
31
31
|
isOpen?: boolean;
|
|
32
32
|
maxHeight: string;
|
|
33
33
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
34
34
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
35
35
|
theme?: import("@emotion/react").Theme;
|
|
36
|
-
as?: import("react").ElementType<any
|
|
36
|
+
as?: import("react").ElementType<any>;
|
|
37
37
|
} & {
|
|
38
38
|
isInverse?: boolean;
|
|
39
39
|
isFocused?: boolean;
|
|
@@ -41,16 +41,16 @@ export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
|
41
41
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
42
42
|
export declare const SelectedItemsWrapper: import("@emotion/styled").StyledComponent<{
|
|
43
43
|
theme?: import("@emotion/react").Theme;
|
|
44
|
-
as?: import("react").ElementType<any
|
|
44
|
+
as?: import("react").ElementType<any>;
|
|
45
45
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
46
46
|
export declare const SelectedItemButton: import("@emotion/styled").StyledComponent<{
|
|
47
47
|
theme?: import("@emotion/react").Theme;
|
|
48
|
-
as?: import("react").ElementType<any
|
|
48
|
+
as?: import("react").ElementType<any>;
|
|
49
49
|
} & {
|
|
50
50
|
isInverse?: boolean;
|
|
51
51
|
disabled?: boolean;
|
|
52
52
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
53
53
|
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
54
54
|
theme?: import("@emotion/react").Theme;
|
|
55
|
-
as?: import("react").ElementType<any
|
|
55
|
+
as?: import("react").ElementType<any>;
|
|
56
56
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -55,6 +55,6 @@ export declare enum StepStatus {
|
|
|
55
55
|
}
|
|
56
56
|
export declare const HiddenLabelText: import("@emotion/styled").StyledComponent<{
|
|
57
57
|
theme?: import("@emotion/react").Theme;
|
|
58
|
-
as?: React.ElementType<any
|
|
58
|
+
as?: React.ElementType<any>;
|
|
59
59
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
60
60
|
export declare const Step: React.ForwardRefExoticComponent<StepProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -7,11 +7,11 @@ export interface StyledButtonProps extends ButtonProps {
|
|
|
7
7
|
export declare const buttonStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const BaseStyledButton: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?: React.ElementType<any
|
|
10
|
+
as?: React.ElementType<any>;
|
|
11
11
|
}, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
12
12
|
export declare const ChildrenWrapper: import("@emotion/styled").StyledComponent<{
|
|
13
13
|
theme?: import("@emotion/react").Theme;
|
|
14
|
-
as?: React.ElementType<any
|
|
14
|
+
as?: React.ElementType<any>;
|
|
15
15
|
} & {
|
|
16
16
|
isLoading: boolean;
|
|
17
17
|
testId?: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @children required
|
|
4
|
+
*/
|
|
2
5
|
export interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
3
|
-
/**
|
|
4
|
-
* @children required
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
/**
|
|
8
7
|
* Relative padding of the table cells
|
|
9
8
|
* @default TableDensity.normal
|
|
@@ -103,10 +102,7 @@ interface TableContextInterface {
|
|
|
103
102
|
export declare const TableContext: React.Context<TableContextInterface>;
|
|
104
103
|
export declare const TableContainer: import("@emotion/styled").StyledComponent<{
|
|
105
104
|
theme?: import("@emotion/react").Theme;
|
|
106
|
-
as?: React.ElementType<any
|
|
107
|
-
* If true, row will be visually highlighted on hover
|
|
108
|
-
* @default false
|
|
109
|
-
*/
|
|
105
|
+
as?: React.ElementType<any>;
|
|
110
106
|
} & {
|
|
111
107
|
isInverse?: boolean;
|
|
112
108
|
minWidth: number;
|
|
@@ -114,29 +110,20 @@ export declare const TableContainer: import("@emotion/styled").StyledComponent<{
|
|
|
114
110
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
115
111
|
export declare const TableWrapper: import("@emotion/styled").StyledComponent<{
|
|
116
112
|
theme?: import("@emotion/react").Theme;
|
|
117
|
-
as?: React.ElementType<any
|
|
118
|
-
* If true, row will be visually highlighted on hover
|
|
119
|
-
* @default false
|
|
120
|
-
*/
|
|
113
|
+
as?: React.ElementType<any>;
|
|
121
114
|
} & {
|
|
122
115
|
minWidth: number;
|
|
123
116
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
124
117
|
export declare const StyledTableTitle: import("@emotion/styled").StyledComponent<{
|
|
125
118
|
theme?: import("@emotion/react").Theme;
|
|
126
|
-
as?: React.ElementType<any
|
|
127
|
-
* If true, row will be visually highlighted on hover
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
119
|
+
as?: React.ElementType<any>;
|
|
130
120
|
} & {
|
|
131
121
|
isInverse: boolean;
|
|
132
122
|
isTitleNode: boolean;
|
|
133
123
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
134
124
|
export declare const StyledTable: import("@emotion/styled").StyledComponent<{
|
|
135
125
|
theme?: import("@emotion/react").Theme;
|
|
136
|
-
as?: React.ElementType<any
|
|
137
|
-
* If true, row will be visually highlighted on hover
|
|
138
|
-
* @default false
|
|
139
|
-
*/
|
|
126
|
+
as?: React.ElementType<any>;
|
|
140
127
|
} & {
|
|
141
128
|
hasOutsideBorder?: boolean;
|
|
142
129
|
hasSquareCorners?: boolean;
|