react-magma-dom 3.0.0 → 3.1.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/Accordion/Accordion.d.ts +3 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +8 -0
- package/dist/components/Accordion/useAccordion.d.ts +3 -0
- package/dist/components/Accordion/useAccordionButton.d.ts +3 -0
- package/dist/components/Accordion/useAccordionItem.d.ts +3 -0
- package/dist/components/Alert/Alert.stories.d.ts +7 -8
- package/dist/components/Alert/index.d.ts +4 -1
- package/dist/components/AlertBase/index.d.ts +8 -1
- package/dist/components/Announce/index.d.ts +3 -0
- package/dist/components/AppBar/AppBar.d.ts +7 -0
- package/dist/components/Badge/index.d.ts +3 -2
- package/dist/components/Banner/Banner.stories.d.ts +4 -2
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +3 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +3 -0
- package/dist/components/BreakpointsContainer/index.d.ts +4 -1
- package/dist/components/Button/Button.stories.d.ts +2 -0
- package/dist/components/Button/index.d.ts +4 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +330 -0
- package/dist/components/ButtonGroup/index.d.ts +72 -0
- package/dist/components/Card/Card.d.ts +3 -0
- package/dist/components/Card/CardBody.d.ts +3 -0
- package/dist/components/Card/CardHeading.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts +8 -1
- package/dist/components/Combobox/index.d.ts +13 -4
- package/dist/components/Container/Container.d.ts +5 -0
- package/dist/components/Datagrid/Datagrid.d.ts +3 -1
- package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
- package/dist/components/DatePicker/CalendarContext.d.ts +1 -0
- package/dist/components/DatePicker/CalendarDay.d.ts +1 -0
- package/dist/components/DatePicker/CalendarHeader.d.ts +1 -0
- package/dist/components/DatePicker/CalendarMonth.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/HelperInformation.d.ts +1 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/Drawer/Drawer.d.ts +5 -0
- package/dist/components/Dropdown/Dropdown.d.ts +7 -7
- package/dist/components/Dropdown/Dropdown.stories.d.ts +2 -0
- package/dist/components/Dropdown/DropdownButton.d.ts +1 -1
- package/dist/components/Dropdown/DropdownContent.d.ts +4 -0
- package/dist/components/Dropdown/DropdownDivider.d.ts +4 -0
- package/dist/components/Dropdown/DropdownHeader.d.ts +3 -0
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +5 -1
- package/dist/components/Flex/Flex.d.ts +4 -0
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/components/FormFieldContainer/FormFieldContainer.d.ts +4 -0
- package/dist/components/FormGroup/index.d.ts +3 -0
- package/dist/components/Heading/Heading.stories.d.ts +1 -0
- package/dist/components/Heading/index.d.ts +4 -1
- package/dist/components/HideAtBreakpoint/index.d.ts +6 -0
- package/dist/components/Hyperlink/index.d.ts +4 -0
- package/dist/components/IndeterminateCheckbox/index.d.ts +3 -0
- package/dist/components/Input/InputMessage.d.ts +3 -0
- package/dist/components/InputBase/InputBase.stories.d.ts +1 -0
- package/dist/components/InputBase/index.d.ts +3 -0
- package/dist/components/Label/index.d.ts +9 -0
- package/dist/components/List/List.d.ts +5 -2
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +28 -1
- package/dist/components/LoadingIndicator/index.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +3 -0
- package/dist/components/Modal/Modal.stories.d.ts +0 -1
- package/dist/components/NativeSelect/NativeSelect.d.ts +3 -0
- package/dist/components/NavTabs/NavTab.d.ts +3 -0
- package/dist/components/Pagination/Pagination.d.ts +4 -0
- package/dist/components/Pagination/usePagination.d.ts +1 -0
- package/dist/components/Paragraph/index.d.ts +3 -0
- package/dist/components/PasswordInput/index.d.ts +3 -0
- package/dist/components/ProgressBar/index.d.ts +3 -0
- package/dist/components/ProgressRing/index.d.ts +3 -0
- package/dist/components/Radio/index.d.ts +4 -1
- package/dist/components/RadioGroup/index.d.ts +3 -0
- package/dist/components/Search/index.d.ts +3 -0
- package/dist/components/Select/ItemsList.d.ts +1 -0
- package/dist/components/Select/components.d.ts +2 -1
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/shared.d.ts +5 -1
- package/dist/components/SelectionControls/StyledContainer.d.ts +2 -2
- package/dist/components/SkipLink/index.d.ts +3 -0
- package/dist/components/SkipLinkContent/index.d.ts +3 -0
- package/dist/components/Spacer/Spacer.d.ts +4 -0
- package/dist/components/Spinner/index.d.ts +5 -1
- package/dist/components/StyledButton/styles.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +18 -0
- package/dist/components/Table/Table.stories.d.ts +836 -6
- package/dist/components/Table/TableBody.d.ts +3 -0
- package/dist/components/Table/TableCell.d.ts +3 -0
- package/dist/components/Table/TableHead.d.ts +3 -0
- package/dist/components/Table/TableHeaderCell.d.ts +3 -0
- package/dist/components/Table/TablePagination.d.ts +4 -1
- package/dist/components/Table/TableRow.d.ts +3 -0
- package/dist/components/Tabs/Tab.d.ts +3 -0
- package/dist/components/Tabs/TabPanel.d.ts +3 -0
- package/dist/components/Tabs/TabPanelsContainer.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts +7 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +1 -0
- package/dist/components/Tabs/TabsContainer.d.ts +3 -0
- package/dist/components/Tag/Tag.d.ts +2 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +1 -0
- package/dist/components/Textarea/index.d.ts +3 -0
- package/dist/components/TimePicker/useTimePicker.d.ts +2 -2
- package/dist/components/Toast/Toast.stories.d.ts +51 -1
- package/dist/components/Toast/ToastsContainer.d.ts +3 -0
- package/dist/components/Toast/index.d.ts +6 -1
- package/dist/components/Toggle/index.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts +4 -0
- package/dist/components/Transition/Transition.d.ts +3 -0
- package/dist/components/Typography/index.d.ts +5 -0
- package/dist/components/VisuallyHidden/index.d.ts +3 -0
- package/dist/esm/index.js +2561 -2438
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/properties.json +589 -994
- package/dist/react-magma-dom.cjs.development.js +1435 -921
- 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/dist/theme/ThemeContext.d.ts +28 -32
- package/dist/theme/magma.d.ts +46 -66
- package/dist/utils/index.d.ts +10 -0
- package/package.json +1 -1
- package/dist/components/FormFieldContainer/FormFieldContainer.stories.d.ts +0 -34
|
@@ -4,14 +4,18 @@ export declare const StyledButton: import("@emotion/styled-base").StyledComponen
|
|
|
4
4
|
export declare const SelectText: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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">, import("../..").ThemeInterface>;
|
|
5
5
|
export declare const StyledCard: import("@emotion/styled-base").StyledComponent<import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>, {
|
|
6
6
|
isOpen?: boolean;
|
|
7
|
+
isInverse?: boolean;
|
|
7
8
|
}, import("../..").ThemeInterface>;
|
|
8
9
|
export declare const StyledList: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
|
|
9
10
|
isOpen?: boolean;
|
|
10
11
|
maxHeight: string;
|
|
11
12
|
}, import("../..").ThemeInterface>;
|
|
12
13
|
export declare const StyledItem: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {
|
|
14
|
+
isInverse?: boolean;
|
|
13
15
|
isFocused?: boolean;
|
|
14
16
|
}, import("../..").ThemeInterface>;
|
|
15
17
|
export declare const SelectedItemsWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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">, import("../..").ThemeInterface>;
|
|
16
|
-
export declare const SelectedItemButton: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>,
|
|
18
|
+
export declare const SelectedItemButton: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
19
|
+
isInverse?: boolean;
|
|
20
|
+
}, import("../..").ThemeInterface>;
|
|
17
21
|
export declare const IconWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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">, import("../..").ThemeInterface>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface StyledContainerProps {
|
|
3
3
|
children?: any;
|
|
4
4
|
style?: React.CSSProperties;
|
|
5
5
|
}
|
|
6
|
-
export declare const StyledContainer: React.FunctionComponent<
|
|
6
|
+
export declare const StyledContainer: React.FunctionComponent<StyledContainerProps>;
|
|
@@ -3,6 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
* @children required
|
|
4
4
|
*/
|
|
5
5
|
export interface SkipLinkContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
6
9
|
testId?: string;
|
|
7
10
|
}
|
|
8
11
|
export declare const SkipLinkContent: React.FunctionComponent<SkipLinkContentProps>;
|
|
@@ -2,12 +2,16 @@ import * as React from 'react';
|
|
|
2
2
|
export interface SpacerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Determines whether the spacer takes up space horizontally, vertically or both.
|
|
5
|
+
* @default SpacerAxis.both
|
|
5
6
|
*/
|
|
6
7
|
axis?: SpacerAxis;
|
|
7
8
|
/**
|
|
8
9
|
* Height and/or width of the component. If a number is provided, will be set in pixels.
|
|
9
10
|
*/
|
|
10
11
|
size: number | string;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
11
15
|
testId?: string;
|
|
12
16
|
}
|
|
13
17
|
export declare enum SpacerAxis {
|
|
@@ -3,9 +3,10 @@ import { ThemeInterface } from '../../theme/magma';
|
|
|
3
3
|
export interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
4
|
/**
|
|
5
5
|
* The color of the spinner border
|
|
6
|
-
* @default
|
|
6
|
+
* @default theme.colors.primary (#3942B0)
|
|
7
7
|
*/
|
|
8
8
|
color?: string;
|
|
9
|
+
isInverse?: boolean;
|
|
9
10
|
/**
|
|
10
11
|
* The height and width of the spinner. Can be a string or number; if number is provided, the size is in px.
|
|
11
12
|
* @default 16
|
|
@@ -15,6 +16,9 @@ export interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
15
16
|
* @internal
|
|
16
17
|
*/
|
|
17
18
|
theme?: ThemeInterface;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
18
22
|
testId?: string;
|
|
19
23
|
}
|
|
20
24
|
export declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -7,8 +7,8 @@ export declare function buildButtonPadding(props: any): string;
|
|
|
7
7
|
export declare function buildButtonBackground(props: any): any;
|
|
8
8
|
export declare function buildBorderColor(props: any): any;
|
|
9
9
|
export declare function buildColor(props: any): any;
|
|
10
|
-
export declare function buildFocusBackground(props: any):
|
|
10
|
+
export declare function buildFocusBackground(props: any): any;
|
|
11
11
|
export declare function buildFocusColor(props: any): any;
|
|
12
12
|
export declare function buildAfterBackground(props: any): any;
|
|
13
|
-
export declare function buildActiveBackground(props: any):
|
|
13
|
+
export declare function buildActiveBackground(props: any): any;
|
|
14
14
|
export declare function buildActiveColor(props: any): any;
|
|
@@ -10,8 +10,14 @@ export interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
|
10
10
|
density?: TableDensity;
|
|
11
11
|
/**
|
|
12
12
|
* If true, row will be visually highlighted on hover
|
|
13
|
+
* @default false
|
|
13
14
|
*/
|
|
14
15
|
hasHoverStyles?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If true, the table will have square edges
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
hasSquareCorners?: boolean;
|
|
15
21
|
/**
|
|
16
22
|
* If true, columns will have vertical borders
|
|
17
23
|
*/
|
|
@@ -32,6 +38,9 @@ export interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
|
32
38
|
minWidth?: number;
|
|
33
39
|
rowCount?: number;
|
|
34
40
|
selectedItems?: Array<number>;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
35
44
|
testId?: string;
|
|
36
45
|
}
|
|
37
46
|
export declare enum TableDensity {
|
|
@@ -68,5 +77,14 @@ interface TableContextInterface {
|
|
|
68
77
|
selectedItems?: Array<number>;
|
|
69
78
|
}
|
|
70
79
|
export declare const TableContext: React.Context<TableContextInterface>;
|
|
80
|
+
export declare const TableContainer: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
81
|
+
minWidth: number;
|
|
82
|
+
hasSquareCorners?: boolean;
|
|
83
|
+
isInverse?: boolean;
|
|
84
|
+
}, import("../..").ThemeInterface>;
|
|
85
|
+
export declare const StyledTable: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
|
|
86
|
+
isInverse?: boolean;
|
|
87
|
+
minWidth: number;
|
|
88
|
+
}, import("../..").ThemeInterface>;
|
|
71
89
|
export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
72
90
|
export {};
|