@digital-ai/dot-components 1.21.2 → 2.0.0-rc.2
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/CHANGE_LOG.md +1 -34
- package/README.md +1 -1
- package/fonts/fonts.ts +6 -0
- package/index.d.ts +1 -0
- package/index.esm.js +489 -806
- package/index.umd.js +702 -1027
- package/lib/components/BaseButtonProps.d.ts +0 -2
- package/lib/components/accordion/Accordion.d.ts +1 -3
- package/lib/components/accordion/Accordion.styles.d.ts +1 -1
- package/lib/components/action-toolbar/ActionToolbar.styles.d.ts +1 -1
- package/lib/components/alert-banner/AlertBanner.styles.d.ts +1 -1
- package/lib/components/app-toolbar/AppToolbar.d.ts +1 -3
- package/lib/components/app-toolbar/AppToolbar.stories.data.d.ts +0 -1
- package/lib/components/app-toolbar/AppToolbar.styles.d.ts +0 -1
- package/lib/components/auto-complete/AutoComplete.d.ts +2 -2
- package/lib/components/auto-complete/AutoComplete.stories.styles.d.ts +2 -0
- package/lib/components/auto-complete/AutoComplete.styles.d.ts +1 -1
- package/lib/components/auto-complete/Autocomplete.stories.data.d.ts +1 -0
- package/lib/components/auto-complete/index.d.ts +1 -1
- package/lib/components/auto-complete/utils/helpers.d.ts +1 -2
- package/lib/components/avatar/Avatar.styles.d.ts +1 -1
- package/lib/components/avatar-group/AvatarGroup.d.ts +0 -1
- package/lib/components/avatar-group/AvatarGroup.styles.d.ts +3 -0
- package/lib/components/badge/Badge.styles.d.ts +1 -1
- package/lib/components/breadcrumbs/Breadcrumbs.d.ts +2 -4
- package/lib/components/breadcrumbs/Breadcrumbs.styles.d.ts +1 -1
- package/lib/components/breadcrumbs/utils/helpers.d.ts +2 -2
- package/lib/components/button/Button.d.ts +2 -2
- package/lib/components/button/Button.styles.d.ts +1 -1
- package/lib/components/button/IconButton.d.ts +1 -3
- package/lib/components/button/IconButton.styles.d.ts +1 -1
- package/lib/components/button-toggle/ButtonToggle.stories.data.d.ts +0 -1
- package/lib/components/button-toggle/ButtonToggle.styles.d.ts +1 -1
- package/lib/components/checkbox/Checkbox.d.ts +1 -2
- package/lib/components/checkbox/Checkbox.styles.d.ts +1 -1
- package/lib/components/chip/Chip.styles.d.ts +1 -1
- package/lib/components/css-grid/CssCell.d.ts +1 -1
- package/lib/components/css-grid/CssGrid.d.ts +14 -8
- package/lib/components/css-grid/CssGridDebug.d.ts +0 -1
- package/lib/components/dialog/Dialog.styles.d.ts +1 -1
- package/lib/components/divider/Divider.d.ts +0 -1
- package/lib/components/divider/Divider.styles.d.ts +1 -1
- package/lib/components/draggable-list/DraggableList.d.ts +0 -1
- package/lib/components/draggable-list/DraggableList.stories.data.d.ts +0 -1
- package/lib/components/draggable-list/utils/models.d.ts +1 -1
- package/lib/components/drawer/Drawer.styles.d.ts +1 -1
- package/lib/components/dynamic-form/DynamicForm.d.ts +0 -1
- package/lib/components/dynamic-form/DynamicForm.styles.d.ts +0 -1
- package/lib/components/dynamic-form/models.d.ts +1 -1
- package/lib/components/empty-state/EmptyState.d.ts +0 -1
- package/lib/components/file-upload/FileListItem.styles.d.ts +21 -25
- package/lib/components/file-upload/FileUpload.d.ts +1 -1
- package/lib/components/file-upload/FileUpload.stories.data.d.ts +0 -1
- package/lib/components/file-upload/uploadHelpers.d.ts +12 -0
- package/lib/components/form-controls/FormControl.styles.d.ts +1 -1
- package/lib/components/form-controls/FormControlLabel.styles.d.ts +1 -1
- package/lib/components/form-group/FormGroup.styles.d.ts +1 -1
- package/lib/components/icon/Icon.d.ts +2 -5
- package/lib/components/icon/Icon.styles.d.ts +3 -1
- package/lib/components/inline-edit/InlineEdit.d.ts +0 -1
- package/lib/components/input-form-fields/Input.stories.data.d.ts +0 -1
- package/lib/components/input-form-fields/InputFormFields.styles.d.ts +3 -2
- package/lib/components/input-form-fields/InputLabel.d.ts +0 -1
- package/lib/components/input-form-fields/InputSelect.d.ts +0 -1
- package/lib/components/input-form-fields/InputText.d.ts +7 -5
- package/lib/components/link/Link.d.ts +1 -3
- package/lib/components/link/Link.styles.d.ts +1 -1
- package/lib/components/list/List.d.ts +1 -2
- package/lib/components/list/List.styles.d.ts +1 -1
- package/lib/components/list/ListItem.styles.d.ts +21 -25
- package/lib/components/list/NestedList.styles.d.ts +0 -1
- package/lib/components/list/utils/models.d.ts +1 -9
- package/lib/components/menu/Menu.stories.data.d.ts +0 -1
- package/lib/components/menu/Menu.styles.d.ts +2 -3
- package/lib/components/menu/MenuList.d.ts +2 -2
- package/lib/components/menu/MenuList.styles.d.ts +1 -2
- package/lib/components/navigation-rail/NavigationRail.d.ts +0 -1
- package/lib/components/pill/Pill.d.ts +2 -2
- package/lib/components/pill/Pill.styles.d.ts +1 -1
- package/lib/components/popper/Popper.d.ts +1 -1
- package/lib/components/popper/Popper.stories.data.d.ts +0 -1
- package/lib/components/popper/Popper.styles.d.ts +2 -2
- package/lib/components/popper/index.d.ts +1 -1
- package/lib/components/progress/Progress.d.ts +2 -5
- package/lib/components/progress/Progress.styles.d.ts +1 -1
- package/lib/components/progress-button/ProgressButton.d.ts +0 -1
- package/lib/components/radio/RadioButton.styles.d.ts +1 -1
- package/lib/components/radio/RadioGroup.styles.d.ts +1 -1
- package/lib/components/sidebar/Sidebar.stories.data.d.ts +11 -5
- package/lib/components/skeleton/Skeleton.styles.d.ts +1 -1
- package/lib/components/snackbar/Snackbar.styles.d.ts +1 -1
- package/lib/components/snackbar/index.d.ts +1 -1
- package/lib/components/split-button/SplitButton.d.ts +1 -2
- package/lib/components/split-button/SplitButton.styles.d.ts +1 -2
- package/lib/components/switch/Switch.styles.d.ts +1 -1
- package/lib/components/table/Table.data.d.ts +0 -1
- package/lib/components/table/Table.stories.data.d.ts +1 -2
- package/lib/components/table/Table.styles.d.ts +2 -4
- package/lib/components/table/TableActions.d.ts +0 -1
- package/lib/components/table/TableActions.styles.d.ts +0 -1
- package/lib/components/table/TableBody.styles.d.ts +1 -1
- package/lib/components/table/TableBodyCheckboxCell.styles.d.ts +1 -1
- package/lib/components/table/TableCell.styles.d.ts +1 -1
- package/lib/components/table/TableHeader.d.ts +1 -4
- package/lib/components/table/TableHeaderCell.d.ts +1 -3
- package/lib/components/table/TableHeaderCell.styles.d.ts +1 -1
- package/lib/components/table/TableHeaderCheckboxCell.styles.d.ts +1 -1
- package/lib/components/table/TablePagination.d.ts +3 -3
- package/lib/components/table/TableRow.styles.d.ts +1 -1
- package/lib/components/table/TableSelectionToolbar.styles.d.ts +0 -1
- package/lib/components/table/utils/helpers.d.ts +1 -3
- package/lib/components/table/utils/models.d.ts +1 -1
- package/lib/components/tabs/Tabs.d.ts +1 -2
- package/lib/components/tabs/Tabs.styles.d.ts +1 -1
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.d.ts +0 -1
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.styles.d.ts +1 -1
- package/lib/components/typography/Typography.d.ts +1 -1
- package/lib/testing-utils/index.d.ts +2 -2
- package/lib/theme-provider/ThemeProvider.d.ts +4 -7
- package/lib/theme-provider/colors/light-theme-colors.d.ts +1 -2
- package/package.json +4 -5
|
@@ -11,14 +11,16 @@ export interface InputTextProps extends InputProps {
|
|
|
11
11
|
endAdornmentTooltip?: string;
|
|
12
12
|
/** If true, the input will use debounce functionality. **/
|
|
13
13
|
hasDebounce?: boolean;
|
|
14
|
+
/** max of rows for multiline line */
|
|
15
|
+
maxRows?: number;
|
|
16
|
+
/** number of rows for multiline line */
|
|
17
|
+
minRows?: number;
|
|
14
18
|
/** if multiline it wil render multiple lines */
|
|
15
19
|
multiline?: boolean;
|
|
16
20
|
/** Placeholder text always displayed inside the input field */
|
|
17
21
|
placeholder?: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
/** max of rows for multiline line */
|
|
21
|
-
rowsMax?: number;
|
|
22
|
+
/** value of the InputText */
|
|
23
|
+
value?: string;
|
|
22
24
|
}
|
|
23
25
|
export interface EndIconProps {
|
|
24
26
|
dataTestId?: string;
|
|
@@ -28,4 +30,4 @@ export interface EndIconProps {
|
|
|
28
30
|
success?: boolean;
|
|
29
31
|
warning?: boolean;
|
|
30
32
|
}
|
|
31
|
-
export declare const DotInputText: ({ autoComplete, autoFocus, className, defaultValue, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, helperText, endIcon, id, inputRef, label, multiline, name, onBlur, onChange, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required,
|
|
33
|
+
export declare const DotInputText: ({ autoComplete, autoFocus, className, defaultValue, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, helperText, endIcon, id, inputRef, label, maxRows, minRows, multiline, name, onBlur, onChange, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => JSX.Element;
|
|
@@ -20,11 +20,9 @@ export interface LinkProps extends CommonProps {
|
|
|
20
20
|
tabIndex?: number;
|
|
21
21
|
/** where to open the link */
|
|
22
22
|
target?: LinkTarget;
|
|
23
|
-
/** DEPRECATED, DO NOT USE */
|
|
24
|
-
title?: string;
|
|
25
23
|
/** Tooltip text displayed on hover */
|
|
26
24
|
tooltip?: string;
|
|
27
25
|
/** underline the link */
|
|
28
26
|
underline?: LinkUnderline;
|
|
29
27
|
}
|
|
30
|
-
export declare const DotLink: ({ ariaLabel, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, rel, tabIndex, target,
|
|
28
|
+
export declare const DotLink: ({ ariaLabel, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, rel, tabIndex, target, tooltip, underline, }: LinkProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const rootClassName = "dot-link";
|
|
2
|
-
export declare const StyledLink: import("styled-components").StyledComponent<import("@material
|
|
2
|
+
export declare const StyledLink: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").LinkTypeMap<{}, "a">>, any, {}, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ListItemProps, ListProps, NestedListProps } from './utils/models';
|
|
3
2
|
export declare const DotList: ({ ariaLabel, children, className, component, "data-testid": dataTestId, dense, disablePadding, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, width, }: ListProps) => JSX.Element;
|
|
4
|
-
export declare const DotListItem: ({ ariaLabel, className, component, "data-testid": dataTestId, divider, endIcon,
|
|
3
|
+
export declare const DotListItem: ({ ariaLabel, className, component, "data-testid": dataTestId, divider, endIcon, href, isOpened, onClick, onMenuLeave, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, primaryText, secondaryText, selected, startIcon, target, text, tooltip, tooltipPlacement, }: ListItemProps) => JSX.Element;
|
|
5
4
|
export declare const NestedList: ({ ariaLabel, anchorEl, "data-testid": dataTestId, items, menuPlacement, nestedDrawerLeftSpacing, onMenuLeave, open, parentItemIndex, type, }: NestedListProps) => JSX.Element;
|
|
@@ -2,4 +2,4 @@ export declare const rootClassName = "dot-list";
|
|
|
2
2
|
export declare const listItemRootClass = "dot-list-item";
|
|
3
3
|
export declare const nestedListClassName = "dot-nested-list";
|
|
4
4
|
export declare const nestedDrawerClassName = "dot-nested-drawer";
|
|
5
|
-
export declare const StyledList: import("@material
|
|
5
|
+
export declare const StyledList: import("@mui/material").ExtendList<import("@mui/material").ListTypeMap<{}, "ul">>;
|
|
@@ -2,41 +2,37 @@
|
|
|
2
2
|
export declare const flyoutListItemClassName = "dot-flyout-list-item";
|
|
3
3
|
export declare const flyoutItemLinkClassName = "dot-flyout-item-link";
|
|
4
4
|
export declare const listItemLinkClassName = "dot-list-item-link";
|
|
5
|
-
export declare const StyledListItem:
|
|
6
|
-
button?: false;
|
|
7
|
-
}, "li">> & ((props: {
|
|
5
|
+
export declare const StyledListItem: ((props: {
|
|
8
6
|
href: string;
|
|
9
7
|
} & {
|
|
10
8
|
button: true;
|
|
11
|
-
} & {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
divider?: boolean;
|
|
21
|
-
focusVisibleClassName?: string;
|
|
22
|
-
selected?: boolean;
|
|
23
|
-
} & {
|
|
24
|
-
action?: import("react").Ref<import("@material-ui/core").ButtonBaseActions>;
|
|
25
|
-
buttonRef?: import("react").Ref<unknown>;
|
|
9
|
+
} & import("@mui/material").ListItemBaseProps & {
|
|
10
|
+
components?: {
|
|
11
|
+
Root?: import("react").ElementType<any>;
|
|
12
|
+
};
|
|
13
|
+
componentsProps?: {
|
|
14
|
+
root?: import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides;
|
|
15
|
+
};
|
|
16
|
+
} & Omit<{
|
|
17
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions>;
|
|
26
18
|
centerRipple?: boolean;
|
|
27
19
|
children?: import("react").ReactNode;
|
|
20
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses>;
|
|
28
21
|
disabled?: boolean;
|
|
29
22
|
disableRipple?: boolean;
|
|
30
23
|
disableTouchRipple?: boolean;
|
|
31
24
|
focusRipple?: boolean;
|
|
32
25
|
focusVisibleClassName?: string;
|
|
26
|
+
LinkComponent?: import("react").ElementType<any>;
|
|
33
27
|
onFocusVisible?: import("react").FocusEventHandler<any>;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}, "
|
|
28
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
29
|
+
tabIndex?: number;
|
|
30
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
|
31
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
32
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>> & {
|
|
39
33
|
ref?: import("react").Ref<HTMLAnchorElement>;
|
|
40
|
-
}, "
|
|
34
|
+
}, "button" | "style" | "className" | "classes" | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "alignItems" | "autoFocus" | "ContainerComponent" | "ContainerProps" | "dense" | "disableGutters" | "disablePadding" | "divider" | "secondaryAction" | "selected" | "components" | "componentsProps">) => JSX.Element) & import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ExtendButtonBaseTypeMap<import("@mui/material").ListItemTypeMap<{
|
|
41
35
|
button: true;
|
|
42
|
-
}, "div"
|
|
36
|
+
}, "div">>> & import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ListItemTypeMap<{
|
|
37
|
+
button?: false;
|
|
38
|
+
}, "li">>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledDotDrawer: import("styled-components").StyledComponent<({ anchor, ariaLabel, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => JSX.Element, any, {}, never>;
|
|
@@ -33,12 +33,8 @@ export interface ListItemProps extends CommonProps {
|
|
|
33
33
|
divider?: boolean;
|
|
34
34
|
/** If provided, the icon ID which is displayed at the end of the list item */
|
|
35
35
|
endIcon?: ReactNode;
|
|
36
|
-
/** DEPRECATED, DO NOT USE */
|
|
37
|
-
endIconId?: string;
|
|
38
36
|
/** If provided, the list item will be rendered as a link */
|
|
39
37
|
href?: string;
|
|
40
|
-
/** DEPRECATED, DO NOT USE */
|
|
41
|
-
index?: number;
|
|
42
38
|
isOpened?: boolean;
|
|
43
39
|
/** If provided, the menu item will display a nested list */
|
|
44
40
|
items?: Array<ListItemProps>;
|
|
@@ -58,16 +54,12 @@ export interface ListItemProps extends CommonProps {
|
|
|
58
54
|
secondaryText?: string;
|
|
59
55
|
/** Selected list item */
|
|
60
56
|
selected?: boolean;
|
|
61
|
-
/** If provided, the icon
|
|
57
|
+
/** If provided, the icon which is displayed on the front of the list item */
|
|
62
58
|
startIcon?: ReactNode;
|
|
63
|
-
/** DEPRECATED, DO NOT USE */
|
|
64
|
-
startIconId?: string;
|
|
65
59
|
/** where to open the link */
|
|
66
60
|
target?: LinkTarget;
|
|
67
61
|
/** Text which is displayed in the list item */
|
|
68
62
|
text?: string;
|
|
69
|
-
/** DEPRECATED, DO NOT USE */
|
|
70
|
-
title?: string;
|
|
71
63
|
/** Tooltip text displayed on hover */
|
|
72
64
|
tooltip?: string;
|
|
73
65
|
/** Tooltip placement displayed on hover */
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const flyoutMenuClassName = "dot-flyout-menu";
|
|
3
3
|
export declare const rootClassName = "dot-menu";
|
|
4
|
-
export declare const popperClassName = "dot-popper";
|
|
5
4
|
interface StyledPopperArgs {
|
|
6
5
|
$maxHeight?: number | string;
|
|
7
6
|
}
|
|
8
7
|
export declare const getListMaxHeight: (maxHeight: string | number) => string;
|
|
9
|
-
export declare const StyledPopper: import("styled-components").StyledComponent<typeof
|
|
8
|
+
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/material").PopperProps, "slot" | "style" | "title" | "anchorEl" | "children" | "container" | "components" | "componentsProps" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "component" | "sx"> & import("react").RefAttributes<HTMLDivElement>>, any, StyledPopperArgs, never>;
|
|
10
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { KeyboardEvent, KeyboardEventHandler, MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { CommonProps } from '../CommonProps';
|
|
3
3
|
import { MenuItemProps } from './Menu';
|
|
4
4
|
export interface SubMenuCreateArgs {
|
|
@@ -23,4 +23,4 @@ export interface MenuListProps extends CommonProps {
|
|
|
23
23
|
* Since this component is used inside 'ClickAwayListener',
|
|
24
24
|
* it needs to be contained within 'forwardRef' function
|
|
25
25
|
*/
|
|
26
|
-
export declare const DotMenuList:
|
|
26
|
+
export declare const DotMenuList: import("react").ForwardRefExoticComponent<MenuListProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { MenuList } from '@material-ui/core';
|
|
2
1
|
export declare const rootClassName = "dot-ul";
|
|
3
2
|
export declare const listItemClassName = "dot-li";
|
|
4
3
|
export declare const listItemWithSubmenuClassName = "dot-li-with-submenu";
|
|
5
|
-
export declare const StyledMenuList: import("styled-components").StyledComponent<
|
|
4
|
+
export declare const StyledMenuList: import("styled-components").StyledComponent<import("@mui/material").ExtendList<import("@mui/material").MenuListTypeMap<{}, "ul">>, any, {}, never>;
|
|
@@ -2,7 +2,7 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { CommonProps } from '../CommonProps';
|
|
3
3
|
export declare type PillSize = 'small' | 'medium';
|
|
4
4
|
export declare type PillStatus = 'success' | 'error' | 'warning' | 'in-progress' | 'default';
|
|
5
|
-
export declare type PillVariant = '
|
|
5
|
+
export declare type PillVariant = 'filled' | 'outlined';
|
|
6
6
|
export interface PillProps extends CommonProps {
|
|
7
7
|
/** Background color for the pill, ignored if 'status' is not 'default' */
|
|
8
8
|
backgroundcolor?: string;
|
|
@@ -18,7 +18,7 @@ export interface PillProps extends CommonProps {
|
|
|
18
18
|
size?: PillSize;
|
|
19
19
|
/** Determines the status of the pill component */
|
|
20
20
|
status?: PillStatus;
|
|
21
|
-
/** Determines the variant of the pill '
|
|
21
|
+
/** Determines the variant of the pill 'filled' or 'outlined' */
|
|
22
22
|
variant?: PillVariant;
|
|
23
23
|
}
|
|
24
24
|
export declare const DotPill: ({ ariaLabel, backgroundcolor, bordercolor, className, "data-testid": dataTestId, icon, label, labelcolor, size, status, variant, }: PillProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PillProps } from './Pill';
|
|
2
2
|
export declare const rootClassName = "dot-pill";
|
|
3
|
-
export declare const StyledPill: import("styled-components").StyledComponent<import("@material
|
|
3
|
+
export declare const StyledPill: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ChipTypeMap<{}, "div">>, any, PillProps, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { PopperPlacementType } from '@material
|
|
2
|
+
import { PopperPlacementType } from '@mui/material';
|
|
3
3
|
import { CommonProps } from '../CommonProps';
|
|
4
4
|
export interface PopperProps extends CommonProps {
|
|
5
5
|
/** Element that popper is attached to */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const rootClassName = "dot-popper";
|
|
3
|
-
export declare const StyledPopper: import("styled-components").StyledComponent<typeof
|
|
3
|
+
export declare const StyledPopper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@mui/material").PopperProps, "slot" | "style" | "title" | "anchorEl" | "children" | "container" | "components" | "componentsProps" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "component" | "sx"> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { PopperPlacementType } from '@material
|
|
1
|
+
export type { PopperPlacementType } from '@mui/material';
|
|
2
2
|
export * from './Popper';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CommonProps } from '../CommonProps';
|
|
3
2
|
export declare type progressColorOptions = 'inherit' | 'primary' | 'secondary';
|
|
4
|
-
export declare type progressVariantOptions = 'determinate' | 'indeterminate'
|
|
3
|
+
export declare type progressVariantOptions = 'determinate' | 'indeterminate';
|
|
5
4
|
export interface ProgressProps extends CommonProps {
|
|
6
5
|
/** color of the loading spinner border */
|
|
7
6
|
color?: progressColorOptions;
|
|
@@ -9,8 +8,6 @@ export interface ProgressProps extends CommonProps {
|
|
|
9
8
|
size?: number | string;
|
|
10
9
|
/** controls thickness of the loading spinner border */
|
|
11
10
|
thickness?: number;
|
|
12
|
-
/** DEPRECATED, DO NOT USE */
|
|
13
|
-
title?: string;
|
|
14
11
|
/** Tooltip text displayed on hover */
|
|
15
12
|
tooltip?: string;
|
|
16
13
|
/** If using static variant, this is the percent of loading complete */
|
|
@@ -18,4 +15,4 @@ export interface ProgressProps extends CommonProps {
|
|
|
18
15
|
/** type of progress spinner displayed */
|
|
19
16
|
variant?: progressVariantOptions;
|
|
20
17
|
}
|
|
21
|
-
export declare const DotProgress: ({ ariaLabel, color, className, "data-testid": dataTestId, size, thickness,
|
|
18
|
+
export declare const DotProgress: ({ ariaLabel, color, className, "data-testid": dataTestId, size, thickness, tooltip, value, variant, }: ProgressProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CircularProgress } from '@material
|
|
1
|
+
import { CircularProgress } from '@mui/material';
|
|
2
2
|
export declare const rootClassName = "dot-progress";
|
|
3
3
|
export declare const StyledCircularProgress: import("styled-components").StyledComponent<typeof CircularProgress, any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioGroup } from '@material
|
|
1
|
+
import { RadioGroup } from '@mui/material';
|
|
2
2
|
export declare const wrapperClassName = "dot-radio-group-wrapper";
|
|
3
3
|
export declare const groupClassName = "dot-radio-group";
|
|
4
4
|
export declare const rootClassName = "dot-radio-control";
|
|
@@ -24,6 +24,7 @@ export declare const getNavigationItems: (isSelected: (key: number) => boolean,
|
|
|
24
24
|
selected?: undefined;
|
|
25
25
|
})[];
|
|
26
26
|
text: string;
|
|
27
|
+
startIcon?: undefined;
|
|
27
28
|
endIconId?: undefined;
|
|
28
29
|
selected?: undefined;
|
|
29
30
|
divider?: undefined;
|
|
@@ -31,28 +32,30 @@ export declare const getNavigationItems: (isSelected: (key: number) => boolean,
|
|
|
31
32
|
items: ({
|
|
32
33
|
text: string;
|
|
33
34
|
divider: boolean;
|
|
34
|
-
|
|
35
|
+
startIcon?: undefined;
|
|
35
36
|
onClick?: undefined;
|
|
36
37
|
selected?: undefined;
|
|
37
38
|
} | {
|
|
38
|
-
|
|
39
|
+
startIcon: JSX.Element;
|
|
39
40
|
onClick: (_event: MouseEvent) => void;
|
|
40
41
|
selected: boolean;
|
|
41
42
|
text: string;
|
|
42
43
|
divider?: undefined;
|
|
43
44
|
})[];
|
|
44
|
-
|
|
45
|
+
startIcon: JSX.Element;
|
|
45
46
|
text: string;
|
|
47
|
+
startIconId?: undefined;
|
|
46
48
|
onClick?: undefined;
|
|
47
49
|
endIconId?: undefined;
|
|
48
50
|
selected?: undefined;
|
|
49
51
|
divider?: undefined;
|
|
50
52
|
} | {
|
|
51
53
|
endIconId: string;
|
|
52
|
-
|
|
54
|
+
startIcon: JSX.Element;
|
|
53
55
|
onClick: (_event: MouseEvent) => void;
|
|
54
56
|
selected: boolean;
|
|
55
57
|
text: string;
|
|
58
|
+
startIconId?: undefined;
|
|
56
59
|
items?: undefined;
|
|
57
60
|
divider?: undefined;
|
|
58
61
|
} | {
|
|
@@ -61,13 +64,15 @@ export declare const getNavigationItems: (isSelected: (key: number) => boolean,
|
|
|
61
64
|
startIconId?: undefined;
|
|
62
65
|
onClick?: undefined;
|
|
63
66
|
items?: undefined;
|
|
67
|
+
startIcon?: undefined;
|
|
64
68
|
endIconId?: undefined;
|
|
65
69
|
selected?: undefined;
|
|
66
70
|
} | {
|
|
67
|
-
|
|
71
|
+
startIcon: JSX.Element;
|
|
68
72
|
onClick: (_event: MouseEvent) => void;
|
|
69
73
|
selected: boolean;
|
|
70
74
|
text: string;
|
|
75
|
+
startIconId?: undefined;
|
|
71
76
|
items?: undefined;
|
|
72
77
|
endIconId?: undefined;
|
|
73
78
|
divider?: undefined;
|
|
@@ -77,6 +82,7 @@ export declare const getNavigationItems: (isSelected: (key: number) => boolean,
|
|
|
77
82
|
onClick?: undefined;
|
|
78
83
|
items?: undefined;
|
|
79
84
|
text?: undefined;
|
|
85
|
+
startIcon?: undefined;
|
|
80
86
|
endIconId?: undefined;
|
|
81
87
|
selected?: undefined;
|
|
82
88
|
})[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const rootClassName = "dot-skeleton";
|
|
2
|
-
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("@material
|
|
2
|
+
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SkeletonTypeMap<{}, "span">>, any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { SnackbarOrigin } from '@material
|
|
1
|
+
export type { SnackbarOrigin } from '@mui/material';
|
|
2
2
|
export type { SnackbarProps, SnackbarSeverity } from './Snackbar';
|
|
3
3
|
export { DotSnackbar } from './Snackbar';
|
|
4
4
|
export { DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './SnackbarProvider';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { MenuItemProps } from '../menu/Menu';
|
|
3
2
|
import { BaseButtonProps } from '../BaseButtonProps';
|
|
4
3
|
export interface SplitButtonProps extends BaseButtonProps {
|
|
@@ -13,4 +12,4 @@ export interface SplitButtonProps extends BaseButtonProps {
|
|
|
13
12
|
/**The options within the button dropdown */
|
|
14
13
|
options: Array<MenuItemProps>;
|
|
15
14
|
}
|
|
16
|
-
export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size,
|
|
15
|
+
export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const rootClassName = "dot-split-button-group";
|
|
3
|
-
export declare const StyledSplitButtonGroup: import("styled-components").StyledComponent<import("@material
|
|
2
|
+
export declare const StyledSplitButtonGroup: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ButtonGroupTypeMap<{}, "div">>, any, {}, never>;
|
|
4
3
|
export declare const StyledMenu: import("styled-components").StyledComponent<({ anchorEl, ariaLabel, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: import("../menu/Menu").MenuProps) => JSX.Element, any, {}, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TextAlignment } from './TableCell';
|
|
3
2
|
import { TableProps } from './Table';
|
|
4
3
|
export declare const actionMenuColumns: ({
|
|
@@ -57,7 +56,7 @@ export declare const defaultColumns: ({
|
|
|
57
56
|
id: string;
|
|
58
57
|
label: string;
|
|
59
58
|
sortable: boolean;
|
|
60
|
-
align:
|
|
59
|
+
align: TextAlignment;
|
|
61
60
|
width: string;
|
|
62
61
|
truncate: boolean;
|
|
63
62
|
})[];
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Paper } from '@material-ui/core';
|
|
3
1
|
export declare const rootClassName = "dot-table";
|
|
4
|
-
export declare const StyledPaper: import("styled-components").StyledComponent<
|
|
5
|
-
export declare const StyledTableContainer: import("styled-components").StyledComponent<import("@material
|
|
2
|
+
export declare const StyledPaper: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").PaperTypeMap<{}, "div">>, any, {}, never>;
|
|
3
|
+
export declare const StyledTableContainer: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TableContainerTypeMap<{}, "div">>, any, {}, never>;
|
|
6
4
|
export declare const StyledMenu: import("styled-components").StyledComponent<({ anchorEl, ariaLabel, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: import("../menu/Menu").MenuProps) => JSX.Element, any, {}, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const rootClassName = "dot-table-actions";
|
|
3
2
|
export declare const TableActionsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
3
|
export declare const StyledMenu: import("styled-components").StyledComponent<({ anchorEl, ariaLabel, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: import("../menu/Menu").MenuProps) => JSX.Element, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const rootClassName = "dot-tbody";
|
|
2
|
-
export declare const StyledTableBody: import("styled-components").StyledComponent<import("@material
|
|
2
|
+
export declare const StyledTableBody: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TableBodyTypeMap<{}, "tbody">>, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TableCell } from '@material
|
|
1
|
+
import { TableCell } from '@mui/material';
|
|
2
2
|
export declare const rootClassName = "dot-td-checkbox";
|
|
3
3
|
export declare const StyledTableBodyCheckboxCell: import("styled-components").StyledComponent<typeof TableCell, any, {}, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TextAlignment } from './TableCell';
|
|
3
2
|
import { TypographyVariant } from '../typography/Typography';
|
|
4
3
|
import { MultiSelectHeader } from './utils/models';
|
|
@@ -13,8 +12,6 @@ export interface DotColumnHeader {
|
|
|
13
12
|
export declare type Order = 'asc' | 'desc';
|
|
14
13
|
export interface HeaderProps {
|
|
15
14
|
columns: Array<DotColumnHeader>;
|
|
16
|
-
/** DEPRECATED, DO NOT USE */
|
|
17
|
-
hasActionColumn: boolean;
|
|
18
15
|
multiSelectHeader?: MultiSelectHeader;
|
|
19
16
|
onRequestSort: (property: string) => void;
|
|
20
17
|
order?: Order;
|
|
@@ -27,4 +24,4 @@ export interface HeaderProps {
|
|
|
27
24
|
* A wrapper component around the TableHead component from @material-ui. This component can be used
|
|
28
25
|
* to determine the functionality of the table header.
|
|
29
26
|
*/
|
|
30
|
-
export declare const DotHeaderRow: ({ columns,
|
|
27
|
+
export declare const DotHeaderRow: ({ columns, multiSelectHeader, onRequestSort, order, orderBy, sortable, typography, }: HeaderProps) => JSX.Element;
|
|
@@ -10,8 +10,6 @@ export interface HeaderCellProps {
|
|
|
10
10
|
createSortHandler?: (property: string) => (event: MouseEvent<unknown>) => void;
|
|
11
11
|
/** The Id of table cell */
|
|
12
12
|
id?: string;
|
|
13
|
-
/** DEPRECATED, DO NOT USE */
|
|
14
|
-
isInActionColumn: boolean;
|
|
15
13
|
/** The order of data which is being sorted by */
|
|
16
14
|
order?: Order;
|
|
17
15
|
/** The ID of the column that you are sorting by */
|
|
@@ -35,4 +33,4 @@ export interface HeaderCellProps {
|
|
|
35
33
|
* A wrapper component around the TableCell component from @material-ui. This component should only
|
|
36
34
|
* be used inside DotHeaderRow.
|
|
37
35
|
*/
|
|
38
|
-
export declare const DotHeaderCell: ({ align, typography, createSortHandler, id,
|
|
36
|
+
export declare const DotHeaderCell: ({ align, typography, createSortHandler, id, order, orderBy, sortable, sortDirection, uid, value, width, }: HeaderCellProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TableCell } from '@material
|
|
1
|
+
import { TableCell } from '@mui/material';
|
|
2
2
|
export declare const rootClassName = "dot-th-checkbox";
|
|
3
3
|
export declare const StyledTableHeaderCheckboxCell: import("styled-components").StyledComponent<typeof TableCell, any, {}, never>;
|