@acuteinfo/common-screens 1.0.27 → 1.0.29

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