@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
|
@@ -846,8 +846,8 @@ function AccordionTable({
|
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
848
|
}
|
|
849
|
-
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
850
|
-
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
849
|
+
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-bgLWLpix.cjs")));
|
|
850
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-DVpkDPVh.cjs")));
|
|
851
851
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
852
852
|
const hasContent = !!content || !!footer;
|
|
853
853
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -931,7 +931,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
931
931
|
}
|
|
932
932
|
const CARD_WIDTH$1 = 350;
|
|
933
933
|
const CARD_HEADER_HEIGHT = 158;
|
|
934
|
-
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
934
|
+
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-DDSVvVaX.cjs")));
|
|
935
935
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
936
936
|
const wrapperRef = react$1.useRef(null);
|
|
937
937
|
const handleOnClick = react$1.useCallback(
|
|
@@ -1366,7 +1366,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1366
1366
|
document.body
|
|
1367
1367
|
);
|
|
1368
1368
|
}
|
|
1369
|
-
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
1369
|
+
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-D9z8zxGB.cjs")));
|
|
1370
1370
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1371
1371
|
const shadowScrollRef = react$1.useRef(null);
|
|
1372
1372
|
const wrapperContentAreaRef = react$1.useRef(null);
|
|
@@ -1484,7 +1484,8 @@ function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide
|
|
|
1484
1484
|
}
|
|
1485
1485
|
) });
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1487
|
+
const ICON_COLOR = "var(--mantine-color-neutralColor-8)";
|
|
1488
|
+
const icon = (Icon, size, color) => /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 18, color: color || ICON_COLOR });
|
|
1488
1489
|
function IconButton({
|
|
1489
1490
|
icon: Icon,
|
|
1490
1491
|
onClick,
|
|
@@ -1972,7 +1973,7 @@ function Item({ icon: icon2, label, disabled, onClick }) {
|
|
|
1972
1973
|
}
|
|
1973
1974
|
);
|
|
1974
1975
|
}
|
|
1975
|
-
function MoreMenu({ items, controlColor = "primary" }) {
|
|
1976
|
+
function MoreMenu({ items, controlColor = "primary", Icon }) {
|
|
1976
1977
|
const [opened, setOpened] = react$1.useState(false);
|
|
1977
1978
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1978
1979
|
core.Popover,
|
|
@@ -1994,25 +1995,10 @@ function MoreMenu({ items, controlColor = "primary" }) {
|
|
|
1994
1995
|
position: "right-start",
|
|
1995
1996
|
shadow: "md",
|
|
1996
1997
|
children: [
|
|
1997
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.Popover.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1998
|
-
"button",
|
|
1999
|
-
{
|
|
2000
|
-
css: {
|
|
2001
|
-
background: "none",
|
|
2002
|
-
border: "none",
|
|
2003
|
-
padding: 0,
|
|
2004
|
-
cursor: "pointer",
|
|
2005
|
-
position: "relative",
|
|
2006
|
-
display: "flex",
|
|
2007
|
-
alignItems: "center",
|
|
2008
|
-
justifyContent: "center"
|
|
2009
|
-
},
|
|
2010
|
-
onClick: () => setOpened((o) => !o),
|
|
2011
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.EllipsisVSolid, { size: 20, color: controlColor })
|
|
2012
|
-
}
|
|
2013
|
-
) }),
|
|
1998
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Popover.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: () => setOpened((o) => !o), children: Icon || /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.EllipsisVSolid, { size: 20, color: controlColor }) }) }),
|
|
2014
1999
|
/* @__PURE__ */ jsxRuntime.jsxs(core.Popover.Dropdown, { children: [
|
|
2015
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.
|
|
2000
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.FocusTrap.InitialFocus, {}),
|
|
2001
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { ml: 12, mb: 10, fz: 14, c: "neutralColor.7", children: "Actions" }),
|
|
2016
2002
|
/* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: "4px", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2017
2003
|
Item,
|
|
2018
2004
|
{
|
|
@@ -2445,7 +2431,7 @@ function RoomItem({ room }) {
|
|
|
2445
2431
|
);
|
|
2446
2432
|
return shouldShowTooltip ? /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: room.name, children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: content }) }) : content;
|
|
2447
2433
|
}
|
|
2448
|
-
function RoomCategory({ name, rooms, actions,
|
|
2434
|
+
function RoomCategory({ name, rooms, actions, primaryActions }) {
|
|
2449
2435
|
const { hovered, ref } = hooks.useHover();
|
|
2450
2436
|
const { value, toggle } = useToggle(false);
|
|
2451
2437
|
return /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 2, children: [
|
|
@@ -2467,15 +2453,19 @@ function RoomCategory({ name, rooms, actions, onAddClick }) {
|
|
|
2467
2453
|
children: [
|
|
2468
2454
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, tt: "capitalize", children: name }),
|
|
2469
2455
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 8, children: [
|
|
2470
|
-
|
|
2456
|
+
primaryActions && primaryActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2471
2457
|
core.Center,
|
|
2472
2458
|
{
|
|
2473
|
-
onClick: (e) =>
|
|
2474
|
-
|
|
2475
|
-
|
|
2459
|
+
onClick: (e) => e.stopPropagation(),
|
|
2460
|
+
sx: {
|
|
2461
|
+
cursor: "pointer",
|
|
2462
|
+
borderRadius: 4,
|
|
2463
|
+
transition: "transform 0.2s ease",
|
|
2464
|
+
"&:hover": {
|
|
2465
|
+
background: "var(--mantine-color-neutralColor-5)"
|
|
2466
|
+
}
|
|
2476
2467
|
},
|
|
2477
|
-
|
|
2478
|
-
children: icon(iconsReact.IconPlus, void 0, "var(--mantine-color-neutralColor-7)")
|
|
2468
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { Icon: icon(iconsReact.IconPlus), items: primaryActions })
|
|
2479
2469
|
}
|
|
2480
2470
|
),
|
|
2481
2471
|
actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2946,7 +2936,7 @@ function AppShellNavigation({
|
|
|
2946
2936
|
}
|
|
2947
2937
|
return /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id);
|
|
2948
2938
|
}),
|
|
2949
|
-
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 8, mt: 16, children: roomCategories.map(({ id, name, actions, rooms, onAddClick }) => /* @__PURE__ */ jsxRuntime.jsx(RoomCategory, { id, name, actions, rooms, onAddClick }, id)) })
|
|
2939
|
+
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 8, mt: 16, children: roomCategories.map(({ id, name, actions, rooms, primaryActions: onAddClick }) => /* @__PURE__ */ jsxRuntime.jsx(RoomCategory, { id, name, actions, rooms, primaryActions: onAddClick }, id)) })
|
|
2950
2940
|
] }) }),
|
|
2951
2941
|
footerContent && /* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Section, { px: 12, py: 10, children: /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: footerContent }) })
|
|
2952
2942
|
] })
|
|
@@ -3500,137 +3490,207 @@ function OracleMessage({ oracleName, message }) {
|
|
|
3500
3490
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: "accent.5", children: oracleName || "Oracle" }),
|
|
3501
3491
|
/* @__PURE__ */ jsxRuntime.jsx(core.Badge, { tt: "capitalize", c: "accent.5", size: "md", bg: "accent.0", children: "Oracle" })
|
|
3502
3492
|
] }),
|
|
3503
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3504
|
-
|
|
3493
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3494
|
+
core.Box,
|
|
3505
3495
|
{
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
...props,
|
|
3513
|
-
style: {
|
|
3514
|
-
margin: "12px 0",
|
|
3515
|
-
paddingLeft: 20,
|
|
3516
|
-
listStyleType: "none"
|
|
3517
|
-
},
|
|
3518
|
-
children
|
|
3519
|
-
}
|
|
3520
|
-
),
|
|
3521
|
-
ol: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3522
|
-
"ol",
|
|
3523
|
-
{
|
|
3524
|
-
...props,
|
|
3525
|
-
style: {
|
|
3526
|
-
margin: "12px 0",
|
|
3527
|
-
paddingLeft: 20,
|
|
3528
|
-
listStyleType: "decimal"
|
|
3529
|
-
},
|
|
3530
|
-
children
|
|
3531
|
-
}
|
|
3532
|
-
),
|
|
3533
|
-
li: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3534
|
-
"li",
|
|
3535
|
-
{
|
|
3536
|
-
...props,
|
|
3537
|
-
style: {
|
|
3538
|
-
marginBottom: 8,
|
|
3539
|
-
lineHeight: 1.6,
|
|
3540
|
-
paddingLeft: 4
|
|
3541
|
-
},
|
|
3542
|
-
children
|
|
3543
|
-
}
|
|
3544
|
-
),
|
|
3545
|
-
h3: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3546
|
-
"h3",
|
|
3547
|
-
{
|
|
3548
|
-
...props,
|
|
3549
|
-
style: {
|
|
3550
|
-
marginTop: 16,
|
|
3551
|
-
marginBottom: 12,
|
|
3552
|
-
fontSize: "1.1em",
|
|
3553
|
-
fontWeight: 600,
|
|
3554
|
-
color: "var(--mantine-color-neutralColor-6)"
|
|
3555
|
-
},
|
|
3556
|
-
children
|
|
3557
|
-
}
|
|
3558
|
-
),
|
|
3559
|
-
h4: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3560
|
-
"h4",
|
|
3561
|
-
{
|
|
3562
|
-
...props,
|
|
3563
|
-
style: {
|
|
3564
|
-
marginTop: 12,
|
|
3565
|
-
marginBottom: 8,
|
|
3566
|
-
fontSize: "1em",
|
|
3567
|
-
fontWeight: 500,
|
|
3568
|
-
color: "var(--mantine-color-neutralColor-6)"
|
|
3569
|
-
},
|
|
3570
|
-
children
|
|
3571
|
-
}
|
|
3572
|
-
),
|
|
3573
|
-
p: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3574
|
-
"p",
|
|
3575
|
-
{
|
|
3576
|
-
...props,
|
|
3577
|
-
style: {
|
|
3578
|
-
margin: "8px 0",
|
|
3579
|
-
lineHeight: 1.6,
|
|
3580
|
-
color: "var(--mantine-color-neutralColor-8)"
|
|
3581
|
-
},
|
|
3582
|
-
children
|
|
3583
|
-
}
|
|
3584
|
-
),
|
|
3585
|
-
table: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { style: { overflowX: "auto", margin: "16px 0" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3586
|
-
"table",
|
|
3587
|
-
{
|
|
3588
|
-
...props,
|
|
3589
|
-
style: {
|
|
3590
|
-
width: "100%",
|
|
3591
|
-
borderCollapse: "collapse",
|
|
3592
|
-
borderSpacing: 0
|
|
3593
|
-
},
|
|
3594
|
-
children
|
|
3595
|
-
}
|
|
3596
|
-
) }),
|
|
3597
|
-
thead: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ...props, children }),
|
|
3598
|
-
tbody: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ...props, children }),
|
|
3599
|
-
tr: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("tr", { ...props, children }),
|
|
3600
|
-
th: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3601
|
-
"th",
|
|
3602
|
-
{
|
|
3603
|
-
...props,
|
|
3604
|
-
style: {
|
|
3605
|
-
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3606
|
-
padding: "8px 12px",
|
|
3607
|
-
fontWeight: 600,
|
|
3608
|
-
textAlign: "left",
|
|
3609
|
-
backgroundColor: "var(--mantine-color-neutralColor-5)"
|
|
3610
|
-
},
|
|
3611
|
-
children
|
|
3612
|
-
}
|
|
3613
|
-
),
|
|
3614
|
-
td: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3615
|
-
"td",
|
|
3616
|
-
{
|
|
3617
|
-
...props,
|
|
3618
|
-
style: {
|
|
3619
|
-
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3620
|
-
padding: "8px 12px",
|
|
3621
|
-
textAlign: "left"
|
|
3622
|
-
},
|
|
3623
|
-
children
|
|
3624
|
-
}
|
|
3625
|
-
)
|
|
3496
|
+
mt: 12,
|
|
3497
|
+
mb: 4,
|
|
3498
|
+
sx: {
|
|
3499
|
+
borderRadius: 16,
|
|
3500
|
+
maxWidth: "100%",
|
|
3501
|
+
minWidth: 0
|
|
3626
3502
|
},
|
|
3627
|
-
children:
|
|
3503
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3504
|
+
Markdown,
|
|
3505
|
+
{
|
|
3506
|
+
remarkPlugins: [remarkGfm],
|
|
3507
|
+
components: {
|
|
3508
|
+
a: ({ children, href }) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, style: { color: "var(--mantine-color-accent-5)", textDecoration: "underline" }, children }),
|
|
3509
|
+
ul: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3510
|
+
"ul",
|
|
3511
|
+
{
|
|
3512
|
+
...props,
|
|
3513
|
+
style: {
|
|
3514
|
+
margin: "12px 0",
|
|
3515
|
+
paddingLeft: 20,
|
|
3516
|
+
listStyleType: "none"
|
|
3517
|
+
},
|
|
3518
|
+
children
|
|
3519
|
+
}
|
|
3520
|
+
),
|
|
3521
|
+
ol: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3522
|
+
"ol",
|
|
3523
|
+
{
|
|
3524
|
+
...props,
|
|
3525
|
+
style: {
|
|
3526
|
+
margin: "12px 0",
|
|
3527
|
+
paddingLeft: 20,
|
|
3528
|
+
listStyleType: "decimal"
|
|
3529
|
+
},
|
|
3530
|
+
children
|
|
3531
|
+
}
|
|
3532
|
+
),
|
|
3533
|
+
li: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3534
|
+
"li",
|
|
3535
|
+
{
|
|
3536
|
+
...props,
|
|
3537
|
+
style: {
|
|
3538
|
+
marginBottom: 8,
|
|
3539
|
+
lineHeight: 1.6,
|
|
3540
|
+
paddingLeft: 4,
|
|
3541
|
+
overflowWrap: "anywhere",
|
|
3542
|
+
wordBreak: "break-word"
|
|
3543
|
+
},
|
|
3544
|
+
children
|
|
3545
|
+
}
|
|
3546
|
+
),
|
|
3547
|
+
h3: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3548
|
+
"h3",
|
|
3549
|
+
{
|
|
3550
|
+
...props,
|
|
3551
|
+
style: {
|
|
3552
|
+
marginTop: 16,
|
|
3553
|
+
marginBottom: 12,
|
|
3554
|
+
fontSize: "1.1em",
|
|
3555
|
+
fontWeight: 600,
|
|
3556
|
+
color: "var(--mantine-color-neutralColor-6)"
|
|
3557
|
+
},
|
|
3558
|
+
children
|
|
3559
|
+
}
|
|
3560
|
+
),
|
|
3561
|
+
h4: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3562
|
+
"h4",
|
|
3563
|
+
{
|
|
3564
|
+
...props,
|
|
3565
|
+
style: {
|
|
3566
|
+
marginTop: 12,
|
|
3567
|
+
marginBottom: 8,
|
|
3568
|
+
fontSize: "1em",
|
|
3569
|
+
fontWeight: 500,
|
|
3570
|
+
color: "var(--mantine-color-neutralColor-6)"
|
|
3571
|
+
},
|
|
3572
|
+
children
|
|
3573
|
+
}
|
|
3574
|
+
),
|
|
3575
|
+
blockquote: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3576
|
+
"blockquote",
|
|
3577
|
+
{
|
|
3578
|
+
...props,
|
|
3579
|
+
style: {
|
|
3580
|
+
margin: "12px 0",
|
|
3581
|
+
padding: "8px 12px",
|
|
3582
|
+
borderLeft: "3px solid var(--mantine-color-neutralColor-6)",
|
|
3583
|
+
backgroundColor: "var(--mantine-color-neutralColor-4)",
|
|
3584
|
+
borderRadius: 8,
|
|
3585
|
+
color: "var(--mantine-color-neutralColor-8)",
|
|
3586
|
+
overflowWrap: "anywhere",
|
|
3587
|
+
wordBreak: "break-word",
|
|
3588
|
+
maxWidth: "100%"
|
|
3589
|
+
},
|
|
3590
|
+
children
|
|
3591
|
+
}
|
|
3592
|
+
),
|
|
3593
|
+
pre: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3594
|
+
"pre",
|
|
3595
|
+
{
|
|
3596
|
+
...props,
|
|
3597
|
+
style: {
|
|
3598
|
+
margin: "12px 0",
|
|
3599
|
+
padding: "12px",
|
|
3600
|
+
backgroundColor: "var(--mantine-color-neutralColor-5)",
|
|
3601
|
+
borderRadius: 8,
|
|
3602
|
+
fontSize: 12,
|
|
3603
|
+
maxWidth: "100%",
|
|
3604
|
+
overflowX: "auto"
|
|
3605
|
+
},
|
|
3606
|
+
children
|
|
3607
|
+
}
|
|
3608
|
+
),
|
|
3609
|
+
code: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3610
|
+
"code",
|
|
3611
|
+
{
|
|
3612
|
+
...props,
|
|
3613
|
+
style: {
|
|
3614
|
+
fontFamily: "monospace",
|
|
3615
|
+
fontSize: 12,
|
|
3616
|
+
backgroundColor: "var(--mantine-color-neutralColor-4)",
|
|
3617
|
+
padding: "2px 4px",
|
|
3618
|
+
borderRadius: 4,
|
|
3619
|
+
overflowWrap: "anywhere",
|
|
3620
|
+
wordBreak: "break-word",
|
|
3621
|
+
whiteSpace: "pre-wrap",
|
|
3622
|
+
maxWidth: "100%"
|
|
3623
|
+
},
|
|
3624
|
+
children
|
|
3625
|
+
}
|
|
3626
|
+
),
|
|
3627
|
+
p: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3628
|
+
"p",
|
|
3629
|
+
{
|
|
3630
|
+
...props,
|
|
3631
|
+
style: {
|
|
3632
|
+
margin: "8px 0",
|
|
3633
|
+
lineHeight: 1.6,
|
|
3634
|
+
color: "var(--mantine-color-neutralColor-8)",
|
|
3635
|
+
overflowWrap: "anywhere",
|
|
3636
|
+
wordBreak: "break-word"
|
|
3637
|
+
},
|
|
3638
|
+
children
|
|
3639
|
+
}
|
|
3640
|
+
),
|
|
3641
|
+
table: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { style: { overflowX: "auto", margin: "16px 0" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3642
|
+
"table",
|
|
3643
|
+
{
|
|
3644
|
+
...props,
|
|
3645
|
+
style: {
|
|
3646
|
+
width: "100%",
|
|
3647
|
+
borderCollapse: "collapse",
|
|
3648
|
+
borderSpacing: 0
|
|
3649
|
+
},
|
|
3650
|
+
children
|
|
3651
|
+
}
|
|
3652
|
+
) }),
|
|
3653
|
+
thead: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ...props, children }),
|
|
3654
|
+
tbody: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ...props, children }),
|
|
3655
|
+
tr: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("tr", { ...props, children }),
|
|
3656
|
+
th: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3657
|
+
"th",
|
|
3658
|
+
{
|
|
3659
|
+
...props,
|
|
3660
|
+
style: {
|
|
3661
|
+
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3662
|
+
padding: "8px 12px",
|
|
3663
|
+
fontWeight: 600,
|
|
3664
|
+
textAlign: "left",
|
|
3665
|
+
backgroundColor: "var(--mantine-color-neutralColor-5)"
|
|
3666
|
+
},
|
|
3667
|
+
children
|
|
3668
|
+
}
|
|
3669
|
+
),
|
|
3670
|
+
td: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3671
|
+
"td",
|
|
3672
|
+
{
|
|
3673
|
+
...props,
|
|
3674
|
+
style: {
|
|
3675
|
+
border: "1px solid var(--mantine-color-neutralColor-7)",
|
|
3676
|
+
padding: "8px 12px",
|
|
3677
|
+
textAlign: "left",
|
|
3678
|
+
overflowWrap: "anywhere",
|
|
3679
|
+
wordBreak: "break-word"
|
|
3680
|
+
},
|
|
3681
|
+
children
|
|
3682
|
+
}
|
|
3683
|
+
)
|
|
3684
|
+
},
|
|
3685
|
+
children: message
|
|
3686
|
+
}
|
|
3687
|
+
)
|
|
3628
3688
|
}
|
|
3629
|
-
)
|
|
3689
|
+
)
|
|
3630
3690
|
] });
|
|
3631
3691
|
}
|
|
3632
3692
|
function UserMessage({ message, sender }) {
|
|
3633
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { w: "
|
|
3693
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { w: "100%", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
|
|
3634
3694
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", fz: 12, children: sender }),
|
|
3635
3695
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
|
|
3636
3696
|
] });
|
|
@@ -6082,13 +6142,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
6082
6142
|
}
|
|
6083
6143
|
);
|
|
6084
6144
|
}
|
|
6085
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6086
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6087
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6145
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-DVBuQ8s_.cjs")));
|
|
6146
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CLxKEJcO.cjs")));
|
|
6147
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-DQZ62cn8.cjs")));
|
|
6088
6148
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
6089
6149
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
6090
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6091
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6150
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-DTabwbad.cjs")));
|
|
6151
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-Qq15_AqP.cjs")));
|
|
6092
6152
|
const HOVER_BORDER_WIDTH = 1;
|
|
6093
6153
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
6094
6154
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -11363,4 +11423,4 @@ exports.UserMessage = UserMessage;
|
|
|
11363
11423
|
exports.WorkspaceModal = WorkspaceModal;
|
|
11364
11424
|
exports.cutText = cutText;
|
|
11365
11425
|
exports.isValidClick = isValidClick;
|
|
11366
|
-
//# sourceMappingURL=components-
|
|
11426
|
+
//# sourceMappingURL=components-Bzkhgo_i.cjs.map
|