@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/button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAK1D,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAK1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAuIlB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GACrE,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cALE,OAAO;WACV,KAAK,CAAC,WAAW;cACd,OAAO;2CAwDpB,CAAC;AAGF,eAAe,MAAM,CAAC"}
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -16,39 +16,7 @@ declare const cardVariants: import("tailwind-variants").TVReturnType<{
|
|
|
16
16
|
medium: string;
|
|
17
17
|
big: string;
|
|
18
18
|
};
|
|
19
|
-
}, undefined, "flex w-full border border-gray-200 bg-white p-2",
|
|
20
|
-
variant: {
|
|
21
|
-
default: string;
|
|
22
|
-
big: string;
|
|
23
|
-
small: string;
|
|
24
|
-
};
|
|
25
|
-
direction: {
|
|
26
|
-
col: string;
|
|
27
|
-
row: string;
|
|
28
|
-
};
|
|
29
|
-
padding: {
|
|
30
|
-
none: string;
|
|
31
|
-
small: string;
|
|
32
|
-
medium: string;
|
|
33
|
-
big: string;
|
|
34
|
-
};
|
|
35
|
-
}, {
|
|
36
|
-
variant: {
|
|
37
|
-
default: string;
|
|
38
|
-
big: string;
|
|
39
|
-
small: string;
|
|
40
|
-
};
|
|
41
|
-
direction: {
|
|
42
|
-
col: string;
|
|
43
|
-
row: string;
|
|
44
|
-
};
|
|
45
|
-
padding: {
|
|
46
|
-
none: string;
|
|
47
|
-
small: string;
|
|
48
|
-
medium: string;
|
|
49
|
-
big: string;
|
|
50
|
-
};
|
|
51
|
-
}>, {
|
|
19
|
+
}, undefined, "flex w-full border border-gray-200 bg-white p-2", {
|
|
52
20
|
variant: {
|
|
53
21
|
default: string;
|
|
54
22
|
big: string;
|
|
@@ -80,39 +48,7 @@ declare const cardVariants: import("tailwind-variants").TVReturnType<{
|
|
|
80
48
|
medium: string;
|
|
81
49
|
big: string;
|
|
82
50
|
};
|
|
83
|
-
}, undefined, "flex w-full border border-gray-200 bg-white p-2",
|
|
84
|
-
variant: {
|
|
85
|
-
default: string;
|
|
86
|
-
big: string;
|
|
87
|
-
small: string;
|
|
88
|
-
};
|
|
89
|
-
direction: {
|
|
90
|
-
col: string;
|
|
91
|
-
row: string;
|
|
92
|
-
};
|
|
93
|
-
padding: {
|
|
94
|
-
none: string;
|
|
95
|
-
small: string;
|
|
96
|
-
medium: string;
|
|
97
|
-
big: string;
|
|
98
|
-
};
|
|
99
|
-
}, {
|
|
100
|
-
variant: {
|
|
101
|
-
default: string;
|
|
102
|
-
big: string;
|
|
103
|
-
small: string;
|
|
104
|
-
};
|
|
105
|
-
direction: {
|
|
106
|
-
col: string;
|
|
107
|
-
row: string;
|
|
108
|
-
};
|
|
109
|
-
padding: {
|
|
110
|
-
none: string;
|
|
111
|
-
small: string;
|
|
112
|
-
medium: string;
|
|
113
|
-
big: string;
|
|
114
|
-
};
|
|
115
|
-
}>, unknown, unknown, undefined>>;
|
|
51
|
+
}, undefined, "flex w-full border border-gray-200 bg-white p-2", unknown, unknown, undefined>>;
|
|
116
52
|
export type CardProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren & VariantProps<typeof cardVariants>;
|
|
117
53
|
declare const Card: {
|
|
118
54
|
({ className, variant, direction, padding, children, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/ui/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8FAwBhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,GACpD,iBAAiB,GACjB,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAEpC,QAAA,MAAM,IAAI;qEAOP,SAAS;;CASX,CAAC;AAGF,eAAe,IAAI,CAAC"}
|
package/dist/ui/chips.d.ts
CHANGED
|
@@ -34,65 +34,7 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
|
34
34
|
container: string;
|
|
35
35
|
icon: string;
|
|
36
36
|
text: string;
|
|
37
|
-
}, undefined,
|
|
38
|
-
size: {
|
|
39
|
-
small: {
|
|
40
|
-
container: string;
|
|
41
|
-
icon: string;
|
|
42
|
-
text: string;
|
|
43
|
-
};
|
|
44
|
-
medium: {
|
|
45
|
-
container: string;
|
|
46
|
-
icon: string;
|
|
47
|
-
text: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
border: {
|
|
51
|
-
true: {
|
|
52
|
-
container: string;
|
|
53
|
-
icon: string;
|
|
54
|
-
};
|
|
55
|
-
false: {
|
|
56
|
-
container: string;
|
|
57
|
-
icon: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
active: {
|
|
61
|
-
true: {
|
|
62
|
-
container: string;
|
|
63
|
-
icon: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
}, {
|
|
67
|
-
size: {
|
|
68
|
-
small: {
|
|
69
|
-
container: string;
|
|
70
|
-
icon: string;
|
|
71
|
-
text: string;
|
|
72
|
-
};
|
|
73
|
-
medium: {
|
|
74
|
-
container: string;
|
|
75
|
-
icon: string;
|
|
76
|
-
text: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
border: {
|
|
80
|
-
true: {
|
|
81
|
-
container: string;
|
|
82
|
-
icon: string;
|
|
83
|
-
};
|
|
84
|
-
false: {
|
|
85
|
-
container: string;
|
|
86
|
-
icon: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
active: {
|
|
90
|
-
true: {
|
|
91
|
-
container: string;
|
|
92
|
-
icon: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
}>, {
|
|
37
|
+
}, undefined, {
|
|
96
38
|
size: {
|
|
97
39
|
small: {
|
|
98
40
|
container: string;
|
|
@@ -158,65 +100,7 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
|
|
|
158
100
|
container: string;
|
|
159
101
|
icon: string;
|
|
160
102
|
text: string;
|
|
161
|
-
}, undefined,
|
|
162
|
-
size: {
|
|
163
|
-
small: {
|
|
164
|
-
container: string;
|
|
165
|
-
icon: string;
|
|
166
|
-
text: string;
|
|
167
|
-
};
|
|
168
|
-
medium: {
|
|
169
|
-
container: string;
|
|
170
|
-
icon: string;
|
|
171
|
-
text: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
border: {
|
|
175
|
-
true: {
|
|
176
|
-
container: string;
|
|
177
|
-
icon: string;
|
|
178
|
-
};
|
|
179
|
-
false: {
|
|
180
|
-
container: string;
|
|
181
|
-
icon: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
active: {
|
|
185
|
-
true: {
|
|
186
|
-
container: string;
|
|
187
|
-
icon: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
}, {
|
|
191
|
-
size: {
|
|
192
|
-
small: {
|
|
193
|
-
container: string;
|
|
194
|
-
icon: string;
|
|
195
|
-
text: string;
|
|
196
|
-
};
|
|
197
|
-
medium: {
|
|
198
|
-
container: string;
|
|
199
|
-
icon: string;
|
|
200
|
-
text: string;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
border: {
|
|
204
|
-
true: {
|
|
205
|
-
container: string;
|
|
206
|
-
icon: string;
|
|
207
|
-
};
|
|
208
|
-
false: {
|
|
209
|
-
container: string;
|
|
210
|
-
icon: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
active: {
|
|
214
|
-
true: {
|
|
215
|
-
container: string;
|
|
216
|
-
icon: string;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
}>, unknown, unknown, undefined>>;
|
|
103
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
220
104
|
export type ChipsProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof chipsVariants> & {
|
|
221
105
|
asChild?: boolean;
|
|
222
106
|
icon?: React.ElementType;
|
|
@@ -258,65 +142,7 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
258
142
|
container: string;
|
|
259
143
|
icon: string;
|
|
260
144
|
text: string;
|
|
261
|
-
}, undefined,
|
|
262
|
-
size: {
|
|
263
|
-
small: {
|
|
264
|
-
container: string;
|
|
265
|
-
icon: string;
|
|
266
|
-
text: string;
|
|
267
|
-
};
|
|
268
|
-
medium: {
|
|
269
|
-
container: string;
|
|
270
|
-
icon: string;
|
|
271
|
-
text: string;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
border: {
|
|
275
|
-
true: {
|
|
276
|
-
container: string;
|
|
277
|
-
icon: string;
|
|
278
|
-
};
|
|
279
|
-
false: {
|
|
280
|
-
container: string;
|
|
281
|
-
icon: string;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
active: {
|
|
285
|
-
true: {
|
|
286
|
-
container: string;
|
|
287
|
-
icon: string;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
}, {
|
|
291
|
-
size: {
|
|
292
|
-
small: {
|
|
293
|
-
container: string;
|
|
294
|
-
icon: string;
|
|
295
|
-
text: string;
|
|
296
|
-
};
|
|
297
|
-
medium: {
|
|
298
|
-
container: string;
|
|
299
|
-
icon: string;
|
|
300
|
-
text: string;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
border: {
|
|
304
|
-
true: {
|
|
305
|
-
container: string;
|
|
306
|
-
icon: string;
|
|
307
|
-
};
|
|
308
|
-
false: {
|
|
309
|
-
container: string;
|
|
310
|
-
icon: string;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
active: {
|
|
314
|
-
true: {
|
|
315
|
-
container: string;
|
|
316
|
-
icon: string;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
}>, {
|
|
145
|
+
}, undefined, {
|
|
320
146
|
size: {
|
|
321
147
|
small: {
|
|
322
148
|
container: string;
|
|
@@ -382,65 +208,7 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
382
208
|
container: string;
|
|
383
209
|
icon: string;
|
|
384
210
|
text: string;
|
|
385
|
-
}, undefined,
|
|
386
|
-
size: {
|
|
387
|
-
small: {
|
|
388
|
-
container: string;
|
|
389
|
-
icon: string;
|
|
390
|
-
text: string;
|
|
391
|
-
};
|
|
392
|
-
medium: {
|
|
393
|
-
container: string;
|
|
394
|
-
icon: string;
|
|
395
|
-
text: string;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
border: {
|
|
399
|
-
true: {
|
|
400
|
-
container: string;
|
|
401
|
-
icon: string;
|
|
402
|
-
};
|
|
403
|
-
false: {
|
|
404
|
-
container: string;
|
|
405
|
-
icon: string;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
active: {
|
|
409
|
-
true: {
|
|
410
|
-
container: string;
|
|
411
|
-
icon: string;
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
}, {
|
|
415
|
-
size: {
|
|
416
|
-
small: {
|
|
417
|
-
container: string;
|
|
418
|
-
icon: string;
|
|
419
|
-
text: string;
|
|
420
|
-
};
|
|
421
|
-
medium: {
|
|
422
|
-
container: string;
|
|
423
|
-
icon: string;
|
|
424
|
-
text: string;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
border: {
|
|
428
|
-
true: {
|
|
429
|
-
container: string;
|
|
430
|
-
icon: string;
|
|
431
|
-
};
|
|
432
|
-
false: {
|
|
433
|
-
container: string;
|
|
434
|
-
icon: string;
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
active: {
|
|
438
|
-
true: {
|
|
439
|
-
container: string;
|
|
440
|
-
icon: string;
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
}>, unknown, unknown, undefined>>> & {
|
|
211
|
+
}, undefined, unknown, unknown, undefined>>> & {
|
|
444
212
|
asChild?: boolean;
|
|
445
213
|
icon?: React.ElementType;
|
|
446
214
|
text: string;
|
package/dist/ui/chips.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chips.d.ts","sourceRoot":"","sources":["../../src/ui/chips.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"chips.d.ts","sourceRoot":"","sources":["../../src/ui/chips.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA0CjB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GACrD,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cARG,OAAO;WACV,KAAK,CAAC,WAAW;UAClB,MAAM;YACJ,MAAM;cACJ,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI;oBAClB,MAAM;wCAoDzB,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
package/dist/ui/indicator.d.ts
CHANGED
|
@@ -7,21 +7,7 @@ declare const indicatorVariants: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
neutral: string;
|
|
8
8
|
info: string;
|
|
9
9
|
};
|
|
10
|
-
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2",
|
|
11
|
-
status: {
|
|
12
|
-
positive: string;
|
|
13
|
-
negative: string;
|
|
14
|
-
neutral: string;
|
|
15
|
-
info: string;
|
|
16
|
-
};
|
|
17
|
-
}, {
|
|
18
|
-
status: {
|
|
19
|
-
positive: string;
|
|
20
|
-
negative: string;
|
|
21
|
-
neutral: string;
|
|
22
|
-
info: string;
|
|
23
|
-
};
|
|
24
|
-
}>, {
|
|
10
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", {
|
|
25
11
|
status: {
|
|
26
12
|
positive: string;
|
|
27
13
|
negative: string;
|
|
@@ -35,21 +21,7 @@ declare const indicatorVariants: import("tailwind-variants").TVReturnType<{
|
|
|
35
21
|
neutral: string;
|
|
36
22
|
info: string;
|
|
37
23
|
};
|
|
38
|
-
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2",
|
|
39
|
-
status: {
|
|
40
|
-
positive: string;
|
|
41
|
-
negative: string;
|
|
42
|
-
neutral: string;
|
|
43
|
-
info: string;
|
|
44
|
-
};
|
|
45
|
-
}, {
|
|
46
|
-
status: {
|
|
47
|
-
positive: string;
|
|
48
|
-
negative: string;
|
|
49
|
-
neutral: string;
|
|
50
|
-
info: string;
|
|
51
|
-
};
|
|
52
|
-
}>, unknown, unknown, undefined>>;
|
|
24
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", unknown, unknown, undefined>>;
|
|
53
25
|
export type IndicatorProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof indicatorVariants> & {
|
|
54
26
|
value: string | number;
|
|
55
27
|
icon?: 'positive' | 'neutral' | 'negative';
|
|
@@ -62,21 +34,7 @@ declare const Indicator: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
62
34
|
neutral: string;
|
|
63
35
|
info: string;
|
|
64
36
|
};
|
|
65
|
-
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2",
|
|
66
|
-
status: {
|
|
67
|
-
positive: string;
|
|
68
|
-
negative: string;
|
|
69
|
-
neutral: string;
|
|
70
|
-
info: string;
|
|
71
|
-
};
|
|
72
|
-
}, {
|
|
73
|
-
status: {
|
|
74
|
-
positive: string;
|
|
75
|
-
negative: string;
|
|
76
|
-
neutral: string;
|
|
77
|
-
info: string;
|
|
78
|
-
};
|
|
79
|
-
}>, {
|
|
37
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", {
|
|
80
38
|
status: {
|
|
81
39
|
positive: string;
|
|
82
40
|
negative: string;
|
|
@@ -90,21 +48,7 @@ declare const Indicator: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
90
48
|
neutral: string;
|
|
91
49
|
info: string;
|
|
92
50
|
};
|
|
93
|
-
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2",
|
|
94
|
-
status: {
|
|
95
|
-
positive: string;
|
|
96
|
-
negative: string;
|
|
97
|
-
neutral: string;
|
|
98
|
-
info: string;
|
|
99
|
-
};
|
|
100
|
-
}, {
|
|
101
|
-
status: {
|
|
102
|
-
positive: string;
|
|
103
|
-
negative: string;
|
|
104
|
-
neutral: string;
|
|
105
|
-
info: string;
|
|
106
|
-
};
|
|
107
|
-
}>, unknown, unknown, undefined>>> & {
|
|
51
|
+
}, undefined, "text-medium flex h-3 items-center justify-center rounded-sm border border-neutral-200 px-1 py-0.5 [&_svg]:-ml-0.5 [&_svg]:w-2", unknown, unknown, undefined>>> & {
|
|
108
52
|
value: string | number;
|
|
109
53
|
icon?: "positive" | "neutral" | "negative";
|
|
110
54
|
usePercentageSymbol?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indicator.d.ts","sourceRoot":"","sources":["../../src/ui/indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"indicator.d.ts","sourceRoot":"","sources":["../../src/ui/indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIrD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;4KAarB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAC/D,YAAY,CAAC,OAAO,iBAAiB,CAAC,GAAG;IACvC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEJ,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;WALJ,MAAM,GAAG,MAAM;WACf,UAAU,GAAG,SAAS,GAAG,UAAU;0BACpB,OAAO;wCA4BhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -9,19 +9,7 @@ declare const inputDescriptionVariants: import("tailwind-variants").TVReturnType
|
|
|
9
9
|
}, {
|
|
10
10
|
text: string;
|
|
11
11
|
counter: string;
|
|
12
|
-
}, undefined,
|
|
13
|
-
invalid: {
|
|
14
|
-
true: {
|
|
15
|
-
text: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
invalid: {
|
|
20
|
-
true: {
|
|
21
|
-
text: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}>, {
|
|
12
|
+
}, undefined, {
|
|
25
13
|
invalid: {
|
|
26
14
|
true: {
|
|
27
15
|
text: string;
|
|
@@ -39,19 +27,7 @@ declare const inputDescriptionVariants: import("tailwind-variants").TVReturnType
|
|
|
39
27
|
}, {
|
|
40
28
|
text: string;
|
|
41
29
|
counter: string;
|
|
42
|
-
}, undefined,
|
|
43
|
-
invalid: {
|
|
44
|
-
true: {
|
|
45
|
-
text: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
}, {
|
|
49
|
-
invalid: {
|
|
50
|
-
true: {
|
|
51
|
-
text: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
}>, unknown, unknown, undefined>>;
|
|
30
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
55
31
|
export type InputDescriptionProps = React.InputHTMLAttributes<HTMLInputElement> & VariantProps<typeof inputDescriptionVariants> & {
|
|
56
32
|
text?: string;
|
|
57
33
|
counter?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-description.d.ts","sourceRoot":"","sources":["../../src/ui/input-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAErD,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"input-description.d.ts","sourceRoot":"","sources":["../../src/ui/input-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAM,MAAM,mBAAmB,CAAC;AAErD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAa5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAC/B,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GACzC,YAAY,CAAC,OAAO,wBAAwB,CAAC,GAAG;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEN,QAAA,MAAM,gBAAgB;8EAQnB,qBAAqB;;CAevB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
|