@club-employes/utopia 4.36.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-19T09:18:49.244Z",
2
+ "generated": "2025-11-21T07:56:21.673Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -90,7 +90,7 @@ export interface InputTextProps {
90
90
  type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url'
91
91
  inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'
92
92
  state?: 'default' | 'error' | 'valid' | 'incomplete' | 'completed'
93
- size?: 'small' | 'medium' | 'large'
93
+ size?: 'extra-small' | 'small' | 'medium' | 'large'
94
94
  disabled?: boolean
95
95
  readonly?: boolean
96
96
  icon?: string
@@ -160,6 +160,14 @@ export interface DataTableProps {
160
160
  rowKey?: string | ((row: any) => string)
161
161
  }
162
162
 
163
+ export interface FilterChipProps {
164
+ filters: Record<string, any>
165
+ disabled?: boolean
166
+ removable?: boolean
167
+ variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'
168
+ size?: 'extra-small' | 'small' | 'medium' | 'large'
169
+ }
170
+
163
171
  export interface BalanceCardProps {
164
172
  campaignName: string
165
173
  category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport'
@@ -250,6 +258,7 @@ export interface PriceTagProps {
250
258
  oldPrice?: number;
251
259
  currency?: string;
252
260
  isSubventioned?: boolean;
261
+ isDiscounted?: boolean;
253
262
  language?: 'fr' | 'en';
254
263
  }
255
264
 
@@ -279,6 +288,20 @@ export interface FilterPriceProps {
279
288
  disabled?: boolean
280
289
  }
281
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
+
282
305
  // Component exports
283
306
  export declare const Badge: DefineComponent<BadgeProps>
284
307
  export declare const Button: DefineComponent<ButtonProps>
@@ -324,8 +347,10 @@ export declare const ErrorState: DefineComponent<ErrorStateProps>
324
347
  export declare const FeedbackState: DefineComponent<ErrorStateProps>
325
348
 
326
349
  export declare const PriceTag: DefineComponent<PriceTagProps>
350
+ export declare const FilterChip: DefineComponent<FilterChipProps>
327
351
  export declare const ProductCard: DefineComponent<ProductCardProps>
328
352
  export declare const FilterPrice: DefineComponent<FilterPriceProps>
353
+ export declare const Modal: DefineComponent<ModalProps>
329
354
  // Theme exports
330
355
  export declare const clubEmployesLight: ThemeConfig
331
356
  export declare const clubEmployesDark: ThemeConfig
@@ -395,4 +420,8 @@ export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
395
420
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
396
421
  export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
397
422
  export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
398
- 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'