@acuteinfo/common-screens 1.0.29 → 1.0.30
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/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2549,31 +2549,32 @@ const checkDateAndDisplay = (dateStr) => {
|
|
|
2549
2549
|
};
|
|
2550
2550
|
|
|
2551
2551
|
const drawerWidth = 227;
|
|
2552
|
+
const drawerWidthClosed = 65;
|
|
2552
2553
|
const useStyles = makeStyles((theme) => {
|
|
2553
|
-
console.log("theme<<", theme);
|
|
2554
2554
|
return {
|
|
2555
2555
|
drawerPaper: {
|
|
2556
2556
|
position: "relative",
|
|
2557
2557
|
whiteSpace: "nowrap",
|
|
2558
2558
|
width: drawerWidth,
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2559
|
+
// transition: theme.transitions.create("width", {
|
|
2560
|
+
// easing: theme.transitions.easing.sharp,
|
|
2561
|
+
// duration: theme.transitions.duration.enteringScreen,
|
|
2562
|
+
// }),
|
|
2563
|
+
transition: ".5s ease",
|
|
2564
2564
|
border: "none",
|
|
2565
2565
|
overflow: "hidden",
|
|
2566
2566
|
zIndex: 120,
|
|
2567
2567
|
},
|
|
2568
2568
|
drawerPaperClose: {
|
|
2569
2569
|
overflowX: "hidden",
|
|
2570
|
-
transition: theme.transitions.create("width", {
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
}),
|
|
2574
|
-
|
|
2570
|
+
// transition: theme.transitions.create("width", {
|
|
2571
|
+
// easing: theme.transitions.easing.sharp,
|
|
2572
|
+
// duration: theme.transitions.duration.leavingScreen,
|
|
2573
|
+
// }),
|
|
2574
|
+
transition: ".5s ease",
|
|
2575
|
+
width: drawerWidthClosed,
|
|
2575
2576
|
[theme.breakpoints.up("sm")]: {
|
|
2576
|
-
width:
|
|
2577
|
+
width: drawerWidthClosed,
|
|
2577
2578
|
},
|
|
2578
2579
|
},
|
|
2579
2580
|
toolbarIcon: {
|