@tui/design-system 0.1.1-MR-211.2 → 0.1.1-MR-211.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tui/design-system",
3
- "version": "0.1.1-MR-211.2",
3
+ "version": "0.1.1-MR-211.4",
4
4
  "description": "TUI Design System",
5
5
  "author": "TUI Group",
6
6
  "contributors": [
@@ -56,3 +56,75 @@ export interface LinkProps {
56
56
  isExternal?: boolean;
57
57
  theme?: Theme;
58
58
  }
59
+
60
+ // ─── Tooltip ────────────────────────────────────────────
61
+ export interface TooltipProps {
62
+ variant?: 'text' | 'icon';
63
+ label?: string;
64
+ content?: string;
65
+ isInverse?: boolean;
66
+ theme?: Theme;
67
+ }
68
+
69
+ // ─── Skeleton ───────────────────────────────────────────
70
+ export type SkeletonType = 'heading' | 'subheading' | 'text' | 'circle' | 'card' | 'container' | 'spacer';
71
+ export type SkeletonWidth = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
72
+ export type SkeletonHeight = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
73
+
74
+ export interface SkeletonProps {
75
+ type?: SkeletonType;
76
+ variant?: 'filled' | 'outlined';
77
+ width?: SkeletonWidth;
78
+ widthXs?: SkeletonWidth;
79
+ height?: SkeletonHeight;
80
+ roundedBottom?: boolean;
81
+ theme?: Theme;
82
+ }
83
+
84
+ // ─── Skeleton Layout ────────────────────────────────────
85
+ export interface SkeletonLayoutProps {
86
+ direction?: 'row' | 'column';
87
+ gap?: 'sm' | 'md';
88
+ justifyBetween?: boolean;
89
+ theme?: Theme;
90
+ }
91
+
92
+ // ─── Show More Or Less ──────────────────────────────────
93
+ export interface ShowMoreOrLessProps {
94
+ isOpen?: boolean;
95
+ textOnly?: boolean;
96
+ toggleOpen?: string;
97
+ toggleClose?: string;
98
+ isInverse?: boolean;
99
+ theme?: Theme;
100
+ }
101
+
102
+ // ─── Active Tag ─────────────────────────────────────────
103
+ export interface ActiveTagProps {
104
+ label?: string;
105
+ variant?: 'text' | 'icon' | 'rating';
106
+ iconAsset?: string;
107
+ theme?: Theme;
108
+ }
109
+
110
+ // ─── Info Tag ───────────────────────────────────────────
111
+ export interface InfoTagProps {
112
+ variant?: 'info' | 'neutral' | 'scarcity' | 'local-product';
113
+ size?: 'small' | 'medium';
114
+ label?: string;
115
+ leadingIcon?: boolean;
116
+ leadingIconAsset?: string;
117
+ theme?: Theme;
118
+ }
119
+
120
+ // ─── Promo Tag ──────────────────────────────────────────
121
+ export type PromoTagSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
122
+
123
+ export interface PromoTagProps {
124
+ icon?: string;
125
+ label?: string;
126
+ circleIcon?: boolean;
127
+ filled?: boolean;
128
+ size?: PromoTagSize;
129
+ theme?: Theme;
130
+ }