@tipp/ui 2.1.9 → 2.1.11

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 (108) hide show
  1. package/dist/app/index.cjs.map +1 -1
  2. package/dist/app/index.js +1 -1
  3. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  4. package/dist/app/platform/edit-coaching-time.js +1 -1
  5. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  6. package/dist/app/platform/edit-service-type.js +1 -1
  7. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  8. package/dist/app/platform/goal-manage-card-edit.js +1 -1
  9. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  10. package/dist/app/platform/on-offline-radio-card.js +1 -1
  11. package/dist/app/platform/reservation-card.cjs.map +1 -1
  12. package/dist/app/platform/reservation-card.js +1 -1
  13. package/dist/app/platform/session-card.cjs.map +1 -1
  14. package/dist/app/platform/session-card.js +1 -1
  15. package/dist/chunk-2T7JCRER.js +30 -0
  16. package/dist/chunk-2T7JCRER.js.map +1 -0
  17. package/dist/chunk-3H5JZH44.js +192 -0
  18. package/dist/chunk-3H5JZH44.js.map +1 -0
  19. package/dist/chunk-3RNLOJ3Z.js +63 -0
  20. package/dist/chunk-3RNLOJ3Z.js.map +1 -0
  21. package/dist/chunk-535PWEKB.js +192 -0
  22. package/dist/chunk-535PWEKB.js.map +1 -0
  23. package/dist/chunk-B36RAS3U.js +37 -0
  24. package/dist/chunk-B36RAS3U.js.map +1 -0
  25. package/dist/chunk-BX5F5FIY.js +51 -0
  26. package/dist/chunk-BX5F5FIY.js.map +1 -0
  27. package/dist/chunk-CPH6OVGY.js +63 -0
  28. package/dist/chunk-CPH6OVGY.js.map +1 -0
  29. package/dist/chunk-ECOW2GOO.js +98 -0
  30. package/dist/chunk-ECOW2GOO.js.map +1 -0
  31. package/dist/chunk-GIRU6LCT.js +123 -0
  32. package/dist/chunk-GIRU6LCT.js.map +1 -0
  33. package/dist/chunk-HNO5SCLZ.js +192 -0
  34. package/dist/chunk-HNO5SCLZ.js.map +1 -0
  35. package/dist/chunk-HQGFHFGR.js +123 -0
  36. package/dist/chunk-HQGFHFGR.js.map +1 -0
  37. package/dist/chunk-I6NVQV5Q.js +59 -0
  38. package/dist/chunk-I6NVQV5Q.js.map +1 -0
  39. package/dist/chunk-J27CSA2I.js +59 -0
  40. package/dist/chunk-J27CSA2I.js.map +1 -0
  41. package/dist/chunk-J52WPSWU.js +150 -0
  42. package/dist/chunk-J52WPSWU.js.map +1 -0
  43. package/dist/chunk-JXNELVQI.js +144 -0
  44. package/dist/chunk-JXNELVQI.js.map +1 -0
  45. package/dist/chunk-K2MWDCUN.js +61 -0
  46. package/dist/chunk-K2MWDCUN.js.map +1 -0
  47. package/dist/chunk-K43UQM5K.js +29 -0
  48. package/dist/chunk-K43UQM5K.js.map +1 -0
  49. package/dist/chunk-K5YEAJYF.js +174 -0
  50. package/dist/chunk-K5YEAJYF.js.map +1 -0
  51. package/dist/chunk-LPLXVTDP.js +192 -0
  52. package/dist/chunk-LPLXVTDP.js.map +1 -0
  53. package/dist/chunk-LYSC27W7.js +145 -0
  54. package/dist/chunk-LYSC27W7.js.map +1 -0
  55. package/dist/chunk-MHQTP5GH.js +150 -0
  56. package/dist/chunk-MHQTP5GH.js.map +1 -0
  57. package/dist/chunk-MZ3VW66Q.js +89 -0
  58. package/dist/chunk-MZ3VW66Q.js.map +1 -0
  59. package/dist/chunk-NXECPRLF.js +192 -0
  60. package/dist/chunk-NXECPRLF.js.map +1 -0
  61. package/dist/chunk-O5VFW7GH.js +59 -0
  62. package/dist/chunk-O5VFW7GH.js.map +1 -0
  63. package/dist/chunk-OBR3PYFG.js +89 -0
  64. package/dist/chunk-OBR3PYFG.js.map +1 -0
  65. package/dist/chunk-OY7YLOWY.js +69 -0
  66. package/dist/chunk-OY7YLOWY.js.map +1 -0
  67. package/dist/chunk-QQ5DIV3E.js +89 -0
  68. package/dist/chunk-QQ5DIV3E.js.map +1 -0
  69. package/dist/chunk-QTUOT7HX.js +59 -0
  70. package/dist/chunk-QTUOT7HX.js.map +1 -0
  71. package/dist/chunk-SPKSNWII.js +101 -0
  72. package/dist/chunk-SPKSNWII.js.map +1 -0
  73. package/dist/chunk-TNMIE7WN.js +192 -0
  74. package/dist/chunk-TNMIE7WN.js.map +1 -0
  75. package/dist/chunk-VTNGVFOL.js +123 -0
  76. package/dist/chunk-VTNGVFOL.js.map +1 -0
  77. package/dist/chunk-VVMUR24Y.js +281 -0
  78. package/dist/chunk-VVMUR24Y.js.map +1 -0
  79. package/dist/chunk-WNFEYK6I.js +123 -0
  80. package/dist/chunk-WNFEYK6I.js.map +1 -0
  81. package/dist/chunk-WNYT4BQZ.js +89 -0
  82. package/dist/chunk-WNYT4BQZ.js.map +1 -0
  83. package/dist/chunk-WPLJHMMO.js +87 -0
  84. package/dist/chunk-WPLJHMMO.js.map +1 -0
  85. package/dist/chunk-WRTFAPEW.js +49 -0
  86. package/dist/chunk-WRTFAPEW.js.map +1 -0
  87. package/dist/chunk-WZBMMXTJ.js +59 -0
  88. package/dist/chunk-WZBMMXTJ.js.map +1 -0
  89. package/dist/chunk-XDVRMLAH.js +42 -0
  90. package/dist/chunk-XDVRMLAH.js.map +1 -0
  91. package/dist/chunk-XPKOBDJ7.js +43 -0
  92. package/dist/chunk-XPKOBDJ7.js.map +1 -0
  93. package/dist/chunk-YDNYSZ4R.js +89 -0
  94. package/dist/chunk-YDNYSZ4R.js.map +1 -0
  95. package/dist/chunk-ZS32P3T5.js +123 -0
  96. package/dist/chunk-ZS32P3T5.js.map +1 -0
  97. package/dist/index.cjs +66 -64
  98. package/dist/index.cjs.map +1 -1
  99. package/dist/index.css +46 -21
  100. package/dist/index.js +1 -1
  101. package/dist/molecules/expand-table/index.cjs +66 -64
  102. package/dist/molecules/expand-table/index.cjs.map +1 -1
  103. package/dist/molecules/expand-table/index.js +1 -1
  104. package/dist/molecules/index.cjs +66 -64
  105. package/dist/molecules/index.cjs.map +1 -1
  106. package/dist/molecules/index.js +1 -1
  107. package/package.json +1 -1
  108. package/src/molecules/expand-table/index.tsx +12 -11
