@club-employes/utopia 4.30.0 → 4.32.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-10-27T10:44:10.545Z",
2
+ "generated": "2025-11-05T16:02:11.840Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface ButtonProps {
18
18
 
19
19
  export interface IconProps {
20
20
  name: string
21
- size?: 'small' | 'medium' | 'large'
21
+ size?: 'extra-small' | 'small' | 'medium' | 'large'
22
22
  color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
23
23
  }
24
24
 
@@ -73,11 +73,12 @@ export interface SwitchProps {
73
73
 
74
74
  export interface ChipProps {
75
75
  variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'
76
- size?: 'small' | 'medium' | 'large'
76
+ size?: 'extra-small' | 'small' | 'medium' | 'large'
77
77
  disabled?: boolean
78
78
  removable?: boolean
79
79
  leftIcon?: string
80
80
  actionable?: boolean
81
+ ghost?: boolean
81
82
  }
82
83
 
83
84
  export interface InputTextProps {
@@ -236,6 +237,41 @@ export interface LinkProps {
236
237
  disabled?: boolean
237
238
  }
238
239
 
240
+ export interface PriceTagProps {
241
+ variantCount?: number;
242
+ price: number;
243
+ oldPrice?: number;
244
+ currency?: string;
245
+ isSubventioned?: boolean;
246
+ language?: 'fr' | 'en';
247
+ }
248
+
249
+ export interface ProductCardProps {
250
+ id: string;
251
+ title: string;
252
+ description?: string;
253
+ imageUrl: string;
254
+ logoUrl?: string;
255
+ isFavorite: boolean;
256
+ tags?: string[];
257
+ available?: boolean;
258
+ variantCount?: number;
259
+ price?: number;
260
+ oldPrice?: number;
261
+ discount?: number;
262
+ discountTooltip?: string;
263
+ currency?: string;
264
+ subventionName?: string;
265
+ subventionTooltip?: string;
266
+ language?: 'fr' | 'en';
267
+ }
268
+
269
+ export interface FilterPriceProps {
270
+ variant?: 'default' | 'primary' | 'secondary'
271
+ size?: 'small' | 'medium' | 'large'
272
+ disabled?: boolean
273
+ }
274
+
239
275
  // Component exports
240
276
  export declare const Badge: DefineComponent<BadgeProps>
241
277
  export declare const Button: DefineComponent<ButtonProps>
@@ -266,6 +302,9 @@ export declare const AuthLayout: DefineComponent<{}>
266
302
  export declare const Slider: DefineComponent<{}>
267
303
  export declare const Breadcrumbs: DefineComponent<BreadcrumbsProps>
268
304
  export declare const Link: DefineComponent<LinkProps>
305
+ export declare const PriceTag: DefineComponent<PriceTagProps>
306
+ export declare const ProductCard: DefineComponent<ProductCardProps>
307
+ export declare const FilterPrice: DefineComponent<FilterPriceProps>
269
308
  // Theme exports
270
309
  export declare const clubEmployesLight: ThemeConfig
271
310
  export declare const clubEmployesDark: ThemeConfig
@@ -303,6 +342,18 @@ export interface UseFaviconReturn {
303
342
  updateFavicon: (faviconUrl: string) => void
304
343
  }
305
344
 
345
+ export interface TooltipProps {
346
+ placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'
347
+ openDelay?: number
348
+ closeDelay?: number
349
+ offset?: number
350
+ withArrow?: boolean
351
+ disabled?: boolean
352
+ open?: boolean
353
+ defaultOpen?: boolean
354
+ }
355
+
356
+ export declare const Tooltip: DefineComponent<TooltipProps>
306
357
  // Composable exports
307
358
  export declare function useTheme(): UseThemeReturn
308
359
  export declare function useFavicon(): UseFaviconReturn
@@ -319,7 +370,7 @@ export type BadgeSize = 'small' | 'medium'
319
370
  export type ButtonVariant = 'primary' | 'secondary' | 'tertiary'
320
371
  export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
321
372
  export type IconName = string
322
- export type IconSize = 'small' | 'medium' | 'large'
373
+ export type IconSize = 'extra-small' | 'small' | 'medium' | 'large'
323
374
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current'
324
375
  export type LogoVariant = 'auto' | 'default' | 'white' | 'small' | 'small-white'
325
376
  export type LogoSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'