@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.
Files changed (64) hide show
  1. package/{license → LICENSE} +0 -0
  2. package/{readme.md → README.md} +8 -8
  3. package/assets/Images.d.ts +3 -0
  4. package/assets/Images.js +1 -0
  5. package/components/atoms/Autocomplete/Autocomplete.js +1 -2
  6. package/components/atoms/Button/Button.d.ts +1 -1
  7. package/components/atoms/Button/Button.js +1 -2
  8. package/components/atoms/Checkbox/Checkbox.js +1 -2
  9. package/components/atoms/IconButton/IconButton.js +1 -2
  10. package/components/atoms/Radio/Radio.js +1 -2
  11. package/components/atoms/Select/Select.js +1 -2
  12. package/components/atoms/Slider/Slider.js +1 -2
  13. package/components/atoms/Switch/Switch.js +1 -2
  14. package/components/atoms/TextField/TextField.js +1 -2
  15. package/components/atoms/ToggleButton/ToggleButton.js +1 -2
  16. package/components/datadisplay/Chip/Chip.js +1 -2
  17. package/components/datadisplay/List/List.js +1 -2
  18. package/components/datadisplay/Tooltip/Tooltip.js +1 -2
  19. package/components/feedback/Alert/Alert.js +1 -2
  20. package/components/navigation/Drawer/Drawer.d.ts +1 -1
  21. package/components/navigation/VerticalNavigation/VerticalNavigation.d.ts +3 -0
  22. package/components/navigation/VerticalNavigation/VerticalNavigation.js +89 -146
  23. package/components/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +77 -24
  24. package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +185 -56
  25. package/components/pages/ErrorPage/ErrorPage.d.ts +8 -0
  26. package/components/pages/ErrorPage/ErrorPage.js +27 -0
  27. package/components/pages/ErrorPage/ErrorPageStyles.d.ts +27 -0
  28. package/components/pages/ErrorPage/ErrorPageStyles.js +32 -0
  29. package/components/pages/SideInSide/SideInSideStyles.d.ts +8 -3
  30. package/index.d.ts +119 -9
  31. package/index.js +130 -11
  32. package/package.json +11 -83
  33. package/utils/theme.d.ts +6 -0
  34. package/utils/theme.js +8 -2
  35. package/components/atoms/Autocomplete/AutocompleteStyles.d.ts +0 -7
  36. package/components/atoms/Autocomplete/AutocompleteStyles.js +0 -2
  37. package/components/atoms/Button/ButtonStyles.d.ts +0 -7
  38. package/components/atoms/Button/ButtonStyles.js +0 -2
  39. package/components/atoms/Checkbox/CheckboxStyles.d.ts +0 -7
  40. package/components/atoms/Checkbox/CheckboxStyles.js +0 -2
  41. package/components/atoms/IconButton/IconButtonStyles.d.ts +0 -7
  42. package/components/atoms/IconButton/IconButtonStyles.js +0 -2
  43. package/components/atoms/Radio/RadioStyles.d.ts +0 -7
  44. package/components/atoms/Radio/RadioStyles.js +0 -2
  45. package/components/atoms/Select/SelectStyles.d.ts +0 -7
  46. package/components/atoms/Select/SelectStyles.js +0 -2
  47. package/components/atoms/Slider/SliderStyles.d.ts +0 -7
  48. package/components/atoms/Slider/SliderStyles.js +0 -2
  49. package/components/atoms/Switch/SwitchStyles.d.ts +0 -7
  50. package/components/atoms/Switch/SwitchStyles.js +0 -2
  51. package/components/atoms/TextField/TextFieldStyles.d.ts +0 -7
  52. package/components/atoms/TextField/TextFieldStyles.js +0 -2
  53. package/components/atoms/ToggleButton/ToggleButtonStyles.d.ts +0 -7
  54. package/components/atoms/ToggleButton/ToggleButtonStyles.js +0 -2
  55. package/components/datadisplay/Avatar/AvatarStyles.d.ts +0 -7
  56. package/components/datadisplay/Avatar/AvatarStyles.js +0 -14
  57. package/components/datadisplay/Chip/ChipStyles.d.ts +0 -7
  58. package/components/datadisplay/Chip/ChipStyles.js +0 -2
  59. package/components/datadisplay/List/ListStyles.d.ts +0 -7
  60. package/components/datadisplay/List/ListStyles.js +0 -2
  61. package/components/datadisplay/Tooltip/TooltipStyles.d.ts +0 -7
  62. package/components/datadisplay/Tooltip/TooltipStyles.js +0 -2
  63. package/components/feedback/Alert/AlertStyles.d.ts +0 -7
  64. package/components/feedback/Alert/AlertStyles.js +0 -2
