@pipelinesolucoes/menu 1.0.1-beta.8 → 1.0.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/dist/components/SideNav.d.ts +12 -55
- package/dist/components/SideNav.js +81 -38
- package/dist/components/SideNav.js.map +1 -1
- package/dist/components/drawer/DesktopDrawer.d.ts +13 -33
- package/dist/components/drawer/DesktopDrawer.js +113 -41
- package/dist/components/drawer/DesktopDrawer.js.map +1 -1
- package/dist/components/drawer/DrawerResponsive.d.ts +1 -16
- package/dist/components/drawer/DrawerResponsive.js +3 -7
- package/dist/components/drawer/DrawerResponsive.js.map +1 -1
- package/dist/components/drawer/MobileDrawer.d.ts +1 -16
- package/dist/components/drawer/MobileDrawer.js +13 -15
- package/dist/components/drawer/MobileDrawer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/Drawer.d.ts +41 -9
- package/dist/types/Drawer.js +1 -0
- package/dist/types/Drawer.js.map +1 -1
- package/dist/types/NavItem.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DrawerProps } from '@/types/Drawer';
|
|
3
|
-
type DrawerResponsiveProps = DrawerProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Índice da aba/item ativo controlado externamente.
|
|
6
|
-
* Quando definido, o DrawerResponsive vira controlado.
|
|
7
|
-
*/
|
|
8
|
-
activeTabIndex?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Índice inicial quando não controlado por `activeTabIndex`.
|
|
11
|
-
*/
|
|
12
|
-
defaultTabIndex?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Callback disparado ao trocar de aba/item.
|
|
15
|
-
*/
|
|
16
|
-
onTabChange?: (index: number) => void;
|
|
17
|
-
};
|
|
18
3
|
/**
|
|
19
4
|
* DrawerResponsive é um layout de navegação responsivo que:
|
|
20
5
|
* - Em telas pequenas (xs/sm) usa o `MobileDrawer`;
|
|
@@ -38,5 +23,5 @@ type DrawerResponsiveProps = DrawerProps & {
|
|
|
38
23
|
* };
|
|
39
24
|
* ```
|
|
40
25
|
*/
|
|
41
|
-
declare const DrawerResponsive: React.FC<
|
|
26
|
+
declare const DrawerResponsive: React.FC<DrawerProps>;
|
|
42
27
|
export default DrawerResponsive;
|
|
@@ -2,7 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import MobileDrawer from './MobileDrawer';
|
|
4
4
|
import DesktopDrawer from './DesktopDrawer';
|
|
5
|
-
import { useMediaQuery, useTheme } from '@mui/material';
|
|
6
5
|
/**
|
|
7
6
|
* DrawerResponsive é um layout de navegação responsivo que:
|
|
8
7
|
* - Em telas pequenas (xs/sm) usa o `MobileDrawer`;
|
|
@@ -26,7 +25,7 @@ import { useMediaQuery, useTheme } from '@mui/material';
|
|
|
26
25
|
* };
|
|
27
26
|
* ```
|
|
28
27
|
*/
|
|
29
|
-
const DrawerResponsive = ({ endPointLogout, backgroundHeader, backgroundMenuAvatar, colorItemMenu, colorItemMenuSelected, idUsuarioLogado, nomeUsuarioLogado, profileImage, emailUsuario, menuItems, avatarMenuItems, onUnauthenticated, toolbarContent,
|
|
28
|
+
const DrawerResponsive = ({ endPointLogout, isMobile, backgroundHeader, backgroundMenuAvatar, backgroundDrawer, colorItemMenu, colorItemMenuSelected, idUsuarioLogado, nomeUsuarioLogado, profileImage, emailUsuario, menuItems, avatarMenuItems, onUnauthenticated, toolbarContent, loading = false, loadingBackgroundColor = 'rgba(0, 0, 0, 0.4)', loadingSpinnerSize = 48, loadingMessage, loadingColor = '#ffffff', onTabChange, activeTabIndex, defaultTabIndex = 0, tituloAvatarDrawer, subtituloAvatarDrawer, drawer_opened = true, alert, headerDrawerContent, heightHeader, backgrondToolTip, colorToolTip, }) => {
|
|
30
29
|
const defaultAvatar = '/nofoto.jpg';
|
|
31
30
|
const avatarSrc = profileImage && profileImage.trim() !== '' ? profileImage : defaultAvatar;
|
|
32
31
|
const isControlled = typeof activeTabIndex === 'number';
|
|
@@ -45,13 +44,10 @@ const DrawerResponsive = ({ endPointLogout, backgroundHeader, backgroundMenuAvat
|
|
|
45
44
|
setInternalIndex(index);
|
|
46
45
|
}
|
|
47
46
|
};
|
|
48
|
-
|
|
49
|
-
const xs = useMediaQuery(theme.breakpoints.down('sm'));
|
|
50
|
-
const sm = useMediaQuery(theme.breakpoints.between('sm', 'md'));
|
|
51
|
-
if (xs || sm) {
|
|
47
|
+
if (isMobile) {
|
|
52
48
|
return (_jsx(MobileDrawer, { endPointLogout: endPointLogout, backgroundHeader: backgroundHeader, backgroundMenuAvatar: backgroundMenuAvatar, colorItemMenu: colorItemMenu, colorItemMenuSelected: colorItemMenuSelected, nomeUsuarioLogado: nomeUsuarioLogado, profileImage: avatarSrc, idUsuarioLogado: idUsuarioLogado, emailUsuario: emailUsuario, menuItems: menuItems, avatarMenuItems: avatarMenuItems, activeTabIndex: currentIndex, onTabChange: handleChangeIndex, onUnauthenticated: onUnauthenticated, toolbarContent: toolbarContent, loading: loading, loadingBackgroundColor: loadingBackgroundColor, loadingSpinnerSize: loadingSpinnerSize, loadingMessage: loadingMessage, loadingColor: loadingColor }));
|
|
53
49
|
}
|
|
54
|
-
return (_jsx(DesktopDrawer, {
|
|
50
|
+
return (_jsx(DesktopDrawer, { backgroundDrawer: backgroundDrawer, backgroundHeader: backgroundHeader, headerDrawerContent: headerDrawerContent, heightHeader: heightHeader, toolbarContent: toolbarContent, idUsuarioLogado: idUsuarioLogado, nomeUsuarioLogado: nomeUsuarioLogado, profileImage: avatarSrc, emailUsuario: emailUsuario, menuItems: menuItems, avatarMenuItems: avatarMenuItems, endPointLogout: endPointLogout, backgroundMenuAvatar: backgroundMenuAvatar, colorItemMenu: colorItemMenu, colorItemMenuSelected: colorItemMenuSelected, tituloAvatarDrawer: tituloAvatarDrawer, subtituloAvatarDrawer: subtituloAvatarDrawer, loading: loading, loadingBackgroundColor: loadingBackgroundColor, loadingSpinnerSize: loadingSpinnerSize, loadingMessage: loadingMessage, loadingColor: loadingColor, defaultTabIndex: defaultTabIndex, activeTabIndex: currentIndex, onTabChange: handleChangeIndex, alert: alert, onUnauthenticated: onUnauthenticated, drawer_opened: drawer_opened, backgrondToolTip: backgrondToolTip, colorToolTip: colorToolTip }));
|
|
55
51
|
};
|
|
56
52
|
DrawerResponsive.displayName = 'DrawerResponsive';
|
|
57
53
|
export default DrawerResponsive;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerResponsive.js","sourceRoot":"","sources":["../../../src/components/drawer/DrawerResponsive.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"DrawerResponsive.js","sourceRoot":"","sources":["../../../src/components/drawer/DrawerResponsive.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAI5C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,gBAAgB,GAA0B,CAAC,EAC/C,cAAc,EACd,QAAQ,EACR,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,OAAO,GAAG,KAAK,EACf,sBAAsB,GAAG,oBAAoB,EAC7C,kBAAkB,GAAG,EAAE,EACvB,cAAc,EACd,YAAY,GAAG,SAAS,EACxB,WAAW,EACX,cAAc,EACd,eAAe,GAAG,CAAC,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,aAAa,GAAG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AgB,CAAC"}
|
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DrawerProps } from '@/types/Drawer';
|
|
3
|
-
type MobileDrawerProps = Omit<DrawerProps, 'selectedIndex' | 'onChangeIndex'> & {
|
|
4
|
-
/**
|
|
5
|
-
* Índice da aba/item ativo controlado externemente.
|
|
6
|
-
*/
|
|
7
|
-
activeTabIndex?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Índice inicial quando não controlado.
|
|
10
|
-
* @default 0
|
|
11
|
-
*/
|
|
12
|
-
defaultTabIndex?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Callback disparado ao trocar de aba.
|
|
15
|
-
*/
|
|
16
|
-
onTabChange?: (index: number) => void;
|
|
17
|
-
};
|
|
18
3
|
/**
|
|
19
4
|
* Layout mobile com navegação via BottomNavigation.
|
|
20
5
|
*
|
|
@@ -41,5 +26,5 @@ type MobileDrawerProps = Omit<DrawerProps, 'selectedIndex' | 'onChangeIndex'> &
|
|
|
41
26
|
* };
|
|
42
27
|
* ```
|
|
43
28
|
*/
|
|
44
|
-
declare const MobileDrawer: React.FC<
|
|
29
|
+
declare const MobileDrawer: React.FC<DrawerProps>;
|
|
45
30
|
export default MobileDrawer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { styled } from '@mui/material/styles';
|
|
3
|
+
import { styled, useTheme } from '@mui/material/styles';
|
|
4
4
|
import { Avatar, BottomNavigation, BottomNavigationAction, Box, Toolbar, Typography, CircularProgress, } from '@mui/material';
|
|
5
5
|
import MuiAppBar from '@mui/material/AppBar';
|
|
6
6
|
import IconDrawerTrigger from './IconDrawerTrigger';
|
|
@@ -14,8 +14,9 @@ const StyledHeader = styled(MuiAppBar, {
|
|
|
14
14
|
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
15
15
|
}));
|
|
16
16
|
const StyledBottomBar = styled(BottomNavigation, {
|
|
17
|
-
shouldForwardProp: (prop) => !['background', 'color', 'colorSelected'].includes(prop),
|
|
18
|
-
})(({ theme, background, color, colorSelected }) => ({
|
|
17
|
+
shouldForwardProp: (prop) => !['background', 'color', 'colorSelected', 'height'].includes(prop),
|
|
18
|
+
})(({ theme, background, color, colorSelected, height }) => ({
|
|
19
|
+
height,
|
|
19
20
|
position: 'fixed',
|
|
20
21
|
bottom: 0,
|
|
21
22
|
left: 0,
|
|
@@ -76,8 +77,9 @@ const LoadingOverlay = styled('div', {
|
|
|
76
77
|
* };
|
|
77
78
|
* ```
|
|
78
79
|
*/
|
|
79
|
-
const MobileDrawer = ({ endPointLogout, backgroundHeader, backgroundMenuAvatar, colorItemMenu, colorItemMenuSelected, idUsuarioLogado, nomeUsuarioLogado, profileImage, emailUsuario, menuItems, avatarMenuItems, activeTabIndex, defaultTabIndex = 0, onTabChange, onUnauthenticated, toolbarContent, loading = false, loadingBackgroundColor = 'rgba(0, 0, 0, 0.4)', loadingSpinnerSize = 48, loadingMessage, loadingColor = '#ffffff', }) => {
|
|
80
|
+
const MobileDrawer = ({ endPointLogout, backgroundHeader = '#fff', backgroundMenuAvatar = '#fff', colorItemMenu, colorItemMenuSelected, idUsuarioLogado, nomeUsuarioLogado, profileImage, emailUsuario, menuItems, avatarMenuItems, activeTabIndex, defaultTabIndex = 0, onTabChange, onUnauthenticated, toolbarContent, loading = false, loadingBackgroundColor = 'rgba(0, 0, 0, 0.4)', loadingSpinnerSize = 48, loadingMessage, loadingColor = '#ffffff', heightHeader = '72px', headerDrawerContent }) => {
|
|
80
81
|
var _a, _b;
|
|
82
|
+
const theme = useTheme();
|
|
81
83
|
const isControlled = typeof activeTabIndex === 'number';
|
|
82
84
|
const [internalIndex, setInternalIndex] = React.useState(defaultTabIndex);
|
|
83
85
|
const currentIndex = isControlled ? activeTabIndex : internalIndex;
|
|
@@ -100,17 +102,13 @@ const MobileDrawer = ({ endPointLogout, backgroundHeader, backgroundMenuAvatar,
|
|
|
100
102
|
if (loading === false && idUsuarioLogado === null) {
|
|
101
103
|
return null;
|
|
102
104
|
}
|
|
103
|
-
return (_jsxs(_Fragment, { children: [_jsxs(Box, { sx: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
flex: 1,
|
|
110
|
-
p: 3,
|
|
111
|
-
mb: '74px',
|
|
112
|
-
overflowY: 'auto',
|
|
113
|
-
}, children: (_b = (_a = menuItems[currentIndex]) === null || _a === void 0 ? void 0 : _a.component) !== null && _b !== void 0 ? _b : (_jsx(Typography, { children: "Selecione um item do menu." })) }), _jsx(StyledBottomBar, { background: backgroundHeader, color: colorItemMenu, colorSelected: colorItemMenuSelected, showLabels: true, value: currentIndex, onChange: (_, newValue) => handleChange(newValue), children: menuItems.map((item, idx) => {
|
|
105
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Box, { sx: { height: '100vh', overflow: 'hidden', display: 'flex', flexDirection: 'column', }, children: [_jsx(StyledHeader, { position: "fixed", backgroundHeader: backgroundHeader, children: _jsx(Toolbar, { sx: {
|
|
106
|
+
display: 'grid',
|
|
107
|
+
gridTemplateColumns: '1fr auto',
|
|
108
|
+
justifyItems: 'flex-start',
|
|
109
|
+
boxShadow: 'none',
|
|
110
|
+
borderBottom: `1px solid ${theme.palette.divider}`
|
|
111
|
+
}, children: _jsxs(ToolbarContent, { children: [_jsx(Box, { flex: "1", alignItems: "center", justifyContent: "center", children: headerDrawerContent && headerDrawerContent }), toolbarContent, _jsx(IconDrawerTrigger, { background: backgroundMenuAvatar, icon: _jsx(Avatar, { src: profileImage, alt: `foto do perfil de ${nomeUsuarioLogado}`, sx: { width: 48, height: 48 } }), children: _jsx(UserAvatarMenu, { userName: nomeUsuarioLogado, userEmail: emailUsuario, menuItems: avatarMenuItems, endPointLogout: endPointLogout }) })] }) }) }), _jsx(Toolbar, {}), _jsx(Box, { component: "main", sx: { flex: 1, mb: heightHeader, overflowY: 'auto' }, children: (_b = (_a = menuItems[currentIndex]) === null || _a === void 0 ? void 0 : _a.component) !== null && _b !== void 0 ? _b : (_jsx(Typography, { children: "Selecione um item do menu." })) }), _jsx(StyledBottomBar, { height: heightHeader, background: backgroundHeader, color: colorItemMenu, colorSelected: colorItemMenuSelected, showLabels: true, value: currentIndex, onChange: (_, newValue) => handleChange(newValue), children: menuItems.map((item, idx) => {
|
|
114
112
|
var _a;
|
|
115
113
|
return (_jsx(BottomNavigationAction, { label: item.text, icon: item.icon }, (_a = item.text) !== null && _a !== void 0 ? _a : idx));
|
|
116
114
|
}) })] }), loading && (_jsxs(LoadingOverlay, { overlayBackground: loadingBackgroundColor, overlayColor: loadingColor, children: [_jsx(CircularProgress, { size: loadingSpinnerSize, sx: { color: loadingColor } }), loadingMessage && (_jsx(Typography, { sx: { mt: 2, color: loadingColor }, children: loadingMessage }))] }))] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileDrawer.js","sourceRoot":"","sources":["../../../src/components/drawer/MobileDrawer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"MobileDrawer.js","sourceRoot":"","sources":["../../../src/components/drawer/MobileDrawer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,sBAAsB,EACtB,GAAG,EACH,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAE7C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,MAA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