@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
|
@@ -1,23 +1,23 @@
|
|
|
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, G as Globe, D as Dashboard,
|
|
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
|
-
import { Accordion as Accordion$1, Box, Image,
|
|
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";
|
|
8
8
|
import { cx, css } from "@emotion/css";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
import DOMPurify from "dompurify";
|
|
11
11
|
import { Popover } from "react-tiny-popover";
|
|
12
|
+
import { useDisclosure, useHover } from "@mantine/hooks";
|
|
12
13
|
import { u as useUITheme } from "./useUITheme-7i8NJ2FG.js";
|
|
13
14
|
import Markdown from "react-markdown";
|
|
14
15
|
import remarkGfm from "remark-gfm";
|
|
15
16
|
import { useCombobox, useSelect } from "downshift";
|
|
16
|
-
import { useHover } from "@mantine/hooks";
|
|
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);
|
|
@@ -2072,6 +2072,198 @@ function Avatar({ src, rounded = true, size = 62, did }) {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
return /* @__PURE__ */ jsx(User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
|
|
2074
2074
|
}
|
|
2075
|
+
const Flex = forwardRef(
|
|
2076
|
+
({
|
|
2077
|
+
direction = "row",
|
|
2078
|
+
align = "stretch",
|
|
2079
|
+
justify = "flex-start",
|
|
2080
|
+
gap = 0,
|
|
2081
|
+
m = 0,
|
|
2082
|
+
mt = 0,
|
|
2083
|
+
mb = 0,
|
|
2084
|
+
ml = 0,
|
|
2085
|
+
mr = 0,
|
|
2086
|
+
mx = 0,
|
|
2087
|
+
my = 0,
|
|
2088
|
+
p = 0,
|
|
2089
|
+
pt = 0,
|
|
2090
|
+
pb = 0,
|
|
2091
|
+
pl = 0,
|
|
2092
|
+
pr = 0,
|
|
2093
|
+
px = 0,
|
|
2094
|
+
py = 0,
|
|
2095
|
+
bg,
|
|
2096
|
+
radius = 0,
|
|
2097
|
+
children,
|
|
2098
|
+
...props
|
|
2099
|
+
}, ref) => {
|
|
2100
|
+
return /* @__PURE__ */ jsx(
|
|
2101
|
+
"div",
|
|
2102
|
+
{
|
|
2103
|
+
ref,
|
|
2104
|
+
...props,
|
|
2105
|
+
style: {
|
|
2106
|
+
display: "flex",
|
|
2107
|
+
flexDirection: direction,
|
|
2108
|
+
alignItems: align,
|
|
2109
|
+
justifyContent: justify,
|
|
2110
|
+
gap,
|
|
2111
|
+
margin: m,
|
|
2112
|
+
marginTop: mt || my,
|
|
2113
|
+
marginBottom: mb || my,
|
|
2114
|
+
marginLeft: ml || mx,
|
|
2115
|
+
marginRight: mr || mx,
|
|
2116
|
+
padding: p,
|
|
2117
|
+
paddingTop: pt || py,
|
|
2118
|
+
paddingBottom: pb || py,
|
|
2119
|
+
paddingLeft: pl || px,
|
|
2120
|
+
paddingRight: pr || px,
|
|
2121
|
+
backgroundColor: bg,
|
|
2122
|
+
borderRadius: radius,
|
|
2123
|
+
...props.style
|
|
2124
|
+
},
|
|
2125
|
+
children
|
|
2126
|
+
}
|
|
2127
|
+
);
|
|
2128
|
+
}
|
|
2129
|
+
);
|
|
2130
|
+
Flex.displayName = "Flex";
|
|
2131
|
+
function SpaceItem({ icon, id, onClick }) {
|
|
2132
|
+
const { hovered, ref } = useHover();
|
|
2133
|
+
const theme = useUITheme();
|
|
2134
|
+
return /* @__PURE__ */ jsx(
|
|
2135
|
+
Center,
|
|
2136
|
+
{
|
|
2137
|
+
ref,
|
|
2138
|
+
sx: {
|
|
2139
|
+
cursor: "pointer",
|
|
2140
|
+
borderRadius: 24,
|
|
2141
|
+
transform: hovered ? "scale(1.1)" : "scale(1)",
|
|
2142
|
+
transition: "transform 0.2s ease"
|
|
2143
|
+
},
|
|
2144
|
+
pos: "relative",
|
|
2145
|
+
bg: hovered ? theme.neutral.transparent10 : theme.bg.navIconsBg,
|
|
2146
|
+
mih: 40,
|
|
2147
|
+
w: 40,
|
|
2148
|
+
onClick: () => onClick(id),
|
|
2149
|
+
children: typeof icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: icon, w: 32, h: 32 }) : icon
|
|
2150
|
+
}
|
|
2151
|
+
);
|
|
2152
|
+
}
|
|
2153
|
+
function MenuItem({ item, onMenuItemClick }) {
|
|
2154
|
+
const { hovered, ref } = useHover();
|
|
2155
|
+
const theme = useUITheme();
|
|
2156
|
+
return /* @__PURE__ */ jsxs(
|
|
2157
|
+
Flex,
|
|
2158
|
+
{
|
|
2159
|
+
ref,
|
|
2160
|
+
align: "center",
|
|
2161
|
+
gap: 8,
|
|
2162
|
+
px: 12,
|
|
2163
|
+
py: 6,
|
|
2164
|
+
style: {
|
|
2165
|
+
cursor: "pointer",
|
|
2166
|
+
borderRadius: 8,
|
|
2167
|
+
backgroundColor: item.isActive ? theme.bg.navIconsBg : hovered ? theme.bg.navIconsBg : "transparent",
|
|
2168
|
+
transform: hovered ? "translateX(4px)" : "translateX(0px)",
|
|
2169
|
+
transition: "all 0.2s ease"
|
|
2170
|
+
},
|
|
2171
|
+
onClick: () => onMenuItemClick(item),
|
|
2172
|
+
children: [
|
|
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
|
+
]
|
|
2176
|
+
}
|
|
2177
|
+
);
|
|
2178
|
+
}
|
|
2179
|
+
function AppShellNavigation({
|
|
2180
|
+
spaces,
|
|
2181
|
+
pageItem,
|
|
2182
|
+
selectedSpace,
|
|
2183
|
+
menuItems,
|
|
2184
|
+
companyIcon,
|
|
2185
|
+
onAddSpaceClick,
|
|
2186
|
+
avatarIcon,
|
|
2187
|
+
onMenuItemClick,
|
|
2188
|
+
onSettingsIconClick,
|
|
2189
|
+
onBackClick,
|
|
2190
|
+
isBackButtonVisible,
|
|
2191
|
+
footerMenuItems,
|
|
2192
|
+
children
|
|
2193
|
+
}) {
|
|
2194
|
+
const [desktopOpened, { toggle: toggleDesktop }] = useDisclosure(true);
|
|
2195
|
+
const theme = useUITheme();
|
|
2196
|
+
return /* @__PURE__ */ jsxs(
|
|
2197
|
+
AppShell,
|
|
2198
|
+
{
|
|
2199
|
+
withBorder: false,
|
|
2200
|
+
styles: {
|
|
2201
|
+
navbar: {
|
|
2202
|
+
background: theme.bg.navScaled
|
|
2203
|
+
}
|
|
2204
|
+
},
|
|
2205
|
+
bg: theme.bg.navIconsBg,
|
|
2206
|
+
navbar: {
|
|
2207
|
+
width: desktopOpened ? 300 : 56,
|
|
2208
|
+
breakpoint: "sm"
|
|
2209
|
+
},
|
|
2210
|
+
children: [
|
|
2211
|
+
/* @__PURE__ */ jsx(AppShell.Navbar, { children: /* @__PURE__ */ jsxs(Flex, { style: { height: "100%" }, children: [
|
|
2212
|
+
/* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
|
|
2213
|
+
/* @__PURE__ */ jsxs(Stack$1, { align: "center", style: { flex: 1, overflowY: "auto", overflowX: "hidden" }, gap: 8, children: [
|
|
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 }),
|
|
2216
|
+
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2217
|
+
/* @__PURE__ */ jsx(
|
|
2218
|
+
Stack$1,
|
|
2219
|
+
{
|
|
2220
|
+
align: "center",
|
|
2221
|
+
gap: 8,
|
|
2222
|
+
style: {
|
|
2223
|
+
flex: 1,
|
|
2224
|
+
overflowY: "auto",
|
|
2225
|
+
maxHeight: "calc(100vh - 300px)",
|
|
2226
|
+
scrollbarWidth: "none",
|
|
2227
|
+
msOverflowStyle: "none"
|
|
2228
|
+
},
|
|
2229
|
+
sx: {
|
|
2230
|
+
"&::-webkit-scrollbar": {
|
|
2231
|
+
display: "none"
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
children: spaces.map(({ icon, id, name, onClick }, i) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2235
|
+
selectedSpace === id && /* @__PURE__ */ jsx(Paper, { bg: theme.neutral.whiteFull, h: 30, w: 4, pos: "absolute", left: 0, top: 116 + i * 49.5 }),
|
|
2236
|
+
/* @__PURE__ */ jsx(SpaceItem, { icon, name, id, onClick }, id)
|
|
2237
|
+
] }))
|
|
2238
|
+
}
|
|
2239
|
+
)
|
|
2240
|
+
] }),
|
|
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" }) }),
|
|
2242
|
+
/* @__PURE__ */ jsxs(Stack$1, { align: "center", gap: 8, children: [
|
|
2243
|
+
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
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" }) })
|
|
2246
|
+
] })
|
|
2247
|
+
] }),
|
|
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))
|
|
2258
|
+
] }),
|
|
2259
|
+
/* @__PURE__ */ jsx(Stack$1, { gap: 5, children: footerMenuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2260
|
+
] })
|
|
2261
|
+
] }) }),
|
|
2262
|
+
/* @__PURE__ */ jsx(AppShell.Main, { children })
|
|
2263
|
+
]
|
|
2264
|
+
}
|
|
2265
|
+
);
|
|
2266
|
+
}
|
|
2075
2267
|
function AvatarInfo({ src, title, description, onClick }) {
|
|
2076
2268
|
const content = /* @__PURE__ */ jsxs(Spacer, { children: [
|
|
2077
2269
|
/* @__PURE__ */ jsx(Avatar, { size: 40, src }),
|
|
@@ -2196,8 +2388,6 @@ function ButtonBasic({
|
|
|
2196
2388
|
width = "100%";
|
|
2197
2389
|
}
|
|
2198
2390
|
const baseStyles = {
|
|
2199
|
-
fontFamily: '"DM Sans", "Roboto", Arial, sans-serif',
|
|
2200
|
-
// DM Sans from Figma
|
|
2201
2391
|
fontSize,
|
|
2202
2392
|
fontWeight: 400,
|
|
2203
2393
|
lineHeight,
|
|
@@ -2356,7 +2546,6 @@ function ButtonSubtle({ state = "default", type = "iconLeft", disabled = false,
|
|
|
2356
2546
|
padding: isIconOnly ? "2px" : "2px 8px",
|
|
2357
2547
|
width: isIconOnly ? "28px" : "auto",
|
|
2358
2548
|
height: isIconOnly ? "28px" : "auto",
|
|
2359
|
-
fontFamily: "DM Sans",
|
|
2360
2549
|
fontSize: "16px",
|
|
2361
2550
|
fontWeight: 400,
|
|
2362
2551
|
lineHeight: "1.5em",
|
|
@@ -3714,62 +3903,6 @@ function DomainToolbarTypes({ domainType, active, onClick, ConnectActive }) {
|
|
|
3714
3903
|
document.body
|
|
3715
3904
|
);
|
|
3716
3905
|
}
|
|
3717
|
-
const Flex = forwardRef(
|
|
3718
|
-
({
|
|
3719
|
-
direction = "row",
|
|
3720
|
-
align = "stretch",
|
|
3721
|
-
justify = "flex-start",
|
|
3722
|
-
gap = 0,
|
|
3723
|
-
m = 0,
|
|
3724
|
-
mt = 0,
|
|
3725
|
-
mb = 0,
|
|
3726
|
-
ml = 0,
|
|
3727
|
-
mr = 0,
|
|
3728
|
-
mx = 0,
|
|
3729
|
-
my = 0,
|
|
3730
|
-
p = 0,
|
|
3731
|
-
pt = 0,
|
|
3732
|
-
pb = 0,
|
|
3733
|
-
pl = 0,
|
|
3734
|
-
pr = 0,
|
|
3735
|
-
px = 0,
|
|
3736
|
-
py = 0,
|
|
3737
|
-
bg,
|
|
3738
|
-
radius = 0,
|
|
3739
|
-
children,
|
|
3740
|
-
...props
|
|
3741
|
-
}, ref) => {
|
|
3742
|
-
return /* @__PURE__ */ jsx(
|
|
3743
|
-
"div",
|
|
3744
|
-
{
|
|
3745
|
-
ref,
|
|
3746
|
-
...props,
|
|
3747
|
-
style: {
|
|
3748
|
-
display: "flex",
|
|
3749
|
-
flexDirection: direction,
|
|
3750
|
-
alignItems: align,
|
|
3751
|
-
justifyContent: justify,
|
|
3752
|
-
gap,
|
|
3753
|
-
margin: m,
|
|
3754
|
-
marginTop: mt || my,
|
|
3755
|
-
marginBottom: mb || my,
|
|
3756
|
-
marginLeft: ml || mx,
|
|
3757
|
-
marginRight: mr || mx,
|
|
3758
|
-
padding: p,
|
|
3759
|
-
paddingTop: pt || py,
|
|
3760
|
-
paddingBottom: pb || py,
|
|
3761
|
-
paddingLeft: pl || px,
|
|
3762
|
-
paddingRight: pr || px,
|
|
3763
|
-
backgroundColor: bg,
|
|
3764
|
-
borderRadius: radius,
|
|
3765
|
-
...props.style
|
|
3766
|
-
},
|
|
3767
|
-
children
|
|
3768
|
-
}
|
|
3769
|
-
);
|
|
3770
|
-
}
|
|
3771
|
-
);
|
|
3772
|
-
Flex.displayName = "Flex";
|
|
3773
3906
|
const CommandItem = ({
|
|
3774
3907
|
name,
|
|
3775
3908
|
description,
|
|
@@ -4178,7 +4311,6 @@ const EcosystemCard = ({ title = "Ecosystem Name", subtitle = "Short Ecosystem S
|
|
|
4178
4311
|
backdropFilter: "blur(30px)",
|
|
4179
4312
|
WebkitBackdropFilter: "blur(30px)",
|
|
4180
4313
|
color: "#fff",
|
|
4181
|
-
fontFamily: "Roboto",
|
|
4182
4314
|
fontWeight: 700,
|
|
4183
4315
|
fontSize: 20,
|
|
4184
4316
|
boxShadow: "0 4px 24px 0 rgba(0,0,0,0.04)"
|
|
@@ -5059,13 +5191,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5059
5191
|
}
|
|
5060
5192
|
);
|
|
5061
5193
|
}
|
|
5062
|
-
const MainAction = lazy(() => import("./index-
|
|
5063
|
-
const Header$1 = lazy(() => import("./index-
|
|
5064
|
-
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"));
|
|
5065
5197
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5066
5198
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5067
|
-
const Assets = lazy(() => import("./index-
|
|
5068
|
-
const Actions = lazy(() => import("./index-
|
|
5199
|
+
const Assets = lazy(() => import("./index-DCp6OZLU.js"));
|
|
5200
|
+
const Actions = lazy(() => import("./index-BgZ9Odny.js"));
|
|
5069
5201
|
const HOVER_BORDER_WIDTH = 1;
|
|
5070
5202
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5071
5203
|
const wrapperRef = useRef(null);
|
|
@@ -10287,71 +10419,72 @@ function NavigationBar({
|
|
|
10287
10419
|
] });
|
|
10288
10420
|
}
|
|
10289
10421
|
export {
|
|
10290
|
-
|
|
10422
|
+
GroupActivity as $,
|
|
10291
10423
|
Avatar as A,
|
|
10292
10424
|
Button as B,
|
|
10293
10425
|
CARD_HEADER_HEIGHT as C,
|
|
10294
|
-
|
|
10295
|
-
|
|
10426
|
+
CardUserFollowUp as D,
|
|
10427
|
+
Chart$1 as E,
|
|
10296
10428
|
FeedbackMessage as F,
|
|
10297
|
-
|
|
10298
|
-
|
|
10429
|
+
Checkbox as G,
|
|
10430
|
+
CheckboxGroup as H,
|
|
10299
10431
|
IconButton as I,
|
|
10300
|
-
|
|
10301
|
-
|
|
10432
|
+
ComboBox as J,
|
|
10433
|
+
DomainToolbar as K,
|
|
10302
10434
|
Loader as L,
|
|
10303
10435
|
MoreMenu as M,
|
|
10304
|
-
|
|
10436
|
+
DropDown as N,
|
|
10305
10437
|
OracleMessage as O,
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10438
|
+
DomainToolbarTypes as P,
|
|
10439
|
+
FloatingInput as Q,
|
|
10440
|
+
EcosystemCard as R,
|
|
10309
10441
|
Spacer as S,
|
|
10310
10442
|
Typography as T,
|
|
10311
10443
|
UserMessage as U,
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10444
|
+
EntityList as V,
|
|
10445
|
+
Event as W,
|
|
10446
|
+
ExpandableButton as X,
|
|
10447
|
+
FeaturedCard as Y,
|
|
10448
|
+
FilterDropDown as Z,
|
|
10449
|
+
FilterTags as _,
|
|
10318
10450
|
Tag as a,
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10451
|
+
GroupSelector as a0,
|
|
10452
|
+
HandlerSodaCard as a1,
|
|
10453
|
+
HtmlRender as a2,
|
|
10454
|
+
ImpactCreditState as a3,
|
|
10455
|
+
Layout as a4,
|
|
10456
|
+
Modal as a5,
|
|
10457
|
+
ModalSearch as a6,
|
|
10458
|
+
ModalSheet as a7,
|
|
10459
|
+
OracleProtocolsSelection as a8,
|
|
10460
|
+
OracleReply as a9,
|
|
10461
|
+
WorkspaceModal as aA,
|
|
10462
|
+
PageTitle as aa,
|
|
10463
|
+
PlanCard as ab,
|
|
10464
|
+
Post as ac,
|
|
10465
|
+
ProfileCard as ad,
|
|
10466
|
+
ProfileMenu as ae,
|
|
10467
|
+
ProposalCard as af,
|
|
10468
|
+
RoundedButton as ag,
|
|
10469
|
+
ServiceOffering as ah,
|
|
10470
|
+
SearchInput as ai,
|
|
10471
|
+
Select as aj,
|
|
10472
|
+
SodaCard as ak,
|
|
10473
|
+
SomeComponent as al,
|
|
10474
|
+
Switch as am,
|
|
10475
|
+
SwitchText as an,
|
|
10476
|
+
Table as ao,
|
|
10477
|
+
TableList as ap,
|
|
10478
|
+
TabNavigation as aq,
|
|
10479
|
+
TabSelector as ar,
|
|
10480
|
+
TextInput as as,
|
|
10481
|
+
UiProvider as at,
|
|
10482
|
+
FloatingModal as au,
|
|
10483
|
+
NavigationBar as av,
|
|
10484
|
+
NavigationItem as aw,
|
|
10485
|
+
DomainModal as ax,
|
|
10486
|
+
DomainSelector as ay,
|
|
10487
|
+
MoreModal as az,
|
|
10355
10488
|
ActionButton as b,
|
|
10356
10489
|
cutText as c,
|
|
10357
10490
|
Tooltip$1 as d,
|
|
@@ -10365,17 +10498,17 @@ export {
|
|
|
10365
10498
|
ActivityCard as l,
|
|
10366
10499
|
AIResponse as m,
|
|
10367
10500
|
AIInputBar as n,
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10501
|
+
AppShellNavigation as o,
|
|
10502
|
+
AvatarInfo as p,
|
|
10503
|
+
ButtonBasic as q,
|
|
10504
|
+
ButtonReadOnly as r,
|
|
10505
|
+
ButtonSubtle as s,
|
|
10506
|
+
Card as t,
|
|
10507
|
+
CardAction as u,
|
|
10508
|
+
CardEntity as v,
|
|
10509
|
+
CardHeader as w,
|
|
10510
|
+
CardHero as x,
|
|
10511
|
+
CardSelector as y,
|
|
10512
|
+
CardOutput as z
|
|
10380
10513
|
};
|
|
10381
|
-
//# sourceMappingURL=components-
|
|
10514
|
+
//# sourceMappingURL=components-BpZDHiID.js.map
|