@dito-uai/components 5.1.0-alpha.5 → 5.1.0-alpha.51

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.
Files changed (78) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -1
  3. package/dist/global.css +1 -1
  4. package/dist/index.cjs +78 -42
  5. package/dist/index.d.cts +1133 -858
  6. package/dist/index.d.ts +60 -2240
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +21 -14
  9. package/dist/ui/alert.d.ts +22 -32
  10. package/dist/ui/alert.d.ts.map +1 -1
  11. package/dist/ui/avatar.d.ts +4 -124
  12. package/dist/ui/avatar.d.ts.map +1 -1
  13. package/dist/ui/badge.d.ts +4 -148
  14. package/dist/ui/badge.d.ts.map +1 -1
  15. package/dist/ui/button.d.ts +166 -316
  16. package/dist/ui/button.d.ts.map +1 -1
  17. package/dist/ui/card.d.ts +2 -66
  18. package/dist/ui/card.d.ts.map +1 -1
  19. package/dist/ui/checkbox.d.ts +2 -0
  20. package/dist/ui/checkbox.d.ts.map +1 -1
  21. package/dist/ui/chips.d.ts +24 -280
  22. package/dist/ui/chips.d.ts.map +1 -1
  23. package/dist/ui/collapsible.d.ts +5 -0
  24. package/dist/ui/collapsible.d.ts.map +1 -1
  25. package/dist/ui/dropdown-menu.d.ts +131 -0
  26. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  27. package/dist/ui/indicator.d.ts +15 -15
  28. package/dist/ui/indicator.d.ts.map +1 -1
  29. package/dist/ui/input-description.d.ts +2 -26
  30. package/dist/ui/input-description.d.ts.map +1 -1
  31. package/dist/ui/input.d.ts +129 -255
  32. package/dist/ui/input.d.ts.map +1 -1
  33. package/dist/ui/internal/dropdown-content.d.ts.map +1 -1
  34. package/dist/ui/label.d.ts +2 -18
  35. package/dist/ui/label.d.ts.map +1 -1
  36. package/dist/ui/loading.d.ts +9 -0
  37. package/dist/ui/loading.d.ts.map +1 -0
  38. package/dist/ui/message.d.ts +56 -0
  39. package/dist/ui/message.d.ts.map +1 -0
  40. package/dist/ui/popover.d.ts +7 -0
  41. package/dist/ui/popover.d.ts.map +1 -0
  42. package/dist/ui/progress-bar.d.ts +1 -1
  43. package/dist/ui/progress-bar.d.ts.map +1 -1
  44. package/dist/ui/progress.d.ts +9 -27
  45. package/dist/ui/progress.d.ts.map +1 -1
  46. package/dist/ui/radio.d.ts +98 -4
  47. package/dist/ui/radio.d.ts.map +1 -1
  48. package/dist/ui/scope.d.ts +4 -108
  49. package/dist/ui/scope.d.ts.map +1 -1
  50. package/dist/ui/search.d.ts +60 -124
  51. package/dist/ui/search.d.ts.map +1 -1
  52. package/dist/ui/sheets.d.ts +2 -2
  53. package/dist/ui/sheets.d.ts.map +1 -1
  54. package/dist/ui/skeleton.d.ts +42 -0
  55. package/dist/ui/skeleton.d.ts.map +1 -0
  56. package/dist/ui/status.d.ts +7 -38
  57. package/dist/ui/status.d.ts.map +1 -1
  58. package/dist/ui/switch.d.ts +15 -0
  59. package/dist/ui/switch.d.ts.map +1 -0
  60. package/dist/ui/tabs.d.ts +4 -5
  61. package/dist/ui/tabs.d.ts.map +1 -1
  62. package/dist/ui/text.d.ts +3 -63
  63. package/dist/ui/text.d.ts.map +1 -1
  64. package/dist/ui/tip-card.d.ts +77 -0
  65. package/dist/ui/tip-card.d.ts.map +1 -0
  66. package/dist/ui/toggle-group.d.ts +11 -0
  67. package/dist/ui/toggle-group.d.ts.map +1 -0
  68. package/dist/ui/toggle.d.ts +48 -12
  69. package/dist/ui/toggle.d.ts.map +1 -1
  70. package/dist/ui/tooltip.d.ts +10 -0
  71. package/dist/ui/tooltip.d.ts.map +1 -0
  72. package/package.json +99 -40
  73. package/tailwind-preset.ts +275 -0
  74. package/tailwind.config.ts +12 -262
  75. package/dist/ui/form-item.d.ts +0 -16
  76. package/dist/ui/form-item.d.ts.map +0 -1
  77. package/dist/ui/form.d.ts +0 -1
  78. package/dist/ui/form.d.ts.map +0 -1
