@ixo/ui 0.1.3 → 0.1.4

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 (51) hide show
  1. package/dist/.vite/manifest.json +43 -43
  2. package/dist/components/TableList/Cell.d.ts.map +1 -1
  3. package/dist/components/TableList/IconRow.d.ts.map +1 -1
  4. package/dist/components/TableList/index.d.ts.map +1 -1
  5. package/dist/{components-CMx1Z6qW.cjs → components-C2SQgRSz.cjs} +37 -49
  6. package/dist/{components-CMx1Z6qW.cjs.map → components-C2SQgRSz.cjs.map} +1 -1
  7. package/dist/{components-BfMR4Jm_.js → components-DXWFikYD.js} +37 -49
  8. package/dist/{components-BfMR4Jm_.js.map → components-DXWFikYD.js.map} +1 -1
  9. package/dist/export/components.cjs +1 -1
  10. package/dist/export/components.mjs +1 -1
  11. package/dist/{index-DKU106Gm.js → index-7zomOTPG.js} +2 -2
  12. package/dist/{index-DKU106Gm.js.map → index-7zomOTPG.js.map} +1 -1
  13. package/dist/{index-BT-G2YjM.js → index-BFBqYWEa.js} +3 -3
  14. package/dist/{index-BT-G2YjM.js.map → index-BFBqYWEa.js.map} +1 -1
  15. package/dist/{index-BAz_xpVr.js → index-Bs0LG269.js} +2 -2
  16. package/dist/{index-BAz_xpVr.js.map → index-Bs0LG269.js.map} +1 -1
  17. package/dist/{index-C697oQC3.cjs → index-BxL26n-_.cjs} +2 -2
  18. package/dist/{index-C697oQC3.cjs.map → index-BxL26n-_.cjs.map} +1 -1
  19. package/dist/{index-BnDLND8p.cjs → index-BzlvAIua.cjs} +3 -3
  20. package/dist/{index-BnDLND8p.cjs.map → index-BzlvAIua.cjs.map} +1 -1
  21. package/dist/{index-j30UxndW.cjs → index-C0M9EAJA.cjs} +2 -2
  22. package/dist/{index-j30UxndW.cjs.map → index-C0M9EAJA.cjs.map} +1 -1
  23. package/dist/{index-BfDwRtFi.cjs → index-C0_y2x26.cjs} +2 -2
  24. package/dist/{index-BfDwRtFi.cjs.map → index-C0_y2x26.cjs.map} +1 -1
  25. package/dist/{index-BtFFAaIr.js → index-CAdlSthO.js} +2 -2
  26. package/dist/{index-BtFFAaIr.js.map → index-CAdlSthO.js.map} +1 -1
  27. package/dist/{index-xLk8g4d_.cjs → index-CGE72zCr.cjs} +2 -2
  28. package/dist/{index-xLk8g4d_.cjs.map → index-CGE72zCr.cjs.map} +1 -1
  29. package/dist/{index-P7O0pqQQ.js → index-CGRAANQ8.js} +2 -2
  30. package/dist/{index-P7O0pqQQ.js.map → index-CGRAANQ8.js.map} +1 -1
  31. package/dist/{index-CUP32wrD.cjs → index-CH_RGOrj.cjs} +2 -2
  32. package/dist/{index-CUP32wrD.cjs.map → index-CH_RGOrj.cjs.map} +1 -1
  33. package/dist/{index-CzELlodl.cjs → index-Cj0ojt2H.cjs} +2 -2
  34. package/dist/{index-CzELlodl.cjs.map → index-Cj0ojt2H.cjs.map} +1 -1
  35. package/dist/{index-DKH0pkHE.js → index-D05G6loY.js} +3 -3
  36. package/dist/{index-DKH0pkHE.js.map → index-D05G6loY.js.map} +1 -1
  37. package/dist/{index-D3n59w3g.js → index-DBQqIQa5.js} +2 -2
  38. package/dist/{index-D3n59w3g.js.map → index-DBQqIQa5.js.map} +1 -1
  39. package/dist/{index-B012tdby.cjs → index-DDO_4uZt.cjs} +2 -2
  40. package/dist/{index-B012tdby.cjs.map → index-DDO_4uZt.cjs.map} +1 -1
  41. package/dist/{index-By8bP9F4.js → index-DEJUkGPI.js} +2 -2
  42. package/dist/{index-By8bP9F4.js.map → index-DEJUkGPI.js.map} +1 -1
  43. package/dist/{index-BA_IGjzx.js → index-DZyjcXlR.js} +2 -2
  44. package/dist/{index-BA_IGjzx.js.map → index-DZyjcXlR.js.map} +1 -1
  45. package/dist/{index-LPfRhRqy.cjs → index-Dk7hov8r.cjs} +3 -3
  46. package/dist/{index-LPfRhRqy.cjs.map → index-Dk7hov8r.cjs.map} +1 -1
  47. package/dist/{index-Mjt1S0Pd.cjs → index-DlkMWtvk.cjs} +2 -2
  48. package/dist/{index-Mjt1S0Pd.cjs.map → index-DlkMWtvk.cjs.map} +1 -1
  49. package/dist/{index-3sr4i_O3.js → index-NnvW31qR.js} +2 -2
  50. package/dist/{index-3sr4i_O3.js.map → index-NnvW31qR.js.map} +1 -1
  51. package/package.json +1 -1
