@club-employes/utopia 4.280.0 → 4.282.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.
@@ -36,11 +36,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
36
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
37
37
  "nav-click": (page: string) => any;
38
38
  "mode-toggle": () => any;
39
- navigate: (to: string) => any;
39
+ navigate: (to: string, event?: MouseEvent | undefined) => any;
40
40
  }, string, PublicProps, Readonly<Props> & Readonly<{
41
41
  "onNav-click"?: ((page: string) => any) | undefined;
42
42
  "onMode-toggle"?: (() => any) | undefined;
43
- onNavigate?: ((to: string) => any) | undefined;
43
+ onNavigate?: ((to: string, event?: MouseEvent | undefined) => any) | undefined;
44
44
  }>, {
45
45
  currentMode: "light" | "dark";
46
46
  menuItems: MenuItemOrSection[];
@@ -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;