@ixo/ui 0.0.6 → 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-CYOWcNJV.js → UsersSolid-CCU2B_Nz.js} +82 -42
- package/dist/UsersSolid-CCU2B_Nz.js.map +1 -0
- package/dist/components/AppShellNavigation/index.d.ts +9 -2
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- 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-2IYis_pS.cjs → components-BXmsMIj2.cjs} +38 -125
- package/dist/{components-2IYis_pS.cjs.map → components-BXmsMIj2.cjs.map} +1 -1
- package/dist/{components-BoLr9Qow.js → components-BpZDHiID.js} +38 -125
- package/dist/{components-BoLr9Qow.js.map → components-BpZDHiID.js.map} +1 -1
- package/dist/constants/themes.d.ts.map +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- 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-BfkAX8vS.js → index-B99v2MeE.js} +2 -2
- package/dist/{index-BfkAX8vS.js.map → index-B99v2MeE.js.map} +1 -1
- package/dist/{index-BViyRAH_.cjs → index-BPWOdUVc.cjs} +3 -3
- package/dist/{index-BViyRAH_.cjs.map → index-BPWOdUVc.cjs.map} +1 -1
- package/dist/{index-DBvgEa5H.cjs → index-BT8oG8gb.cjs} +3 -3
- package/dist/{index-DBvgEa5H.cjs.map → index-BT8oG8gb.cjs.map} +1 -1
- package/dist/{index-B6xg69Dq.cjs → index-BVBsdahb.cjs} +2 -2
- package/dist/{index-B6xg69Dq.cjs.map → index-BVBsdahb.cjs.map} +1 -1
- package/dist/{index-DoeAXBYv.cjs → index-BW9S8i4L.cjs} +2 -2
- package/dist/{index-DoeAXBYv.cjs.map → index-BW9S8i4L.cjs.map} +1 -1
- package/dist/{index-D-yx5xCK.js → index-BgZ9Odny.js} +3 -3
- package/dist/{index-D-yx5xCK.js.map → index-BgZ9Odny.js.map} +1 -1
- package/dist/{index-7eiS7IVr.js → index-BjIDCEma.js} +2 -2
- package/dist/{index-7eiS7IVr.js.map → index-BjIDCEma.js.map} +1 -1
- package/dist/{index-Bd5Hg5BP.js → index-COR4dGTK.js} +2 -2
- package/dist/{index-Bd5Hg5BP.js.map → index-COR4dGTK.js.map} +1 -1
- package/dist/{index-CNWC1hG3.js → index-CShQJ1Tu.js} +3 -3
- package/dist/{index-CNWC1hG3.js.map → index-CShQJ1Tu.js.map} +1 -1
- package/dist/{index-D_Sg8YF7.cjs → index-ClHcM2hN.cjs} +2 -2
- package/dist/{index-D_Sg8YF7.cjs.map → index-ClHcM2hN.cjs.map} +1 -1
- package/dist/{index-7ENn--8R.cjs → index-CzX54ash.cjs} +2 -2
- package/dist/{index-7ENn--8R.cjs.map → index-CzX54ash.cjs.map} +1 -1
- package/dist/{index-D9Jjiwns.cjs → index-D9LgjgB7.cjs} +2 -2
- package/dist/{index-D9Jjiwns.cjs.map → index-D9LgjgB7.cjs.map} +1 -1
- package/dist/{index-BwK5-98B.js → index-DCp6OZLU.js} +2 -2
- package/dist/{index-BwK5-98B.js.map → index-DCp6OZLU.js.map} +1 -1
- package/dist/{index-2RkJbTMY.js → index-De8-ozZj.js} +2 -2
- package/dist/{index-2RkJbTMY.js.map → index-De8-ozZj.js.map} +1 -1
- package/dist/{index-C68HB9Av.cjs → index-DeJvbb_S.cjs} +2 -2
- package/dist/{index-C68HB9Av.cjs.map → index-DeJvbb_S.cjs.map} +1 -1
- package/dist/{index-DRT7h4xd.js → index-DjAL33eG.js} +2 -2
- package/dist/{index-DRT7h4xd.js.map → index-DjAL33eG.js.map} +1 -1
- package/dist/{index-Jt88FVTH.cjs → index-PWSVsc4o.cjs} +3 -3
- package/dist/{index-Jt88FVTH.cjs.map → index-PWSVsc4o.cjs.map} +1 -1
- package/dist/{index-Dit9UCpC.cjs → index-RzNv9QED.cjs} +2 -2
- package/dist/{index-Dit9UCpC.cjs.map → index-RzNv9QED.cjs.map} +1 -1
- package/dist/{index-GZOZ7L0s.js → index-bDjw-Rwj.js} +3 -3
- package/dist/{index-GZOZ7L0s.js.map → index-bDjw-Rwj.js.map} +1 -1
- package/dist/{index-ufMtBCkV.js → index-w6bUS_-b.js} +2 -2
- package/dist/{index-ufMtBCkV.js.map → index-w6bUS_-b.js.map} +1 -1
- package/dist/{themes-DxTEP-Kl.cjs → themes-CAW1Y0Nk.cjs} +4 -3
- package/dist/themes-CAW1Y0Nk.cjs.map +1 -0
- package/dist/{themes-B3gRP8Wm.js → themes-Dxo8D1cq.js} +4 -3
- package/dist/themes-Dxo8D1cq.js.map +1 -0
- package/dist/types/UITheme.d.ts +1 -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-CYOWcNJV.js.map +0 -1
- package/dist/themes-B3gRP8Wm.js.map +0 -1
- package/dist/themes-DxTEP-Kl.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { isString, toggle, get, isFunction, assign } from "radash";
|
|
3
3
|
import { useTheme, jsx as jsx$1, keyframes, ThemeProvider } from "@emotion/react";
|
|
4
|
-
import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, U as User, d as
|
|
4
|
+
import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, U as User, d as SettingsBarSolid, e as AngleRightSolid, f as ArrowLeftSolid, G as Globe, h as PanelLeftSolid, D as Dashboard, i as Groups, j as UserCircleSolid, k as Assets$1, l as Claims, m as Accounts, H as HistorySolid, n as LinkedResources, o as Proposals, I as ImpactCredits, p as GoTo, q as Share, r as PiePiece, s as ImpactCertificates, t as CommentDotsSolid, u as CommentAltSolid, M as MicrophoneSolid, v as Command, w as ArrowCircleRightSolid, x as Protocols, y as Investments, O as Oracles, z as Projects, B as Daos, F as Star, J as AngleLeftSolid, K as Expand, N as LeafSolid, Q as ArrowDownSolid, R as ArrowRightSolid, T as Play, V as CheckCircle, W as Events, X as ThumbsUpSolid, Y as CommentsSolid, Z as CopySolid, _ as Hourglass, $ as Act, a0 as Info$1, a1 as ClaimsW, a2 as TachometerAltSolid, a3 as UserCogSolid, a4 as UsersSolid, a5 as EllipsisHSolid } from "./UsersSolid-CCU2B_Nz.js";
|
|
5
5
|
import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useId, useMemo, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
|
|
6
6
|
import { T as TAG_SMALL_HEIGHT, D as DEFAULT_ICON_SIZE } from "./constants-B7xlU8b8.js";
|
|
7
7
|
import { Accordion as Accordion$1, Box, Image, AppShell, Stack as Stack$1, Center, Divider, Paper, Text as Text$1, Badge as Badge$1 } from "@mantine/core";
|
|
@@ -17,7 +17,7 @@ import { useCombobox, useSelect } from "downshift";
|
|
|
17
17
|
import dayjs from "dayjs";
|
|
18
18
|
import { B as Blank } from "./Blank-CElsicB7.js";
|
|
19
19
|
import { E as EventEmitter, u as useEventSubscribe } from "./useEventSubscribe-16wxaghO.js";
|
|
20
|
-
import { d as dark, l as light } from "./themes-
|
|
20
|
+
import { d as dark, l as light } from "./themes-Dxo8D1cq.js";
|
|
21
21
|
function SlideUpArea({ children, isVisible }) {
|
|
22
22
|
return /* @__PURE__ */ jsx(
|
|
23
23
|
"div",
|
|
@@ -774,8 +774,8 @@ function AccordionTable({
|
|
|
774
774
|
}
|
|
775
775
|
);
|
|
776
776
|
}
|
|
777
|
-
const Header$3 = lazy(() => import("./index-
|
|
778
|
-
const Footer = lazy(() => import("./index-
|
|
777
|
+
const Header$3 = lazy(() => import("./index-bDjw-Rwj.js"));
|
|
778
|
+
const Footer = lazy(() => import("./index-CShQJ1Tu.js"));
|
|
779
779
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
780
780
|
const hasContent = !!content || !!footer;
|
|
781
781
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -859,7 +859,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
859
859
|
}
|
|
860
860
|
const CARD_WIDTH$1 = 350;
|
|
861
861
|
const CARD_HEADER_HEIGHT = 158;
|
|
862
|
-
const Header$2 = lazy(() => import("./index-
|
|
862
|
+
const Header$2 = lazy(() => import("./index-B99v2MeE.js"));
|
|
863
863
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
864
864
|
const wrapperRef = useRef(null);
|
|
865
865
|
const handleOnClick = useCallback(
|
|
@@ -1294,7 +1294,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1294
1294
|
document.body
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
|
1297
|
-
const Badge = lazy(() => import("./index-
|
|
1297
|
+
const Badge = lazy(() => import("./index-BjIDCEma.js"));
|
|
1298
1298
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1299
1299
|
const shadowScrollRef = useRef(null);
|
|
1300
1300
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -2142,7 +2142,7 @@ function SpaceItem({ icon, id, onClick }) {
|
|
|
2142
2142
|
transition: "transform 0.2s ease"
|
|
2143
2143
|
},
|
|
2144
2144
|
pos: "relative",
|
|
2145
|
-
bg: hovered ? theme.neutral.transparent10 : theme.bg.
|
|
2145
|
+
bg: hovered ? theme.neutral.transparent10 : theme.bg.navIconsBg,
|
|
2146
2146
|
mih: 40,
|
|
2147
2147
|
w: 40,
|
|
2148
2148
|
onClick: () => onClick(id),
|
|
@@ -2164,93 +2164,31 @@ function MenuItem({ item, onMenuItemClick }) {
|
|
|
2164
2164
|
style: {
|
|
2165
2165
|
cursor: "pointer",
|
|
2166
2166
|
borderRadius: 8,
|
|
2167
|
-
backgroundColor: item.isActive ? theme.
|
|
2167
|
+
backgroundColor: item.isActive ? theme.bg.navIconsBg : hovered ? theme.bg.navIconsBg : "transparent",
|
|
2168
2168
|
transform: hovered ? "translateX(4px)" : "translateX(0px)",
|
|
2169
2169
|
transition: "all 0.2s ease"
|
|
2170
2170
|
},
|
|
2171
2171
|
onClick: () => onMenuItemClick(item),
|
|
2172
2172
|
children: [
|
|
2173
|
-
/* @__PURE__ */ jsx(item.icon, { size: 20, color: "secondary" }),
|
|
2174
|
-
/* @__PURE__ */ jsx(Text$1, { fz: 14, c: theme.neutral.lightGray, children: item.name })
|
|
2173
|
+
/* @__PURE__ */ jsx(item.icon, { size: 20, color: item.isActive ? "overPicture" : "secondary" }),
|
|
2174
|
+
/* @__PURE__ */ jsx(Text$1, { fz: 14, fw: 500, c: item.isActive ? theme.neutral.lightGray : theme.text.secondary, children: item.name })
|
|
2175
2175
|
]
|
|
2176
2176
|
}
|
|
2177
2177
|
);
|
|
2178
2178
|
}
|
|
2179
|
-
function RoomItem({ room }) {
|
|
2180
|
-
const { hovered, ref } = useHover();
|
|
2181
|
-
const theme = useUITheme();
|
|
2182
|
-
return /* @__PURE__ */ jsxs(
|
|
2183
|
-
Flex,
|
|
2184
|
-
{
|
|
2185
|
-
ref,
|
|
2186
|
-
align: "center",
|
|
2187
|
-
gap: 8,
|
|
2188
|
-
px: 12,
|
|
2189
|
-
py: 4,
|
|
2190
|
-
ml: 16,
|
|
2191
|
-
style: {
|
|
2192
|
-
cursor: "pointer",
|
|
2193
|
-
borderRadius: 6,
|
|
2194
|
-
backgroundColor: room.isActive || hovered ? theme.neutral.transparent10 : "transparent",
|
|
2195
|
-
transform: hovered ? "translateX(2px)" : "translateX(0px)",
|
|
2196
|
-
transition: "all 0.15s ease"
|
|
2197
|
-
},
|
|
2198
|
-
onClick: () => room.onClick(room.id),
|
|
2199
|
-
children: [
|
|
2200
|
-
/* @__PURE__ */ jsx(room.icon, { size: 16, color: "secondary" }),
|
|
2201
|
-
/* @__PURE__ */ jsx(Text$1, { fz: 13, c: theme.text.secondary, children: room.name })
|
|
2202
|
-
]
|
|
2203
|
-
}
|
|
2204
|
-
);
|
|
2205
|
-
}
|
|
2206
|
-
function RoomCategory({ category }) {
|
|
2207
|
-
const { hovered, ref } = useHover();
|
|
2208
|
-
const theme = useUITheme();
|
|
2209
|
-
const { value, toggle: toggle2 } = useToggle(false);
|
|
2210
|
-
return /* @__PURE__ */ jsxs(Stack$1, { gap: 2, children: [
|
|
2211
|
-
/* @__PURE__ */ jsxs(
|
|
2212
|
-
Flex,
|
|
2213
|
-
{
|
|
2214
|
-
ref,
|
|
2215
|
-
align: "center",
|
|
2216
|
-
justify: "space-between",
|
|
2217
|
-
px: 12,
|
|
2218
|
-
py: 4,
|
|
2219
|
-
style: {
|
|
2220
|
-
cursor: "pointer",
|
|
2221
|
-
borderRadius: 6,
|
|
2222
|
-
backgroundColor: hovered ? theme.neutral.transparent50 : "transparent",
|
|
2223
|
-
transition: "all 0.15s ease"
|
|
2224
|
-
},
|
|
2225
|
-
onClick: toggle2,
|
|
2226
|
-
children: [
|
|
2227
|
-
/* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.neutral.lightGray, children: category.name }),
|
|
2228
|
-
/* @__PURE__ */ jsx(
|
|
2229
|
-
Center,
|
|
2230
|
-
{
|
|
2231
|
-
sx: {
|
|
2232
|
-
transform: value ? "rotate(-90deg)" : "rotate(0deg)",
|
|
2233
|
-
transition: "transform 0.2s ease"
|
|
2234
|
-
},
|
|
2235
|
-
children: /* @__PURE__ */ jsx(AngleLeftSolid, { size: 12, color: "secondary" })
|
|
2236
|
-
}
|
|
2237
|
-
)
|
|
2238
|
-
]
|
|
2239
|
-
}
|
|
2240
|
-
),
|
|
2241
|
-
!value && /* @__PURE__ */ jsx(Stack$1, { gap: 1, children: category.rooms.map((room) => /* @__PURE__ */ jsx(RoomItem, { room }, room.id)) })
|
|
2242
|
-
] });
|
|
2243
|
-
}
|
|
2244
2179
|
function AppShellNavigation({
|
|
2245
2180
|
spaces,
|
|
2181
|
+
pageItem,
|
|
2246
2182
|
selectedSpace,
|
|
2247
2183
|
menuItems,
|
|
2248
|
-
roomCategories,
|
|
2249
2184
|
companyIcon,
|
|
2250
2185
|
onAddSpaceClick,
|
|
2251
2186
|
avatarIcon,
|
|
2252
2187
|
onMenuItemClick,
|
|
2253
|
-
|
|
2188
|
+
onSettingsIconClick,
|
|
2189
|
+
onBackClick,
|
|
2190
|
+
isBackButtonVisible,
|
|
2191
|
+
footerMenuItems,
|
|
2254
2192
|
children
|
|
2255
2193
|
}) {
|
|
2256
2194
|
const [desktopOpened, { toggle: toggleDesktop }] = useDisclosure(true);
|
|
@@ -2264,7 +2202,7 @@ function AppShellNavigation({
|
|
|
2264
2202
|
background: theme.bg.navScaled
|
|
2265
2203
|
}
|
|
2266
2204
|
},
|
|
2267
|
-
bg: theme.bg.
|
|
2205
|
+
bg: theme.bg.navIconsBg,
|
|
2268
2206
|
navbar: {
|
|
2269
2207
|
width: desktopOpened ? 300 : 56,
|
|
2270
2208
|
breakpoint: "sm"
|
|
@@ -2273,8 +2211,8 @@ function AppShellNavigation({
|
|
|
2273
2211
|
/* @__PURE__ */ jsx(AppShell.Navbar, { children: /* @__PURE__ */ jsxs(Flex, { style: { height: "100%" }, children: [
|
|
2274
2212
|
/* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
|
|
2275
2213
|
/* @__PURE__ */ jsxs(Stack$1, { align: "center", style: { flex: 1, overflowY: "auto", overflowX: "hidden" }, gap: 8, children: [
|
|
2276
|
-
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 },
|
|
2277
|
-
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.
|
|
2214
|
+
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, h: 40, w: 40, onClick: companyIcon.onClick, children: typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon }),
|
|
2215
|
+
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: avatarIcon.onClick, children: typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: avatarIcon.icon, w: 32, h: 32 }) : avatarIcon.icon }),
|
|
2278
2216
|
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2279
2217
|
/* @__PURE__ */ jsx(
|
|
2280
2218
|
Stack$1,
|
|
@@ -2300,46 +2238,25 @@ function AppShellNavigation({
|
|
|
2300
2238
|
}
|
|
2301
2239
|
)
|
|
2302
2240
|
] }),
|
|
2303
|
-
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.
|
|
2241
|
+
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsx(PlusSolid, { color: "secondary" }) }),
|
|
2304
2242
|
/* @__PURE__ */ jsxs(Stack$1, { align: "center", gap: 8, children: [
|
|
2305
2243
|
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2306
|
-
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.
|
|
2307
|
-
!desktopOpened && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.
|
|
2244
|
+
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) }),
|
|
2245
|
+
!desktopOpened && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: toggleDesktop, children: /* @__PURE__ */ jsx(AngleRightSolid, { color: "secondary" }) })
|
|
2308
2246
|
] })
|
|
2309
2247
|
] }),
|
|
2310
|
-
desktopOpened && /* @__PURE__ */ jsxs(Stack$1, { w: "100%",
|
|
2311
|
-
/* @__PURE__ */ jsxs(
|
|
2312
|
-
/* @__PURE__ */
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2248
|
+
desktopOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2249
|
+
/* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
|
|
2250
|
+
/* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2251
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2252
|
+
isBackButtonVisible ? /* @__PURE__ */ jsx(Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsx(Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsx(Globe, { size: 18 }) }),
|
|
2253
|
+
/* @__PURE__ */ jsx(Text$1, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2254
|
+
] }),
|
|
2255
|
+
/* @__PURE__ */ jsx(Flex, { gap: 12, align: "center", children: /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer" }, onClick: toggleDesktop, children: /* @__PURE__ */ jsx(PanelLeftSolid, { size: 22, color: "secondary" }) }) })
|
|
2256
|
+
] }),
|
|
2257
|
+
menuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id))
|
|
2317
2258
|
] }),
|
|
2318
|
-
|
|
2319
|
-
/* @__PURE__ */ jsxs(
|
|
2320
|
-
Flex,
|
|
2321
|
-
{
|
|
2322
|
-
align: "center",
|
|
2323
|
-
gap: 8,
|
|
2324
|
-
px: 12,
|
|
2325
|
-
py: 6,
|
|
2326
|
-
style: {
|
|
2327
|
-
cursor: "pointer",
|
|
2328
|
-
borderRadius: 8,
|
|
2329
|
-
backgroundColor: "transparent"
|
|
2330
|
-
},
|
|
2331
|
-
onClick: () => {
|
|
2332
|
-
},
|
|
2333
|
-
children: [
|
|
2334
|
-
/* @__PURE__ */ jsx(EllipsisHSolid, { size: 20, color: "secondary" }),
|
|
2335
|
-
/* @__PURE__ */ jsx(Text$1, { fz: 14, c: theme.neutral.lightGray, children: "More" })
|
|
2336
|
-
]
|
|
2337
|
-
}
|
|
2338
|
-
),
|
|
2339
|
-
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2340
|
-
/* @__PURE__ */ jsx(Text$1, { pl: 11, mt: 16, fz: 14, c: theme.neutral.lightGray, children: "Rooms" }),
|
|
2341
|
-
/* @__PURE__ */ jsx(Stack$1, { gap: 8, children: roomCategories.map((category) => /* @__PURE__ */ jsx(RoomCategory, { category }, category.id)) })
|
|
2342
|
-
] })
|
|
2259
|
+
/* @__PURE__ */ jsx(Stack$1, { gap: 5, children: footerMenuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2343
2260
|
] })
|
|
2344
2261
|
] }) }),
|
|
2345
2262
|
/* @__PURE__ */ jsx(AppShell.Main, { children })
|
|
@@ -2471,8 +2388,6 @@ function ButtonBasic({
|
|
|
2471
2388
|
width = "100%";
|
|
2472
2389
|
}
|
|
2473
2390
|
const baseStyles = {
|
|
2474
|
-
fontFamily: '"DM Sans", "Roboto", Arial, sans-serif',
|
|
2475
|
-
// DM Sans from Figma
|
|
2476
2391
|
fontSize,
|
|
2477
2392
|
fontWeight: 400,
|
|
2478
2393
|
lineHeight,
|
|
@@ -2631,7 +2546,6 @@ function ButtonSubtle({ state = "default", type = "iconLeft", disabled = false,
|
|
|
2631
2546
|
padding: isIconOnly ? "2px" : "2px 8px",
|
|
2632
2547
|
width: isIconOnly ? "28px" : "auto",
|
|
2633
2548
|
height: isIconOnly ? "28px" : "auto",
|
|
2634
|
-
fontFamily: "DM Sans",
|
|
2635
2549
|
fontSize: "16px",
|
|
2636
2550
|
fontWeight: 400,
|
|
2637
2551
|
lineHeight: "1.5em",
|
|
@@ -4397,7 +4311,6 @@ const EcosystemCard = ({ title = "Ecosystem Name", subtitle = "Short Ecosystem S
|
|
|
4397
4311
|
backdropFilter: "blur(30px)",
|
|
4398
4312
|
WebkitBackdropFilter: "blur(30px)",
|
|
4399
4313
|
color: "#fff",
|
|
4400
|
-
fontFamily: "Roboto",
|
|
4401
4314
|
fontWeight: 700,
|
|
4402
4315
|
fontSize: 20,
|
|
4403
4316
|
boxShadow: "0 4px 24px 0 rgba(0,0,0,0.04)"
|
|
@@ -5278,13 +5191,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5278
5191
|
}
|
|
5279
5192
|
);
|
|
5280
5193
|
}
|
|
5281
|
-
const MainAction = lazy(() => import("./index-
|
|
5282
|
-
const Header$1 = lazy(() => import("./index-
|
|
5283
|
-
const Content = lazy(() => import("./index-
|
|
5194
|
+
const MainAction = lazy(() => import("./index-DjAL33eG.js"));
|
|
5195
|
+
const Header$1 = lazy(() => import("./index-w6bUS_-b.js"));
|
|
5196
|
+
const Content = lazy(() => import("./index-COR4dGTK.js"));
|
|
5284
5197
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5285
5198
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5286
|
-
const Assets = lazy(() => import("./index-
|
|
5287
|
-
const Actions = lazy(() => import("./index-
|
|
5199
|
+
const Assets = lazy(() => import("./index-DCp6OZLU.js"));
|
|
5200
|
+
const Actions = lazy(() => import("./index-BgZ9Odny.js"));
|
|
5288
5201
|
const HOVER_BORDER_WIDTH = 1;
|
|
5289
5202
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5290
5203
|
const wrapperRef = useRef(null);
|
|
@@ -10598,4 +10511,4 @@ export {
|
|
|
10598
10511
|
CardSelector as y,
|
|
10599
10512
|
CardOutput as z
|
|
10600
10513
|
};
|
|
10601
|
-
//# sourceMappingURL=components-
|
|
10514
|
+
//# sourceMappingURL=components-BpZDHiID.js.map
|