@opencxh/ui-kit 3.119.0 → 3.120.1

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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/ui-kit",
3
- "version": "3.119.0",
3
+ "version": "3.120.1",
4
4
  "description": "Theme-aware UI component library for OpenCXH platform",
5
5
  "type": "module",
6
6
  "exports": {