sixseconds-modules 1.6.192 → 1.6.194

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
@@ -13748,63 +13748,90 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
13748
13748
  }
13749
13749
  }
13750
13750
  };
13751
- return /* @__PURE__ */ jsx(ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsx(Box, { sx: { p: 2, background: "#fff", zIndex: 1100 }, children: /* @__PURE__ */ jsx(Grid, { container: true, spacing: 2, children: menuItems?.length > 0 && menuItems?.map((item, index) => /* @__PURE__ */ jsx(
13752
- Grid,
13751
+ return /* @__PURE__ */ jsx(ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsx(
13752
+ Box,
13753
13753
  {
13754
- onClick: () => handleRedirection2(appName, item.link, item.type),
13755
- item: true,
13756
- md: 4,
13757
- sm: 4,
13758
- xs: 4,
13759
- sx: { cursor: "pointer", textDecoration: "none" },
13760
- children: /* @__PURE__ */ jsxs(
13761
- Box,
13762
- {
13763
- className: "sixseconds-header-dashboard-boxes",
13764
- component: IconButton,
13765
- sx: {
13766
- display: "flex",
13767
- flexDirection: "column",
13768
- justifyContent: "flex-start",
13769
- alignItems: "center",
13770
- textAlign: "center",
13771
- height: "100%",
13772
- borderRadius: "12px",
13773
- transition: "all 0.2s",
13774
- width: "100%"
13775
- },
13776
- children: [
13777
- /* @__PURE__ */ jsx(Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
13778
- "img",
13779
- {
13780
- width: 40,
13781
- height: 40,
13782
- style: { margin: "0 auto", display: "block", objectFit: "contain" },
13783
- src: item.icon,
13784
- alt: item.name
13785
- }
13786
- ) }),
13787
- /* @__PURE__ */ jsx(
13788
- Typography,
13789
- {
13790
- className: "sixseconds-header-menu-text",
13791
- sx: {
13792
- fontSize: { xs: "12px", md: "13px" },
13793
- color: "#1a1c1e",
13794
- fontWeight: 500,
13795
- lineHeight: 1.2,
13796
- minWidth: "110px",
13797
- wordBreak: "break-all"
13798
- },
13799
- children: t2(item.name)
13800
- }
13801
- )
13802
- ]
13754
+ sx: {
13755
+ p: 2,
13756
+ background: "#fff",
13757
+ zIndex: 1100,
13758
+ maxHeight: "450px",
13759
+ overflowY: "auto",
13760
+ overflowX: "hidden",
13761
+ "&::-webkit-scrollbar": {
13762
+ width: "6px"
13763
+ },
13764
+ "&::-webkit-scrollbar-track": {
13765
+ background: "#f1f1f1",
13766
+ borderRadius: "10px"
13767
+ },
13768
+ "&::-webkit-scrollbar-thumb": {
13769
+ background: "#ccc",
13770
+ borderRadius: "10px",
13771
+ "&:hover": {
13772
+ background: "#bbb"
13773
+ }
13803
13774
  }
13804
- )
13805
- },
13806
- index
13807
- )) }) }) });
13775
+ },
13776
+ children: /* @__PURE__ */ jsx(Grid, { container: true, spacing: 2, children: menuItems?.length > 0 && menuItems?.map((item, index) => /* @__PURE__ */ jsx(
13777
+ Grid,
13778
+ {
13779
+ onClick: () => handleRedirection2(appName, item.link, item.type),
13780
+ item: true,
13781
+ md: 4,
13782
+ sm: 4,
13783
+ xs: 4,
13784
+ sx: { cursor: "pointer", textDecoration: "none" },
13785
+ children: /* @__PURE__ */ jsxs(
13786
+ Box,
13787
+ {
13788
+ className: "sixseconds-header-dashboard-boxes",
13789
+ component: IconButton,
13790
+ sx: {
13791
+ display: "flex",
13792
+ flexDirection: "column",
13793
+ justifyContent: "flex-start",
13794
+ alignItems: "center",
13795
+ textAlign: "center",
13796
+ height: "100%",
13797
+ borderRadius: "12px",
13798
+ transition: "all 0.2s",
13799
+ width: "100%"
13800
+ },
13801
+ children: [
13802
+ /* @__PURE__ */ jsx(Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
13803
+ "img",
13804
+ {
13805
+ width: 40,
13806
+ height: 40,
13807
+ style: { margin: "0 auto", display: "block", objectFit: "contain" },
13808
+ src: item.icon,
13809
+ alt: item.name
13810
+ }
13811
+ ) }),
13812
+ /* @__PURE__ */ jsx(
13813
+ Typography,
13814
+ {
13815
+ className: "sixseconds-header-menu-text",
13816
+ sx: {
13817
+ fontSize: { xs: "12px", md: "13px" },
13818
+ color: "#1a1c1e",
13819
+ fontWeight: 500,
13820
+ lineHeight: 1.2,
13821
+ minWidth: "110px",
13822
+ wordBreak: "break-all"
13823
+ },
13824
+ children: t2(item.name)
13825
+ }
13826
+ )
13827
+ ]
13828
+ }
13829
+ )
13830
+ },
13831
+ index
13832
+ )) })
13833
+ }
13834
+ ) });
13808
13835
  };
13809
13836
  const DropdownMenu = ({ headerMenuArray, initialState }) => {
13810
13837
  const pathname = typeof window !== "undefined" ? window.location.pathname : "";
@@ -15365,6 +15392,78 @@ const App = () => {
15365
15392
  link: "https://cards.6seconds.org",
15366
15393
  type: "app"
15367
15394
  },
15395
+ {
15396
+ name: "Cards ",
15397
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15398
+ link: "https://cards.6seconds.org",
15399
+ type: "app"
15400
+ },
15401
+ {
15402
+ name: "Cards Home",
15403
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15404
+ link: "https://cards.6seconds.org",
15405
+ type: "app"
15406
+ },
15407
+ {
15408
+ name: "Cards ",
15409
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15410
+ link: "https://cards.6seconds.org",
15411
+ type: "app"
15412
+ },
15413
+ {
15414
+ name: "Cards Home",
15415
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15416
+ link: "https://cards.6seconds.org",
15417
+ type: "app"
15418
+ },
15419
+ {
15420
+ name: "Cards ",
15421
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15422
+ link: "https://cards.6seconds.org",
15423
+ type: "app"
15424
+ },
15425
+ {
15426
+ name: "Cards Home",
15427
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15428
+ link: "https://cards.6seconds.org",
15429
+ type: "app"
15430
+ },
15431
+ {
15432
+ name: "Cards ",
15433
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15434
+ link: "https://cards.6seconds.org",
15435
+ type: "app"
15436
+ },
15437
+ {
15438
+ name: "Cards Home",
15439
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15440
+ link: "https://cards.6seconds.org",
15441
+ type: "app"
15442
+ },
15443
+ {
15444
+ name: "Cards ",
15445
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15446
+ link: "https://cards.6seconds.org",
15447
+ type: "app"
15448
+ },
15449
+ {
15450
+ name: "Cards Home",
15451
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15452
+ link: "https://cards.6seconds.org",
15453
+ type: "app"
15454
+ },
15455
+ {
15456
+ name: "Cards ",
15457
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15458
+ link: "https://cards.6seconds.org",
15459
+ type: "app"
15460
+ },
15461
+ {
15462
+ name: "Cards Home",
15463
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
15464
+ link: "https://cards.6seconds.org",
15465
+ type: "app"
15466
+ },
15368
15467
  {
15369
15468
  name: "Cards Home",
15370
15469
  icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",