@@ -1640,7 +1640,7 @@ function ExpandTable(props) {
1640
1640
  const gridTemplateColumns = (0, import_react21.useMemo)(() => {
1641
1641
  return columns.map((col) => {
1642
1642
  var _a;
1643
- if ((_a = col.meta) == null ? void 0 : _a.autoSize) return "1fr";
1643
+ if ((_a = col.meta) == null ? void 0 : _a.autoSize) return `minmax(${col.size || 50}px, 1fr)`;
1644
1644
  return `${col.size || 150}px`;
1645
1645
  }).join(" ");
1646
1646
  }, [columns]);
@@ -1677,71 +1677,73 @@ function ExpandTable(props) {
1677
1677
  if (!data) return 0;
1678
1678
  return Math.ceil(data.length / pageSize);
1679
1679
  }, [data, pageSize]);
1680
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
1681
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1682
- "div",
1683
- {
1684
- className: "tr",
1685
- style: { gridTemplateColumns },
1686
- children: headerGroup.headers.map((header) => {
1687
- var _a;
1688
- const sortable = header.column.getCanSort();
1689
- const sortedState = header.column.getIsSorted();
1690
- const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
1691
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1692
- "button",
1693
- {
1694
- onClick: header.column.getToggleSortingHandler(),
1695
- style: sortable ? { cursor: "pointer" } : { cursor: "default" },
1696
- type: "button",
1697
- children: [
1698
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
1699
- header.column.columnDef.header,
1700
- header.getContext()
1701
- ) }),
1702
- sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1703
- import_themes22.Flex,
1704
- {
1705
- direction: "column",
1706
- style: { marginLeft: "var(--space-2)" },
1707
- children: [
1708
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1709
- TriangleArrowUpIcon,
1710
- {
1711
- color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
1712
- }
1713
- ),
1714
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1715
- TriangleArrowDownIcon,
1716
- {
1717
- color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
1718
- }
1719
- )
1720
- ]
1721
- }
1722
- ) : null
1723
- ]
1724
- }
1725
- ) }, header.id);
1726
- })
1727
- },
1728
- headerGroup.id
1729
- )) }),
1730
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
1731
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1732
- Row,
1680
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table-wrapper", children: [
1681
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
1682
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1683
+ "div",
1733
1684
  {
1734
- ExpandComp,
1735
- defaultAlign,
1736
- getCellStyle,
1737
- getRowStyle,
1738
- gridTemplateColumns,
1739
- onRowClick,
1740
- row
1685
+ className: "tr",
1686
+ style: { gridTemplateColumns },
1687
+ children: headerGroup.headers.map((header) => {
1688
+ var _a;
1689
+ const sortable = header.column.getCanSort();
1690
+ const sortedState = header.column.getIsSorted();
1691
+ const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
1692
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1693
+ "button",
1694
+ {
1695
+ onClick: header.column.getToggleSortingHandler(),
1696
+ style: sortable ? { cursor: "pointer" } : { cursor: "default" },
1697
+ type: "button",
1698
+ children: [
1699
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
1700
+ header.column.columnDef.header,
1701
+ header.getContext()
1702
+ ) }),
1703
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1704
+ import_themes22.Flex,
1705
+ {
1706
+ direction: "column",
1707
+ style: { marginLeft: "var(--space-2)" },
1708
+ children: [
1709
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1710
+ TriangleArrowUpIcon,
1711
+ {
1712
+ color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
1713
+ }
1714
+ ),
1715
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1716
+ TriangleArrowDownIcon,
1717
+ {
1718
+ color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
1719
+ }
1720
+ )
1721
+ ]
1722
+ }
1723
+ ) : null
1724
+ ]
1725
+ }
1726
+ ) }, header.id);
1727
+ })
1741
1728
  },
1742
- `row_${row.id}`
1743
- );
1744
- }) }),
1729
+ headerGroup.id
1730
+ )) }),
1731
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
1732
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1733
+ Row,
1734
+ {
1735
+ ExpandComp,
1736
+ defaultAlign,
1737
+ getCellStyle,
1738
+ getRowStyle,
1739
+ gridTemplateColumns,
1740
+ onRowClick,
1741
+ row
1742
+ },
1743
+ `row_${row.id}`
1744
+ );
1745
+ }) })
1746
+ ] }),
1745
1747
  showPagination ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1746
1748
  Pagination,
1747
1749
  {