@dito-uai/components 5.1.0-alpha.38 → 5.1.0-alpha.40
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/dist/global.css +1 -1
- package/dist/index.cjs +51 -46
- package/dist/index.d.cts +919 -2849
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -13
- package/dist/ui/alert.d.ts +4 -220
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -124
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +4 -148
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/button.d.ts +94 -448
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +2 -66
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/chips.d.ts +4 -236
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/indicator.d.ts +4 -60
- package/dist/ui/indicator.d.ts.map +1 -1
- package/dist/ui/input-description.d.ts +2 -26
- package/dist/ui/input-description.d.ts.map +1 -1
- package/dist/ui/input.d.ts +4 -292
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -18
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/message.d.ts +2 -34
- package/dist/ui/message.d.ts.map +1 -1
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress.d.ts +2 -22
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +2 -106
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/search.d.ts +2 -146
- package/dist/ui/search.d.ts.map +1 -1
- package/dist/ui/status.d.ts +2 -34
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/text.d.ts +2 -62
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +4 -60
- package/dist/ui/toggle.d.ts.map +1 -1
- package/package.json +8 -6
- package/tailwind-preset.ts +275 -0
- package/tailwind.config.ts +10 -272
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -15,37 +15,7 @@ declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
medium: string;
|
|
16
16
|
large: string;
|
|
17
17
|
};
|
|
18
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
19
|
-
color: {
|
|
20
|
-
default: string;
|
|
21
|
-
indigo: string;
|
|
22
|
-
};
|
|
23
|
-
type: {
|
|
24
|
-
icon: string;
|
|
25
|
-
capitals: string;
|
|
26
|
-
image: string;
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
small: string;
|
|
30
|
-
medium: string;
|
|
31
|
-
large: string;
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
color: {
|
|
35
|
-
default: string;
|
|
36
|
-
indigo: string;
|
|
37
|
-
};
|
|
38
|
-
type: {
|
|
39
|
-
icon: string;
|
|
40
|
-
capitals: string;
|
|
41
|
-
image: string;
|
|
42
|
-
};
|
|
43
|
-
size: {
|
|
44
|
-
small: string;
|
|
45
|
-
medium: string;
|
|
46
|
-
large: string;
|
|
47
|
-
};
|
|
48
|
-
}>, {
|
|
18
|
+
}, undefined, "flex items-center justify-center rounded-full", {
|
|
49
19
|
color: {
|
|
50
20
|
default: string;
|
|
51
21
|
indigo: string;
|
|
@@ -75,37 +45,7 @@ declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
75
45
|
medium: string;
|
|
76
46
|
large: string;
|
|
77
47
|
};
|
|
78
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
79
|
-
color: {
|
|
80
|
-
default: string;
|
|
81
|
-
indigo: string;
|
|
82
|
-
};
|
|
83
|
-
type: {
|
|
84
|
-
icon: string;
|
|
85
|
-
capitals: string;
|
|
86
|
-
image: string;
|
|
87
|
-
};
|
|
88
|
-
size: {
|
|
89
|
-
small: string;
|
|
90
|
-
medium: string;
|
|
91
|
-
large: string;
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
color: {
|
|
95
|
-
default: string;
|
|
96
|
-
indigo: string;
|
|
97
|
-
};
|
|
98
|
-
type: {
|
|
99
|
-
icon: string;
|
|
100
|
-
capitals: string;
|
|
101
|
-
image: string;
|
|
102
|
-
};
|
|
103
|
-
size: {
|
|
104
|
-
small: string;
|
|
105
|
-
medium: string;
|
|
106
|
-
large: string;
|
|
107
|
-
};
|
|
108
|
-
}>, unknown, unknown, undefined>>;
|
|
48
|
+
}, undefined, "flex items-center justify-center rounded-full", unknown, unknown, undefined>>;
|
|
109
49
|
export type AvatarProps = React.ComponentPropsWithoutRef<'div'> & VariantProps<typeof avatarVariants> & {
|
|
110
50
|
asChild?: boolean;
|
|
111
51
|
};
|
|
@@ -124,37 +64,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLPro
|
|
|
124
64
|
medium: string;
|
|
125
65
|
large: string;
|
|
126
66
|
};
|
|
127
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
128
|
-
color: {
|
|
129
|
-
default: string;
|
|
130
|
-
indigo: string;
|
|
131
|
-
};
|
|
132
|
-
type: {
|
|
133
|
-
icon: string;
|
|
134
|
-
capitals: string;
|
|
135
|
-
image: string;
|
|
136
|
-
};
|
|
137
|
-
size: {
|
|
138
|
-
small: string;
|
|
139
|
-
medium: string;
|
|
140
|
-
large: string;
|
|
141
|
-
};
|
|
142
|
-
}, {
|
|
143
|
-
color: {
|
|
144
|
-
default: string;
|
|
145
|
-
indigo: string;
|
|
146
|
-
};
|
|
147
|
-
type: {
|
|
148
|
-
icon: string;
|
|
149
|
-
capitals: string;
|
|
150
|
-
image: string;
|
|
151
|
-
};
|
|
152
|
-
size: {
|
|
153
|
-
small: string;
|
|
154
|
-
medium: string;
|
|
155
|
-
large: string;
|
|
156
|
-
};
|
|
157
|
-
}>, {
|
|
67
|
+
}, undefined, "flex items-center justify-center rounded-full", {
|
|
158
68
|
color: {
|
|
159
69
|
default: string;
|
|
160
70
|
indigo: string;
|
|
@@ -184,37 +94,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLPro
|
|
|
184
94
|
medium: string;
|
|
185
95
|
large: string;
|
|
186
96
|
};
|
|
187
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
188
|
-
color: {
|
|
189
|
-
default: string;
|
|
190
|
-
indigo: string;
|
|
191
|
-
};
|
|
192
|
-
type: {
|
|
193
|
-
icon: string;
|
|
194
|
-
capitals: string;
|
|
195
|
-
image: string;
|
|
196
|
-
};
|
|
197
|
-
size: {
|
|
198
|
-
small: string;
|
|
199
|
-
medium: string;
|
|
200
|
-
large: string;
|
|
201
|
-
};
|
|
202
|
-
}, {
|
|
203
|
-
color: {
|
|
204
|
-
default: string;
|
|
205
|
-
indigo: string;
|
|
206
|
-
};
|
|
207
|
-
type: {
|
|
208
|
-
icon: string;
|
|
209
|
-
capitals: string;
|
|
210
|
-
image: string;
|
|
211
|
-
};
|
|
212
|
-
size: {
|
|
213
|
-
small: string;
|
|
214
|
-
medium: string;
|
|
215
|
-
large: string;
|
|
216
|
-
};
|
|
217
|
-
}>, unknown, unknown, undefined>>> & {
|
|
97
|
+
}, undefined, "flex items-center justify-center rounded-full", unknown, unknown, undefined>>> & {
|
|
218
98
|
asChild?: boolean;
|
|
219
99
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
220
100
|
export default Avatar;
|
package/dist/ui/avatar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAGrD,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAGrD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4FAwClB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,GAC7D,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAHE,OAAO;wCAmBpB,CAAC;AAGF,eAAe,MAAM,CAAC"}
|
package/dist/ui/badge.d.ts
CHANGED
|
@@ -19,43 +19,7 @@ declare const badgeVariants: import("tailwind-variants").TVReturnType<{
|
|
|
19
19
|
pill: string;
|
|
20
20
|
dot: string;
|
|
21
21
|
};
|
|
22
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
23
|
-
contrast: {
|
|
24
|
-
true: string;
|
|
25
|
-
false: string;
|
|
26
|
-
};
|
|
27
|
-
status: {
|
|
28
|
-
info: string;
|
|
29
|
-
attention: string;
|
|
30
|
-
white: string;
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
small: string;
|
|
34
|
-
normal: string;
|
|
35
|
-
};
|
|
36
|
-
type: {
|
|
37
|
-
pill: string;
|
|
38
|
-
dot: string;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
contrast: {
|
|
42
|
-
true: string;
|
|
43
|
-
false: string;
|
|
44
|
-
};
|
|
45
|
-
status: {
|
|
46
|
-
info: string;
|
|
47
|
-
attention: string;
|
|
48
|
-
white: string;
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
small: string;
|
|
52
|
-
normal: string;
|
|
53
|
-
};
|
|
54
|
-
type: {
|
|
55
|
-
pill: string;
|
|
56
|
-
dot: string;
|
|
57
|
-
};
|
|
58
|
-
}>, {
|
|
22
|
+
}, undefined, "flex items-center justify-center rounded-full", {
|
|
59
23
|
contrast: {
|
|
60
24
|
true: string;
|
|
61
25
|
false: string;
|
|
@@ -91,43 +55,7 @@ declare const badgeVariants: import("tailwind-variants").TVReturnType<{
|
|
|
91
55
|
pill: string;
|
|
92
56
|
dot: string;
|
|
93
57
|
};
|
|
94
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
95
|
-
contrast: {
|
|
96
|
-
true: string;
|
|
97
|
-
false: string;
|
|
98
|
-
};
|
|
99
|
-
status: {
|
|
100
|
-
info: string;
|
|
101
|
-
attention: string;
|
|
102
|
-
white: string;
|
|
103
|
-
};
|
|
104
|
-
size: {
|
|
105
|
-
small: string;
|
|
106
|
-
normal: string;
|
|
107
|
-
};
|
|
108
|
-
type: {
|
|
109
|
-
pill: string;
|
|
110
|
-
dot: string;
|
|
111
|
-
};
|
|
112
|
-
}, {
|
|
113
|
-
contrast: {
|
|
114
|
-
true: string;
|
|
115
|
-
false: string;
|
|
116
|
-
};
|
|
117
|
-
status: {
|
|
118
|
-
info: string;
|
|
119
|
-
attention: string;
|
|
120
|
-
white: string;
|
|
121
|
-
};
|
|
122
|
-
size: {
|
|
123
|
-
small: string;
|
|
124
|
-
normal: string;
|
|
125
|
-
};
|
|
126
|
-
type: {
|
|
127
|
-
pill: string;
|
|
128
|
-
dot: string;
|
|
129
|
-
};
|
|
130
|
-
}>, unknown, unknown, undefined>>;
|
|
58
|
+
}, undefined, "flex items-center justify-center rounded-full", unknown, unknown, undefined>>;
|
|
131
59
|
export type BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
|
|
132
60
|
asChild?: boolean;
|
|
133
61
|
};
|
|
@@ -149,43 +77,7 @@ declare const Badge: React.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElem
|
|
|
149
77
|
pill: string;
|
|
150
78
|
dot: string;
|
|
151
79
|
};
|
|
152
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
153
|
-
contrast: {
|
|
154
|
-
true: string;
|
|
155
|
-
false: string;
|
|
156
|
-
};
|
|
157
|
-
status: {
|
|
158
|
-
info: string;
|
|
159
|
-
attention: string;
|
|
160
|
-
white: string;
|
|
161
|
-
};
|
|
162
|
-
size: {
|
|
163
|
-
small: string;
|
|
164
|
-
normal: string;
|
|
165
|
-
};
|
|
166
|
-
type: {
|
|
167
|
-
pill: string;
|
|
168
|
-
dot: string;
|
|
169
|
-
};
|
|
170
|
-
}, {
|
|
171
|
-
contrast: {
|
|
172
|
-
true: string;
|
|
173
|
-
false: string;
|
|
174
|
-
};
|
|
175
|
-
status: {
|
|
176
|
-
info: string;
|
|
177
|
-
attention: string;
|
|
178
|
-
white: string;
|
|
179
|
-
};
|
|
180
|
-
size: {
|
|
181
|
-
small: string;
|
|
182
|
-
normal: string;
|
|
183
|
-
};
|
|
184
|
-
type: {
|
|
185
|
-
pill: string;
|
|
186
|
-
dot: string;
|
|
187
|
-
};
|
|
188
|
-
}>, {
|
|
80
|
+
}, undefined, "flex items-center justify-center rounded-full", {
|
|
189
81
|
contrast: {
|
|
190
82
|
true: string;
|
|
191
83
|
false: string;
|
|
@@ -221,43 +113,7 @@ declare const Badge: React.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElem
|
|
|
221
113
|
pill: string;
|
|
222
114
|
dot: string;
|
|
223
115
|
};
|
|
224
|
-
}, undefined, "flex items-center justify-center rounded-full",
|
|
225
|
-
contrast: {
|
|
226
|
-
true: string;
|
|
227
|
-
false: string;
|
|
228
|
-
};
|
|
229
|
-
status: {
|
|
230
|
-
info: string;
|
|
231
|
-
attention: string;
|
|
232
|
-
white: string;
|
|
233
|
-
};
|
|
234
|
-
size: {
|
|
235
|
-
small: string;
|
|
236
|
-
normal: string;
|
|
237
|
-
};
|
|
238
|
-
type: {
|
|
239
|
-
pill: string;
|
|
240
|
-
dot: string;
|
|
241
|
-
};
|
|
242
|
-
}, {
|
|
243
|
-
contrast: {
|
|
244
|
-
true: string;
|
|
245
|
-
false: string;
|
|
246
|
-
};
|
|
247
|
-
status: {
|
|
248
|
-
info: string;
|
|
249
|
-
attention: string;
|
|
250
|
-
white: string;
|
|
251
|
-
};
|
|
252
|
-
size: {
|
|
253
|
-
small: string;
|
|
254
|
-
normal: string;
|
|
255
|
-
};
|
|
256
|
-
type: {
|
|
257
|
-
pill: string;
|
|
258
|
-
dot: string;
|
|
259
|
-
};
|
|
260
|
-
}>, unknown, unknown, undefined>>> & {
|
|
116
|
+
}, undefined, "flex items-center justify-center rounded-full", unknown, unknown, undefined>>> & {
|
|
261
117
|
asChild?: boolean;
|
|
262
118
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
263
119
|
export default Badge;
|
package/dist/ui/badge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/ui/badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4FA6CjB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,eAAe,CAAC,GACtD,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAHG,OAAO;yCAqBpB,CAAC;AAGF,eAAe,KAAK,CAAC"}
|