@tipp/ui 2.1.9 → 2.1.10

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 (67) hide show
  1. package/dist/app/index.cjs.map +1 -1
  2. package/dist/app/index.js +12 -12
  3. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  4. package/dist/app/platform/edit-coaching-time.js +8 -8
  5. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  6. package/dist/app/platform/edit-service-type.js +8 -8
  7. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  8. package/dist/app/platform/goal-manage-card-edit.js +8 -8
  9. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  10. package/dist/app/platform/on-offline-radio-card.js +8 -8
  11. package/dist/app/platform/reservation-card.cjs.map +1 -1
  12. package/dist/app/platform/reservation-card.js +8 -8
  13. package/dist/app/platform/session-card.cjs.map +1 -1
  14. package/dist/app/platform/session-card.js +8 -8
  15. package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
  16. package/dist/chunk-2T7JCRER.js +30 -0
  17. package/dist/chunk-2T7JCRER.js.map +1 -0
  18. package/dist/chunk-HNO5SCLZ.js +192 -0
  19. package/dist/chunk-HNO5SCLZ.js.map +1 -0
  20. package/dist/chunk-HQGFHFGR.js +123 -0
  21. package/dist/chunk-HQGFHFGR.js.map +1 -0
  22. package/dist/chunk-I6NVQV5Q.js +59 -0
  23. package/dist/chunk-I6NVQV5Q.js.map +1 -0
  24. package/dist/chunk-J27CSA2I.js +59 -0
  25. package/dist/chunk-J27CSA2I.js.map +1 -0
  26. package/dist/chunk-J52WPSWU.js +150 -0
  27. package/dist/chunk-J52WPSWU.js.map +1 -0
  28. package/dist/chunk-LPLXVTDP.js +192 -0
  29. package/dist/chunk-LPLXVTDP.js.map +1 -0
  30. package/dist/chunk-MZ3VW66Q.js +89 -0
  31. package/dist/chunk-MZ3VW66Q.js.map +1 -0
  32. package/dist/chunk-NXECPRLF.js +192 -0
  33. package/dist/chunk-NXECPRLF.js.map +1 -0
  34. package/dist/chunk-O5VFW7GH.js +59 -0
  35. package/dist/chunk-O5VFW7GH.js.map +1 -0
  36. package/dist/chunk-QQ5DIV3E.js +89 -0
  37. package/dist/chunk-QQ5DIV3E.js.map +1 -0
  38. package/dist/chunk-QTUOT7HX.js +59 -0
  39. package/dist/chunk-QTUOT7HX.js.map +1 -0
  40. package/dist/chunk-TNMIE7WN.js +192 -0
  41. package/dist/chunk-TNMIE7WN.js.map +1 -0
  42. package/dist/chunk-VTNGVFOL.js +123 -0
  43. package/dist/chunk-VTNGVFOL.js.map +1 -0
  44. package/dist/chunk-WNFEYK6I.js +123 -0
  45. package/dist/chunk-WNFEYK6I.js.map +1 -0
  46. package/dist/chunk-WNYT4BQZ.js +89 -0
  47. package/dist/chunk-WNYT4BQZ.js.map +1 -0
  48. package/dist/chunk-YDNYSZ4R.js +89 -0
  49. package/dist/chunk-YDNYSZ4R.js.map +1 -0
  50. package/dist/chunk-ZS32P3T5.js +123 -0
  51. package/dist/chunk-ZS32P3T5.js.map +1 -0
  52. package/dist/index.cjs +66 -64
  53. package/dist/index.cjs.map +1 -1
  54. package/dist/index.css +45 -21
  55. package/dist/index.js +19 -19
  56. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +2 -2
  57. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +3 -3
  58. package/dist/molecules/curriculumV2/CurriculumContents/index.js +4 -4
  59. package/dist/molecules/curriculumV2/index.js +4 -4
  60. package/dist/molecules/expand-table/index.cjs +66 -64
  61. package/dist/molecules/expand-table/index.cjs.map +1 -1
  62. package/dist/molecules/expand-table/index.js +1 -1
  63. package/dist/molecules/index.cjs +66 -64
  64. package/dist/molecules/index.cjs.map +1 -1
  65. package/dist/molecules/index.js +15 -15
  66. package/package.json +3 -3
  67. package/src/molecules/expand-table/index.tsx +13 -12
@@ -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
  {