@ixo/ui 0.1.4 → 0.1.6

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 (70) hide show
  1. package/dist/.vite/manifest.json +53 -53
  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/index.d.ts.map +1 -1
  15. package/dist/{components-DXWFikYD.js → components-Bhg-kj6Z.js} +127 -141
  16. package/dist/components-Bhg-kj6Z.js.map +1 -0
  17. package/dist/{components-C2SQgRSz.cjs → components-YkshqT-o.cjs} +125 -139
  18. package/dist/components-YkshqT-o.cjs.map +1 -0
  19. package/dist/constants/mantineTheme.d.ts +6 -6
  20. package/dist/export/components.cjs +1 -1
  21. package/dist/export/components.mjs +1 -1
  22. package/dist/export/icons/index.cjs +1 -1
  23. package/dist/export/icons/index.mjs +48 -48
  24. package/dist/{index-BFBqYWEa.js → index-B5ijF3Tp.js} +3 -3
  25. package/dist/{index-BFBqYWEa.js.map → index-B5ijF3Tp.js.map} +1 -1
  26. package/dist/{index-Bs0LG269.js → index-BXOFC_0d.js} +2 -2
  27. package/dist/{index-Bs0LG269.js.map → index-BXOFC_0d.js.map} +1 -1
  28. package/dist/{index-Cj0ojt2H.cjs → index-Bgc3QI4b.cjs} +2 -2
  29. package/dist/{index-Cj0ojt2H.cjs.map → index-Bgc3QI4b.cjs.map} +1 -1
  30. package/dist/{index-BxL26n-_.cjs → index-Bgi4k5s-.cjs} +2 -2
  31. package/dist/{index-BxL26n-_.cjs.map → index-Bgi4k5s-.cjs.map} +1 -1
  32. package/dist/{index-DlkMWtvk.cjs → index-BrbjrA78.cjs} +3 -3
  33. package/dist/{index-DlkMWtvk.cjs.map → index-BrbjrA78.cjs.map} +1 -1
  34. package/dist/{index-C0_y2x26.cjs → index-BtjEYmib.cjs} +2 -2
  35. package/dist/{index-C0_y2x26.cjs.map → index-BtjEYmib.cjs.map} +1 -1
  36. package/dist/{index-NnvW31qR.js → index-Btt6Tm5Q.js} +2 -2
  37. package/dist/{index-NnvW31qR.js.map → index-Btt6Tm5Q.js.map} +1 -1
  38. package/dist/{index-DZyjcXlR.js → index-BtyXrnNq.js} +2 -2
  39. package/dist/{index-DZyjcXlR.js.map → index-BtyXrnNq.js.map} +1 -1
  40. package/dist/{index-CGE72zCr.cjs → index-C11vdiDH.cjs} +2 -2
  41. package/dist/{index-CGE72zCr.cjs.map → index-C11vdiDH.cjs.map} +1 -1
  42. package/dist/{index-Dk7hov8r.cjs → index-C6pNvdxk.cjs} +3 -3
  43. package/dist/{index-Dk7hov8r.cjs.map → index-C6pNvdxk.cjs.map} +1 -1
  44. package/dist/{index-BzlvAIua.cjs → index-CANUhwDW.cjs} +3 -3
  45. package/dist/{index-BzlvAIua.cjs.map → index-CANUhwDW.cjs.map} +1 -1
  46. package/dist/{index-C0M9EAJA.cjs → index-CHOB1QkU.cjs} +2 -2
  47. package/dist/{index-C0M9EAJA.cjs.map → index-CHOB1QkU.cjs.map} +1 -1
  48. package/dist/{index-CH_RGOrj.cjs → index-CR8fPC2b.cjs} +2 -2
  49. package/dist/{index-CH_RGOrj.cjs.map → index-CR8fPC2b.cjs.map} +1 -1
  50. package/dist/{index-CAdlSthO.js → index-C_IALXNA.js} +2 -2
  51. package/dist/{index-CAdlSthO.js.map → index-C_IALXNA.js.map} +1 -1
  52. package/dist/{index-CGRAANQ8.js → index-Chn5-4lW.js} +2 -2
  53. package/dist/{index-CGRAANQ8.js.map → index-Chn5-4lW.js.map} +1 -1
  54. package/dist/{index-DBQqIQa5.js → index-CskX6vn2.js} +2 -2
  55. package/dist/{index-DBQqIQa5.js.map → index-CskX6vn2.js.map} +1 -1
  56. package/dist/{index-DEJUkGPI.js → index-DCooV8oV.js} +3 -3
  57. package/dist/{index-DEJUkGPI.js.map → index-DCooV8oV.js.map} +1 -1
  58. package/dist/{index-DDO_4uZt.cjs → index-P3KEgBhv.cjs} +2 -2
  59. package/dist/{index-DDO_4uZt.cjs.map → index-P3KEgBhv.cjs.map} +1 -1
  60. package/dist/{index-7zomOTPG.js → index-lvV5wzhg.js} +2 -2
  61. package/dist/{index-7zomOTPG.js.map → index-lvV5wzhg.js.map} +1 -1
  62. package/dist/{index-D05G6loY.js → index-mrxwm6Xs.js} +3 -3
  63. package/dist/{index-D05G6loY.js.map → index-mrxwm6Xs.js.map} +1 -1
  64. package/dist/utils/colors.d.ts +1 -0
  65. package/dist/utils/colors.d.ts.map +1 -1
  66. package/package.json +1 -1
  67. package/dist/UsersSolid-C29C53eo.cjs.map +0 -1
  68. package/dist/UsersSolid-CU7U_J3x.js.map +0 -1
  69. package/dist/components-C2SQgRSz.cjs.map +0 -1
  70. package/dist/components-DXWFikYD.js.map +0 -1
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  const jsxRuntime = require("@emotion/react/jsx-runtime");
25
25
  const radash = require("radash");
