@club-employes/utopia 4.37.0 → 4.38.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2025-11-21T07:28:15.373Z",
2
+ "generated": "2025-11-21T07:56:21.673Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -288,6 +288,20 @@ export interface FilterPriceProps {
288
288
  disabled?: boolean
289
289
  }
290
290
 
291
+ export interface ModalProps {
292
+ open?: boolean
293
+ title?: string
294
+ size?: 'sm' | 'md' | 'lg' | 'full'
295
+ position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
296
+ closeOnOverlayClick?: boolean
297
+ showCloseButton?: boolean
298
+ disableScrollLock?: boolean
299
+ focusTrap?: boolean
300
+ blurBackdrop?: boolean
301
+ animation?: 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left' | 'slide-bottom'
302
+ onOpenChange?: (open: boolean, reason: 'open' | 'close' | 'overlay' | 'escape' | 'close-button') => void
303
+ }
304
+
291
305
  // Component exports
292
306
  export declare const Badge: DefineComponent<BadgeProps>
293
307
  export declare const Button: DefineComponent<ButtonProps>
@@ -336,6 +350,7 @@ export declare const PriceTag: DefineComponent<PriceTagProps>
336
350
  export declare const FilterChip: DefineComponent<FilterChipProps>
337
351
  export declare const ProductCard: DefineComponent<ProductCardProps>
338
352
  export declare const FilterPrice: DefineComponent<FilterPriceProps>
353
+ export declare const Modal: DefineComponent<ModalProps>
339
354
  // Theme exports
340
355
  export declare const clubEmployesLight: ThemeConfig
341
356
  export declare const clubEmployesDark: ThemeConfig
@@ -405,4 +420,8 @@ export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
405
420
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
406
421
  export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
407
422
  export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
408
- export type LogoBrand = 'club-employes' | 'gifteo'
423
+ export type LogoBrand = 'club-employes' | 'gifteo'
424
+ export type ModalSize = 'sm' | 'md' | 'lg' | 'full'
425
+ export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
426
+ export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left'
427
+ export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'