@astral/ui 0.7.1 → 0.8.1
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/Autocomplete/Autocomplete.js +1 -1
- package/Badge/styled.d.ts +1 -1
- package/Collapse/Collapse.d.ts +3 -0
- package/Collapse/Collapse.js +5 -0
- package/Collapse/index.d.ts +1 -0
- package/Collapse/index.js +13 -0
- package/Divider/Divider.d.ts +3 -0
- package/Divider/Divider.js +5 -0
- package/Divider/index.d.ts +1 -0
- package/Divider/index.js +13 -0
- package/FormHelperText/styled.d.ts +6 -6
- package/Grid/styled.d.ts +1 -1
- package/List/List.d.ts +3 -0
- package/List/List.js +5 -0
- package/List/index.d.ts +1 -0
- package/List/index.js +13 -0
- package/List/styled.d.ts +13 -0
- package/List/styled.js +11 -0
- package/ListItem/ListItem.d.ts +3 -0
- package/ListItem/ListItem.js +32 -0
- package/ListItem/constants.d.ts +5 -0
- package/ListItem/constants.js +9 -0
- package/ListItem/index.d.ts +1 -0
- package/ListItem/index.js +13 -0
- package/ListItem/styled.d.ts +39 -0
- package/ListItem/styled.js +50 -0
- package/ListItem/types.d.ts +2 -0
- package/ListItem/types.js +2 -0
- package/ListItemAvatar/ListItemAvatar.d.ts +3 -0
- package/ListItemAvatar/ListItemAvatar.js +5 -0
- package/ListItemAvatar/index.d.ts +1 -0
- package/ListItemAvatar/index.js +13 -0
- package/ListItemButton/ListItemButton.d.ts +3 -0
- package/ListItemButton/ListItemButton.js +32 -0
- package/ListItemButton/constants.d.ts +5 -0
- package/ListItemButton/constants.js +9 -0
- package/ListItemButton/index.d.ts +1 -0
- package/ListItemButton/index.js +13 -0
- package/ListItemButton/styled.d.ts +35 -0
- package/ListItemButton/styled.js +46 -0
- package/ListItemButton/types.d.ts +2 -0
- package/ListItemButton/types.js +2 -0
- package/ListItemIcon/ListItemIcon.d.ts +3 -0
- package/ListItemIcon/ListItemIcon.js +32 -0
- package/ListItemIcon/index.d.ts +1 -0
- package/ListItemIcon/index.js +13 -0
- package/ListItemIcon/styled.d.ts +4 -0
- package/ListItemIcon/styled.js +14 -0
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -0
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -0
- package/ListItemSecondaryAction/index.d.ts +1 -0
- package/ListItemSecondaryAction/index.js +13 -0
- package/ListItemText/ListItemText.d.ts +3 -0
- package/ListItemText/ListItemText.js +32 -0
- package/ListItemText/index.d.ts +1 -0
- package/ListItemText/index.js +13 -0
- package/ListSubheader/ListSubheader.d.ts +3 -0
- package/ListSubheader/ListSubheader.js +5 -0
- package/ListSubheader/index.d.ts +1 -0
- package/ListSubheader/index.js +13 -0
- package/MenuList/styled.d.ts +1 -1
- package/Radio/Radio.d.ts +1 -1
- package/Select/styled.d.ts +1 -1
- package/Tag/Tag.d.ts +1 -1
- package/Tag/Tag.js +3 -2
- package/Tag/constants.d.ts +0 -4
- package/Tag/constants.js +1 -6
- package/Tag/styled.d.ts +1 -1
- package/Tag/styled.js +20 -5
- package/Tag/types.d.ts +2 -4
- package/TextArea/TextArea.d.ts +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/esm/Autocomplete/Autocomplete.js +1 -1
- package/esm/Badge/styled.d.ts +1 -1
- package/esm/Collapse/Collapse.d.ts +3 -0
- package/esm/Collapse/Collapse.js +2 -0
- package/esm/Collapse/index.d.ts +1 -0
- package/esm/Collapse/index.js +1 -0
- package/esm/Divider/Divider.d.ts +3 -0
- package/esm/Divider/Divider.js +2 -0
- package/esm/Divider/index.d.ts +1 -0
- package/esm/Divider/index.js +1 -0
- package/esm/FormHelperText/styled.d.ts +6 -6
- package/esm/Grid/styled.d.ts +1 -1
- package/esm/List/List.d.ts +3 -0
- package/esm/List/List.js +1 -0
- package/esm/List/index.d.ts +1 -0
- package/esm/List/index.js +1 -0
- package/esm/List/styled.d.ts +13 -0
- package/esm/List/styled.js +8 -0
- package/esm/ListItem/ListItem.d.ts +3 -0
- package/esm/ListItem/ListItem.js +28 -0
- package/esm/ListItem/constants.d.ts +5 -0
- package/esm/ListItem/constants.js +6 -0
- package/esm/ListItem/index.d.ts +1 -0
- package/esm/ListItem/index.js +1 -0
- package/esm/ListItem/styled.d.ts +39 -0
- package/esm/ListItem/styled.js +45 -0
- package/esm/ListItem/types.d.ts +2 -0
- package/esm/ListItem/types.js +1 -0
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +3 -0
- package/esm/ListItemAvatar/ListItemAvatar.js +2 -0
- package/esm/ListItemAvatar/index.d.ts +1 -0
- package/esm/ListItemAvatar/index.js +1 -0
- package/esm/ListItemButton/ListItemButton.d.ts +3 -0
- package/esm/ListItemButton/ListItemButton.js +28 -0
- package/esm/ListItemButton/constants.d.ts +5 -0
- package/esm/ListItemButton/constants.js +6 -0
- package/esm/ListItemButton/index.d.ts +1 -0
- package/esm/ListItemButton/index.js +1 -0
- package/esm/ListItemButton/styled.d.ts +35 -0
- package/esm/ListItemButton/styled.js +41 -0
- package/esm/ListItemButton/types.d.ts +2 -0
- package/esm/ListItemButton/types.js +1 -0
- package/esm/ListItemIcon/ListItemIcon.d.ts +3 -0
- package/esm/ListItemIcon/ListItemIcon.js +28 -0
- package/esm/ListItemIcon/index.d.ts +1 -0
- package/esm/ListItemIcon/index.js +1 -0
- package/esm/ListItemIcon/styled.d.ts +4 -0
- package/esm/ListItemIcon/styled.js +11 -0
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -0
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -0
- package/esm/ListItemSecondaryAction/index.d.ts +1 -0
- package/esm/ListItemSecondaryAction/index.js +1 -0
- package/esm/ListItemText/ListItemText.d.ts +3 -0
- package/esm/ListItemText/ListItemText.js +28 -0
- package/esm/ListItemText/index.d.ts +1 -0
- package/esm/ListItemText/index.js +1 -0
- package/esm/ListSubheader/ListSubheader.d.ts +3 -0
- package/esm/ListSubheader/ListSubheader.js +2 -0
- package/esm/ListSubheader/index.d.ts +1 -0
- package/esm/ListSubheader/index.js +1 -0
- package/esm/MenuList/styled.d.ts +1 -1
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Select/styled.d.ts +1 -1
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Tag/Tag.js +3 -2
- package/esm/Tag/constants.d.ts +0 -4
- package/esm/Tag/constants.js +0 -5
- package/esm/Tag/styled.d.ts +1 -1
- package/esm/Tag/styled.js +20 -5
- package/esm/Tag/types.d.ts +2 -4
- package/esm/TextArea/TextArea.d.ts +1 -1
- package/esm/TextField/TextField.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/theme/components/MuiAutocomplete.js +49 -4
- package/esm/theme/components/MuiButtonBase.d.ts +3 -0
- package/esm/theme/components/MuiButtonBase.js +5 -0
- package/esm/theme/components/components.js +2 -0
- package/package.json +2 -2
- package/theme/components/MuiAutocomplete.js +49 -4
- package/theme/components/MuiButtonBase.d.ts +3 -0
- package/theme/components/MuiButtonBase.js +8 -0
- package/theme/components/components.js +2 -0
package/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TooltipProps } from './types';
|
|
3
|
-
export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "
|
|
3
|
+
export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "sx" | "components" | "componentsProps" | "size" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "placement" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -40,5 +40,5 @@ export var Autocomplete = function (_a) {
|
|
|
40
40
|
var selected = Boolean(option['aria-selected']);
|
|
41
41
|
return (_jsxs(MenuItem, __assign({}, option, { children: [multiple && (_jsx(ListItemIcon, { children: _jsx(Checkbox, { checked: selected }, void 0) }, void 0)), option.key] }), void 0));
|
|
42
42
|
};
|
|
43
|
-
return (_jsx(MuiAutocomplete, __assign({}, props, { size: size, multiple: multiple, getOptionLabel: getOptionLabel, disableCloseOnSelect: multiple, renderTags: renderTags, renderInput: renderInput, renderOption: renderOption, popupIcon: _jsx(ChevronDOutlineMd, {}, void 0), clearIcon: _jsx(CrossSmOutlineSm, {}, void 0) }), void 0));
|
|
43
|
+
return (_jsx(MuiAutocomplete, __assign({}, props, { size: size, multiple: multiple, getOptionLabel: getOptionLabel, disableCloseOnSelect: multiple, renderTags: renderTags, renderInput: renderInput, renderOption: renderOption, popupIcon: _jsx(ChevronDOutlineMd, {}, void 0), clearIcon: _jsx(CrossSmOutlineSm, {}, void 0), componentsProps: { clearIndicator: { disableRipple: true } }, noOptionsText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" }), void 0));
|
|
44
44
|
};
|
package/esm/Badge/styled.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
|
42
42
|
variant?: string | undefined;
|
|
43
43
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
44
44
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
45
|
-
},
|
|
45
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "sx" | "components" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
|
|
46
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
47
|
} & Omit<BadgeProps, "color"> & {
|
|
48
48
|
customColor: BadgeColor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Collapse';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Collapse';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Divider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Divider';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
4
|
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
5
|
-
color?: "inherit" | "primary" | "secondary" | "disabled" | "
|
|
5
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "action" | "error" | "warning" | "info" | "success" | undefined;
|
|
6
6
|
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
7
7
|
htmlColor?: string | undefined;
|
|
8
8
|
inheritViewBox?: boolean | undefined;
|
|
@@ -10,9 +10,9 @@ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
|
10
10
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
11
|
titleAccess?: string | undefined;
|
|
12
12
|
viewBox?: string | undefined;
|
|
13
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "
|
|
13
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "id" | "lang" | "tabIndex" | "role" | "color" | "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" | "key" | "name" | "type" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "local" | "in" | "max" | "href" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
14
14
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
15
|
-
}, "fontSize" |
|
|
15
|
+
}, "fontSize" | keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "sx" | "shapeRendering" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
16
16
|
children?: import("react").ReactNode;
|
|
17
17
|
} & {
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -20,7 +20,7 @@ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
|
20
20
|
export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
children?: import("react").ReactNode;
|
|
22
22
|
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
23
|
-
color?: "inherit" | "primary" | "secondary" | "disabled" | "
|
|
23
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "action" | "error" | "warning" | "info" | "success" | undefined;
|
|
24
24
|
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
25
25
|
htmlColor?: string | undefined;
|
|
26
26
|
inheritViewBox?: boolean | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
|
|
|
28
28
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
29
|
titleAccess?: string | undefined;
|
|
30
30
|
viewBox?: string | undefined;
|
|
31
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "
|
|
31
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "id" | "lang" | "tabIndex" | "role" | "color" | "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" | "key" | "name" | "type" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "local" | "in" | "max" | "href" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
32
32
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
33
|
-
}, "fontSize" |
|
|
33
|
+
}, "fontSize" | keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "sx" | "shapeRendering" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
34
34
|
children?: import("react").ReactNode;
|
|
35
35
|
} & {
|
|
36
36
|
theme?: import("@emotion/react").Theme | undefined;
|
package/esm/Grid/styled.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
|
|
|
6
6
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
7
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "
|
|
9
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY") | "component"> & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
} & {
|
|
12
12
|
container: boolean;
|
package/esm/List/List.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StyledList as List } from './styled';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './List';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './List';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledList: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").ListClasses> | undefined;
|
|
5
|
+
dense?: boolean | undefined;
|
|
6
|
+
disablePadding?: boolean | undefined;
|
|
7
|
+
subheader?: import("react").ReactNode;
|
|
8
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
9
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
|
|
10
|
+
ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
11
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "dense" | "subheader" | "disablePadding"> & {
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import { List as MuiList } from '@mui/material';
|
|
6
|
+
import { styled } from '../styles';
|
|
7
|
+
export var StyledList = styled(MuiList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n width: 100%;\n height: 100%;\n display: inline-block;\n text-decoration: none;\n }\n"], ["\n a {\n width: 100%;\n height: 100%;\n display: inline-block;\n text-decoration: none;\n }\n"])));
|
|
8
|
+
var templateObject_1;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { StyledListItem } from './styled';
|
|
25
|
+
export var ListItem = function (_a) {
|
|
26
|
+
var props = __rest(_a, []);
|
|
27
|
+
return _jsx(StyledListItem, __assign({}, props), void 0);
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItem';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { ListItemStates } from './constants';
|
|
4
|
+
import { ListItemProps } from './types';
|
|
5
|
+
declare type StyledListItemThemeProps = ListItemProps & {
|
|
6
|
+
theme: Theme;
|
|
7
|
+
};
|
|
8
|
+
export declare const getBgColor: ({ selected, theme, }: StyledListItemThemeProps) => string;
|
|
9
|
+
export declare const getColor: ({ theme, selected, listItemState, }: import("@mui/material").ListItemBaseProps & {
|
|
10
|
+
components?: {
|
|
11
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
componentsProps?: {
|
|
14
|
+
root?: (import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides) | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
17
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
18
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "alignItems" | "components" | "divider" | "componentsProps" | "dense" | "selected" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & {
|
|
19
|
+
theme: Theme;
|
|
20
|
+
} & {
|
|
21
|
+
listItemState: ListItemStates;
|
|
22
|
+
}) => string;
|
|
23
|
+
export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
|
|
24
|
+
button?: false | undefined;
|
|
25
|
+
} & import("@mui/material").ListItemBaseProps & {
|
|
26
|
+
components?: {
|
|
27
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
componentsProps?: {
|
|
30
|
+
root?: (import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides) | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
33
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
34
|
+
}, "button" | "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "alignItems" | "components" | "divider" | "componentsProps" | "dense" | "selected" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & {
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
37
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
38
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "alignItems" | "components" | "divider" | "componentsProps" | "dense" | "selected" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction">, {}, {}>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var __assign = (this && this.__assign) || function () {
|
|
6
|
+
__assign = Object.assign || function(t) {
|
|
7
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
+
s = arguments[i];
|
|
9
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
+
t[p] = s[p];
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
};
|
|
14
|
+
return __assign.apply(this, arguments);
|
|
15
|
+
};
|
|
16
|
+
import { ListItem } from '@mui/material';
|
|
17
|
+
import { styled } from '../styles';
|
|
18
|
+
import { ListItemStates } from './constants';
|
|
19
|
+
export var getBgColor = function (_a) {
|
|
20
|
+
var selected = _a.selected, theme = _a.theme;
|
|
21
|
+
if (selected)
|
|
22
|
+
return theme.palette.grey[100];
|
|
23
|
+
return 'transparent';
|
|
24
|
+
};
|
|
25
|
+
export var getColor = function (_a) {
|
|
26
|
+
var theme = _a.theme, selected = _a.selected, listItemState = _a.listItemState;
|
|
27
|
+
if (selected)
|
|
28
|
+
return theme.palette.primary[800];
|
|
29
|
+
if (listItemState === ListItemStates.DEFAULT)
|
|
30
|
+
return theme.palette.grey[900];
|
|
31
|
+
if (listItemState === ListItemStates.HOVER)
|
|
32
|
+
return theme.palette.primary[800];
|
|
33
|
+
return theme.palette.grey[900];
|
|
34
|
+
};
|
|
35
|
+
export var StyledListItem = styled(ListItem, {
|
|
36
|
+
shouldForwardProp: function (prop) { return prop !== 'selected'; },
|
|
37
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: pointer;\n user-select: none;\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n :hover {\n color: ", ";\n }\n"], ["\n cursor: pointer;\n user-select: none;\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n :hover {\n color: ", ";\n }\n"])), function (_a) {
|
|
38
|
+
var theme = _a.theme;
|
|
39
|
+
return theme.shape.small;
|
|
40
|
+
}, function (props) { return getBgColor(__assign({}, props)); }, function (props) {
|
|
41
|
+
return getColor(__assign(__assign({}, props), { listItemState: ListItemStates.DEFAULT }));
|
|
42
|
+
}, function (props) {
|
|
43
|
+
return getColor(__assign(__assign({}, props), { listItemState: ListItemStates.HOVER }));
|
|
44
|
+
});
|
|
45
|
+
var templateObject_1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItemAvatar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItemAvatar';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { StyledListItemButton } from './styled';
|
|
25
|
+
export var ListItemButton = function (_a) {
|
|
26
|
+
var props = __rest(_a, []);
|
|
27
|
+
return _jsx(StyledListItemButton, __assign({}, props, { disableRipple: true }), void 0);
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItemButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ListItemButton';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { ListItemButtonStates } from './constants';
|
|
4
|
+
import { ListItemButtonProps } from './types';
|
|
5
|
+
declare type StyledListItemButtonThemeProps = ListItemButtonProps & {
|
|
6
|
+
theme: Theme;
|
|
7
|
+
};
|
|
8
|
+
export declare const getBgColor: ({ selected, theme, }: StyledListItemButtonThemeProps) => string;
|
|
9
|
+
export declare const getColor: ({ theme, selected, listItemButtonState, }: ListItemButtonProps & {
|
|
10
|
+
theme: Theme;
|
|
11
|
+
} & {
|
|
12
|
+
listItemButtonState: ListItemButtonStates;
|
|
13
|
+
}) => string;
|
|
14
|
+
export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
15
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
16
|
+
centerRipple?: boolean | undefined;
|
|
17
|
+
children?: import("react").ReactNode;
|
|
18
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
disableRipple?: boolean | undefined;
|
|
21
|
+
disableTouchRipple?: boolean | undefined;
|
|
22
|
+
focusRipple?: boolean | undefined;
|
|
23
|
+
focusVisibleClassName?: string | undefined;
|
|
24
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
25
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
26
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
27
|
+
tabIndex?: number | undefined;
|
|
28
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
29
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
30
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
31
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
32
|
+
}, "disabled" | "className" | "style" | "classes" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "alignItems" | "divider" | "dense" | "selected" | "disableGutters"> & {
|
|
33
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
+
} & ListItemButtonProps, {}, {}>;
|
|
35
|
+
export {};
|