@@ -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: 250
18
+ Expanded: 300
19
+ };
20
+ var ICON = {
21
+ Height: 40,
22
+ Width: 57
17
23
  };
18
24
  export var paperStyles = function (theme) { return ({
19
- backgroundColor: theme.palette.mode === 'dark'
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
- boxShadow: 'none'
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 (theme) { return ({
29
- width: DRAWER_WIDTH.Expanded,
30
- transition: 'width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms !important',
31
- overflowX: 'hidden',
32
- boxShadow: 'none'
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
- transition: 'width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms !important',
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({ display: 'flex', alignItems: 'center', justifyContent: 'flex-start', padding: "".concat(theme.spacing(1), " 10px 0") }, theme.mixins.toolbar), (_b = { backgroundColor: theme.palette.mode === 'dark'
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
- // paddingLeft: theme.spacing(2),
63
- // paddingRight: theme.spacing(2),
64
- // [theme.breakpoints.up('sm')]: {
65
- // paddingLeft: theme.spacing(2.5),
66
- // paddingRight: theme.spacing(2.5)
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
- top: '80.5px'
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 ListItemButton = styled(SSListItemButton)(function (_a) {
105
- var _b;
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
- alignItems: 'center',
109
- color: theme.palette.mode === 'dark'
110
- ? theme.palette.primary.contrastText
111
- : theme.palette.getContrastText(theme.palette.background.paper),
112
- display: 'flex',
113
- textTransform: 'none',
114
- textDecoration: 'none',
115
- padding: "".concat(theme.spacing(1), " ").concat(theme.spacing(2))
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
- paddingLeft: theme.spacing(2.5),
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 ListItemAvatar = styled(ListItemButton)(function (_a) {
227
+ export var NotchContainer = styled(Box)(function (_a) {
125
228
  var theme = _a.theme;
126
229
  return ({
127
- minHeight: 48,
128
- '& .MuiListItemIcon-root': {
129
- justifyContent: 'center',
130
- minWidth: 0,
131
- marginLeft: '-4px'
132
- },
133
- '& .MuiAvatar-root': {
134
- height: 32,
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 ListItemIcon = styled(SSListItemIcon)(function (_a) {
240
+ export var NotchBackground = styled(Box)(function (_a) {
140
241
  var theme = _a.theme;
141
242
  return ({
142
- color: theme.palette.mode === 'dark'
143
- ? theme.palette.primary.contrastText
144
- : theme.palette.getContrastText(theme.palette.background.paper)
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,8 @@
1
+ import * as React from 'react';
2
+ interface ErrorPageProps {
3
+ errorCode: string;
4
+ errorTitle: string;
5
+ errorMessage: string;
6
+ }
7
+ export default function ErrorPage(props: ErrorPageProps): React.ReactElement;
8
+ export {};
@@ -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,27 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
3
+ children?: import("react").ReactNode;
4
+ classes?: Partial<import("@mui/material/Container").ContainerClasses> | undefined;
5
+ disableGutters?: boolean | undefined;
6
+ fixed?: boolean | undefined;
7
+ maxWidth?: false | import("@mui/material/styles").Breakpoint | undefined;
8
+ sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
9
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "fixed" | "maxWidth" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
+ export declare const StyledBox: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
13
+ children?: import("react").ReactNode;
14
+ component?: import("react").ElementType<any> | undefined;
15
+ ref?: import("react").Ref<unknown> | undefined;
16
+ sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
17
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, 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>, {}, {}>;
20
+ export declare const StyledLogoBox: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
21
+ children?: import("react").ReactNode;
22
+ component?: import("react").ElementType<any> | undefined;
23
+ ref?: import("react").Ref<unknown> | undefined;
24
+ sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
25
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
26
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
27
+ }, 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
  };
package/index.d.ts CHANGED
@@ -1,16 +1,60 @@
1
- export { default as Avatar } from './components/datadisplay/Avatar/Avatar';
2
- export { default as Button } from './components/atoms/Button/Button';
3
- export { default as IconButton } from './components/atoms/IconButton/IconButton';
4
- export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
5
- export { default as TextField } from './components/atoms/TextField/TextField';
6
- export { default as Drawer } from './components/navigation/Drawer/Drawer';
7
- export { default as List } from './components/datadisplay/List/List';
8
- export { default as Tooltip } from './components/datadisplay/Tooltip/Tooltip';
9
- export { default as SideInSide } from './components/pages/SideInSide/SideInSide';
1
+ export { default as Accordion } from '@mui/material/Accordion';
2
+ export { default as AccordionActions } from '@mui/material/AccordionActions';
3
+ export { default as AccordionDetails } from '@mui/material/AccordionDetails';
4
+ export { default as AccordionSummary } from '@mui/material/AccordionSummary';
5
+ export { default as Alert } from '@mui/material/Alert';
6
+ export { default as AlertTitle } from '@mui/material/AlertTitle';
7
+ export { default as AppBar } from '@mui/material/AppBar';
8
+ export { default as Autocomplete } from '@mui/material/Autocomplete';
10
9
  export { default as AvatarGroup } from '@mui/material/AvatarGroup';
11
10
  export { default as Backdrop } from '@mui/material/Backdrop';
11
+ export { default as Badge } from '@mui/material/Badge';
12
+ export { default as BottomNavigation } from '@mui/material/BottomNavigation';
13
+ export { default as BottomNavigationAction } from '@mui/material/BottomNavigationAction';
14
+ export { default as Box } from '@mui/material/Box';
15
+ export { default as Breadcrumbs } from '@mui/material/Breadcrumbs';
16
+ export { default as ButtonBase } from '@mui/material/ButtonBase';
17
+ export { default as ButtonGroup } from '@mui/material/ButtonGroup';
18
+ export { default as Card } from '@mui/material/Card';
19
+ export { default as CardActionArea } from '@mui/material/CardActionArea';
20
+ export { default as CardActions } from '@mui/material/CardActions';
21
+ export { default as CardContent } from '@mui/material/CardContent';
22
+ export { default as CardHeader } from '@mui/material/CardHeader';
23
+ export { default as CardMedia } from '@mui/material/CardMedia';
24
+ export { default as Chip } from '@mui/material/Chip';
12
25
  export { default as CircularProgress } from '@mui/material/CircularProgress';
26
+ export { default as ClickAwayListener } from '@mui/material/ClickAwayListener';
27
+ export { default as Collapse } from '@mui/material/Collapse';
28
+ export { default as Container } from '@mui/material/Container';
29
+ export { default as CssBaseline } from '@mui/material/CssBaseline';
30
+ export { default as darkScrollbar } from '@mui/material/darkScrollbar';
31
+ export { default as Dialog } from '@mui/material/Dialog';
32
+ export { default as DialogActions } from '@mui/material/DialogActions';
33
+ export { default as DialogContent } from '@mui/material/DialogContent';
34
+ export { default as DialogContentText } from '@mui/material/DialogContentText';
35
+ export { default as DialogTitle } from '@mui/material/DialogTitle';
36
+ export { default as Divider } from '@mui/material/Divider';
37
+ export { default as Fab } from '@mui/material/Fab';
38
+ export { default as Fade } from '@mui/material/Fade';
39
+ export { default as FilledInput } from '@mui/material/FilledInput';
40
+ export { default as FormControl } from '@mui/material/FormControl';
41
+ export { default as FormControlLabel } from '@mui/material/FormControlLabel';
42
+ export { default as FormGroup } from '@mui/material/FormGroup';
43
+ export { default as FormHelperText } from '@mui/material/FormHelperText';
44
+ export { default as FormLabel } from '@mui/material/FormLabel';
45
+ export { default as Grid } from '@mui/material/Grid';
46
+ export { default as Grow } from '@mui/material/Grow';
47
+ export { default as Hidden } from '@mui/material/Hidden';
48
+ export { default as Icon } from '@mui/material/Icon';
49
+ export { default as ImageList } from '@mui/material/ImageList';
50
+ export { default as ImageListItem } from '@mui/material/ImageListItem';
51
+ export { default as ImageListItemBar } from '@mui/material/ImageListItemBar';
52
+ export { default as Input } from '@mui/material/Input';
53
+ export { default as InputAdornment } from '@mui/material/InputAdornment';
54
+ export { default as InputBase } from '@mui/material/InputBase';
55
+ export { default as InputLabel } from '@mui/material/InputLabel';
13
56
  export { default as LinearProgress } from '@mui/material/LinearProgress';
57
+ export { default as Link } from '@mui/material/Link';
14
58
  export { default as ListItem } from '@mui/material/ListItem';
15
59
  export { default as ListItemAvatar } from '@mui/material/ListItemAvatar';
16
60
  export { default as ListItemButton } from '@mui/material/ListItemButton';
@@ -18,4 +62,70 @@ export { default as ListItemIcon } from '@mui/material/ListItemIcon';
18
62
  export { default as ListItemSecondaryAction } from '@mui/material/ListItemSecondaryAction';
19
63
  export { default as ListItemText } from '@mui/material/ListItemText';
20
64
  export { default as ListSubheader } from '@mui/material/ListSubheader';
65
+ export { default as Menu } from '@mui/material/Menu';
66
+ export { default as MenuItem } from '@mui/material/MenuItem';
67
+ export { default as MenuList } from '@mui/material/MenuList';
68
+ export { default as MobileStepper } from '@mui/material/MobileStepper';
69
+ export { default as Modal } from '@mui/material/Modal';
70
+ export { default as NativeSelect } from '@mui/material/NativeSelect';
71
+ export { default as NoSsr } from '@mui/material/NoSsr';
72
+ export { default as OutlinedInput } from '@mui/material/OutlinedInput';
73
+ export { default as Pagination } from '@mui/material/Pagination';
74
+ export { default as PaginationItem } from '@mui/material/PaginationItem';
75
+ export { default as Paper } from '@mui/material/Paper';
76
+ export { default as Popover } from '@mui/material/Popover';
77
+ export { default as Popper } from '@mui/material/Popper';
78
+ export { default as Portal } from '@mui/material/Portal';
79
+ export { default as Radio } from '@mui/material/Radio';
80
+ export { default as RadioGroup } from '@mui/material/RadioGroup';
81
+ export { default as Rating } from '@mui/material/Rating';
82
+ export { default as ScopedCssBaseline } from '@mui/material/ScopedCssBaseline';
83
+ export { default as Select } from '@mui/material/Select';
84
+ export { default as Skeleton } from '@mui/material/Skeleton';
85
+ export { default as Slide } from '@mui/material/Slide';
86
+ export { default as Slider } from '@mui/material/Slider';
87
+ export { default as Snackbar } from '@mui/material/Snackbar';
88
+ export { default as SnackbarContent } from '@mui/material/SnackbarContent';
89
+ export { default as SpeedDial } from '@mui/material/SpeedDial';
90
+ export { default as SpeedDialAction } from '@mui/material/SpeedDialAction';
91
+ export { default as SpeedDialIcon } from '@mui/material/SpeedDialIcon';
92
+ export { default as Stack } from '@mui/material/Stack';
93
+ export { default as Step } from '@mui/material/Step';
94
+ export { default as StepButton } from '@mui/material/StepButton';
95
+ export { default as StepConnector } from '@mui/material/StepConnector';
96
+ export { default as StepContent } from '@mui/material/StepContent';
97
+ export { default as StepIcon } from '@mui/material/StepIcon';
98
+ export { default as StepLabel } from '@mui/material/StepLabel';
99
+ export { default as Stepper } from '@mui/material/Stepper';
100
+ export { default as SvgIcon } from '@mui/material/SvgIcon';
101
+ export { default as SwipeableDrawer } from '@mui/material/SwipeableDrawer';
102
+ export { default as Switch } from '@mui/material/Switch';
103
+ export { default as Tab } from '@mui/material/Tab';
104
+ export { default as Table } from '@mui/material/Table';
105
+ export { default as TableBody } from '@mui/material/TableBody';
106
+ export { default as TableCell } from '@mui/material/TableCell';
107
+ export { default as TableContainer } from '@mui/material/TableContainer';
108
+ export { default as TableFooter } from '@mui/material/TableFooter';
109
+ export { default as TableHead } from '@mui/material/TableHead';
110
+ export { default as TablePagination } from '@mui/material/TablePagination';
111
+ export { default as TableRow } from '@mui/material/TableRow';
112
+ export { default as TableSortLabel } from '@mui/material/TableSortLabel';
113
+ export { default as Tabs } from '@mui/material/Tabs';
114
+ export { default as TabScrollButton } from '@mui/material/TabScrollButton';
115
+ export { default as TextareaAutosize } from '@mui/material/TextareaAutosize';
116
+ export { default as ToggleButton } from '@mui/material/ToggleButton';
117
+ export { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
118
+ export { default as Toolbar } from '@mui/material/Toolbar';
119
+ export { default as Typography } from '@mui/material/Typography';
120
+ export * from '@mui/x-data-grid';
121
+ export { default as Avatar } from './components/datadisplay/Avatar/Avatar';
122
+ export { default as Button } from './components/atoms/Button/Button';
123
+ export { default as IconButton } from './components/atoms/IconButton/IconButton';
124
+ export { default as Checkbox } from './components/atoms/Checkbox/Checkbox';
125
+ export { default as TextField } from './components/atoms/TextField/TextField';
126
+ export { default as Drawer } from './components/navigation/Drawer/Drawer';
127
+ export { default as List } from './components/datadisplay/List/List';
128
+ export { default as Tooltip } from './components/datadisplay/Tooltip/Tooltip';
129
+ export { default as SideInSide } from './components/pages/SideInSide/SideInSide';
130
+ export { default as ErrorPage } from './components/pages/ErrorPage/ErrorPage';
21
131
  export { default as VerticalNavigation } from './components/navigation/VerticalNavigation/VerticalNavigation';