@ixo/ui 0.1.3 → 0.1.5

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 (72) hide show
  1. package/dist/.vite/manifest.json +43 -43
  2. package/dist/{UsersSolid-CU7U_J3x.js → UsersSolid-BAHkDzh8.js} +51 -47
  3. package/dist/UsersSolid-BAHkDzh8.js.map +1 -0
  4. package/dist/{UsersSolid-C29C53eo.cjs → UsersSolid-C5FpNZ_K.cjs} +5 -1
  5. package/dist/UsersSolid-C5FpNZ_K.cjs.map +1 -0
  6. package/dist/components/AccordionTable/index.d.ts.map +1 -1
  7. package/dist/components/DropDown/index.d.ts.map +1 -1
  8. package/dist/components/Table/components/Tr.d.ts +1 -1
  9. package/dist/components/Table/components/Tr.d.ts.map +1 -1
  10. package/dist/components/Table/index.d.ts +1 -1
  11. package/dist/components/Table/index.d.ts.map +1 -1
  12. package/dist/components/Table/types.d.ts +4 -1
  13. package/dist/components/Table/types.d.ts.map +1 -1
  14. package/dist/components/TableList/Cell.d.ts.map +1 -1
  15. package/dist/components/TableList/IconRow.d.ts.map +1 -1
  16. package/dist/components/TableList/index.d.ts.map +1 -1
  17. package/dist/{components-BfMR4Jm_.js → components-CmANQWf-.js} +148 -174
  18. package/dist/components-CmANQWf-.js.map +1 -0
  19. package/dist/{components-CMx1Z6qW.cjs → components-D-S05IGO.cjs} +146 -172
  20. package/dist/components-D-S05IGO.cjs.map +1 -0
  21. package/dist/constants/mantineTheme.d.ts +6 -6
  22. package/dist/export/components.cjs +1 -1
  23. package/dist/export/components.mjs +1 -1
  24. package/dist/export/icons/index.cjs +1 -1
  25. package/dist/export/icons/index.mjs +48 -48
  26. package/dist/{index-j30UxndW.cjs → index-BNv7Wt6j.cjs} +2 -2
  27. package/dist/{index-j30UxndW.cjs.map → index-BNv7Wt6j.cjs.map} +1 -1
  28. package/dist/{index-BA_IGjzx.js → index-BO0bmguj.js} +2 -2
  29. package/dist/{index-BA_IGjzx.js.map → index-BO0bmguj.js.map} +1 -1
  30. package/dist/{index-Mjt1S0Pd.cjs → index-BOPdrL0z.cjs} +3 -3
  31. package/dist/{index-Mjt1S0Pd.cjs.map → index-BOPdrL0z.cjs.map} +1 -1
  32. package/dist/{index-By8bP9F4.js → index-BcS9nv9y.js} +3 -3
  33. package/dist/{index-By8bP9F4.js.map → index-BcS9nv9y.js.map} +1 -1
  34. package/dist/{index-3sr4i_O3.js → index-Bl4vCmPD.js} +2 -2
  35. package/dist/{index-3sr4i_O3.js.map → index-Bl4vCmPD.js.map} +1 -1
  36. package/dist/{index-CUP32wrD.cjs → index-Bp3jax94.cjs} +2 -2
  37. package/dist/{index-CUP32wrD.cjs.map → index-Bp3jax94.cjs.map} +1 -1
  38. package/dist/{index-CzELlodl.cjs → index-Bzvm895X.cjs} +2 -2
  39. package/dist/{index-CzELlodl.cjs.map → index-Bzvm895X.cjs.map} +1 -1
  40. package/dist/{index-xLk8g4d_.cjs → index-C81_pkCa.cjs} +2 -2
  41. package/dist/{index-xLk8g4d_.cjs.map → index-C81_pkCa.cjs.map} +1 -1
  42. package/dist/{index-BfDwRtFi.cjs → index-CF8hUSL4.cjs} +2 -2
  43. package/dist/{index-BfDwRtFi.cjs.map → index-CF8hUSL4.cjs.map} +1 -1
  44. package/dist/{index-BtFFAaIr.js → index-COFYd2Cs.js} +2 -2
  45. package/dist/{index-BtFFAaIr.js.map → index-COFYd2Cs.js.map} +1 -1
  46. package/dist/{index-BAz_xpVr.js → index-CUsPvPQY.js} +2 -2
  47. package/dist/{index-BAz_xpVr.js.map → index-CUsPvPQY.js.map} +1 -1
  48. package/dist/{index-DKU106Gm.js → index-Cdx2iFWc.js} +2 -2
  49. package/dist/{index-DKU106Gm.js.map → index-Cdx2iFWc.js.map} +1 -1
  50. package/dist/{index-C697oQC3.cjs → index-D5-ydt83.cjs} +2 -2
  51. package/dist/{index-C697oQC3.cjs.map → index-D5-ydt83.cjs.map} +1 -1
  52. package/dist/{index-BT-G2YjM.js → index-D8rBCYAR.js} +3 -3
  53. package/dist/{index-BT-G2YjM.js.map → index-D8rBCYAR.js.map} +1 -1
  54. package/dist/{index-B012tdby.cjs → index-DGVkbm1G.cjs} +2 -2
  55. package/dist/{index-B012tdby.cjs.map → index-DGVkbm1G.cjs.map} +1 -1
  56. package/dist/{index-LPfRhRqy.cjs → index-Dn7Yp1ku.cjs} +3 -3
  57. package/dist/{index-LPfRhRqy.cjs.map → index-Dn7Yp1ku.cjs.map} +1 -1
  58. package/dist/{index-P7O0pqQQ.js → index-PVwto1-Y.js} +2 -2
  59. package/dist/{index-P7O0pqQQ.js.map → index-PVwto1-Y.js.map} +1 -1
  60. package/dist/{index-DKH0pkHE.js → index-SQJMSt4m.js} +3 -3
  61. package/dist/{index-DKH0pkHE.js.map → index-SQJMSt4m.js.map} +1 -1
  62. package/dist/{index-D3n59w3g.js → index-UKyxkTI5.js} +2 -2
  63. package/dist/{index-D3n59w3g.js.map → index-UKyxkTI5.js.map} +1 -1
  64. package/dist/{index-BnDLND8p.cjs → index-znoKlTv8.cjs} +3 -3
  65. package/dist/{index-BnDLND8p.cjs.map → index-znoKlTv8.cjs.map} +1 -1
  66. package/dist/utils/colors.d.ts +1 -0
  67. package/dist/utils/colors.d.ts.map +1 -1
  68. package/package.json +1 -1
  69. package/dist/UsersSolid-C29C53eo.cjs.map +0 -1
  70. package/dist/UsersSolid-CU7U_J3x.js.map +0 -1
  71. package/dist/components-BfMR4Jm_.js.map +0 -1
  72. package/dist/components-CMx1Z6qW.cjs.map +0 -1
