@club-employes/utopia 4.40.0 → 4.42.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-21T09:28:32.761Z",
2
+ "generated": "2025-11-23T10:40:07.839Z",
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'
@@ -293,10 +309,20 @@ export interface ErrorStateProps {
293
309
  preset?: 'gears' | 'search'
294
310
  }
295
311
 
312
+ export interface RangeSliderProps {
313
+ min?: number;
314
+ max: number;
315
+ currentValue: number | [number, number];
316
+ unit?: string;
317
+ showLabels?: boolean;
318
+ size?: 'medium' | 'large';
319
+ }
320
+
296
321
  export interface FilterPriceProps {
297
- variant?: 'default' | 'primary' | 'secondary'
298
- size?: 'small' | 'medium' | 'large'
299
- disabled?: boolean
322
+ currentValue: [number, number];
323
+ min?: number;
324
+ max: number;
325
+ unit?: string;
300
326
  }
301
327
 
302
328
  export interface ModalProps {
@@ -352,6 +378,7 @@ export declare const Menu: DefineComponent<{}>
352
378
  export declare const NavItem: DefineComponent<{}>
353
379
  export declare const SearchBox: DefineComponent<SearchBoxProps>
354
380
  export declare const Switch: DefineComponent<SwitchProps>
381
+ export declare const Text: DefineComponent<TextProps>
355
382
  export declare const InputText: DefineComponent<InputTextProps>
356
383
  export declare const DropDown: DefineComponent<DropDownProps>
357
384
  export declare const InputCode: DefineComponent<InputCodeProps>
@@ -373,6 +400,7 @@ export declare const FeedbackState: DefineComponent<ErrorStateProps>
373
400
  export declare const PriceTag: DefineComponent<PriceTagProps>
374
401
  export declare const FilterChip: DefineComponent<FilterChipProps>
375
402
  export declare const ProductCard: DefineComponent<ProductCardProps>
403
+ export declare const RangeSlider: DefineComponent<RangeSliderProps>
376
404
  export declare const FilterPrice: DefineComponent<FilterPriceProps>
377
405
  export declare const Modal: DefineComponent<ModalProps>
378
406
  export declare const BottomSheet: DefineComponent<BottomSheetProps>
@@ -415,6 +443,10 @@ export interface UseFaviconReturn {
415
443
  updateFavicon: (faviconUrl: string) => void
416
444
  }
417
445
 
446
+ export interface UseCurrencyReturn {
447
+ currencyIconName: ComputedRef<string>
448
+ }
449
+
418
450
  export interface TooltipProps {
419
451
  placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'top_left' | 'top_right' | 'top_center' | 'bottom_left' | 'bottom_right' | 'bottom_center'
420
452
  openDelay?: number
@@ -430,6 +462,7 @@ export declare const Tooltip: DefineComponent<TooltipProps>
430
462
  // Composable exports
431
463
  export declare function useTheme(): UseThemeReturn
432
464
  export declare function useFavicon(): UseFaviconReturn
465
+ export declare function useCurrency(currency: Currency): UseCurrencyReturn
433
466
 
434
467
  // Theme initialization exports
435
468
  export declare function initializeTheme(themeName: string): Promise<void>
@@ -451,4 +484,39 @@ export type LogoBrand = 'club-employes' | 'gifteo'
451
484
  export type ModalSize = 'sm' | 'md' | 'lg' | 'full'
452
485
  export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
453
486
  export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left'
454
- export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'
487
+ export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button'
488
+ export type TextTag =
489
+ | "p"
490
+ | "span"
491
+ | "strong"
492
+ | "em"
493
+ | "label"
494
+ | "small"
495
+ | "h1"
496
+ | "h2"
497
+ | "h3"
498
+ | "h4"
499
+ | "h5"
500
+ | "h6";
501
+ export type TextWeight =
502
+ | "thin"
503
+ | "extralight"
504
+ | "light"
505
+ | "normal"
506
+ | "medium"
507
+ | "semibold"
508
+ | "bold"
509
+ | "extrabold"
510
+ | "black";
511
+ export type TextAlign = "left" | "center" | "right" | "justify";
512
+ export type TextTransform = "uppercase" | "lowercase" | "capitalize";
513
+ export type TextSize =
514
+ | "xs"
515
+ | "sm"
516
+ | "base"
517
+ | "lg"
518
+ | "xl"
519
+ | "2xl"
520
+ | "3xl"
521
+ | "4xl"
522
+ | "5xl";