@rovula/ui 0.1.26 → 0.1.27

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.
@@ -21,6 +21,8 @@ export type ConfirmDialogProps = {
21
21
  * When true, hides the cancel button — useful for info/error alerts that only need one action.
22
22
  */
23
23
  hideCancelButton?: boolean;
24
+ /** When true, shows a loading spinner on the confirm button and disables all interactive controls. */
25
+ isLoading?: boolean;
24
26
  testId?: string;
25
27
  cancelClassName?: string;
26
28
  confirmClassName?: string;
@@ -22,6 +22,7 @@ declare const meta: {
22
22
  trigger?: React.ReactNode;
23
23
  typeToConfirm?: string | undefined;
24
24
  hideCancelButton?: boolean | undefined;
25
+ isLoading?: boolean | undefined;
25
26
  testId?: string | undefined;
26
27
  cancelClassName?: string | undefined;
27
28
  confirmClassName?: string | undefined;
@@ -55,3 +56,5 @@ export declare const WithoutCancelButton: Story;
55
56
  export declare const RequireConfirmText: Story;
56
57
  export declare const FigmaDefaultOpen: Story;
57
58
  export declare const FigmaRequirePasswordDefaultOpen: Story;
59
+ export declare const WithLoading: Story;
60
+ export declare const WithLoadingAndTypeToConfirm: Story;