@club-employes/utopia 4.40.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-21T09:28:32.761Z",
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'
@@ -352,6 +368,7 @@ export declare const Menu: DefineComponent<{}>
352
368
  export declare const NavItem: DefineComponent<{}>
353
369
  export declare const SearchBox: DefineComponent<SearchBoxProps>
354
370
  export declare const Switch: DefineComponent<SwitchProps>
371
+ export declare const Text: DefineComponent<TextProps>
355
372
  export declare const InputText: DefineComponent<InputTextProps>
356
373
  export declare const DropDown: DefineComponent<DropDownProps>
357
374
  export declare const InputCode: DefineComponent<InputCodeProps>
@@ -451,4 +468,39 @@ export type LogoBrand = 'club-employes' | 'gifteo'
451
468
  export type ModalSize = 'sm' | 'md' | 'lg' | 'full'
452
469
  export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
453
470
  export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left'
454
- 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";