@@ -1 +1 @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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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", import("tailwind-variants/dist/config.js").TVConfig<{
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", import("tailwind-variants/dist/config.js").TVConfig<{
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;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwBhB,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"}
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"}
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ import { Root } from '@radix-ui/react-checkbox';
3
+ export type CheckboxProps = React.ComponentPropsWithoutRef<typeof Root>;
2
4
  declare const Checkbox: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3
5
  export default Checkbox;
4
6
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B,QAAA,MAAM,QAAQ,kLA4BZ,CAAC;AAIH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AA8BhD,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAC;AAExE,QAAA,MAAM,QAAQ,kLA2Bb,CAAC;AAIF,eAAe,QAAQ,CAAC"}
@@ -6,20 +6,12 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
6
6
  small: {
7
7
  container: string;
8
8
  icon: string;
9
+ text: string;
9
10
  };
10
11
  medium: {
11
12
  container: string;
12
13
  icon: string;
13
- };
14
- };
15
- border: {
16
- true: {
17
- container: string;
18
- icon: string;
19
- };
20
- false: {
21
- container: string;
22
- icon: string;
14
+ text: string;
23
15
  };
24
16
  };
25
17
  active: {
@@ -31,79 +23,18 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
31
23
  }, {
32
24
  container: string;
33
25
  icon: string;
34
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
26
+ text: string;
27
+ }, undefined, {
35
28
  size: {
36
29
  small: {
37
30
  container: string;
38
31
  icon: string;
32
+ text: string;
39
33
  };
40
34
  medium: {
41
35
  container: string;
42
36
  icon: string;
43
- };
44
- };
45
- border: {
46
- true: {
47
- container: string;
48
- icon: string;
49
- };
50
- false: {
51
- container: string;
52
- icon: string;
53
- };
54
- };
55
- active: {
56
- true: {
57
- container: string;
58
- icon: string;
59
- };
60
- };
61
- }, {
62
- size: {
63
- small: {
64
- container: string;
65
- icon: string;
66
- };
67
- medium: {
68
- container: string;
69
- icon: string;
70
- };
71
- };
72
- border: {
73
- true: {
74
- container: string;
75
- icon: string;
76
- };
77
- false: {
78
- container: string;
79
- icon: string;
80
- };
81
- };
82
- active: {
83
- true: {
84
- container: string;
85
- icon: string;
86
- };
87
- };
88
- }>, {
89
- size: {
90
- small: {
91
- container: string;
92
- icon: string;
93
- };
94
- medium: {
95
- container: string;
96
- icon: string;
97
- };
98
- };
99
- border: {
100
- true: {
101
- container: string;
102
- icon: string;
103
- };
104
- false: {
105
- container: string;
106
- icon: string;
37
+ text: string;
107
38
  };
108
39
  };
109
40
  active: {
@@ -115,25 +46,18 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
115
46
  }, {
116
47
  container: string;
117
48
  icon: string;
49
+ text: string;
118
50
  }, import("tailwind-variants").TVReturnType<{
119
51
  size: {
120
52
  small: {
121
53
  container: string;
122
54
  icon: string;
55
+ text: string;
123
56
  };
124
57
  medium: {
125
58
  container: string;
126
59
  icon: string;
127
- };
128
- };
129
- border: {
130
- true: {
131
- container: string;
132
- icon: string;
133
- };
134
- false: {
135
- container: string;
136
- icon: string;
60
+ text: string;
137
61
  };
138
62
  };
139
63
  active: {
@@ -145,87 +69,27 @@ declare const chipsVariants: import("tailwind-variants").TVReturnType<{
145
69
  }, {
146
70
  container: string;
147
71
  icon: string;
148
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
149
- size: {
150
- small: {
151
- container: string;
152
- icon: string;
153
- };
154
- medium: {
155
- container: string;
156
- icon: string;
157
- };
158
- };
159
- border: {
160
- true: {
161
- container: string;
162
- icon: string;
163
- };
164
- false: {
165
- container: string;
166
- icon: string;
167
- };
168
- };
169
- active: {
170
- true: {
171
- container: string;
172
- icon: string;
173
- };
174
- };
175
- }, {
176
- size: {
177
- small: {
178
- container: string;
179
- icon: string;
180
- };
181
- medium: {
182
- container: string;
183
- icon: string;
184
- };
185
- };
186
- border: {
187
- true: {
188
- container: string;
189
- icon: string;
190
- };
191
- false: {
192
- container: string;
193
- icon: string;
194
- };
195
- };
196
- active: {
197
- true: {
198
- container: string;
199
- icon: string;
200
- };
201
- };
202
- }>, unknown, unknown, undefined>>;
72
+ text: string;
73
+ }, undefined, unknown, unknown, undefined>>;
203
74
  export type ChipsProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof chipsVariants> & {
204
75
  asChild?: boolean;
205
76
  icon?: React.ElementType;
206
77
  text: string;
207
78
  value?: string;
208
79
  onClose?: (value?: string) => void;
80
+ textClassName?: string;
209
81
  };
210
82
  declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & VariantProps<import("tailwind-variants").TVReturnType<{
211
83
  size: {
212
84
  small: {
213
85
  container: string;
214
86
  icon: string;
87
+ text: string;
215
88
  };
216
89
  medium: {
217
90
  container: string;
218
91
  icon: string;
219
- };
220
- };
221
- border: {
222
- true: {
223
- container: string;
224
- icon: string;
225
- };
226
- false: {
227
- container: string;
228
- icon: string;
92
+ text: string;
229
93
  };
230
94
  };
231
95
  active: {
@@ -237,79 +101,18 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
237
101
  }, {
238
102
  container: string;
239
103
  icon: string;
240
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
104
+ text: string;
105
+ }, undefined, {
241
106
  size: {
242
107
  small: {
243
108
  container: string;
244
109
  icon: string;
110
+ text: string;
245
111
  };
246
112
  medium: {
247
113
  container: string;
248
114
  icon: string;
249
- };
250
- };
251
- border: {
252
- true: {
253
- container: string;
254
- icon: string;
255
- };
256
- false: {
257
- container: string;
258
- icon: string;
259
- };
260
- };
261
- active: {
262
- true: {
263
- container: string;
264
- icon: string;
265
- };
266
- };
267
- }, {
268
- size: {
269
- small: {
270
- container: string;
271
- icon: string;
272
- };
273
- medium: {
274
- container: string;
275
- icon: string;
276
- };
277
- };
278
- border: {
279
- true: {
280
- container: string;
281
- icon: string;
282
- };
283
- false: {
284
- container: string;
285
- icon: string;
286
- };
287
- };
288
- active: {
289
- true: {
290
- container: string;
291
- icon: string;
292
- };
293
- };
294
- }>, {
295
- size: {
296
- small: {
297
- container: string;
298
- icon: string;
299
- };
300
- medium: {
301
- container: string;
302
- icon: string;
303
- };
304
- };
305
- border: {
306
- true: {
307
- container: string;
308
- icon: string;
309
- };
310
- false: {
311
- container: string;
312
- icon: string;
115
+ text: string;
313
116
  };
314
117
  };
315
118
  active: {
@@ -321,25 +124,18 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
321
124
  }, {
322
125
  container: string;
323
126
  icon: string;
127
+ text: string;
324
128
  }, import("tailwind-variants").TVReturnType<{
325
129
  size: {
326
130
  small: {
327
131
  container: string;
328
132
  icon: string;
133
+ text: string;
329
134
  };
330
135
  medium: {
331
136
  container: string;
332
137
  icon: string;
333
- };
334
- };
335
- border: {
336
- true: {
337
- container: string;
338
- icon: string;
339
- };
340
- false: {
341
- container: string;
342
- icon: string;
138
+ text: string;
343
139
  };
344
140
  };
345
141
  active: {
@@ -351,66 +147,14 @@ declare const Chips: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
351
147
  }, {
352
148
  container: string;
353
149
  icon: string;
354
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
355
- size: {
356
- small: {
357
- container: string;
358
- icon: string;
359
- };
360
- medium: {
361
- container: string;
362
- icon: string;
363
- };
364
- };
365
- border: {
366
- true: {
367
- container: string;
368
- icon: string;
369
- };
370
- false: {
371
- container: string;
372
- icon: string;
373
- };
374
- };
375
- active: {
376
- true: {
377
- container: string;
378
- icon: string;
379
- };
380
- };
381
- }, {
382
- size: {
383
- small: {
384
- container: string;
385
- icon: string;
386
- };
387
- medium: {
388
- container: string;
389
- icon: string;
390
- };
391
- };
392
- border: {
393
- true: {
394
- container: string;
395
- icon: string;
396
- };
397
- false: {
398
- container: string;
399
- icon: string;
400
- };
401
- };
402
- active: {
403
- true: {
404
- container: string;
405
- icon: string;
406
- };
407
- };
408
- }>, unknown, unknown, undefined>>> & {
150
+ text: string;
151
+ }, undefined, unknown, unknown, undefined>>> & {
409
152
  asChild?: boolean;
410
153
  icon?: React.ElementType;
411
154
  text: string;
412
155
  value?: string;
413
156
  onClose?: (value?: string) => void;
157
+ textClassName?: string;
414
158
  } & React.RefAttributes<HTMLDivElement>>;
415
159
  export default Chips;
416
160
  //# sourceMappingURL=chips.d.ts.map
@@ -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;AAC1B,OAAO,EAAM,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMrD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAuCjB,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,K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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;wCA+CzB,CAAC;AAGF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
2
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
3
+ export type CollapsibleItemProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
4
+ export type CollapsibleTriggerProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleTrigger> & {
5
+ triggerClassName?: string;
6
+ };
7
+ export type CollapsibleContentProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleContent>;
3
8
  declare const Collapsible: {
4
9
  Item: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
10
  Trigger: React.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/ui/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AA+DpE,QAAA,MAAM,WAAW;;;2BA1BM,MAAM;;;CA8B5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../src/ui/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAqBpE,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,wBAAwB,CAC/D,OAAO,oBAAoB,CAAC,IAAI,CACjC,CAAC;AAaF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,wBAAwB,CAClE,OAAO,oBAAoB,CAAC,kBAAkB,CAC/C,GAAG;IACF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAgBF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,wBAAwB,CAClE,OAAO,oBAAoB,CAAC,kBAAkB,CAC/C,CAAC;AAcF,QAAA,MAAM,WAAW;;;2BAjCI,MAAM;;;CAqC1B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,131 @@
1
+ import React from 'react';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import { type VariantProps } from 'tailwind-variants';
4
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const dropdownMenu: import("tailwind-variants").TVReturnType<{
10
+ appearance: {
11
+ ai: {
12
+ content: string;
13
+ subContent: string;
14
+ subTrigger: string;
15
+ item: string;
16
+ checkboxItem: string;
17
+ radioItem: string;
18
+ label: string;
19
+ separator: string;
20
+ };
21
+ default: {
22
+ content: string;
23
+ subContent: string;
24
+ subTrigger: string;
25
+ item: string;
26
+ checkboxItem: string;
27
+ radioItem: string;
28
+ };
29
+ };
30
+ }, {
31
+ content: string;
32
+ subContent: string;
33
+ subTrigger: string;
34
+ item: string;
35
+ checkboxItem: string;
36
+ radioItem: string;
37
+ label: string;
38
+ separator: string;
39
+ shortcut: string;
40
+ trigger: string;
41
+ }, undefined, {
42
+ appearance: {
43
+ ai: {
44
+ content: string;
45
+ subContent: string;
46
+ subTrigger: string;
47
+ item: string;
48
+ checkboxItem: string;
49
+ radioItem: string;
50
+ label: string;
51
+ separator: string;
52
+ };
53
+ default: {
54
+ content: string;
55
+ subContent: string;
56
+ subTrigger: string;
57
+ item: string;
58
+ checkboxItem: string;
59
+ radioItem: string;
60
+ };
61
+ };
62
+ }, {
63
+ content: string;
64
+ subContent: string;
65
+ subTrigger: string;
66
+ item: string;
67
+ checkboxItem: string;
68
+ radioItem: string;
69
+ label: string;
70
+ separator: string;
71
+ shortcut: string;
72
+ trigger: string;
73
+ }, import("tailwind-variants").TVReturnType<{
74
+ appearance: {
75
+ ai: {
76
+ content: string;
77
+ subContent: string;
78
+ subTrigger: string;
79
+ item: string;
80
+ checkboxItem: string;
81
+ radioItem: string;
82
+ label: string;
83
+ separator: string;
84
+ };
85
+ default: {
86
+ content: string;
87
+ subContent: string;
88
+ subTrigger: string;
89
+ item: string;
90
+ checkboxItem: string;
91
+ radioItem: string;
92
+ };
93
+ };
94
+ }, {
95
+ content: string;
96
+ subContent: string;
97
+ subTrigger: string;
98
+ item: string;
99
+ checkboxItem: string;
100
+ radioItem: string;
101
+ label: string;
102
+ separator: string;
103
+ shortcut: string;
104
+ trigger: string;
105
+ }, undefined, unknown, unknown, undefined>>;
106
+ type DropdownMenuVariants = VariantProps<typeof dropdownMenu>;
107
+ type DropdownMenuProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuVariants;
108
+ declare const DropdownMenu: {
109
+ ({ children, appearance, ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
110
+ displayName: string;
111
+ };
112
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
113
+ inset?: boolean;
114
+ } & React.RefAttributes<HTMLDivElement>>;
115
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
116
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
117
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
118
+ inset?: boolean;
119
+ } & React.RefAttributes<HTMLDivElement>>;
120
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
121
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
122
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & {
123
+ inset?: boolean;
124
+ } & React.RefAttributes<HTMLDivElement>>;
125
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuVariants & React.RefAttributes<HTMLDivElement>>;
126
+ declare const DropdownMenuShortcut: {
127
+ ({ className, appearance, ...props }: React.HTMLAttributes<HTMLSpanElement> & DropdownMenuVariants): import("react/jsx-runtime").JSX.Element;
128
+ displayName: string;
129
+ };
130
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
131
+ //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDhB,CAAC;AAEH,KAAK,oBAAoB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAM9D,KAAK,iBAAiB,GAAG,KAAK,CAAC,wBAAwB,CACrD,OAAO,qBAAqB,CAAC,IAAI,CAClC,GACC,oBAAoB,CAAC;A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