@uniai-fe/uds-primitives 0.3.29 → 0.3.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniai-fe/uds-primitives",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"description": "UNIAI Design System; Primitives Components Package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"packageManager": "pnpm@10.30.
|
|
18
|
+
"packageManager": "pnpm@10.30.3",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=24",
|
|
21
21
|
"pnpm": ">=10"
|
|
@@ -139,7 +139,8 @@ export interface TableColumnData<
|
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* Table Types; Container props
|
|
142
|
-
* @
|
|
142
|
+
* @template RowData columns dataKey가 참조할 row 데이터 타입
|
|
143
|
+
* @property {TableColumnData<RowData>[]} [columns] colgroup/head 자동 렌더링용 column 데이터
|
|
143
144
|
* @property {boolean} [isCustomBody] true면 body wrapper 없이 children을 직접 렌더링
|
|
144
145
|
* @property {boolean} [scrollable=false] true면 외부 스크롤 래퍼를 추가한다.
|
|
145
146
|
* @property {"x" | "y" | "both"} [scrollAxis="x"] scrollable일 때 스크롤 축
|
|
@@ -147,11 +148,13 @@ export interface TableColumnData<
|
|
|
147
148
|
* @property {React.ReactNode} [footer] footer 노드
|
|
148
149
|
* @property {React.ReactNode} [children] body 콘텐츠
|
|
149
150
|
*/
|
|
150
|
-
export interface TableContainerProps
|
|
151
|
+
export interface TableContainerProps<
|
|
152
|
+
RowData extends Record<string, unknown> = Record<string, unknown>,
|
|
153
|
+
> extends TableRootProps {
|
|
151
154
|
/**
|
|
152
155
|
* colgroup/head 자동 렌더링용 column 데이터
|
|
153
156
|
*/
|
|
154
|
-
columns?: TableColumnData[];
|
|
157
|
+
columns?: TableColumnData<RowData>[];
|
|
155
158
|
/**
|
|
156
159
|
* true면 body wrapper 없이 children을 직접 렌더링
|
|
157
160
|
*/
|