@club-employes/utopia 4.39.0 → 4.41.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-21T08:15:31.026Z",
2
+ "generated": "2025-11-21T09:58:48.605Z",
3
3
  "count": 1238,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -71,6 +71,22 @@ export interface SwitchProps {
71
71
  label?: string
72
72
  }
73
73
 
74
+ export interface TextProps {
75
+ as?: TextTag;
76
+ family?: "sans" | "mono" | string;
77
+ weight?: TextWeight;
78
+ align?: TextAlign;
79
+ transform?: TextTransform;
80
+ truncate?: boolean;
81
+ noWrap?: boolean;
82
+ variant?: "h1Modal | h2Modal";
83
+ size?: TextSize;
84
+ color?: string;
85
+ underline?: boolean;
86
+ italic?: boolean;
87
+ strike?: boolean;
88
+ }
89
+
74
90
  export interface ChipProps {
75
91
  variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger'
76
92
  size?: 'extra-small' | 'small' | 'medium' | 'large'
@@ -282,6 +298,17 @@ export interface ProductCardProps {
282
298
  language?: 'fr' | 'en';
283
299
  }
284
300
 
301
+ export interface ErrorStateProps {
302
+ title?: string
303
+ description?: string
304
+ actionLabel?: string
305
+ retryAction?: () => void
306
+ spinning?: boolean
307
+ imageSrc?: string
308
+ imageAlt?: string
309
+ preset?: 'gears' | 'search'
310
+ }
311
+
285
312
  export interface FilterPriceProps {
286
313
  variant?: 'default' | 'primary' | 'secondary'
287
314
  size?: 'small' | 'medium' | 'large'
@@ -314,6 +341,18 @@ export interface BottomSheetProps {
314
341
  onOpenChange?: (open: boolean, reason: BottomSheetChangeReason) => void
315
342
  }
316
343
 
344
+ export interface PageNavigationProps {
345
+ currentPage: number
346
+ totalPages: number
347
+ compact?: boolean
348
+ showSize?: boolean
349
+ sizeLabel?: string
350
+ size?: number
351
+ sizeOptions?: number[]
352
+ showGoToPage?: boolean
353
+ goToPageLabel?: string
354
+ }
355
+
317
356
  // Component exports
318
357
  export declare const Badge: DefineComponent<BadgeProps>
319
358
  export declare const Button: DefineComponent<ButtonProps>
@@ -329,6 +368,7 @@ export declare const Menu: DefineComponent<{}>
329
368
  export declare const NavItem: DefineComponent<{}>
330
369
  export declare const SearchBox: DefineComponent<SearchBoxProps>
331
370
  export declare const Switch: DefineComponent<SwitchProps>
371
+ export declare const Text: DefineComponent<TextProps>
332
372
  export declare const InputText: DefineComponent<InputTextProps>
333
373
  export declare const DropDown: DefineComponent<DropDownProps>
334
374
  export declare const InputCode: DefineComponent<InputCodeProps>
@@ -344,17 +384,6 @@ export declare const AuthLayout: DefineComponent<{}>
344
384
  export declare const Slider: DefineComponent<{}>
345
385
  export declare const Breadcrumbs: DefineComponent<BreadcrumbsProps>
346
386
  export declare const Link: DefineComponent<LinkProps>
347
-
348
- export interface ErrorStateProps {
349
- title?: string
350
- description?: string
351
- actionLabel?: string
352
- retryAction?: () => void
353
- spinning?: boolean
354
- imageSrc?: string
355
- imageAlt?: string
356
- preset?: 'gears' | 'search'
357
- }
358
387
  export declare const ErrorState: DefineComponent<ErrorStateProps>
359
388
  export declare const FeedbackState: DefineComponent<ErrorStateProps>
360
389
 
@@ -364,6 +393,8 @@ export declare const ProductCard: DefineComponent<ProductCardProps>
364
393
  export declare const FilterPrice: DefineComponent<FilterPriceProps>
365
394
  export declare const Modal: DefineComponent<ModalProps>
366
395
  export declare const BottomSheet: DefineComponent<BottomSheetProps>
396
+ export declare const PageNavigation: DefineComponent<PageNavigationProps>
397
+
367
398
  // Theme exports
368
399
  export declare const clubEmployesLight: ThemeConfig
369
400
  export declare const clubEmployesDark: ThemeConfig
@@ -437,4 +468,39 @@ export type LogoBrand = 'club-employes' | 'gifteo'
437
468
  export type ModalSize = 'sm' | 'md' | 'lg' | 'full'
438
469
  export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
439
470
  export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left'
440
- export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'
471
+ export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'
472
+ export type TextTag =
473
+ | "p"
474
+ | "span"
475
+ | "strong"
476
+ | "em"
477
+ | "label"
478
+ | "small"
479
+ | "h1"
480
+ | "h2"
481
+ | "h3"
482
+ | "h4"
483
+ | "h5"
484
+ | "h6";
485
+ export type TextWeight =
486
+ | "thin"
487
+ | "extralight"
488
+ | "light"
489
+ | "normal"
490
+ | "medium"
491
+ | "semibold"
492
+ | "bold"
493
+ | "extrabold"
494
+ | "black";
495
+ export type TextAlign = "left" | "center" | "right" | "justify";
496
+ export type TextTransform = "uppercase" | "lowercase" | "capitalize";
497
+ export type TextSize =
498
+ | "xs"
499
+ | "sm"
500
+ | "base"
501
+ | "lg"
502
+ | "xl"
503
+ | "2xl"
504
+ | "3xl"
505
+ | "4xl"
506
+ | "5xl";