@ixo/ui 0.1.8 → 0.1.10
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 +43 -43
- package/dist/components/AppShellNavigation/components/RoomCategory.d.ts +7 -2
- package/dist/components/AppShellNavigation/components/RoomCategory.d.ts.map +1 -1
- package/dist/components/MoreMenu/index.d.ts +1 -1
- package/dist/components/MoreMenu/index.d.ts.map +1 -1
- package/dist/components/MoreMenu/types.d.ts +2 -0
- package/dist/components/MoreMenu/types.d.ts.map +1 -1
- package/dist/components/OracleMessage/index.d.ts.map +1 -1
- package/dist/{components-t3g1EGWM.cjs → components-Bzkhgo_i.cjs} +223 -163
- package/dist/{components-t3g1EGWM.cjs.map → components-Bzkhgo_i.cjs.map} +1 -1
- package/dist/{components-BTh3OZP_.js → components-kxgjjaBi.js} +224 -164
- package/dist/{components-BTh3OZP_.js.map → components-kxgjjaBi.js.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-CV9BPzXp.js → index-9moXUHtl.js} +2 -2
- package/dist/{index-CV9BPzXp.js.map → index-9moXUHtl.js.map} +1 -1
- package/dist/{index-DPUnEcWL.js → index-BPpBzZ7I.js} +2 -2
- package/dist/{index-DPUnEcWL.js.map → index-BPpBzZ7I.js.map} +1 -1
- package/dist/{index-CDydqopl.js → index-BVjRfBNY.js} +2 -2
- package/dist/{index-CDydqopl.js.map → index-BVjRfBNY.js.map} +1 -1
- package/dist/{index-DKn0Km5O.cjs → index-BaKCtz_Q.cjs} +2 -2
- package/dist/{index-DKn0Km5O.cjs.map → index-BaKCtz_Q.cjs.map} +1 -1
- package/dist/{index-BVV0ucIw.js → index-Bxl6UNpR.js} +2 -2
- package/dist/{index-BVV0ucIw.js.map → index-Bxl6UNpR.js.map} +1 -1
- package/dist/{index-B_aWrB-9.cjs → index-CLxKEJcO.cjs} +2 -2
- package/dist/{index-B_aWrB-9.cjs.map → index-CLxKEJcO.cjs.map} +1 -1
- package/dist/{index-QUkZftBS.js → index-D2nmz6Om.js} +2 -2
- package/dist/{index-QUkZftBS.js.map → index-D2nmz6Om.js.map} +1 -1
- package/dist/{index-Dl7hhKbt.js → index-D6ik1G_L.js} +3 -3
- package/dist/{index-Dl7hhKbt.js.map → index-D6ik1G_L.js.map} +1 -1
- package/dist/{index-CTQ4QmT2.cjs → index-D9z8zxGB.cjs} +2 -2
- package/dist/{index-CTQ4QmT2.cjs.map → index-D9z8zxGB.cjs.map} +1 -1
- package/dist/{index-BQg7t5mI.cjs → index-DDSVvVaX.cjs} +2 -2
- package/dist/{index-BQg7t5mI.cjs.map → index-DDSVvVaX.cjs.map} +1 -1
- package/dist/{index-DywPfyqK.js → index-DHpAlFBt.js} +3 -3
- package/dist/{index-DywPfyqK.js.map → index-DHpAlFBt.js.map} +1 -1
- package/dist/{index-B54JveXj.cjs → index-DQZ62cn8.cjs} +2 -2
- package/dist/{index-B54JveXj.cjs.map → index-DQZ62cn8.cjs.map} +1 -1
- package/dist/{index-D3OehMGn.cjs → index-DTabwbad.cjs} +2 -2
- package/dist/{index-D3OehMGn.cjs.map → index-DTabwbad.cjs.map} +1 -1
- package/dist/{index-BJPFbQjO.cjs → index-DVBuQ8s_.cjs} +2 -2
- package/dist/{index-BJPFbQjO.cjs.map → index-DVBuQ8s_.cjs.map} +1 -1
- package/dist/{index-C92QAG32.cjs → index-DVpkDPVh.cjs} +3 -3
- package/dist/{index-C92QAG32.cjs.map → index-DVpkDPVh.cjs.map} +1 -1
- package/dist/{index-DYL9lt-F.cjs → index-Qq15_AqP.cjs} +3 -3
- package/dist/{index-DYL9lt-F.cjs.map → index-Qq15_AqP.cjs.map} +1 -1
- package/dist/{index-DTtlPPm6.js → index-S4XgkG5t.js} +2 -2
- package/dist/{index-DTtlPPm6.js.map → index-S4XgkG5t.js.map} +1 -1
- package/dist/{index-C7OE98In.js → index-b0lRsVpL.js} +2 -2
- package/dist/{index-C7OE98In.js.map → index-b0lRsVpL.js.map} +1 -1
- package/dist/{index-DDlFsxQE.cjs → index-bgLWLpix.cjs} +2 -2
- package/dist/{index-DDlFsxQE.cjs.map → index-bgLWLpix.cjs.map} +1 -1
- package/dist/{index-DSJ4ojXM.js → index-xy6xJBbu.js} +2 -2
- package/dist/{index-DSJ4ojXM.js.map → index-xy6xJBbu.js.map} +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { useTheme, jsx as jsx$1, keyframes, ThemeProvider } from "@emotion/react
|
|
|
4
4
|
import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, b as getTransparentColor, L as Loading, P as PlusSolid, S as SearchSolid, c as Assistant, d as ArrowUpSolid, E as EllipsisVSolid, e as ArrowLeftSolid, f as Canvas, H as HistorySolid, U as User, h as AngleLeftSolid, M as MinusCircleSolid, i as SettingsBarSolid, G as Globe, D as Dashboard, j as Groups, k as UserCircleSolid, l as Assets$1, m as Claims, n as Accounts, o as LinkedResources, p as Proposals, I as ImpactCredits, q as GoTo, r as Share, s as PiePiece, t as ImpactCertificates, u as CommentDotsSolid, v as CommentAltSolid, w as MicrophoneSolid, x as Command, y as ArrowCircleRightSolid, z as Protocols, B as Investments, O as Oracles, F as Projects, J as Daos, K as Star, N as AngleRightSolid, Q as Expand, R as LeafSolid, T as ArrowDownSolid, V as ArrowRightSolid, W as Play, X as CheckCircle, Y as Events, Z as ThumbsUpSolid, _ as CommentsSolid, $ as CopySolid, a0 as Hourglass, a1 as Act, a2 as Info$1, a3 as ClaimsW, a4 as TachometerAltSolid, a5 as UserCogSolid, a6 as UsersSolid, a7 as EllipsisHSolid } from "./UsersSolid-BAHkDzh8.js";
|
|
5
5
|
import { useState, useCallback, useRef, forwardRef, useEffect, Suspense, lazy, useMemo, useId, 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, Text as Text$1, Popover, Stack as Stack$1, Badge as Badge$1,
|
|
7
|
+
import { Accordion as Accordion$1, Box, Image, Text as Text$1, Popover, Center, FocusTrap, Stack as Stack$1, Badge as Badge$1, AppShell, Skeleton, Tooltip as Tooltip$4, CloseButton, Group, Burger, Divider, ScrollArea, Space, Overlay } from "@mantine/core";
|
|
8
8
|
import { cx, css } from "@emotion/css";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
import DOMPurify from "dompurify";
|
|
@@ -823,8 +823,8 @@ function AccordionTable({
|
|
|
823
823
|
}
|
|
824
824
|
);
|
|
825
825
|
}
|
|
826
|
-
const Header$3 = lazy(() => import("./index-
|
|
827
|
-
const Footer = lazy(() => import("./index-
|
|
826
|
+
const Header$3 = lazy(() => import("./index-BVjRfBNY.js"));
|
|
827
|
+
const Footer = lazy(() => import("./index-DHpAlFBt.js"));
|
|
828
828
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
829
829
|
const hasContent = !!content || !!footer;
|
|
830
830
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -908,7 +908,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
908
908
|
}
|
|
909
909
|
const CARD_WIDTH$1 = 350;
|
|
910
910
|
const CARD_HEADER_HEIGHT = 158;
|
|
911
|
-
const Header$2 = lazy(() => import("./index-
|
|
911
|
+
const Header$2 = lazy(() => import("./index-BPpBzZ7I.js"));
|
|
912
912
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
913
913
|
const wrapperRef = useRef(null);
|
|
914
914
|
const handleOnClick = useCallback(
|
|
@@ -1343,7 +1343,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1343
1343
|
document.body
|
|
1344
1344
|
);
|
|
1345
1345
|
}
|
|
1346
|
-
const Badge = lazy(() => import("./index-
|
|
1346
|
+
const Badge = lazy(() => import("./index-b0lRsVpL.js"));
|
|
1347
1347
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1348
1348
|
const shadowScrollRef = useRef(null);
|
|
1349
1349
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -1461,7 +1461,8 @@ function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide
|
|
|
1461
1461
|
}
|
|
1462
1462
|
) });
|
|
1463
1463
|
}
|
|
1464
|
-
const
|
|
1464
|
+
const ICON_COLOR = "var(--mantine-color-neutralColor-8)";
|
|
1465
|
+
const icon = (Icon, size, color) => /* @__PURE__ */ jsx(Icon, { size: 18, color: color || ICON_COLOR });
|
|
1465
1466
|
function IconButton({
|
|
1466
1467
|
icon: Icon,
|
|
1467
1468
|
onClick,
|
|
@@ -1949,7 +1950,7 @@ function Item({ icon: icon2, label, disabled, onClick }) {
|
|
|
1949
1950
|
}
|
|
1950
1951
|
);
|
|
1951
1952
|
}
|
|
1952
|
-
function MoreMenu({ items, controlColor = "primary" }) {
|
|
1953
|
+
function MoreMenu({ items, controlColor = "primary", Icon }) {
|
|
1953
1954
|
const [opened, setOpened] = useState(false);
|
|
1954
1955
|
return /* @__PURE__ */ jsxs(
|
|
1955
1956
|
Popover,
|
|
@@ -1971,25 +1972,10 @@ function MoreMenu({ items, controlColor = "primary" }) {
|
|
|
1971
1972
|
position: "right-start",
|
|
1972
1973
|
shadow: "md",
|
|
1973
1974
|
children: [
|
|
1974
|
-
/* @__PURE__ */ jsx(Popover.Target, { children: /* @__PURE__ */ jsx(
|
|
1975
|
-
"button",
|
|
1976
|
-
{
|
|
1977
|
-
css: {
|
|
1978
|
-
background: "none",
|
|
1979
|
-
border: "none",
|
|
1980
|
-
padding: 0,
|
|
1981
|
-
cursor: "pointer",
|
|
1982
|
-
position: "relative",
|
|
1983
|
-
display: "flex",
|
|
1984
|
-
alignItems: "center",
|
|
1985
|
-
justifyContent: "center"
|
|
1986
|
-
},
|
|
1987
|
-
onClick: () => setOpened((o) => !o),
|
|
1988
|
-
children: /* @__PURE__ */ jsx(EllipsisVSolid, { size: 20, color: controlColor })
|
|
1989
|
-
}
|
|
1990
|
-
) }),
|
|
1975
|
+
/* @__PURE__ */ jsx(Popover.Target, { children: /* @__PURE__ */ jsx(Center, { onClick: () => setOpened((o) => !o), children: Icon || /* @__PURE__ */ jsx(EllipsisVSolid, { size: 20, color: controlColor }) }) }),
|
|
1991
1976
|
/* @__PURE__ */ jsxs(Popover.Dropdown, { children: [
|
|
1992
|
-
/* @__PURE__ */ jsx(
|
|
1977
|
+
/* @__PURE__ */ jsx(FocusTrap.InitialFocus, {}),
|
|
1978
|
+
/* @__PURE__ */ jsx(Text$1, { ml: 12, mb: 10, fz: 14, c: "neutralColor.7", children: "Actions" }),
|
|
1993
1979
|
/* @__PURE__ */ jsx(Stack$1, { gap: "4px", children: items.map((item) => /* @__PURE__ */ jsx(
|
|
1994
1980
|
Item,
|
|
1995
1981
|
{
|
|
@@ -2422,7 +2408,7 @@ function RoomItem({ room }) {
|
|
|
2422
2408
|
);
|
|
2423
2409
|
return shouldShowTooltip ? /* @__PURE__ */ jsx(Tooltip$4, { label: room.name, children: /* @__PURE__ */ jsx("span", { children: content }) }) : content;
|
|
2424
2410
|
}
|
|
2425
|
-
function RoomCategory({ name, rooms, actions,
|
|
2411
|
+
function RoomCategory({ name, rooms, actions, primaryActions }) {
|
|
2426
2412
|
const { hovered, ref } = useHover();
|
|
2427
2413
|
const { value, toggle: toggle2 } = useToggle(false);
|
|
2428
2414
|
return /* @__PURE__ */ jsxs(Stack$1, { gap: 2, children: [
|
|
@@ -2444,15 +2430,19 @@ function RoomCategory({ name, rooms, actions, onAddClick }) {
|
|
|
2444
2430
|
children: [
|
|
2445
2431
|
/* @__PURE__ */ jsx(Text$1, { fz: 12, tt: "capitalize", children: name }),
|
|
2446
2432
|
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 8, children: [
|
|
2447
|
-
|
|
2433
|
+
primaryActions && primaryActions.length > 0 && /* @__PURE__ */ jsx(
|
|
2448
2434
|
Center,
|
|
2449
2435
|
{
|
|
2450
|
-
onClick: (e) =>
|
|
2451
|
-
|
|
2452
|
-
|
|
2436
|
+
onClick: (e) => e.stopPropagation(),
|
|
2437
|
+
sx: {
|
|
2438
|
+
cursor: "pointer",
|
|
2439
|
+
borderRadius: 4,
|
|
2440
|
+
transition: "transform 0.2s ease",
|
|
2441
|
+
"&:hover": {
|
|
2442
|
+
background: "var(--mantine-color-neutralColor-5)"
|
|
2443
|
+
}
|
|
2453
2444
|
},
|
|
2454
|
-
|
|
2455
|
-
children: icon(IconPlus, void 0, "var(--mantine-color-neutralColor-7)")
|
|
2445
|
+
children: /* @__PURE__ */ jsx(MoreMenu, { Icon: icon(IconPlus), items: primaryActions })
|
|
2456
2446
|
}
|
|
2457
2447
|
),
|
|
2458
2448
|
actions && actions.length > 0 && /* @__PURE__ */ jsx(
|
|
@@ -2923,7 +2913,7 @@ function AppShellNavigation({
|
|
|
2923
2913
|
}
|
|
2924
2914
|
return /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id);
|
|
2925
2915
|
}),
|
|
2926
|
-
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsx(Stack$1, { gap: 8, mt: 16, children: roomCategories.map(({ id, name, actions, rooms, onAddClick }) => /* @__PURE__ */ jsx(RoomCategory, { id, name, actions, rooms, onAddClick }, id)) })
|
|
2916
|
+
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsx(Stack$1, { gap: 8, mt: 16, children: roomCategories.map(({ id, name, actions, rooms, primaryActions: onAddClick }) => /* @__PURE__ */ jsx(RoomCategory, { id, name, actions, rooms, primaryActions: onAddClick }, id)) })
|
|
2927
2917
|
] }) }),
|
|
2928
2918
|
footerContent && /* @__PURE__ */ jsx(AppShell.Section, { px: 12, py: 10, children: /* @__PURE__ */ jsx(Stack$1, { gap: 5, children: footerContent }) })
|
|
2929
2919
|
] })
|
|
@@ -3477,137 +3467,207 @@ function OracleMessage({ oracleName, message }) {
|
|
|
3477
3467
|
/* @__PURE__ */ jsx(Text$1, { fz: 12, c: "accent.5", children: oracleName || "Oracle" }),
|
|
3478
3468
|
/* @__PURE__ */ jsx(Badge$1, { tt: "capitalize", c: "accent.5", size: "md", bg: "accent.0", children: "Oracle" })
|
|
3479
3469
|
] }),
|
|
3480
|
-
/* @__PURE__ */ jsx(
|
|
3481
|
-
|
|
3470
|
+
/* @__PURE__ */ jsx(
|
|
3471
|
+
Box,
|
|
3482
3472
|
{
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
...props,
|
|
3490
|
-
style: {
|
|
3491
|
-
margin: "12px 0",
|
|
3492
|
-
paddingLeft: 20,
|
|
3493
|
-
listStyleType: "none"
|
|
3494
|
-
},
|
|
3495
|
-
children
|
|
3496
|
-
}
|
|
3497
|
-
),
|
|
3498
|
-
ol: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3499
|
-
"ol",
|
|
3500
|
-
{
|
|
3501
|
-
...props,
|
|
3502
|
-
style: {
|
|
3503
|
-
margin: "12px 0",
|
|
3504
|
-
paddingLeft: 20,
|
|
3505
|
-
listStyleType: "decimal"
|
|
3506
|
-
},
|
|
3507
|
-
children
|
|
3508
|
-
}
|
|
3509
|
-
),
|
|
3510
|
-
li: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3511
|
-
"li",
|
|
3512
|
-
{
|
|
3513
|
-
...props,
|
|
3514
|
-
style: {
|
|
3515
|
-
marginBottom: 8,
|
|
3516
|
-
lineHeight: 1.6,
|
|
3517
|
-
paddingLeft: 4
|
|
3518
|
-
},
|
|
3519
|
-
children
|
|
3520
|
-
}
|
|
3521
|
-
),
|
|
3522
|
-
h3: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3523
|
-
"h3",
|
|
3524
|
-
{
|
|
3525
|
-
...props,
|
|
3526
|
-
style: {
|
|
3527
|
-
marginTop: 16,
|
|
3528
|
-
marginBottom: 12,
|
|
3529
|
-
fontSize: "1.1em",
|
|
3530
|
-
fontWeight: 600,
|
|
3531
|
-
color: "var(--mantine-color-neutralColor-6)"
|
|
3532
|
-
},
|
|
3533
|
-
children
|
|
3534
|
-
}
|
|
3535
|
-
),
|
|
3536
|
-
h4: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3537
|
-
"h4",
|
|
3538
|
-
{
|
|
3539
|
-
...props,
|
|
3540
|
-
style: {
|
|
3541
|
-
marginTop: 12,
|
|
3542
|
-
marginBottom: 8,
|
|
3543
|
-
fontSize: "1em",
|
|
3544
|
-
fontWeight: 500,
|
|
3545
|
-
color: "var(--mantine-color-neutralColor-6)"
|
|
3546
|
-
},
|
|
3547
|
-
children
|
|
3548
|
-
}
|
|
3549
|
-
),
|
|
3550
|
-
p: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3551
|
-
"p",
|
|
3552
|
-
{
|
|
3553
|
-
...props,
|
|
3554
|
-
style: {
|
|
3555
|
-
margin: "8px 0",
|
|
3556
|
-
lineHeight: 1.6,
|
|
3557
|
-
color: "var(--mantine-color-neutralColor-8)"
|
|
3558
|
-
},
|
|
3559
|
-
children
|
|
3560
|
-
}
|
|
3561
|
-
),
|
|
3562
|
-
table: ({ children, ...props }) => /* @__PURE__ */ jsx("div", { style: { overflowX: "auto", margin: "16px 0" }, children: /* @__PURE__ */ jsx(
|
|
3563
|
-
"table",
|
|
3564
|
-
{
|
|
3565
|
-
...props,
|
|
3566
|
-
style: {
|
|
3567
|
-
width: "100%",
|
|
3568
|
-
borderCollapse: "collapse",
|
|
3569
|
-
borderSpacing: 0
|
|
3570
|
-
},
|
|
3571
|
-
children
|
|
3572
|
-
}
|
|
3573
|
-
) }),
|
|
3574
|
-
thead: ({ children, ...props }) => /* @__PURE__ */ jsx("thead", { ...props, children }),
|
|
3575
|
-
tbody: ({ children, ...props }) => /* @__PURE__ */ jsx("tbody", { ...props, children }),
|
|
3576
|
-
tr: ({ children, ...props }) => /* @__PURE__ */ jsx("tr", { ...props, children }),
|
|
3577
|
-
th: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3578
|
-
"th",
|
|
3579
|
-
{
|
|
3580
|
-
...props,
|
|
3581
|
-
style: {
|
|
3582
|
-
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3583
|
-
padding: "8px 12px",
|
|
3584
|
-
fontWeight: 600,
|
|
3585
|
-
textAlign: "left",
|
|
3586
|
-
backgroundColor: "var(--mantine-color-neutralColor-5)"
|
|
3587
|
-
},
|
|
3588
|
-
children
|
|
3589
|
-
}
|
|
3590
|
-
),
|
|
3591
|
-
td: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3592
|
-
"td",
|
|
3593
|
-
{
|
|
3594
|
-
...props,
|
|
3595
|
-
style: {
|
|
3596
|
-
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3597
|
-
padding: "8px 12px",
|
|
3598
|
-
textAlign: "left"
|
|
3599
|
-
},
|
|
3600
|
-
children
|
|
3601
|
-
}
|
|
3602
|
-
)
|
|
3473
|
+
mt: 12,
|
|
3474
|
+
mb: 4,
|
|
3475
|
+
sx: {
|
|
3476
|
+
borderRadius: 16,
|
|
3477
|
+
maxWidth: "100%",
|
|
3478
|
+
minWidth: 0
|
|
3603
3479
|
},
|
|
3604
|
-
children:
|
|
3480
|
+
children: /* @__PURE__ */ jsx(
|
|
3481
|
+
Markdown,
|
|
3482
|
+
{
|
|
3483
|
+
remarkPlugins: [remarkGfm],
|
|
3484
|
+
components: {
|
|
3485
|
+
a: ({ children, href }) => /* @__PURE__ */ jsx("a", { href, style: { color: "var(--mantine-color-accent-5)", textDecoration: "underline" }, children }),
|
|
3486
|
+
ul: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3487
|
+
"ul",
|
|
3488
|
+
{
|
|
3489
|
+
...props,
|
|
3490
|
+
style: {
|
|
3491
|
+
margin: "12px 0",
|
|
3492
|
+
paddingLeft: 20,
|
|
3493
|
+
listStyleType: "none"
|
|
3494
|
+
},
|
|
3495
|
+
children
|
|
3496
|
+
}
|
|
3497
|
+
),
|
|
3498
|
+
ol: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3499
|
+
"ol",
|
|
3500
|
+
{
|
|
3501
|
+
...props,
|
|
3502
|
+
style: {
|
|
3503
|
+
margin: "12px 0",
|
|
3504
|
+
paddingLeft: 20,
|
|
3505
|
+
listStyleType: "decimal"
|
|
3506
|
+
},
|
|
3507
|
+
children
|
|
3508
|
+
}
|
|
3509
|
+
),
|
|
3510
|
+
li: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3511
|
+
"li",
|
|
3512
|
+
{
|
|
3513
|
+
...props,
|
|
3514
|
+
style: {
|
|
3515
|
+
marginBottom: 8,
|
|
3516
|
+
lineHeight: 1.6,
|
|
3517
|
+
paddingLeft: 4,
|
|
3518
|
+
overflowWrap: "anywhere",
|
|
3519
|
+
wordBreak: "break-word"
|
|
3520
|
+
},
|
|
3521
|
+
children
|
|
3522
|
+
}
|
|
3523
|
+
),
|
|
3524
|
+
h3: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3525
|
+
"h3",
|
|
3526
|
+
{
|
|
3527
|
+
...props,
|
|
3528
|
+
style: {
|
|
3529
|
+
marginTop: 16,
|
|
3530
|
+
marginBottom: 12,
|
|
3531
|
+
fontSize: "1.1em",
|
|
3532
|
+
fontWeight: 600,
|
|
3533
|
+
color: "var(--mantine-color-neutralColor-6)"
|
|
3534
|
+
},
|
|
3535
|
+
children
|
|
3536
|
+
}
|
|
3537
|
+
),
|
|
3538
|
+
h4: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3539
|
+
"h4",
|
|
3540
|
+
{
|
|
3541
|
+
...props,
|
|
3542
|
+
style: {
|
|
3543
|
+
marginTop: 12,
|
|
3544
|
+
marginBottom: 8,
|
|
3545
|
+
fontSize: "1em",
|
|
3546
|
+
fontWeight: 500,
|
|
3547
|
+
color: "var(--mantine-color-neutralColor-6)"
|
|
3548
|
+
},
|
|
3549
|
+
children
|
|
3550
|
+
}
|
|
3551
|
+
),
|
|
3552
|
+
blockquote: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3553
|
+
"blockquote",
|
|
3554
|
+
{
|
|
3555
|
+
...props,
|
|
3556
|
+
style: {
|
|
3557
|
+
margin: "12px 0",
|
|
3558
|
+
padding: "8px 12px",
|
|
3559
|
+
borderLeft: "3px solid var(--mantine-color-neutralColor-6)",
|
|
3560
|
+
backgroundColor: "var(--mantine-color-neutralColor-4)",
|
|
3561
|
+
borderRadius: 8,
|
|
3562
|
+
color: "var(--mantine-color-neutralColor-8)",
|
|
3563
|
+
overflowWrap: "anywhere",
|
|
3564
|
+
wordBreak: "break-word",
|
|
3565
|
+
maxWidth: "100%"
|
|
3566
|
+
},
|
|
3567
|
+
children
|
|
3568
|
+
}
|
|
3569
|
+
),
|
|
3570
|
+
pre: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3571
|
+
"pre",
|
|
3572
|
+
{
|
|
3573
|
+
...props,
|
|
3574
|
+
style: {
|
|
3575
|
+
margin: "12px 0",
|
|
3576
|
+
padding: "12px",
|
|
3577
|
+
backgroundColor: "var(--mantine-color-neutralColor-5)",
|
|
3578
|
+
borderRadius: 8,
|
|
3579
|
+
fontSize: 12,
|
|
3580
|
+
maxWidth: "100%",
|
|
3581
|
+
overflowX: "auto"
|
|
3582
|
+
},
|
|
3583
|
+
children
|
|
3584
|
+
}
|
|
3585
|
+
),
|
|
3586
|
+
code: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3587
|
+
"code",
|
|
3588
|
+
{
|
|
3589
|
+
...props,
|
|
3590
|
+
style: {
|
|
3591
|
+
fontFamily: "monospace",
|
|
3592
|
+
fontSize: 12,
|
|
3593
|
+
backgroundColor: "var(--mantine-color-neutralColor-4)",
|
|
3594
|
+
padding: "2px 4px",
|
|
3595
|
+
borderRadius: 4,
|
|
3596
|
+
overflowWrap: "anywhere",
|
|
3597
|
+
wordBreak: "break-word",
|
|
3598
|
+
whiteSpace: "pre-wrap",
|
|
3599
|
+
maxWidth: "100%"
|
|
3600
|
+
},
|
|
3601
|
+
children
|
|
3602
|
+
}
|
|
3603
|
+
),
|
|
3604
|
+
p: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3605
|
+
"p",
|
|
3606
|
+
{
|
|
3607
|
+
...props,
|
|
3608
|
+
style: {
|
|
3609
|
+
margin: "8px 0",
|
|
3610
|
+
lineHeight: 1.6,
|
|
3611
|
+
color: "var(--mantine-color-neutralColor-8)",
|
|
3612
|
+
overflowWrap: "anywhere",
|
|
3613
|
+
wordBreak: "break-word"
|
|
3614
|
+
},
|
|
3615
|
+
children
|
|
3616
|
+
}
|
|
3617
|
+
),
|
|
3618
|
+
table: ({ children, ...props }) => /* @__PURE__ */ jsx("div", { style: { overflowX: "auto", margin: "16px 0" }, children: /* @__PURE__ */ jsx(
|
|
3619
|
+
"table",
|
|
3620
|
+
{
|
|
3621
|
+
...props,
|
|
3622
|
+
style: {
|
|
3623
|
+
width: "100%",
|
|
3624
|
+
borderCollapse: "collapse",
|
|
3625
|
+
borderSpacing: 0
|
|
3626
|
+
},
|
|
3627
|
+
children
|
|
3628
|
+
}
|
|
3629
|
+
) }),
|
|
3630
|
+
thead: ({ children, ...props }) => /* @__PURE__ */ jsx("thead", { ...props, children }),
|
|
3631
|
+
tbody: ({ children, ...props }) => /* @__PURE__ */ jsx("tbody", { ...props, children }),
|
|
3632
|
+
tr: ({ children, ...props }) => /* @__PURE__ */ jsx("tr", { ...props, children }),
|
|
3633
|
+
th: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3634
|
+
"th",
|
|
3635
|
+
{
|
|
3636
|
+
...props,
|
|
3637
|
+
style: {
|
|
3638
|
+
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3639
|
+
padding: "8px 12px",
|
|
3640
|
+
fontWeight: 600,
|
|
3641
|
+
textAlign: "left",
|
|
3642
|
+
backgroundColor: "var(--mantine-color-neutralColor-5)"
|
|
3643
|
+
},
|
|
3644
|
+
children
|
|
3645
|
+
}
|
|
3646
|
+
),
|
|
3647
|
+
td: ({ children, ...props }) => /* @__PURE__ */ jsx(
|
|
3648
|
+
"td",
|
|
3649
|
+
{
|
|
3650
|
+
...props,
|
|
3651
|
+
style: {
|
|
3652
|
+
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3653
|
+
padding: "8px 12px",
|
|
3654
|
+
textAlign: "left",
|
|
3655
|
+
overflowWrap: "anywhere",
|
|
3656
|
+
wordBreak: "break-word"
|
|
3657
|
+
},
|
|
3658
|
+
children
|
|
3659
|
+
}
|
|
3660
|
+
)
|
|
3661
|
+
},
|
|
3662
|
+
children: message
|
|
3663
|
+
}
|
|
3664
|
+
)
|
|
3605
3665
|
}
|
|
3606
|
-
)
|
|
3666
|
+
)
|
|
3607
3667
|
] });
|
|
3608
3668
|
}
|
|
3609
3669
|
function UserMessage({ message, sender }) {
|
|
3610
|
-
return /* @__PURE__ */ jsxs(Box, { w: "
|
|
3670
|
+
return /* @__PURE__ */ jsxs(Box, { w: "100%", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
|
|
3611
3671
|
/* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", fz: 12, children: sender }),
|
|
3612
3672
|
/* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
|
|
3613
3673
|
] });
|
|
@@ -6059,13 +6119,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
6059
6119
|
}
|
|
6060
6120
|
);
|
|
6061
6121
|
}
|
|
6062
|
-
const MainAction = lazy(() => import("./index-
|
|
6063
|
-
const Header$1 = lazy(() => import("./index-
|
|
6064
|
-
const Content = lazy(() => import("./index-
|
|
6122
|
+
const MainAction = lazy(() => import("./index-xy6xJBbu.js"));
|
|
6123
|
+
const Header$1 = lazy(() => import("./index-S4XgkG5t.js"));
|
|
6124
|
+
const Content = lazy(() => import("./index-D2nmz6Om.js"));
|
|
6065
6125
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
6066
6126
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
6067
|
-
const Assets = lazy(() => import("./index-
|
|
6068
|
-
const Actions = lazy(() => import("./index-
|
|
6127
|
+
const Assets = lazy(() => import("./index-Bxl6UNpR.js"));
|
|
6128
|
+
const Actions = lazy(() => import("./index-D6ik1G_L.js"));
|
|
6069
6129
|
const HOVER_BORDER_WIDTH = 1;
|
|
6070
6130
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
6071
6131
|
const wrapperRef = useRef(null);
|
|
@@ -11342,4 +11402,4 @@ export {
|
|
|
11342
11402
|
CardHero as y,
|
|
11343
11403
|
CardSelector as z
|
|
11344
11404
|
};
|
|
11345
|
-
//# sourceMappingURL=components-
|
|
11405
|
+
//# sourceMappingURL=components-kxgjjaBi.js.map
|