@memobit/libs 1.0.9 → 1.0.11
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.css +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.esm.js +279 -275
- package/dist/version.json +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -520,6 +520,9 @@ export declare interface ControlPanelAction {
|
|
|
520
520
|
size?: ButtonProps['size'];
|
|
521
521
|
fullWidth?: boolean;
|
|
522
522
|
disabled?: boolean;
|
|
523
|
+
/** Hover tooltip describing what the action does. Useful for explaining a
|
|
524
|
+
* disabled state (e.g. why an action is unavailable for the current filter). */
|
|
525
|
+
tooltip?: string;
|
|
523
526
|
/** When set, clicking the action opens a small confirmation popover anchored
|
|
524
527
|
* to the button instead of firing onClick directly. onClick fires only after
|
|
525
528
|
* the user picks the confirm option inside the popover. */
|
|
@@ -880,7 +883,7 @@ export declare interface DataViewProps<T> {
|
|
|
880
883
|
actions?: (row: T) => default_2.ReactNode;
|
|
881
884
|
actionsWidth?: number;
|
|
882
885
|
timeline?: DataViewTimelineConfig<T>;
|
|
883
|
-
onRowClick?: (row: T) => void;
|
|
886
|
+
onRowClick?: (row: T, event?: default_2.MouseEvent) => void;
|
|
884
887
|
/** Render an optional detail row spanning all columns directly below the matching row.
|
|
885
888
|
* Return `null`/`undefined` to skip rendering for that row. Table mode only. */
|
|
886
889
|
rowDetail?: (row: T) => default_2.ReactNode;
|