26
26
  const react = require("@emotion/react");
27
- const UsersSolid = require("./UsersSolid-C29C53eo.cjs");
27
+ const UsersSolid = require("./UsersSolid-C5FpNZ_K.cjs");
28
28
  const react$1 = require("react");
29
29
  const constants = require("./constants-DFJRYpE2.cjs");
30
30
  const core = require("@mantine/core");
@@ -530,7 +530,7 @@ function isValidClick(e, target) {
530
530
  }
531
531
  return true;
532
532
  }
533
- function Tr({ children, selected, onClick }) {
533
+ function Tr({ children, selected, noBg, onClick }) {
534
534
  const wrapperRef = react$1.useRef(null);
535
535
  const handleClick = (e) => {
536
536
  if (!onClick) {
@@ -553,11 +553,26 @@ function Tr({ children, selected, onClick }) {
553
553
  borderStyle: "solid",
554
554
  borderWidth: 1,
555
555
  borderColor: "transparent",
556
- backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
557
- color: "var(--mantine-color-neutralColor-8)"
556
+ backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : noBg ? "transparent" : "var(--mantine-color-neutralColor-3)",
557
+ borderBottom: selected || !noBg ? "1px solid transparent" : "1px solid var(--mantine-color-neutralColor-6)",
558
+ color: "var(--mantine-color-neutralColor-8)",
559
+ ...noBg && {
560
+ borderRadius: 0,
561
+ "&:first-of-type": {
562
+ borderTopLeftRadius: 0,
563
+ borderBottomLeftRadius: 0
564
+ },
565
+ "&:last-child": {
566
+ borderTopRightRadius: 0,
567
+ borderBottomRightRadius: 0
568
+ }
569
+ }
558
570
  },
559
571
  "&:hover > td": {
560
- backgroundColor: onClick ? "var(--mantine-color-neutralColor-1)" : void 0
572
+ backgroundColor: onClick ? "var(--mantine-color-neutralColor-4)" : void 0
573
+ },
574
+ "&:last-child > td": {
575
+ borderBottom: "1px solid transparent"
561
576
  }
562
577
  };
563
578
  },
@@ -565,7 +580,7 @@ function Tr({ children, selected, onClick }) {
565
580
  }
566
581
  );
567
582
  }
