@xyo-network/os-react-runtime 2.3.0 → 2.3.2

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.
Files changed (87) hide show
  1. package/dist/browser/DappPage.d.ts.map +1 -1
  2. package/dist/browser/components/RenderHtml.d.ts.map +1 -1
  3. package/dist/browser/components/Widgets/StackOfWidgets.d.ts.map +1 -1
  4. package/dist/browser/components/Widgets/Types/BarGraph/HorizontalBarGraph.d.ts.map +1 -1
  5. package/dist/browser/components/Widgets/Types/DataColumns/TwoColTwoStat.d.ts.map +1 -1
  6. package/dist/browser/components/Widgets/Types/Tables/BooleanTable.d.ts.map +1 -1
  7. package/dist/browser/dapps/shared/accounts/components/AccountCard.d.ts.map +1 -1
  8. package/dist/browser/dapps/shared/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPointList.d.ts.map +1 -1
  9. package/dist/browser/dapps/shared/name-service/DomainIcon.d.ts.map +1 -1
  10. package/dist/browser/dapps/shared/table/NextIteratorFlexbox.d.ts.map +1 -1
  11. package/dist/browser/hooks/ResourceHooks.d.ts.map +1 -1
  12. package/dist/browser/hooks/bios/useBios.d.ts.map +1 -1
  13. package/dist/browser/hooks/intent/useDappIntentListener2.d.ts.map +1 -1
  14. package/dist/browser/hooks/os/useDappRegistrationResults.d.ts.map +1 -1
  15. package/dist/browser/hooks/useDebugClick.d.ts.map +1 -1
  16. package/dist/browser/hooks/useDetectCustomer.d.ts.map +1 -1
  17. package/dist/browser/hooks/useStackReady.d.ts.map +1 -1
  18. package/dist/browser/index.mjs +533 -388
  19. package/dist/browser/index.mjs.map +1 -1
  20. package/dist/browser/modules/Dapp/Button/IconEx.d.ts.map +1 -1
  21. package/dist/browser/modules/Dapp/Button/hooks/useLaunchPoint.d.ts.map +1 -1
  22. package/dist/browser/modules/Dapp/Page/Row.d.ts.map +1 -1
  23. package/dist/browser/modules/Dapp/modules/Window/AppBar.d.ts.map +1 -1
  24. package/dist/browser/modules/Dapp/modules/Window/DappWindow.d.ts.map +1 -1
  25. package/dist/browser/modules/Dapp/modules/Window/LoadingFlexbox.d.ts.map +1 -1
  26. package/dist/browser/modules/Dapp/modules/Window/Trail.d.ts.map +1 -1
  27. package/dist/browser/modules/Dapp/modules/Window/components/DefaultComingSoon/DefaultComingSoon.d.ts.map +1 -1
  28. package/dist/browser/modules/Dapp/modules/Window/hooks/menu/useDappMenu.d.ts.map +1 -1
  29. package/dist/browser/modules/Dapp/modules/Window/hooks/useDappState.d.ts.map +1 -1
  30. package/dist/browser/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.d.ts.map +1 -1
  31. package/dist/browser/modules/Dapp/modules/Window/menu/BottomMenuArea.d.ts +7 -0
  32. package/dist/browser/modules/Dapp/modules/Window/menu/BottomMenuArea.d.ts.map +1 -0
  33. package/dist/browser/modules/Dapp/modules/Window/menu/BottomNavigation.d.ts.map +1 -1
  34. package/dist/browser/modules/Dapp/modules/Window/menu/Drawer.d.ts +1 -2
  35. package/dist/browser/modules/Dapp/modules/Window/menu/Drawer.d.ts.map +1 -1
  36. package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts +7 -0
  37. package/dist/browser/modules/Dapp/modules/Window/menu/StyledListItems.d.ts.map +1 -0
  38. package/dist/browser/modules/Dapp/modules/Window/menu/index.d.ts +1 -0
  39. package/dist/browser/modules/Dapp/modules/Window/menu/index.d.ts.map +1 -1
  40. package/dist/browser/modules/Dapp/modules/Window/menu/stories/DefaultData.d.ts +24 -0
  41. package/dist/browser/modules/Dapp/modules/Window/menu/stories/DefaultData.d.ts.map +1 -0
  42. package/dist/browser/modules/Dapp/modules/access-interface/components/Dialog.d.ts.map +1 -1
  43. package/dist/browser/settings/Theme/ThemeCssVars.d.ts +1 -1
  44. package/dist/browser/settings/Theme/ThemeCssVars.d.ts.map +1 -1
  45. package/package.json +11 -10
  46. package/src/DappPage.tsx +6 -3
  47. package/src/components/RenderHtml.tsx +1 -0
  48. package/src/components/Widgets/StackOfWidgets.tsx +1 -0
  49. package/src/components/Widgets/Types/BarGraph/HorizontalBarGraph.tsx +1 -0
  50. package/src/components/Widgets/Types/DataColumns/TwoColTwoStat.tsx +1 -0
  51. package/src/components/Widgets/Types/Tables/BooleanTable.tsx +1 -0
  52. package/src/dapps/shared/accounts/components/AccountCard.tsx +1 -0
  53. package/src/dapps/shared/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPointList.tsx +1 -0
  54. package/src/dapps/shared/accounts/components/PaymentMethods.tsx +5 -5
  55. package/src/dapps/shared/name-service/DomainIcon.tsx +3 -4
  56. package/src/dapps/shared/table/NextIteratorFlexbox.tsx +3 -2
  57. package/src/hooks/ResourceHooks.ts +1 -0
  58. package/src/hooks/bios/useBios.ts +1 -2
  59. package/src/hooks/bios/useKernel.ts +2 -2
  60. package/src/hooks/intent/useDappIntentListener2.tsx +1 -0
  61. package/src/hooks/os/useDappRegistrationResults.tsx +1 -0
  62. package/src/hooks/useDebugClick.tsx +1 -0
  63. package/src/hooks/useDetectCustomer.tsx +1 -0
  64. package/src/hooks/useStackReady.tsx +1 -0
  65. package/src/modules/Dapp/Button/IconEx.tsx +3 -2
  66. package/src/modules/Dapp/Button/hooks/useLaunchPoint.tsx +1 -0
  67. package/src/modules/Dapp/Page/Row.tsx +1 -0
  68. package/src/modules/Dapp/modules/Window/AppBar.tsx +9 -6
  69. package/src/modules/Dapp/modules/Window/DappWindow.tsx +1 -0
  70. package/src/modules/Dapp/modules/Window/LoadingFlexbox.tsx +1 -0
  71. package/src/modules/Dapp/modules/Window/Trail.tsx +2 -0
  72. package/src/modules/Dapp/modules/Window/components/DefaultComingSoon/DefaultComingSoon.tsx +1 -0
  73. package/src/modules/Dapp/modules/Window/hooks/menu/useDappMenu.tsx +1 -0
  74. package/src/modules/Dapp/modules/Window/hooks/useDappState.tsx +1 -0
  75. package/src/modules/Dapp/modules/Window/hooks/useDecomposeDappSet.tsx +1 -0
  76. package/src/modules/Dapp/modules/Window/menu/BottomMenuArea.tsx +133 -0
  77. package/src/modules/Dapp/modules/Window/menu/BottomNavigation.tsx +2 -0
  78. package/src/modules/Dapp/modules/Window/menu/Drawer.tsx +52 -116
  79. package/src/modules/Dapp/modules/Window/menu/StyledListItems.tsx +36 -0
  80. package/src/modules/Dapp/modules/Window/menu/index.ts +1 -0
  81. package/src/modules/Dapp/modules/Window/menu/stories/DefaultData.tsx +119 -0
  82. package/src/modules/Dapp/modules/Window/menu/stories/Drawer.stories.tsx +35 -0
  83. package/src/modules/Dapp/modules/Window/menu/stories/default.manifest.json +20 -0
  84. package/src/modules/Dapp/modules/access-interface/components/Dialog.tsx +2 -1
  85. package/src/settings/Theme/ThemeCssVars.ts +46 -20
  86. package/src/settings/Theme/ThemeProvider.tsx +3 -3
  87. package/dist/browser/xyoOS-Icon-Black-ACSS4SEQ.svg +0 -1
