@ixo/ui 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +46 -46
- package/dist/{UsersSolid-Bj2vwEHq.cjs → UsersSolid-B9DXA9NX.cjs} +41 -1
- package/dist/UsersSolid-B9DXA9NX.cjs.map +1 -0
- package/dist/{UsersSolid-CncjWLR_.js → UsersSolid-CCU2B_Nz.js} +82 -42
- package/dist/UsersSolid-CCU2B_Nz.js.map +1 -0
- package/dist/components/AppShellNavigation/index.d.ts +53 -0
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -0
- package/dist/components/ButtonBasic/index.d.ts.map +1 -1
- package/dist/components/ButtonSubtle/index.d.ts.map +1 -1
- package/dist/components/EcosystemCard/index.d.ts.map +1 -1
- package/dist/components/NavButton/index.d.ts.map +1 -1
- package/dist/{components-DmVrcjoe.cjs → components-BXmsMIj2.cjs} +206 -73
- package/dist/components-BXmsMIj2.cjs.map +1 -0
- package/dist/{components-nIVUDr7n.js → components-BpZDHiID.js} +272 -139
- package/dist/components-BpZDHiID.js.map +1 -0
- package/dist/constants/themes.d.ts.map +1 -1
- package/dist/export/components.cjs +2 -1
- package/dist/export/components.cjs.map +1 -1
- package/dist/export/components.d.ts +2 -0
- package/dist/export/components.d.ts.map +1 -1
- package/dist/export/components.mjs +67 -66
- package/dist/export/icons/index.cjs +3 -1
- package/dist/export/icons/index.cjs.map +1 -1
- package/dist/export/icons/index.mjs +45 -43
- package/dist/export/themes.cjs +1 -1
- package/dist/export/themes.mjs +1 -1
- package/dist/icons/PanelLeftSolid.d.ts +4 -0
- package/dist/icons/PanelLeftSolid.d.ts.map +1 -0
- package/dist/icons/SettingsBarSolid.d.ts +4 -0
- package/dist/icons/SettingsBarSolid.d.ts.map +1 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/{index-BqTxDhWH.js → index-B99v2MeE.js} +2 -2
- package/dist/{index-BqTxDhWH.js.map → index-B99v2MeE.js.map} +1 -1
- package/dist/{index-DJEwZuHm.cjs → index-BPWOdUVc.cjs} +3 -3
- package/dist/{index-DJEwZuHm.cjs.map → index-BPWOdUVc.cjs.map} +1 -1
- package/dist/{index-DrypVliv.cjs → index-BT8oG8gb.cjs} +3 -3
- package/dist/{index-DrypVliv.cjs.map → index-BT8oG8gb.cjs.map} +1 -1
- package/dist/{index-BnU1ktcj.cjs → index-BVBsdahb.cjs} +2 -2
- package/dist/{index-BnU1ktcj.cjs.map → index-BVBsdahb.cjs.map} +1 -1
- package/dist/{index-CxWtsgMl.cjs → index-BW9S8i4L.cjs} +2 -2
- package/dist/{index-CxWtsgMl.cjs.map → index-BW9S8i4L.cjs.map} +1 -1
- package/dist/{index-CJQwQd4A.js → index-BgZ9Odny.js} +3 -3
- package/dist/{index-CJQwQd4A.js.map → index-BgZ9Odny.js.map} +1 -1
- package/dist/{index-Ch58_nVL.js → index-BjIDCEma.js} +2 -2
- package/dist/{index-Ch58_nVL.js.map → index-BjIDCEma.js.map} +1 -1
- package/dist/{index-B0nV3hVq.js → index-COR4dGTK.js} +2 -2
- package/dist/{index-B0nV3hVq.js.map → index-COR4dGTK.js.map} +1 -1
- package/dist/{index-AdmtrdOj.js → index-CShQJ1Tu.js} +3 -3
- package/dist/{index-AdmtrdOj.js.map → index-CShQJ1Tu.js.map} +1 -1
- package/dist/{index-Bc_MmoiM.cjs → index-ClHcM2hN.cjs} +2 -2
- package/dist/{index-Bc_MmoiM.cjs.map → index-ClHcM2hN.cjs.map} +1 -1
- package/dist/{index-BQ3DAXnq.cjs → index-CzX54ash.cjs} +2 -2
- package/dist/{index-BQ3DAXnq.cjs.map → index-CzX54ash.cjs.map} +1 -1
- package/dist/{index-CEFoRpvx.cjs → index-D9LgjgB7.cjs} +2 -2
- package/dist/{index-CEFoRpvx.cjs.map → index-D9LgjgB7.cjs.map} +1 -1
- package/dist/{index-w29Yeaab.js → index-DCp6OZLU.js} +2 -2
- package/dist/{index-w29Yeaab.js.map → index-DCp6OZLU.js.map} +1 -1
- package/dist/{index--RxXbH22.js → index-De8-ozZj.js} +2 -2
- package/dist/{index--RxXbH22.js.map → index-De8-ozZj.js.map} +1 -1
- package/dist/{index-iW6JY6LG.cjs → index-DeJvbb_S.cjs} +2 -2
- package/dist/{index-iW6JY6LG.cjs.map → index-DeJvbb_S.cjs.map} +1 -1
- package/dist/{index-Dw39BM_E.js → index-DjAL33eG.js} +2 -2
- package/dist/{index-Dw39BM_E.js.map → index-DjAL33eG.js.map} +1 -1
- package/dist/{index-CZf9DVqp.cjs → index-PWSVsc4o.cjs} +3 -3
- package/dist/{index-CZf9DVqp.cjs.map → index-PWSVsc4o.cjs.map} +1 -1
- package/dist/{index-wyaeB3FQ.cjs → index-RzNv9QED.cjs} +2 -2
- package/dist/{index-wyaeB3FQ.cjs.map → index-RzNv9QED.cjs.map} +1 -1
- package/dist/{index-CePcVUdl.js → index-bDjw-Rwj.js} +3 -3
- package/dist/{index-CePcVUdl.js.map → index-bDjw-Rwj.js.map} +1 -1
- package/dist/{index-BLQvGCp1.js → index-w6bUS_-b.js} +2 -2
- package/dist/{index-BLQvGCp1.js.map → index-w6bUS_-b.js.map} +1 -1
- package/dist/{themes-ssj6M2ml.cjs → themes-CAW1Y0Nk.cjs} +5 -2
- package/dist/themes-CAW1Y0Nk.cjs.map +1 -0
- package/dist/{themes-BxAZpKEj.js → themes-Dxo8D1cq.js} +5 -2
- package/dist/themes-Dxo8D1cq.js.map +1 -0
- package/dist/types/UITheme.d.ts +3 -0
- package/dist/types/UITheme.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/UsersSolid-Bj2vwEHq.cjs.map +0 -1
- package/dist/UsersSolid-CncjWLR_.js.map +0 -1
- package/dist/components-DmVrcjoe.cjs.map +0 -1
- package/dist/components-nIVUDr7n.js.map +0 -1
- package/dist/themes-BxAZpKEj.js.map +0 -1
- package/dist/themes-ssj6M2ml.cjs.map +0 -1
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
25
25
|
const radash = require("radash");
|
|
26
26
|
const react = require("@emotion/react");
|
|
27
|
-
const UsersSolid = require("./UsersSolid-
|
|
27
|
+
const UsersSolid = require("./UsersSolid-B9DXA9NX.cjs");
|
|
28
28
|
const react$1 = require("react");
|
|
29
29
|
const constants = require("./constants-DFJRYpE2.cjs");
|
|
30
30
|
const core = require("@mantine/core");
|
|
@@ -32,15 +32,15 @@ const css = require("@emotion/css");
|
|
|
32
32
|
const reactDom = require("react-dom");
|
|
33
33
|
const DOMPurify = require("dompurify");
|
|
34
34
|
const reactTinyPopover = require("react-tiny-popover");
|
|
35
|
+
const hooks = require("@mantine/hooks");
|
|
35
36
|
const useUITheme = require("./useUITheme-DqgAb7n1.cjs");
|
|
36
37
|
const Markdown = require("react-markdown");
|
|
37
38
|
const remarkGfm = require("remark-gfm");
|
|
38
39
|
const downshift = require("downshift");
|
|
39
|
-
const hooks = require("@mantine/hooks");
|
|
40
40
|
const dayjs = require("dayjs");
|
|
41
41
|
const Blank = require("./Blank-DapEucFF.cjs");
|
|
42
42
|
const useEventSubscribe = require("./useEventSubscribe-BTFTMdWH.cjs");
|
|
43
|
-
const themes = require("./themes-
|
|
43
|
+
const themes = require("./themes-CAW1Y0Nk.cjs");
|
|
44
44
|
function SlideUpArea({ children, isVisible }) {
|
|
45
45
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
46
46
|
"div",
|
|
@@ -797,8 +797,8 @@ function AccordionTable({
|
|
|
797
797
|
}
|
|
798
798
|
);
|
|
799
799
|
}
|
|
800
|
-
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
801
|
-
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
800
|
+
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-BT8oG8gb.cjs")));
|
|
801
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-BPWOdUVc.cjs")));
|
|
802
802
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
803
803
|
const hasContent = !!content || !!footer;
|
|
804
804
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -882,7 +882,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
882
882
|
}
|
|
883
883
|
const CARD_WIDTH$1 = 350;
|
|
884
884
|
const CARD_HEADER_HEIGHT = 158;
|
|
885
|
-
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
885
|
+
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-ClHcM2hN.cjs")));
|
|
886
886
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
887
887
|
const wrapperRef = react$1.useRef(null);
|
|
888
888
|
const handleOnClick = react$1.useCallback(
|
|
@@ -1317,7 +1317,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1317
1317
|
document.body
|
|
1318
1318
|
);
|
|
1319
1319
|
}
|
|
1320
|
-
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
1320
|
+
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-BVBsdahb.cjs")));
|
|
1321
1321
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1322
1322
|
const shadowScrollRef = react$1.useRef(null);
|
|
1323
1323
|
const wrapperContentAreaRef = react$1.useRef(null);
|
|
@@ -2095,6 +2095,198 @@ function Avatar({ src, rounded = true, size = 62, did }) {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
return /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
|
|
2097
2097
|
}
|
|
2098
|
+
const Flex = react$1.forwardRef(
|
|
2099
|
+
({
|
|
2100
|
+
direction = "row",
|
|
2101
|
+
align = "stretch",
|
|
2102
|
+
justify = "flex-start",
|
|
2103
|
+
gap = 0,
|
|
2104
|
+
m = 0,
|
|
2105
|
+
mt = 0,
|
|
2106
|
+
mb = 0,
|
|
2107
|
+
ml = 0,
|
|
2108
|
+
mr = 0,
|
|
2109
|
+
mx = 0,
|
|
2110
|
+
my = 0,
|
|
2111
|
+
p = 0,
|
|
2112
|
+
pt = 0,
|
|
2113
|
+
pb = 0,
|
|
2114
|
+
pl = 0,
|
|
2115
|
+
pr = 0,
|
|
2116
|
+
px = 0,
|
|
2117
|
+
py = 0,
|
|
2118
|
+
bg,
|
|
2119
|
+
radius = 0,
|
|
2120
|
+
children,
|
|
2121
|
+
...props
|
|
2122
|
+
}, ref) => {
|
|
2123
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2124
|
+
"div",
|
|
2125
|
+
{
|
|
2126
|
+
ref,
|
|
2127
|
+
...props,
|
|
2128
|
+
style: {
|
|
2129
|
+
display: "flex",
|
|
2130
|
+
flexDirection: direction,
|
|
2131
|
+
alignItems: align,
|
|
2132
|
+
justifyContent: justify,
|
|
2133
|
+
gap,
|
|
2134
|
+
margin: m,
|
|
2135
|
+
marginTop: mt || my,
|
|
2136
|
+
marginBottom: mb || my,
|
|
2137
|
+
marginLeft: ml || mx,
|
|
2138
|
+
marginRight: mr || mx,
|
|
2139
|
+
padding: p,
|
|
2140
|
+
paddingTop: pt || py,
|
|
2141
|
+
paddingBottom: pb || py,
|
|
2142
|
+
paddingLeft: pl || px,
|
|
2143
|
+
paddingRight: pr || px,
|
|
2144
|
+
backgroundColor: bg,
|
|
2145
|
+
borderRadius: radius,
|
|
2146
|
+
...props.style
|
|
2147
|
+
},
|
|
2148
|
+
children
|
|
2149
|
+
}
|
|
2150
|
+
);
|
|
2151
|
+
}
|
|
2152
|
+
);
|
|
2153
|
+
Flex.displayName = "Flex";
|
|
2154
|
+
function SpaceItem({ icon, id, onClick }) {
|
|
2155
|
+
const { hovered, ref } = hooks.useHover();
|
|
2156
|
+
const theme = useUITheme.useUITheme();
|
|
2157
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2158
|
+
core.Center,
|
|
2159
|
+
{
|
|
2160
|
+
ref,
|
|
2161
|
+
sx: {
|
|
2162
|
+
cursor: "pointer",
|
|
2163
|
+
borderRadius: 24,
|
|
2164
|
+
transform: hovered ? "scale(1.1)" : "scale(1)",
|
|
2165
|
+
transition: "transform 0.2s ease"
|
|
2166
|
+
},
|
|
2167
|
+
pos: "relative",
|
|
2168
|
+
bg: hovered ? theme.neutral.transparent10 : theme.bg.navIconsBg,
|
|
2169
|
+
mih: 40,
|
|
2170
|
+
w: 40,
|
|
2171
|
+
onClick: () => onClick(id),
|
|
2172
|
+
children: typeof icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(core.Image, { radius: 24, src: icon, w: 32, h: 32 }) : icon
|
|
2173
|
+
}
|
|
2174
|
+
);
|
|
2175
|
+
}
|
|
2176
|
+
function MenuItem({ item, onMenuItemClick }) {
|
|
2177
|
+
const { hovered, ref } = hooks.useHover();
|
|
2178
|
+
const theme = useUITheme.useUITheme();
|
|
2179
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2180
|
+
Flex,
|
|
2181
|
+
{
|
|
2182
|
+
ref,
|
|
2183
|
+
align: "center",
|
|
2184
|
+
gap: 8,
|
|
2185
|
+
px: 12,
|
|
2186
|
+
py: 6,
|
|
2187
|
+
style: {
|
|
2188
|
+
cursor: "pointer",
|
|
2189
|
+
borderRadius: 8,
|
|
2190
|
+
backgroundColor: item.isActive ? theme.bg.navIconsBg : hovered ? theme.bg.navIconsBg : "transparent",
|
|
2191
|
+
transform: hovered ? "translateX(4px)" : "translateX(0px)",
|
|
2192
|
+
transition: "all 0.2s ease"
|
|
2193
|
+
},
|
|
2194
|
+
onClick: () => onMenuItemClick(item),
|
|
2195
|
+
children: [
|
|
2196
|
+
/* @__PURE__ */ jsxRuntime.jsx(item.icon, { size: 20, color: item.isActive ? "overPicture" : "secondary" }),
|
|
2197
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 14, fw: 500, c: item.isActive ? theme.neutral.lightGray : theme.text.secondary, children: item.name })
|
|
2198
|
+
]
|
|
2199
|
+
}
|
|
2200
|
+
);
|
|
2201
|
+
}
|
|
2202
|
+
function AppShellNavigation({
|
|
2203
|
+
spaces,
|
|
2204
|
+
pageItem,
|
|
2205
|
+
selectedSpace,
|
|
2206
|
+
menuItems,
|
|
2207
|
+
companyIcon,
|
|
2208
|
+
onAddSpaceClick,
|
|
2209
|
+
avatarIcon,
|
|
2210
|
+
onMenuItemClick,
|
|
2211
|
+
onSettingsIconClick,
|
|
2212
|
+
onBackClick,
|
|
2213
|
+
isBackButtonVisible,
|
|
2214
|
+
footerMenuItems,
|
|
2215
|
+
children
|
|
2216
|
+
}) {
|
|
2217
|
+
const [desktopOpened, { toggle: toggleDesktop }] = hooks.useDisclosure(true);
|
|
2218
|
+
const theme = useUITheme.useUITheme();
|
|
2219
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2220
|
+
core.AppShell,
|
|
2221
|
+
{
|
|
2222
|
+
withBorder: false,
|
|
2223
|
+
styles: {
|
|
2224
|
+
navbar: {
|
|
2225
|
+
background: theme.bg.navScaled
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
bg: theme.bg.navIconsBg,
|
|
2229
|
+
navbar: {
|
|
2230
|
+
width: desktopOpened ? 300 : 56,
|
|
2231
|
+
breakpoint: "sm"
|
|
2232
|
+
},
|
|
2233
|
+
children: [
|
|
2234
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Navbar, { children: /* @__PURE__ */ jsxRuntime.jsxs(Flex, { style: { height: "100%" }, children: [
|
|
2235
|
+
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
|
|
2236
|
+
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { align: "center", style: { flex: 1, overflowY: "auto", overflowX: "hidden" }, gap: 8, children: [
|
|
2237
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, h: 40, w: 40, onClick: companyIcon.onClick, children: typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(core.Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon }),
|
|
2238
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: avatarIcon.onClick, children: typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(core.Image, { radius: 24, src: avatarIcon.icon, w: 32, h: 32 }) : avatarIcon.icon }),
|
|
2239
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2240
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2241
|
+
core.Stack,
|
|
2242
|
+
{
|
|
2243
|
+
align: "center",
|
|
2244
|
+
gap: 8,
|
|
2245
|
+
style: {
|
|
2246
|
+
flex: 1,
|
|
2247
|
+
overflowY: "auto",
|
|
2248
|
+
maxHeight: "calc(100vh - 300px)",
|
|
2249
|
+
scrollbarWidth: "none",
|
|
2250
|
+
msOverflowStyle: "none"
|
|
2251
|
+
},
|
|
2252
|
+
sx: {
|
|
2253
|
+
"&::-webkit-scrollbar": {
|
|
2254
|
+
display: "none"
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
children: spaces.map(({ icon, id, name, onClick }, i) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2258
|
+
selectedSpace === id && /* @__PURE__ */ jsxRuntime.jsx(core.Paper, { bg: theme.neutral.whiteFull, h: 30, w: 4, pos: "absolute", left: 0, top: 116 + i * 49.5 }),
|
|
2259
|
+
/* @__PURE__ */ jsxRuntime.jsx(SpaceItem, { icon, name, id, onClick }, id)
|
|
2260
|
+
] }))
|
|
2261
|
+
}
|
|
2262
|
+
)
|
|
2263
|
+
] }),
|
|
2264
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PlusSolid, { color: "secondary" }) }),
|
|
2265
|
+
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { align: "center", gap: 8, children: [
|
|
2266
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2267
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.SettingsBarSolid, { size: 22, color: "secondary" }) }),
|
|
2268
|
+
!desktopOpened && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: toggleDesktop, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.AngleRightSolid, { color: "secondary" }) })
|
|
2269
|
+
] })
|
|
2270
|
+
] }),
|
|
2271
|
+
desktopOpened && /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2272
|
+
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 5, children: [
|
|
2273
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2274
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2275
|
+
isBackButtonVisible ? /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsxRuntime.jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Globe, { size: 18 }) }),
|
|
2276
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2277
|
+
] }),
|
|
2278
|
+
/* @__PURE__ */ jsxRuntime.jsx(Flex, { gap: 12, align: "center", children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer" }, onClick: toggleDesktop, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PanelLeftSolid, { size: 22, color: "secondary" }) }) })
|
|
2279
|
+
] }),
|
|
2280
|
+
menuItems?.map((item) => /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id))
|
|
2281
|
+
] }),
|
|
2282
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: footerMenuItems?.map((item) => /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2283
|
+
] })
|
|
2284
|
+
] }) }),
|
|
2285
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Main, { children })
|
|
2286
|
+
]
|
|
2287
|
+
}
|
|
2288
|
+
);
|
|
2289
|
+
}
|
|
2098
2290
|
function AvatarInfo({ src, title, description, onClick }) {
|
|
2099
2291
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(Spacer, { children: [
|
|
2100
2292
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { size: 40, src }),
|
|
@@ -2219,8 +2411,6 @@ function ButtonBasic({
|
|
|
2219
2411
|
width = "100%";
|
|
2220
2412
|
}
|
|
2221
2413
|
const baseStyles = {
|
|
2222
|
-
fontFamily: '"DM Sans", "Roboto", Arial, sans-serif',
|
|
2223
|
-
// DM Sans from Figma
|
|
2224
2414
|
fontSize,
|
|
2225
2415
|
fontWeight: 400,
|
|
2226
2416
|
lineHeight,
|
|
@@ -2379,7 +2569,6 @@ function ButtonSubtle({ state = "default", type = "iconLeft", disabled = false,
|
|
|
2379
2569
|
padding: isIconOnly ? "2px" : "2px 8px",
|
|
2380
2570
|
width: isIconOnly ? "28px" : "auto",
|
|
2381
2571
|
height: isIconOnly ? "28px" : "auto",
|
|
2382
|
-
fontFamily: "DM Sans",
|
|
2383
2572
|
fontSize: "16px",
|
|
2384
2573
|
fontWeight: 400,
|
|
2385
2574
|
lineHeight: "1.5em",
|
|
@@ -3737,62 +3926,6 @@ function DomainToolbarTypes({ domainType, active, onClick, ConnectActive }) {
|
|
|
3737
3926
|
document.body
|
|
3738
3927
|
);
|
|
3739
3928
|
}
|
|
3740
|
-
const Flex = react$1.forwardRef(
|
|
3741
|
-
({
|
|
3742
|
-
direction = "row",
|
|
3743
|
-
align = "stretch",
|
|
3744
|
-
justify = "flex-start",
|
|
3745
|
-
gap = 0,
|
|
3746
|
-
m = 0,
|
|
3747
|
-
mt = 0,
|
|
3748
|
-
mb = 0,
|
|
3749
|
-
ml = 0,
|
|
3750
|
-
mr = 0,
|
|
3751
|
-
mx = 0,
|
|
3752
|
-
my = 0,
|
|
3753
|
-
p = 0,
|
|
3754
|
-
pt = 0,
|
|
3755
|
-
pb = 0,
|
|
3756
|
-
pl = 0,
|
|
3757
|
-
pr = 0,
|
|
3758
|
-
px = 0,
|
|
3759
|
-
py = 0,
|
|
3760
|
-
bg,
|
|
3761
|
-
radius = 0,
|
|
3762
|
-
children,
|
|
3763
|
-
...props
|
|
3764
|
-
}, ref) => {
|
|
3765
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3766
|
-
"div",
|
|
3767
|
-
{
|
|
3768
|
-
ref,
|
|
3769
|
-
...props,
|
|
3770
|
-
style: {
|
|
3771
|
-
display: "flex",
|
|
3772
|
-
flexDirection: direction,
|
|
3773
|
-
alignItems: align,
|
|
3774
|
-
justifyContent: justify,
|
|
3775
|
-
gap,
|
|
3776
|
-
margin: m,
|
|
3777
|
-
marginTop: mt || my,
|
|
3778
|
-
marginBottom: mb || my,
|
|
3779
|
-
marginLeft: ml || mx,
|
|
3780
|
-
marginRight: mr || mx,
|
|
3781
|
-
padding: p,
|
|
3782
|
-
paddingTop: pt || py,
|
|
3783
|
-
paddingBottom: pb || py,
|
|
3784
|
-
paddingLeft: pl || px,
|
|
3785
|
-
paddingRight: pr || px,
|
|
3786
|
-
backgroundColor: bg,
|
|
3787
|
-
borderRadius: radius,
|
|
3788
|
-
...props.style
|
|
3789
|
-
},
|
|
3790
|
-
children
|
|
3791
|
-
}
|
|
3792
|
-
);
|
|
3793
|
-
}
|
|
3794
|
-
);
|
|
3795
|
-
Flex.displayName = "Flex";
|
|
3796
3929
|
const CommandItem = ({
|
|
3797
3930
|
name,
|
|
3798
3931
|
description,
|
|
@@ -4201,7 +4334,6 @@ const EcosystemCard = ({ title = "Ecosystem Name", subtitle = "Short Ecosystem S
|
|
|
4201
4334
|
backdropFilter: "blur(30px)",
|
|
4202
4335
|
WebkitBackdropFilter: "blur(30px)",
|
|
4203
4336
|
color: "#fff",
|
|
4204
|
-
fontFamily: "Roboto",
|
|
4205
4337
|
fontWeight: 700,
|
|
4206
4338
|
fontSize: 20,
|
|
4207
4339
|
boxShadow: "0 4px 24px 0 rgba(0,0,0,0.04)"
|
|
@@ -5082,13 +5214,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5082
5214
|
}
|
|
5083
5215
|
);
|
|
5084
5216
|
}
|
|
5085
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5086
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5087
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5217
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-CzX54ash.cjs")));
|
|
5218
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-D9LgjgB7.cjs")));
|
|
5219
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-BW9S8i4L.cjs")));
|
|
5088
5220
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
5089
5221
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
5090
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5091
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5222
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-RzNv9QED.cjs")));
|
|
5223
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-PWSVsc4o.cjs")));
|
|
5092
5224
|
const HOVER_BORDER_WIDTH = 1;
|
|
5093
5225
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5094
5226
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -10318,6 +10450,7 @@ exports.ActionCard = ActionCard;
|
|
|
10318
10450
|
exports.ActionSheet = ActionSheet;
|
|
10319
10451
|
exports.ActionSheetCompanion = ActionSheetCompanion;
|
|
10320
10452
|
exports.ActivityCard = ActivityCard;
|
|
10453
|
+
exports.AppShellNavigation = AppShellNavigation;
|
|
10321
10454
|
exports.Avatar = Avatar;
|
|
10322
10455
|
exports.AvatarInfo = AvatarInfo;
|
|
10323
10456
|
exports.Button = Button;
|
|
@@ -10399,4 +10532,4 @@ exports.UserMessage = UserMessage;
|
|
|
10399
10532
|
exports.WorkspaceModal = WorkspaceModal;
|
|
10400
10533
|
exports.cutText = cutText;
|
|
10401
10534
|
exports.isValidClick = isValidClick;
|
|
10402
|
-
//# sourceMappingURL=components-
|
|
10535
|
+
//# sourceMappingURL=components-BXmsMIj2.cjs.map
|