@@ -1,10 +1,10 @@
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, d as ArrowLeftSolid, e as Canvas, H as HistorySolid, U as User, f as AngleLeftSolid, M as MinusCircleSolid, h as SettingsBarSolid, G as Globe, D as Dashboard, i as Groups, j as UserCircleSolid, k as Assets$1, l as Claims, m as Accounts, 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, v as MicrophoneSolid, w as Command, x as ArrowCircleRightSolid, y as Protocols, z as Investments, O as Oracles, B as Projects, F as Daos, J as Star, K as AngleRightSolid, N as Expand, Q as LeafSolid, R as ArrowDownSolid, T as ArrowRightSolid, V as Play, W as CheckCircle, X as Events, Y as ThumbsUpSolid, Z as CommentsSolid, _ as CopySolid, $ as Hourglass, a0 as Act, a1 as Info$1, a2 as ClaimsW, a3 as TachometerAltSolid, a4 as UserCogSolid, a5 as UsersSolid, a6 as EllipsisHSolid } from "./UsersSolid-CU7U_J3x.js";
5
- import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useMemo, useId, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
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
+ 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, Popover, Text as Text$1, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Tooltip as Tooltip$4, CloseButton, Group, Burger, Divider, ScrollArea, Space, Overlay } from "@mantine/core";
7
+ import { Accordion as Accordion$1, Box, Image, Text as Text$1, Popover, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, 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";
@@ -507,7 +507,7 @@ function isValidClick(e, target) {
507
507
  }
508
508
  return true;
509
509
  }
510
- function Tr({ children, selected, onClick }) {
510
+ function Tr({ children, selected, noBg, onClick }) {
511
511
  const wrapperRef = useRef(null);
512
512
  const handleClick = (e) => {
513
513
  if (!onClick) {
@@ -530,11 +530,26 @@ function Tr({ children, selected, onClick }) {
530
530
  borderStyle: "solid",
531
531
  borderWidth: 1,
532
532
  borderColor: "transparent",
533
- backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
534
- color: "var(--mantine-color-neutralColor-8)"
533
+ backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : noBg ? "transparent" : "var(--mantine-color-neutralColor-3)",
534
+ borderBottom: selected || !noBg ? "1px solid transparent" : "1px solid var(--mantine-color-neutralColor-6)",
535
+ color: "var(--mantine-color-neutralColor-8)",
536
+ ...noBg && {
537
+ borderRadius: 0,
538
+ "&:first-of-type": {
539
+ borderTopLeftRadius: 0,
540
+ borderBottomLeftRadius: 0
541
+ },
542
+ "&:last-child": {
543
+ borderTopRightRadius: 0,
544
+ borderBottomRightRadius: 0
545
+ }
546
+ }
535
547
  },
536
548
  "&:hover > td": {
537
- backgroundColor: onClick ? "var(--mantine-color-neutralColor-8)" : void 0
549
+ backgroundColor: onClick ? "var(--mantine-color-neutralColor-4)" : void 0
550
+ },
551
+ "&:last-child > td": {
552
+ borderBottom: "1px solid transparent"
538
553
  }
539
554
  };
540
555
  },
@@ -542,7 +557,7 @@ function Tr({ children, selected, onClick }) {
542
557
  }
543
558
  );
544
559
  }
