@croquiscom/pds 15.6.0 → 15.7.0
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/CHANGELOG.md +6 -0
- package/dist/components/table/DataTable.stories.d.ts +1 -0
- package/dist/components/table/storybook-helper/sampleData.d.ts +1 -0
- package/dist/components/table/types.d.ts +8 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -31,3 +31,4 @@ export declare const sortColumns: DataTableColumnsType<DataType>;
|
|
|
31
31
|
export declare const customRowStyleColumns: DataTableColumnsType<DataType>;
|
|
32
32
|
export declare const comprehensiveCustomColumns: DataTableColumnsType<DataType>;
|
|
33
33
|
export declare const ExpandRows: DataTableRowsType<DataType>;
|
|
34
|
+
export declare const WrapperColumns: DataTableColumnsType<DataType>;
|
|
@@ -80,6 +80,14 @@ export interface DataTableColumnType<DataType> extends DataTableColumnBase {
|
|
|
80
80
|
* - ({ row, value, index }: { row: DataType; value: CellValue; index: number }) => ReactNode
|
|
81
81
|
*/
|
|
82
82
|
cell?: CellProps<DataType>;
|
|
83
|
+
/**
|
|
84
|
+
* 테이블 컬럼의 셀의 HStack wrapper 렌더링 여부를 지정합니다.
|
|
85
|
+
* false로 설정하면 HStack wrapper가 렌더링되지 않습니다.
|
|
86
|
+
* true로 설정하면 HStack wrapper가 렌더링됩니다.
|
|
87
|
+
* 기본 값은 true입니다. 추후에 wrapper가 필요 없어져서 제거하게 될 경우를 대비해 HStack이
|
|
88
|
+
* 꼭 필요한 경우에는 true를 명시적으로 지정해주세요.
|
|
89
|
+
*/
|
|
90
|
+
wrapper?: boolean;
|
|
83
91
|
}
|
|
84
92
|
export interface DataTableColumnGroupType<DataType> extends Omit<DataTableColumnType<DataType>, 'id'> {
|
|
85
93
|
columnGroup: DataTableColumnsType<DataType>;
|