@@ -534,7 +534,7 @@ function Tr({ children, selected, onClick }) {
534
534
  color: "var(--mantine-color-neutralColor-8)"
535
535
  },
536
536
  "&:hover > td": {
537
- backgroundColor: onClick ? "var(--mantine-color-neutralColor-8)" : void 0
537
+ backgroundColor: onClick ? "var(--mantine-color-neutralColor-1)" : void 0
538
538
  }
539
539
  };
540
540
  },
@@ -775,8 +775,8 @@ function AccordionTable({
775
775
  }
776
776
  );
777
777
  }
778
- const Header$3 = lazy(() => import("./index-By8bP9F4.js"));
779
- const Footer = lazy(() => import("./index-BT-G2YjM.js"));
778
+ const Header$3 = lazy(() => import("./index-DEJUkGPI.js"));
779
+ const Footer = lazy(() => import("./index-BFBqYWEa.js"));
780
780
  function ActionCard({ header, content, footer, useHoverMode = false }) {
781
781
  const hasContent = !!content || !!footer;
782
782
  const initialVisibility = footer?.startHidden !== true;
@@ -860,7 +860,7 @@ function Loader({ size, color = "primary" }) {
860
860
  }
861
861
  const CARD_WIDTH$1 = 350;
862
862
  const CARD_HEADER_HEIGHT = 158;
863
- const Header$2 = lazy(() => import("./index-BtFFAaIr.js"));
863
+ const Header$2 = lazy(() => import("./index-CAdlSthO.js"));
864
864
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
865
865
  const wrapperRef = useRef(null);
866
866
  const handleOnClick = useCallback(
@@ -1295,7 +1295,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1295
1295
  document.body
1296
1296
  );
1297
1297
  }
1298
- const Badge = lazy(() => import("./index-BAz_xpVr.js"));
1298
+ const Badge = lazy(() => import("./index-Bs0LG269.js"));
1299
1299
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1300
1300
  const shadowScrollRef = useRef(null);
1301
1301
  const wrapperContentAreaRef = useRef(null);
@@ -6011,13 +6011,13 @@ function ActionButton({ onClick, left, right }) {
6011
6011
  }
6012
6012
  );
6013
6013
  }
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"));
6014
+ const MainAction = lazy(() => import("./index-DZyjcXlR.js"));
6015
+ const Header$1 = lazy(() => import("./index-7zomOTPG.js"));
6016
+ const Content = lazy(() => import("./index-CGRAANQ8.js"));
6017
6017
  const Map = lazy(() => import("./index-D5Ufmf-s.js"));
6018
6018
  const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
6019
- const Assets = lazy(() => import("./index-D3n59w3g.js"));
6020
- const Actions = lazy(() => import("./index-DKH0pkHE.js"));
6019
+ const Assets = lazy(() => import("./index-DBQqIQa5.js"));
6020
+ const Actions = lazy(() => import("./index-D05G6loY.js"));
6021
6021
  const HOVER_BORDER_WIDTH = 1;
6022
6022
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
6023
6023
  const wrapperRef = useRef(null);
@@ -8119,12 +8119,11 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8119
8119
  compact,
8120
8120
  shrink
8121
8121
  }),
