@acuteinfo/common-screens 1.0.28 → 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 +55 -51
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2549,60 +2549,64 @@ const checkDateAndDisplay = (dateStr) => {
|
|
|
2549
2549
|
};
|
|
2550
2550
|
|
|
2551
2551
|
const drawerWidth = 227;
|
|
2552
|
-
const
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
overflowX: "hidden",
|
|
2568
|
-
transition: theme.transitions.create("width", {
|
|
2569
|
-
easing: theme.transitions.easing.sharp,
|
|
2570
|
-
duration: theme.transitions.duration.leavingScreen,
|
|
2571
|
-
}),
|
|
2572
|
-
width: theme.spacing(8),
|
|
2573
|
-
[theme.breakpoints.up("sm")]: {
|
|
2574
|
-
width: theme.spacing(8),
|
|
2552
|
+
const drawerWidthClosed = 65;
|
|
2553
|
+
const useStyles = makeStyles((theme) => {
|
|
2554
|
+
return {
|
|
2555
|
+
drawerPaper: {
|
|
2556
|
+
position: "relative",
|
|
2557
|
+
whiteSpace: "nowrap",
|
|
2558
|
+
width: drawerWidth,
|
|
2559
|
+
// transition: theme.transitions.create("width", {
|
|
2560
|
+
// easing: theme.transitions.easing.sharp,
|
|
2561
|
+
// duration: theme.transitions.duration.enteringScreen,
|
|
2562
|
+
// }),
|
|
2563
|
+
transition: ".5s ease",
|
|
2564
|
+
border: "none",
|
|
2565
|
+
overflow: "hidden",
|
|
2566
|
+
zIndex: 120,
|
|
2575
2567
|
},
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
hrCSS: {
|
|
2588
|
-
zIndex: 9999,
|
|
2589
|
-
},
|
|
2590
|
-
buttonLink: {
|
|
2591
|
-
backgroundColor: "transparent",
|
|
2592
|
-
border: "none",
|
|
2593
|
-
cursor: "pointer",
|
|
2594
|
-
textDecoration: "underline",
|
|
2595
|
-
display: "inline",
|
|
2596
|
-
margin: 0,
|
|
2597
|
-
padding: 0,
|
|
2598
|
-
"&:focus": {
|
|
2599
|
-
textDecoration: "none",
|
|
2568
|
+
drawerPaperClose: {
|
|
2569
|
+
overflowX: "hidden",
|
|
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,
|
|
2576
|
+
[theme.breakpoints.up("sm")]: {
|
|
2577
|
+
width: drawerWidthClosed,
|
|
2578
|
+
},
|
|
2600
2579
|
},
|
|
2601
|
-
|
|
2602
|
-
|
|
2580
|
+
toolbarIcon: {
|
|
2581
|
+
display: "flex",
|
|
2582
|
+
alignItems: "center",
|
|
2583
|
+
zIndex: 9999,
|
|
2584
|
+
...theme.mixins.toolbar,
|
|
2585
|
+
background: "var(--theme-color2)",
|
|
2586
|
+
justifyContent: "center",
|
|
2587
|
+
height: "80px",
|
|
2588
|
+
// borderBottom: "1px dashed #949597",
|
|
2603
2589
|
},
|
|
2604
|
-
|
|
2605
|
-
|
|
2590
|
+
hrCSS: {
|
|
2591
|
+
zIndex: 9999,
|
|
2592
|
+
},
|
|
2593
|
+
buttonLink: {
|
|
2594
|
+
backgroundColor: "transparent",
|
|
2595
|
+
border: "none",
|
|
2596
|
+
cursor: "pointer",
|
|
2597
|
+
textDecoration: "underline",
|
|
2598
|
+
display: "inline",
|
|
2599
|
+
margin: 0,
|
|
2600
|
+
padding: 0,
|
|
2601
|
+
"&:focus": {
|
|
2602
|
+
textDecoration: "none",
|
|
2603
|
+
},
|
|
2604
|
+
"$:hover": {
|
|
2605
|
+
textDecoration: "none",
|
|
2606
|
+
},
|
|
2607
|
+
},
|
|
2608
|
+
};
|
|
2609
|
+
});
|
|
2606
2610
|
/*
|
|
2607
2611
|
|
|
2608
2612
|
*/
|