@@ -35,12 +35,15 @@ var ErrorRenderWithSupportDefault = (props) => {
35
35
  // src/components/RenderHtml.tsx
36
36
  import { jsx as jsx2 } from "react/jsx-runtime";
37
37
  var RenderHtml = ({ htmlString }) => {
38
- return /* @__PURE__ */ jsx2(
39
- "div",
40
- {
41
- style: { height: 64, width: 64 },
42
- dangerouslySetInnerHTML: { __html: htmlString }
43
- }
38
+ return (
39
+ // eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml
40
+ /* @__PURE__ */ jsx2(
41
+ "div",
42
+ {
43
+ style: { height: 64, width: 64 },
44
+ dangerouslySetInnerHTML: { __html: htmlString }
45
+ }
46
+ )
44
47
  );
45
48
  };
46
49
 
@@ -162,8 +165,8 @@ import { Stack as Stack2 } from "@mui/material";
162
165
  import { useColorSchemeEx as useColorSchemeEx4 } from "@xylabs/react-invertible-theme";
163
166
 
164
167
  // src/DappPage.tsx
165
- import { Container as Container3, Typography as Typography9 } from "@mui/material";
166
- import { FlexCol as FlexCol12 } from "@xylabs/react-flexbox";
168
+ import { Container as Container3, Typography as Typography10 } from "@mui/material";
169
+ import { FlexCol as FlexCol13 } from "@xylabs/react-flexbox";
167
170
  import { ThrownErrorBoundary } from "@xyo-network/react-error";
168
171
 
169
172
  // src/modules/Dapp/Button/hooks/useLaunchPoint.tsx
@@ -260,6 +263,7 @@ var ResourceHooks = class {
260
263
  const xyOs = useXyOsUiContext();
261
264
  return this.buildResource(xyOs, pathPrefix);
262
265
  };
266
+ // eslint-disable-next-line @eslint-react/hooks-extra/no-redundant-custom-hook
263
267
  useResourceViewsFromContext = (context, pathPrefix) => {
264
268
  const [resource, resourceError] = this.buildResource(context, pathPrefix);
265
269
  const views = this.buildViews(resource);
@@ -347,7 +351,7 @@ import { useEffect as useEffect4 } from "react";
347
351
  var biosBoot;
348
352
  var useBios = () => {
349
353
  const [biosExternalInterface, biosError] = usePromise2(async () => {
350
- if (biosBoot) return await biosBoot;
354
+ if (biosBoot !== void 0) return await biosBoot;
351
355
  biosBoot = boot();
352
356
  return await biosBoot;
353
357
  }, []);
@@ -365,7 +369,7 @@ var kernelBoot;
365
369
  var useKernel = (locator, params) => {
366
370
  const bios = useBios();
367
371
  const [kernelExternalInterface, kernelError] = usePromise3(async () => {
368
- if (kernelBoot) return await kernelBoot;
372
+ if (kernelBoot !== void 0) return await kernelBoot;
369
373
  if (bios) {
370
374
  kernelBoot = async function() {
371
375
  const kernel = new Kernel();
@@ -1428,9 +1432,9 @@ var DappIconButton = ({
1428
1432
  }
1429
1433
  return str;
1430
1434
  };
1431
- const onClickIcon = () => {
1435
+ const onClickIcon = async () => {
1432
1436
  XyOsMonitor2.trackEvent("Launch dApp", { "Dapp Name": `${dappName}` });
1433
- sendIntent?.(DappIntentCaller2.buildIntent(DappIntentCaller2.OsDappName, DappIntentTypes5.Launch, dappName)).catch(console.error);
1437
+ await sendIntent?.(DappIntentCaller2.buildIntent(DappIntentCaller2.OsDappName, DappIntentTypes5.Launch, dappName));
1434
1438
  };
1435
1439
  return /* @__PURE__ */ jsxs2(FlexCol2, { alignItems: "stretch", justifyContent: "stretch", children: [
1436
1440
  /* @__PURE__ */ jsx7(DappLaunchFrame, { id: "dapp-launch-frame", open: intentType === DappIntentTypes5.Launch, launchLeft, launchTop, children }),
@@ -1476,9 +1480,9 @@ var DappIconButton = ({
1476
1480
 
1477
1481
  // src/modules/Dapp/modules/Window/AppBar.tsx
1478
1482
  import {
1479
- ArrowDropDownCircleOutlined,
1480
1483
  BugReport,
1481
- CancelOutlined
1484
+ CloseRounded,
1485
+ RemoveRounded
1482
1486
  } from "@mui/icons-material";
1483
1487
  import {
1484
1488
  AppBar,
@@ -1573,7 +1577,7 @@ var DappBar = ({
1573
1577
  {
1574
1578
  disableGutters: true,
1575
1579
  sx: { paddingX: 2 },
1576
- children: /* @__PURE__ */ jsx9(Typography2, { noWrap: true, variant: "h5", letterSpacing: "-1px", fontWeight: "300", children: title })
1580
+ children: /* @__PURE__ */ jsx9(Typography2, { noWrap: true, variant: "h6", letterSpacing: "-1px", children: title })
1577
1581
  }
1578
1582
  ),
1579
1583
  /* @__PURE__ */ jsx9(FlexGrowRow2, {}),
@@ -1613,19 +1617,15 @@ var DappBar = ({
1613
1617
  /* @__PURE__ */ jsx9(Tooltip2, { title: "Minimize", children: /* @__PURE__ */ jsx9(
1614
1618
  IconButton2,
1615
1619
  {
1616
- onClick: () => {
1617
- sendIntent?.(DappIntentCaller3.buildIntent(DappIntentCaller3.OsDappName, DappIntentTypes6.Minimize, name))?.catch(console.error);
1618
- },
1619
- children: /* @__PURE__ */ jsx9(ArrowDropDownCircleOutlined, { htmlColor: "inherit" })
1620
+ onClick: async () => await sendIntent?.(DappIntentCaller3.buildIntent(DappIntentCaller3.OsDappName, DappIntentTypes6.Minimize, name)),
1621
+ children: /* @__PURE__ */ jsx9(RemoveRounded, { htmlColor: "inherit" })
1620
1622
  }
1621
1623
  ) }),
1622
1624
  /* @__PURE__ */ jsx9(Tooltip2, { title: "Close", children: /* @__PURE__ */ jsx9(
1623
1625
  IconButton2,
1624
1626
  {
1625
- onClick: () => {
1626
- sendIntent?.(DappIntentCaller3.buildIntent(DappIntentCaller3.OsDappName, DappIntentTypes6.Close, name))?.catch(console.error);
1627
- },
1628
- children: /* @__PURE__ */ jsx9(CancelOutlined, { htmlColor: "inherit" })
1627
+ onClick: async () => await sendIntent?.(DappIntentCaller3.buildIntent(DappIntentCaller3.OsDappName, DappIntentTypes6.Close, name)),
1628
+ children: /* @__PURE__ */ jsx9(CloseRounded, { htmlColor: "inherit" })
1629
1629
  }
1630
1630
  ) })
1631
1631
  ]
@@ -1901,7 +1901,7 @@ var DefaultComingSoon = ({
1901
1901
  };
1902
1902
 
1903
1903
  // src/modules/Dapp/modules/Window/DappWindow.tsx
1904
- import { FlexCol as FlexCol9 } from "@xylabs/react-flexbox";
1904
+ import { FlexCol as FlexCol10 } from "@xylabs/react-flexbox";
1905
1905
  import { NameTransforms as NameTransforms4 } from "@xyo-network/os-runtime";
1906
1906
  import { ErrorBoundary, ErrorRender as ErrorRender3 } from "@xyo-network/react-error";
1907
1907
  import { NodeProvider as NodeProvider2 } from "@xyo-network/react-node";
@@ -2072,9 +2072,7 @@ var DappAccessDialog = ({
2072
2072
  children ? /* @__PURE__ */ jsx15(DialogContent2, { dividers: true, children }) : null,
2073
2073
  /* @__PURE__ */ jsxs9(DialogActions2, { children: [
2074
2074
  /* @__PURE__ */ jsx15(Button, { variant: "outlined", onClick: onClose, children: "Cancel" }),
2075
- /* @__PURE__ */ jsx15(Button, { variant: "contained", onClick: () => {
2076
- handleAllow().catch(console.error);
2077
- }, children: "Allow" })
2075
+ /* @__PURE__ */ jsx15(Button, { variant: "contained", onClick: handleAllow, children: "Allow" })
2078
2076
  ] })
2079
2077
  ] });
2080
2078
  };
@@ -2736,34 +2734,49 @@ var StyledBottomNavigationAction = styled3(BottomNavigationAction, { name: "Styl
2736
2734
  });
2737
2735
 
2738
2736
  // src/modules/Dapp/modules/Window/menu/Drawer.tsx
2739
- import { BugReport as BugReport2 } from "@mui/icons-material";
2740
2737
  import {
2741
- Divider as Divider3,
2738
+ alpha as alpha4,
2739
+ darken,
2742
2740
  Drawer,
2743
- IconButton as IconButton3,
2744
2741
  List,
2745
2742
  ListItem,
2746
- ListItemButton,
2747
2743
  ListItemIcon,
2748
2744
  ListItemText,
2745
+ Tooltip as Tooltip4,
2746
+ Typography as Typography8,
2747
+ useTheme as useTheme7
2748
+ } from "@mui/material";
2749
+ import {
2750
+ FlexCol as FlexCol9,
2751
+ FlexGrowRow as FlexGrowRow5,
2752
+ FlexRow as FlexRow8
2753
+ } from "@xylabs/react-flexbox";
2754
+ import { useColorSchemeEx as useColorSchemeEx2 } from "@xylabs/react-invertible-theme";
2755
+ import { XyOsMonitor as XyOsMonitor3 } from "@xyo-network/os-runtime";
2756
+ import { useEffect as useEffect17, useState as useState17 } from "react";
2757
+
2758
+ // src/modules/Dapp/modules/Window/menu/BottomMenuArea.tsx
2759
+ import {
2760
+ BugReport as BugReport2,
2761
+ KeyboardArrowDownRounded,
2762
+ KeyboardArrowUpRounded
2763
+ } from "@mui/icons-material";
2764
+ import {
2765
+ Card as Card3,
2766
+ Collapse,
2767
+ Divider as Divider3,
2768
+ IconButton as IconButton3,
2749
2769
  Stack,
2750
- styled as styled4,
2751
2770
  Toolbar as Toolbar2,
2752
2771
  Tooltip as Tooltip3,
2753
2772
  Typography as Typography7,
2754
2773
  useTheme as useTheme6
2755
2774
  } from "@mui/material";
2756
2775
  import { RotationAnimation } from "@xylabs/react-animation";
2757
- import {
2758
- FlexCol as FlexCol8,
2759
- FlexGrowRow as FlexGrowRow5,
2760
- FlexRow as FlexRow7
2761
- } from "@xylabs/react-flexbox";
2762
- import { DarkModeIconButtonForColorScheme as DarkModeIconButtonForColorScheme2, useColorSchemeEx as useColorSchemeEx2 } from "@xylabs/react-invertible-theme";
2776
+ import { FlexCol as FlexCol8, FlexRow as FlexRow7 } from "@xylabs/react-flexbox";
2777
+ import { DarkModeIconButtonForColorScheme as DarkModeIconButtonForColorScheme2 } from "@xylabs/react-invertible-theme";
2763
2778
  import { LinkEx as LinkEx2 } from "@xylabs/react-link";
2764
- import { XyOsMonitor as XyOsMonitor3 } from "@xyo-network/os-runtime";
2765
- import { useEffect as useEffect17, useState as useState16 } from "react";
2766
- import XyoOSLogoBlack from "./xyoOS-Icon-Black-ACSS4SEQ.svg";
2779
+ import { useState as useState16 } from "react";
2767
2780
  import XyoOSLogoWhite from "./xyoOS-Icon-White-47MP66MD.svg";
2768
2781
 
2769
2782
  // src/modules/Dapp/modules/Window/menu/SocialData.tsx
@@ -2820,8 +2833,125 @@ var socialLinksData = [
2820
2833
  }
2821
2834
  ];
2822
2835
 
2823
- // src/modules/Dapp/modules/Window/menu/Drawer.tsx
2836
+ // src/modules/Dapp/modules/Window/menu/BottomMenuArea.tsx
2824
2837
  import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
2838
+ var BottomMenuArea = ({ openDebug, backgroundColor }) => {
2839
+ const theme = useTheme6();
2840
+ const [expanded, setExpanded] = useState16(false);
2841
+ const logo = XyoOSLogoWhite;
2842
+ const handleExpandClick = () => {
2843
+ setExpanded(!expanded);
2844
+ };
2845
+ return /* @__PURE__ */ jsxs11(
2846
+ Card3,
2847
+ {
2848
+ sx: {
2849
+ position: "relative",
2850
+ borderTopLeftRadius: "10px",
2851
+ borderTopRightRadius: "10px",
2852
+ borderBottomLeftRadius: "0px",
2853
+ borderBottomRightRadius: "0px",
2854
+ backgroundColor,
2855
+ overflow: "hidden"
2856
+ },
2857
+ elevation: 4,
2858
+ children: [
2859
+ /* @__PURE__ */ jsx23(FlexCol8, { paddingY: 1, alignItems: "stretch", children: /* @__PURE__ */ jsxs11(
2860
+ Stack,
2861
+ {
2862
+ paddingX: 2,
2863
+ justifyContent: "space-between",
2864
+ flexDirection: "row",
2865
+ gap: 0.5,
2866
+ onClick: handleExpandClick,
2867
+ sx: { textTransform: "none", cursor: "pointer" },
2868
+ children: [
2869
+ /* @__PURE__ */ jsx23(Typography7, { gutterBottom: false, children: "More" }),
2870
+ expanded ? /* @__PURE__ */ jsx23(KeyboardArrowUpRounded, { sx: { color: "#fff" } }) : /* @__PURE__ */ jsx23(KeyboardArrowDownRounded, { sx: { color: "#fff" } })
2871
+ ]
2872
+ }
2873
+ ) }),
2874
+ /* @__PURE__ */ jsxs11(Collapse, { in: expanded, timeout: "auto", unmountOnExit: true, sx: { paddingBottom: 3, color: "#fff" }, children: [
2875
+ /* @__PURE__ */ jsx23(Divider3, { flexItem: true }),
2876
+ /* @__PURE__ */ jsxs11(FlexCol8, { alignItems: "center", children: [
2877
+ /* @__PURE__ */ jsxs11(Toolbar2, { sx: { paddingX: 1.5 }, children: [
2878
+ /* @__PURE__ */ jsx23(Tooltip3, { title: "Debug Node View", children: /* @__PURE__ */ jsx23(IconButton3, { onClick: openDebug, sx: { color: "#fff" }, children: /* @__PURE__ */ jsx23(BugReport2, {}) }) }),
2879
+ /* @__PURE__ */ jsx23(Tooltip3, { title: "Toggle Light/Dark Mode", children: /* @__PURE__ */ jsx23("span", { children: /* @__PURE__ */ jsx23(DarkModeIconButtonForColorScheme2, { defaultLightModeColor: "warning" }) }) })
2880
+ ] }),
2881
+ /* @__PURE__ */ jsx23(FlexRow7, { flexWrap: "wrap", children: socialLinksData.map((social, index) => /* @__PURE__ */ jsx23(RotationAnimation, { rotation: 20, children: /* @__PURE__ */ jsx23(
2882
+ IconButton3,
2883
+ {
2884
+ sx: { color: "#fff" },
2885
+ href: social.link,
2886
+ target: "_blank",
2887
+ children: social.icon
2888
+ }
2889
+ ) }, index)) }),
2890
+ /* @__PURE__ */ jsxs11(FlexRow7, { padding: 1, justifyContent: "center", gap: 0.5, children: [
2891
+ /* @__PURE__ */ jsx23(Typography7, { variant: "body2", color: theme.palette.text.primary, children: "Powered By" }),
2892
+ /* @__PURE__ */ jsx23(
2893
+ "img",
2894
+ {
2895
+ style: { color: theme.palette.text.primary, fill: theme.palette.text.primary },
2896
+ src: logo,
2897
+ width: "auto",
2898
+ height: "20px"
2899
+ }
2900
+ )
2901
+ ] }),
2902
+ /* @__PURE__ */ jsx23(Typography7, { variant: "caption", color: theme.palette.text.primary, children: "Copyright \xA9 2024 XY Labs, Inc." }),
2903
+ /* @__PURE__ */ jsxs11(Stack, { gap: 0.5, flexDirection: "row", children: [
2904
+ /* @__PURE__ */ jsx23(LinkEx2, { color: "inherit", target: "_blank", href: "https://xylabs.com/privacy/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "Privacy" }) }),
2905
+ " ",
2906
+ "\u2022",
2907
+ " ",
2908
+ /* @__PURE__ */ jsx23(LinkEx2, { color: "inherit", target: "_blank", href: "https://xylabs.com/terms/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "Terms" }) }),
2909
+ " ",
2910
+ "\u2022",
2911
+ " ",
2912
+ /* @__PURE__ */ jsx23(LinkEx2, { color: "inherit", target: "_blank", href: "https://xyo.network/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "XYO Website" }) })
2913
+ ] })
2914
+ ] })
2915
+ ] })
2916
+ ]
2917
+ }
2918
+ );
2919
+ };
2920
+
2921
+ // src/modules/Dapp/modules/Window/menu/StyledListItems.tsx
2922
+ import { ListItemButton, styled as styled4 } from "@mui/material";
2923
+ var StyledMenuIconWrapSpan = styled4("span", { name: "StyledMenuIconWrapSpan" })(() => ({
2924
+ alignItems: "center",
2925
+ display: "inline-flex",
2926
+ flexDirection: "column"
2927
+ }));
2928
+ var StyledListItemButton = styled4(ListItemButton, { name: "StyledListItemButton" })(({ theme, active }) => {
2929
+ const activeOrHoverColor = theme.palette.primary.main;
2930
+ return {
2931
+ "position": "relative",
2932
+ "padding": "8px 16px",
2933
+ "borderRadius": "12px",
2934
+ "transition": "background-color 0.3s ease",
2935
+ "&:hover": {
2936
+ backgroundColor: "transparent",
2937
+ borderRadius: "12px"
2938
+ },
2939
+ "&::before": {
2940
+ content: '""',
2941
+ position: "absolute",
2942
+ left: 0,
2943
+ top: 0,
2944
+ bottom: 0,
2945
+ width: "6px",
2946
+ backgroundColor: active ? activeOrHoverColor : "transparent",
2947
+ borderRadius: "0 4px 4px 0",
2948
+ transition: "background-color 0.3s ease"
2949
+ }
2950
+ };
2951
+ });
2952
+
2953
+ // src/modules/Dapp/modules/Window/menu/Drawer.tsx
2954
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
2825
2955
  var DappMenuDrawer = ({
2826
2956
  activePath,
2827
2957
  context,
@@ -2833,11 +2963,11 @@ var DappMenuDrawer = ({
2833
2963
  version,
2834
2964
  ...props
2835
2965
  }) => {
2836
- const [path, setPath] = useState16("");
2966
+ const [path, setPath] = useState17("");
2837
2967
  const { darkMode } = useColorSchemeEx2();
2838
- const theme = useTheme6();
2839
- const activeColor = darkMode ? theme.palette.primary.main : theme.palette.secondary.main;
2840
- const logo = darkMode ? XyoOSLogoWhite : XyoOSLogoBlack;
2968
+ const theme = useTheme7();
2969
+ const drawerColor = darkMode ? theme.palette.background.paper : darken(theme.palette.primary.main, 0.5);
2970
+ const activeColor = theme.palette.primary.light;
2841
2971
  useEffect17(() => {
2842
2972
  if (menuConfig?.defaultPath && menuItems && activePath) {
2843
2973
  const newPath = menuItems.find((item) => activePath === item.path)?.path ?? "";
@@ -2854,124 +2984,106 @@ var DappMenuDrawer = ({
2854
2984
  debugOpen,
2855
2985
  openDebug
2856
2986
  } = useDebugClick();
2857
- return /* @__PURE__ */ jsx23(
2987
+ return /* @__PURE__ */ jsx24(
2858
2988
  Drawer,
2859
2989
  {
2860
2990
  variant: "permanent",
2861
2991
  anchor: "left",
2862
2992
  PaperProps: {
2863
2993
  sx: {
2864
- background: "transparent",
2865
- borderRight: "none",
2866
- position: "static"
2994
+ position: "static",
2995
+ backgroundColor: drawerColor,
2996
+ borderRight: "none"
2867
2997
  }
2868
2998
  },
2869
- sx: { borderRight: `solid ${darkMode ? theme.palette.grey[900] : theme.palette.grey[300]}`, maxWidth: "280px" },
2999
+ sx: { width: "280px" },
2870
3000
  ...props,
2871
- children: /* @__PURE__ */ jsxs11(FlexCol8, { alignItems: "stretch", justifyContent: "space-between", height: "100dvh", children: [
2872
- /* @__PURE__ */ jsxs11(FlexCol8, { paddingY: 1, paddingX: 2, alignItems: "stretch", children: [
2873
- /* @__PURE__ */ jsx23(Tooltip3, { title: version, children: /* @__PURE__ */ jsxs11(
3001
+ children: /* @__PURE__ */ jsxs12(FlexCol9, { alignItems: "stretch", justifyContent: "space-between", height: "100dvh", children: [
3002
+ /* @__PURE__ */ jsxs12(FlexCol9, { alignItems: "stretch", justifyContent: "flex-start", flexGrow: 1, overflow: "auto", children: [
3003
+ /* @__PURE__ */ jsx24(Tooltip4, { title: version, children: /* @__PURE__ */ jsxs12(
2874
3004
  FlexGrowRow5,
2875
3005
  {
2876
- marginBottom: 2,
3006
+ id: "dapp-name-and-icon",
3007
+ padding: 2,
2877
3008
  justifyContent: "flex-start",
2878
3009
  gap: 1,
2879
3010
  sx: { cursor: "pointer" },
3011
+ flexGrow: 0,
2880
3012
  children: [
2881
3013
  iconSvg ? RenderHtml({ htmlString: iconSvg }) : null,
2882
- /* @__PURE__ */ jsx23(Typography7, { noWrap: true, variant: "h5", letterSpacing: "-1px", fontWeight: "300", children: name })
3014
+ /* @__PURE__ */ jsx24(Typography8, { noWrap: true, variant: "h6", letterSpacing: "-1px", children: name })
2883
3015
  ]
2884
3016
  }
2885
3017
  ) }),
2886
- /* @__PURE__ */ jsx23(DebugDialogWithNode, { closeDebug, debugOpen, context }),
2887
- /* @__PURE__ */ jsx23(List, { sx: { p: 0 }, children: menuItems?.map(({
3018
+ /* @__PURE__ */ jsx24(DebugDialogWithNode, { closeDebug, debugOpen, context }),
3019
+ /* @__PURE__ */ jsx24(List, { sx: { p: 0, overflow: "auto" }, children: menuItems?.map(({
2888
3020
  svgIcon: icon,
2889
3021
  primaryText,
2890
3022
  path: pathFromPayload
2891
- }) => {
2892
- return /* @__PURE__ */ jsx23(
2893
- ListItem,
2894
- {
2895
- disablePadding: true,
2896
- sx: {
2897
- // Note: setting color here lets it cascade down to both text and svg elements with fill="currentColor"
2898
- // see - https://css-tricks.com/cascading-svg-fill-color/
2899
- color: pathFromPayload === path ? activeColor : void 0
2900
- },
2901
- children: /* @__PURE__ */ jsxs11(ListItemButton, { onClick: () => handleChange(pathFromPayload), children: [
2902
- /* @__PURE__ */ jsx23(ListItemIcon, { sx: { color: "inherit" }, children: /* @__PURE__ */ jsx23(
2903
- StyledMenuIconWrapSpan,
3023
+ }) => /* @__PURE__ */ jsx24(
3024
+ ListItem,
3025
+ {
3026
+ disablePadding: true,
3027
+ sx: { paddingBottom: 1 },
3028
+ children: /* @__PURE__ */ jsx24(
3029
+ StyledListItemButton,
3030
+ {
3031
+ onClick: () => handleChange(pathFromPayload),
3032
+ active: pathFromPayload === path,
3033
+ disableRipple: true,
3034
+ disableTouchRipple: true,
3035
+ children: /* @__PURE__ */ jsxs12(
3036
+ FlexRow8,
2904
3037
  {
2905
- ref: (ref) => {
2906
- if (ref) {
2907
- ref.innerHTML = icon ?? "";
2908
- }
2909
- }
3038
+ flexGrow: 1,
3039
+ paddingX: 2,
3040
+ paddingY: 0.5,
3041
+ sx: { "&:hover": { backgroundColor: alpha4("#ffffff", 0.05) }, "borderRadius": "10px" },
3042
+ children: [
3043
+ /* @__PURE__ */ jsx24(
3044
+ ListItemIcon,
3045
+ {
3046
+ sx: { color: pathFromPayload === path ? activeColor : alpha4("#fff", 0.3), justifyContent: "center" },
3047
+ children: /* @__PURE__ */ jsx24(
3048
+ StyledMenuIconWrapSpan,
3049
+ {
3050
+ ref: (ref) => {
3051
+ if (ref) {
3052
+ ref.innerHTML = icon ?? "";
3053
+ }
3054
+ }
3055
+ }
3056
+ )
3057
+ }
3058
+ ),
3059
+ /* @__PURE__ */ jsx24(
3060
+ ListItemText,
3061
+ {
3062
+ primaryTypographyProps: {
3063
+ fontWeight: path === pathFromPayload ? "bold" : "inherit",
3064
+ color: pathFromPayload === path ? "inherit" : alpha4(theme.palette.text.primary, 0.5)
3065
+ },
3066
+ primary: primaryText,
3067
+ style: { opacity: pathFromPayload === path ? 1 : 0.5 }
3068
+ }
3069
+ )
3070
+ ]
2910
3071
  }
2911
- ) }),
2912
- /* @__PURE__ */ jsx23(ListItemText, { primary: primaryText })
2913
- ] })
2914
- },
2915
- primaryText
2916
- );
2917
- }) })
2918
- ] }),
2919
- /* @__PURE__ */ jsxs11(FlexCol8, { children: [
2920
- /* @__PURE__ */ jsx23(Divider3, { variant: "middle", flexItem: true }),
2921
- /* @__PURE__ */ jsxs11(FlexCol8, { padding: 2, children: [
2922
- /* @__PURE__ */ jsxs11(Toolbar2, { sx: { paddingX: 1.5 }, children: [
2923
- /* @__PURE__ */ jsx23(Tooltip3, { title: "Debug Node View", children: /* @__PURE__ */ jsx23(IconButton3, { onClick: openDebug, children: /* @__PURE__ */ jsx23(BugReport2, { sx: { color: theme.palette.text.primary } }) }) }),
2924
- /* @__PURE__ */ jsx23(Tooltip3, { title: "Toggle Light/Dark Mode", children: /* @__PURE__ */ jsx23("span", { children: /* @__PURE__ */ jsx23(DarkModeIconButtonForColorScheme2, { defaultLightModeColor: "warning" }) }) })
2925
- ] }),
2926
- /* @__PURE__ */ jsx23(FlexRow7, { flexWrap: "wrap", children: socialLinksData.map((social, index) => {
2927
- return /* @__PURE__ */ jsx23(RotationAnimation, { rotation: 20, children: /* @__PURE__ */ jsx23(
2928
- IconButton3,
2929
- {
2930
- sx: { color: theme.palette.text.primary },
2931
- href: social.link,
2932
- target: "_blank",
2933
- children: social.icon
2934
- }
2935
- ) }, index);
2936
- }) }),
2937
- /* @__PURE__ */ jsxs11(FlexRow7, { padding: 1, justifyContent: "center", gap: 0.5, children: [
2938
- /* @__PURE__ */ jsx23(Typography7, { variant: "body2", color: theme.palette.text.primary, children: "Powered By" }),
2939
- /* @__PURE__ */ jsx23(
2940
- "img",
2941
- {
2942
- style: { color: theme.palette.text.primary, fill: theme.palette.text.primary },
2943
- src: logo,
2944
- width: "auto",
2945
- height: "20px"
3072
+ )
2946
3073
  }
2947
3074
  )
2948
- ] }),
2949
- /* @__PURE__ */ jsx23(LinkEx2, { target: "_blank", href: "https://xylabs.com/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "Copyright \xA9 2024 XY Labs, Inc." }) }),
2950
- /* @__PURE__ */ jsxs11(Stack, { gap: 0.5, flexDirection: "row", children: [
2951
- /* @__PURE__ */ jsx23(LinkEx2, { target: "_blank", href: "https://xylabs.com/privacy/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "Privacy" }) }),
2952
- " ",
2953
- "\u2022",
2954
- " ",
2955
- /* @__PURE__ */ jsx23(LinkEx2, { target: "_blank", href: "https://xylabs.com/terms/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "Terms" }) }),
2956
- " ",
2957
- "\u2022",
2958
- " ",
2959
- /* @__PURE__ */ jsx23(LinkEx2, { target: "_blank", href: "https://xyo.network/", children: /* @__PURE__ */ jsx23(Typography7, { variant: "caption", children: "XYO Website" }) })
2960
- ] })
2961
- ] })
2962
- ] })
3075
+ },
3076
+ primaryText
3077
+ )) })
3078
+ ] }),
3079
+ /* @__PURE__ */ jsx24(BottomMenuArea, { openDebug, backgroundColor: theme.palette.primary.dark })
2963
3080
  ] })
2964
3081
  }
2965
3082
  );
2966
3083
  };
2967
- var StyledMenuIconWrapSpan = styled4("span", { name: "StyledMenuIconWrapSpan" })(() => ({
2968
- alignItems: "center",
2969
- display: "inline-flex",
2970
- flexDirection: "column"
2971
- }));
2972
3084
 
2973
3085
  // src/modules/Dapp/modules/Window/DappWindow.tsx
2974
- import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
3086
+ import { Fragment as Fragment2, jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
2975
3087
  var DappWindow = ({
2976
3088
  dappSet,
2977
3089
  xnsNodeUrl,
@@ -3006,21 +3118,21 @@ var DappWindow = ({
3006
3118
  onPathChange
3007
3119
  } = useDappMenu(context, name);
3008
3120
  const resolvedError = nodeCreateError || menuError;
3009
- return /* @__PURE__ */ jsxs12(Fragment2, { children: [
3010
- active ? /* @__PURE__ */ jsx24(Helmet, { children: /* @__PURE__ */ jsxs12("title", { children: [
3121
+ return /* @__PURE__ */ jsxs13(Fragment2, { children: [
3122
+ active ? /* @__PURE__ */ jsx25(Helmet, { children: /* @__PURE__ */ jsxs13("title", { children: [
3011
3123
  activePath ? `${new NameTransforms4(activePath).deSlug()} | ` : "",
3012
3124
  " ",
3013
3125
  name,
3014
3126
  " ",
3015
3127
  "dApp"
3016
3128
  ] }) }) : null,
3017
- /* @__PURE__ */ jsx24(ErrorBoundary, { children: /* @__PURE__ */ jsxs12(
3129
+ /* @__PURE__ */ jsx25(ErrorBoundary, { children: /* @__PURE__ */ jsxs13(
3018
3130
  DappChrome,
3019
3131
  {
3020
- appBar: /* @__PURE__ */ jsx24(Fragment2, { children: /* @__PURE__ */ jsx24(DappBar, { context, name, version, title: activePath ? new NameTransforms4(activePath).deSlug() : "" }) }),
3132
+ appBar: /* @__PURE__ */ jsx25(Fragment2, { children: /* @__PURE__ */ jsx25(DappBar, { context, name, version, title: activePath ? new NameTransforms4(activePath).deSlug() : "" }) }),
3021
3133
  height: "100dvh",
3022
3134
  width: "100dvw",
3023
- largeScreenMenu: /* @__PURE__ */ jsx24(
3135
+ largeScreenMenu: /* @__PURE__ */ jsx25(
3024
3136
  DappMenuDrawer,
3025
3137
  {
3026
3138
  context,
@@ -3032,7 +3144,7 @@ var DappWindow = ({
3032
3144
  menuItems: menuItemsVisible
3033
3145
  }
3034
3146
  ),
3035
- smallScreenMenu: /* @__PURE__ */ jsx24(
3147
+ smallScreenMenu: /* @__PURE__ */ jsx25(
3036
3148
  DappBottomNavigation,
3037
3149
  {
3038
3150
  activePath,
@@ -3042,15 +3154,15 @@ var DappWindow = ({
3042
3154
  sx: { display: menuConfig ? "flex" : "none" }
3043
3155
  }
3044
3156
  ),
3045
- splashScreen: resolvedError ? null : /* @__PURE__ */ jsx24(DappLoadingFlexbox, { minimize: minimized, name, open }),
3157
+ splashScreen: resolvedError ? null : /* @__PURE__ */ jsx25(DappLoadingFlexbox, { minimize: minimized, name, open }),
3046
3158
  children: [
3047
- resolvedError || errors?.length > 0 ? /* @__PURE__ */ jsxs12(FlexCol9, { padding: 2, children: [
3048
- resolvedError ? /* @__PURE__ */ jsx24(ErrorRender3, { error: resolvedError, scope: "DappWindow" }) : null,
3049
- errors.map((error, index) => /* @__PURE__ */ jsx24(ErrorRender3, { error, scope: "DappWindowErrors" }, index))
3159
+ resolvedError || errors?.length > 0 ? /* @__PURE__ */ jsxs13(FlexCol10, { padding: 2, children: [
3160
+ resolvedError ? /* @__PURE__ */ jsx25(ErrorRender3, { error: resolvedError, scope: "DappWindow" }) : null,
3161
+ errors.map((error, index) => /* @__PURE__ */ jsx25(ErrorRender3, { error, scope: "DappWindowErrors" }, index))
3050
3162
  ] }) : null,
3051
- /* @__PURE__ */ jsx24(WalletProvider, { rootWallet: dappWallet, children: context === null ? null : /* @__PURE__ */ jsx24(XyOsUiContextProvider, { value: context, children: /* @__PURE__ */ jsx24(NodeProvider2, { node: context?.root, children: active ? /* @__PURE__ */ jsxs12(Fragment2, { children: [
3052
- /* @__PURE__ */ jsx24(
3053
- FlexCol9,
3163
+ /* @__PURE__ */ jsx25(WalletProvider, { rootWallet: dappWallet, children: context === null ? null : /* @__PURE__ */ jsx25(XyOsUiContextProvider, { value: context, children: /* @__PURE__ */ jsx25(NodeProvider2, { node: context?.root, children: active ? /* @__PURE__ */ jsxs13(Fragment2, { children: [
3164
+ /* @__PURE__ */ jsx25(
3165
+ FlexCol10,
3054
3166
  {
3055
3167
  position: "absolute",
3056
3168
  top: 0,
@@ -3060,10 +3172,10 @@ var DappWindow = ({
3060
3172
  alignItems: "stretch",
3061
3173
  justifyContent: "stretch",
3062
3174
  sx: { overflowY: scrollable ? "auto" : "hidden" },
3063
- children: /* @__PURE__ */ jsx24(TypedDappComponent, { name })
3175
+ children: /* @__PURE__ */ jsx25(TypedDappComponent, { name })
3064
3176
  }
3065
3177
  ),
3066
- /* @__PURE__ */ jsx24(DappAccessFlexbox, { context })
3178
+ /* @__PURE__ */ jsx25(DappAccessFlexbox, { context })
3067
3179
  ] }) : null }) }) })
3068
3180
  ]
3069
3181
  }
@@ -3072,28 +3184,28 @@ var DappWindow = ({
3072
3184
  };
3073
3185
 
3074
3186
  // src/modules/Dapp/Container.tsx
3075
- import { jsx as jsx25 } from "react/jsx-runtime";
3187
+ import { jsx as jsx26 } from "react/jsx-runtime";
3076
3188
  var DappContainer = ({
3077
3189
  dappSet,
3078
3190
  xnsNodeUrl,
3079
3191
  xnsNetwork
3080
3192
  }) => {
3081
3193
  const { dapp, dappIcon } = dappSet;
3082
- return /* @__PURE__ */ jsx25(DappIconButton, { dappIcon, dappIconSvg: dapp.params.iconSvg, dappName: dapp?.config.name, children: /* @__PURE__ */ jsx25(DappWindow, { dappSet, xnsNodeUrl, xnsNetwork }) });
3194
+ return /* @__PURE__ */ jsx26(DappIconButton, { dappIcon, dappIconSvg: dapp.params.iconSvg, dappName: dapp?.config.name, children: /* @__PURE__ */ jsx26(DappWindow, { dappSet, xnsNodeUrl, xnsNetwork }) });
3083
3195
  };
3084
3196
 
3085
3197
  // src/modules/Dapp/ContainerFlexbox.tsx
3086
3198
  import { Container as Container2 } from "@mui/material";
3087
- import { FlexCol as FlexCol10 } from "@xylabs/react-flexbox";
3088
- import { jsx as jsx26 } from "react/jsx-runtime";
3199
+ import { FlexCol as FlexCol11 } from "@xylabs/react-flexbox";
3200
+ import { jsx as jsx27 } from "react/jsx-runtime";
3089
3201
  var ContainerFlexbox = ({
3090
3202
  children,
3091
3203
  containerProps,
3092
3204
  scrollable = true,
3093
3205
  ...props
3094
3206
  }) => {
3095
- return /* @__PURE__ */ jsx26(
3096
- FlexCol10,
3207
+ return /* @__PURE__ */ jsx27(
3208
+ FlexCol11,
3097
3209
  {
3098
3210
  id: "container-flexbox",
3099
3211
  alignItems: "center",
@@ -3103,7 +3215,7 @@ var ContainerFlexbox = ({
3103
3215
  gap: 2,
3104
3216
  overflow: scrollable ? "auto" : "unset",
3105
3217
  ...props,
3106
- children: /* @__PURE__ */ jsx26(Container2, { ...containerProps, children })
3218
+ children: /* @__PURE__ */ jsx27(Container2, { ...containerProps, children })
3107
3219
  }
3108
3220
  );
3109
3221
  };
@@ -3118,18 +3230,18 @@ import { useMemo as useMemo13 } from "react";
3118
3230
 
3119
3231
  // src/modules/Dapp/Page/DividerChip.tsx
3120
3232
  import { Chip as Chip2, CircularProgress } from "@mui/material";
3121
- import { Fragment as Fragment3, jsx as jsx27 } from "react/jsx-runtime";
3233
+ import { Fragment as Fragment3, jsx as jsx28 } from "react/jsx-runtime";
3122
3234
  var DividerChip = ({ registeredDapps, ...props }) => {
3123
- return /* @__PURE__ */ jsx27(
3235
+ return /* @__PURE__ */ jsx28(
3124
3236
  Chip2,
3125
3237
  {
3126
- avatar: registeredDapps === void 0 ? /* @__PURE__ */ jsx27("span", { children: /* @__PURE__ */ jsx27(
3238
+ avatar: registeredDapps === void 0 ? /* @__PURE__ */ jsx28("span", { children: /* @__PURE__ */ jsx28(
3127
3239
  CircularProgress,
3128
3240
  {
3129
3241
  size: "small",
3130
3242
  sx: { display: "inline" }
3131
3243
  }
3132
- ) }) : /* @__PURE__ */ jsx27(Fragment3, {}),
3244
+ ) }) : /* @__PURE__ */ jsx28(Fragment3, {}),
3133
3245
  label: `${registeredDapps?.length ? "" : "Loading "}Beta dApps`,
3134
3246
  size: "small",
3135
3247
  sx: { gap: 0.5 },
@@ -3139,7 +3251,7 @@ var DividerChip = ({ registeredDapps, ...props }) => {
3139
3251
  };
3140
3252
 
3141
3253
  // src/modules/Dapp/Page/Row.tsx
3142
- import { Fragment as Fragment4, jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
3254
+ import { Fragment as Fragment4, jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
3143
3255
  var DappsRow = ({
3144
3256
  chipLabel,
3145
3257
  installType,
@@ -3148,14 +3260,14 @@ var DappsRow = ({
3148
3260
  xnsNodeUrl
3149
3261
  }) => {
3150
3262
  const filteredRegisteredDappSets = useMemo13(() => DappInstallTypeFilters[installType](registeredDappsSet), [installType, registeredDappsSet]);
3151
- return /* @__PURE__ */ jsxs13(Fragment4, { children: [
3152
- /* @__PURE__ */ jsx28(
3263
+ return /* @__PURE__ */ jsxs14(Fragment4, { children: [
3264
+ /* @__PURE__ */ jsx29(
3153
3265
  Divider4,
3154
3266
  {
3155
3267
  variant: "middle",
3156
3268
  sx: { marginY: 3 },
3157
3269
  flexItem: true,
3158
- children: /* @__PURE__ */ jsx28(
3270
+ children: /* @__PURE__ */ jsx29(
3159
3271
  DividerChip,
3160
3272
  {
3161
3273
  label: `${filteredRegisteredDappSets === void 0 ? "Loading " : ""}${chipLabel}`,
@@ -3164,8 +3276,8 @@ var DappsRow = ({
3164
3276
  )
3165
3277
  }
3166
3278
  ),
3167
- filteredRegisteredDappSets?.length ? /* @__PURE__ */ jsx28(Fade2, { in: !!filteredRegisteredDappSets?.length, timeout: 1e3, children: /* @__PURE__ */ jsx28(StyledGridContainer, { children: filteredRegisteredDappSets?.map(
3168
- (dappSet, index) => /* @__PURE__ */ jsx28(DappContainer, { dappSet, xnsNodeUrl, xnsNetwork }, index)
3279
+ filteredRegisteredDappSets?.length ? /* @__PURE__ */ jsx29(Fade2, { in: !!filteredRegisteredDappSets?.length, timeout: 1e3, children: /* @__PURE__ */ jsx29(StyledGridContainer, { children: filteredRegisteredDappSets?.map(
3280
+ (dappSet, index) => /* @__PURE__ */ jsx29(DappContainer, { dappSet, xnsNodeUrl, xnsNetwork }, index)
3169
3281
  ) }) }) : null
3170
3282
  ] });
3171
3283
  };
@@ -3181,7 +3293,7 @@ var StyledGridContainer = styled5("div", { name: "StyledGridContainer" })(({ the
3181
3293
 
3182
3294
  // src/modules/network/components/LoadingIndicator.tsx
3183
3295
  import { SignalCellularAltOutlined } from "@mui/icons-material";
3184
- import { Tooltip as Tooltip4, useTheme as useTheme7 } from "@mui/material";
3296
+ import { Tooltip as Tooltip5, useTheme as useTheme8 } from "@mui/material";
3185
3297
  import { useColorSchemeEx as useColorSchemeEx3 } from "@xylabs/react-invertible-theme";
3186
3298
  import { useMemo as useMemo16 } from "react";
3187
3299
 
@@ -3283,11 +3395,11 @@ var StyledNetworkLoadingIndicator = styled6("div", { name: "StyledNetworkLoading
3283
3395
  }));
3284
3396
 
3285
3397
  // src/modules/network/components/LoadingIndicator.tsx
3286
- import { jsx as jsx29 } from "react/jsx-runtime";
3287
- var WaitingForNetwork = () => /* @__PURE__ */ jsx29(Tooltip4, { title: "Waiting for Network initialization", children: /* @__PURE__ */ jsx29(StyledNetworkLoadingIndicator, {}) });
3398
+ import { jsx as jsx30 } from "react/jsx-runtime";
3399
+ var WaitingForNetwork = () => /* @__PURE__ */ jsx30(Tooltip5, { title: "Waiting for Network initialization", children: /* @__PURE__ */ jsx30(StyledNetworkLoadingIndicator, {}) });
3288
3400
  var NetworkLoadingIndicator = ({ highContrast }) => {
3289
3401
  const { darkMode } = useColorSchemeEx3();
3290
- const theme = useTheme7();
3402
+ const theme = useTheme8();
3291
3403
  const { networkReady } = useOsNetwork();
3292
3404
  const highContrastSuccessColor = darkMode ? theme.palette.success.dark : theme.palette.success.main;
3293
3405
  const successColor = highContrast ? highContrastSuccessColor : theme.palette.success.main;
@@ -3296,31 +3408,31 @@ var NetworkLoadingIndicator = ({ highContrast }) => {
3296
3408
  const NetworkComponent = useMemo16(() => {
3297
3409
  if (networkReady) {
3298
3410
  const connectionReady = true;
3299
- return connectionReady ? () => /* @__PURE__ */ jsx29(Tooltip4, { title: "Connected to Network", children: /* @__PURE__ */ jsx29(SignalCellularAltOutlined, { sx: { color: successColor } }) }) : () => /* @__PURE__ */ jsx29(Tooltip4, { title: "Error Connecting to Network", children: /* @__PURE__ */ jsx29(SignalCellularAltOutlined, { sx: { color: errorColor } }) });
3411
+ return connectionReady ? () => /* @__PURE__ */ jsx30(Tooltip5, { title: "Connected to Network", children: /* @__PURE__ */ jsx30(SignalCellularAltOutlined, { sx: { color: successColor } }) }) : () => /* @__PURE__ */ jsx30(Tooltip5, { title: "Error Connecting to Network", children: /* @__PURE__ */ jsx30(SignalCellularAltOutlined, { sx: { color: errorColor } }) });
3300
3412
  } else {
3301
3413
  return WaitingForNetwork;
3302
3414
  }
3303
3415
  }, [errorColor, networkReady, successColor]);
3304
- return /* @__PURE__ */ jsx29(NetworkComponent, {});
3416
+ return /* @__PURE__ */ jsx30(NetworkComponent, {});
3305
3417
  };
3306
3418
 
3307
3419
  // src/modules/network/components/NetworkButton.tsx
3308
3420
  import { NotInterested } from "@mui/icons-material";
3309
3421
  import { Button as Button2 } from "@mui/material";
3310
- import { Fragment as Fragment5, jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
3422
+ import { Fragment as Fragment5, jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
3311
3423
  var NetworkButton = ({
3312
3424
  disabled,
3313
3425
  startIcon,
3314
3426
  ...props
3315
3427
  }) => {
3316
3428
  const { networkReady } = useOsNetwork();
3317
- return /* @__PURE__ */ jsx30(
3429
+ return /* @__PURE__ */ jsx31(
3318
3430
  Button2,
3319
3431
  {
3320
3432
  disabled: disabled || !networkReady,
3321
- startIcon: /* @__PURE__ */ jsxs14(Fragment5, { children: [
3433
+ startIcon: /* @__PURE__ */ jsxs15(Fragment5, { children: [
3322
3434
  startIcon,
3323
- networkReady === false ? /* @__PURE__ */ jsx30(NotInterested, {}) : null
3435
+ networkReady === false ? /* @__PURE__ */ jsx31(NotInterested, {}) : null
3324
3436
  ] }),
3325
3437
  ...props
3326
3438
  }
@@ -3328,31 +3440,31 @@ var NetworkButton = ({
3328
3440
  };
3329
3441
 
3330
3442
  // src/modules/network/components/NetworkReady.tsx
3331
- import { Typography as Typography8 } from "@mui/material";
3332
- import { FlexCol as FlexCol11 } from "@xylabs/react-flexbox";
3333
- import { Fragment as Fragment6, jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
3443
+ import { Typography as Typography9 } from "@mui/material";
3444
+ import { FlexCol as FlexCol12 } from "@xylabs/react-flexbox";
3445
+ import { Fragment as Fragment6, jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
3334
3446
  var NetworkReadyFlexBox = ({
3335
3447
  children,
3336
3448
  skipCheck,
3337
3449
  ...props
3338
3450
  }) => {
3339
3451
  const { networkReady } = useOsNetwork();
3340
- return /* @__PURE__ */ jsx31(Fragment6, { children: networkReady || skipCheck ? children : /* @__PURE__ */ jsxs15(FlexCol11, { height: "100%", ...props, children: [
3341
- /* @__PURE__ */ jsx31(LoadingOsLogo, { widthInPixels: 100, busy: true }),
3342
- /* @__PURE__ */ jsx31(Typography8, { fontFamily: "monospace", children: "Loading XYO Name Service..." })
3452
+ return /* @__PURE__ */ jsx32(Fragment6, { children: networkReady || skipCheck ? children : /* @__PURE__ */ jsxs16(FlexCol12, { height: "100%", ...props, children: [
3453
+ /* @__PURE__ */ jsx32(LoadingOsLogo, { widthInPixels: 100, busy: true }),
3454
+ /* @__PURE__ */ jsx32(Typography9, { fontFamily: "monospace", children: "Loading XYO Name Service..." })
3343
3455
  ] }) });
3344
3456
  };
3345
3457
 
3346
3458
  // src/DappPage.tsx
3347
- import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
3459
+ import { jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
3348
3460
  var DappTitle = ({
3349
3461
  subtitle,
3350
3462
  title,
3351
3463
  ...props
3352
3464
  }) => {
3353
- return title ? /* @__PURE__ */ jsxs16(FlexCol12, { alignItems: "flex-start", gap: 1, ...props, children: [
3354
- /* @__PURE__ */ jsx32(Typography9, { variant: "h3", children: /* @__PURE__ */ jsx32("b", { children: title }) }),
3355
- /* @__PURE__ */ jsx32(Typography9, { gutterBottom: true, variant: "subtitle2", children: subtitle })
3465
+ return title ? /* @__PURE__ */ jsxs17(FlexCol13, { alignItems: "flex-start", gap: 1, ...props, children: [
3466
+ /* @__PURE__ */ jsx33(Typography10, { variant: "h3", children: /* @__PURE__ */ jsx33("b", { children: title }) }),
3467
+ /* @__PURE__ */ jsx33(Typography10, { gutterBottom: true, variant: "subtitle2", children: subtitle })
3356
3468
  ] }) : null;
3357
3469
  };
3358
3470
  var InnerDappPage = ({
@@ -3363,13 +3475,12 @@ var InnerDappPage = ({
3363
3475
  sx,
3364
3476
  ...props
3365
3477
  }) => {
3366
- return /* @__PURE__ */ jsxs16(
3367
- FlexCol12,
3478
+ return /* @__PURE__ */ jsxs17(
3479
+ FlexCol13,
3368
3480
  {
3369
3481
  id: "innerPage",
3370
3482
  sx: {
3371
- marginX: { sm: 2 },
3372
- marginY: 2,
3483
+ margin: 2,
3373
3484
  ...sx
3374
3485
  },
3375
3486
  gap: noScroll ? 0 : 2,
@@ -3377,7 +3488,7 @@ var InnerDappPage = ({
3377
3488
  justifyContent: "flex-start",
3378
3489
  ...props,
3379
3490
  children: [
3380
- title ? /* @__PURE__ */ jsx32(DappTitle, { subtitle, title, marginX: 1 }) : null,
3491
+ title ? /* @__PURE__ */ jsx33(DappTitle, { subtitle, title, marginX: 1 }) : null,
3381
3492
  children
3382
3493
  ]
3383
3494
  }
@@ -3392,14 +3503,14 @@ var DappPage = ({
3392
3503
  rollbar,
3393
3504
  ...props
3394
3505
  }) => {
3395
- return /* @__PURE__ */ jsx32(
3506
+ return /* @__PURE__ */ jsx33(
3396
3507
  ThrownErrorBoundary,
3397
3508
  {
3398
- errorComponent: (error, boundaryName) => /* @__PURE__ */ jsx32(ErrorRenderWithSupportDefault, { errorContext: boundaryName, error, scope: "DappPage" }),
3509
+ errorComponent: (error, boundaryName) => /* @__PURE__ */ jsx33(ErrorRenderWithSupportDefault, { errorContext: boundaryName, error, scope: "DappPage" }),
3399
3510
  rollbar,
3400
3511
  scope: "DappPage",
3401
- children: /* @__PURE__ */ jsx32(NetworkReadyFlexBox, { skipCheck: !checkNetwork, children: container ? /* @__PURE__ */ jsx32(Container3, { disableGutters: true, maxWidth: container === true ? "md" : container, children: noScroll ? /* @__PURE__ */ jsx32(
3402
- FlexCol12,
3512
+ children: /* @__PURE__ */ jsx33(NetworkReadyFlexBox, { skipCheck: !checkNetwork, children: container ? /* @__PURE__ */ jsx33(Container3, { disableGutters: true, maxWidth: container === true ? "md" : container, children: noScroll ? /* @__PURE__ */ jsx33(
3513
+ FlexCol13,
3403
3514
  {
3404
3515
  sx: {
3405
3516
  position: "absolute",
@@ -3408,9 +3519,9 @@ var DappPage = ({
3408
3519
  right: 0,
3409
3520
  bottom: 0
3410
3521
  },
3411
- children: /* @__PURE__ */ jsx32(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 })
3522
+ children: /* @__PURE__ */ jsx33(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 })
3412
3523
  }
3413
- ) : /* @__PURE__ */ jsx32(FlexCol12, { width: "100%", height: "100%", alignItems: "stretch", children: /* @__PURE__ */ jsx32(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 }) }) }) : noScroll ? /* @__PURE__ */ jsx32(
3524
+ ) : /* @__PURE__ */ jsx33(FlexCol13, { width: "100%", height: "100%", alignItems: "stretch", children: /* @__PURE__ */ jsx33(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 }) }) }) : noScroll ? /* @__PURE__ */ jsx33(
3414
3525
  InnerDappPage,
3415
3526
  {
3416
3527
  sx: {
@@ -3426,32 +3537,32 @@ var DappPage = ({
3426
3537
  ...props,
3427
3538
  flexGrow: 1
3428
3539
  }
3429
- ) : /* @__PURE__ */ jsx32(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 }) })
3540
+ ) : /* @__PURE__ */ jsx33(InnerDappPage, { noScroll, title, subtitle, ...props, flexGrow: 1 }) })
3430
3541
  }
3431
3542
  );
3432
3543
  };
3433
3544
 
3434
3545
  // src/components/Widgets/StackOfWidgets.tsx
3435
3546
  import {
3436
- alpha as alpha6,
3547
+ alpha as alpha7,
3437
3548
  Box as Box3,
3438
- useTheme as useTheme9
3549
+ useTheme as useTheme10
3439
3550
  } from "@mui/material";
3440
3551
  import {
3441
3552
  animated as animated2,
3442
3553
  to as interpolate,
3443
3554
  useSprings
3444
3555
  } from "@react-spring/web";
3445
- import { useState as useState17 } from "react";
3556
+ import { useState as useState18 } from "react";
3446
3557
  import { useDrag } from "react-use-gesture";
3447
3558
 
3448
3559
  // src/components/Widgets/Types/BarGraph/HorizontalBarGraph.tsx
3449
- import { Typography as Typography10 } from "@mui/material";
3450
- import { FlexCol as FlexCol13, FlexGrowRow as FlexGrowRow6 } from "@xylabs/react-flexbox";
3560
+ import { Typography as Typography11 } from "@mui/material";
3561
+ import { FlexCol as FlexCol14, FlexGrowRow as FlexGrowRow6 } from "@xylabs/react-flexbox";
3451
3562
 
3452
3563
  // src/components/Widgets/Types/BarGraph/StyledLinearProgress.tsx
3453
3564
  import {
3454
- alpha as alpha4,
3565
+ alpha as alpha5,
3455
3566
  LinearProgress,
3456
3567
  styled as styled7
3457
3568
  } from "@mui/material";
@@ -3460,13 +3571,13 @@ var StyledLinearProgress = styled7(LinearProgress, { name: "StyledLinearProgress
3460
3571
  "MozBoxSizing": "border-box",
3461
3572
  "WebkitBoxSizing": "border-box",
3462
3573
  "background": "transparent",
3463
- "borderBottom": `1px solid ${alpha4(theme.palette.text.secondary, 0.3)}`,
3574
+ "borderBottom": `1px solid ${alpha5(theme.palette.text.secondary, 0.3)}`,
3464
3575
  "boxSizing": "border-box",
3465
3576
  "height": theme.spacing(0.25)
3466
3577
  }));
3467
3578
 
3468
3579
  // src/components/Widgets/Types/BarGraph/HorizontalBarGraph.tsx
3469
- import { jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
3580
+ import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
3470
3581
  var sampleData = [
3471
3582
  { name: "United States", value: 134 },
3472
3583
  { name: "South Africa", value: 400 },
@@ -3485,20 +3596,23 @@ var HorizontalBarGraph = ({ items = sampleData, ...props }) => {
3485
3596
  });
3486
3597
  console.log(itemsSortedByValue);
3487
3598
  const topValue = itemsSortedByValue[0].value;
3488
- return /* @__PURE__ */ jsx33(FlexCol13, { alignItems: "stretch", gap: 0.5, ...props, children: items.slice(0, 5).map((item, index) => /* @__PURE__ */ jsxs17(FlexCol13, { alignItems: "stretch", children: [
3489
- /* @__PURE__ */ jsxs17(FlexGrowRow6, { justifyContent: "space-between", children: [
3490
- /* @__PURE__ */ jsx33(Typography10, { variant: "caption", maxWidth: "50%", noWrap: true, children: item.name }),
3491
- /* @__PURE__ */ jsx33(Typography10, { variant: "caption", maxWidth: "50%", children: item.value })
3492
- ] }),
3493
- /* @__PURE__ */ jsx33(StyledLinearProgress, { color: "primary", value: item.value / (topValue * 1.25) * 100, variant: "determinate" })
3494
- ] }, index)) });
3599
+ return /* @__PURE__ */ jsx34(FlexCol14, { alignItems: "stretch", gap: 0.5, ...props, children: items.slice(0, 5).map((item, index) => (
3600
+ // eslint-disable-next-line @eslint-react/no-array-index-key
3601
+ /* @__PURE__ */ jsxs18(FlexCol14, { alignItems: "stretch", children: [
3602
+ /* @__PURE__ */ jsxs18(FlexGrowRow6, { justifyContent: "space-between", children: [
3603
+ /* @__PURE__ */ jsx34(Typography11, { variant: "caption", maxWidth: "50%", noWrap: true, children: item.name }),
3604
+ /* @__PURE__ */ jsx34(Typography11, { variant: "caption", maxWidth: "50%", children: item.value })
3605
+ ] }),
3606
+ /* @__PURE__ */ jsx34(StyledLinearProgress, { color: "primary", value: item.value / (topValue * 1.25) * 100, variant: "determinate" })
3607
+ ] }, index)
3608
+ )) });
3495
3609
  };
3496
3610
 
3497
3611
  // src/components/Widgets/Types/DataColumns/TwoColTwoStat.tsx
3498
- import { Typography as Typography11, useTheme as useTheme8 } from "@mui/material";
3499
- import { FlexCol as FlexCol14, FlexGrowRow as FlexGrowRow7 } from "@xylabs/react-flexbox";
3612
+ import { Typography as Typography12, useTheme as useTheme9 } from "@mui/material";
3613
+ import { FlexCol as FlexCol15, FlexGrowRow as FlexGrowRow7 } from "@xylabs/react-flexbox";
3500
3614
  import { useEffect as useEffect18 } from "react";
3501
- import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
3615
+ import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
3502
3616
  var MAX_LENGTH = 2;
3503
3617
  var validateProps = (props) => {
3504
3618
  if (props.length > MAX_LENGTH) {
@@ -3506,37 +3620,40 @@ var validateProps = (props) => {
3506
3620
  }
3507
3621
  };
3508
3622
  var TwoColTwoStat = ({ items, ...props }) => {
3509
- const theme = useTheme8();
3623
+ const theme = useTheme9();
3510
3624
  useEffect18(() => {
3511
3625
  validateProps(items);
3512
3626
  }, [items]);
3513
- return /* @__PURE__ */ jsx34(FlexGrowRow7, { gap: 2, ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs18(FlexCol14, { flexGrow: 1, alignItems: "start", children: [
3514
- /* @__PURE__ */ jsx34(Typography11, { variant: "h2", fontWeight: theme.typography.fontWeightMedium, children: item.rawInsightValue }),
3515
- /* @__PURE__ */ jsx34(Typography11, { variant: "body2", children: item.subtitle })
3516
- ] }, `stat-${index}-${item.unit}`)) });
3627
+ return /* @__PURE__ */ jsx35(FlexGrowRow7, { gap: 2, ...props, children: items.map((item, index) => (
3628
+ // eslint-disable-next-line @eslint-react/no-array-index-key
3629
+ /* @__PURE__ */ jsxs19(FlexCol15, { flexGrow: 1, alignItems: "start", children: [
3630
+ /* @__PURE__ */ jsx35(Typography12, { variant: "h2", fontWeight: theme.typography.fontWeightMedium, children: item.rawInsightValue }),
3631
+ /* @__PURE__ */ jsx35(Typography12, { variant: "body2", children: item.subtitle })
3632
+ ] }, `stat-${index}-${item.unit}`)
3633
+ )) });
3517
3634
  };
3518
3635
 
3519
3636
  // src/components/Widgets/Types/Examples/BarGraph.tsx
3520
- import { jsx as jsx35 } from "react/jsx-runtime";
3637
+ import { jsx as jsx36 } from "react/jsx-runtime";
3521
3638
  var ExampleBarGraphWidget = () => {
3522
- return /* @__PURE__ */ jsx35(WidgetCard, { widgetContent: /* @__PURE__ */ jsx35(HorizontalBarGraph, {}), widgetName: "Friend Locations", timeOfData: 1715713478, widgetPath: "/profile" });
3639
+ return /* @__PURE__ */ jsx36(WidgetCard, { widgetContent: /* @__PURE__ */ jsx36(HorizontalBarGraph, {}), widgetName: "Friend Locations", timeOfData: 1715713478, widgetPath: "/profile" });
3523
3640
  };
3524
3641
 
3525
3642
  // src/components/Widgets/Types/Tables/BooleanTable.tsx
3526
3643
  import { CircleRounded } from "@mui/icons-material";
3527
3644
  import {
3528
- alpha as alpha5,
3645
+ alpha as alpha6,
3529
3646
  Paper as Paper2,
3530
3647
  styled as styled8,
3531
3648
  TableRow,
3532
- Typography as Typography12
3649
+ Typography as Typography13
3533
3650
  } from "@mui/material";
3534
3651
  import {
3535
- FlexCol as FlexCol15,
3652
+ FlexCol as FlexCol16,
3536
3653
  FlexGrowRow as FlexGrowRow8,
3537
- FlexRow as FlexRow8
3654
+ FlexRow as FlexRow9
3538
3655
  } from "@xylabs/react-flexbox";
3539
- import { jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
3656
+ import { jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
3540
3657
  var sampleData2 = [
3541
3658
  { name: "@arietrouw", value: true },
3542
3659
  { name: "@officialxyo", value: false },
@@ -3548,7 +3665,7 @@ var StyledLightTableRow = styled8(Paper2, { name: "StyledLightTableRow" })(({ th
3548
3665
  backgroundColor: "transparent",
3549
3666
  padding: theme.spacing(0.75)
3550
3667
  }));
3551
- var StyledTableColumnTitle = styled8(Typography12, { name: "StyledTableColumnTitle" })(({ theme }) => ({
3668
+ var StyledTableColumnTitle = styled8(Typography13, { name: "StyledTableColumnTitle" })(({ theme }) => ({
3552
3669
  color: theme.palette.text.secondary,
3553
3670
  fontWeight: theme.typography.fontWeightBold,
3554
3671
  textTransform: "uppercase"
@@ -3558,11 +3675,11 @@ var DefaultTrueOutput = styled8(CircleRounded, { name: "DefaultTrueOutput" })(({
3558
3675
  fontSize: "10px"
3559
3676
  }));
3560
3677
  var DefaultFalseOutput = styled8(CircleRounded, { name: "DefaultFalseOutput" })(({ theme }) => ({
3561
- fill: alpha5(theme.palette.text.disabled, 0.5),
3678
+ fill: alpha6(theme.palette.text.disabled, 0.5),
3562
3679
  fontSize: "10px"
3563
3680
  }));
3564
- var defaultTrueOutput = /* @__PURE__ */ jsx36(DefaultTrueOutput, {});
3565
- var defaultFalseOutput = /* @__PURE__ */ jsx36(DefaultFalseOutput, {});
3681
+ var defaultTrueOutput = /* @__PURE__ */ jsx37(DefaultTrueOutput, {});
3682
+ var defaultFalseOutput = /* @__PURE__ */ jsx37(DefaultFalseOutput, {});
3566
3683
  var BooleanTable = ({
3567
3684
  items = sampleData2,
3568
3685
  tableHeaders,
@@ -3570,22 +3687,22 @@ var BooleanTable = ({
3570
3687
  falseOutput = defaultFalseOutput,
3571
3688
  ...props
3572
3689
  }) => {
3573
- return /* @__PURE__ */ jsxs19(FlexCol15, { alignItems: "stretch", ...props, children: [
3574
- /* @__PURE__ */ jsx36(FlexRow8, { paddingBottom: 0.5, justifyContent: "space-between", children: tableHeaders.map((name) => /* @__PURE__ */ jsx36(StyledTableColumnTitle, { variant: "caption", children: name }, name)) }),
3575
- /* @__PURE__ */ jsx36(FlexCol15, { alignItems: "stretch", gap: 0.25, children: items.slice(0, 4).map((item, index) => /* @__PURE__ */ jsx36(TableRow, { children: /* @__PURE__ */ jsxs19(FlexGrowRow8, { flexGrow: 1, justifyContent: "space-between", children: [
3576
- /* @__PURE__ */ jsx36(Typography12, { variant: "caption", noWrap: true, maxWidth: "70%", children: item.name }),
3690
+ return /* @__PURE__ */ jsxs20(FlexCol16, { alignItems: "stretch", ...props, children: [
3691
+ /* @__PURE__ */ jsx37(FlexRow9, { paddingBottom: 0.5, justifyContent: "space-between", children: tableHeaders.map((name) => /* @__PURE__ */ jsx37(StyledTableColumnTitle, { variant: "caption", children: name }, name)) }),
3692
+ /* @__PURE__ */ jsx37(FlexCol16, { alignItems: "stretch", gap: 0.25, children: items.slice(0, 4).map((item, index) => /* @__PURE__ */ jsx37(TableRow, { children: /* @__PURE__ */ jsxs20(FlexGrowRow8, { flexGrow: 1, justifyContent: "space-between", children: [
3693
+ /* @__PURE__ */ jsx37(Typography13, { variant: "caption", noWrap: true, maxWidth: "70%", children: item.name }),
3577
3694
  item.value ? trueOutput : falseOutput
3578
3695
  ] }) }, index)) })
3579
3696
  ] });
3580
3697
  };
3581
3698
 
3582
3699
  // src/components/Widgets/Types/Examples/BooleanTable.tsx
3583
- import { jsx as jsx37 } from "react/jsx-runtime";
3700
+ import { jsx as jsx38 } from "react/jsx-runtime";
3584
3701
  var ExampleBooleanTableWidget = () => {
3585
- return /* @__PURE__ */ jsx37(
3702
+ return /* @__PURE__ */ jsx38(
3586
3703
  WidgetCard,
3587
3704
  {
3588
- widgetContent: /* @__PURE__ */ jsx37(
3705
+ widgetContent: /* @__PURE__ */ jsx38(
3589
3706
  BooleanTable,
3590
3707
  {
3591
3708
  items: [
@@ -3606,12 +3723,12 @@ var ExampleBooleanTableWidget = () => {
3606
3723
  };
3607
3724
 
3608
3725
  // src/components/Widgets/Types/Examples/TwoColTwoStat.tsx
3609
- import { jsx as jsx38 } from "react/jsx-runtime";
3726
+ import { jsx as jsx39 } from "react/jsx-runtime";
3610
3727
  var ExampleTwoColTwoStatWidget = () => {
3611
- return /* @__PURE__ */ jsx38(
3728
+ return /* @__PURE__ */ jsx39(
3612
3729
  WidgetCard,
3613
3730
  {
3614
- widgetContent: /* @__PURE__ */ jsx38(
3731
+ widgetContent: /* @__PURE__ */ jsx39(
3615
3732
  TwoColTwoStat,
3616
3733
  {
3617
3734
  items: [
@@ -3638,11 +3755,11 @@ var ExampleTwoColTwoStatWidget = () => {
3638
3755
  };
3639
3756
 
3640
3757
  // src/components/Widgets/StackOfWidgets.tsx
3641
- import { Fragment as Fragment7, jsx as jsx39 } from "react/jsx-runtime";
3758
+ import { Fragment as Fragment7, jsx as jsx40 } from "react/jsx-runtime";
3642
3759
  var cards = [
3643
- /* @__PURE__ */ jsx39(ExampleBarGraphWidget, {}, "bar-graph"),
3644
- /* @__PURE__ */ jsx39(ExampleBooleanTableWidget, {}, "boolean-table"),
3645
- /* @__PURE__ */ jsx39(ExampleTwoColTwoStatWidget, {}, "two-column")
3760
+ /* @__PURE__ */ jsx40(ExampleBarGraphWidget, {}, "bar-graph"),
3761
+ /* @__PURE__ */ jsx40(ExampleBooleanTableWidget, {}, "boolean-table"),
3762
+ /* @__PURE__ */ jsx40(ExampleTwoColTwoStatWidget, {}, "two-column")
3646
3763
  ];
3647
3764
  var to = (i) => ({
3648
3765
  delay: i * 100,
@@ -3659,8 +3776,8 @@ var from = (_i) => ({
3659
3776
  });
3660
3777
  var trans = (r, s) => `perspective(1500px) rotateY(${r / 10}deg) scale(${s})`;
3661
3778
  function Deck() {
3662
- const [gone] = useState17(() => /* @__PURE__ */ new Set());
3663
- const theme = useTheme9();
3779
+ const [gone] = useState18(() => /* @__PURE__ */ new Set());
3780
+ const theme = useTheme10();
3664
3781
  const [props, api] = useSprings(cards.length, (i) => ({
3665
3782
  ...to(i),
3666
3783
  from: from(i)
@@ -3698,12 +3815,12 @@ function Deck() {
3698
3815
  api.start((i) => to(i));
3699
3816
  }, 600);
3700
3817
  });
3701
- return /* @__PURE__ */ jsx39(Fragment7, { children: props.map(({
3818
+ return /* @__PURE__ */ jsx40(Fragment7, { children: props.map(({
3702
3819
  x,
3703
3820
  y,
3704
3821
  rot,
3705
3822
  scale
3706
- }, i) => /* @__PURE__ */ jsx39(
3823
+ }, i) => /* @__PURE__ */ jsx40(
3707
3824
  animated2.div,
3708
3825
  {
3709
3826
  style: {
@@ -3718,14 +3835,14 @@ function Deck() {
3718
3835
  x,
3719
3836
  y
3720
3837
  },
3721
- children: /* @__PURE__ */ jsx39(
3838
+ children: /* @__PURE__ */ jsx40(
3722
3839
  animated2.div,
3723
3840
  {
3724
3841
  ...bind(i),
3725
3842
  style: {
3726
3843
  // WebkitBackdropFilter: 'blur(10px)',
3727
3844
  // backdropFilter: 'blur(10px)',
3728
- backgroundColor: alpha6(theme.palette.background.paper, 0.2),
3845
+ backgroundColor: alpha7(theme.palette.background.paper, 0.2),
3729
3846
  backgroundPosition: "center center",
3730
3847
  backgroundRepeat: "no-repeat",
3731
3848
  backgroundSize: "auto 85%",
@@ -3746,7 +3863,7 @@ function Deck() {
3746
3863
  )) });
3747
3864
  }
3748
3865
  var StackOfWidgets = () => {
3749
- return /* @__PURE__ */ jsx39(
3866
+ return /* @__PURE__ */ jsx40(
3750
3867
  Box3,
3751
3868
  {
3752
3869
  sx: {
@@ -3757,26 +3874,26 @@ var StackOfWidgets = () => {
3757
3874
  justifyContent: "center",
3758
3875
  width: "300px"
3759
3876
  },
3760
- children: /* @__PURE__ */ jsx39(Deck, {})
3877
+ children: /* @__PURE__ */ jsx40(Deck, {})
3761
3878
  }
3762
3879
  );
3763
3880
  };
3764
3881
 
3765
3882
  // src/components/Widgets/WidgetCardExamples.tsx
3766
- import { jsx as jsx40, jsxs as jsxs20 } from "react/jsx-runtime";
3883
+ import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
3767
3884
  var WidgetCardExamples = () => {
3768
3885
  const { darkMode } = useColorSchemeEx4();
3769
- return /* @__PURE__ */ jsx40(
3886
+ return /* @__PURE__ */ jsx41(
3770
3887
  DappPage,
3771
3888
  {
3772
3889
  sx: { backgroundImage: darkMode ? `url(${default18})` : `url(${default19})`, backgroundSize: "cover" },
3773
3890
  container: "xl",
3774
3891
  title: "Example Widget Cards",
3775
- children: /* @__PURE__ */ jsxs20(Stack2, { gap: 2, flexDirection: "row", flexWrap: "wrap", children: [
3776
- /* @__PURE__ */ jsx40(ExampleTwoColTwoStatWidget, {}),
3777
- /* @__PURE__ */ jsx40(ExampleBarGraphWidget, {}),
3778
- /* @__PURE__ */ jsx40(ExampleBooleanTableWidget, {}),
3779
- /* @__PURE__ */ jsx40(StackOfWidgets, {})
3892
+ children: /* @__PURE__ */ jsxs21(Stack2, { gap: 2, flexDirection: "row", flexWrap: "wrap", children: [
3893
+ /* @__PURE__ */ jsx41(ExampleTwoColTwoStatWidget, {}),
3894
+ /* @__PURE__ */ jsx41(ExampleBarGraphWidget, {}),
3895
+ /* @__PURE__ */ jsx41(ExampleBooleanTableWidget, {}),
3896
+ /* @__PURE__ */ jsx41(StackOfWidgets, {})
3780
3897
  ] })
3781
3898
  }
3782
3899
  );
@@ -3785,7 +3902,7 @@ var WidgetCardExamples = () => {
3785
3902
  // src/DappPathSwitcher.tsx
3786
3903
  import { animated as animated3, useTransition } from "@react-spring/web";
3787
3904
  import { ErrorRender as ErrorRender4 } from "@xyo-network/react-error";
3788
- import { Fragment as Fragment8, jsx as jsx41 } from "react/jsx-runtime";
3905
+ import { Fragment as Fragment8, jsx as jsx42 } from "react/jsx-runtime";
3789
3906
  var DappPathSwitcher = ({ activePath, pathToComponent }) => {
3790
3907
  const transitions = useTransition(activePath, {
3791
3908
  enter: { opacity: 1, transform: "translate3d(0, 0, 0)" },
@@ -3794,7 +3911,7 @@ var DappPathSwitcher = ({ activePath, pathToComponent }) => {
3794
3911
  });
3795
3912
  const possibleZIndex = pathToComponent?.findIndex((item) => item.path === activePath);
3796
3913
  const zIndex = possibleZIndex !== -1 && possibleZIndex !== void 0 ? possibleZIndex : 1;
3797
- return /* @__PURE__ */ jsx41(Fragment8, { children: transitions((transitionProps, activePath2) => /* @__PURE__ */ jsx41(
3914
+ return /* @__PURE__ */ jsx42(Fragment8, { children: transitions((transitionProps, activePath2) => /* @__PURE__ */ jsx42(
3798
3915
  animated3.div,
3799
3916
  {
3800
3917
  style: {
@@ -3815,7 +3932,7 @@ var DappPathSwitcher = ({ activePath, pathToComponent }) => {
3815
3932
  children: (() => {
3816
3933
  const activeIndex = pathToComponent?.findIndex(({ path: componentPath }) => activePath2 === componentPath);
3817
3934
  const activeItem = pathToComponent && activeIndex !== -1 && activeIndex !== void 0 ? pathToComponent[activeIndex] : void 0;
3818
- return activeItem ? activeItem.component : /* @__PURE__ */ jsx41(ErrorRender4, { error: new Error(`No component found for path: ${activePath2}`), scope: "DappPathSwitcher" });
3935
+ return activeItem ? activeItem.component : /* @__PURE__ */ jsx42(ErrorRender4, { error: new Error(`No component found for path: ${activePath2}`), scope: "DappPathSwitcher" });
3819
3936
  })()
3820
3937
  }
3821
3938
  )) });
@@ -3823,8 +3940,8 @@ var DappPathSwitcher = ({ activePath, pathToComponent }) => {
3823
3940
 
3824
3941
  // src/dapps/shared/accounts/components/AnimatedComponents/GenericAnimations/ShiftAnimation.tsx
3825
3942
  import { animated as animated4, useSpring as useSpring2 } from "@react-spring/web";
3826
- import { useEffect as useEffect19, useState as useState18 } from "react";
3827
- import { jsx as jsx42 } from "react/jsx-runtime";
3943
+ import { useEffect as useEffect19, useState as useState19 } from "react";
3944
+ import { jsx as jsx43 } from "react/jsx-runtime";
3828
3945
  var MovementData = {
3829
3946
  down: [
3830
3947
  {
@@ -3892,7 +4009,7 @@ var ShiftAnimation = ({
3892
4009
  animationDirection,
3893
4010
  children
3894
4011
  }) => {
3895
- const [isShifted, setIsShifted] = useState18(startAnimation);
4012
+ const [isShifted, setIsShifted] = useState19(startAnimation);
3896
4013
  const anim = useSpring2({
3897
4014
  backfaceVisibility: "hidden",
3898
4015
  config: {
@@ -3920,26 +4037,26 @@ var ShiftAnimation = ({
3920
4037
  window.clearTimeout(timeoutId);
3921
4038
  };
3922
4039
  }, [isShifted]);
3923
- return /* @__PURE__ */ jsx42(animated4.div, { style: anim, children });
4040
+ return /* @__PURE__ */ jsx43(animated4.div, { style: anim, children });
3924
4041
  };
3925
4042
 
3926
4043
  // src/dapps/shared/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPoint.tsx
3927
4044
  import { FiberManualRecordRounded } from "@mui/icons-material";
3928
4045
  import {
3929
- alpha as alpha7,
4046
+ alpha as alpha8,
3930
4047
  Box as Box4,
3931
- useTheme as useTheme10
4048
+ useTheme as useTheme11
3932
4049
  } from "@mui/material";
3933
- import { jsx as jsx43 } from "react/jsx-runtime";
4050
+ import { jsx as jsx44 } from "react/jsx-runtime";
3934
4051
  var TwoToneBulletPoint = (props) => {
3935
- const theme = useTheme10();
3936
- return /* @__PURE__ */ jsx43(Box4, { ...props, children: /* @__PURE__ */ jsx43(
4052
+ const theme = useTheme11();
4053
+ return /* @__PURE__ */ jsx44(Box4, { ...props, children: /* @__PURE__ */ jsx44(
3937
4054
  FiberManualRecordRounded,
3938
4055
  {
3939
4056
  fontSize: "small",
3940
4057
  sx: {
3941
4058
  "&:hover": { padding: 0.2 },
3942
- "backgroundColor": alpha7(theme.palette.secondary.main, 0.2),
4059
+ "backgroundColor": alpha8(theme.palette.secondary.main, 0.2),
3943
4060
  "borderRadius": 2,
3944
4061
  "padding": 0.4
3945
4062
  },
@@ -3949,25 +4066,28 @@ var TwoToneBulletPoint = (props) => {
3949
4066
  };
3950
4067
 
3951
4068
  // src/dapps/shared/accounts/components/AnimatedComponents/IconAnimations/TwoToneBulletPointList.tsx
3952
- import { FlexCol as FlexCol16, FlexGrowRow as FlexGrowRow9 } from "@xylabs/react-flexbox";
3953
- import { jsx as jsx44, jsxs as jsxs21 } from "react/jsx-runtime";
4069
+ import { FlexCol as FlexCol17, FlexGrowRow as FlexGrowRow9 } from "@xylabs/react-flexbox";
4070
+ import { jsx as jsx45, jsxs as jsxs22 } from "react/jsx-runtime";
3954
4071
  var TwoToneBulletPointList = ({ list }) => {
3955
- return /* @__PURE__ */ jsx44(FlexCol16, { alignItems: "flex-start", gap: 1, children: list.map((item, index) => {
3956
- return /* @__PURE__ */ jsxs21(FlexGrowRow9, { alignItems: "flex-start", justifyContent: "flex-start", gap: 1, children: [
3957
- /* @__PURE__ */ jsx44(TwoToneBulletPoint, { marginTop: "4px" }),
3958
- item
3959
- ] }, index + "bulletPointList");
4072
+ return /* @__PURE__ */ jsx45(FlexCol17, { alignItems: "flex-start", gap: 1, children: list.map((item, index) => {
4073
+ return (
4074
+ // eslint-disable-next-line @eslint-react/no-array-index-key
4075
+ /* @__PURE__ */ jsxs22(FlexGrowRow9, { alignItems: "flex-start", justifyContent: "flex-start", gap: 1, children: [
4076
+ /* @__PURE__ */ jsx45(TwoToneBulletPoint, { marginTop: "4px" }),
4077
+ item
4078
+ ] }, index + "bulletPointList")
4079
+ );
3960
4080
  }) });
3961
4081
  };
3962
4082
 
3963
4083
  // src/dapps/shared/accounts/components/InputFields/CoinbaseEmail.tsx
3964
4084
  import { FormControl, TextField } from "@mui/material";
3965
4085
  import { LabeledTextFieldWrapper } from "@xyo-network/react-shared";
3966
- import { useState as useState19 } from "react";
3967
- import { jsx as jsx45 } from "react/jsx-runtime";
4086
+ import { useState as useState20 } from "react";
4087
+ import { jsx as jsx46 } from "react/jsx-runtime";
3968
4088
  var CoinbaseEmailInput = ({ existingEmail, ...props }) => {
3969
- const [email, setEmail] = useState19(existingEmail);
3970
- const [valid, setValid] = useState19();
4089
+ const [email, setEmail] = useState20(existingEmail);
4090
+ const [valid, setValid] = useState20();
3971
4091
  const handleBlur = (event) => {
3972
4092
  setValid(!!event.target.value);
3973
4093
  };
@@ -3976,7 +4096,7 @@ var CoinbaseEmailInput = ({ existingEmail, ...props }) => {
3976
4096
  setValid(!!emailFromEvent);
3977
4097
  setEmail(emailFromEvent);
3978
4098
  };
3979
- return /* @__PURE__ */ jsx45(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx45(LabeledTextFieldWrapper, { label: "Primary Cryptowallet", children: /* @__PURE__ */ jsx45(
4099
+ return /* @__PURE__ */ jsx46(FormControl, { fullWidth: true, children: /* @__PURE__ */ jsx46(LabeledTextFieldWrapper, { label: "Primary Cryptowallet", children: /* @__PURE__ */ jsx46(
3980
4100
  TextField,
3981
4101
  {
3982
4102
  fullWidth: true,
@@ -3995,11 +4115,11 @@ var CoinbaseEmailInput = ({ existingEmail, ...props }) => {
3995
4115
  // src/dapps/shared/accounts/components/InputFields/PrimaryCryptowallet.tsx
3996
4116
  import { FormControl as FormControl2, TextField as TextField2 } from "@mui/material";
3997
4117
  import { LabeledTextFieldWrapper as LabeledTextFieldWrapper2 } from "@xyo-network/react-shared";
3998
- import { useState as useState20 } from "react";
3999
- import { jsx as jsx46 } from "react/jsx-runtime";
4118
+ import { useState as useState21 } from "react";
4119
+ import { jsx as jsx47 } from "react/jsx-runtime";
4000
4120
  var PrimaryCryptoWalletInput = ({ existingPrimaryCryptoWallet, ...props }) => {
4001
- const [primaryWallet, setPrimaryWallet] = useState20(existingPrimaryCryptoWallet);
4002
- const [valid, setValid] = useState20();
4121
+ const [primaryWallet, setPrimaryWallet] = useState21(existingPrimaryCryptoWallet);
4122
+ const [valid, setValid] = useState21();
4003
4123
  const handleBlur = (event) => {
4004
4124
  setValid(!!event.target.value);
4005
4125
  };
@@ -4008,7 +4128,7 @@ var PrimaryCryptoWalletInput = ({ existingPrimaryCryptoWallet, ...props }) => {
4008
4128
  setValid(!!nameFromEvent);
4009
4129
  setPrimaryWallet(nameFromEvent);
4010
4130
  };
4011
- return /* @__PURE__ */ jsx46(FormControl2, { fullWidth: true, children: /* @__PURE__ */ jsx46(LabeledTextFieldWrapper2, { label: "Primary Cryptowallet", children: /* @__PURE__ */ jsx46(
4131
+ return /* @__PURE__ */ jsx47(FormControl2, { fullWidth: true, children: /* @__PURE__ */ jsx47(LabeledTextFieldWrapper2, { label: "Primary Cryptowallet", children: /* @__PURE__ */ jsx47(
4012
4132
  TextField2,
4013
4133
  {
4014
4134
  fullWidth: true,
@@ -4028,11 +4148,11 @@ var PrimaryCryptoWalletInput = ({ existingPrimaryCryptoWallet, ...props }) => {
4028
4148
  // src/dapps/shared/accounts/components/InputFields/SecondaryCryptowallet.tsx
4029
4149
  import { FormControl as FormControl3, TextField as TextField3 } from "@mui/material";
4030
4150
  import { LabeledTextFieldWrapper as LabeledTextFieldWrapper3 } from "@xyo-network/react-shared";
4031
- import { useState as useState21 } from "react";
4032
- import { jsx as jsx47 } from "react/jsx-runtime";
4151
+ import { useState as useState22 } from "react";
4152
+ import { jsx as jsx48 } from "react/jsx-runtime";
4033
4153
  var SecondaryCryptoWalletInput = ({ existingSecondaryCryptoWallet, ...props }) => {
4034
- const [secondaryWallet, setSecondaryWallet] = useState21(existingSecondaryCryptoWallet);
4035
- const [valid, setValid] = useState21();
4154
+ const [secondaryWallet, setSecondaryWallet] = useState22(existingSecondaryCryptoWallet);
4155
+ const [valid, setValid] = useState22();
4036
4156
  const handleBlur = (event) => {
4037
4157
  setValid(!!event.target.value);
4038
4158
  };
@@ -4041,7 +4161,7 @@ var SecondaryCryptoWalletInput = ({ existingSecondaryCryptoWallet, ...props }) =
4041
4161
  setValid(!!walletFromEvent);
4042
4162
  setSecondaryWallet(walletFromEvent);
4043
4163
  };
4044
- return /* @__PURE__ */ jsx47(FormControl3, { fullWidth: true, children: /* @__PURE__ */ jsx47(LabeledTextFieldWrapper3, { label: "Secondary Cryptowallet", children: /* @__PURE__ */ jsx47(
4164
+ return /* @__PURE__ */ jsx48(FormControl3, { fullWidth: true, children: /* @__PURE__ */ jsx48(LabeledTextFieldWrapper3, { label: "Secondary Cryptowallet", children: /* @__PURE__ */ jsx48(
4045
4165
  TextField3,
4046
4166
  {
4047
4167
  variant: "filled",
@@ -4059,78 +4179,81 @@ var SecondaryCryptoWalletInput = ({ existingSecondaryCryptoWallet, ...props }) =
4059
4179
  };
4060
4180
 
4061
4181
  // src/dapps/shared/accounts/components/PaymentMethods.tsx
4062
- import { Grid } from "@mui/material";
4182
+ import { Grid2 } from "@mui/material";
4063
4183
  import { FormGroupCreditCardProvider } from "@xyo-network/react-form-credit-card";
4064
4184
 
4065
4185
  // src/dapps/shared/accounts/components/AccountCard.tsx
4066
4186
  import {
4067
- Card as Card3,
4187
+ Card as Card4,
4068
4188
  CardContent as CardContent4,
4069
4189
  Divider as Divider5,
4070
- Typography as Typography13
4190
+ Typography as Typography14
4071
4191
  } from "@mui/material";
4072
4192
  import { FlexGrowCol as FlexGrowCol4, FlexGrowRow as FlexGrowRow10 } from "@xylabs/react-flexbox";
4073
- import { jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
4193
+ import { jsx as jsx49, jsxs as jsxs23 } from "react/jsx-runtime";
4074
4194
  var AccountCard = ({ items, ...props }) => {
4075
- return /* @__PURE__ */ jsx48(Card3, { ...props, children: /* @__PURE__ */ jsx48(CardContent4, { children: /* @__PURE__ */ jsx48(FlexGrowCol4, { width: "100%", gap: 2, children: items.map((item, index) => {
4076
- return /* @__PURE__ */ jsxs22(FlexGrowCol4, { gap: 2, width: "100%", alignItems: "stretch", children: [
4077
- /* @__PURE__ */ jsxs22(
4078
- FlexGrowRow10,
4079
- {
4080
- sx: {
4081
- alignItems: "stretch",
4082
- flexDirection: { md: "row", xs: "column" },
4083
- justifyContent: "space-between"
4084
- },
4085
- gap: 2,
4086
- children: [
4087
- /* @__PURE__ */ jsxs22(
4088
- FlexGrowCol4,
4089
- {
4090
- alignItems: "flex-start",
4091
- width: "100%",
4092
- sx: { maxWidth: { md: "40%", xs: "100%" } },
4093
- children: [
4094
- /* @__PURE__ */ jsx48(Typography13, { variant: "h5", gutterBottom: true, children: item.title }),
4095
- /* @__PURE__ */ jsx48(Typography13, { variant: "body1", gutterBottom: true, children: item.desc })
4096
- ]
4097
- }
4098
- ),
4099
- item?.component
4100
- ]
4101
- }
4102
- ),
4103
- items.length === 1 || index === items.length - 1 ? null : /* @__PURE__ */ jsx48(Divider5, { flexItem: true })
4104
- ] }, index);
4195
+ return /* @__PURE__ */ jsx49(Card4, { ...props, children: /* @__PURE__ */ jsx49(CardContent4, { children: /* @__PURE__ */ jsx49(FlexGrowCol4, { width: "100%", gap: 2, children: items.map((item, index) => {
4196
+ return (
4197
+ // eslint-disable-next-line @eslint-react/no-array-index-key
4198
+ /* @__PURE__ */ jsxs23(FlexGrowCol4, { gap: 2, width: "100%", alignItems: "stretch", children: [
4199
+ /* @__PURE__ */ jsxs23(
4200
+ FlexGrowRow10,
4201
+ {
4202
+ sx: {
4203
+ alignItems: "stretch",
4204
+ flexDirection: { md: "row", xs: "column" },
4205
+ justifyContent: "space-between"
4206
+ },
4207
+ gap: 2,
4208
+ children: [
4209
+ /* @__PURE__ */ jsxs23(
4210
+ FlexGrowCol4,
4211
+ {
4212
+ alignItems: "flex-start",
4213
+ width: "100%",
4214
+ sx: { maxWidth: { md: "40%", xs: "100%" } },
4215
+ children: [
4216
+ /* @__PURE__ */ jsx49(Typography14, { variant: "h5", gutterBottom: true, children: item.title }),
4217
+ /* @__PURE__ */ jsx49(Typography14, { variant: "body1", gutterBottom: true, children: item.desc })
4218
+ ]
4219
+ }
4220
+ ),
4221
+ item?.component
4222
+ ]
4223
+ }
4224
+ ),
4225
+ items.length === 1 || index === items.length - 1 ? null : /* @__PURE__ */ jsx49(Divider5, { flexItem: true })
4226
+ ] }, index)
4227
+ );
4105
4228
  }) }) }) });
4106
4229
  };
4107
4230
 
4108
4231
  // src/dapps/shared/accounts/components/PaymentMethods.tsx
4109
- import { Fragment as Fragment9, jsx as jsx49 } from "react/jsx-runtime";
4232
+ import { Fragment as Fragment9, jsx as jsx50 } from "react/jsx-runtime";
4110
4233
  var PaymentMethods = () => {
4111
- return /* @__PURE__ */ jsx49(DappPage, { title: "Payment Methods", children: /* @__PURE__ */ jsx49(Grid, { container: true, spacing: 3, children: /* @__PURE__ */ jsx49(Grid, { item: true, xs: 12, children: /* @__PURE__ */ jsx49(
4234
+ return /* @__PURE__ */ jsx50(DappPage, { title: "Payment Methods", children: /* @__PURE__ */ jsx50(Grid2, { container: true, spacing: 3, children: /* @__PURE__ */ jsx50(Grid2, { size: { xs: 12 }, children: /* @__PURE__ */ jsx50(
4112
4235
  AccountCard,
4113
4236
  {
4114
4237
  sx: { height: "100%" },
4115
4238
  items: [
4116
4239
  {
4117
4240
  // TODO - needs a default implementation
4118
- component: /* @__PURE__ */ jsx49(FormGroupCreditCardProvider, { children: /* @__PURE__ */ jsx49(Fragment9, {}) }),
4241
+ component: /* @__PURE__ */ jsx50(FormGroupCreditCardProvider, { children: /* @__PURE__ */ jsx50(Fragment9, {}) }),
4119
4242
  desc: "Save a credit card to your node to complete credit payments seamlessly.",
4120
4243
  title: "Credit Card"
4121
4244
  },
4122
4245
  {
4123
- component: /* @__PURE__ */ jsx49(CoinbaseEmailInput, {}),
4246
+ component: /* @__PURE__ */ jsx50(CoinbaseEmailInput, {}),
4124
4247
  desc: "Use your Coinbase Account receive payments easily.",
4125
4248
  title: "Coinbase Email"
4126
4249
  },
4127
4250
  {
4128
- component: /* @__PURE__ */ jsx49(PrimaryCryptoWalletInput, {}),
4251
+ component: /* @__PURE__ */ jsx50(PrimaryCryptoWalletInput, {}),
4129
4252
  desc: "This is the primary crypto wallet on your node.",
4130
4253
  title: "Primary Crypto Wallet"
4131
4254
  },
4132
4255
  {
4133
- component: /* @__PURE__ */ jsx49(SecondaryCryptoWalletInput, {}),
4256
+ component: /* @__PURE__ */ jsx50(SecondaryCryptoWalletInput, {}),
4134
4257
  desc: "This is the secondary crypto wallet on your node.",
4135
4258
  title: "Secondary Crypto Wallet"
4136
4259
  }
@@ -4146,15 +4269,13 @@ var isCreditCardInput = isPayloadOfSchemaTypeWithMeta(CreditCardInputSchema);
4146
4269
 
4147
4270
  // src/dapps/shared/name-service/DomainIcon.tsx
4148
4271
  import { createSvgIcon } from "@mui/material";
4149
- import { jsx as jsx50 } from "react/jsx-runtime";
4272
+ import { jsx as jsx51, jsxs as jsxs24 } from "react/jsx-runtime";
4150
4273
  var XnsDomainIcon = createSvgIcon(
4151
- /* @__PURE__ */ jsx50("svg", { id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 400 400", children: /* @__PURE__ */ jsx50(
4152
- "path",
4153
- {
4154
- fill: "currentColor",
4155
- d: "M384.67,118.15c-10.22-25.59-24.44-47.14-42.66-64.65-18.21-17.5-39.36-30.79-63.45-39.86C254.48,4.58,228.67.04,201.11.04c-33.77,0-63.36,5.25-88.78,15.73-25.41,10.49-46.56,24.71-63.45,42.66-16.89,17.95-29.42,38.43-37.6,61.45C3.11,142.91-.62,166.94.08,192c.89,34.48,8.09,60.92,21.6,79.32,13.51,18.4,34.48,27.59,62.92,27.59,8.72,0,17.01-1.23,24.93-3.53v4.75c0,2.43,1.96,4.39,4.39,4.39h37.48c2.43,0,4.39-1.96,4.39-4.39v-115.59l76.94,117.99c.81,1.24,2.19,1.99,3.68,1.99h37.47c2.43,0,4.39-1.96,4.39-4.39V104.6c0-2.43-1.96-4.39-4.39-4.39h-37.47c-2.43,0-4.39,1.96-4.39,4.39v115.59l-76.94-117.99c-.81-1.24-2.19-1.99-3.68-1.99h-37.48c-2.43,0-4.39,1.96-4.39,4.39v135.87c-.62,1.06-1.28,2.06-2,2.99-5.33,6.93-13.24,10.39-23.73,10.39-9.24,0-16.4-2.62-21.46-7.86-5.06-5.24-8.62-12.4-10.66-21.46-2.04-9.06-3.24-19.46-3.6-31.19-.54-27.55,3.55-50.75,12.26-69.59,8.71-18.83,20.49-34.08,35.32-45.72,14.85-11.64,31.15-20.09,48.93-25.33,17.77-5.24,35.46-7.86,53.06-7.86,24.89,0,47.01,3.96,66.38,11.86,19.37,7.91,35.68,19.02,48.92,33.33,13.25,14.31,23.2,31.19,29.86,50.65,6.67,19.46,9.83,40.84,9.47,64.12-.7,23.11-4.89,43.9-12.53,62.39-7.64,18.49-18.31,34.31-32,47.46-13.69,13.15-29.86,23.19-48.52,30.13-18.66,6.93-39.1,10.4-61.32,10.4-12.44,0-24.83-1.38-37.19-4.13-8.79-1.96-17.06-4.49-24.81-7.57-5.09-2.02-10.82.46-12.7,5.61l-8.56,23.42c-1.79,4.91.65,10.33,5.49,12.31,11.06,4.53,22.55,8.02,34.45,10.49,15.02,3.11,30.26,4.66,45.73,4.66,28.97,0,55.63-4.8,79.98-14.4,24.36-9.59,45.51-23.15,63.46-40.66,17.95-17.5,31.81-38.08,41.59-61.72,9.77-23.64,14.66-49.32,14.66-77.05,0-33.06-5.11-62.39-15.33-87.98Z"
4156
- }
4157
- ) }),
4274
+ /* @__PURE__ */ jsxs24("svg", { id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 400 400", children: [
4275
+ /* @__PURE__ */ jsx51("path", { fill: "currentColor", d: "M0,314.34V85.34h43.89l99.55,152.67V85.34h43.89v229h-43.89L43.89,161.68v152.67H0Z" }),
4276
+ /* @__PURE__ */ jsx51("path", { fill: "currentColor", d: "M298.99,319.12c-16.96,0-32.26-3-45.88-8.99-13.62-5.99-24.81-14.58-33.56-25.76-8.75-11.18-14.29-24.52-16.62-40l45.17-6.68c3.18,13.15,9.75,23.27,19.72,30.37,9.96,7.1,21.31,10.65,34.03,10.65,7.1,0,14-1.11,20.67-3.34,6.68-2.23,12.17-5.51,16.46-9.86,4.29-4.35,6.44-9.7,6.44-16.06,0-2.33-.35-4.59-1.03-6.76-.69-2.17-1.83-4.21-3.42-6.12-1.59-1.91-3.84-3.71-6.76-5.41-2.92-1.69-6.6-3.23-11.05-4.61l-59.48-17.49c-4.45-1.27-9.62-3.07-15.5-5.41-5.88-2.33-11.58-5.67-17.1-10.02-5.51-4.35-10.1-10.1-13.76-17.26-3.66-7.16-5.49-16.19-5.49-27.11,0-15.37,3.87-28.15,11.61-38.33,7.74-10.18,18.08-17.76,31.01-22.74,12.93-4.98,27.25-7.42,42.94-7.32,15.8.21,29.9,2.92,42.3,8.11,12.4,5.2,22.79,12.75,31.17,22.66,8.37,9.92,14.42,22.03,18.13,36.34l-46.76,7.95c-1.7-7.42-4.83-13.68-9.38-18.77-4.56-5.09-9.99-8.96-16.3-11.61-6.31-2.65-12.91-4.08-19.8-4.29-6.79-.21-13.17.72-19.16,2.78-5.99,2.07-10.87,5.06-14.63,8.99-3.76,3.92-5.65,8.59-5.65,14,0,4.98,1.54,9.04,4.61,12.17,3.07,3.13,6.94,5.65,11.61,7.55,4.66,1.91,9.44,3.5,14.31,4.77l39.76,10.81c5.94,1.59,12.51,3.68,19.72,6.28,7.21,2.6,14.13,6.2,20.75,10.81,6.62,4.61,12.09,10.68,16.38,18.21,4.29,7.53,6.44,17.07,6.44,28.63,0,12.3-2.57,23.03-7.71,32.2-5.14,9.17-12.06,16.75-20.75,22.74-8.69,5.99-18.53,10.47-29.5,13.44-10.97,2.97-22.29,4.45-33.95,4.45Z" }),
4277
+ /* @__PURE__ */ jsx51("circle", { fill: "#3898e7", cx: "372.52", cy: "291.63", r: "27.48" })
4278
+ ] }),
4158
4279
  "XNSDomain"
4159
4280
  );
4160
4281
 
@@ -4163,7 +4284,7 @@ import { InfoOutlined } from "@mui/icons-material";
4163
4284
  import {
4164
4285
  TableCell,
4165
4286
  TableHead,
4166
- Tooltip as Tooltip5
4287
+ Tooltip as Tooltip6
4167
4288
  } from "@mui/material";
4168
4289
 
4169
4290
  // src/dapps/shared/table/head/hooks/useVisibleColumns.tsx
@@ -4185,16 +4306,16 @@ var StyledTableRowHeader = styled9(
4185
4306
  )(({ theme }) => ({ "& .MuiTableCell-root": { backgroundColor: theme.palette.background.paper } }));
4186
4307
 
4187
4308
  // src/dapps/shared/table/head/components/Head.tsx
4188
- import { jsx as jsx51, jsxs as jsxs23 } from "react/jsx-runtime";
4309
+ import { jsx as jsx52, jsxs as jsxs25 } from "react/jsx-runtime";
4189
4310
  var TableHeadEx = ({ payloads, ...props }) => {
4190
4311
  const [VisibleTableCells] = useVisibleColumns(payloads);
4191
- return /* @__PURE__ */ jsx51(TableHead, { ...props, children: /* @__PURE__ */ jsx51(StyledTableRowHeader, { children: VisibleTableCells.map((headCell) => /* @__PURE__ */ jsx51(
4312
+ return /* @__PURE__ */ jsx52(TableHead, { ...props, children: /* @__PURE__ */ jsx52(StyledTableRowHeader, { children: VisibleTableCells.map((headCell) => /* @__PURE__ */ jsx52(
4192
4313
  TableCell,
4193
4314
  {
4194
4315
  align: headCell.align ?? "left",
4195
4316
  padding: headCell.disablePadding ? "none" : "normal",
4196
4317
  width: headCell.width ?? "auto",
4197
- children: headCell.tooltip ? /* @__PURE__ */ jsxs23(
4318
+ children: headCell.tooltip ? /* @__PURE__ */ jsxs25(
4198
4319
  "span",
4199
4320
  {
4200
4321
  style: {
@@ -4204,7 +4325,7 @@ var TableHeadEx = ({ payloads, ...props }) => {
4204
4325
  },
4205
4326
  children: [
4206
4327
  headCell.label,
4207
- /* @__PURE__ */ jsx51(Tooltip5, { title: headCell.tooltip, children: /* @__PURE__ */ jsx51(InfoOutlined, { sx: { fontSize: "16px" } }) })
4328
+ /* @__PURE__ */ jsx52(Tooltip6, { title: headCell.tooltip, children: /* @__PURE__ */ jsx52(InfoOutlined, { sx: { fontSize: "16px" } }) })
4208
4329
  ]
4209
4330
  }
4210
4331
  ) : headCell.label
@@ -4225,15 +4346,15 @@ var isTableHeadCell = isPayloadOfSchemaType(TableHeadCellSchema);
4225
4346
  // src/dapps/shared/table/NextIteratorFlexbox.tsx
4226
4347
  import { ArrowCircleLeftOutlined, ArrowCircleRightOutlined } from "@mui/icons-material";
4227
4348
  import { IconButton as IconButton4, LinearProgress as LinearProgress2 } from "@mui/material";
4228
- import { FlexRow as FlexRow9 } from "@xylabs/react-flexbox";
4229
- import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
4349
+ import { FlexRow as FlexRow10 } from "@xylabs/react-flexbox";
4350
+ import { jsx as jsx53, jsxs as jsxs26 } from "react/jsx-runtime";
4230
4351
  var NextIteratorFlexbox = ({
4231
4352
  next: changePage,
4232
4353
  loading,
4233
4354
  ...props
4234
4355
  }) => {
4235
- return /* @__PURE__ */ jsxs24(FlexRow9, { justifyContent: "space-between", gap: 2, ...props, children: [
4236
- /* @__PURE__ */ jsx52(
4356
+ return /* @__PURE__ */ jsxs26(FlexRow10, { justifyContent: "space-between", gap: 2, ...props, children: [
4357
+ /* @__PURE__ */ jsx53(
4237
4358
  LinearProgress2,
4238
4359
  {
4239
4360
  sx: {
@@ -4243,37 +4364,33 @@ var NextIteratorFlexbox = ({
4243
4364
  }
4244
4365
  }
4245
4366
  ),
4246
- /* @__PURE__ */ jsxs24(FlexRow9, { children: [
4247
- /* @__PURE__ */ jsx52(IconButton4, { onClick: () => {
4248
- changePage("asc").catch(console.error);
4249
- }, children: /* @__PURE__ */ jsx52(ArrowCircleLeftOutlined, {}) }),
4250
- /* @__PURE__ */ jsx52(IconButton4, { onClick: () => {
4251
- changePage("desc").catch(console.error);
4252
- }, children: /* @__PURE__ */ jsx52(ArrowCircleRightOutlined, {}) })
4367
+ /* @__PURE__ */ jsxs26(FlexRow10, { children: [
4368
+ /* @__PURE__ */ jsx53(IconButton4, { onClick: () => changePage("asc"), children: /* @__PURE__ */ jsx53(ArrowCircleLeftOutlined, {}) }),
4369
+ /* @__PURE__ */ jsx53(IconButton4, { onClick: () => changePage("desc"), children: /* @__PURE__ */ jsx53(ArrowCircleRightOutlined, {}) })
4253
4370
  ] })
4254
4371
  ] });
4255
4372
  };
4256
4373
 
4257
4374
  // src/settings/Theme/ThemeProvider.tsx
4258
- import { InvertibleCssVarsProvider } from "@xylabs/react-invertible-theme";
4375
+ import { InvertibleMuiThemeProvider } from "@xylabs/react-invertible-theme";
4259
4376
  import { useMemo as useMemo18 } from "react";
4260
4377
 
4261
4378
  // src/settings/Theme/ThemeCssVars.ts
4262
4379
  import {
4263
- alpha as alpha8,
4264
- darken,
4265
- experimental_extendTheme as extendTheme,
4380
+ alpha as alpha9,
4381
+ createTheme,
4382
+ darken as darken2,
4266
4383
  lighten
4267
4384
  } from "@mui/material";
4268
4385
  var defaultIconBackground = "#A060E0";
4269
4386
  var defaultIconBackgroundHover = "#bdade8";
4270
4387
  var DynamicIconBgGradientBuilder = {
4271
- iconBgGradientBuilder: (baseColor) => `linear-gradient(148deg, ${baseColor} 0%, ${darken(baseColor, 0.3)} 100%);`,
4388
+ iconBgGradientBuilder: (baseColor) => `linear-gradient(148deg, ${baseColor} 0%, ${darken2(baseColor, 0.3)} 100%);`,
4272
4389
  iconBgHoverGradientBuilder: (baseColor) => `linear-gradient(148deg, ${lighten(baseColor, 0.5)} 0%, ${lighten(baseColor, 0.2)} 100%);`
4273
4390
  };
4274
4391
  var StaticIconBgGradient = {
4275
- iconGradient: `linear-gradient(148deg, ${defaultIconBackground} 0%, ${darken(defaultIconBackground, 0.35)} 100%);`,
4276
- iconGradientHover: `linear-gradient(148deg, ${defaultIconBackgroundHover} 0%, ${darken(defaultIconBackgroundHover, 0.35)} 100%);`
4392
+ iconGradient: `linear-gradient(148deg, ${defaultIconBackground} 0%, ${darken2(defaultIconBackground, 0.35)} 100%);`,
4393
+ iconGradientHover: `linear-gradient(148deg, ${defaultIconBackgroundHover} 0%, ${darken2(defaultIconBackgroundHover, 0.35)} 100%);`
4277
4394
  };
4278
4395
  var lightPalette = {
4279
4396
  background: {
@@ -4287,8 +4404,8 @@ var lightPalette = {
4287
4404
  },
4288
4405
  ...DynamicIconBgGradientBuilder,
4289
4406
  ...StaticIconBgGradient,
4290
- primary: { main: "#100029" },
4291
- secondary: { main: "#A060E0" },
4407
+ primary: { main: "#463dc6", light: "#b2adfb" },
4408
+ secondary: { main: "#186ecc" },
4292
4409
  success: {
4293
4410
  dark: "#347f21",
4294
4411
  light: "#94dd80",
@@ -4296,29 +4413,36 @@ var lightPalette = {
4296
4413
  },
4297
4414
  text: {
4298
4415
  disabled: "#49454D",
4299
- primary: "#1D1B1E",
4416
+ primary: "#0d0d47",
4300
4417
  secondary: "#49454D"
4301
4418
  },
4302
4419
  warning: { main: "#ffc805" }
4303
4420
  };
4304
4421
  var darkPalette = {
4305
4422
  background: {
4306
- default: "#121212",
4307
- paper: "#1E1E1E"
4423
+ default: "#020223",
4424
+ paper: "#19193F"
4425
+ },
4426
+ error: { main: "#f6594e" },
4427
+ success: {
4428
+ main: "#7efc81",
4429
+ contrastText: "#011e01"
4308
4430
  },
4309
- error: { main: "#ffb4ab" },
4310
- success: { main: "#94dd80" },
4311
4431
  ...DynamicIconBgGradientBuilder,
4312
4432
  ...StaticIconBgGradient,
4313
- primary: { main: "#C9BFFA" },
4314
- secondary: { main: "#C9C3DA" },
4433
+ primary: { main: "#5658F3", light: "#7c72ff" },
4434
+ secondary: {
4435
+ main: "#66caf7",
4436
+ contrastText: "#020223"
4437
+ },
4438
+ warning: { main: "#f7d866" },
4315
4439
  text: {
4316
4440
  disabled: "#a5acdb",
4317
- primary: "#F4F4F4",
4318
- secondary: "#daddf2"
4441
+ primary: "#E3E4EB",
4442
+ secondary: "#e3e4eba3"
4319
4443
  }
4320
4444
  };
4321
- var ThemeCssVars = extendTheme({
4445
+ var ThemeCssVars = createTheme({
4322
4446
  colorSchemes: {
4323
4447
  dark: { palette: darkPalette },
4324
4448
  light: { palette: lightPalette }
@@ -4338,10 +4462,10 @@ var ThemeCssVars = extendTheme({
4338
4462
  root: ({ theme }) => ({
4339
4463
  WebkitBackdropFilter: "blur(20px)",
4340
4464
  backdropFilter: "blur(20px)",
4341
- backgroundColor: alpha8(theme.palette.background.paper, 0.2),
4465
+ backgroundColor: alpha9(theme.palette.background.paper, 0.2),
4342
4466
  boxShadow: "none",
4343
- color: "#1D1B1E",
4344
- [theme.getColorSchemeSelector("dark")]: { color: "#CBC4CE" }
4467
+ color: "#16163D",
4468
+ ...theme.applyStyles("dark", { color: "#CBC4CE" })
4345
4469
  })
4346
4470
  }
4347
4471
  },
@@ -4351,7 +4475,7 @@ var ThemeCssVars = extendTheme({
4351
4475
  root: ({ theme }) => ({
4352
4476
  WebkitBackdropFilter: "blur(20px)",
4353
4477
  backdropFilter: "blur(20px)",
4354
- backgroundColor: alpha8(theme.palette.background.paper, 0.7),
4478
+ backgroundColor: alpha9(theme.palette.background.paper, 0.7),
4355
4479
  display: "flex",
4356
4480
  flexDirection: "column",
4357
4481
  justifyContent: "space-between"
@@ -4384,6 +4508,15 @@ var ThemeCssVars = extendTheme({
4384
4508
  }
4385
4509
  },
4386
4510
  MuiContainer: { styleOverrides: { root: { maxWidth: "xl" } } },
4511
+ MuiDrawer: {
4512
+ styleOverrides: {
4513
+ root: ({ theme }) => ({
4514
+ "& .MuiTypography-root, & .MuiButton-root": { color: "#FFFFFF" },
4515
+ "paperProps": { backgroundColor: "#19193F" },
4516
+ ...theme.applyStyles("dark", { color: theme.palette.secondary.main })
4517
+ })
4518
+ }
4519
+ },
4387
4520
  MuiFilledInput: {
4388
4521
  defaultProps: { disableUnderline: true },
4389
4522
  styleOverrides: {
@@ -4410,18 +4543,28 @@ var ThemeCssVars = extendTheme({
4410
4543
  whiteSpace: "nowrap"
4411
4544
  }
4412
4545
  }
4546
+ },
4547
+ MuiTooltip: {
4548
+ styleOverrides: {
4549
+ tooltip: ({ theme }) => ({
4550
+ ...theme.typography.body1,
4551
+ color: "inherit",
4552
+ maxWidth: 250,
4553
+ border: `1px solid ${theme.palette.background.default}`,
4554
+ backgroundColor: theme.palette.background.paper,
4555
+ padding: theme.spacing(1),
4556
+ boxShadow: "rgba(17, 12, 46, 0.15) 0px 48px 100px 0px"
4557
+ })
4558
+ }
4413
4559
  }
4414
4560
  },
4561
+ shape: { borderRadius: 6 },
4415
4562
  spacing: 12,
4416
4563
  typography: {
4417
4564
  allVariants: { fontFamily: ["Manrope", "san-serif"].join(",") },
4418
- body1: {
4419
- fontSize: "16px",
4420
- fontWeight: 400
4421
- },
4565
+ body1: { fontSize: "16px" },
4422
4566
  button: {
4423
4567
  fontSize: "1rem",
4424
- fontWeight: 500,
4425
4568
  textTransform: "capitalize"
4426
4569
  },
4427
4570
  fontWeightBold: 700,
@@ -4444,7 +4587,7 @@ var ThemeCssVars = extendTheme({
4444
4587
  });
4445
4588
 
4446
4589
  // src/settings/Theme/ThemeProvider.tsx
4447
- import { jsx as jsx53 } from "react/jsx-runtime";
4590
+ import { jsx as jsx54 } from "react/jsx-runtime";
4448
4591
  var AppOsThemeProvider = ({ children }) => {
4449
4592
  const initialValue = useMemo18(() => {
4450
4593
  const validValues = ["light", "dark"];
@@ -4452,7 +4595,7 @@ var AppOsThemeProvider = ({ children }) => {
4452
4595
  if (savedValue && validValues.includes(savedValue)) return savedValue;
4453
4596
  return "system";
4454
4597
  }, []);
4455
- return /* @__PURE__ */ jsx53(InvertibleCssVarsProvider, { theme: ThemeCssVars, defaultMode: initialValue, children });
4598
+ return /* @__PURE__ */ jsx54(InvertibleMuiThemeProvider, { theme: ThemeCssVars, defaultMode: initialValue, children });
4456
4599
  };
4457
4600
 
4458
4601
  // src/StyledBuilder.tsx
@@ -4513,6 +4656,8 @@ export {
4513
4656
  ShiftAnimation,
4514
4657
  StyledDappIconBuilder,
4515
4658
  StyledGridContainer,
4659
+ StyledListItemButton,
4660
+ StyledMenuIconWrapSpan,
4516
4661
  TableHeadCellSchema,
4517
4662
  TableHeadEx,
4518
4663
  TwoToneBulletPoint,