@ixo/ui 0.1.9 → 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.
Files changed (49) hide show
  1. package/dist/.vite/manifest.json +31 -31
  2. package/dist/components/OracleMessage/index.d.ts.map +1 -1
  3. package/dist/{components-BDiiWelU.cjs → components-Bzkhgo_i.cjs} +205 -135
  4. package/dist/{components-BDiiWelU.cjs.map → components-Bzkhgo_i.cjs.map} +1 -1
  5. package/dist/{components-EXB_BUs5.js → components-kxgjjaBi.js} +205 -135
  6. package/dist/{components-EXB_BUs5.js.map → components-kxgjjaBi.js.map} +1 -1
  7. package/dist/export/components.cjs +1 -1
  8. package/dist/export/components.mjs +1 -1
  9. package/dist/{index-CGLxKSPk.js → index-9moXUHtl.js} +2 -2
  10. package/dist/{index-CGLxKSPk.js.map → index-9moXUHtl.js.map} +1 -1
  11. package/dist/{index-Be7UORTt.js → index-BPpBzZ7I.js} +2 -2
  12. package/dist/{index-Be7UORTt.js.map → index-BPpBzZ7I.js.map} +1 -1
  13. package/dist/{index-2Qg0wBFO.js → index-BVjRfBNY.js} +2 -2
  14. package/dist/{index-2Qg0wBFO.js.map → index-BVjRfBNY.js.map} +1 -1
  15. package/dist/{index-Ch90kRkK.cjs → index-BaKCtz_Q.cjs} +2 -2
  16. package/dist/{index-Ch90kRkK.cjs.map → index-BaKCtz_Q.cjs.map} +1 -1
  17. package/dist/{index-BHuoPnj7.js → index-Bxl6UNpR.js} +2 -2
  18. package/dist/{index-BHuoPnj7.js.map → index-Bxl6UNpR.js.map} +1 -1
  19. package/dist/{index-CO6Ygcv-.cjs → index-CLxKEJcO.cjs} +2 -2
  20. package/dist/{index-CO6Ygcv-.cjs.map → index-CLxKEJcO.cjs.map} +1 -1
  21. package/dist/{index-Dm6B7Yv-.js → index-D2nmz6Om.js} +2 -2
  22. package/dist/{index-Dm6B7Yv-.js.map → index-D2nmz6Om.js.map} +1 -1
  23. package/dist/{index-Lu5gXTPs.js → index-D6ik1G_L.js} +3 -3
  24. package/dist/{index-Lu5gXTPs.js.map → index-D6ik1G_L.js.map} +1 -1
  25. package/dist/{index-D1bGiH9L.cjs → index-D9z8zxGB.cjs} +2 -2
  26. package/dist/{index-D1bGiH9L.cjs.map → index-D9z8zxGB.cjs.map} +1 -1
  27. package/dist/{index-qHCPELWv.cjs → index-DDSVvVaX.cjs} +2 -2
  28. package/dist/{index-qHCPELWv.cjs.map → index-DDSVvVaX.cjs.map} +1 -1
  29. package/dist/{index-BKru_TQX.js → index-DHpAlFBt.js} +3 -3
  30. package/dist/{index-BKru_TQX.js.map → index-DHpAlFBt.js.map} +1 -1
  31. package/dist/{index-DWUKXIMe.cjs → index-DQZ62cn8.cjs} +2 -2
  32. package/dist/{index-DWUKXIMe.cjs.map → index-DQZ62cn8.cjs.map} +1 -1
  33. package/dist/{index-CTZnqmGU.cjs → index-DTabwbad.cjs} +2 -2
  34. package/dist/{index-CTZnqmGU.cjs.map → index-DTabwbad.cjs.map} +1 -1
  35. package/dist/{index-LERt98FZ.cjs → index-DVBuQ8s_.cjs} +2 -2
  36. package/dist/{index-LERt98FZ.cjs.map → index-DVBuQ8s_.cjs.map} +1 -1
  37. package/dist/{index-ImM8dR3W.cjs → index-DVpkDPVh.cjs} +3 -3
  38. package/dist/{index-ImM8dR3W.cjs.map → index-DVpkDPVh.cjs.map} +1 -1
  39. package/dist/{index-BzEXuxSc.cjs → index-Qq15_AqP.cjs} +3 -3
  40. package/dist/{index-BzEXuxSc.cjs.map → index-Qq15_AqP.cjs.map} +1 -1
  41. package/dist/{index-CEb94eQ3.js → index-S4XgkG5t.js} +2 -2
  42. package/dist/{index-CEb94eQ3.js.map → index-S4XgkG5t.js.map} +1 -1
  43. package/dist/{index-Dv_e6z8D.js → index-b0lRsVpL.js} +2 -2
  44. package/dist/{index-Dv_e6z8D.js.map → index-b0lRsVpL.js.map} +1 -1
  45. package/dist/{index-D771i3jp.cjs → index-bgLWLpix.cjs} +2 -2
  46. package/dist/{index-D771i3jp.cjs.map → index-bgLWLpix.cjs.map} +1 -1
  47. package/dist/{index-DccAmgX1.js → index-xy6xJBbu.js} +2 -2
  48. package/dist/{index-DccAmgX1.js.map → index-xy6xJBbu.js.map} +1 -1
  49. package/package.json +1 -1
