@club-employes/utopia 4.37.0 → 4.39.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-21T08:15:31.026Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -288,6 +288,32 @@ 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
+
305
+ export type BottomSheetChangeReason = 'open' | 'close' | 'escape' | 'overlay'
306
+
307
+ export interface BottomSheetProps {
308
+ title?: string
309
+ open?: boolean
310
+ defaultOpen?: boolean
311
+ closeOnOverlayClick?: boolean
312
+ focusTrap?: boolean
313
+ disableScrollLock?: boolean
314
+ onOpenChange?: (open: boolean, reason: BottomSheetChangeReason) => void
315
+ }
316
+
291
317
  // Component exports
292
318
  export declare const Badge: DefineComponent<BadgeProps>
293
319
  export declare const Button: DefineComponent<ButtonProps>
@@ -336,6 +362,8 @@ export declare const PriceTag: DefineComponent<PriceTagProps>
336
362
  export declare const FilterChip: DefineComponent<FilterChipProps>
337
363
  export declare const ProductCard: DefineComponent<ProductCardProps>
338
364
  export declare const FilterPrice: DefineComponent<FilterPriceProps>
365
+ export declare const Modal: DefineComponent<ModalProps>
366
+ export declare const BottomSheet: DefineComponent<BottomSheetProps>
339
367
  // Theme exports
340
368
  export declare const clubEmployesLight: ThemeConfig
341
369
  export declare const clubEmployesDark: ThemeConfig
@@ -405,4 +433,8 @@ export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
405
433
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
406
434
  export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
407
435
  export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
408
- export type LogoBrand = 'club-employes' | 'gifteo'
436
+ export type LogoBrand = 'club-employes' | 'gifteo'
437
+ export type ModalSize = 'sm' | 'md' | 'lg' | 'full'
438
+ export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
439
+ export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left'
440
+ export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'