@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.
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +12 -12
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +8 -8
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +8 -8
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +8 -8
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +8 -8
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +8 -8
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +8 -8
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
- package/dist/chunk-2T7JCRER.js +30 -0
- package/dist/chunk-2T7JCRER.js.map +1 -0
- package/dist/chunk-HNO5SCLZ.js +192 -0
- package/dist/chunk-HNO5SCLZ.js.map +1 -0
- package/dist/chunk-HQGFHFGR.js +123 -0
- package/dist/chunk-HQGFHFGR.js.map +1 -0
- package/dist/chunk-I6NVQV5Q.js +59 -0
- package/dist/chunk-I6NVQV5Q.js.map +1 -0
- package/dist/chunk-J27CSA2I.js +59 -0
- package/dist/chunk-J27CSA2I.js.map +1 -0
- package/dist/chunk-J52WPSWU.js +150 -0
- package/dist/chunk-J52WPSWU.js.map +1 -0
- package/dist/chunk-LPLXVTDP.js +192 -0
- package/dist/chunk-LPLXVTDP.js.map +1 -0
- package/dist/chunk-MZ3VW66Q.js +89 -0
- package/dist/chunk-MZ3VW66Q.js.map +1 -0
- package/dist/chunk-NXECPRLF.js +192 -0
- package/dist/chunk-NXECPRLF.js.map +1 -0
- package/dist/chunk-O5VFW7GH.js +59 -0
- package/dist/chunk-O5VFW7GH.js.map +1 -0
- package/dist/chunk-QQ5DIV3E.js +89 -0
- package/dist/chunk-QQ5DIV3E.js.map +1 -0
- package/dist/chunk-QTUOT7HX.js +59 -0
- package/dist/chunk-QTUOT7HX.js.map +1 -0
- package/dist/chunk-TNMIE7WN.js +192 -0
- package/dist/chunk-TNMIE7WN.js.map +1 -0
- package/dist/chunk-VTNGVFOL.js +123 -0
- package/dist/chunk-VTNGVFOL.js.map +1 -0
- package/dist/chunk-WNFEYK6I.js +123 -0
- package/dist/chunk-WNFEYK6I.js.map +1 -0
- package/dist/chunk-WNYT4BQZ.js +89 -0
- package/dist/chunk-WNYT4BQZ.js.map +1 -0
- package/dist/chunk-YDNYSZ4R.js +89 -0
- package/dist/chunk-YDNYSZ4R.js.map +1 -0
- package/dist/chunk-ZS32P3T5.js +123 -0
- package/dist/chunk-ZS32P3T5.js.map +1 -0
- package/dist/index.cjs +66 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +45 -21
- package/dist/index.js +19 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +4 -4
- package/dist/molecules/curriculumV2/index.js +4 -4
- package/dist/molecules/expand-table/index.cjs +66 -64
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +1 -1
- package/dist/molecules/index.cjs +66 -64
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +15 -15
- package/package.json +3 -3
- package/src/molecules/expand-table/index.tsx +13 -12
package/dist/molecules/index.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import "../chunk-KSS4FSJI.js";
|
|
2
|
+
import {
|
|
3
|
+
ExpandTable,
|
|
4
|
+
createColumnHelper
|
|
5
|
+
} from "../chunk-HNO5SCLZ.js";
|
|
6
|
+
import "../chunk-WDUSQ6HR.js";
|
|
7
|
+
import {
|
|
8
|
+
DatePickerButton
|
|
9
|
+
} from "../chunk-J5WASNFY.js";
|
|
10
|
+
import {
|
|
11
|
+
DatePicker
|
|
12
|
+
} from "../chunk-I24MOOUK.js";
|
|
2
13
|
import "../chunk-AS7ID74X.js";
|
|
3
14
|
import {
|
|
4
15
|
CurriculumBody
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-GJQDFBAF.js";
|
|
16
|
+
} from "../chunk-J27CSA2I.js";
|
|
17
|
+
import "../chunk-VTNGVFOL.js";
|
|
18
|
+
import "../chunk-QQ5DIV3E.js";
|
|
9
19
|
import "../chunk-D4WHIKQQ.js";
|
|
10
20
|
import "../chunk-JLNQOXEV.js";
|
|
11
21
|
import "../chunk-CHGLVZEQ.js";
|
|
@@ -17,6 +27,7 @@ import "../chunk-PNYMKF4M.js";
|
|
|
17
27
|
import "../chunk-KCDVUSEZ.js";
|
|
18
28
|
import "../chunk-KQG5B26J.js";
|
|
19
29
|
import "../chunk-637SZITH.js";
|
|
30
|
+
import "../chunk-GJQDFBAF.js";
|
|
20
31
|
import "../chunk-EBGKFGME.js";
|
|
21
32
|
import "../chunk-HYMGXDPL.js";
|
|
22
33
|
import {
|
|
@@ -37,17 +48,6 @@ import {
|
|
|
37
48
|
import {
|
|
38
49
|
CurriculumV2Layout
|
|
39
50
|
} from "../chunk-M6VXNQHU.js";
|
|
40
|
-
import {
|
|
41
|
-
DatePickerButton
|
|
42
|
-
} from "../chunk-J5WASNFY.js";
|
|
43
|
-
import {
|
|
44
|
-
DatePicker
|
|
45
|
-
} from "../chunk-I24MOOUK.js";
|
|
46
|
-
import {
|
|
47
|
-
ExpandTable,
|
|
48
|
-
createColumnHelper
|
|
49
|
-
} from "../chunk-BE6JPXUV.js";
|
|
50
|
-
import "../chunk-WDUSQ6HR.js";
|
|
51
51
|
import "../chunk-AI7EZKUN.js";
|
|
52
52
|
import {
|
|
53
53
|
TagSelector
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tipp/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"ts-jest": "^29.2.2",
|
|
57
57
|
"ts-node": "^10.9.2",
|
|
58
58
|
"tsup": "^8.0.2",
|
|
59
|
-
"@tipp/
|
|
60
|
-
"@tipp/
|
|
59
|
+
"@tipp/typescript-config": "1.0.1",
|
|
60
|
+
"@tipp/eslint-config": "1.1.2"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@types/react": "*",
|
|
@@ -46,7 +46,7 @@ export interface ExpandTableProps<Datum extends RowData> {
|
|
|
46
46
|
/** pagination - 한 페이지에 표시될 컬럼 개수, 기본값 10 */
|
|
47
47
|
pageSize?: number;
|
|
48
48
|
/** pagination - */
|
|
49
|
-
siblingCount?: number;
|
|
49
|
+
siblingCount?: number;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export function ExpandTable<Datum extends RowData>(
|
|
@@ -91,7 +91,7 @@ export function ExpandTable<Datum extends RowData>(
|
|
|
91
91
|
const gridTemplateColumns = useMemo<string>(() => {
|
|
92
92
|
return columns
|
|
93
93
|
.map((col) => {
|
|
94
|
-
if (col.meta?.autoSize) return
|
|
94
|
+
if (col.meta?.autoSize) return `minmax(${col.size || 50}px, 1fr)`;
|
|
95
95
|
return `${col.size || 150}px`;
|
|
96
96
|
})
|
|
97
97
|
.join(' ');
|
|
@@ -145,6 +145,7 @@ export function ExpandTable<Datum extends RowData>(
|
|
|
145
145
|
}, [data, pageSize]);
|
|
146
146
|
|
|
147
147
|
return (
|
|
148
|
+
<div className="expand-table-wrapper">
|
|
148
149
|
<div className="expand-table" style={tableStyle}>
|
|
149
150
|
<div className="thead">
|
|
150
151
|
{getHeaderGroups().map((headerGroup) => (
|
|
@@ -220,17 +221,17 @@ export function ExpandTable<Datum extends RowData>(
|
|
|
220
221
|
);
|
|
221
222
|
})}
|
|
222
223
|
</div>
|
|
223
|
-
|
|
224
|
+
</div>
|
|
224
225
|
{showPagination ? (
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
226
|
+
<Flex justify="end" pt="3" width="100%">
|
|
227
|
+
<Pagination
|
|
228
|
+
count={pageCount}
|
|
229
|
+
onChange={onChangePagination}
|
|
230
|
+
page={pagination.pageIndex + 1}
|
|
231
|
+
siblingCount={siblingCount}
|
|
232
|
+
/>
|
|
233
|
+
</Flex>
|
|
234
|
+
) : null}
|
|
234
235
|
</div>
|
|
235
236
|
);
|
|
236
237
|
}
|