ui-mathilde-web 0.6.3 → 0.7.1

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.
@@ -37,6 +37,36 @@ declare interface AccordionProps {
37
37
  iconPosition?: "left" | "right";
38
38
  }
39
39
 
40
+ export declare const Alert: ({ isOpen, onConfirm, onCancel, onClose, ...options }: AlertProps) => null;
41
+
42
+ declare type AlertIcon = "success" | "error" | "warning" | "info" | "question";
43
+
44
+ declare interface AlertOptions {
45
+ title?: string;
46
+ text?: string;
47
+ html?: string;
48
+ icon?: AlertIcon;
49
+ showCancelButton?: boolean;
50
+ confirmButtonText?: string;
51
+ cancelButtonText?: string;
52
+ confirmButtonColor?: string;
53
+ cancelButtonColor?: string;
54
+ timer?: number;
55
+ customClass?: {
56
+ popup?: string;
57
+ title?: string;
58
+ confirmButton?: string;
59
+ cancelButton?: string;
60
+ };
61
+ }
62
+
63
+ declare interface AlertProps extends AlertOptions {
64
+ isOpen: boolean;
65
+ onConfirm?: () => void;
66
+ onCancel?: () => void;
67
+ onClose?: () => void;
68
+ }
69
+
40
70
  export declare const ButtonFormat: default_2.FC<ButtonFormatProps>;
41
71
 
42
72
  declare interface ButtonFormatProps {
@@ -383,6 +413,7 @@ declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectE
383
413
  error?: string;
384
414
  id: string;
385
415
  classSelect?: string;
416
+ classDiv?: string;
386
417
  }
387
418
 
388
419
  export declare const SidebarPro: default_2.FC<SidebarProProps>;