@@ -823,8 +823,8 @@ function AccordionTable({
823
823
  }
824
824
  );
825
825
  }
826
- const Header$3 = lazy(() => import("./index-2Qg0wBFO.js"));
827
- const Footer = lazy(() => import("./index-BKru_TQX.js"));
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-Be7UORTt.js"));
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-Dv_e6z8D.js"));
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);
@@ -3467,137 +3467,207 @@ function OracleMessage({ oracleName, message }) {
3467
3467
  /* @__PURE__ */ jsx(Text$1, { fz: 12, c: "accent.5", children: oracleName || "Oracle" }),
3468
3468
  /* @__PURE__ */ jsx(Badge$1, { tt: "capitalize", c: "accent.5", size: "md", bg: "accent.0", children: "Oracle" })
3469
3469
  ] }),
3470
- /* @__PURE__ */ jsx(Box, { mt: 12, mb: 4, sx: { borderRadius: 16 }, children: /* @__PURE__ */ jsx(
3471
- Markdown,
3470
+ /* @__PURE__ */ jsx(
3471
+ Box,
3472
3472
  {
3473
- remarkPlugins: [remarkGfm],
3474
- components: {
3475
- a: ({ children, href }) => /* @__PURE__ */ jsx("a", { href, style: { color: "var(--mantine-color-accent-5)", textDecoration: "underline" }, children }),
3476
- ul: ({ children, ...props }) => /* @__PURE__ */ jsx(
3477
- "ul",
3478
- {
3479
- ...props,
3480
- style: {
3481
- margin: "12px 0",
3482
- paddingLeft: 20,
3483
- listStyleType: "none"
3484
- },
3485
- children
3486
- }
3487
- ),
3488
- ol: ({ children, ...props }) => /* @__PURE__ */ jsx(
3489
- "ol",
3490
- {
3491
- ...props,
3492
- style: {
3493
- margin: "12px 0",
3494
- paddingLeft: 20,
3495
- listStyleType: "decimal"
3496
- },
3497
- children
3498
- }
3499
- ),
3500
- li: ({ children, ...props }) => /* @__PURE__ */ jsx(
3501
- "li",
3502
- {
3503
- ...props,
3504
- style: {
3505
- marginBottom: 8,
3506
- lineHeight: 1.6,
3507
- paddingLeft: 4
3508
- },
3509
- children
3510
- }
3511
- ),
3512
- h3: ({ children, ...props }) => /* @__PURE__ */ jsx(
3513
- "h3",
3514
- {
3515
- ...props,
3516
- style: {
3517
- marginTop: 16,
3518
- marginBottom: 12,
3519
- fontSize: "1.1em",
3520
- fontWeight: 600,
3521
- color: "var(--mantine-color-neutralColor-6)"
3522
- },
3523
- children
3524
- }
3525
- ),
3526
- h4: ({ children, ...props }) => /* @__PURE__ */ jsx(
3527
- "h4",
3528
- {
3529
- ...props,
3530
- style: {
3531
- marginTop: 12,
3532
- marginBottom: 8,
3533
- fontSize: "1em",
3534
- fontWeight: 500,
3535
- color: "var(--mantine-color-neutralColor-6)"
3536
- },
3537
- children
3538
- }
3539
- ),
3540
- p: ({ children, ...props }) => /* @__PURE__ */ jsx(
3541
- "p",
3542
- {
3543
- ...props,
3544
- style: {
3545
- margin: "8px 0",
3546
- lineHeight: 1.6,
3547
- color: "var(--mantine-color-neutralColor-8)"
3548
- },
3549
- children
3550
- }
3551
- ),
3552
- table: ({ children, ...props }) => /* @__PURE__ */ jsx("div", { style: { overflowX: "auto", margin: "16px 0" }, children: /* @__PURE__ */ jsx(
3553
- "table",
3554
- {
3555
- ...props,
3556
- style: {
3557
- width: "100%",
3558
- borderCollapse: "collapse",
3559
- borderSpacing: 0
3560
- },
3561
- children
3562
- }
3563
- ) }),
3564
- thead: ({ children, ...props }) => /* @__PURE__ */ jsx("thead", { ...props, children }),
3565
- tbody: ({ children, ...props }) => /* @__PURE__ */ jsx("tbody", { ...props, children }),
3566
- tr: ({ children, ...props }) => /* @__PURE__ */ jsx("tr", { ...props, children }),
3567
- th: ({ children, ...props }) => /* @__PURE__ */ jsx(
3568
- "th",
3569
- {
3570
- ...props,
3571
- style: {
3572
- border: "1px solid var(--mantine-color-neutralColor-7)",
3573
- padding: "8px 12px",
3574
- fontWeight: 600,
3575
- textAlign: "left",
3576
- backgroundColor: "var(--mantine-color-neutralColor-5)"
3577
- },
3578
- children
3579
- }
3580
- ),
3581
- td: ({ children, ...props }) => /* @__PURE__ */ jsx(
3582
- "td",
3583
- {
3584
- ...props,
3585
- style: {
3586
- border: "1px solid var(--mantine-color-neutralColor-7)",
3587
- padding: "8px 12px",
3588
- textAlign: "left"
3589
- },
3590
- children
3591
- }
3592
- )
3473
+ mt: 12,
3474
+ mb: 4,
3475
+ sx: {
3476
+ borderRadius: 16,
3477
+ maxWidth: "100%",
3478
+ minWidth: 0
3593
3479
  },
3594
- children: message
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
+ )
3595
3665
  }
3596
- ) })
3666
+ )
3597
3667
  ] });
