@learningpool/ui 1.4.0 → 1.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{license → LICENSE} +0 -0
- package/{readme.md → README.md} +8 -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.d.ts +1 -1
- 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.d.ts +3 -0
- package/components/navigation/VerticalNavigation/VerticalNavigation.js +89 -146
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +77 -24
- 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 +27 -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 +11 -83
- 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/Avatar/AvatarStyles.d.ts +0 -7
- package/components/datadisplay/Avatar/AvatarStyles.js +0 -14
- 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
|
@@ -9,30 +9,46 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
13
|
-
import React from 'react';
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import React, { useEffect } from 'react';
|
|
14
14
|
import { styled, useTheme } from '@mui/material/styles';
|
|
15
15
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
16
|
-
import { Avatar, Drawer
|
|
16
|
+
import { Avatar, Drawer, Modal, List, Tooltip } from '../../../index';
|
|
17
17
|
import { Box, Link } from '@mui/material';
|
|
18
18
|
import MailIcon from '@mui/icons-material/Mail';
|
|
19
|
-
import { StreamSuiteLogo } from '../../../assets/Images';
|
|
19
|
+
import { StreamSuiteLogo, NotchSVG } from '../../../assets/Images';
|
|
20
20
|
import { AppSwitcher } from '@learningpool/app-switcher';
|
|
21
21
|
import { ChevronLeft, ChevronRight } from '@mui/icons-material';
|
|
22
|
-
import { DRAWER_WIDTH,
|
|
23
|
-
var
|
|
22
|
+
import { DRAWER_WIDTH, DrawerHeader, ListItem, DrawerToggle, DrawerToggleHitboxContent, ListItemButton, ListItemAvatar, ListItemIcon, ListItemText, StyledNav, DrawerShadow, StyledAside, NotchContainer, NotchBackground, NotchBackgroundClip, NotchSeemMask, paperStyles, closedMixin, openedMixin } from './VerticalNavigationStyles';
|
|
23
|
+
var StyledDrawer = styled(Drawer)(function (_a) {
|
|
24
24
|
var theme = _a.theme, open = _a.open;
|
|
25
|
-
return (__assign(__assign({
|
|
25
|
+
return (__assign(__assign({ boxShadow: 'none', boxSizing: 'border-box', flexShrink: 0, whiteSpace: 'nowrap', width: DRAWER_WIDTH.Expanded }, (open && __assign(__assign({}, openedMixin()), { '& .MuiDrawer-paper': __assign(__assign({}, paperStyles(theme)), openedMixin()) }))), (!open && __assign(__assign({}, closedMixin(theme)), { '& .MuiDrawer-paper': __assign(__assign({}, paperStyles(theme)), closedMixin(theme)) }))));
|
|
26
26
|
});
|
|
27
27
|
var VerticalNavigation = function (props) {
|
|
28
|
-
var _a;
|
|
28
|
+
var _a, _b;
|
|
29
29
|
var theme = useTheme();
|
|
30
|
-
var items = props.items, secondaryItems = props.secondaryItems, hasStreamHome = props.hasStreamHome, logo = props.logo, logoText = props.logoText;
|
|
30
|
+
var items = props.items, secondaryItems = props.secondaryItems, hasStreamHome = props.hasStreamHome, logo = props.logo, logoText = props.logoText, streamHomeApiKey = props.streamHomeApiKey, streamHomeBaseUrl = props.streamHomeBaseUrl, streamHomeAccessToken = props.streamHomeAccessToken;
|
|
31
|
+
var propIsDrawerOpen = typeof (props === null || props === void 0 ? void 0 : props.isDrawerOpen) === 'boolean' ? props.isDrawerOpen : undefined;
|
|
31
32
|
var avatarName = (_a = props === null || props === void 0 ? void 0 : props.avatarName) !== null && _a !== void 0 ? _a : 'Avatar name';
|
|
32
|
-
var
|
|
33
|
+
var _c = React.useState(propIsDrawerOpen !== null && propIsDrawerOpen !== void 0 ? propIsDrawerOpen : false), isDrawerOpen = _c[0], setIsDrawerOpen = _c[1];
|
|
33
34
|
var isMediumAndUp = useMediaQuery(theme.breakpoints.up('sm'));
|
|
34
35
|
var logoHeight = isMediumAndUp ? '46px' : '38px';
|
|
35
36
|
var logoWidth = isMediumAndUp ? '46px' : '38px';
|
|
37
|
+
useEffect(function () { return setIsDrawerOpen(propIsDrawerOpen !== null && propIsDrawerOpen !== void 0 ? propIsDrawerOpen : false); }, [propIsDrawerOpen]);
|
|
38
|
+
useEffect(function () { return setAvatarInitials(handleAvatarInitials(avatarName)); }, [avatarName]);
|
|
39
|
+
var handleAvatarInitials = function (avatarName) {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
var firstInitial = avatarName.split('')[0] || '';
|
|
42
|
+
var secondInitial = '';
|
|
43
|
+
if (((_a = avatarName.split(' ')) === null || _a === void 0 ? void 0 : _a.length) > 1) {
|
|
44
|
+
firstInitial = avatarName.split(' ')[0][0];
|
|
45
|
+
if (((_b = avatarName.split(' ')[1]) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
46
|
+
secondInitial = avatarName === null || avatarName === void 0 ? void 0 : avatarName.split(' ')[1][0];
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return "".concat(firstInitial).concat(secondInitial);
|
|
50
|
+
};
|
|
51
|
+
var _d = React.useState((_b = handleAvatarInitials(avatarName)) !== null && _b !== void 0 ? _b : 'AN'), avatarInitials = _d[0], setAvatarInitials = _d[1];
|
|
36
52
|
var toggleDrawer = function (open) { return function (event) {
|
|
37
53
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
38
54
|
if (event.type === 'keydown') {
|
|
@@ -42,23 +58,17 @@ var VerticalNavigation = function (props) {
|
|
|
42
58
|
}
|
|
43
59
|
setIsDrawerOpen(open !== null && open !== void 0 ? open : !isDrawerOpen);
|
|
44
60
|
}; };
|
|
45
|
-
var listContent = function () {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
, __assign({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
flexDirection: 'column',
|
|
57
|
-
justifyContent: 'flex-start'
|
|
58
|
-
} }, { children: [_jsxs(DrawerHeader, { children: [logo
|
|
59
|
-
? (_jsx("img", { src: logo, height: logoHeight, width: logoWidth, style: {
|
|
60
|
-
marginRight: isMediumAndUp ? '20px' : '24px'
|
|
61
|
-
}, alt: "Site Logo" }))
|
|
61
|
+
var listContent = function () { return (_jsxs(Box, __assign({ sx: {
|
|
62
|
+
display: 'flex',
|
|
63
|
+
flex: '1 auto',
|
|
64
|
+
flexDirection: 'column',
|
|
65
|
+
justifyContent: 'flex-start'
|
|
66
|
+
} }, { children: [_jsxs(DrawerHeader, { children: [_jsx(Tooltip, __assign({ disableHoverListener: isDrawerOpen, disableFocusListener: isDrawerOpen, disableTouchListener: isDrawerOpen, title: logoText !== null && logoText !== void 0 ? logoText : '', placement: theme.direction === 'rtl' ? 'left' : 'right' }, { children: logo
|
|
67
|
+
? typeof logo === 'string'
|
|
68
|
+
? (_jsx("img", { src: logo, height: logoHeight, width: logoWidth, style: {
|
|
69
|
+
marginRight: isMediumAndUp ? '20px' : '24px'
|
|
70
|
+
}, alt: "Site Logo" }))
|
|
71
|
+
: logo
|
|
62
72
|
: (_jsx(StreamSuiteLogo, { style: {
|
|
63
73
|
height: logoHeight,
|
|
64
74
|
width: logoWidth,
|
|
@@ -66,129 +76,62 @@ var VerticalNavigation = function (props) {
|
|
|
66
76
|
fill: theme.palette.mode === 'dark'
|
|
67
77
|
? theme.palette.primary.contrastText
|
|
68
78
|
: theme.palette.primary.main
|
|
69
|
-
} })), _jsx(ListItemText, { primary: logoText !== null && logoText !== void 0 ? logoText : '' })] }), _jsxs(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
position: 'relative',
|
|
75
|
-
transition: 'width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms !important',
|
|
76
|
-
width: '100%',
|
|
77
|
-
zIndex: '-1'
|
|
78
|
-
} }, { children: [_jsx("div", { style: {
|
|
79
|
-
flex: '1',
|
|
80
|
-
width: 'auto',
|
|
81
|
-
height: 'auto',
|
|
82
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
83
|
-
? theme.palette.primary.main
|
|
84
|
-
: theme.palette.background.paper
|
|
85
|
-
} }), _jsx("div", { style: {
|
|
86
|
-
display: 'flex',
|
|
87
|
-
width: '45px',
|
|
88
|
-
height: '85px',
|
|
89
|
-
clipPath: 'url("#notch")',
|
|
90
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
91
|
-
? theme.palette.primary.main
|
|
92
|
-
: theme.palette.background.paper
|
|
93
|
-
} }), _jsx("div", { style: {
|
|
94
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
95
|
-
? theme.palette.primary.main
|
|
96
|
-
: theme.palette.background.paper,
|
|
97
|
-
height: '90px',
|
|
98
|
-
position: 'absolute',
|
|
99
|
-
right: '25px',
|
|
100
|
-
top: '-2px',
|
|
101
|
-
width: 'calc(100% - 25px)'
|
|
102
|
-
} })] })), _jsx("svg", __assign({ className: 'notch-svg', style: {
|
|
103
|
-
width: '0',
|
|
104
|
-
height: '0',
|
|
105
|
-
position: 'absolute'
|
|
106
|
-
} }, { children: _jsx("clipPath", __assign({ id: 'notch', clipPathUnits: 'objectBoundingBox' }, { children: _jsx("path", { d: 'M1,0 H0 v1 h1 v-0.105 c-0.017,-0.074,-0.109,-0.132,-0.168,-0.146 l-0.008,-0.002 a0.5,0.265,0,0,1,0.006,-0.493 c0.062,-0.015,0.16,-0.079,0.169,-0.158 V0' }) })) })), _jsx(List, __assign({ sx: {
|
|
107
|
-
height: '100%',
|
|
108
|
-
// padding: `${theme.spacing(0)} 10px`,
|
|
109
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
110
|
-
? theme.palette.primary.main
|
|
111
|
-
: theme.palette.background.paper,
|
|
112
|
-
marginTop: "-".concat(theme.spacing(0.5))
|
|
113
|
-
} }, { children: items === null || items === void 0 ? void 0 : items.map(function (item, index) {
|
|
114
|
-
var _a;
|
|
115
|
-
return (_jsx(ListItem, __assign({ disablePadding: true }, { children: _jsxs(ListItemButton
|
|
116
|
-
// @ts-expect-error
|
|
117
|
-
, __assign({
|
|
118
|
-
// @ts-expect-error
|
|
119
|
-
component: Link, onClick: item.onClick, isActive: item.isActive }, { children: [_jsx(ListItemIcon, { children: (_a = item.icon) !== null && _a !== void 0 ? _a : _jsx(MailIcon, {}) }), _jsx(ListItemText, { primary: item.label })] }), item.label) })));
|
|
120
|
-
}) })), _jsxs(List, __assign({ sx: {
|
|
121
|
-
marginTop: 'auto',
|
|
122
|
-
backgroundColor: theme.palette.mode === 'dark'
|
|
123
|
-
? theme.palette.primary.main
|
|
124
|
-
: theme.palette.background.paper
|
|
125
|
-
} }, { children: [hasStreamHome
|
|
126
|
-
? (_jsx(ListItem, __assign({ disablePadding: true }, { children: _jsxs(ListItemButton, __assign({ sx: {
|
|
127
|
-
minHeight: 48,
|
|
128
|
-
justifyContent: isDrawerOpen ? 'initial' : 'center'
|
|
129
|
-
} }, { children: [_jsx(ListItemIcon, __assign({ sx: {
|
|
130
|
-
minWidth: 0,
|
|
131
|
-
mr: isDrawerOpen ? 2.5 : 'auto',
|
|
132
|
-
justifyContent: 'center'
|
|
133
|
-
} }, { children: _jsx(AppSwitcher, { apiKey: (_b = (_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.REACT_APP_STREAM_HOME_API_KEY) !== null && _b !== void 0 ? _b : '7wxswYRq238tj65RVina32VSzmpGamju7Edvbrab', baseUrl: (_d = (_c = process === null || process === void 0 ? void 0 : process.env) === null || _c === void 0 ? void 0 : _c.REACT_APP_STREAM_HOME_API_URL) !== null && _d !== void 0 ? _d : 'https://6cqjg9ua08.execute-api.us-east-1.amazonaws.com/dev-api', token: 'hfcfgcgfcgfhcfhgcfg' }) })), _jsx(ListItemText, { primary: 'App switcher', sx: { opacity: isDrawerOpen ? 1 : 0 } })] })) })))
|
|
134
|
-
: null, secondaryItems === null || secondaryItems === void 0 ? void 0 : secondaryItems.map(function (item, index) {
|
|
79
|
+
} })) })), _jsx(ListItemText, { primary: logoText !== null && logoText !== void 0 ? logoText : '', isDrawerOpen: isDrawerOpen })] }), _jsxs(NotchContainer, { children: [_jsx(NotchBackground, {}), _jsx(NotchBackgroundClip, {}), _jsx(NotchSeemMask, {})] }), _jsx(NotchSVG, { style: { height: '0', position: 'absolute', width: '0' } }), _jsxs(StyledNav, { children: [_jsx(List, __assign({ sx: {
|
|
80
|
+
height: '100%',
|
|
81
|
+
width: DRAWER_WIDTH.Expanded,
|
|
82
|
+
marginTop: "-".concat(theme.spacing(0.5))
|
|
83
|
+
} }, { children: items && items.length > 0 && items.map(function (item, index) {
|
|
135
84
|
var _a;
|
|
136
85
|
return (_jsx(ListItem, __assign({ disablePadding: true }, { children: _jsxs(ListItemButton
|
|
137
86
|
// @ts-expect-error
|
|
138
87
|
, __assign({
|
|
139
88
|
// @ts-expect-error
|
|
140
|
-
component: Link, onClick: item.onClick, isActive: item.isActive }, { children: [_jsx(ListItemIcon, { children: (_a = item.icon) !== null && _a !== void 0 ? _a : _jsx(MailIcon, {}) }), _jsx(ListItemText, { primary: item.label })] }), item.label) })));
|
|
141
|
-
}),
|
|
142
|
-
|
|
143
|
-
,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
// : `${DRAWER_WIDTH.Collapsed}px`,
|
|
188
|
-
// boxShadow: 'none',
|
|
189
|
-
overflow: 'hidden',
|
|
190
|
-
transition: 'width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms !important'
|
|
191
|
-
}
|
|
192
|
-
} }, { children: listContent() }))] }));
|
|
89
|
+
component: Link, onClick: item.onClick, isActive: item.isActive, isDrawerOpen: isDrawerOpen }, { children: [_jsx(Tooltip, __assign({ disableHoverListener: isDrawerOpen, disableFocusListener: isDrawerOpen, disableTouchListener: isDrawerOpen, title: item.label, placement: theme.direction === 'rtl' ? 'left' : 'right' }, { children: _jsx(ListItemIcon, __assign({ "aria-hidden": true }, { children: (_a = item.icon) !== null && _a !== void 0 ? _a : _jsx(MailIcon, {}) })) })), _jsx(ListItemText, { primary: item.label, isDrawerOpen: isDrawerOpen, index: index })] }), item.label) })));
|
|
90
|
+
}) })), _jsxs(List, __assign({ sx: {
|
|
91
|
+
width: DRAWER_WIDTH.Expanded,
|
|
92
|
+
marginTop: 'auto',
|
|
93
|
+
backgroundColor: theme.palette.mode === 'dark'
|
|
94
|
+
? theme.palette.primary.main
|
|
95
|
+
: theme.palette.background.paper
|
|
96
|
+
} }, { children: [hasStreamHome
|
|
97
|
+
? (_jsx(ListItem, __assign({ disablePadding: true }, { children: _jsxs(ListItemButton, __assign({ sx: {
|
|
98
|
+
minHeight: 48,
|
|
99
|
+
justifyContent: isDrawerOpen ? 'initial' : 'center'
|
|
100
|
+
} }, { children: [_jsx(Tooltip, __assign({ disableHoverListener: isDrawerOpen, disableFocusListener: isDrawerOpen, disableTouchListener: isDrawerOpen, title: 'App switcher', placement: theme.direction === 'rtl' ? 'left' : 'right' }, { children: _jsx(ListItemIcon, __assign({ sx: {
|
|
101
|
+
minWidth: 0,
|
|
102
|
+
mr: isDrawerOpen ? 2.5 : 'auto',
|
|
103
|
+
justifyContent: 'center'
|
|
104
|
+
} }, { children: _jsx(AppSwitcher, { apiKey: streamHomeApiKey !== null && streamHomeApiKey !== void 0 ? streamHomeApiKey : '', baseUrl: streamHomeBaseUrl !== null && streamHomeBaseUrl !== void 0 ? streamHomeBaseUrl : '', token: streamHomeAccessToken !== null && streamHomeAccessToken !== void 0 ? streamHomeAccessToken : '' }) })) })), _jsx(ListItemText, { primary: 'App switcher', isDrawerOpen: isDrawerOpen })] })) })))
|
|
105
|
+
: null, secondaryItems && secondaryItems.length > 0 && secondaryItems.map(function (item, index) {
|
|
106
|
+
var _a;
|
|
107
|
+
return (_jsx(ListItem, __assign({ disablePadding: true }, { children: _jsxs(ListItemButton
|
|
108
|
+
// @ts-expect-error
|
|
109
|
+
, __assign({
|
|
110
|
+
// @ts-expect-error
|
|
111
|
+
component: Link, onClick: item.onClick, isActive: item.isActive, isDrawerOpen: isDrawerOpen, index: index }, { children: [_jsx(Tooltip, __assign({ disableHoverListener: isDrawerOpen, disableFocusListener: isDrawerOpen, disableTouchListener: isDrawerOpen, title: item.label, placement: theme.direction === 'rtl' ? 'left' : 'right' }, { children: _jsx(ListItemIcon, __assign({ "aria-hidden": true }, { children: (_a = item.icon) !== null && _a !== void 0 ? _a : _jsx(MailIcon, {}) })) })), _jsx(ListItemText, { primary: item.label, isDrawerOpen: isDrawerOpen })] }), item.label) })));
|
|
112
|
+
}), avatarName
|
|
113
|
+
? (_jsx(ListItem, __assign({ disablePadding: true, sx: {
|
|
114
|
+
overflow: 'hidden'
|
|
115
|
+
} }, { children: _jsxs(ListItemAvatar, __assign({ isDrawerOpen: isDrawerOpen, component: Link }, { children: [_jsx(Tooltip, __assign({ disableHoverListener: isDrawerOpen, disableFocusListener: isDrawerOpen, disableTouchListener: isDrawerOpen, title: avatarName, placement: theme.direction === 'rtl' ? 'left' : 'right' }, { children: _jsx(ListItemIcon, __assign({ "aria-hidden": true, sx: { mr: 3 } }, { children: _jsx(Avatar, __assign({ sx: {
|
|
116
|
+
bgcolor: theme.palette.mode === 'dark'
|
|
117
|
+
? theme.palette.primary.contrastText
|
|
118
|
+
: theme.palette.primary.main
|
|
119
|
+
} }, { children: avatarInitials })) })) })), _jsx(ListItemText, { primary: avatarName, isDrawerOpen: isDrawerOpen })] })) })))
|
|
120
|
+
: null] }))] })] }))); };
|
|
121
|
+
return (_jsxs(StyledAside, { children: [_jsx(DrawerShadow, { className: 'drawerShadow', "aria-hidden": 'true', isDrawerOpen: isDrawerOpen }), _jsx(Modal, __assign({ "aria-hidden": false, keepMounted: true, disablePortal: true, open: isDrawerOpen, onClose: toggleDrawer(false) }, { children: _jsxs(StyledDrawer, __assign({ "aria-label": 'Navigation Menu', id: 'vertical-navigation', anchor: 'left', open: isDrawerOpen, onClose: toggleDrawer(false), ModalProps: {
|
|
122
|
+
keepMounted: true
|
|
123
|
+
}, variant: 'permanent' }, { children: [_jsx(DrawerToggle, __assign({ onClick: toggleDrawer(!isDrawerOpen), "aria-label": isDrawerOpen ? 'Close Navigation Menu' : 'Open Navigation Menu', "aria-expanded": isDrawerOpen ? 'true' : 'false', "aria-controls": "vertical-navigation", sx: {
|
|
124
|
+
left: isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 21, "px") : (isMediumAndUp ? '44px' : '36px')
|
|
125
|
+
} }, { children: _jsx(DrawerToggleHitboxContent, { children: isDrawerOpen
|
|
126
|
+
? (_jsx(ChevronLeft, { sx: {
|
|
127
|
+
fontSize: '1.75rem',
|
|
128
|
+
height: '1.75rem',
|
|
129
|
+
width: '1.75rem'
|
|
130
|
+
} }))
|
|
131
|
+
: (_jsx(ChevronRight, { sx: {
|
|
132
|
+
fontSize: '1.75rem',
|
|
133
|
+
height: '1.75rem',
|
|
134
|
+
width: '1.75rem'
|
|
135
|
+
} })) }) })), listContent()] })) }))] }));
|
|
193
136
|
};
|
|
194
137
|
export default VerticalNavigation;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react-addons-linked-state-mixin" />
|
|
3
2
|
import { Theme } from '@mui/material';
|
|
4
3
|
import { CSSObject } from '@mui/material/styles';
|
|
5
4
|
export declare const DRAWER_WIDTH: {
|
|
@@ -7,7 +6,7 @@ export declare const DRAWER_WIDTH: {
|
|
|
7
6
|
Expanded: number;
|
|
8
7
|
};
|
|
9
8
|
export declare const paperStyles: (theme: Theme) => CSSObject;
|
|
10
|
-
export declare const openedMixin: (
|
|
9
|
+
export declare const openedMixin: () => CSSObject;
|
|
11
10
|
export declare const closedMixin: (theme: Theme) => CSSObject;
|
|
12
11
|
export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
12
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
@@ -21,17 +20,8 @@ export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
|
21
20
|
} | undefined;
|
|
22
21
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
23
22
|
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<{
|
|
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<{
|
|
35
25
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
36
26
|
centerRipple?: boolean | undefined;
|
|
37
27
|
children?: import("react").ReactNode;
|
|
@@ -47,11 +37,12 @@ export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
|
47
37
|
tabIndex?: number | undefined;
|
|
48
38
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
49
39
|
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
|
-
|
|
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> & {
|
|
43
|
+
isDrawerOpen?: any;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
export declare const ListItemAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
55
46
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
56
47
|
centerRipple?: boolean | undefined;
|
|
57
48
|
children?: import("react").ReactNode;
|
|
@@ -69,8 +60,28 @@ export declare const ListItemButton: import("@emotion/styled").StyledComponent<i
|
|
|
69
60
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
70
61
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
71
62
|
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
|
-
|
|
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
|
+
}, {}, {}>;
|
|
75
|
+
export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
|
|
76
|
+
children?: import("react").ReactNode;
|
|
77
|
+
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
78
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "default" | undefined;
|
|
79
|
+
disabled?: boolean | undefined;
|
|
80
|
+
disableFocusRipple?: boolean | undefined;
|
|
81
|
+
edge?: false | "end" | "start" | undefined;
|
|
82
|
+
size?: "small" | "large" | "medium" | undefined;
|
|
83
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
84
|
+
} & Omit<{
|
|
74
85
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
75
86
|
centerRipple?: boolean | undefined;
|
|
76
87
|
children?: import("react").ReactNode;
|
|
@@ -86,9 +97,51 @@ export declare const ListItemAvatar: import("@emotion/styled").StyledComponent<i
|
|
|
86
97
|
tabIndex?: number | undefined;
|
|
87
98
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
88
99
|
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
|
-
},
|
|
100
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
101
|
+
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 DrawerShadow: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
92
107
|
children?: import("react").ReactNode;
|
|
108
|
+
component?: import("react").ElementType<any> | undefined;
|
|
109
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
110
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
111
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
112
|
+
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?: any;
|
|
93
115
|
}, {}, {}>;
|
|
94
|
-
export declare const
|
|
116
|
+
export declare const NotchContainer: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<Theme> & {
|
|
117
|
+
children?: import("react").ReactNode;
|
|
118
|
+
component?: import("react").ElementType<any> | undefined;
|
|
119
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
120
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
121
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
122
|
+
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> & {
|
|
125
|
+
children?: import("react").ReactNode;
|
|
126
|
+
component?: import("react").ElementType<any> | undefined;
|
|
127
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
128
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
129
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
130
|
+
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> & {
|
|
133
|
+
children?: import("react").ReactNode;
|
|
134
|
+
component?: import("react").ElementType<any> | undefined;
|
|
135
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
136
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
137
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
138
|
+
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> & {
|
|
141
|
+
children?: import("react").ReactNode;
|
|
142
|
+
component?: import("react").ElementType<any> | undefined;
|
|
143
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
144
|
+
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
145
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
146
|
+
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>, {}, {}>;
|