@dito-uai/components 5.1.0-alpha.5 → 5.1.0-alpha.50
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/LICENSE +21 -0
- package/README.md +45 -1
- package/dist/global.css +1 -1
- package/dist/index.cjs +78 -42
- package/dist/index.d.cts +1131 -857
- package/dist/index.d.ts +60 -2240
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -14
- package/dist/ui/alert.d.ts +22 -32
- 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 +166 -316
- 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/checkbox.d.ts +2 -0
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/chips.d.ts +24 -280
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/collapsible.d.ts +5 -0
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +131 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/indicator.d.ts +15 -15
- 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 +129 -255
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/internal/dropdown-content.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/loading.d.ts +9 -0
- package/dist/ui/loading.d.ts.map +1 -0
- package/dist/ui/message.d.ts +56 -0
- package/dist/ui/message.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress-bar.d.ts +1 -1
- package/dist/ui/progress-bar.d.ts.map +1 -1
- package/dist/ui/progress.d.ts +9 -27
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio.d.ts +98 -4
- package/dist/ui/radio.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +4 -108
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/search.d.ts +60 -124
- package/dist/ui/search.d.ts.map +1 -1
- package/dist/ui/sheets.d.ts +2 -2
- package/dist/ui/sheets.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +42 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/status.d.ts +5 -37
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/switch.d.ts +15 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +4 -5
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/text.d.ts +3 -63
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/tip-card.d.ts +77 -0
- package/dist/ui/tip-card.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +11 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +48 -12
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/package.json +99 -40
- package/tailwind-preset.ts +275 -0
- package/tailwind.config.ts +12 -262
- package/dist/ui/form-item.d.ts +0 -16
- package/dist/ui/form-item.d.ts.map +0 -1
- package/dist/ui/form.d.ts +0 -1
- package/dist/ui/form.d.ts.map +0 -1
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"}
|