@learningpool/ui 1.3.0-beta.3 → 1.4.0-beta.10
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/{license → LICENSE} +0 -0
- package/{readme.md → README.md} +9 -8
- package/assets/Images.d.ts +3 -0
- package/assets/Images.js +1 -0
- package/components/atoms/Autocomplete/Autocomplete.js +1 -2
- package/components/atoms/Button/Button.js +1 -2
- package/components/atoms/Checkbox/Checkbox.js +1 -2
- package/components/atoms/IconButton/IconButton.js +1 -2
- package/components/atoms/Radio/Radio.js +1 -2
- package/components/atoms/Select/Select.js +1 -2
- package/components/atoms/Slider/Slider.js +1 -2
- package/components/atoms/Switch/Switch.js +1 -2
- package/components/atoms/TextField/TextField.js +1 -2
- package/components/atoms/ToggleButton/ToggleButton.js +1 -2
- package/components/datadisplay/Chip/Chip.js +1 -2
- package/components/datadisplay/List/List.js +1 -2
- package/components/datadisplay/Tooltip/Tooltip.js +1 -2
- package/components/feedback/Alert/Alert.js +1 -2
- package/components/navigation/Drawer/Drawer.d.ts +1 -1
- package/components/navigation/VerticalNavigation/VerticalNavigation.js +93 -147
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +77 -23
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +185 -56
- package/components/pages/ErrorPage/ErrorPage.d.ts +8 -0
- package/components/pages/ErrorPage/ErrorPage.js +27 -0
- package/components/pages/ErrorPage/ErrorPageStyles.d.ts +28 -0
- package/components/pages/ErrorPage/ErrorPageStyles.js +32 -0
- package/components/pages/SideInSide/SideInSideStyles.d.ts +8 -3
- package/index.d.ts +119 -9
- package/index.js +130 -11
- package/package.json +13 -81
- package/utils/theme.d.ts +6 -0
- package/utils/theme.js +8 -2
- package/components/atoms/Autocomplete/AutocompleteStyles.d.ts +0 -7
- package/components/atoms/Autocomplete/AutocompleteStyles.js +0 -2
- package/components/atoms/Button/ButtonStyles.d.ts +0 -7
- package/components/atoms/Button/ButtonStyles.js +0 -2
- package/components/atoms/Checkbox/CheckboxStyles.d.ts +0 -7
- package/components/atoms/Checkbox/CheckboxStyles.js +0 -2
- package/components/atoms/IconButton/IconButtonStyles.d.ts +0 -7
- package/components/atoms/IconButton/IconButtonStyles.js +0 -2
- package/components/atoms/Radio/RadioStyles.d.ts +0 -7
- package/components/atoms/Radio/RadioStyles.js +0 -2
- package/components/atoms/Select/SelectStyles.d.ts +0 -7
- package/components/atoms/Select/SelectStyles.js +0 -2
- package/components/atoms/Slider/SliderStyles.d.ts +0 -7
- package/components/atoms/Slider/SliderStyles.js +0 -2
- package/components/atoms/Switch/SwitchStyles.d.ts +0 -7
- package/components/atoms/Switch/SwitchStyles.js +0 -2
- package/components/atoms/TextField/TextFieldStyles.d.ts +0 -7
- package/components/atoms/TextField/TextFieldStyles.js +0 -2
- package/components/atoms/ToggleButton/ToggleButtonStyles.d.ts +0 -7
- package/components/atoms/ToggleButton/ToggleButtonStyles.js +0 -2
- package/components/datadisplay/Chip/ChipStyles.d.ts +0 -7
- package/components/datadisplay/Chip/ChipStyles.js +0 -2
- package/components/datadisplay/List/ListStyles.d.ts +0 -7
- package/components/datadisplay/List/ListStyles.js +0 -2
- package/components/datadisplay/Tooltip/TooltipStyles.d.ts +0 -7
- package/components/datadisplay/Tooltip/TooltipStyles.js +0 -2
- package/components/feedback/Alert/AlertStyles.d.ts +0 -7
- package/components/feedback/Alert/AlertStyles.js +0 -2
|
@@ -7,7 +7,7 @@ export declare const DRAWER_WIDTH: {
|
|
|
7
7
|
Expanded: number;
|
|
8
8
|
};
|
|
9
9
|
export declare const paperStyles: (theme: Theme) => CSSObject;
|
|
10
|
-
export declare const openedMixin: (
|
|
10
|
+
export declare const openedMixin: () => CSSObject;
|
|
11
11
|
export declare const closedMixin: (theme: Theme) => CSSObject;
|
|
12
12
|
export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
13
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
@@ -21,17 +21,8 @@ export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
|
21
21
|
} | undefined;
|
|
22
22
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
23
23
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
24
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "
|
|
25
|
-
export declare const
|
|
26
|
-
children?: import("react").ReactNode;
|
|
27
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
28
|
-
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "default" | undefined;
|
|
29
|
-
disabled?: boolean | undefined;
|
|
30
|
-
disableFocusRipple?: boolean | undefined;
|
|
31
|
-
edge?: false | "end" | "start" | undefined;
|
|
32
|
-
size?: "small" | "large" | "medium" | undefined;
|
|
33
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
34
|
-
} & Omit<{
|
|
24
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "divider" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
25
|
+
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
35
26
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
36
27
|
centerRipple?: boolean | undefined;
|
|
37
28
|
children?: import("react").ReactNode;
|
|
@@ -47,11 +38,12 @@ export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
|
47
38
|
tabIndex?: number | undefined;
|
|
48
39
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
49
40
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
50
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").
|
|
51
|
-
ref?: ((instance:
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
42
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
43
|
+
}, "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> & {
|
|
44
|
+
isDrawerOpen?: any;
|
|
45
|
+
}, {}, {}>;
|
|
46
|
+
export declare const ListItemAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
55
47
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
56
48
|
centerRipple?: boolean | undefined;
|
|
57
49
|
children?: import("react").ReactNode;
|
|
@@ -69,8 +61,28 @@ export declare const ListItemButton: import("@emotion/styled").StyledComponent<i
|
|
|
69
61
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
70
62
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
71
63
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
72
|
-
}, "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
|
|
73
|
-
|
|
64
|
+
}, "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> & {
|
|
65
|
+
isDrawerOpen?: any;
|
|
66
|
+
} & {
|
|
67
|
+
children?: import("react").ReactNode;
|
|
68
|
+
} & {
|
|
69
|
+
isDrawerOpen?: any;
|
|
70
|
+
}, {}, {}>;
|
|
71
|
+
export declare const ListItemIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
72
|
+
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> & {
|
|
73
|
+
isDrawerOpen?: any;
|
|
74
|
+
index?: number | undefined;
|
|
75
|
+
}, {}, {}>;
|
|
76
|
+
export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
77
|
+
children?: import("react").ReactNode;
|
|
78
|
+
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
79
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "default" | undefined;
|
|
80
|
+
disabled?: boolean | undefined;
|
|
81
|
+
disableFocusRipple?: boolean | undefined;
|
|
82
|
+
edge?: false | "end" | "start" | undefined;
|
|
83
|
+
size?: "small" | "large" | "medium" | undefined;
|
|
84
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
85
|
+
} & Omit<{
|
|
74
86
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
75
87
|
centerRipple?: boolean | undefined;
|
|
76
88
|
children?: import("react").ReactNode;
|
|
@@ -86,9 +98,51 @@ export declare const ListItemAvatar: import("@emotion/styled").StyledComponent<i
|
|
|
86
98
|
tabIndex?: number | undefined;
|
|
87
99
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
88
100
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
89
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").
|
|
90
|
-
ref?: ((instance:
|
|
91
|
-
},
|
|
101
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
102
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
103
|
+
}, 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>, {}, {}>;
|
|
104
|
+
export declare const DrawerToggleHitboxContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
105
|
+
export declare const StyledAside: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
106
|
+
export declare const StyledNav: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
107
|
+
export declare const DrawerShadow: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
92
108
|
children?: import("react").ReactNode;
|
|
109
|
+
component?: import("react").ElementType<any> | undefined;
|
|
110
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
111
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
112
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
113
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
114
|
+
}, 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> & {
|
|
115
|
+
isDrawerOpen?: any;
|
|
93
116
|
}, {}, {}>;
|
|
94
|
-
export declare const
|
|
117
|
+
export declare const NotchContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
118
|
+
children?: import("react").ReactNode;
|
|
119
|
+
component?: import("react").ElementType<any> | undefined;
|
|
120
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
121
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
122
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
123
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
124
|
+
}, 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>, {}, {}>;
|
|
125
|
+
export declare const NotchBackground: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
126
|
+
children?: import("react").ReactNode;
|
|
127
|
+
component?: import("react").ElementType<any> | undefined;
|
|
128
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
129
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
130
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
131
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
132
|
+
}, 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>, {}, {}>;
|
|
133
|
+
export declare const NotchBackgroundClip: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
134
|
+
children?: import("react").ReactNode;
|
|
135
|
+
component?: import("react").ElementType<any> | undefined;
|
|
136
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
137
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
138
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
139
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
140
|
+
}, 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>, {}, {}>;
|
|
141
|
+
export declare const NotchSeemMask: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
142
|
+
children?: import("react").ReactNode;
|
|
143
|
+
component?: import("react").ElementType<any> | undefined;
|
|
144
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
145
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
146
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
147
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
148
|
+
}, 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>, {}, {}>;
|
|
@@ -9,45 +9,53 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { ListItem as SSListItem, ListItemButton as SSListItemButton, ListItemIcon as SSListItemIcon, IconButton } from '../../../index';
|
|
12
|
+
import { ListItem as SSListItem, ListItemButton as SSListItemButton, ListItemText as SSListItemText, ListItemIcon as SSListItemIcon, IconButton } from '../../../index';
|
|
13
|
+
import { Box } from '@mui/material';
|
|
13
14
|
import { styled } from '@mui/material/styles';
|
|
15
|
+
import { motion } from '../../../utils/theme';
|
|
14
16
|
export var DRAWER_WIDTH = {
|
|
15
17
|
Collapsed: 60,
|
|
16
|
-
Expanded:
|
|
18
|
+
Expanded: 300
|
|
19
|
+
};
|
|
20
|
+
var ICON = {
|
|
21
|
+
Height: 40,
|
|
22
|
+
Width: 57
|
|
17
23
|
};
|
|
18
24
|
export var paperStyles = function (theme) { return ({
|
|
19
|
-
|
|
20
|
-
? theme.palette.primary.main
|
|
21
|
-
: theme.palette.background.paper,
|
|
25
|
+
background: 'transparent none',
|
|
22
26
|
border: 0,
|
|
27
|
+
boxShadow: 'none',
|
|
23
28
|
color: theme.palette.mode === 'dark'
|
|
24
29
|
? theme.palette.primary.contrastText
|
|
25
30
|
: theme.palette.getContrastText(theme.palette.background.paper),
|
|
26
|
-
|
|
31
|
+
overflow: 'visible !important',
|
|
32
|
+
transform: 'translateX(0) !important',
|
|
33
|
+
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
34
|
+
visibility: 'visible'
|
|
27
35
|
}); };
|
|
28
|
-
export var openedMixin = function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
|
33
41
|
}); };
|
|
34
42
|
export var closedMixin = function (theme) {
|
|
35
43
|
var _a;
|
|
36
44
|
return (_a = {
|
|
37
|
-
|
|
45
|
+
boxShadow: theme.shadows[1],
|
|
46
|
+
overflowX: 'visible',
|
|
47
|
+
transition: "width 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
38
48
|
width: "calc(".concat(theme.spacing(7), " + 1px)")
|
|
39
49
|
},
|
|
40
50
|
_a[theme.breakpoints.up('sm')] = {
|
|
41
51
|
width: "calc(".concat(theme.spacing(8), " + 1px)")
|
|
42
52
|
},
|
|
43
|
-
_a.overflowX = 'hidden',
|
|
44
|
-
_a.boxShadow = theme.shadows[1],
|
|
45
53
|
_a);
|
|
46
54
|
};
|
|
47
55
|
export var DrawerHeader = styled('div')(function (_a) {
|
|
48
56
|
var _b;
|
|
49
57
|
var theme = _a.theme;
|
|
50
|
-
return (__assign(__assign({
|
|
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'
|
|
51
59
|
? theme.palette.primary.main
|
|
52
60
|
: theme.palette.background.paper, minHeight: '56px !important' }, _b[theme.breakpoints.up('sm')] = {
|
|
53
61
|
minHeight: '64px !important'
|
|
@@ -56,36 +64,113 @@ export var DrawerHeader = styled('div')(function (_a) {
|
|
|
56
64
|
export var ListItem = styled(SSListItem)(function (_a) {
|
|
57
65
|
var theme = _a.theme;
|
|
58
66
|
return ({
|
|
67
|
+
alignItems: 'flex-start',
|
|
59
68
|
color: theme.palette.mode === 'dark'
|
|
60
69
|
? theme.palette.primary.contrastText
|
|
61
|
-
: theme.palette.getContrastText(theme.palette.background.paper)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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, {
|
|
82
|
+
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
83
|
+
})(function (_a) {
|
|
84
|
+
var _b;
|
|
85
|
+
var theme = _a.theme, isDrawerOpen = _a.isDrawerOpen;
|
|
86
|
+
return (_b = {
|
|
87
|
+
alignItems: 'flex-start',
|
|
88
|
+
color: theme.palette.mode === 'dark'
|
|
89
|
+
? theme.palette.primary.contrastText
|
|
90
|
+
: theme.palette.getContrastText(theme.palette.background.paper),
|
|
91
|
+
display: 'flex',
|
|
92
|
+
minHeight: 48,
|
|
93
|
+
maxHeight: isDrawerOpen ? '200px' : ICON.Height + 8,
|
|
94
|
+
textDecoration: 'none',
|
|
95
|
+
textTransform: 'none',
|
|
96
|
+
transition: "max-height 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
97
|
+
padding: 0,
|
|
98
|
+
width: '100%'
|
|
99
|
+
},
|
|
100
|
+
_b[theme.breakpoints.up('sm')] = {
|
|
101
|
+
maxHeight: isDrawerOpen ? '200px' : ICON.Height + 8
|
|
102
|
+
},
|
|
103
|
+
_b);
|
|
104
|
+
});
|
|
105
|
+
export var ListItemAvatar = styled(ListItemButton, {
|
|
106
|
+
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
107
|
+
})(function (_a) {
|
|
108
|
+
var isDrawerOpen = _a.isDrawerOpen;
|
|
109
|
+
return ({
|
|
110
|
+
alignItems: 'center',
|
|
111
|
+
minHeight: 52,
|
|
112
|
+
maxHeight: isDrawerOpen ? '200px' : '48px',
|
|
113
|
+
transition: "max-height 225ms ".concat(motion.easeInOut, " 0ms !important"),
|
|
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")
|
|
68
153
|
});
|
|
69
154
|
});
|
|
70
155
|
export var DrawerToggle = styled(IconButton)(function (_a) {
|
|
71
156
|
var _b;
|
|
72
157
|
var theme = _a.theme;
|
|
73
158
|
return (_b = {
|
|
74
|
-
width: '44px',
|
|
75
|
-
height: '44px',
|
|
76
|
-
position: 'fixed',
|
|
77
|
-
zIndex: theme.zIndex.drawer + 1,
|
|
78
159
|
background: 'transparent',
|
|
160
|
+
height: '44px',
|
|
79
161
|
paddingLeft: theme.spacing(2),
|
|
80
162
|
paddingRight: theme.spacing(2),
|
|
81
|
-
|
|
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
|
|
82
168
|
},
|
|
83
169
|
_b[theme.breakpoints.up('sm')] = {
|
|
84
170
|
paddingLeft: theme.spacing(2.5),
|
|
85
171
|
paddingRight: theme.spacing(2.5),
|
|
86
172
|
top: '88.5px'
|
|
87
173
|
},
|
|
88
|
-
_b.transition = 'left 225ms cubic-bezier(0, 0, 0.2, 1) 0ms !important',
|
|
89
174
|
_b);
|
|
90
175
|
});
|
|
91
176
|
export var DrawerToggleHitboxContent = styled('span')(function (_a) {
|
|
@@ -101,46 +186,90 @@ export var DrawerToggleHitboxContent = styled('span')(function (_a) {
|
|
|
101
186
|
width: '1.75rem'
|
|
102
187
|
});
|
|
103
188
|
});
|
|
104
|
-
export var
|
|
105
|
-
|
|
189
|
+
export var StyledAside = styled('aside')(function () { return ({}); });
|
|
190
|
+
export var StyledNav = styled('nav')(function (_a) {
|
|
106
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
|
+
});
|
|
204
|
+
export var DrawerShadow = styled(Box, {
|
|
205
|
+
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
206
|
+
})(function (_a) {
|
|
207
|
+
var _b;
|
|
208
|
+
var theme = _a.theme, isDrawerOpen = _a.isDrawerOpen;
|
|
107
209
|
return (_b = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
210
|
+
background: 'rgba(0,0,0,0.125)',
|
|
211
|
+
content: '""',
|
|
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'
|
|
116
221
|
},
|
|
117
222
|
_b[theme.breakpoints.up('sm')] = {
|
|
118
|
-
|
|
119
|
-
paddingRight: theme.spacing(2.5)
|
|
223
|
+
left: isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 33, "px")
|
|
120
224
|
},
|
|
121
|
-
_b.width = '100%',
|
|
122
225
|
_b);
|
|
123
226
|
});
|
|
124
|
-
export var
|
|
227
|
+
export var NotchContainer = styled(Box)(function (_a) {
|
|
125
228
|
var theme = _a.theme;
|
|
126
229
|
return ({
|
|
127
|
-
|
|
128
|
-
'
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
width: 32
|
|
136
|
-
}
|
|
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'
|
|
137
238
|
});
|
|
138
239
|
});
|
|
139
|
-
export var
|
|
240
|
+
export var NotchBackground = styled(Box)(function (_a) {
|
|
140
241
|
var theme = _a.theme;
|
|
141
242
|
return ({
|
|
142
|
-
|
|
143
|
-
? theme.palette.primary.
|
|
144
|
-
: theme.palette.
|
|
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)'
|
|
145
274
|
});
|
|
146
275
|
});
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { LearningPoolLogo } from '../../../assets/Images';
|
|
14
|
+
import CssBaseline from '@mui/material/CssBaseline';
|
|
15
|
+
import Typography from '@mui/material/Typography';
|
|
16
|
+
import { createTheme, ThemeProvider } from '@mui/material/styles';
|
|
17
|
+
import { StyledContainer, StyledBox, StyledLogoBox } from './ErrorPageStyles';
|
|
18
|
+
export default function ErrorPage(props) {
|
|
19
|
+
var errorCode = props.errorCode, errorTitle = props.errorTitle, errorMessage = props.errorMessage;
|
|
20
|
+
var theme = createTheme();
|
|
21
|
+
return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsxs(StyledContainer, __assign({ component: 'main' }, { children: [_jsx(CssBaseline, {}), _jsxs(StyledBox, { children: [_jsxs(Typography, __assign({ component: 'h1', variant: 'h4', sx: {
|
|
22
|
+
mb: 2
|
|
23
|
+
} }, { children: [errorCode ? (_jsxs("span", { children: [errorCode, " | "] })) : '', _jsx("span", { children: errorTitle })] })), _jsx(Typography, __assign({ variant: 'body1', sx: {
|
|
24
|
+
color: 'text.secondary',
|
|
25
|
+
mb: 3
|
|
26
|
+
} }, { children: errorMessage }))] }), _jsx(StyledLogoBox, { children: _jsx(LearningPoolLogo, { inheritViewBox: true, style: { width: '200px', height: '45px' } }) })] })) })));
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-addons-linked-state-mixin" />
|
|
3
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
classes?: Partial<import("@mui/material/Container").ContainerClasses> | undefined;
|
|
6
|
+
disableGutters?: boolean | undefined;
|
|
7
|
+
fixed?: boolean | undefined;
|
|
8
|
+
maxWidth?: false | import("@mui/material/styles").Breakpoint | undefined;
|
|
9
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
10
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "fixed" | "maxWidth" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
13
|
+
export declare const StyledBox: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
component?: import("react").ElementType<any> | undefined;
|
|
16
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
17
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
18
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
+
}, 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>, {}, {}>;
|
|
21
|
+
export declare const StyledLogoBox: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
component?: import("react").ElementType<any> | undefined;
|
|
24
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
25
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
26
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
27
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
}, 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>, {}, {}>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Box from '@mui/material/Box';
|
|
2
|
+
import Container from '@mui/material/Container';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
export var StyledContainer = styled(Container)(function () { return ({
|
|
5
|
+
display: 'flex',
|
|
6
|
+
flexDirection: 'column',
|
|
7
|
+
height: '100vh',
|
|
8
|
+
textAlign: 'center'
|
|
9
|
+
}); });
|
|
10
|
+
export var StyledBox = styled(Box)(function () { return ({
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flex: '1',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
height: '100%',
|
|
16
|
+
justifyContent: 'center',
|
|
17
|
+
overflow: 'hidden'
|
|
18
|
+
}); });
|
|
19
|
+
export var StyledLogoBox = styled(Box)(function (_a) {
|
|
20
|
+
var _b;
|
|
21
|
+
var theme = _a.theme;
|
|
22
|
+
return (_b = {
|
|
23
|
+
alignSelf: 'center',
|
|
24
|
+
marginRight: 0,
|
|
25
|
+
marginBottom: theme.spacing(5)
|
|
26
|
+
},
|
|
27
|
+
_b[theme.breakpoints.up('md')] = {
|
|
28
|
+
alignSelf: 'flex-end',
|
|
29
|
+
marginRight: theme.spacing(5)
|
|
30
|
+
},
|
|
31
|
+
_b);
|
|
32
|
+
});
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
export declare const SideInSideStyles: (params: void
|
|
2
|
+
export declare const SideInSideStyles: (params: void, styleOverrides?: {
|
|
3
|
+
props: {
|
|
4
|
+
classes?: Record<string, string> | undefined;
|
|
5
|
+
} & Record<string, unknown>;
|
|
6
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
7
|
+
} | undefined) => {
|
|
3
8
|
classes: Record<"root" | "pageBackgroundContainer" | "pageBackgroundLogoContainer" | "pageBackgroundLogo" | "contentPanel" | "contentPanelImageContainer" | "contentPanelImage" | "submitButton" | "streamHomeButton" | "footerContent", string>;
|
|
4
9
|
theme: Theme;
|
|
5
|
-
css: import("tss-react").Css;
|
|
6
|
-
cx: import("tss-react").Cx;
|
|
10
|
+
css: import("tss-react/types").Css;
|
|
11
|
+
cx: import("tss-react/types").Cx;
|
|
7
12
|
};
|