sixseconds-modules 1.6.173 → 1.6.175

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.es.js CHANGED
@@ -17,7 +17,7 @@ import React__default, { useRef, useEffect, useState, useCallback, useMemo, useL
17
17
  import axios from "axios";
18
18
  import Cookies from "js-cookie";
19
19
  import { CacheProvider } from "@emotion/react";
20
- import { Box, Typography, ThemeProvider, createTheme, unstable_ClassNameGenerator, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
20
+ import { Box, Typography, ThemeProvider, createTheme, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
21
21
  import MenuIcon from "@mui/icons-material/Menu";
22
22
  import CloseIcon from "@mui/icons-material/Close";
23
23
  import toast from "react-hot-toast";
@@ -13649,7 +13649,6 @@ const isolatedTheme = createTheme({
13649
13649
  fontFamily: "'IBM Plex Sans', sans-serif"
13650
13650
  }
13651
13651
  });
13652
- unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
13653
13652
  function createEmotionCache() {
13654
13653
  if (typeof document === "undefined") {
13655
13654
  return createCache({ key: "sixseconds", prepend: true });
@@ -14519,31 +14518,37 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
14519
14518
  onClick: () => handleRedirection2(appName, item.link, item.type),
14520
14519
  item: true,
14521
14520
  md: 4,
14522
- xs: 6,
14521
+ sm: 4,
14522
+ xs: 4,
14523
14523
  sx: { cursor: "pointer", textDecoration: "none" },
14524
14524
  children: /* @__PURE__ */ jsxs(
14525
14525
  Box,
14526
14526
  {
14527
14527
  className: "sixseconds-header-dashboard-boxes",
14528
14528
  sx: {
14529
+ display: "flex",
14530
+ flexDirection: "column",
14531
+ justifyContent: "flex-start",
14532
+ alignItems: "center",
14529
14533
  textAlign: "center",
14530
- p: 2,
14534
+ p: { xs: 1, md: 2 },
14535
+ height: "100%",
14531
14536
  borderRadius: "12px",
14532
14537
  transition: "all 0.2s",
14533
14538
  "&:hover": {
14534
14539
  background: "#f8f9fa",
14535
- "& .MuiTypography-root": {
14540
+ "& .sixseconds-header-menu-text": {
14536
14541
  color: "#0073b1"
14537
14542
  }
14538
14543
  }
14539
14544
  },
14540
14545
  children: [
14541
- /* @__PURE__ */ jsx(Box, { sx: { mb: 1.5 }, children: /* @__PURE__ */ jsx(
14546
+ /* @__PURE__ */ jsx(Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
14542
14547
  "img",
14543
14548
  {
14544
14549
  width: 38,
14545
14550
  height: 38,
14546
- style: { margin: "0 auto", display: "block" },
14551
+ style: { margin: "0 auto", display: "block", objectFit: "contain" },
14547
14552
  src: item.icon,
14548
14553
  alt: item.name
14549
14554
  }
@@ -14551,11 +14556,13 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
14551
14556
  /* @__PURE__ */ jsx(
14552
14557
  Typography,
14553
14558
  {
14559
+ className: "sixseconds-header-menu-text",
14554
14560
  sx: {
14555
- fontSize: "13px",
14561
+ fontSize: { xs: "12px", md: "13px" },
14556
14562
  color: "#1a1c1e",
14557
14563
  fontWeight: 500,
14558
- lineHeight: 1.2
14564
+ lineHeight: 1.2,
14565
+ wordBreak: "break-word"
14559
14566
  },
14560
14567
  children: t2(item.name)
14561
14568
  }