8122
- css: ({ spacing, bg, colors }) => ({
8123
- background: bg.card,
8122
+ css: ({ spacing }) => ({
8124
8123
  paddingLeft: 0,
8125
8124
  paddingRight: 0,
8126
- borderTop: `1px solid ${colors.focusTransparent20}`,
8127
- borderBottom: `1px solid ${colors.focusTransparent20}`,
8125
+ borderTop: "1px solid var(--mantine-color-neutralColor-6)",
8126
+ borderBottom: "1px solid var(--mantine-color-neutralColor-6)",
8128
8127
  paddingTop: spacing * 1.5,
8129
8128
  paddingBottom: spacing * 1.5,
8130
8129
  "&.compact": {
@@ -8132,7 +8131,7 @@ function Cell({ children, withImage, withDualImage, isFirstColumn, isLastColumn,
8132
8131
  paddingBottom: 0
8133
8132
  },
8134
8133
  "&:last-child": {
8135
- borderRight: `1px solid ${colors.focusTransparent20}`,
8134
+ borderRight: "1px solid var(--mantine-color-neutralColor-6)",
8136
8135
  paddingRight: spacing * 2,
8137
8136
  "&.compact": {
8138
8137
  paddingRight: 0
@@ -8193,8 +8192,8 @@ function CellContent({
8193
8192
  "emulate-checkbox-area": emulateCheckboxArea,
8194
8193
  "vertical-align": verticalAlign
8195
8194
  }),
8196
- css: ({ bg, spacing }) => ({
8197
- background: bg.cell,
8195
+ css: ({ spacing }) => ({
8196
+ background: "var(--mantine-color-neutralColor-6)",
8198
8197
  height: 54,
8199
8198
  padding: spacing,
8200
8199
  display: "flex",
@@ -8239,8 +8238,7 @@ function IconRowCmp({ icon: Icon }) {
8239
8238
  return /* @__PURE__ */ jsx(
8240
8239
  "div",
8241
8240
  {
8242
- css: ({ bg, spacing }) => ({
8243
- background: bg.cell,
8241
+ css: ({ spacing }) => ({
8244
8242
  borderTopLeftRadius: spacing * 2,
8245
8243
  borderBottomLeftRadius: spacing * 2,
8246
8244
  display: "flex",
@@ -8541,21 +8539,18 @@ function TableList({
8541
8539
  selected: isRowSelected,
8542
8540
  clickable: !!onRowClick
8543
8541
  }),
8544
- css: ({ colors, transition }) => ({
8542
+ css: () => ({
8545
8543
  "& > 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
- }
8544
+ borderStyle: "solid",
8545
+ borderWidth: 1,
8546
+ borderColor: "transparent",
8547
+ backgroundColor: isRowSelected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
8548
+ color: "var(--mantine-color-neutralColor-8)"
8554
8549
  },
8555
8550
  "& .subtitle": {
8556
8551
  opacity: 0,
8557
8552
  height: 0,
8558
- transition: transition.duration
8553
+ transition: "opacity 0.2s ease, height 0.2s ease"
8559
8554
  },
8560
8555
  "&:hover .subtitle": {
8561
8556
  opacity: 1,
@@ -8566,29 +8561,22 @@ function TableList({
8566
8561
  },
8567
8562
  "&.selected": {
8568
8563
  td: {
8569
- borderTopColor: colors.focus,
8570
- borderBottomColor: colors.focus,
8564
+ borderTopColor: "var(--mantine-color-accent-5)",
8565
+ borderBottomColor: "var(--mantine-color-accent-5)",
8571
8566
  "&:first-of-type": {
8572
- borderLeftColor: colors.focus
8567
+ borderLeftColor: "var(--mantine-color-accent-5)"
8573
8568
  },
8574
8569
  "&:last-of-type": {
8575
- borderRightColor: colors.focus
8570
+ borderRightColor: "var(--mantine-color-accent-5)"
8576
8571
  }
8577
8572
  }
8578
8573
  },
8579
8574
  "&.clickable": {
8580
- cursor: "default",
8581
- transition: transition.duration,
8575
+ cursor: "pointer",
8576
+ transition: "background-color 0.2s ease",
8582
8577
  "&:hover": {
8583
8578
  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
- }
8579
+ backgroundColor: "var(--mantine-color-neutralColor-1)"
8592
8580
  }
8593
8581
  }
8594
8582
  }
@@ -8597,13 +8585,13 @@ function TableList({
8597
8585
  IconRow !== false && /* @__PURE__ */ jsx(
8598
8586
  "td",
8599
8587
  {
8600
- css: ({ spacing, bg, colors }) => ({
8601
- background: bg.card,
8588
+ css: ({ spacing }) => ({
8589
+ background: isRowSelected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
8602
8590
  borderTopLeftRadius: spacing * 2,
8603
8591
  borderBottomLeftRadius: spacing * 2,
8604
- borderTop: `1px solid ${colors.focusTransparent20}`,
8605
- borderBottom: `1px solid ${colors.focusTransparent20}`,
8606
- borderLeft: `1px solid ${colors.focusTransparent20}`,
8592
+ borderTop: "1px solid var(--mantine-color-neutralColor-6)",
8593
+ borderBottom: "1px solid var(--mantine-color-neutralColor-6)",
8594
+ borderLeft: "1px solid var(--mantine-color-neutralColor-6)",
8607
8595
  position: "relative",
8608
8596
  width: spacing * 5.75 + spacing * 2
8609
8597
  }),
@@ -11310,4 +11298,4 @@ export {
11310
11298
  CardHero as y,
11311
11299
  CardSelector as z
11312
11300
  };
11313
- //# sourceMappingURL=components-BfMR4Jm_.js.map
11301
+ //# sourceMappingURL=components-DXWFikYD.js.map