@lambda-development/erp-core 0.6.10 → 0.6.12
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/components/ui/confirm-button.d.ts +8 -1
- package/dist/index.js +1427 -1401
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,13 @@ interface ConfirmButtonProps {
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
className?: string;
|
|
11
11
|
timeout?: number;
|
|
12
|
+
/** Armed-button size: "sm" (compact, for icon triggers — default) or "md"
|
|
13
|
+
* (normal button height, to match a full-size labelled trigger). */
|
|
14
|
+
size?: "sm" | "md";
|
|
15
|
+
/** Which side the Cancel button sits on when armed. It should land where the
|
|
16
|
+
* trigger was so a double-click cancels: "left" for a left-aligned trigger
|
|
17
|
+
* (default), "right" for a right-aligned one (e.g. a toolbar delete button). */
|
|
18
|
+
cancelSide?: "left" | "right";
|
|
12
19
|
}
|
|
13
|
-
export declare function ConfirmButton({ onConfirm, children, confirmLabel, cancelLabel, title, danger, disabled, className, timeout, }: ConfirmButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function ConfirmButton({ onConfirm, children, confirmLabel, cancelLabel, title, danger, disabled, className, timeout, size, cancelSide, }: ConfirmButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
21
|
export {};
|