@learningpool/ui 1.6.0-beta.8 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/landmarks/Header/Header.d.ts +26 -0
- package/components/landmarks/Header/Header.js +75 -0
- package/components/landmarks/Header/HeaderActionButtons.d.ts +3 -0
- package/components/landmarks/Header/HeaderActionButtons.js +66 -0
- package/components/landmarks/Header/HeaderStyles.d.ts +55 -0
- package/components/landmarks/Header/HeaderStyles.js +13 -0
- package/components/navigation/MobileNavigation/MobileNavigation.d.ts +1 -2
- package/components/navigation/MobileNavigation/MobileNavigation.js +29 -82
- package/components/navigation/MobileNavigation/MobileNavigationAvatar.d.ts +1 -1
- package/components/navigation/MobileNavigation/MobileNavigationAvatar.js +26 -8
- package/components/navigation/MobileNavigation/MobileNavigationDrawer.js +3 -4
- package/components/navigation/MobileNavigation/MobileNavigationDrawerStyles.d.ts +3 -3
- package/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.d.ts +1 -1
- package/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.d.ts +1 -1
- package/components/navigation/MobileNavigation/MobileNavigationNotchIndicator.d.ts +3 -0
- package/components/navigation/MobileNavigation/MobileNavigationNotchIndicator.js +31 -0
- package/components/navigation/MobileNavigation/MobileNavigationStyles.d.ts +0 -254
- package/components/navigation/MobileNavigation/MobileNavigationStyles.js +19 -24
- package/components/navigation/MobileNavigation/MobileNavigationToggleSearchX.d.ts +2 -1
- package/components/navigation/MobileNavigation/MobileNavigationToggleSearchX.js +2 -1
- package/components/navigation/MobileNavigation/MobileNavigationToggleX.d.ts +2 -1
- package/components/navigation/MobileNavigation/MobileNavigationToggleX.js +2 -1
- package/components/navigation/VerticalNavigation/VerticalNavigation.d.ts +4 -2
- package/components/navigation/VerticalNavigation/VerticalNavigation.js +19 -22
- package/components/navigation/VerticalNavigation/VerticalNavigationAvatar.d.ts +1 -21
- package/components/navigation/VerticalNavigation/VerticalNavigationAvatar.js +4 -4
- package/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.js +3 -3
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.d.ts +1 -15
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.js +28 -24
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.d.ts +1 -1
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.js +1 -1
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.d.ts +1 -1
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.d.ts +1 -3
- package/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.js +3 -5
- package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +2 -2
- package/components/stream/AppSwitcher/AppSwitcher.d.ts +36 -0
- package/components/stream/AppSwitcher/AppSwitcher.js +307 -0
- package/components/stream/AppSwitcher/AppSwitcherItem.d.ts +16 -0
- package/components/stream/AppSwitcher/AppSwitcherItem.js +51 -0
- package/components/stream/AppSwitcher/AppSwitcherStyles.d.ts +17 -0
- package/components/stream/AppSwitcher/AppSwitcherStyles.js +48 -0
- package/components/stream/AppSwitcher/constants.d.ts +34 -0
- package/components/stream/AppSwitcher/constants.js +27 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/lang/en-us.d.ts +6 -0
- package/lang/en-us.js +6 -0
- package/package.json +4 -3
- package/types/components/navigation/VerticalNavigation.d.ts +49 -0
- package/types/components/navigation/VerticalNavigation.js +1 -0
- package/types/components/navigation/VerticalNavigationAvatar.d.ts +22 -0
- package/types/components/navigation/VerticalNavigationAvatar.js +1 -0
- package/types/components/stream/AppSwitcher.d.ts +9 -0
- package/types/components/stream/AppSwitcher.js +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +3 -0
- package/utils/constants.d.ts +1 -0
- package/utils/constants.js +3 -0
- package/utils/theme.d.ts +2 -2
- package/utils/theme.js +3 -3
|
@@ -285,7 +285,7 @@ export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
|
|
|
285
285
|
} | undefined;
|
|
286
286
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
287
287
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
288
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "
|
|
288
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "divider" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
289
289
|
export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
290
290
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
291
291
|
centerRipple?: boolean | undefined;
|
|
@@ -327,7 +327,7 @@ export declare const StyledChildListItem: import("@emotion/styled").StyledCompon
|
|
|
327
327
|
} | undefined;
|
|
328
328
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
329
329
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
330
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "
|
|
330
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "divider" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
331
331
|
export declare const StyledChildListItemText: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
332
332
|
export declare const StyledChildListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
333
333
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
@@ -369,7 +369,7 @@ export declare const StyledListSecondaryItem: import("@emotion/styled").StyledCo
|
|
|
369
369
|
} | undefined;
|
|
370
370
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
371
371
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
372
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "
|
|
372
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "divider" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
373
373
|
export declare const StyledListSecondaryButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
374
374
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
375
375
|
centerRipple?: boolean | undefined;
|
|
@@ -56,7 +56,7 @@ export declare const FlyoutMenuItem: import("@emotion/styled").StyledComponent<{
|
|
|
56
56
|
} | undefined;
|
|
57
57
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
58
58
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
59
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "
|
|
59
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "divider" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
60
60
|
export declare const FlyoutMenuButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
61
61
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
62
62
|
centerRipple?: boolean | undefined;
|
package/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
|
14
14
|
} | undefined;
|
|
15
15
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
16
16
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
17
|
-
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "
|
|
17
|
+
}, "className" | "style" | "classes" | "button" | "children" | "sx" | "alignItems" | "disabled" | "autoFocus" | "selected" | "dense" | "components" | "componentsProps" | "disablePadding" | "disableGutters" | "divider" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
18
18
|
isDrawerOpen?: boolean | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { motion } from 'framer-motion';
|
|
14
|
+
import { StyledNotchShadow, StyledNotchShadowMask, StyledNotchSVG } from './MobileNavigationStyles';
|
|
15
|
+
var NotchIndicator = function () { return (_jsxs(motion.div, __assign({ layoutId: "underline", style: {
|
|
16
|
+
bottom: '58px',
|
|
17
|
+
marginInlineStart: '-50px',
|
|
18
|
+
position: 'fixed',
|
|
19
|
+
zIndex: '-1'
|
|
20
|
+
}, transition: {
|
|
21
|
+
x: {
|
|
22
|
+
type: 'spring',
|
|
23
|
+
bounce: 0.25
|
|
24
|
+
},
|
|
25
|
+
y: {
|
|
26
|
+
delay: 0.25,
|
|
27
|
+
type: 'spring',
|
|
28
|
+
bounce: 0
|
|
29
|
+
}
|
|
30
|
+
} }, { children: [_jsx(StyledNotchShadow, {}), _jsx(StyledNotchSVG, __assign({ viewBox: "0 0 22 85", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx(motion.path, { d: "M0 0V85V76.0381C0.774 69.7533 4.9101 64.7829 7.5488 63.5975C7.668 63.5518 7.7867 63.5052 7.9049 63.4576C16.1679 60.1279 22 52.035 22 42.5799C22 33.1612 16.2126 25.0941 8 21.7408C7.8723 21.6887 7.7441 21.6377 7.6153 21.5879C4.8325 20.3142 0.4173 14.8748 0 8.13255V0Z" }) })), _jsx(StyledNotchShadowMask, {})] }))); };
|
|
31
|
+
export default NotchIndicator;
|
|
@@ -13,263 +13,9 @@ export declare const StyledPaper: import("@emotion/styled").StyledComponent<{
|
|
|
13
13
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
14
14
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
15
|
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "square" | "elevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
16
|
-
export declare const StyledCircle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
16
|
export declare const StyledNotchSVG: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
18
17
|
mobileNotchPosition?: number | undefined;
|
|
19
18
|
}, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
20
|
-
export declare const StyledNavigationIndicator: import("@emotion/styled").StyledComponent<{
|
|
21
|
-
className?: string | undefined;
|
|
22
|
-
slot?: string | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
defaultChecked?: boolean | undefined;
|
|
25
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
26
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
27
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
28
|
-
accessKey?: string | undefined;
|
|
29
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
30
|
-
contextMenu?: string | undefined;
|
|
31
|
-
dir?: string | undefined;
|
|
32
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
33
|
-
hidden?: boolean | undefined;
|
|
34
|
-
id?: string | undefined;
|
|
35
|
-
lang?: string | undefined;
|
|
36
|
-
placeholder?: string | undefined;
|
|
37
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
38
|
-
tabIndex?: number | undefined;
|
|
39
|
-
translate?: "yes" | "no" | undefined;
|
|
40
|
-
radioGroup?: string | undefined;
|
|
41
|
-
role?: import("react").AriaRole | undefined;
|
|
42
|
-
about?: string | undefined;
|
|
43
|
-
datatype?: string | undefined;
|
|
44
|
-
inlist?: any;
|
|
45
|
-
prefix?: string | undefined;
|
|
46
|
-
property?: string | undefined;
|
|
47
|
-
resource?: string | undefined;
|
|
48
|
-
typeof?: string | undefined;
|
|
49
|
-
vocab?: string | undefined;
|
|
50
|
-
autoCapitalize?: string | undefined;
|
|
51
|
-
autoCorrect?: string | undefined;
|
|
52
|
-
autoSave?: string | undefined;
|
|
53
|
-
color?: string | undefined;
|
|
54
|
-
itemProp?: string | undefined;
|
|
55
|
-
itemScope?: boolean | undefined;
|
|
56
|
-
itemType?: string | undefined;
|
|
57
|
-
itemID?: string | undefined;
|
|
58
|
-
itemRef?: string | undefined;
|
|
59
|
-
results?: number | undefined;
|
|
60
|
-
security?: string | undefined;
|
|
61
|
-
unselectable?: "on" | "off" | undefined;
|
|
62
|
-
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
63
|
-
is?: string | undefined;
|
|
64
|
-
"aria-activedescendant"?: string | undefined;
|
|
65
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
66
|
-
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
67
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
68
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
69
|
-
"aria-colcount"?: number | undefined;
|
|
70
|
-
"aria-colindex"?: number | undefined;
|
|
71
|
-
"aria-colspan"?: number | undefined;
|
|
72
|
-
"aria-controls"?: string | undefined;
|
|
73
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
74
|
-
"aria-describedby"?: string | undefined;
|
|
75
|
-
"aria-details"?: string | undefined;
|
|
76
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
77
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
78
|
-
"aria-errormessage"?: string | undefined;
|
|
79
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
80
|
-
"aria-flowto"?: string | undefined;
|
|
81
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
82
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
83
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
84
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
85
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
86
|
-
"aria-label"?: string | undefined;
|
|
87
|
-
"aria-labelledby"?: string | undefined;
|
|
88
|
-
"aria-level"?: number | undefined;
|
|
89
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
90
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
91
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
92
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
93
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
94
|
-
"aria-owns"?: string | undefined;
|
|
95
|
-
"aria-placeholder"?: string | undefined;
|
|
96
|
-
"aria-posinset"?: number | undefined;
|
|
97
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
98
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
99
|
-
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
100
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
101
|
-
"aria-roledescription"?: string | undefined;
|
|
102
|
-
"aria-rowcount"?: number | undefined;
|
|
103
|
-
"aria-rowindex"?: number | undefined;
|
|
104
|
-
"aria-rowspan"?: number | undefined;
|
|
105
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
106
|
-
"aria-setsize"?: number | undefined;
|
|
107
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
108
|
-
"aria-valuemax"?: number | undefined;
|
|
109
|
-
"aria-valuemin"?: number | undefined;
|
|
110
|
-
"aria-valuenow"?: number | undefined;
|
|
111
|
-
"aria-valuetext"?: string | undefined;
|
|
112
|
-
children?: import("react").ReactNode;
|
|
113
|
-
dangerouslySetInnerHTML?: {
|
|
114
|
-
__html: string;
|
|
115
|
-
} | undefined;
|
|
116
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
117
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
118
|
-
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
119
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
120
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
121
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
122
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
123
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
124
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
125
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
126
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
127
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
128
|
-
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
129
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
130
|
-
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
131
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
132
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
133
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
134
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
135
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
136
|
-
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
137
|
-
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
138
|
-
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
-
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
140
|
-
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
141
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
142
|
-
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
143
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
144
|
-
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
145
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
146
|
-
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
147
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
148
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
149
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
150
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
151
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
152
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
153
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
154
|
-
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
-
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
-
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
-
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
-
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
-
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
-
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
-
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
-
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
-
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
-
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
-
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
-
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
-
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
202
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
203
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
204
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
206
|
-
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
207
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
208
|
-
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
209
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
210
|
-
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
-
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
-
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
-
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
-
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
219
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
220
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
221
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
222
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
223
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
224
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
225
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
231
|
-
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
232
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
233
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
234
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
235
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
236
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
237
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
238
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
239
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
240
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
241
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
242
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
243
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
244
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
245
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
246
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
-
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
262
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
263
|
-
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
264
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
265
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
266
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
267
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
268
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
269
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
270
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
271
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
272
|
-
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
273
19
|
export declare const StyledBottomNavigation: import("@emotion/styled").StyledComponent<{
|
|
274
20
|
children?: import("react").ReactNode;
|
|
275
21
|
classes?: Partial<import("@mui/material").BottomNavigationClasses> | undefined;
|
|
@@ -6,27 +6,22 @@ import Drawer from '@mui/material/Drawer';
|
|
|
6
6
|
import { Box, IconButton, BottomNavigation, BottomNavigationAction, Paper } from '../../../index';
|
|
7
7
|
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { motion } from '../../../utils/theme';
|
|
9
|
-
import { motion as Motion } from 'framer-motion';
|
|
10
9
|
export var DRAWER_WIDTH = {
|
|
11
10
|
Collapsed: 60,
|
|
12
11
|
Expanded: 300
|
|
13
12
|
};
|
|
14
|
-
export var StyledPaper = styled(Paper)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
15
|
-
? props.theme.palette.primary.main
|
|
16
|
-
: props.theme.palette.background.paper; });
|
|
17
|
-
export var StyledCircle = styled('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: ", ";\n position: absolute;\n left: 0px;\n bottom: 0;\n width: 300px;\n background: rgb(255, 255, 255);\n"], ["\n background: ", ";\n position: absolute;\n left: 0px;\n bottom: 0;\n width: 300px;\n background: rgb(255, 255, 255);\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
13
|
+
export var StyledPaper = styled(Paper)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n background-image: none;\n border-radius: 0;\n bottom: 0;\n left: 0;\n position: fixed;\n right: 0;\n z-index: 1000000000;\n"], ["\n background-color: ", ";\n background-image: none;\n border-radius: 0;\n bottom: 0;\n left: 0;\n position: fixed;\n right: 0;\n z-index: 1000000000;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
18
14
|
? props.theme.palette.primary.main
|
|
19
15
|
: props.theme.palette.background.paper; });
|
|
20
16
|
export var StyledNotchSVG = styled('svg', {
|
|
21
17
|
shouldForwardProp: function (prop) { return prop !== 'mobileNotchPosition'; }
|
|
22
|
-
})(
|
|
18
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: block;\n fill: ", ";\n height: 50px;\n left: 0;\n padding: 0;\n position: absolute;\n stroke: transparent;\n top: -29px;\n transform: rotate(270deg);\n width: 50px;\n z-index: -1;\n"], ["\n display: block;\n fill: ", ";\n height: 50px;\n left: 0;\n padding: 0;\n position: absolute;\n stroke: transparent;\n top: -29px;\n transform: rotate(270deg);\n width: 50px;\n z-index: -1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
23
19
|
? props.theme.palette.primary.main
|
|
24
20
|
: props.theme.palette.background.paper; });
|
|
25
|
-
export var
|
|
26
|
-
export var StyledBottomNavigation = styled(BottomNavigation)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n position: relative;\n"], ["\n background-color: ", ";\n position: relative;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
21
|
+
export var StyledBottomNavigation = styled(BottomNavigation)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n position: relative;\n"], ["\n background-color: ", ";\n position: relative;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
27
22
|
? props.theme.palette.primary.main
|
|
28
23
|
: props.theme.palette.background.paper; });
|
|
29
|
-
export var StyledBottomNavigationAction = styled(BottomNavigationAction)(
|
|
24
|
+
export var StyledBottomNavigationAction = styled(BottomNavigationAction)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n backgroundColor: ", ";\n color: ", ";\n flex: none;\n height: 56px;\n max-width: 168px;\n min-width: 80px;\n overflow: hidden;\n padding: 0;\n stroke: ", ";\n\n .MuiBottomNavigationAction-label {\n color: inherit;\n font-size: 0.65rem;\n\n // Handle long text string overflow\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n\n &.Mui-selected {\n color: ", ";\n font-size: 0.75rem;\n }\n }\n\n .MuiSvgIcon-root {\n fill: ", ";\n }\n"], ["\n backgroundColor: ", ";\n color: ", ";\n flex: none;\n height: 56px;\n max-width: 168px;\n min-width: 80px;\n overflow: hidden;\n padding: 0;\n stroke: ", ";\n\n .MuiBottomNavigationAction-label {\n color: inherit;\n font-size: 0.65rem;\n\n // Handle long text string overflow\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n\n &.Mui-selected {\n color: ", ";\n font-size: 0.75rem;\n }\n }\n\n .MuiSvgIcon-root {\n fill: ", ";\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
30
25
|
? props.theme.palette.primary.main
|
|
31
26
|
: props.theme.palette.background.paper; }, function (props) { return props.theme.palette.mode === 'dark'
|
|
32
27
|
? props.theme.palette.primary.contrastText
|
|
@@ -43,13 +38,13 @@ export var StyledBottomNavigationAction = styled(BottomNavigationAction)(templat
|
|
|
43
38
|
});
|
|
44
39
|
export var DrawerHeader = styled('div', {
|
|
45
40
|
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
46
|
-
})(
|
|
47
|
-
export var DrawerToggle = styled(IconButton)(
|
|
48
|
-
export var DrawerToggleHitboxContent = styled('span')(
|
|
41
|
+
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n"], ["\n"])));
|
|
42
|
+
export var DrawerToggle = styled(IconButton)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transform: translate(22px, calc(50% - 5.5px));\n transition: all 225ms ", " 0ms !important;\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"], ["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transform: translate(22px, calc(50% - 5.5px));\n transition: all 225ms ", " 0ms !important;\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"])), function (props) { return props.theme.spacing(2); }, motion.easeInOut, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.theme.spacing(2.5); });
|
|
43
|
+
export var DrawerToggleHitboxContent = styled('span')(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"], ["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
49
44
|
? props.theme.palette.primary.main
|
|
50
45
|
: props.theme.palette.background.paper; }, function (props) { return props.theme.spacing(0.5); });
|
|
51
|
-
export var StyledAside = styled('aside')(
|
|
52
|
-
export var StyledNav = styled('nav')(
|
|
46
|
+
export var StyledAside = styled('aside')(templateObject_8 || (templateObject_8 = __makeTemplateObject([""], [""])));
|
|
47
|
+
export var StyledNav = styled('nav')(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: -1px;\n overflow-x: hidden;\n overflow-y: auto;\n\n // Firefox and future scrollbars\n * & {\n scrollbar-width: thin;\n scrollbar-color: ", ";\n transition: backgroundColor 225ms ", ";\n }\n\n * &:hover {\n scrollbar-color: ", ";\n }\n\n // Webkit and fall back scrollbars\n ::-webkit-scrollbar {\n width: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 55px;\n transition: background-color 225ms ", ";\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-start;\n margin-top: -1px;\n overflow-x: hidden;\n overflow-y: auto;\n\n // Firefox and future scrollbars\n * & {\n scrollbar-width: thin;\n scrollbar-color: ", ";\n transition: backgroundColor 225ms ", ";\n }\n\n * &:hover {\n scrollbar-color: ", ";\n }\n\n // Webkit and fall back scrollbars\n ::-webkit-scrollbar {\n width: 8px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n border-radius: 55px;\n transition: background-color 225ms ", ";\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
53
48
|
? props.theme.palette.primary.main
|
|
54
49
|
: props.theme.palette.background.paper; }, function (props) {
|
|
55
50
|
return props.theme.palette.mode === 'dark'
|
|
@@ -68,37 +63,37 @@ export var StyledNav = styled('nav')(templateObject_11 || (templateObject_11 = _
|
|
|
68
63
|
? 'rgba(255, 255, 255, 0.24)'
|
|
69
64
|
: 'rgba(0, 0, 0, 0.24)';
|
|
70
65
|
});
|
|
71
|
-
export var StyledNavSecondary = styled('nav')(
|
|
66
|
+
export var StyledNavSecondary = styled('nav')(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-end;\n margin-top: auto;\n overflow: hidden;\n"], ["\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n flex-direction: column;\n justify-content: flex-end;\n margin-top: auto;\n overflow: hidden;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
72
67
|
? props.theme.palette.primary.main
|
|
73
68
|
: props.theme.palette.background.paper; });
|
|
74
69
|
export var DrawerShadow = styled(Box, {
|
|
75
70
|
shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
|
|
76
|
-
})(
|
|
71
|
+
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left 225ms ", " 0ms;\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"], ["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left 225ms ", " 0ms;\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"])), function (props) { return props.isDrawerOpen
|
|
77
72
|
? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
|
|
78
73
|
: "".concat(DRAWER_WIDTH.Collapsed - 41, "px"); }, motion.easeInOut, function (props) { return props.theme.breakpoints.values.sm; }, function (props) {
|
|
79
74
|
return props.isDrawerOpen
|
|
80
75
|
? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
|
|
81
76
|
: "".concat(DRAWER_WIDTH.Collapsed - 33, "px");
|
|
82
77
|
});
|
|
83
|
-
export var NotchContainer = styled(Box)(
|
|
84
|
-
export var NotchBackground = styled(Box)(
|
|
78
|
+
export var NotchContainer = styled(Box)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width 225ms ", " 0ms !important;\n width: 100%;\n z-index: 9;\n"], ["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width 225ms ", " 0ms !important;\n width: 100%;\n z-index: 9;\n"])), function (props) { return props.theme.spacing(0.5); }, motion.easeInOut);
|
|
79
|
+
export var NotchBackground = styled(Box)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"], ["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
85
80
|
? props.theme.palette.primary.main
|
|
86
81
|
: props.theme.palette.background.paper; });
|
|
87
|
-
export var NotchBackgroundClip = styled(Box)(
|
|
82
|
+
export var NotchBackgroundClip = styled(Box)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"], ["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
88
83
|
? props.theme.palette.primary.main
|
|
89
84
|
: props.theme.palette.background.paper; });
|
|
90
|
-
export var NotchSeemMask = styled(Box)(
|
|
85
|
+
export var NotchSeemMask = styled(Box)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"], ["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
91
86
|
? props.theme.palette.primary.main
|
|
92
87
|
: props.theme.palette.background.paper; });
|
|
93
88
|
export var StyledDrawer = styled(Drawer, {
|
|
94
89
|
shouldForwardProp: function (prop) { return prop !== 'open'; }
|
|
95
|
-
})(
|
|
90
|
+
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width 225ms ", " 0ms !important;\n white-space: nowrap;\n width: ", ";\n\n @media (min-width: ", ") {\n width: ", ";\n }\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width 225ms ", " 0ms !important;\n visibility: visible;\n width: ", ";\n\n [theme.breakpoints.up('sm')] {\n width: ", ";\n }\n }\n"], ["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width 225ms ", " 0ms !important;\n white-space: nowrap;\n width: ", ";\n\n @media (min-width: ", ") {\n width: ", ";\n }\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width 225ms ", " 0ms !important;\n visibility: visible;\n width: ", ";\n\n [theme.breakpoints.up('sm')] {\n width: ", ";\n }\n }\n"])), motion.easeInOut, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(8), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) {
|
|
96
91
|
return props.theme.palette.mode === 'dark'
|
|
97
92
|
? props.theme.palette.primary.contrastText
|
|
98
93
|
: props.theme.palette.getContrastText(props.theme.palette.background.paper);
|
|
99
94
|
}, motion.easeInOut, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(8), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); });
|
|
100
|
-
export var StyledNotchShadow = styled(Box)(
|
|
101
|
-
export var StyledNotchShadowMask = styled(Box)(
|
|
95
|
+
export var StyledNotchShadow = styled(Box)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n border-radius: 50%;\n box-shadow: 0px -7px 10px -5px rgb(0 0 0 / 20%), 0px 2px 10px 0px rgb(0 0 0 / 14%), 0px 0px 8px 0px rgb(0 0 0 / 12%);\n height: 13px;\n left: 13px;\n position: absolute;\n top: -7px;\n width: 25px;\n z-index: -2;\n"], ["\n border-radius: 50%;\n box-shadow: 0px -7px 10px -5px rgb(0 0 0 / 20%), 0px 2px 10px 0px rgb(0 0 0 / 14%), 0px 0px 8px 0px rgb(0 0 0 / 12%);\n height: 13px;\n left: 13px;\n position: absolute;\n top: -7px;\n width: 25px;\n z-index: -2;\n"])));
|
|
96
|
+
export var StyledNotchShadowMask = styled(Box)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 50%;\n height: 13px;\n left: 13px;\n position: absolute;\n top: -1px;\n width: 25px;\n z-index: -1;\n"], ["\n background-color: ", ";\n border-radius: 50%;\n height: 13px;\n left: 13px;\n position: absolute;\n top: -1px;\n width: 25px;\n z-index: -1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
|
|
102
97
|
? props.theme.palette.primary.main
|
|
103
98
|
: props.theme.palette.background.paper; });
|
|
104
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18
|
|
99
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18;
|
|
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { motion } from 'framer-motion';
|
|
14
14
|
var Path = function (props) { return (_jsx(motion.path, __assign({ fill: 'transparent', strokeWidth: '3', stroke: 'inherit', strokeLinecap: 'round' }, props))); };
|
|
15
|
-
|
|
15
|
+
var ToggleSearchX = function () {
|
|
16
16
|
return (_jsxs("svg", __assign({ width: '40', height: '40', viewBox: '0 0 50 50', stroke: 'inherit' }, { children: [_jsx(Path, { variants: {
|
|
17
17
|
closed: { d: 'M 26 26 L 35 35' },
|
|
18
18
|
open: { d: 'M 15 15 L 35 35' }
|
|
@@ -30,3 +30,4 @@ export var ToggleSearchX = function () {
|
|
|
30
30
|
open: { opacity: 0, scale: 0 }
|
|
31
31
|
} })] })));
|
|
32
32
|
};
|
|
33
|
+
export default ToggleSearchX;
|
|
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { motion } from 'framer-motion';
|
|
14
14
|
var Path = function (props) { return (_jsx(motion.path, __assign({ fill: 'transparent', strokeWidth: '3', stroke: 'inherit', strokeLinecap: 'round' }, props))); };
|
|
15
|
-
|
|
15
|
+
var ToggleX = function () {
|
|
16
16
|
return (_jsxs("svg", __assign({ width: "40", height: "40", viewBox: "0 0 50 50" }, { children: [_jsx(Path, { variants: {
|
|
17
17
|
closed: { d: 'M 10 15 L 40 15' },
|
|
18
18
|
open: { d: 'M 15 15 L 35 35' }
|
|
@@ -24,3 +24,4 @@ export var ToggleX = function () {
|
|
|
24
24
|
open: { d: 'M 15 35 L 35 15' }
|
|
25
25
|
} })] })));
|
|
26
26
|
};
|
|
27
|
+
export default ToggleX;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IVerticalNavigationItemProps } from '
|
|
3
|
-
import { IAvatarMenuItemProps } from './VerticalNavigationAvatar';
|
|
2
|
+
import { IApplication, IAvatarMenuItemProps, IVerticalNavigationItemProps } from '../../../types';
|
|
4
3
|
interface VerticalNavigationProps {
|
|
5
4
|
logo?: string;
|
|
6
5
|
logoText?: string;
|
|
@@ -11,12 +10,14 @@ interface VerticalNavigationProps {
|
|
|
11
10
|
streamHomeAccessToken?: string;
|
|
12
11
|
streamHomeBaseUrl?: string;
|
|
13
12
|
streamHomeApiKey?: string;
|
|
13
|
+
streamHomeApplications?: IApplication[];
|
|
14
14
|
avatarName?: string;
|
|
15
15
|
isDrawerOpen?: boolean;
|
|
16
16
|
isPersistent?: boolean;
|
|
17
17
|
setIsPersistent?: any;
|
|
18
18
|
appRootID?: string;
|
|
19
19
|
hasAvatar?: boolean;
|
|
20
|
+
avatarPanelLogoutString?: string;
|
|
20
21
|
avatarPanelOnClickSwitchDirection?: any;
|
|
21
22
|
avatarPanelOnClickLogout?: any;
|
|
22
23
|
avatarPanelOnClickViewProfile?: any;
|
|
@@ -27,6 +28,7 @@ interface VerticalNavigationProps {
|
|
|
27
28
|
avatarPanelOnClickMainAction?: any;
|
|
28
29
|
avatarPanelMainActionString?: string;
|
|
29
30
|
avatarPanelSettingItems?: Array<IAvatarMenuItemProps>;
|
|
31
|
+
avatarPanelFootnote?: any;
|
|
30
32
|
}
|
|
31
33
|
declare const VerticalNavigation: (props: VerticalNavigationProps) => React.ReactElement;
|
|
32
34
|
export default VerticalNavigation;
|