545
- function Table({ children }) {
560
+ function Table({ children, noSpacing = false }) {
546
561
  return /* @__PURE__ */ jsx(
547
562
  "div",
548
563
  {
@@ -556,7 +571,7 @@ function Table({ children }) {
556
571
  css: (theme) => ({
557
572
  width: "100%",
558
573
  borderCollapse: "separate",
559
- borderSpacing: `0 ${theme.spacing * 2}px`,
574
+ borderSpacing: noSpacing ? `0 ${theme.spacing * 2}px` : "0px",
560
575
  background: "neutral.1"
561
576
  }),
562
577
  children
@@ -570,6 +585,63 @@ Table.Th = Th;
570
585
  Table.TBody = TBody;
571
586
  Table.Tr = Tr;
572
587
  Table.Td = Td;
588
+ const Flex = forwardRef(
589
+ ({
590
+ direction = "row",
591
+ align = "stretch",
592
+ justify = "flex-start",
593
+ gap = 0,
594
+ m = 0,
595
+ mt = 0,
596
+ mb = 0,
597
+ ml = 0,
598
+ mr = 0,
599
+ mx = 0,
600
+ my = 0,
601
+ p = 0,
602
+ pt = 0,
603
+ pb = 0,
604
+ pl = 0,
605
+ pr = 0,
606
+ px = 0,
607
+ py = 0,
608
+ bg,
609
+ radius = 0,
610
+ children,
611
+ ...props
612
+ }, ref) => {
613
+ const hasIndividualPadding = pt !== 0 || pb !== 0 || pl !== 0 || pr !== 0 || px !== 0 || py !== 0;
614
+ const hasIndividualMargin = mt !== 0 || mb !== 0 || ml !== 0 || mr !== 0 || mx !== 0 || my !== 0;
615
+ const style = {
616
+ display: "flex",
617
+ flexDirection: direction,
618
+ alignItems: align,
619
+ justifyContent: justify,
620
+ gap,
621
+ backgroundColor: bg,
622
+ borderRadius: radius,
623
+ ...props.style
624
+ };
625
+ if (hasIndividualMargin) {
626
+ if (mt !== 0 || my !== 0) style.marginTop = mt || my;
627
+ if (mb !== 0 || my !== 0) style.marginBottom = mb || my;
628
+ if (ml !== 0 || mx !== 0) style.marginLeft = ml || mx;
629
+ if (mr !== 0 || mx !== 0) style.marginRight = mr || mx;
630
+ } else if (m !== 0) {
631
+ style.margin = m;
632
+ }
633
+ if (hasIndividualPadding) {
634
+ if (pt !== 0 || py !== 0) style.paddingTop = pt || py;
635
+ if (pb !== 0 || py !== 0) style.paddingBottom = pb || py;
636
+ if (pl !== 0 || px !== 0) style.paddingLeft = pl || px;
637
+ if (pr !== 0 || px !== 0) style.paddingRight = pr || px;
638
+ } else if (p !== 0) {
639
+ style.padding = p;
640
+ }
641
+ return /* @__PURE__ */ jsx("div", { ref, ...props, style, children });
642
+ }
643
+ );
644
+ Flex.displayName = "Flex";
573
645
  const TRANSITION_DURATION = 250;
574
646
  function AccordionTable({
575
647
  items,
@@ -626,16 +698,12 @@ function AccordionTable({
626
698
  Accordion$1.Item,
627
699
  {
628
700
  value: item.id.toString(),
629
- css: ({ spacing, colors, bg }) => ({
630
- backgroundColor: bg.card,
631
- padding: spacing * 2,
701
+ css: ({ spacing }) => ({
702
+ backgroundColor: getTransparentColor("neutralColor-5", 70),
632
703
  borderRadius: spacing * 2,
633
704
  borderWidth: 1,
634
705
  borderStyle: "solid",
635
706
  borderColor: "transparent",
636
- "&.expanded, &.bordered": {
637
- borderColor: colors.focus
638
- },
639
707
  "& .subtitle": {
640
708
  opacity: 0,
641
709
  height: 0,
@@ -665,10 +733,10 @@ function AccordionTable({
665
733
  children: /* @__PURE__ */ jsxs(
666
734
  Box,
667
735
  {
668
- css: ({ spacing, radius, bg }) => ({
736
+ css: ({ spacing, radius }) => ({
669
737
  height: 54,
670
738
  padding: spacing,
671
- backgroundColor: bg.cell,
739
+ backgroundColor: "transparent",
672
740
  borderRadius: radius.small,
673
741
  width: "100%",
674
742
  display: "flex",
@@ -708,13 +776,13 @@ function AccordionTable({
708
776
  }
709
777
  ),
710
778
  /* @__PURE__ */ jsxs(Spacer, { vertical: true, distance: 0, alignItems: "start", children: [
711
- /* @__PURE__ */ jsx(Typography.Text, { children: item.title }),
712
- item.subtitle && /* @__PURE__ */ jsx(Typography.Text, { color: "secondary", size: "xs", className: "subtitle", children: item.subtitle })
779
+ /* @__PURE__ */ jsx(Text$1, { children: item.title }),
780
+ item.subtitle && /* @__PURE__ */ jsx(Text$1, { size: "xs", className: "subtitle", children: item.subtitle })
713
781
  ] })
714
782
  ] }),
715
783
  /* @__PURE__ */ jsxs(Spacer, { vertical: true, alignItems: "end", children: [
716
- item.rightTitle && /* @__PURE__ */ jsx(Typography.Text, { className: "textValue", children: item.rightTitle }),
717
- item.rightSubtitle && /* @__PURE__ */ jsx(Typography.Text, { className: "textValue subtitle", color: "secondary", size: "xs", children: item.rightSubtitle })
784
+ item.rightTitle && /* @__PURE__ */ jsx(Text$1, { className: "textValue", children: item.rightTitle }),
785
+ item.rightSubtitle && /* @__PURE__ */ jsx(Text$1, { className: "textValue subtitle", size: "xs", children: item.rightSubtitle })
718
786
  ] })
719
787
  ]
720
788
  }
@@ -722,26 +790,15 @@ function AccordionTable({
722
790
  }
723
791
  ),
724
792
  /* @__PURE__ */ jsxs(Accordion$1.Panel, { children: [
725
- item.subitems.data.length < 1 ? /* @__PURE__ */ jsx(Box, { css: ({ spacing }) => ({ padding: spacing * 2 }), children: /* @__PURE__ */ jsx(Typography.Paragraph, { align: "center", children: "No data" }) }) : /* @__PURE__ */ jsxs(Table, { children: [
793
+ item.subitems.data.length < 1 ? /* @__PURE__ */ jsx(Box, { css: ({ spacing }) => ({ padding: spacing * 2 }), children: /* @__PURE__ */ jsx(Text$1, { ta: "center", children: "No data" }) }) : /* @__PURE__ */ jsxs(Table, { noSpacing: true, children: [
726
794
  /* @__PURE__ */ jsx(Table.THead, { children: /* @__PURE__ */ jsxs(Table.Tr, { children: [
727
795
  item.subitems.columns.map((column, index) => /* @__PURE__ */ jsx(Table.Th, { align: index === 0 ? "left" : "right", expand: column.expand, shrink: column.shrink, children: column.title }, column.title)),
728
- showSelectColumn && /* @__PURE__ */ jsx(Table.Th, { align: "right", shrink: true, children: /* @__PURE__ */ jsxs(
729
- "div",
730
- {
731
- css: {
732
- display: "flex",
733
- justifyContent: "start",
734
- alignItems: "center",
735
- gap: 8
736
- },
737
- children: [
738
- selectedAll && selectAll ? "Deselect" : "Select",
739
- selectAll && /* @__PURE__ */ jsx(Checkbox, { checked: selectedAll, onChange: (checked) => selectAll(checked) })
740
- ]
741
- }
742
- ) })
796
+ showSelectColumn && /* @__PURE__ */ jsx(Table.Th, { align: "right", shrink: true, children: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 8, children: [
797
+ selectedAll && selectAll ? "Deselect" : "Select",
798
+ selectAll && /* @__PURE__ */ jsx(Checkbox, { checked: selectedAll, onChange: (checked) => selectAll(checked) })
799
+ ] }) })
743
800
  ] }) }),
744
- /* @__PURE__ */ jsx(Table.TBody, { children: item.subitems.data.map((row) => /* @__PURE__ */ jsxs(Table.Tr, { selected: selectedItems?.includes(row.id), onClick: onSelectItems ? () => handleSelectItems(row.id) : void 0, children: [
801
+ /* @__PURE__ */ jsx(Table.TBody, { children: item.subitems.data.map((row) => /* @__PURE__ */ jsxs(Table.Tr, { noBg: true, selected: selectedItems?.includes(row.id), onClick: onSelectItems ? () => handleSelectItems(row.id) : void 0, children: [
745
802
  item.subitems.columns.map((column, index) => /* @__PURE__ */ jsx(
746
803
  Table.Td,
747
804
  {
@@ -753,17 +810,7 @@ function AccordionTable({
753
810
  },
754
811
  column.title
755
812
  )),
756
- showSelectColumn && /* @__PURE__ */ jsx(Table.Td, { children: /* @__PURE__ */ jsx(
757
- "div",
758
- {
759
- css: {
760
- display: "flex",
761
- justifyContent: "center",
762
- alignItems: "center"
763
- },
764
- children: /* @__PURE__ */ jsx(Checkbox, { checked: selectedItems?.includes(row.id), onChange: () => handleSelectItems(row.id) })
765
- }
766
- ) })
813
+ showSelectColumn && /* @__PURE__ */ jsx(Table.Td, { children: /* @__PURE__ */ jsx(Flex, { align: "center", justify: "center", children: /* @__PURE__ */ jsx(Checkbox, { checked: selectedItems?.includes(row.id), onChange: () => handleSelectItems(row.id) }) }) })
767
814
  ] }, row.id)) })
768
815
  ] }),
769
816
  item.footer
@@ -775,8 +822,8 @@ function AccordionTable({
775
822
  }
776
823
  );
777
824
  }
778
- const Header$3 = lazy(() => import("./index-By8bP9F4.js"));
779
- const Footer = lazy(() => import("./index-BT-G2YjM.js"));
825
+ const Header$3 = lazy(() => import("./index-BcS9nv9y.js"));
826
+ const Footer = lazy(() => import("./index-D8rBCYAR.js"));
780
827
  function ActionCard({ header, content, footer, useHoverMode = false }) {
781
828
  const hasContent = !!content || !!footer;
782
829
  const initialVisibility = footer?.startHidden !== true;
@@ -860,7 +907,7 @@ function Loader({ size, color = "primary" }) {
860
907
  }
861
908
  const CARD_WIDTH$1 = 350;
862
909
  const CARD_HEADER_HEIGHT = 158;
863
- const Header$2 = lazy(() => import("./index-BtFFAaIr.js"));
910
+ const Header$2 = lazy(() => import("./index-COFYd2Cs.js"));
864
911
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
865
912
  const wrapperRef = useRef(null);
866
913
  const handleOnClick = useCallback(
@@ -1295,7 +1342,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1295
1342
  document.body
1296
1343
  );
1297
1344
  }
1298
- const Badge = lazy(() => import("./index-BAz_xpVr.js"));
1345
+ const Badge = lazy(() => import("./index-CUsPvPQY.js"));
1299
1346
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1300
1347
  const shadowScrollRef = useRef(null);
1301
1348
  const wrapperContentAreaRef = useRef(null);
@@ -1874,63 +1921,6 @@ function HtmlRender({ content, className }) {
1874
1921
  const safeHTML = DOMPurify.sanitize(content, { FORBID_ATTR: ["style"] });
1875
1922
  return /* @__PURE__ */ jsx(StyleDOMApplier, { children: /* @__PURE__ */ jsx("div", { className, dangerouslySetInnerHTML: { __html: safeHTML } }) });
1876
1923
  }
1877
- const Flex = forwardRef(
1878
- ({
1879
- direction = "row",
1880
- align = "stretch",
1881
- justify = "flex-start",
1882
- gap = 0,
1883
- m = 0,
1884
- mt = 0,
1885
- mb = 0,
1886
- ml = 0,
1887
- mr = 0,
1888
- mx = 0,
1889
- my = 0,
1890
- p = 0,
1891
- pt = 0,
1892
- pb = 0,
1893
- pl = 0,
1894
- pr = 0,
1895
- px = 0,
1896
- py = 0,
1897
- bg,
1898
- radius = 0,
1899
- children,
1900
- ...props
1901
- }, ref) => {
1902
- const hasIndividualPadding = pt !== 0 || pb !== 0 || pl !== 0 || pr !== 0 || px !== 0 || py !== 0;
1903
- const hasIndividualMargin = mt !== 0 || mb !== 0 || ml !== 0 || mr !== 0 || mx !== 0 || my !== 0;
1904
- const style = {
1905
- display: "flex",
1906
- flexDirection: direction,
1907
- alignItems: align,
1908
- justifyContent: justify,
1909
- gap,
1910
- backgroundColor: bg,
1911
- borderRadius: radius,
1912
- ...props.style
1913
- };
1914
- if (hasIndividualMargin) {
1915
- if (mt !== 0 || my !== 0) style.marginTop = mt || my;
1916
- if (mb !== 0 || my !== 0) style.marginBottom = mb || my;
1917
- if (ml !== 0 || mx !== 0) style.marginLeft = ml || mx;
1918
- if (mr !== 0 || mx !== 0) style.marginRight = mr || mx;
1919
- } else if (m !== 0) {
1920
- style.margin = m;
1921
- }
1922
- if (hasIndividualPadding) {
1923
- if (pt !== 0 || py !== 0) style.paddingTop = pt || py;
1924
- if (pb !== 0 || py !== 0) style.paddingBottom = pb || py;
1925
- if (pl !== 0 || px !== 0) style.paddingLeft = pl || px;
1926
- if (pr !== 0 || px !== 0) style.paddingRight = pr || px;
1927
- } else if (p !== 0) {
1928
- style.padding = p;
1929
- }
1930
- return /* @__PURE__ */ jsx("div", { ref, ...props, style, children });
1931
- }
1932
- );
1933
- Flex.displayName = "Flex";
1934
1924
  function Item({ icon, label, disabled, active, onClick }) {
1935
1925
  const IconComponent = icon;
1936
1926
  return /* @__PURE__ */ jsx(
@@ -4227,20 +4217,20 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4227
4217
  {
4228
4218
  className: cx({ open: isOpen }),
4229
4219
  style: { width },
4230
- css: ({ colors, bg }) => ({
4220
+ css: () => ({
4231
4221
  position: "relative",
4232
4222
  display: "inline-flex",
4233
4223
  flexDirection: "column",
4234
4224
  "&.open > div": {
4235
- backgroundColor: bg.card,
4236
- borderColor: colors.focus,
4225
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
4226
+ borderColor: "var(--mantine-color-neutralColor-6)",
4237
4227
  borderBottomLeftRadius: 0,
4238
4228
  borderBottomRightRadius: 0,
4239
- borderBottomColor: bg.card,
4229
+ borderBottomColor: "none",
4240
4230
  boxSizing: "border-box"
4241
4231
  },
4242
4232
  "&.open > ul": {
4243
- backgroundColor: bg.card,
4233
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
4244
4234
  display: "inline-flex"
4245
4235
  }
4246
4236
  }),
@@ -4291,7 +4281,7 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4291
4281
  "ul",
4292
4282
  {
4293
4283
  ...getMenuProps(),
4294
- css: ({ bg, colors, radius, spacing }) => ({
4284
+ css: ({ colors, radius, spacing }) => ({
4295
4285
  backgroundColor: colors.focusTransparent10,
4296
4286
  listStyle: "none",
4297
4287
  padding: 0,
@@ -4299,10 +4289,10 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4299
4289
  borderRadius: radius.medium,
4300
4290
  borderWidth: 1,
4301
4291
  borderStyle: "solid",
4302
- borderColor: colors.focus,
4292
+ borderColor: "var(--mantine-color-neutralColor-6)",
4303
4293
  borderTopRightRadius: 0,
4304
4294
  borderTopLeftRadius: 0,
4305
- borderTopColor: bg.card,
4295
+ borderTopColor: "var(--mantine-color-neutralColor-5)",
4306
4296
  display: "none",
4307
4297
  flexDirection: "column",
4308
4298
  gap: spacing,
@@ -4343,7 +4333,7 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4343
4333
  }
4344
4334
  }),
4345
4335
  ...itemProps,
4346
- children: /* @__PURE__ */ jsx(Typography.Text, { children: item.label })
4336
+ children: /* @__PURE__ */ jsx(Text$1, { children: item.label })
4347
4337
  },
4348
4338
  item.value
4349
4339
  );
@@ -6011,13 +6001,13 @@ function ActionButton({ onClick, left, right }) {
6011
6001
  }
6012
6002
  );
6013
6003
  }
6014
- const MainAction = lazy(() => import("./index-BA_IGjzx.js"));
6015
- const Header$1 = lazy(() => import("./index-DKU106Gm.js"));
6016
- const Content = lazy(() => import("./index-P7O0pqQQ.js"));
6004
+ const MainAction = lazy(() => import("./index-BO0bmguj.js"));
6005
+ const Header$1 = lazy(() => import("./index-Cdx2iFWc.js"));
6006
+ const Content = lazy(() => import("./index-PVwto1-Y.js"));
6017
6007
  const Map = lazy(() => import("./index-D5Ufmf-s.js"));
6018
6008
  const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
6019
- const Assets = lazy(() => import("./index-D3n59w3g.js"));
6020
- const Actions = lazy(() => import("./index-DKH0pkHE.js"));
6009
+ const Assets = lazy(() => import("./index-UKyxkTI5.js"));
6010
+ const Actions = lazy(() => import("./index-SQJMSt4m.js"));
6021
6011
  const HOVER_BORDER_WIDTH = 1;
6022
6012
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
6023
6013
  const wrapperRef = useRef(null);
@@ -8119,12 +8109,12 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8119
8109
  compact,
8120
8110
  shrink
8121
8111
  }),
8122
- css: ({ spacing, bg, colors }) => ({
8123
- background: bg.card,
8112
+ css: ({ spacing }) => ({
8124
8113
  paddingLeft: 0,
8125
8114
  paddingRight: 0,
8126
- borderTop: `1px solid ${colors.focusTransparent20}`,
8127
- borderBottom: `1px solid ${colors.focusTransparent20}`,
8115
+ borderTop: "1px solid var(--mantine-color-neutralColor-6)",
8116
+ borderBottom: "1px solid var(--mantine-color-neutralColor-6)",
8117
+ border: "none",
8128
8118
  paddingTop: spacing * 1.5,
8129
8119
  paddingBottom: spacing * 1.5,
8130
8120
  "&.compact": {
@@ -8132,7 +8122,6 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8132
8122
  paddingBottom: 0
8133
8123
  },
8134
8124
  "&:last-child": {
8135
- borderRight: `1px solid ${colors.focusTransparent20}`,
8136
8125
  paddingRight: spacing * 2,
8137
8126
  "&.compact": {
8138
8127
  paddingRight: 0
@@ -8193,8 +8182,8 @@ function CellContent({
8193
8182
  "emulate-checkbox-area": emulateCheckboxArea,
8194
8183
  "vertical-align": verticalAlign
8195
8184
  }),
8196
- css: ({ bg, spacing }) => ({
8197
- background: bg.cell,
8185
+ css: ({ spacing }) => ({
8186
+ background: "var(--mantine-color-neutralColor-6)",
8198
8187
  height: 54,
8199
8188
  padding: spacing,
8200
8189
  display: "flex",
@@ -8239,8 +8228,7 @@ function IconRowCmp({ icon: Icon }) {
8239
8228
  return /* @__PURE__ */ jsx(
8240
8229
  "div",
8241
8230
  {
8242
- css: ({ bg, spacing }) => ({
8243
- background: bg.cell,
8231
+ css: ({ spacing }) => ({
8244
8232
  borderTopLeftRadius: spacing * 2,
8245
8233
  borderBottomLeftRadius: spacing * 2,
8246
8234
  display: "flex",
@@ -8437,6 +8425,7 @@ function TableList({
8437
8425
  padding: spacing,
8438
8426
  height: 38,
8439
8427
  textAlign: "left",
8428
+ border: "none",
8440
8429
  "&.first": {
8441
8430
  paddingLeft: rowImageColumn ? spacing : spacing * 3,
8442
8431
  "&.compact": {
@@ -8459,7 +8448,7 @@ function TableList({
8459
8448
  }),
8460
8449
  children: column.sortable ? /* @__PURE__ */ jsx(Fragment, { children: (() => {
8461
8450
  const isSorted = sort?.field === column.field;
8462
- const color = isSorted ? "primary" : "focusSecondary";
8451
+ const color = isSorted ? "accent.5" : "accent.3";
8463
8452
  return /* @__PURE__ */ jsxs(
8464
8453
  "button",
8465
8454
  {
@@ -8483,7 +8472,7 @@ function TableList({
8483
8472
  direction: sort?.direction === "ASC" ? "DESC" : "ASC"
8484
8473
  }),
8485
8474
  children: [
8486
- column.title !== void 0 && /* @__PURE__ */ jsx(Typography.Text, { color, size: "s", semiBold: true, children: column.title }),
8475
+ column.title !== void 0 && /* @__PURE__ */ jsx(Text$1, { c: color, size: "sm", children: column.title }),
8487
8476
  /* @__PURE__ */ jsxs(
8488
8477
  "div",
8489
8478
  {
@@ -8492,15 +8481,15 @@ function TableList({
8492
8481
  height: spacing * 2
8493
8482
  }),
8494
8483
  children: [
8495
- isSorted && sort?.direction === "ASC" && /* @__PURE__ */ jsx(ArrowUpSolid, { color, size: 16 }),
8496
- isSorted && sort?.direction === "DESC" && /* @__PURE__ */ jsx(ArrowDownSolid, { color, size: 16 })
8484
+ isSorted && sort?.direction === "ASC" && /* @__PURE__ */ jsx(ArrowUpSolid, { size: 16 }),
8485
+ isSorted && sort?.direction === "DESC" && /* @__PURE__ */ jsx(ArrowDownSolid, { size: 16 })
8497
8486
  ]
8498
8487
  }
8499
8488
  )
8500
8489
  ]
8501
8490
  }
8502
8491
  );
8503
- })() }) : /* @__PURE__ */ jsx(Typography.Text, { color: "focusSecondary", size: "s", semiBold: true, children: column.title })
8492
+ })() }) : /* @__PURE__ */ jsx(Text$1, { size: "sm", children: column.title })
8504
8493
  },
8505
8494
  column.field
8506
8495
  );
@@ -8541,21 +8530,19 @@ function TableList({
8541
8530
  selected: isRowSelected,
8542
8531
  clickable: !!onRowClick
8543
8532
  }),
8544
- css: ({ colors, transition }) => ({
8533
+ css: () => ({
8545
8534
  "& > td": {
8546
- borderTop: "solid 1px transparent",
8547
- borderBottom: "solid 1px transparent",
8548
- "&:first-of-type": {
8549
- borderLeft: "solid 1px transparent"
8550
- },
8551
- "&:last-of-type": {
8552
- borderRight: "solid 1px transparent"
8553
- }
8535
+ borderStyle: "solid",
8536
+ borderWidth: 1,
8537
+ borderColor: "transparent",
8538
+ border: "none",
8539
+ backgroundColor: isRowSelected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
8540
+ color: "var(--mantine-color-neutralColor-8)"
8554
8541
  },
8555
8542
  "& .subtitle": {
8556
8543
  opacity: 0,
8557
8544
  height: 0,
8558
- transition: transition.duration
8545
+ transition: "opacity 0.2s ease, height 0.2s ease"
8559
8546
  },
8560
8547
  "&:hover .subtitle": {
8561
8548
  opacity: 1,
@@ -8566,29 +8553,16 @@ function TableList({
8566
8553
  },
8567
8554
  "&.selected": {
8568
8555
  td: {
8569
- borderTopColor: colors.focus,
8570
- borderBottomColor: colors.focus,
8571
- "&:first-of-type": {
8572
- borderLeftColor: colors.focus
8573
- },
8574
- "&:last-of-type": {
8575
- borderRightColor: colors.focus
8576
- }
8556
+ borderTopColor: "var(--mantine-color-accent-5)",
8557
+ borderBottomColor: "var(--mantine-color-accent-5)"
8577
8558
  }
8578
8559
  },
8579
8560
  "&.clickable": {
8580
- cursor: "default",
8581
- transition: transition.duration,
8561
+ cursor: "pointer",
8562
+ transition: "background-color 0.2s ease",
8582
8563
  "&:hover": {
8583
8564
  td: {
8584
- borderTop: `solid 1px ${colors.focusTransparent50}`,
8585
- borderBottom: `solid 1px ${colors.focusTransparent50}`,
8586
- "&:first-of-type": {
8587
- borderLeft: `solid 1px ${colors.focusTransparent50}`
8588
- },
8589
- "&:last-of-type": {
8590
- borderRight: `solid 1px ${colors.focusTransparent50}`
8591
- }
8565
+ backgroundColor: "var(--mantine-color-neutralColor-1)"
8592
8566
  }
8593
8567
  }
8594
8568
  }
@@ -8597,13 +8571,13 @@ function TableList({
8597
8571
  IconRow !== false && /* @__PURE__ */ jsx(
8598
8572
  "td",
8599
8573
  {
8600
- css: ({ spacing, bg, colors }) => ({
8601
- background: bg.card,
8574
+ css: ({ spacing }) => ({
8575
+ background: isRowSelected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
8602
8576
  borderTopLeftRadius: spacing * 2,
8603
8577
  borderBottomLeftRadius: spacing * 2,
8604
- borderTop: `1px solid ${colors.focusTransparent20}`,
8605
- borderBottom: `1px solid ${colors.focusTransparent20}`,
8606
- borderLeft: `1px solid ${colors.focusTransparent20}`,
8578
+ borderTop: "1px solid var(--mantine-color-neutralColor-6)",
8579
+ borderBottom: "1px solid var(--mantine-color-neutralColor-6)",
8580
+ borderLeft: "1px solid var(--mantine-color-neutralColor-6)",
8607
8581
  position: "relative",
8608
8582
  width: spacing * 5.75 + spacing * 2
8609
8583
  }),
@@ -8662,8 +8636,8 @@ function TableList({
8662
8636
  justifyContent: "center"
8663
8637
  },
8664
8638
  children: [
8665
- /* @__PURE__ */ jsx(Typography.Text, { size: "regular", children: row[column.field] }),
8666
- subtitle && /* @__PURE__ */ jsx(Typography.Text, { size: "xs", color: "focusSecondary", className: "subtitle", children: subtitle })
8639
+ /* @__PURE__ */ jsx(Text$1, { children: row[column.field] }),
8640
+ subtitle && /* @__PURE__ */ jsx(Text$1, { size: "xs", c: "accent", className: "subtitle", children: subtitle })
8667
8641
  ]
8668
8642
  }
8669
8643
  ),
@@ -11310,4 +11284,4 @@ export {
11310
11284
  CardHero as y,
11311
11285
  CardSelector as z
11312
11286
  };
11313
- //# sourceMappingURL=components-BfMR4Jm_.js.map
11287
+ //# sourceMappingURL=components-CmANQWf-.js.map