3598
3668
  }
3599
3669
  function UserMessage({ message, sender }) {
3600
- return /* @__PURE__ */ jsxs(Box, { w: "fit-content", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3670
+ return /* @__PURE__ */ jsxs(Box, { w: "100%", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3601
3671
  /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", fz: 12, children: sender }),
3602
3672
  /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
3603
3673
  ] });
@@ -6049,13 +6119,13 @@ function ActionButton({ onClick, left, right }) {
6049
6119
  }
6050
6120
  );
6051
6121
  }
6052
- const MainAction = lazy(() => import("./index-DccAmgX1.js"));
6053
- const Header$1 = lazy(() => import("./index-CEb94eQ3.js"));
6054
- const Content = lazy(() => import("./index-Dm6B7Yv-.js"));
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"));
6055
6125
  const Map = lazy(() => import("./index-D5Ufmf-s.js"));
6056
6126
  const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
6057
- const Assets = lazy(() => import("./index-BHuoPnj7.js"));
6058
- const Actions = lazy(() => import("./index-Lu5gXTPs.js"));
6127
+ const Assets = lazy(() => import("./index-Bxl6UNpR.js"));
6128
+ const Actions = lazy(() => import("./index-D6ik1G_L.js"));
6059
6129
  const HOVER_BORDER_WIDTH = 1;
6060
6130
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
6061
6131
  const wrapperRef = useRef(null);
@@ -11332,4 +11402,4 @@ export {
11332
11402
  CardHero as y,
11333
11403
  CardSelector as z
11334
11404
  };
11335
- //# sourceMappingURL=components-EXB_BUs5.js.map
11405
+ //# sourceMappingURL=components-kxgjjaBi.js.map