568
- function Table({ children }) {
583
+ function Table({ children, noSpacing = false }) {
569
584
  return /* @__PURE__ */ jsxRuntime.jsx(
570
585
  "div",
571
586
  {
@@ -579,7 +594,7 @@ function Table({ children }) {
579
594
  css: (theme) => ({
580
595
  width: "100%",
581
596
  borderCollapse: "separate",
582
- borderSpacing: `0 ${theme.spacing * 2}px`,
597
+ borderSpacing: noSpacing ? `0 ${theme.spacing * 2}px` : "0px",
583
598
  background: "neutral.1"
584
599
  }),
585
600
  children
@@ -593,6 +608,63 @@ Table.Th = Th;
593
608
  Table.TBody = TBody;
594
609
  Table.Tr = Tr;
595
610
  Table.Td = Td;
611
+ const Flex = react$1.forwardRef(
612
+ ({
613
+ direction = "row",
614
+ align = "stretch",
615
+ justify = "flex-start",
616
+ gap = 0,
617
+ m = 0,
618
+ mt = 0,
619
+ mb = 0,
620
+ ml = 0,
621
+ mr = 0,
622
+ mx = 0,
623
+ my = 0,
624
+ p = 0,
625
+ pt = 0,
626
+ pb = 0,
627
+ pl = 0,
628
+ pr = 0,
629
+ px = 0,
630
+ py = 0,
631
+ bg,
632
+ radius = 0,
633
+ children,
634
+ ...props
635
+ }, ref) => {
636
+ const hasIndividualPadding = pt !== 0 || pb !== 0 || pl !== 0 || pr !== 0 || px !== 0 || py !== 0;
637
+ const hasIndividualMargin = mt !== 0 || mb !== 0 || ml !== 0 || mr !== 0 || mx !== 0 || my !== 0;
638
+ const style = {
639
+ display: "flex",
640
+ flexDirection: direction,
641
+ alignItems: align,
642
+ justifyContent: justify,
643
+ gap,
644
+ backgroundColor: bg,
645
+ borderRadius: radius,
646
+ ...props.style
647
+ };
648
+ if (hasIndividualMargin) {
649
+ if (mt !== 0 || my !== 0) style.marginTop = mt || my;
650
+ if (mb !== 0 || my !== 0) style.marginBottom = mb || my;
651
+ if (ml !== 0 || mx !== 0) style.marginLeft = ml || mx;
652
+ if (mr !== 0 || mx !== 0) style.marginRight = mr || mx;
653
+ } else if (m !== 0) {
654
+ style.margin = m;
655
+ }
656
+ if (hasIndividualPadding) {
657
+ if (pt !== 0 || py !== 0) style.paddingTop = pt || py;
658
+ if (pb !== 0 || py !== 0) style.paddingBottom = pb || py;
659
+ if (pl !== 0 || px !== 0) style.paddingLeft = pl || px;
660
+ if (pr !== 0 || px !== 0) style.paddingRight = pr || px;
661
+ } else if (p !== 0) {
662
+ style.padding = p;
663
+ }
664
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, ...props, style, children });
665
+ }
666
+ );
667
+ Flex.displayName = "Flex";
596
668
  const TRANSITION_DURATION = 250;
597
669
  function AccordionTable({
598
670
  items,
@@ -649,16 +721,12 @@ function AccordionTable({
649
721
  core.Accordion.Item,
650
722
  {
651
723
  value: item.id.toString(),
652
- css: ({ spacing, colors, bg }) => ({
653
- backgroundColor: bg.card,
654
- padding: spacing * 2,
724
+ css: ({ spacing }) => ({
725
+ backgroundColor: UsersSolid.getTransparentColor("neutralColor-5", 70),
655
726
  borderRadius: spacing * 2,
656
727
  borderWidth: 1,
657
728
  borderStyle: "solid",
658
729
  borderColor: "transparent",
659
- "&.expanded, &.bordered": {
660
- borderColor: colors.focus
661
- },
662
730
  "& .subtitle": {
663
731
  opacity: 0,
664
732
  height: 0,
@@ -688,10 +756,10 @@ function AccordionTable({
688
756
  children: /* @__PURE__ */ jsxRuntime.jsxs(
689
757
  core.Box,
690
758
  {
691
- css: ({ spacing, radius, bg }) => ({
759
+ css: ({ spacing, radius }) => ({
692
760
  height: 54,
693
761
  padding: spacing,
694
- backgroundColor: bg.cell,
762
+ backgroundColor: "transparent",
695
763
  borderRadius: radius.small,
696
764
  width: "100%",
697
765
  display: "flex",
@@ -731,13 +799,13 @@ function AccordionTable({
731
799
  }
732
800
  ),
733
801
  /* @__PURE__ */ jsxRuntime.jsxs(Spacer, { vertical: true, distance: 0, alignItems: "start", children: [
734
- /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { children: item.title }),
735
- item.subtitle && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { color: "secondary", size: "xs", className: "subtitle", children: item.subtitle })
802
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { children: item.title }),
803
+ item.subtitle && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { size: "xs", className: "subtitle", children: item.subtitle })
736
804
  ] })
737
805
  ] }),
738
806
  /* @__PURE__ */ jsxRuntime.jsxs(Spacer, { vertical: true, alignItems: "end", children: [
739
- item.rightTitle && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { className: "textValue", children: item.rightTitle }),
740
- item.rightSubtitle && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { className: "textValue subtitle", color: "secondary", size: "xs", children: item.rightSubtitle })
807
+ item.rightTitle && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { className: "textValue", children: item.rightTitle }),
808
+ item.rightSubtitle && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { className: "textValue subtitle", size: "xs", children: item.rightSubtitle })
741
809
  ] })
742
810
  ]
743
811
  }
@@ -745,26 +813,15 @@ function AccordionTable({
745
813
  }
746
814
  ),
747
815
  /* @__PURE__ */ jsxRuntime.jsxs(core.Accordion.Panel, { children: [
748
- item.subitems.data.length < 1 ? /* @__PURE__ */ jsxRuntime.jsx(core.Box, { css: ({ spacing }) => ({ padding: spacing * 2 }), children: /* @__PURE__ */ jsxRuntime.jsx(Typography.Paragraph, { align: "center", children: "No data" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(Table, { children: [
816
+ item.subitems.data.length < 1 ? /* @__PURE__ */ jsxRuntime.jsx(core.Box, { css: ({ spacing }) => ({ padding: spacing * 2 }), children: /* @__PURE__ */ jsxRuntime.jsx(core.Text, { ta: "center", children: "No data" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(Table, { noSpacing: true, children: [
749
817
  /* @__PURE__ */ jsxRuntime.jsx(Table.THead, { children: /* @__PURE__ */ jsxRuntime.jsxs(Table.Tr, { children: [
750
818
  item.subitems.columns.map((column, index) => /* @__PURE__ */ jsxRuntime.jsx(Table.Th, { align: index === 0 ? "left" : "right", expand: column.expand, shrink: column.shrink, children: column.title }, column.title)),
751
- showSelectColumn && /* @__PURE__ */ jsxRuntime.jsx(Table.Th, { align: "right", shrink: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
752
- "div",
753
- {
754
- css: {
755
- display: "flex",
756
- justifyContent: "start",
757
- alignItems: "center",
758
- gap: 8
759
- },
760
- children: [
761
- selectedAll && selectAll ? "Deselect" : "Select",
762
- selectAll && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: selectedAll, onChange: (checked) => selectAll(checked) })
763
- ]
764
- }
765
- ) })
819
+ showSelectColumn && /* @__PURE__ */ jsxRuntime.jsx(Table.Th, { align: "right", shrink: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 8, children: [
820
+ selectedAll && selectAll ? "Deselect" : "Select",
821
+ selectAll && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: selectedAll, onChange: (checked) => selectAll(checked) })
822
+ ] }) })
766
823
  ] }) }),
767
- /* @__PURE__ */ jsxRuntime.jsx(Table.TBody, { children: item.subitems.data.map((row) => /* @__PURE__ */ jsxRuntime.jsxs(Table.Tr, { selected: selectedItems?.includes(row.id), onClick: onSelectItems ? () => handleSelectItems(row.id) : void 0, children: [
824
+ /* @__PURE__ */ jsxRuntime.jsx(Table.TBody, { children: item.subitems.data.map((row) => /* @__PURE__ */ jsxRuntime.jsxs(Table.Tr, { noBg: true, selected: selectedItems?.includes(row.id), onClick: onSelectItems ? () => handleSelectItems(row.id) : void 0, children: [
768
825
  item.subitems.columns.map((column, index) => /* @__PURE__ */ jsxRuntime.jsx(
769
826
  Table.Td,
770
827
  {
@@ -776,17 +833,7 @@ function AccordionTable({
776
833
  },
777
834
  column.title
778
835
  )),
779
- showSelectColumn && /* @__PURE__ */ jsxRuntime.jsx(Table.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(
780
- "div",
781
- {
782
- css: {
783
- display: "flex",
784
- justifyContent: "center",
785
- alignItems: "center"
786
- },
787
- children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: selectedItems?.includes(row.id), onChange: () => handleSelectItems(row.id) })
788
- }
789
- ) })
836
+ showSelectColumn && /* @__PURE__ */ jsxRuntime.jsx(Table.Td, { children: /* @__PURE__ */ jsxRuntime.jsx(Flex, { align: "center", justify: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: selectedItems?.includes(row.id), onChange: () => handleSelectItems(row.id) }) }) })
790
837
  ] }, row.id)) })
791
838
  ] }),
792
839
  item.footer
@@ -798,8 +845,8 @@ function AccordionTable({
798
845
  }
799
846
  );
800
847
  }
801
- const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-DlkMWtvk.cjs")));
802
- const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-Dk7hov8r.cjs")));
848
+ const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-BrbjrA78.cjs")));
849
+ const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-C6pNvdxk.cjs")));
803
850
  function ActionCard({ header, content, footer, useHoverMode = false }) {
804
851
  const hasContent = !!content || !!footer;
805
852
  const initialVisibility = footer?.startHidden !== true;
@@ -883,7 +930,7 @@ function Loader({ size, color = "primary" }) {
883
930
  }
884
931
  const CARD_WIDTH$1 = 350;
885
932
  const CARD_HEADER_HEIGHT = 158;
886
- const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-C0M9EAJA.cjs")));
933
+ const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CHOB1QkU.cjs")));
887
934
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
888
935
  const wrapperRef = react$1.useRef(null);
889
936
  const handleOnClick = react$1.useCallback(
@@ -1318,7 +1365,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1318
1365
  document.body
1319
1366
  );
1320
1367
  }
1321
- const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-Cj0ojt2H.cjs")));
1368
+ const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-Bgc3QI4b.cjs")));
1322
1369
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1323
1370
  const shadowScrollRef = react$1.useRef(null);
1324
1371
  const wrapperContentAreaRef = react$1.useRef(null);
@@ -1897,63 +1944,6 @@ function HtmlRender({ content, className }) {
1897
1944
  const safeHTML = DOMPurify.sanitize(content, { FORBID_ATTR: ["style"] });
1898
1945
  return /* @__PURE__ */ jsxRuntime.jsx(StyleDOMApplier, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className, dangerouslySetInnerHTML: { __html: safeHTML } }) });
1899
1946
  }
1900
- const Flex = react$1.forwardRef(
1901
- ({
1902
- direction = "row",
1903
- align = "stretch",
1904
- justify = "flex-start",
1905
- gap = 0,
1906
- m = 0,
1907
- mt = 0,
1908
- mb = 0,
1909
- ml = 0,
1910
- mr = 0,
1911
- mx = 0,
1912
- my = 0,
1913
- p = 0,
1914
- pt = 0,
1915
- pb = 0,
1916
- pl = 0,
1917
- pr = 0,
1918
- px = 0,
1919
- py = 0,
1920
- bg,
1921
- radius = 0,
1922
- children,
1923
- ...props
1924
- }, ref) => {
1925
- const hasIndividualPadding = pt !== 0 || pb !== 0 || pl !== 0 || pr !== 0 || px !== 0 || py !== 0;
1926
- const hasIndividualMargin = mt !== 0 || mb !== 0 || ml !== 0 || mr !== 0 || mx !== 0 || my !== 0;
1927
- const style = {
1928
- display: "flex",
1929
- flexDirection: direction,
1930
- alignItems: align,
1931
- justifyContent: justify,
1932
- gap,
1933
- backgroundColor: bg,
1934
- borderRadius: radius,
1935
- ...props.style
1936
- };
1937
- if (hasIndividualMargin) {
1938
- if (mt !== 0 || my !== 0) style.marginTop = mt || my;
1939
- if (mb !== 0 || my !== 0) style.marginBottom = mb || my;
1940
- if (ml !== 0 || mx !== 0) style.marginLeft = ml || mx;
1941
- if (mr !== 0 || mx !== 0) style.marginRight = mr || mx;
1942
- } else if (m !== 0) {
1943
- style.margin = m;
1944
- }
1945
- if (hasIndividualPadding) {
1946
- if (pt !== 0 || py !== 0) style.paddingTop = pt || py;
1947
- if (pb !== 0 || py !== 0) style.paddingBottom = pb || py;
1948
- if (pl !== 0 || px !== 0) style.paddingLeft = pl || px;
1949
- if (pr !== 0 || px !== 0) style.paddingRight = pr || px;
1950
- } else if (p !== 0) {
1951
- style.padding = p;
1952
- }
1953
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, ...props, style, children });
1954
- }
1955
- );
1956
- Flex.displayName = "Flex";
1957
1947
  function Item({ icon, label, disabled, active, onClick }) {
1958
1948
  const IconComponent = icon;
1959
1949
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -2218,7 +2208,7 @@ function Avatar({ src, rounded = true, size = 62, did }) {
2218
2208
  }
2219
2209
  return /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
2220
2210
  }
2221
- const MIN_WIDTH = 200;
2211
+ const MIN_WIDTH = 360;
2222
2212
  const MAX_WIDTH = 700;
2223
2213
  function AsideResizable({ children, navbarWidth, asideMaximized, asideCollapsed = false, onAsideToggle, width = 450, onWidthChange, onMaxExpand }) {
2224
2214
  const [isResizing, setIsResizing] = react$1.useState(false);
@@ -4250,20 +4240,20 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4250
4240
  {
4251
4241
  className: css.cx({ open: isOpen }),
4252
4242
  style: { width },
4253
- css: ({ colors, bg }) => ({
4243
+ css: () => ({
4254
4244
  position: "relative",
4255
4245
  display: "inline-flex",
4256
4246
  flexDirection: "column",
4257
4247
  "&.open > div": {
4258
- backgroundColor: bg.card,
4259
- borderColor: colors.focus,
4248
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
4249
+ borderColor: "var(--mantine-color-neutralColor-6)",
4260
4250
  borderBottomLeftRadius: 0,
4261
4251
  borderBottomRightRadius: 0,
4262
- borderBottomColor: bg.card,
4252
+ borderBottomColor: "none",
4263
4253
  boxSizing: "border-box"
4264
4254
  },
4265
4255
  "&.open > ul": {
4266
- backgroundColor: bg.card,
4256
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
4267
4257
  display: "inline-flex"
4268
4258
  }
4269
4259
  }),
@@ -4314,7 +4304,7 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4314
4304
  "ul",
4315
4305
  {
4316
4306
  ...getMenuProps(),
4317
- css: ({ bg, colors, radius, spacing }) => ({
4307
+ css: ({ colors, radius, spacing }) => ({
4318
4308
  backgroundColor: colors.focusTransparent10,
4319
4309
  listStyle: "none",
4320
4310
  padding: 0,
@@ -4322,10 +4312,10 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4322
4312
  borderRadius: radius.medium,
4323
4313
  borderWidth: 1,
4324
4314
  borderStyle: "solid",
4325
- borderColor: colors.focus,
4315
+ borderColor: "var(--mantine-color-neutralColor-6)",
4326
4316
  borderTopRightRadius: 0,
4327
4317
  borderTopLeftRadius: 0,
4328
- borderTopColor: bg.card,
4318
+ borderTopColor: "var(--mantine-color-neutralColor-5)",
4329
4319
  display: "none",
4330
4320
  flexDirection: "column",
4331
4321
  gap: spacing,
@@ -4366,7 +4356,7 @@ function DropDown({ items, width = 162, placeholder = "Select", icon: Icon, disa
4366
4356
  }
4367
4357
  }),
4368
4358
  ...itemProps,
4369
- children: /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { children: item.label })
4359
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Text, { children: item.label })
4370
4360
  },
4371
4361
  item.value
4372
4362
  );
@@ -6034,13 +6024,13 @@ function ActionButton({ onClick, left, right }) {
6034
6024
  }
6035
6025
  );
6036
6026
  }
6037
- const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-DDO_4uZt.cjs")));
6038
- const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CH_RGOrj.cjs")));
6039
- const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-BxL26n-_.cjs")));
6027
+ const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-P3KEgBhv.cjs")));
6028
+ const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CR8fPC2b.cjs")));
6029
+ const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-Bgi4k5s-.cjs")));
6040
6030
  const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
6041
6031
  const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
6042
- const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-CGE72zCr.cjs")));
6043
- const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-BzlvAIua.cjs")));
6032
+ const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-C11vdiDH.cjs")));
6033
+ const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-CANUhwDW.cjs")));
6044
6034
  const HOVER_BORDER_WIDTH = 1;
6045
6035
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
6046
6036
  const wrapperRef = react$1.useRef(null);
@@ -8147,6 +8137,7 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8147
8137
  paddingRight: 0,
8148
8138
  borderTop: "1px solid var(--mantine-color-neutralColor-6)",
8149
8139
  borderBottom: "1px solid var(--mantine-color-neutralColor-6)",
8140
+ border: "none",
8150
8141
  paddingTop: spacing * 1.5,
8151
8142
  paddingBottom: spacing * 1.5,
8152
8143
  "&.compact": {
@@ -8154,7 +8145,6 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8154
8145
  paddingBottom: 0
8155
8146
  },
8156
8147
  "&:last-child": {
8157
- borderRight: "1px solid var(--mantine-color-neutralColor-6)",
8158
8148
  paddingRight: spacing * 2,
8159
8149
  "&.compact": {
8160
8150
  paddingRight: 0
@@ -8458,6 +8448,7 @@ function TableList({
8458
8448
  padding: spacing,
8459
8449
  height: 38,
8460
8450
  textAlign: "left",
8451
+ border: "none",
8461
8452
  "&.first": {
8462
8453
  paddingLeft: rowImageColumn ? spacing : spacing * 3,
8463
8454
  "&.compact": {
@@ -8480,7 +8471,7 @@ function TableList({
8480
8471
  }),
8481
8472
  children: column.sortable ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: (() => {
8482
8473
  const isSorted = sort?.field === column.field;
8483
- const color = isSorted ? "primary" : "focusSecondary";
8474
+ const color = isSorted ? "accent.5" : "accent.3";
8484
8475
  return /* @__PURE__ */ jsxRuntime.jsxs(
8485
8476
  "button",
8486
8477
  {
@@ -8504,7 +8495,7 @@ function TableList({
8504
8495
  direction: sort?.direction === "ASC" ? "DESC" : "ASC"
8505
8496
  }),
8506
8497
  children: [
8507
- column.title !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { color, size: "s", semiBold: true, children: column.title }),
8498
+ column.title !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: color, size: "sm", children: column.title }),
8508
8499
  /* @__PURE__ */ jsxRuntime.jsxs(
8509
8500
  "div",
8510
8501
  {
@@ -8513,15 +8504,15 @@ function TableList({
8513
8504
  height: spacing * 2
8514
8505
  }),
8515
8506
  children: [
8516
- isSorted && sort?.direction === "ASC" && /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowUpSolid, { color, size: 16 }),
8517
- isSorted && sort?.direction === "DESC" && /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowDownSolid, { color, size: 16 })
8507
+ isSorted && sort?.direction === "ASC" && /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowUpSolid, { size: 16 }),
8508
+ isSorted && sort?.direction === "DESC" && /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowDownSolid, { size: 16 })
8518
8509
  ]
8519
8510
  }
8520
8511
  )
8521
8512
  ]
8522
8513
  }
8523
8514
  );
8524
- })() }) : /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { color: "focusSecondary", size: "s", semiBold: true, children: column.title })
8515
+ })() }) : /* @__PURE__ */ jsxRuntime.jsx(core.Text, { size: "sm", children: column.title })
8525
8516
  },
8526
8517
  column.field
8527
8518
  );
@@ -8567,6 +8558,7 @@ function TableList({
8567
8558
  borderStyle: "solid",
8568
8559
  borderWidth: 1,
8569
8560
  borderColor: "transparent",
8561
+ border: "none",
8570
8562
  backgroundColor: isRowSelected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
8571
8563
  color: "var(--mantine-color-neutralColor-8)"
8572
8564
  },
@@ -8585,13 +8577,7 @@ function TableList({
8585
8577
  "&.selected": {
8586
8578
  td: {
8587
8579
  borderTopColor: "var(--mantine-color-accent-5)",
8588
- borderBottomColor: "var(--mantine-color-accent-5)",
8589
- "&:first-of-type": {
8590
- borderLeftColor: "var(--mantine-color-accent-5)"
8591
- },
8592
- "&:last-of-type": {
8593
- borderRightColor: "var(--mantine-color-accent-5)"
8594
- }
8580
+ borderBottomColor: "var(--mantine-color-accent-5)"
8595
8581
  }
8596
8582
  },
8597
8583
  "&.clickable": {
@@ -8673,8 +8659,8 @@ function TableList({
8673
8659
  justifyContent: "center"
8674
8660
  },
8675
8661
  children: [
8676
- /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { size: "regular", children: row[column.field] }),
8677
- subtitle && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { size: "xs", color: "focusSecondary", className: "subtitle", children: subtitle })
8662
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { children: row[column.field] }),
8663
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { size: "xs", c: "accent", className: "subtitle", children: subtitle })
8678
8664
  ]
8679
8665
  }
8680
8666
  ),
@@ -11319,4 +11305,4 @@ exports.UserMessage = UserMessage;
11319
11305
  exports.WorkspaceModal = WorkspaceModal;
11320
11306
  exports.cutText = cutText;
11321
11307
  exports.isValidClick = isValidClick;
11322
- //# sourceMappingURL=components-C2SQgRSz.cjs.map
11308
+ //# sourceMappingURL=components-YkshqT-o.cjs.map