ui-mathilde-web 0.1.30 → 0.1.32

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.
@@ -79,6 +79,11 @@ declare interface Column {
79
79
  active: string;
80
80
  inactive: string;
81
81
  };
82
+ component?: React.ComponentType<{
83
+ row: Record<string, unknown>;
84
+ value: unknown;
85
+ }>;
86
+ cellProps?: Record<string, unknown>;
82
87
  }
83
88
 
84
89
  export declare const DatePicker: ({ minDate, maxDate, }: {
@@ -301,12 +306,16 @@ declare interface TableComponentProps {
301
306
  itemsPerPage?: number;
302
307
  title?: string;
303
308
  showPagination?: boolean;
309
+ showCheckboxes?: boolean;
310
+ selectedRows?: Set<string | number>;
304
311
  onToggleChange?: (rowData: {
305
312
  rowId: string | number;
306
313
  checked: boolean;
307
314
  row: TableData;
308
315
  columnKey: string;
309
316
  }) => void;
317
+ onRowSelect?: (rowId: string | number, checked: boolean) => void;
318
+ onSelectAll?: (checked: boolean) => void;
310
319
  }
311
320
 
312
321
  declare interface TableData extends Record<string, unknown> {