@learningpool/ui 1.5.0 → 1.6.0-beta.3
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/assets/Images.d.ts +9 -0
- package/assets/Images.js +4 -1
- package/components/navigation/VerticalNavigation/AvatarPanel.d.ts +8 -0
- package/components/navigation/VerticalNavigation/AvatarPanel.js +97 -0
- package/components/navigation/VerticalNavigation/VerticalNavigation.d.ts +11 -10
- package/components/navigation/VerticalNavigation/VerticalNavigation.js +149 -78
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.d.ts +18 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.js +91 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.d.ts +15 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.js +29 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.d.ts +112 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.js +66 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.d.ts +126 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.js +71 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +31 -90
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +71 -258
- package/package.json +2 -2
- package/utils/theme.d.ts +4 -0
- package/utils/theme.js +4 -0
|
@@ -1,77 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Theme } from '@mui/material';
|
|
3
|
-
import { CSSObject } from '@mui/material/styles';
|
|
4
2
|
export declare const DRAWER_WIDTH: {
|
|
5
3
|
Collapsed: number;
|
|
6
4
|
Expanded: number;
|
|
7
5
|
};
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const openedMixin: () => CSSObject;
|
|
10
|
-
export declare const closedMixin: (theme: Theme) => CSSObject;
|
|
11
|
-
export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
-
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
button?: false | undefined;
|
|
14
|
-
} & import("@mui/material").ListItemBaseProps & {
|
|
15
|
-
components?: {
|
|
16
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
componentsProps?: {
|
|
19
|
-
root?: (import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides) | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
22
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
23
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "divider" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
24
|
-
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
25
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
26
|
-
centerRipple?: boolean | undefined;
|
|
27
|
-
children?: import("react").ReactNode;
|
|
28
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
29
|
-
disabled?: boolean | undefined;
|
|
30
|
-
disableRipple?: boolean | undefined;
|
|
31
|
-
disableTouchRipple?: boolean | undefined;
|
|
32
|
-
focusRipple?: boolean | undefined;
|
|
33
|
-
focusVisibleClassName?: string | undefined;
|
|
34
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
35
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
36
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
37
|
-
tabIndex?: number | undefined;
|
|
38
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
39
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
40
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
41
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
42
|
-
}, "className" | "style" | "classes" | "tabIndex" | "children" | "sx" | "alignItems" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
6
|
+
export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
43
7
|
isDrawerOpen?: any;
|
|
44
|
-
},
|
|
45
|
-
export declare const ListItemAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
46
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
47
|
-
centerRipple?: boolean | undefined;
|
|
48
|
-
children?: import("react").ReactNode;
|
|
49
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
50
|
-
disabled?: boolean | undefined;
|
|
51
|
-
disableRipple?: boolean | undefined;
|
|
52
|
-
disableTouchRipple?: boolean | undefined;
|
|
53
|
-
focusRipple?: boolean | undefined;
|
|
54
|
-
focusVisibleClassName?: string | undefined;
|
|
55
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
56
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
57
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
58
|
-
tabIndex?: number | undefined;
|
|
59
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
60
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
61
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
62
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
63
|
-
}, "className" | "style" | "classes" | "tabIndex" | "children" | "sx" | "alignItems" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
64
|
-
isDrawerOpen?: any;
|
|
65
|
-
} & {
|
|
66
|
-
children?: import("react").ReactNode;
|
|
67
|
-
} & {
|
|
68
|
-
isDrawerOpen?: any;
|
|
69
|
-
}, {}, {}>;
|
|
70
|
-
export declare const ListItemIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
71
|
-
export declare const ListItemText: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
72
|
-
isDrawerOpen?: any;
|
|
73
|
-
index?: number | undefined;
|
|
74
|
-
}, {}, {}>;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
75
9
|
export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
76
10
|
children?: import("react").ReactNode;
|
|
77
11
|
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
@@ -80,7 +14,7 @@ export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
|
80
14
|
disableFocusRipple?: boolean | undefined;
|
|
81
15
|
edge?: false | "end" | "start" | undefined;
|
|
82
16
|
size?: "small" | "large" | "medium" | undefined;
|
|
83
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
17
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
84
18
|
} & Omit<{
|
|
85
19
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
86
20
|
centerRipple?: boolean | undefined;
|
|
@@ -93,55 +27,62 @@ export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
|
93
27
|
focusVisibleClassName?: string | undefined;
|
|
94
28
|
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
95
29
|
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
96
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
30
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
97
31
|
tabIndex?: number | undefined;
|
|
98
32
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
99
33
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
100
34
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
101
35
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
102
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
103
|
-
export declare const DrawerToggleHitboxContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
104
|
-
export declare const StyledAside: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
105
|
-
export declare const StyledNav: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
106
|
-
export declare const
|
|
36
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
37
|
+
export declare const DrawerToggleHitboxContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
38
|
+
export declare const StyledAside: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
39
|
+
export declare const StyledNav: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
40
|
+
export declare const StyledNavSecondary: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
41
|
+
export declare const StyledDivider: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
42
|
+
isDrawerOpen?: boolean | undefined;
|
|
43
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
44
|
+
export declare const DrawerShadow: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
107
45
|
children?: import("react").ReactNode;
|
|
108
46
|
component?: import("react").ElementType<any> | undefined;
|
|
109
47
|
ref?: import("react").Ref<unknown> | undefined;
|
|
110
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
48
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
111
49
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
112
50
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
113
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
114
|
-
isDrawerOpen?:
|
|
51
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
52
|
+
isDrawerOpen?: boolean | undefined;
|
|
115
53
|
}, {}, {}>;
|
|
116
|
-
export declare const NotchContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
54
|
+
export declare const NotchContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
117
55
|
children?: import("react").ReactNode;
|
|
118
56
|
component?: import("react").ElementType<any> | undefined;
|
|
119
57
|
ref?: import("react").Ref<unknown> | undefined;
|
|
120
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
58
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
121
59
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
122
60
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
123
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
124
|
-
export declare const NotchBackground: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
61
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
62
|
+
export declare const NotchBackground: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
125
63
|
children?: import("react").ReactNode;
|
|
126
64
|
component?: import("react").ElementType<any> | undefined;
|
|
127
65
|
ref?: import("react").Ref<unknown> | undefined;
|
|
128
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
66
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
129
67
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
130
68
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
131
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
132
|
-
export declare const NotchBackgroundClip: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
69
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
70
|
+
export declare const NotchBackgroundClip: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
133
71
|
children?: import("react").ReactNode;
|
|
134
72
|
component?: import("react").ElementType<any> | undefined;
|
|
135
73
|
ref?: import("react").Ref<unknown> | undefined;
|
|
136
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
74
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
137
75
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
138
76
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
139
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
140
|
-
export declare const NotchSeemMask: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
77
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
78
|
+
export declare const NotchSeemMask: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
141
79
|
children?: import("react").ReactNode;
|
|
142
80
|
component?: import("react").ElementType<any> | undefined;
|
|
143
81
|
ref?: import("react").Ref<unknown> | undefined;
|
|
144
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
82
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
145
83
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
146
84
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
147
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
85
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
86
|
+
export declare const StyledDrawer: import("@emotion/styled").StyledComponent<import("@mui/material/Drawer").DrawerProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
87
|
+
open?: boolean | undefined;
|
|
88
|
+
}, {}, {}>;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
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);
|
|
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;
|
|
11
4
|
};
|
|
12
|
-
import
|
|
13
|
-
import { Box } from '
|
|
5
|
+
import Drawer from '@mui/material/Drawer';
|
|
6
|
+
import { Box, IconButton } from '../../../index';
|
|
14
7
|
import { styled } from '@mui/material/styles';
|
|
15
8
|
import { motion } from '../../../utils/theme';
|
|
16
9
|
export var DRAWER_WIDTH = {
|
|
@@ -21,255 +14,75 @@ var ICON = {
|
|
|
21
14
|
Height: 40,
|
|
22
15
|
Width: 57
|
|
23
16
|
};
|
|
24
|
-
export var
|
|
25
|
-
background: 'transparent none',
|
|
26
|
-
border: 0,
|
|
27
|
-
boxShadow: 'none',
|
|
28
|
-
color: theme.palette.mode === 'dark'
|
|
29
|
-
? theme.palette.primary.contrastText
|
|
30
|
-
: theme.palette.getContrastText(theme.palette.background.paper),
|
|
31
|
-
overflow: 'visible !important',
|
|
32
|
-
transform: 'translateX(0) !important',
|
|
33
|
-
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
34
|
-
visibility: 'visible'
|
|
35
|
-
}); };
|
|
36
|
-
export var openedMixin = function () { return ({
|
|
37
|
-
boxShadow: 'none',
|
|
38
|
-
overflowX: 'visible',
|
|
39
|
-
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
40
|
-
width: DRAWER_WIDTH.Expanded
|
|
41
|
-
}); };
|
|
42
|
-
export var closedMixin = function (theme) {
|
|
43
|
-
var _a;
|
|
44
|
-
return (_a = {
|
|
45
|
-
boxShadow: theme.shadows[1],
|
|
46
|
-
overflowX: 'visible',
|
|
47
|
-
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
48
|
-
width: "calc(".concat(theme.spacing(7), " + 1px)")
|
|
49
|
-
},
|
|
50
|
-
_a[theme.breakpoints.up('sm')] = {
|
|
51
|
-
width: "calc(".concat(theme.spacing(8), " + 1px)")
|
|
52
|
-
},
|
|
53
|
-
_a);
|
|
54
|
-
};
|
|
55
|
-
export var DrawerHeader = styled('div')(function (_a) {
|
|
56
|
-
var _b;
|
|
57
|
-
var theme = _a.theme;
|
|
58
|
-
return (__assign(__assign({ alignItems: 'center', display: 'flex', justifyContent: 'flex-start', overflow: 'hidden', padding: "".concat(theme.spacing(1), " 10px 0") }, theme.mixins.toolbar), (_b = { backgroundColor: theme.palette.mode === 'dark'
|
|
59
|
-
? theme.palette.primary.main
|
|
60
|
-
: theme.palette.background.paper, minHeight: '56px !important' }, _b[theme.breakpoints.up('sm')] = {
|
|
61
|
-
minHeight: '64px !important'
|
|
62
|
-
}, _b)));
|
|
63
|
-
});
|
|
64
|
-
export var ListItem = styled(SSListItem)(function (_a) {
|
|
65
|
-
var theme = _a.theme;
|
|
66
|
-
return ({
|
|
67
|
-
alignItems: 'flex-start',
|
|
68
|
-
color: theme.palette.mode === 'dark'
|
|
69
|
-
? theme.palette.primary.contrastText
|
|
70
|
-
: theme.palette.getContrastText(theme.palette.background.paper),
|
|
71
|
-
overflow: 'hidden',
|
|
72
|
-
minHeight: 48,
|
|
73
|
-
'& .MuiListItemIcon-root': {
|
|
74
|
-
marginTop: theme.spacing(0.5)
|
|
75
|
-
},
|
|
76
|
-
'& .MuiListItemText-root .MuiTypography-root': {
|
|
77
|
-
whiteSpace: 'normal'
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
export var ListItemButton = styled(SSListItemButton, {
|
|
17
|
+
export var DrawerHeader = styled('div', {
|
|
82
18
|
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
83
|
-
})(function (
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
19
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n /* necessary for content to be below app bar */\n /* ...props.theme.mixins.toolbar */\n transition: width 225ms ", " ", ";\n\n /* Testing secondary nav fix ups */\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height 225ms ", " 0ms !important;\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n /* necessary for content to be below app bar */\n /* ...props.theme.mixins.toolbar */\n transition: width 225ms ", " ", ";\n\n /* Testing secondary nav fix ups */\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height 225ms ", " 0ms !important;\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
20
|
+
? props.theme.palette.primary.main
|
|
21
|
+
: props.theme.palette.background.paper; }, function (props) { return props.theme.spacing(1); }, motion.easeInOut, function (props) { return props.isDrawerOpen ? 0 : '250ms'; }, function (props) { return props.isDrawerOpen ? DRAWER_WIDTH.Expanded : "calc(".concat(props.theme.spacing(7), " + 1px)"); }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.isDrawerOpen ? DRAWER_WIDTH.Expanded : "calc(".concat(props.theme.spacing(8), " + 1px)"); }, function (props) { return props.theme.spacing(0.5); }, function (props) {
|
|
22
|
+
return props.theme.palette.mode === 'dark'
|
|
23
|
+
? props.theme.palette.primary.contrastText
|
|
24
|
+
: props.theme.palette.getContrastText(props.theme.palette.background.paper);
|
|
25
|
+
}, ICON.Height + 8, function (props) { return props.isDrawerOpen ? '200px' : "".concat(ICON.Height + 8, "px"); }, motion.easeInOut, function (props) { return props.isDrawerOpen ? '200px' : "".concat(ICON.Height + 8, "px"); });
|
|
26
|
+
export var DrawerToggle = styled(IconButton)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transform: translate(22px, calc(50% - 5.5px));\n transition: all 225ms ", " 0ms !important;\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"], ["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transform: translate(22px, calc(50% - 5.5px));\n transition: all 225ms ", " 0ms !important;\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"])), function (props) { return props.theme.spacing(2); }, motion.easeInOut, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.theme.spacing(2.5); });
|
|
27
|
+
export var DrawerToggleHitboxContent = styled('span')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"], ["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
28
|
+
? props.theme.palette.primary.main
|
|
29
|
+
: props.theme.palette.background.paper; }, function (props) { return props.theme.spacing(0.5); });
|
|
30
|
+
export var StyledAside = styled('aside')(templateObject_4 || (templateObject_4 = __makeTemplateObject([""], [""])));
|
|
31
|
+
export var StyledNav = styled('nav')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: -1px;\n overflow-x: hidden;\n overflow-y: auto;\n\n // Firefox and future scrollbars\n * & {\n scrollbar-width: thin;\n scrollbar-color: ", ";\n transition: backgroundColor 225ms ", ";\n }\n\n * &:hover {\n scrollbar-color: ", ";\n }\n\n // Webkit and fall back scrollbars\n ::-webkit-scrollbar {\n width: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 55px;\n transition: background-color 225ms ", ";\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: -1px;\n overflow-x: hidden;\n overflow-y: auto;\n\n // Firefox and future scrollbars\n * & {\n scrollbar-width: thin;\n scrollbar-color: ", ";\n transition: backgroundColor 225ms ", ";\n }\n\n * &:hover {\n scrollbar-color: ", ";\n }\n\n // Webkit and fall back scrollbars\n ::-webkit-scrollbar {\n width: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 55px;\n transition: background-color 225ms ", ";\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
32
|
+
? props.theme.palette.primary.main
|
|
33
|
+
: props.theme.palette.background.paper; }, function (props) {
|
|
34
|
+
return props.theme.palette.mode === 'dark'
|
|
35
|
+
? 'rgba(255, 255, 255, 0.12) transparent'
|
|
36
|
+
: 'rgba(0, 0, 0, 0.12) transparent';
|
|
37
|
+
}, motion.easeIn, function (props) {
|
|
38
|
+
return props.theme.palette.mode === 'dark'
|
|
39
|
+
? 'rgba(255, 255, 255, 0.24) transparent'
|
|
40
|
+
: 'rgba(0, 0, 0, 0.24) transparent';
|
|
41
|
+
}, function (props) {
|
|
42
|
+
return props.theme.palette.mode === 'dark'
|
|
43
|
+
? 'rgba(255, 255, 255, 0.12)'
|
|
44
|
+
: 'rgba(0, 0, 0, 0.12)';
|
|
45
|
+
}, motion.easeIn, function (props) {
|
|
46
|
+
return props.theme.palette.mode === 'dark'
|
|
47
|
+
? 'rgba(255, 255, 255, 0.24)'
|
|
48
|
+
: 'rgba(0, 0, 0, 0.24)';
|
|
104
49
|
});
|
|
105
|
-
export var
|
|
50
|
+
export var StyledNavSecondary = styled('nav')(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-end;\n margin-top: auto;\n overflow: hidden;\n"], ["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-end;\n margin-top: auto;\n overflow: hidden;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
51
|
+
? props.theme.palette.primary.main
|
|
52
|
+
: props.theme.palette.background.paper; });
|
|
53
|
+
export var StyledDivider = styled('div', {
|
|
106
54
|
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
107
|
-
})(function (
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
'& .MuiListItemIcon-root': {
|
|
115
|
-
justifyContent: 'center',
|
|
116
|
-
minWidth: 0,
|
|
117
|
-
margin: 0
|
|
118
|
-
},
|
|
119
|
-
'& .MuiAvatar-root': {
|
|
120
|
-
height: 32,
|
|
121
|
-
width: 32
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
export var ListItemIcon = styled(SSListItemIcon)(function (_a) {
|
|
126
|
-
var _b;
|
|
127
|
-
var theme = _a.theme;
|
|
128
|
-
return (_b = {
|
|
129
|
-
alignItems: 'center',
|
|
130
|
-
color: theme.palette.mode === 'dark'
|
|
131
|
-
? theme.palette.primary.contrastText
|
|
132
|
-
: theme.palette.getContrastText(theme.palette.background.paper),
|
|
133
|
-
height: ICON.Height + 8,
|
|
134
|
-
justifyContent: 'center',
|
|
135
|
-
marginTop: '0 !important',
|
|
136
|
-
minWidth: ICON.Width,
|
|
137
|
-
width: ICON.Width
|
|
138
|
-
},
|
|
139
|
-
_b[theme.breakpoints.up('sm')] = {
|
|
140
|
-
minWidth: ICON.Width + 8,
|
|
141
|
-
width: ICON.Width + 8
|
|
142
|
-
},
|
|
143
|
-
_b);
|
|
144
|
-
});
|
|
145
|
-
export var ListItemText = styled(SSListItemText, {
|
|
146
|
-
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen' && prop !== 'index'; }
|
|
147
|
-
})(function (_a) {
|
|
148
|
-
var isDrawerOpen = _a.isDrawerOpen, index = _a.index;
|
|
149
|
-
return ({
|
|
150
|
-
opacity: isDrawerOpen ? 1 : 0,
|
|
151
|
-
padding: '0.5rem',
|
|
152
|
-
transition: "opacity 225ms ".concat(motion.easeInOut, " ").concat(index !== undefined ? index / 50 : 0.02, "s !important")
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
export var DrawerToggle = styled(IconButton)(function (_a) {
|
|
156
|
-
var _b;
|
|
157
|
-
var theme = _a.theme;
|
|
158
|
-
return (_b = {
|
|
159
|
-
background: 'transparent',
|
|
160
|
-
height: '44px',
|
|
161
|
-
paddingLeft: theme.spacing(2),
|
|
162
|
-
paddingRight: theme.spacing(2),
|
|
163
|
-
position: 'fixed',
|
|
164
|
-
top: '80.5px',
|
|
165
|
-
transition: "all 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
166
|
-
width: '44px',
|
|
167
|
-
zIndex: theme.zIndex.drawer + 1
|
|
168
|
-
},
|
|
169
|
-
_b[theme.breakpoints.up('sm')] = {
|
|
170
|
-
paddingLeft: theme.spacing(2.5),
|
|
171
|
-
paddingRight: theme.spacing(2.5),
|
|
172
|
-
top: '88.5px'
|
|
173
|
-
},
|
|
174
|
-
_b);
|
|
175
|
-
});
|
|
176
|
-
export var DrawerToggleHitboxContent = styled('span')(function (_a) {
|
|
177
|
-
var theme = _a.theme;
|
|
178
|
-
return ({
|
|
179
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
180
|
-
? theme.palette.primary.main
|
|
181
|
-
: theme.palette.background.paper,
|
|
182
|
-
borderRadius: '50%',
|
|
183
|
-
boxShadow: '5px 0 15px 0 rgb(0 0 0 / 10%)',
|
|
184
|
-
height: '1.75rem',
|
|
185
|
-
padding: theme.spacing(0.5),
|
|
186
|
-
width: '1.75rem'
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
|
-
export var StyledAside = styled('aside')(function () { return ({}); });
|
|
190
|
-
export var StyledNav = styled('nav')(function (_a) {
|
|
191
|
-
var theme = _a.theme;
|
|
192
|
-
return ({
|
|
193
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
194
|
-
? theme.palette.primary.main
|
|
195
|
-
: theme.palette.background.paper,
|
|
196
|
-
display: 'flex',
|
|
197
|
-
flex: '1 auto',
|
|
198
|
-
flexDirection: 'column',
|
|
199
|
-
justifyContent: 'flex-start',
|
|
200
|
-
marginTop: '-1px',
|
|
201
|
-
overflow: 'hidden'
|
|
202
|
-
});
|
|
203
|
-
});
|
|
55
|
+
})(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n\n :before {\n background-color: ", ";\n border-radius: 55px;\n content: '';\n display: block;\n height: 2px;\n margin: auto;\n transition: all 225ms ", ";\n width: 66%;\n }\n"], ["\n background-color: ", ";\n\n :before {\n background-color: ", ";\n border-radius: 55px;\n content: '';\n display: block;\n height: 2px;\n margin: auto;\n transition: all 225ms ", ";\n width: 66%;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
56
|
+
? props.theme.palette.primary.main
|
|
57
|
+
: props.theme.palette.background.paper; }, function (props) {
|
|
58
|
+
return props.theme.palette.mode === 'dark'
|
|
59
|
+
? 'rgba(255, 255, 255, 0.075)'
|
|
60
|
+
: 'rgba(0, 0, 0, 0.075)';
|
|
61
|
+
}, motion.easeIn);
|
|
204
62
|
export var DrawerShadow = styled(Box, {
|
|
205
63
|
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
206
|
-
})(function (
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
display: 'block',
|
|
213
|
-
filter: 'blur(13px)',
|
|
214
|
-
height: '100%',
|
|
215
|
-
left: isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 41, "px"),
|
|
216
|
-
position: 'fixed',
|
|
217
|
-
top: '0',
|
|
218
|
-
transition: "left 225ms ".concat(motion.easeInOut, " 0ms"),
|
|
219
|
-
visibility: 'visible',
|
|
220
|
-
width: '40px'
|
|
221
|
-
},
|
|
222
|
-
_b[theme.breakpoints.up('sm')] = {
|
|
223
|
-
left: isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 33, "px")
|
|
224
|
-
},
|
|
225
|
-
_b);
|
|
226
|
-
});
|
|
227
|
-
export var NotchContainer = styled(Box)(function (_a) {
|
|
228
|
-
var theme = _a.theme;
|
|
229
|
-
return ({
|
|
230
|
-
display: 'flex',
|
|
231
|
-
justifyContent: 'flex-end',
|
|
232
|
-
height: 'auto',
|
|
233
|
-
marginTop: "-".concat(theme.spacing(0.5)),
|
|
234
|
-
position: 'relative',
|
|
235
|
-
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
236
|
-
width: '100%',
|
|
237
|
-
zIndex: '-1'
|
|
238
|
-
});
|
|
239
|
-
});
|
|
240
|
-
export var NotchBackground = styled(Box)(function (_a) {
|
|
241
|
-
var theme = _a.theme;
|
|
242
|
-
return ({
|
|
243
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
244
|
-
? theme.palette.primary.main
|
|
245
|
-
: theme.palette.background.paper,
|
|
246
|
-
flex: '1',
|
|
247
|
-
height: 'auto',
|
|
248
|
-
width: 'auto'
|
|
249
|
-
});
|
|
250
|
-
});
|
|
251
|
-
export var NotchBackgroundClip = styled(Box)(function (_a) {
|
|
252
|
-
var theme = _a.theme;
|
|
253
|
-
return ({
|
|
254
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
255
|
-
? theme.palette.primary.main
|
|
256
|
-
: theme.palette.background.paper,
|
|
257
|
-
clipPath: 'url("#notch")',
|
|
258
|
-
display: 'flex',
|
|
259
|
-
height: '85px',
|
|
260
|
-
width: '45px'
|
|
261
|
-
});
|
|
262
|
-
});
|
|
263
|
-
export var NotchSeemMask = styled(Box)(function (_a) {
|
|
264
|
-
var theme = _a.theme;
|
|
265
|
-
return ({
|
|
266
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
267
|
-
? theme.palette.primary.main
|
|
268
|
-
: theme.palette.background.paper,
|
|
269
|
-
height: '90px',
|
|
270
|
-
position: 'absolute',
|
|
271
|
-
right: '25px',
|
|
272
|
-
top: '-2px',
|
|
273
|
-
width: 'calc(100% - 25px)'
|
|
274
|
-
});
|
|
64
|
+
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left 225ms ", " 0ms;\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"], ["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left 225ms ", " 0ms;\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"])), function (props) { return props.isDrawerOpen
|
|
65
|
+
? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
|
|
66
|
+
: "".concat(DRAWER_WIDTH.Collapsed - 41, "px"); }, motion.easeInOut, function (props) { return props.theme.breakpoints.values.sm; }, function (props) {
|
|
67
|
+
return props.isDrawerOpen
|
|
68
|
+
? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
|
|
69
|
+
: "".concat(DRAWER_WIDTH.Collapsed - 33, "px");
|
|
275
70
|
});
|
|
71
|
+
export var NotchContainer = styled(Box)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width 225ms ", " 0ms !important;\n width: 100%;\n z-index: 9;\n"], ["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width 225ms ", " 0ms !important;\n width: 100%;\n z-index: 9;\n"])), function (props) { return props.theme.spacing(0.5); }, motion.easeInOut);
|
|
72
|
+
export var NotchBackground = styled(Box)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"], ["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
73
|
+
? props.theme.palette.primary.main
|
|
74
|
+
: props.theme.palette.background.paper; });
|
|
75
|
+
export var NotchBackgroundClip = styled(Box)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"], ["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
76
|
+
? props.theme.palette.primary.main
|
|
77
|
+
: props.theme.palette.background.paper; });
|
|
78
|
+
export var NotchSeemMask = styled(Box)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"], ["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
79
|
+
? props.theme.palette.primary.main
|
|
80
|
+
: props.theme.palette.background.paper; });
|
|
81
|
+
export var StyledDrawer = styled(Drawer, {
|
|
82
|
+
shouldForwardProp: function (prop) { return prop !== 'open'; }
|
|
83
|
+
})(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width 225ms ", " 0ms !important;\n white-space: nowrap;\n width: ", ";\n\n @media (min-width: ", ") {\n width: ", ";\n }\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width 225ms ", " 0ms !important;\n visibility: visible;\n width: ", ";\n \n [theme.breakpoints.up('sm')] {\n width: ", ";\n }\n }\n"], ["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width 225ms ", " 0ms !important;\n white-space: nowrap;\n width: ", ";\n\n @media (min-width: ", ") {\n width: ", ";\n }\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width 225ms ", " 0ms !important;\n visibility: visible;\n width: ", ";\n \n [theme.breakpoints.up('sm')] {\n width: ", ";\n }\n }\n"])), motion.easeInOut, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(8), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) {
|
|
84
|
+
return props.theme.palette.mode === 'dark'
|
|
85
|
+
? props.theme.palette.primary.contrastText
|
|
86
|
+
: props.theme.palette.getContrastText(props.theme.palette.background.paper);
|
|
87
|
+
}, motion.easeInOut, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(8), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); });
|
|
88
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
package/package.json
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"components",
|
|
10
10
|
"ui"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.6.0-beta.3",
|
|
13
13
|
"private": false,
|
|
14
14
|
"main": "index.js",
|
|
15
15
|
"module": "index.js",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@emotion/react": "^11.7.1",
|
|
18
18
|
"@emotion/styled": "^11.6.0",
|
|
19
|
-
"@learningpool/app-switcher": "1.0
|
|
19
|
+
"@learningpool/app-switcher": "1.1.0-beta.2",
|
|
20
20
|
"@mui/icons-material": "^5.8.4",
|
|
21
21
|
"@mui/material": "^5.8.5",
|
|
22
22
|
"@mui/x-data-grid": "^5.12.3",
|