@cleen/ui 0.1.291 → 0.1.292

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.d.ts CHANGED
@@ -2719,6 +2719,10 @@ type EditableMatrixProps = Omit<ComponentProps<'div'>, 'onChange'> & {
2719
2719
  onValuesChange?: (values: EditableMatrixValues) => void;
2720
2720
  onCellChange?: (change: EditableMatrixCellChange) => void;
2721
2721
  onAddRow?: (change: EditableMatrixAddRowChange) => void;
2722
+ /** Called as the add-row search text changes. When set, options are not filtered locally, so the caller can load them from a server. */
2723
+ onAddRowSearchChange?: (search: string) => void;
2724
+ /** Shows a loader in the add-row picker while options load. */
2725
+ isAddRowLoading?: boolean;
2722
2726
  onRemoveRow?: (change: EditableMatrixRemoveRowChange) => void;
2723
2727
  min?: number;
2724
2728
  max?: number;
@@ -2763,9 +2767,6 @@ type EditableMatrixProps = Omit<ComponentProps<'div'>, 'onChange'> & {
2763
2767
  };
2764
2768
  };
2765
2769
 
2766
- /**
2767
- * EditableMatrix is a spreadsheet-like grid for entering numeric values (such as hours) per row and column. Rows are grouped into collapsible sections, every row, section, column and the whole grid are totaled automatically, and each cell supports an optional note plus a start/end time fallback that calculates the value. New rows are picked from each section's `options` through a search list.
2768
- */
2769
2770
  declare const EditableMatrix: react.ForwardRefExoticComponent<Omit<EditableMatrixProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
2770
2771
 
2771
2772
  declare const getEditableMatrixKey: (rowId: string, columnId: string) => string;