@opencxh/ui-kit 3.137.0 → 3.137.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.
@@ -9,6 +9,11 @@ export interface SegmentedToggleProps<T extends string> {
9
9
  onChange: (value: T) => void;
10
10
  /** Control height. */
11
11
  size?: "sm" | "md";
12
+ /**
13
+ * Track fill. `sunk` reads against the white card; use `track` when the
14
+ * toggle itself sits on a sunk plane, where `sunk` on `sunk` is invisible.
15
+ */
16
+ tone?: "sunk" | "track";
12
17
  /** Fill the container and split it evenly — a toggle that heads a column. */
13
18
  fullWidth?: boolean;
14
19
  className?: string;
@@ -29,4 +34,4 @@ export interface SegmentedToggleProps<T extends string> {
29
34
  * />
30
35
  * ```
31
36
  */
32
- export declare function SegmentedToggle<T extends string>({ options, value, onChange, size, fullWidth, className, "aria-label": ariaLabel, }: SegmentedToggleProps<T>): React.JSX.Element;
37
+ export declare function SegmentedToggle<T extends string>({ options, value, onChange, size, tone, fullWidth, className, "aria-label": ariaLabel, }: SegmentedToggleProps<T>): React.JSX.Element;
@@ -101,9 +101,7 @@ export interface TableProps<T = any> {
101
101
  toolbarActions?: PageHeaderAction[];
102
102
  /** Whether table has pagination */
103
103
  paginated?: boolean;
104
- /** Page size options */
105
- pageSizeOptions?: number[];
106
- /** Default page size */
104
+ /** Rows per page. Fixed — the footer is a summary and a page list, nothing to set. */
107
105
  defaultPageSize?: number;
108
106
  /** Row actions */
109
107
  actions?: TableAction<T>[];
@@ -146,4 +144,4 @@ export interface TableProps<T = any> {
146
144
  * Data table: a bordered box with a tinted column strip, a toolbar above it
147
145
  * (search, filters, the list's own actions) and a summary + paginator below.
148
146
  */
149
- export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, searchValue, onSearchChange, filters, toolbarActions, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, footerSummary, size, hoverable, padding, className, rowClassName, headerBackground, }: TableProps<T>) => React.JSX.Element;
147
+ export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, searchValue, onSearchChange, filters, toolbarActions, paginated, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, footerSummary, size, hoverable, padding, 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.137.0",
3
+ "version": "3.137.1",
4
4
  "description": "Theme-aware UI component library for OpenCXH platform",
5
5
  "type": "module",
6
6
  "exports": {