@club-employes/utopia 4.280.0 → 4.281.0
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.
|
@@ -102,7 +102,7 @@ declare const __VLS_component: DefineComponent<ModalProps, {}, {}, {}, {}, Compo
|
|
|
102
102
|
onOpenChange?: ((open: boolean, reason: ModalChangeReason) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
104
|
title: string;
|
|
105
|
-
variant: "default" | "form";
|
|
105
|
+
variant: "default" | "form" | "popup";
|
|
106
106
|
size: ModalSize;
|
|
107
107
|
position: ModalPosition;
|
|
108
108
|
animation: ModalAnimation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ModalSize = 'sm' | 'md' | 'lg' | 'full';
|
|
1
|
+
export type ModalSize = 'sm' | 'md' | 'lg' | 'full' | 'auto';
|
|
2
2
|
export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
3
3
|
export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-right' | 'slide-horizontal-left' | 'slide-bottom';
|
|
4
4
|
export type ModalMobileBehavior = 'bottom-sheet' | 'center';
|
|
@@ -9,7 +9,7 @@ export interface ModalProps {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
size?: ModalSize;
|
|
11
11
|
/** Variante visuelle du panneau modal (par ex. 'form' pour modals de formulaire large) */
|
|
12
|
-
variant?: 'default' | 'form';
|
|
12
|
+
variant?: 'default' | 'form' | 'popup';
|
|
13
13
|
position?: ModalPosition;
|
|
14
14
|
closeOnOverlayClick?: boolean;
|
|
15
15
|
showCloseButton?: boolean;
|
|
@@ -19,6 +19,7 @@ export interface ModalProps {
|
|
|
19
19
|
disableScrollLock?: boolean;
|
|
20
20
|
focusTrap?: boolean;
|
|
21
21
|
blurBackdrop?: boolean;
|
|
22
|
+
blurBackdropIntensity?: number;
|
|
22
23
|
animation?: ModalAnimation;
|
|
23
24
|
/** Comportement sur mobile : 'bottom-sheet' (par défaut) ou 'center' */
|
|
24
25
|
mobileBehavior?: ModalMobileBehavior;
|