@opencxh/ui-kit 3.119.0 → 3.120.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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1708 -1707
- package/dist/index.js.map +1 -1
- package/dist/src/content/Table.d.ts +7 -1
- package/package.json +1 -1
|
@@ -101,8 +101,14 @@ export interface TableProps<T = any> {
|
|
|
101
101
|
className?: string;
|
|
102
102
|
/** Custom row className */
|
|
103
103
|
rowClassName?: (row: T, index: number) => string;
|
|
104
|
+
/**
|
|
105
|
+
* Tint the header row so it reads as a column strip rather than a first row.
|
|
106
|
+
* On by default. Turn it off for a table that already sits on a tinted
|
|
107
|
+
* surface, where a second wash just muddies the edge.
|
|
108
|
+
*/
|
|
109
|
+
headerBackground?: boolean;
|
|
104
110
|
}
|
|
105
111
|
/**
|
|
106
112
|
* High-performance Table component with sorting, pagination, search, and custom renderers
|
|
107
113
|
*/
|
|
108
|
-
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, className, rowClassName, }: TableProps<T>) => React.JSX.Element;
|
|
114
|
+
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, className, rowClassName, headerBackground, }: TableProps<T>) => React.JSX.Element;
|