@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
package/dist/index.cjs CHANGED
@@ -1982,7 +1982,7 @@ function ExpandTable(props) {
1982
1982
  const gridTemplateColumns = (0, import_react21.useMemo)(() => {
1983
1983
  return columns.map((col) => {
1984
1984
  var _a;
1985
- if ((_a = col.meta) == null ? void 0 : _a.autoSize) return "1fr";
1985
+ if ((_a = col.meta) == null ? void 0 : _a.autoSize) return `minmax(${col.size || 50}px, 1fr)`;
1986
1986
  return `${col.size || 150}px`;
1987
1987
  }).join(" ");
1988
1988
  }, [columns]);
@@ -2019,71 +2019,73 @@ function ExpandTable(props) {
2019
2019
  if (!data) return 0;
2020
2020
  return Math.ceil(data.length / pageSize);
2021
2021
  }, [data, pageSize]);
2022
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
2023
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2024
- "div",
2025
- {
2026
- className: "tr",
2027
- style: { gridTemplateColumns },
2028
- children: headerGroup.headers.map((header) => {
2029
- var _a;
2030
- const sortable = header.column.getCanSort();
2031
- const sortedState = header.column.getIsSorted();
2032
- const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
2033
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2034
- "button",
2035
- {
2036
- onClick: header.column.getToggleSortingHandler(),
2037
- style: sortable ? { cursor: "pointer" } : { cursor: "default" },
2038
- type: "button",
2039
- children: [
2040
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
2041
- header.column.columnDef.header,
2042
- header.getContext()
2043
- ) }),
2044
- sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2045
- import_themes22.Flex,
2046
- {
2047
- direction: "column",
2048
- style: { marginLeft: "var(--space-2)" },
2049
- children: [
2050
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2051
- TriangleArrowUpIcon,
2052
- {
2053
- color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
2054
- }
2055
- ),
2056
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2057
- TriangleArrowDownIcon,
2058
- {
2059
- color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
2060
- }
2061
- )
2062
- ]
2063
- }
2064
- ) : null
2065
- ]
2066
- }
2067
- ) }, header.id);
2068
- })
2069
- },
2070
- headerGroup.id
2071
- )) }),
2072
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
2073
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2074
- Row,
2022
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table-wrapper", children: [
2023
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "expand-table", style: tableStyle, children: [
2024
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2025
+ "div",
2075
2026
  {
2076
- ExpandComp,
2077
- defaultAlign,
2078
- getCellStyle,
2079
- getRowStyle,
2080
- gridTemplateColumns,
2081
- onRowClick,
2082
- row
2027
+ className: "tr",
2028
+ style: { gridTemplateColumns },
2029
+ children: headerGroup.headers.map((header) => {
2030
+ var _a;
2031
+ const sortable = header.column.getCanSort();
2032
+ const sortedState = header.column.getIsSorted();
2033
+ const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
2034
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2035
+ "button",
2036
+ {
2037
+ onClick: header.column.getToggleSortingHandler(),
2038
+ style: sortable ? { cursor: "pointer" } : { cursor: "default" },
2039
+ type: "button",
2040
+ children: [
2041
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typo, { as: "div", variant: "body", children: (0, import_react_table2.flexRender)(
2042
+ header.column.columnDef.header,
2043
+ header.getContext()
2044
+ ) }),
2045
+ sortable ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2046
+ import_themes22.Flex,
2047
+ {
2048
+ direction: "column",
2049
+ style: { marginLeft: "var(--space-2)" },
2050
+ children: [
2051
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2052
+ TriangleArrowUpIcon,
2053
+ {
2054
+ color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
2055
+ }
2056
+ ),
2057
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2058
+ TriangleArrowDownIcon,
2059
+ {
2060
+ color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
2061
+ }
2062
+ )
2063
+ ]
2064
+ }
2065
+ ) : null
2066
+ ]
2067
+ }
2068
+ ) }, header.id);
2069
+ })
2083
2070
  },
2084
- `row_${row.id}`
2085
- );
2086
- }) }),
2071
+ headerGroup.id
2072
+ )) }),
2073
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "tbody", children: helpCompRender(rowModels.rows.length) || rowModels.rows.map((row) => {
2074
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2075
+ Row,
2076
+ {
2077
+ ExpandComp,
2078
+ defaultAlign,
2079
+ getCellStyle,
2080
+ getRowStyle,
2081
+ gridTemplateColumns,
2082
+ onRowClick,
2083
+ row
2084
+ },
2085
+ `row_${row.id}`
2086
+ );
2087
+ }) })
2088
+ ] }),
2087
2089
  showPagination ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_themes22.Flex, { justify: "end", pt: "3", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2088
2090
  Pagination,
2089
2091
  {