@astral/ui 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Chevron/styles.d.ts +1 -1
- package/Collapse/Collapse.d.ts +2 -3
- package/Collapse/Collapse.js +2 -17
- package/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/DashboardLayout/DashboardLayout.js +2 -2
- package/DashboardLayout/DashboardLayoutStory.d.ts +2 -0
- package/DashboardLayout/DashboardLayoutStory.js +2 -7
- package/DashboardLayout/Header/Header.js +2 -2
- package/DashboardLayout/Header/{styled.d.ts → styles.d.ts} +0 -0
- package/DashboardLayout/Header/{styled.js → styles.js} +1 -1
- package/DashboardLayout/Sidebar/Sidebar.d.ts +16 -4
- package/DashboardLayout/Sidebar/Sidebar.js +14 -5
- package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +5 -0
- package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.js +20 -0
- package/DashboardLayout/Sidebar/SidebarNav/index.d.ts +1 -0
- package/DashboardLayout/Sidebar/SidebarNav/index.js +17 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +6 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.js +33 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/index.d.ts +1 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/index.js +17 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +4 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.js +14 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +6 -0
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.js +25 -0
- package/DashboardLayout/Sidebar/SidebarToggler/index.d.ts +1 -0
- package/DashboardLayout/Sidebar/SidebarToggler/index.js +17 -0
- package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +8 -0
- package/DashboardLayout/Sidebar/SidebarToggler/styled.js +15 -0
- package/DashboardLayout/Sidebar/styles.d.ts +7 -0
- package/DashboardLayout/Sidebar/{styled.js → styles.js} +12 -8
- package/DashboardLayout/{styled.d.ts → styles.d.ts} +0 -0
- package/DashboardLayout/{styled.js → styles.js} +1 -1
- package/DataGridPagination/styled.d.ts +5 -13
- package/DatePicker/DatePickerHeader/styled.d.ts +5 -13
- package/FormHelperText/styled.d.ts +2 -2
- package/List/List.d.ts +2 -1
- package/List/List.js +5 -2
- package/List/index.d.ts +0 -1
- package/List/index.js +0 -1
- package/ListItem/ListItem.js +2 -2
- package/ListItem/{styled.d.ts → styles.d.ts} +0 -0
- package/ListItem/{styled.js → styles.js} +0 -0
- package/ListItemButton/ListItemButton.d.ts +6 -3
- package/ListItemButton/ListItemButton.js +5 -17
- package/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/ListItemIcon/ListItemIcon.js +4 -16
- package/ListItemText/ListItemText.d.ts +3 -2
- package/ListItemText/ListItemText.js +5 -14
- package/MenuGroup/stories/Icons.js +7 -7
- package/MenuGroup/stories/styled.d.ts +5 -13
- package/MenuGroup/styled.d.ts +5 -13
- package/NavMenu/NavMenu.d.ts +10 -0
- package/NavMenu/NavMenu.js +24 -0
- package/NavMenu/NavMenuItem/NavMenuItem.d.ts +16 -0
- package/NavMenu/NavMenuItem/NavMenuItem.js +40 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +11 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.js +34 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/index.d.ts +1 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/index.js +17 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +29 -0
- package/NavMenu/NavMenuItem/NavMenuItemButton/styles.js +46 -0
- package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +13 -0
- package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.js +26 -0
- package/NavMenu/NavMenuItem/NavMenuItemList/index.d.ts +1 -0
- package/NavMenu/NavMenuItem/NavMenuItemList/index.js +17 -0
- package/NavMenu/NavMenuItem/index.d.ts +1 -0
- package/NavMenu/NavMenuItem/index.js +17 -0
- package/NavMenu/index.d.ts +1 -0
- package/NavMenu/index.js +17 -0
- package/Notification/NotificationTemplate/styled.d.ts +6 -14
- package/Notification/styled.d.ts +4 -4
- package/OverflowTypography/OverflowTypography.d.ts +1 -1
- package/OverflowTypography/hooks/useOverflowed/useOverflowed.js +2 -5
- package/OverflowTypography/styles.d.ts +5 -13
- package/Placeholder/styles.d.ts +10 -26
- package/Tooltip/Tooltip.js +6 -3
- package/Typography/Typography.d.ts +4 -1
- package/Typography/Typography.js +37 -4
- package/Typography/enums.d.ts +10 -0
- package/Typography/enums.js +14 -0
- package/Typography/types.d.ts +10 -3
- package/esm/Chevron/styles.d.ts +1 -1
- package/esm/Collapse/Collapse.d.ts +2 -3
- package/esm/Collapse/Collapse.js +2 -16
- package/esm/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/esm/DashboardLayout/DashboardLayout.js +1 -1
- package/esm/DashboardLayout/DashboardLayoutStory.d.ts +2 -0
- package/esm/DashboardLayout/DashboardLayoutStory.js +2 -7
- package/esm/DashboardLayout/Header/Header.js +1 -1
- package/esm/DashboardLayout/Header/{styled.d.ts → styles.d.ts} +0 -0
- package/esm/DashboardLayout/Header/{styled.js → styles.js} +1 -1
- package/esm/DashboardLayout/Sidebar/Sidebar.d.ts +16 -4
- package/esm/DashboardLayout/Sidebar/Sidebar.js +14 -5
- package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +5 -0
- package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.js +17 -0
- package/esm/DashboardLayout/Sidebar/SidebarNav/index.d.ts +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarNav/index.js +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +6 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.js +30 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/index.d.ts +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/index.js +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +4 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.js +11 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +6 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.js +22 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/index.d.ts +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/index.js +1 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +8 -0
- package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.js +12 -0
- package/esm/DashboardLayout/Sidebar/styles.d.ts +7 -0
- package/esm/DashboardLayout/Sidebar/{styled.js → styles.js} +11 -7
- package/esm/DashboardLayout/{styled.d.ts → styles.d.ts} +0 -0
- package/esm/DashboardLayout/{styled.js → styles.js} +1 -1
- package/esm/DataGridPagination/styled.d.ts +5 -13
- package/esm/DatePicker/DatePickerHeader/styled.d.ts +5 -13
- package/esm/FormHelperText/styled.d.ts +2 -2
- package/esm/List/List.d.ts +2 -1
- package/esm/List/List.js +2 -2
- package/esm/List/index.d.ts +0 -1
- package/esm/List/index.js +0 -1
- package/esm/ListItem/ListItem.js +1 -1
- package/esm/ListItem/{styled.d.ts → styles.d.ts} +0 -0
- package/esm/ListItem/{styled.js → styles.js} +0 -0
- package/esm/ListItemButton/ListItemButton.d.ts +6 -3
- package/esm/ListItemButton/ListItemButton.js +5 -16
- package/esm/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/esm/ListItemIcon/ListItemIcon.js +4 -15
- package/esm/ListItemText/ListItemText.d.ts +3 -2
- package/esm/ListItemText/ListItemText.js +3 -15
- package/esm/MenuGroup/stories/Icons.js +7 -7
- package/esm/MenuGroup/stories/styled.d.ts +5 -13
- package/esm/MenuGroup/styled.d.ts +5 -13
- package/esm/NavMenu/NavMenu.d.ts +10 -0
- package/esm/NavMenu/NavMenu.js +21 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItem.d.ts +16 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItem.js +36 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +11 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.js +31 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/index.d.ts +1 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/index.js +1 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +29 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.js +43 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +13 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.js +22 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/index.d.ts +1 -0
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/index.js +1 -0
- package/esm/NavMenu/NavMenuItem/index.d.ts +1 -0
- package/esm/NavMenu/NavMenuItem/index.js +1 -0
- package/esm/NavMenu/index.d.ts +1 -0
- package/esm/NavMenu/index.js +1 -0
- package/esm/Notification/NotificationTemplate/styled.d.ts +6 -14
- package/esm/Notification/styled.d.ts +4 -4
- package/esm/OverflowTypography/OverflowTypography.d.ts +1 -1
- package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/esm/OverflowTypography/styles.d.ts +5 -13
- package/esm/Placeholder/styles.d.ts +10 -26
- package/esm/Tooltip/Tooltip.js +6 -3
- package/esm/Typography/Typography.d.ts +4 -1
- package/esm/Typography/Typography.js +37 -1
- package/esm/Typography/enums.d.ts +10 -0
- package/esm/Typography/enums.js +11 -0
- package/esm/Typography/types.d.ts +10 -3
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/useLocalStorage/index.d.ts +1 -0
- package/esm/hooks/useLocalStorage/index.js +1 -0
- package/esm/hooks/useLocalStorage/useLocalStorage.d.ts +1 -0
- package/esm/hooks/useLocalStorage/useLocalStorage.js +1 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/theme/components/MuiButton.js +1 -0
- package/esm/theme/components/MuiListItemButton.d.ts +3 -0
- package/esm/theme/components/MuiListItemButton.js +13 -0
- package/esm/theme/components/MuiListItemText.d.ts +3 -0
- package/esm/theme/components/MuiListItemText.js +12 -0
- package/esm/theme/components/components.js +4 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +1 -0
- package/hooks/useLocalStorage/index.d.ts +1 -0
- package/hooks/useLocalStorage/index.js +17 -0
- package/hooks/useLocalStorage/useLocalStorage.d.ts +1 -0
- package/hooks/useLocalStorage/useLocalStorage.js +5 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +4 -3
- package/theme/components/MuiButton.js +1 -0
- package/theme/components/MuiListItemButton.d.ts +3 -0
- package/theme/components/MuiListItemButton.js +16 -0
- package/theme/components/MuiListItemText.d.ts +3 -0
- package/theme/components/MuiListItemText.js +15 -0
- package/theme/components/components.js +4 -0
- package/Collapse/styles.d.ts +0 -3
- package/Collapse/styles.js +0 -11
- package/DashboardLayout/Sidebar/styled.d.ts +0 -8
- package/List/styles.d.ts +0 -15
- package/List/styles.js +0 -11
- package/List/types.d.ts +0 -4
- package/List/types.js +0 -2
- package/ListItemButton/styled.d.ts +0 -35
- package/ListItemButton/styled.js +0 -49
- package/ListItemButton/types.d.ts +0 -2
- package/ListItemButton/types.js +0 -2
- package/ListItemText/styles.d.ts +0 -7
- package/ListItemText/styles.js +0 -11
- package/esm/Collapse/styles.d.ts +0 -3
- package/esm/Collapse/styles.js +0 -8
- package/esm/DashboardLayout/Sidebar/styled.d.ts +0 -8
- package/esm/List/styles.d.ts +0 -15
- package/esm/List/styles.js +0 -8
- package/esm/List/types.d.ts +0 -4
- package/esm/List/types.js +0 -1
- package/esm/ListItemButton/styled.d.ts +0 -35
- package/esm/ListItemButton/styled.js +0 -44
- package/esm/ListItemButton/types.d.ts +0 -2
- package/esm/ListItemButton/types.js +0 -1
- package/esm/ListItemText/styles.d.ts +0 -7
- package/esm/ListItemText/styles.js +0 -8
|
@@ -20,5 +20,5 @@ declare type TooltipCustomizable = {
|
|
|
20
20
|
export declare type OverflowedElementProps = OverflowedProps & TooltipCustomizable & TypographyProps;
|
|
21
21
|
export declare type OverflowedTypographyProps = PropsWithChildren<OverflowedElementProps>;
|
|
22
22
|
export declare const DEFAULT_ROWS_COUNT = 1;
|
|
23
|
-
export declare const OverflowTypography: import("react").ForwardRefExoticComponent<Pick<OverflowedTypographyProps,
|
|
23
|
+
export declare const OverflowTypography: import("react").ForwardRefExoticComponent<Pick<OverflowedTypographyProps, string | number | symbol> & import("react").RefAttributes<HTMLElement>>;
|
|
24
24
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useLayoutEffect, useMemo, useRef, useState, } from 'react';
|
|
2
|
-
import debounce from 'lodash-es
|
|
2
|
+
import { debounce } from 'lodash-es';
|
|
3
3
|
export var useOverflowed = function (forwardedRef) {
|
|
4
4
|
var localRef = useRef(null);
|
|
5
5
|
var ref = forwardedRef && typeof forwardedRef !== 'function'
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { OverflowedProps } from './OverflowTypography';
|
|
3
|
-
export declare const OverflowTypographyWrapper: import("@emotion/styled").StyledComponent<import("@mui/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
noWrap?: boolean | undefined;
|
|
9
|
-
paragraph?: boolean | undefined;
|
|
10
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
-
variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
|
|
12
|
-
variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
|
|
13
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | "css" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
14
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
15
|
-
}, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
3
|
+
export declare const OverflowTypographyWrapper: import("@emotion/styled").StyledComponent<Omit<import("@mui/material/OverridableComponent").OverrideProps<import("@mui/material").TypographyTypeMap<{}, "span">, import("react").ElementType<any>>, "color" | "variant"> & {
|
|
4
|
+
variant?: import("@mui/material").TypographyVariant | keyof import("@mui/material").TypographyPropsVariantOverrides | undefined;
|
|
5
|
+
component?: import("react").ElementType<any> | undefined;
|
|
6
|
+
color?: "primary" | "secondary" | "error" | "success" | "warning" | "text" | "info" | "textSecondary" | ((theme: import("@mui/material").Theme) => string) | undefined;
|
|
7
|
+
} & {
|
|
16
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
17
9
|
} & Required<OverflowedProps>, {}, {}>;
|
|
@@ -11,34 +11,18 @@ export declare const PlaceholderImage: import("@emotion/styled").StyledComponent
|
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
12
|
as?: import("react").ElementType<any> | undefined;
|
|
13
13
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
14
|
-
export declare const PlaceholderTitle: import("@emotion/styled").StyledComponent<import("@mui/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
noWrap?: boolean | undefined;
|
|
20
|
-
paragraph?: boolean | undefined;
|
|
21
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
22
|
-
variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
|
|
23
|
-
variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
|
|
24
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | "css" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
25
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
26
|
-
}, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
14
|
+
export declare const PlaceholderTitle: import("@emotion/styled").StyledComponent<Omit<import("@mui/material/OverridableComponent").OverrideProps<import("@mui/material").TypographyTypeMap<{}, "span">, import("react").ElementType<any>>, "color" | "variant"> & {
|
|
15
|
+
variant?: import("@mui/material").TypographyVariant | keyof import("@mui/material").TypographyPropsVariantOverrides | undefined;
|
|
16
|
+
component?: import("react").ElementType<any> | undefined;
|
|
17
|
+
color?: "primary" | "secondary" | "error" | "success" | "warning" | "text" | "info" | "textSecondary" | ((theme: import("@mui/material").Theme) => string) | undefined;
|
|
18
|
+
} & {
|
|
27
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
20
|
}, {}, {}>;
|
|
29
|
-
export declare const PlaceholderDescription: import("@emotion/styled").StyledComponent<import("@mui/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
noWrap?: boolean | undefined;
|
|
35
|
-
paragraph?: boolean | undefined;
|
|
36
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
37
|
-
variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
|
|
38
|
-
variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
|
|
39
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | "css" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
40
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
41
|
-
}, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
21
|
+
export declare const PlaceholderDescription: import("@emotion/styled").StyledComponent<Omit<import("@mui/material/OverridableComponent").OverrideProps<import("@mui/material").TypographyTypeMap<{}, "span">, import("react").ElementType<any>>, "color" | "variant"> & {
|
|
22
|
+
variant?: import("@mui/material").TypographyVariant | keyof import("@mui/material").TypographyPropsVariantOverrides | undefined;
|
|
23
|
+
component?: import("react").ElementType<any> | undefined;
|
|
24
|
+
color?: "primary" | "secondary" | "error" | "success" | "warning" | "text" | "info" | "textSecondary" | ((theme: import("@mui/material").Theme) => string) | undefined;
|
|
25
|
+
} & {
|
|
42
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
27
|
}, {}, {}>;
|
|
44
28
|
export declare const PlaceholderActions: import("@emotion/styled").StyledComponent<{
|
package/esm/Tooltip/Tooltip.js
CHANGED
|
@@ -24,7 +24,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { StyledTooltip } from './styled';
|
|
26
26
|
import { TooltipSizes } from './constants';
|
|
27
|
-
export var Tooltip = forwardRef(function (
|
|
28
|
-
var
|
|
29
|
-
|
|
27
|
+
export var Tooltip = forwardRef(function (props, ref) {
|
|
28
|
+
var title = props.title, _a = props.placement, placement = _a === void 0 ? 'top' : _a, _b = props.size, size = _b === void 0 ? TooltipSizes.MEDIUM : _b, children = props.children, restProps = __rest(props, ["title", "placement", "size", "children"]);
|
|
29
|
+
if (title) {
|
|
30
|
+
return (_jsx(StyledTooltip, __assign({ ref: ref, title: title, size: size, placement: placement }, restProps, { children: children })));
|
|
31
|
+
}
|
|
32
|
+
return children;
|
|
30
33
|
});
|
|
@@ -1 +1,37 @@
|
|
|
1
|
-
|
|
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 { Typography as MuiTypography } from '@mui/material';
|
|
25
|
+
import { useMemo } from 'react';
|
|
26
|
+
import { TypographyColors } from './enums';
|
|
27
|
+
export var Typography = function (_a) {
|
|
28
|
+
var children = _a.children, color = _a.color, props = __rest(_a, ["children", "color"]);
|
|
29
|
+
var typographyColor = useMemo(function () {
|
|
30
|
+
if (typeof color === 'function') {
|
|
31
|
+
return color;
|
|
32
|
+
}
|
|
33
|
+
return (color && TypographyColors[color]) || color;
|
|
34
|
+
}, [color]);
|
|
35
|
+
return (_jsx(MuiTypography, __assign({}, props, { color: typographyColor }, { children: children })));
|
|
36
|
+
};
|
|
37
|
+
export default Typography;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var TypographyColors;
|
|
2
|
+
(function (TypographyColors) {
|
|
3
|
+
TypographyColors["text"] = "text";
|
|
4
|
+
TypographyColors["secondary"] = "secondary";
|
|
5
|
+
TypographyColors["primary"] = "primary";
|
|
6
|
+
TypographyColors["error"] = "error";
|
|
7
|
+
TypographyColors["success"] = "success.main";
|
|
8
|
+
TypographyColors["warning"] = "warning.main";
|
|
9
|
+
TypographyColors["info"] = "info.main";
|
|
10
|
+
TypographyColors["textSecondary"] = "text.secondary";
|
|
11
|
+
})(TypographyColors || (TypographyColors = {}));
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OverrideProps } from '@mui/material/OverridableComponent';
|
|
2
|
+
import { TypographyPropsVariantOverrides, TypographyTypeMap } from '@mui/material/Typography';
|
|
2
3
|
import { Variant } from '@mui/material/styles/createTypography';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { Theme } from '../theme';
|
|
6
|
+
import { TypographyColors } from './enums';
|
|
3
7
|
declare module '@mui/material/Typography' {
|
|
4
8
|
interface TypographyPropsVariantOverrides {
|
|
5
9
|
h7: true;
|
|
@@ -13,6 +17,9 @@ declare module '@mui/material/Typography' {
|
|
|
13
17
|
div: true;
|
|
14
18
|
}
|
|
15
19
|
}
|
|
16
|
-
export declare type
|
|
17
|
-
|
|
20
|
+
export declare type TypographyColor = keyof typeof TypographyColors;
|
|
21
|
+
export declare type TypographyProps = Omit<OverrideProps<TypographyTypeMap, React.ElementType>, 'variant' | 'color'> & {
|
|
22
|
+
variant?: Variant | keyof TypographyPropsVariantOverrides;
|
|
23
|
+
component?: React.ElementType;
|
|
24
|
+
color?: TypographyColor | ((theme: Theme) => string);
|
|
18
25
|
};
|
package/esm/hooks/index.d.ts
CHANGED
package/esm/hooks/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLocalStorage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLocalStorage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useLocalStorage } from 'react-use';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useLocalStorage } from 'react-use';
|
package/esm/index.d.ts
CHANGED
package/esm/index.js
CHANGED
|
@@ -19,6 +19,8 @@ import { MuiTableRow } from './MuiTableRow';
|
|
|
19
19
|
import { MuiMenu } from './MuiMenu';
|
|
20
20
|
import { MuiMenuItem } from './MuiMenuItem';
|
|
21
21
|
import { MuiCircularProgress } from './MuiCircularProgress';
|
|
22
|
+
import { MuiListItemButton } from './MuiListItemButton';
|
|
23
|
+
import { MuiListItemText } from './MuiListItemText';
|
|
22
24
|
var getMuiCssBaseline = function (fontUrls) { return ({
|
|
23
25
|
styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
|
|
24
26
|
}); };
|
|
@@ -57,4 +59,6 @@ export var getComponents = function (fontUrls) { return ({
|
|
|
57
59
|
MuiTableRow: MuiTableRow,
|
|
58
60
|
MuiPaginationItem: MuiPaginationItem,
|
|
59
61
|
MuiCircularProgress: MuiCircularProgress,
|
|
62
|
+
MuiListItemButton: MuiListItemButton,
|
|
63
|
+
MuiListItemText: MuiListItemText,
|
|
60
64
|
}); };
|
package/hooks/index.d.ts
CHANGED
package/hooks/index.js
CHANGED
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./useLocalStorage"), exports);
|
|
17
18
|
__exportStar(require("./useMenu"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLocalStorage';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./useLocalStorage"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useLocalStorage } from 'react-use';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useLocalStorage = void 0;
|
|
4
|
+
var react_use_1 = require("react-use");
|
|
5
|
+
Object.defineProperty(exports, "useLocalStorage", { enumerable: true, get: function () { return react_use_1.useLocalStorage; } });
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./ActionCell"), exports);
|
|
|
18
18
|
__exportStar(require("./Autocomplete"), exports);
|
|
19
19
|
__exportStar(require("./Badge"), exports);
|
|
20
20
|
__exportStar(require("./Button"), exports);
|
|
21
|
+
__exportStar(require("./Divider"), exports);
|
|
21
22
|
__exportStar(require("./ButtonBase"), exports);
|
|
22
23
|
__exportStar(require("./Checkbox"), exports);
|
|
23
24
|
__exportStar(require("./CircularProgress"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"browser": "./src/index.ts",
|
|
5
5
|
"jest": {
|
|
6
6
|
"moduleNameMapper": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@astral/icons": "^0.
|
|
11
|
+
"@astral/icons": "^0.48.0",
|
|
12
12
|
"@emotion/cache": "11.7.1",
|
|
13
13
|
"@emotion/react": "11.9.0",
|
|
14
14
|
"@emotion/server": "11.4.0",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"lodash-es": "4.17.21",
|
|
21
21
|
"react-datepicker": "4.7.0",
|
|
22
22
|
"react-imask": "^6.4.2",
|
|
23
|
-
"react-toastify": "9.0.3"
|
|
23
|
+
"react-toastify": "9.0.3",
|
|
24
|
+
"react-use": "^17.4.0"
|
|
24
25
|
},
|
|
25
26
|
"peerDependencies": {
|
|
26
27
|
"react": ">=17.0.0"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MuiListItemButton = void 0;
|
|
4
|
+
exports.MuiListItemButton = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: function (_a) {
|
|
7
|
+
var theme = _a.theme;
|
|
8
|
+
return {
|
|
9
|
+
'&.Mui-selected': {
|
|
10
|
+
color: theme.palette.primary[800],
|
|
11
|
+
backgroundColor: theme.palette.grey[100],
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MuiListItemText = void 0;
|
|
4
|
+
exports.MuiListItemText = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: function () {
|
|
7
|
+
return {
|
|
8
|
+
overflow: 'hidden',
|
|
9
|
+
whiteSpace: 'nowrap',
|
|
10
|
+
textAlign: 'left',
|
|
11
|
+
textOverflow: 'ellipsis',
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -22,6 +22,8 @@ var MuiTableRow_1 = require("./MuiTableRow");
|
|
|
22
22
|
var MuiMenu_1 = require("./MuiMenu");
|
|
23
23
|
var MuiMenuItem_1 = require("./MuiMenuItem");
|
|
24
24
|
var MuiCircularProgress_1 = require("./MuiCircularProgress");
|
|
25
|
+
var MuiListItemButton_1 = require("./MuiListItemButton");
|
|
26
|
+
var MuiListItemText_1 = require("./MuiListItemText");
|
|
25
27
|
var getMuiCssBaseline = function (fontUrls) { return ({
|
|
26
28
|
styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
|
|
27
29
|
}); };
|
|
@@ -60,5 +62,7 @@ var getComponents = function (fontUrls) { return ({
|
|
|
60
62
|
MuiTableRow: MuiTableRow_1.MuiTableRow,
|
|
61
63
|
MuiPaginationItem: MuiPaginationItem_1.MuiPaginationItem,
|
|
62
64
|
MuiCircularProgress: MuiCircularProgress_1.MuiCircularProgress,
|
|
65
|
+
MuiListItemButton: MuiListItemButton_1.MuiListItemButton,
|
|
66
|
+
MuiListItemText: MuiListItemText_1.MuiListItemText,
|
|
63
67
|
}); };
|
|
64
68
|
exports.getComponents = getComponents;
|
package/Collapse/styles.d.ts
DELETED
package/Collapse/styles.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.StyledCollapse = void 0;
|
|
8
|
-
var material_1 = require("@mui/material");
|
|
9
|
-
var styles_1 = require("../styles");
|
|
10
|
-
exports.StyledCollapse = (0, styles_1.styled)(material_1.Collapse)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &.MuiCollapse-horizontal {\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n }\n"], ["\n &.MuiCollapse-horizontal {\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n }\n"])));
|
|
11
|
-
var templateObject_1;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SidebarRoot: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
6
|
-
export declare const SidebarToggler: import("@emotion/styled").StyledComponent<Pick<import("../../Button").ButtonProps, "disabled" | "href" | "onFocusVisible" | "tabIndex" | "type" | "action" | "children" | "form" | "slot" | "title" | "key" | "css" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "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" | "variant" | "size" | "component" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
}, {}, {}>;
|
package/List/styles.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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" | "css" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
|
|
10
|
-
ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
11
|
-
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "dense" | "subheader" | "disablePadding"> & {
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
} & {
|
|
14
|
-
collapsed?: boolean | undefined;
|
|
15
|
-
}, {}, {}>;
|
package/List/styles.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.StyledList = void 0;
|
|
8
|
-
var material_1 = require("@mui/material");
|
|
9
|
-
var styles_1 = require("../styles");
|
|
10
|
-
exports.StyledList = (0, styles_1.styled)(material_1.List)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n\n text-decoration: none;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n\n text-decoration: none;\n }\n"])));
|
|
11
|
-
var templateObject_1;
|
package/List/types.d.ts
DELETED
package/List/types.js
DELETED