@dartech/arsenal-ui 1.4.31 → 1.4.32
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +34 -24
- package/package.json +1 -1
package/index.js
CHANGED
@@ -7346,7 +7346,8 @@ const Header = styled(Toolbar)(({
|
|
7346
7346
|
'& > span': {
|
7347
7347
|
fontSize: 24,
|
7348
7348
|
fontWeight: 600,
|
7349
|
-
transition: '.3s ease .1s'
|
7349
|
+
transition: '.3s ease .1s',
|
7350
|
+
whiteSpace: 'nowrap'
|
7350
7351
|
},
|
7351
7352
|
'&:after': {
|
7352
7353
|
transition: 'opacity .3s',
|
@@ -7363,7 +7364,9 @@ const Header = styled(Toolbar)(({
|
|
7363
7364
|
opacity: 0,
|
7364
7365
|
visibility: 'hidden',
|
7365
7366
|
transitionDelay: '0s'
|
7367
|
+
// height: 0
|
7366
7368
|
},
|
7369
|
+
|
7367
7370
|
'&:after': {
|
7368
7371
|
opacity: 1,
|
7369
7372
|
visibility: 'visible',
|
@@ -7629,36 +7632,43 @@ const SidebarRootItem = ({
|
|
7629
7632
|
isSubmenu
|
7630
7633
|
}) => {
|
7631
7634
|
return jsx(ListSubheader, {
|
7632
|
-
children: jsx(
|
7633
|
-
|
7634
|
-
|
7635
|
+
children: jsx(List, Object.assign({
|
7636
|
+
sx: {
|
7637
|
+
padding: 0,
|
7638
|
+
margin: 0
|
7639
|
+
}
|
7635
7640
|
}, {
|
7636
|
-
children:
|
7637
|
-
|
7638
|
-
|
7639
|
-
main: route.main
|
7640
|
-
}),
|
7641
|
-
sx: {
|
7642
|
-
justifyContent: 'space-between'
|
7643
|
-
}
|
7641
|
+
children: jsx(ListItem, Object.assign({
|
7642
|
+
disablePadding: true,
|
7643
|
+
onClick: handleClick
|
7644
7644
|
}, {
|
7645
|
-
children:
|
7646
|
-
primary: route.name,
|
7645
|
+
children: jsxs(ListItemButton, Object.assign({
|
7647
7646
|
className: classnames({
|
7647
|
+
active: isActive,
|
7648
7648
|
main: route.main
|
7649
7649
|
}),
|
7650
|
-
sx: !isSubmenu ? {
|
7651
|
-
display: 'none'
|
7652
|
-
} : {}
|
7653
|
-
}), route.name, jsx(Box, {
|
7654
|
-
component: "img",
|
7655
|
-
src: ArrowIcon$1,
|
7656
|
-
mr: 3,
|
7657
7650
|
sx: {
|
7658
|
-
|
7659
|
-
transform: `rotate(${isListOpen ? 0 : '-90deg'})`
|
7651
|
+
justifyContent: 'space-between'
|
7660
7652
|
}
|
7661
|
-
}
|
7653
|
+
}, {
|
7654
|
+
children: [jsx(ListItemText, {
|
7655
|
+
primary: route.name,
|
7656
|
+
className: classnames({
|
7657
|
+
main: route.main
|
7658
|
+
}),
|
7659
|
+
sx: !isSubmenu ? {
|
7660
|
+
display: 'none'
|
7661
|
+
} : {}
|
7662
|
+
}), route.name, jsx(Box, {
|
7663
|
+
component: "img",
|
7664
|
+
src: ArrowIcon$1,
|
7665
|
+
mr: 3,
|
7666
|
+
sx: {
|
7667
|
+
transition: 'transform .3s',
|
7668
|
+
transform: `rotate(${isListOpen ? 0 : '-90deg'})`
|
7669
|
+
}
|
7670
|
+
})]
|
7671
|
+
}))
|
7662
7672
|
}))
|
7663
7673
|
}))
|
7664
7674
|
});
|