@jerry-fd/ui 0.5.0 → 0.5.1
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/antd-data-filter.js +1 -1
- package/chunk-33W2J6TQ.js +2 -0
- package/chunk-CR56HN5M.js +1 -0
- package/chunk-O76JEGUF.js +2 -0
- package/chunk-YZCMMM4D.js +1 -0
- package/data-table.js +2 -2
- package/index.d.ts +820 -131
- package/index.js +2 -2
- package/package.json +1 -1
- package/chunk-HQYE7P3Z.js +0 -2
- package/chunk-LUA5S5PV.js +0 -1
- package/chunk-LUN5F6LU.js +0 -1
- package/chunk-PEHDVTD7.js +0 -2
package/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import React__default from 'react';
|
|
|
4
4
|
import * as tailwind_variants from 'tailwind-variants';
|
|
5
5
|
import { VariantProps } from 'tailwind-variants';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import { Avatar as Avatar$1, Tabs as Tabs$1, Popover as Popover$1, Switch as Switch$1, DropdownMenu as DropdownMenu$2, Collapsible as Collapsible$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
8
7
|
import { Command as Command$1 } from 'cmdk';
|
|
8
|
+
import { Tabs as Tabs$1, Popover as Popover$1, Switch as Switch$1, DropdownMenu as DropdownMenu$2, Collapsible as Collapsible$1, Tooltip as Tooltip$1, ScrollArea as ScrollArea$1, HoverCard as HoverCard$1 } from 'radix-ui';
|
|
9
9
|
import { DialogProps } from 'vaul';
|
|
10
10
|
import { B as ButtonSharedProps } from './button-DMIeJ1gB.js';
|
|
11
11
|
export { a as Button, b as baseButtonStyle, c as buttonVariants } from './button-DMIeJ1gB.js';
|
|
@@ -141,171 +141,574 @@ declare namespace card {
|
|
|
141
141
|
export { card_Card as Card, card_CardContent as CardContent, card_CardDescription as CardDescription, card_CardExtra as CardExtra, card_CardFooter as CardFooter, card_CardHeader as CardHeader, card_CardHeading as CardHeading, card_CardIcon as CardIcon, card_CardTable as CardTable, card_CardTitle as CardTitle, card_CardToolbar as CardToolbar, Card as Root };
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
disabled?: boolean;
|
|
148
|
-
}
|
|
149
|
-
interface BadgeButtonProps extends React$1.ButtonHTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeButtonVariants> {
|
|
150
|
-
asChild?: boolean;
|
|
151
|
-
}
|
|
152
|
-
type BadgeDotProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
153
|
-
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
154
|
-
variant: {
|
|
155
|
-
primary: string;
|
|
156
|
-
secondary: string;
|
|
157
|
-
success: string;
|
|
158
|
-
warning: string;
|
|
159
|
-
info: string;
|
|
160
|
-
outline: string;
|
|
161
|
-
error: string;
|
|
162
|
-
};
|
|
163
|
-
appearance: {
|
|
164
|
-
default: string;
|
|
165
|
-
light: string;
|
|
166
|
-
outline: string;
|
|
167
|
-
ghost: string;
|
|
168
|
-
};
|
|
169
|
-
disabled: {
|
|
144
|
+
declare const AVATAR_ROOT_NAME = "AvatarRoot";
|
|
145
|
+
declare const avatarVariants: tailwind_variants.TVReturnType<{
|
|
146
|
+
withRing: {
|
|
170
147
|
true: string;
|
|
171
148
|
};
|
|
172
149
|
size: {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
150
|
+
'80': {
|
|
151
|
+
root: string;
|
|
152
|
+
};
|
|
153
|
+
'72': {
|
|
154
|
+
root: string;
|
|
155
|
+
};
|
|
156
|
+
'64': {
|
|
157
|
+
root: string;
|
|
158
|
+
};
|
|
159
|
+
'56': {
|
|
160
|
+
root: string;
|
|
161
|
+
};
|
|
162
|
+
'48': {
|
|
163
|
+
root: string;
|
|
164
|
+
};
|
|
165
|
+
'42': {
|
|
166
|
+
root: string;
|
|
167
|
+
};
|
|
168
|
+
'38': {
|
|
169
|
+
root: string;
|
|
170
|
+
};
|
|
171
|
+
'32': {
|
|
172
|
+
root: string;
|
|
173
|
+
};
|
|
174
|
+
'24': {
|
|
175
|
+
root: string;
|
|
176
|
+
};
|
|
177
|
+
'20': {
|
|
178
|
+
root: string;
|
|
179
|
+
};
|
|
177
180
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
+
color: {
|
|
182
|
+
gray: {
|
|
183
|
+
root: string;
|
|
184
|
+
};
|
|
185
|
+
yellow: {
|
|
186
|
+
root: string;
|
|
187
|
+
};
|
|
188
|
+
blue: {
|
|
189
|
+
root: string;
|
|
190
|
+
};
|
|
191
|
+
sky: {
|
|
192
|
+
root: string;
|
|
193
|
+
};
|
|
194
|
+
purple: {
|
|
195
|
+
root: string;
|
|
196
|
+
};
|
|
197
|
+
red: {
|
|
198
|
+
root: string;
|
|
199
|
+
};
|
|
200
|
+
green: {
|
|
201
|
+
root: string;
|
|
202
|
+
};
|
|
203
|
+
teal: {
|
|
204
|
+
root: string;
|
|
205
|
+
};
|
|
206
|
+
violet: {
|
|
207
|
+
root: string;
|
|
208
|
+
};
|
|
209
|
+
pink: {
|
|
210
|
+
root: string;
|
|
211
|
+
};
|
|
212
|
+
orange: {
|
|
213
|
+
root: string;
|
|
214
|
+
};
|
|
181
215
|
};
|
|
182
|
-
},
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
outline: string;
|
|
190
|
-
error: string;
|
|
216
|
+
}, {
|
|
217
|
+
root: string[];
|
|
218
|
+
image: string;
|
|
219
|
+
indicator: string;
|
|
220
|
+
}, undefined, {
|
|
221
|
+
withRing: {
|
|
222
|
+
true: string;
|
|
191
223
|
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
224
|
+
size: {
|
|
225
|
+
'80': {
|
|
226
|
+
root: string;
|
|
227
|
+
};
|
|
228
|
+
'72': {
|
|
229
|
+
root: string;
|
|
230
|
+
};
|
|
231
|
+
'64': {
|
|
232
|
+
root: string;
|
|
233
|
+
};
|
|
234
|
+
'56': {
|
|
235
|
+
root: string;
|
|
236
|
+
};
|
|
237
|
+
'48': {
|
|
238
|
+
root: string;
|
|
239
|
+
};
|
|
240
|
+
'42': {
|
|
241
|
+
root: string;
|
|
242
|
+
};
|
|
243
|
+
'38': {
|
|
244
|
+
root: string;
|
|
245
|
+
};
|
|
246
|
+
'32': {
|
|
247
|
+
root: string;
|
|
248
|
+
};
|
|
249
|
+
'24': {
|
|
250
|
+
root: string;
|
|
251
|
+
};
|
|
252
|
+
'20': {
|
|
253
|
+
root: string;
|
|
254
|
+
};
|
|
197
255
|
};
|
|
198
|
-
|
|
256
|
+
color: {
|
|
257
|
+
gray: {
|
|
258
|
+
root: string;
|
|
259
|
+
};
|
|
260
|
+
yellow: {
|
|
261
|
+
root: string;
|
|
262
|
+
};
|
|
263
|
+
blue: {
|
|
264
|
+
root: string;
|
|
265
|
+
};
|
|
266
|
+
sky: {
|
|
267
|
+
root: string;
|
|
268
|
+
};
|
|
269
|
+
purple: {
|
|
270
|
+
root: string;
|
|
271
|
+
};
|
|
272
|
+
red: {
|
|
273
|
+
root: string;
|
|
274
|
+
};
|
|
275
|
+
green: {
|
|
276
|
+
root: string;
|
|
277
|
+
};
|
|
278
|
+
teal: {
|
|
279
|
+
root: string;
|
|
280
|
+
};
|
|
281
|
+
violet: {
|
|
282
|
+
root: string;
|
|
283
|
+
};
|
|
284
|
+
pink: {
|
|
285
|
+
root: string;
|
|
286
|
+
};
|
|
287
|
+
orange: {
|
|
288
|
+
root: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
}, {
|
|
292
|
+
root: string[];
|
|
293
|
+
image: string;
|
|
294
|
+
indicator: string;
|
|
295
|
+
}, tailwind_variants.TVReturnType<{
|
|
296
|
+
withRing: {
|
|
199
297
|
true: string;
|
|
200
298
|
};
|
|
201
299
|
size: {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
300
|
+
'80': {
|
|
301
|
+
root: string;
|
|
302
|
+
};
|
|
303
|
+
'72': {
|
|
304
|
+
root: string;
|
|
305
|
+
};
|
|
306
|
+
'64': {
|
|
307
|
+
root: string;
|
|
308
|
+
};
|
|
309
|
+
'56': {
|
|
310
|
+
root: string;
|
|
311
|
+
};
|
|
312
|
+
'48': {
|
|
313
|
+
root: string;
|
|
314
|
+
};
|
|
315
|
+
'42': {
|
|
316
|
+
root: string;
|
|
317
|
+
};
|
|
318
|
+
'38': {
|
|
319
|
+
root: string;
|
|
320
|
+
};
|
|
321
|
+
'32': {
|
|
322
|
+
root: string;
|
|
323
|
+
};
|
|
324
|
+
'24': {
|
|
325
|
+
root: string;
|
|
326
|
+
};
|
|
327
|
+
'20': {
|
|
328
|
+
root: string;
|
|
329
|
+
};
|
|
206
330
|
};
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
331
|
+
color: {
|
|
332
|
+
gray: {
|
|
333
|
+
root: string;
|
|
334
|
+
};
|
|
335
|
+
yellow: {
|
|
336
|
+
root: string;
|
|
337
|
+
};
|
|
338
|
+
blue: {
|
|
339
|
+
root: string;
|
|
340
|
+
};
|
|
341
|
+
sky: {
|
|
342
|
+
root: string;
|
|
343
|
+
};
|
|
344
|
+
purple: {
|
|
345
|
+
root: string;
|
|
346
|
+
};
|
|
347
|
+
red: {
|
|
348
|
+
root: string;
|
|
349
|
+
};
|
|
350
|
+
green: {
|
|
351
|
+
root: string;
|
|
352
|
+
};
|
|
353
|
+
teal: {
|
|
354
|
+
root: string;
|
|
355
|
+
};
|
|
356
|
+
violet: {
|
|
357
|
+
root: string;
|
|
358
|
+
};
|
|
359
|
+
pink: {
|
|
360
|
+
root: string;
|
|
361
|
+
};
|
|
362
|
+
orange: {
|
|
363
|
+
root: string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
}, {
|
|
367
|
+
root: string[];
|
|
368
|
+
image: string;
|
|
369
|
+
indicator: string;
|
|
370
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
371
|
+
declare const avatarRingVariants: tailwind_variants.TVReturnType<{
|
|
372
|
+
color: {
|
|
373
|
+
gray: string;
|
|
374
|
+
yellow: string;
|
|
375
|
+
blue: string;
|
|
376
|
+
sky: string;
|
|
377
|
+
purple: string;
|
|
378
|
+
red: string;
|
|
379
|
+
green: string;
|
|
380
|
+
teal: string;
|
|
381
|
+
violet: string;
|
|
382
|
+
pink: string;
|
|
383
|
+
orange: string;
|
|
384
|
+
white: string;
|
|
385
|
+
black: string;
|
|
386
|
+
};
|
|
387
|
+
}, undefined, "ring-2 ring-offset-2", {
|
|
388
|
+
color: {
|
|
389
|
+
gray: string;
|
|
390
|
+
yellow: string;
|
|
391
|
+
blue: string;
|
|
392
|
+
sky: string;
|
|
393
|
+
purple: string;
|
|
394
|
+
red: string;
|
|
395
|
+
green: string;
|
|
396
|
+
teal: string;
|
|
397
|
+
violet: string;
|
|
398
|
+
pink: string;
|
|
399
|
+
orange: string;
|
|
400
|
+
white: string;
|
|
401
|
+
black: string;
|
|
210
402
|
};
|
|
211
403
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
404
|
+
color: {
|
|
405
|
+
gray: string;
|
|
406
|
+
yellow: string;
|
|
407
|
+
blue: string;
|
|
408
|
+
sky: string;
|
|
409
|
+
purple: string;
|
|
410
|
+
red: string;
|
|
411
|
+
green: string;
|
|
412
|
+
teal: string;
|
|
413
|
+
violet: string;
|
|
414
|
+
pink: string;
|
|
415
|
+
orange: string;
|
|
416
|
+
white: string;
|
|
417
|
+
black: string;
|
|
220
418
|
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
419
|
+
}, undefined, "ring-2 ring-offset-2", unknown, unknown, undefined>>;
|
|
420
|
+
type AvatarSharedProps = VariantProps<typeof avatarVariants>;
|
|
421
|
+
type AvatarRingSharedProps = VariantProps<typeof avatarRingVariants>;
|
|
422
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<AvatarSharedProps & Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "color"> & {
|
|
423
|
+
asChild?: boolean;
|
|
424
|
+
} & React$1.RefAttributes<HTMLImageElement>>;
|
|
425
|
+
type AvatarRootProps = VariantProps<typeof avatarVariants> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
426
|
+
asChild?: boolean;
|
|
427
|
+
placeholderType?: 'user' | 'company';
|
|
428
|
+
ring?: boolean | AvatarRingSharedProps['color'];
|
|
429
|
+
};
|
|
430
|
+
declare const AvatarRoot: React$1.ForwardRefExoticComponent<VariantProps<tailwind_variants.TVReturnType<{
|
|
431
|
+
withRing: {
|
|
432
|
+
true: string;
|
|
226
433
|
};
|
|
227
|
-
|
|
434
|
+
size: {
|
|
435
|
+
'80': {
|
|
436
|
+
root: string;
|
|
437
|
+
};
|
|
438
|
+
'72': {
|
|
439
|
+
root: string;
|
|
440
|
+
};
|
|
441
|
+
'64': {
|
|
442
|
+
root: string;
|
|
443
|
+
};
|
|
444
|
+
'56': {
|
|
445
|
+
root: string;
|
|
446
|
+
};
|
|
447
|
+
'48': {
|
|
448
|
+
root: string;
|
|
449
|
+
};
|
|
450
|
+
'42': {
|
|
451
|
+
root: string;
|
|
452
|
+
};
|
|
453
|
+
'38': {
|
|
454
|
+
root: string;
|
|
455
|
+
};
|
|
456
|
+
'32': {
|
|
457
|
+
root: string;
|
|
458
|
+
};
|
|
459
|
+
'24': {
|
|
460
|
+
root: string;
|
|
461
|
+
};
|
|
462
|
+
'20': {
|
|
463
|
+
root: string;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
color: {
|
|
467
|
+
gray: {
|
|
468
|
+
root: string;
|
|
469
|
+
};
|
|
470
|
+
yellow: {
|
|
471
|
+
root: string;
|
|
472
|
+
};
|
|
473
|
+
blue: {
|
|
474
|
+
root: string;
|
|
475
|
+
};
|
|
476
|
+
sky: {
|
|
477
|
+
root: string;
|
|
478
|
+
};
|
|
479
|
+
purple: {
|
|
480
|
+
root: string;
|
|
481
|
+
};
|
|
482
|
+
red: {
|
|
483
|
+
root: string;
|
|
484
|
+
};
|
|
485
|
+
green: {
|
|
486
|
+
root: string;
|
|
487
|
+
};
|
|
488
|
+
teal: {
|
|
489
|
+
root: string;
|
|
490
|
+
};
|
|
491
|
+
violet: {
|
|
492
|
+
root: string;
|
|
493
|
+
};
|
|
494
|
+
pink: {
|
|
495
|
+
root: string;
|
|
496
|
+
};
|
|
497
|
+
orange: {
|
|
498
|
+
root: string;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
}, {
|
|
502
|
+
root: string[];
|
|
503
|
+
image: string;
|
|
504
|
+
indicator: string;
|
|
505
|
+
}, undefined, {
|
|
506
|
+
withRing: {
|
|
228
507
|
true: string;
|
|
229
508
|
};
|
|
230
509
|
size: {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
510
|
+
'80': {
|
|
511
|
+
root: string;
|
|
512
|
+
};
|
|
513
|
+
'72': {
|
|
514
|
+
root: string;
|
|
515
|
+
};
|
|
516
|
+
'64': {
|
|
517
|
+
root: string;
|
|
518
|
+
};
|
|
519
|
+
'56': {
|
|
520
|
+
root: string;
|
|
521
|
+
};
|
|
522
|
+
'48': {
|
|
523
|
+
root: string;
|
|
524
|
+
};
|
|
525
|
+
'42': {
|
|
526
|
+
root: string;
|
|
527
|
+
};
|
|
528
|
+
'38': {
|
|
529
|
+
root: string;
|
|
530
|
+
};
|
|
531
|
+
'32': {
|
|
532
|
+
root: string;
|
|
533
|
+
};
|
|
534
|
+
'24': {
|
|
535
|
+
root: string;
|
|
536
|
+
};
|
|
537
|
+
'20': {
|
|
538
|
+
root: string;
|
|
539
|
+
};
|
|
235
540
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
541
|
+
color: {
|
|
542
|
+
gray: {
|
|
543
|
+
root: string;
|
|
544
|
+
};
|
|
545
|
+
yellow: {
|
|
546
|
+
root: string;
|
|
547
|
+
};
|
|
548
|
+
blue: {
|
|
549
|
+
root: string;
|
|
550
|
+
};
|
|
551
|
+
sky: {
|
|
552
|
+
root: string;
|
|
553
|
+
};
|
|
554
|
+
purple: {
|
|
555
|
+
root: string;
|
|
556
|
+
};
|
|
557
|
+
red: {
|
|
558
|
+
root: string;
|
|
559
|
+
};
|
|
560
|
+
green: {
|
|
561
|
+
root: string;
|
|
562
|
+
};
|
|
563
|
+
teal: {
|
|
564
|
+
root: string;
|
|
565
|
+
};
|
|
566
|
+
violet: {
|
|
567
|
+
root: string;
|
|
568
|
+
};
|
|
569
|
+
pink: {
|
|
570
|
+
root: string;
|
|
571
|
+
};
|
|
572
|
+
orange: {
|
|
573
|
+
root: string;
|
|
574
|
+
};
|
|
239
575
|
};
|
|
240
|
-
},
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
576
|
+
}, {
|
|
577
|
+
root: string[];
|
|
578
|
+
image: string;
|
|
579
|
+
indicator: string;
|
|
580
|
+
}, tailwind_variants.TVReturnType<{
|
|
581
|
+
withRing: {
|
|
582
|
+
true: string;
|
|
244
583
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
584
|
+
size: {
|
|
585
|
+
'80': {
|
|
586
|
+
root: string;
|
|
587
|
+
};
|
|
588
|
+
'72': {
|
|
589
|
+
root: string;
|
|
590
|
+
};
|
|
591
|
+
'64': {
|
|
592
|
+
root: string;
|
|
593
|
+
};
|
|
594
|
+
'56': {
|
|
595
|
+
root: string;
|
|
596
|
+
};
|
|
597
|
+
'48': {
|
|
598
|
+
root: string;
|
|
599
|
+
};
|
|
600
|
+
'42': {
|
|
601
|
+
root: string;
|
|
602
|
+
};
|
|
603
|
+
'38': {
|
|
604
|
+
root: string;
|
|
605
|
+
};
|
|
606
|
+
'32': {
|
|
607
|
+
root: string;
|
|
608
|
+
};
|
|
609
|
+
'24': {
|
|
610
|
+
root: string;
|
|
611
|
+
};
|
|
612
|
+
'20': {
|
|
613
|
+
root: string;
|
|
614
|
+
};
|
|
248
615
|
};
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
616
|
+
color: {
|
|
617
|
+
gray: {
|
|
618
|
+
root: string;
|
|
619
|
+
};
|
|
620
|
+
yellow: {
|
|
621
|
+
root: string;
|
|
622
|
+
};
|
|
623
|
+
blue: {
|
|
624
|
+
root: string;
|
|
625
|
+
};
|
|
626
|
+
sky: {
|
|
627
|
+
root: string;
|
|
628
|
+
};
|
|
629
|
+
purple: {
|
|
630
|
+
root: string;
|
|
631
|
+
};
|
|
632
|
+
red: {
|
|
633
|
+
root: string;
|
|
634
|
+
};
|
|
635
|
+
green: {
|
|
636
|
+
root: string;
|
|
637
|
+
};
|
|
638
|
+
teal: {
|
|
639
|
+
root: string;
|
|
640
|
+
};
|
|
641
|
+
violet: {
|
|
642
|
+
root: string;
|
|
643
|
+
};
|
|
644
|
+
pink: {
|
|
645
|
+
root: string;
|
|
646
|
+
};
|
|
647
|
+
orange: {
|
|
648
|
+
root: string;
|
|
649
|
+
};
|
|
252
650
|
};
|
|
253
|
-
},
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
651
|
+
}, {
|
|
652
|
+
root: string[];
|
|
653
|
+
image: string;
|
|
654
|
+
indicator: string;
|
|
655
|
+
}, undefined, unknown, unknown, undefined>>> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
258
656
|
asChild?: boolean;
|
|
657
|
+
placeholderType?: "user" | "company";
|
|
658
|
+
ring?: boolean | AvatarRingSharedProps["color"];
|
|
659
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
660
|
+
declare function AvatarIndicator({ size, color, className, position, withRing, ...rest }: AvatarSharedProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
661
|
+
position?: 'top' | 'bottom';
|
|
662
|
+
withRing?: boolean;
|
|
259
663
|
}): react_jsx_runtime.JSX.Element;
|
|
260
|
-
declare
|
|
261
|
-
|
|
262
|
-
declare const badge_Badge: typeof Badge;
|
|
263
|
-
declare const badge_BadgeButton: typeof BadgeButton;
|
|
264
|
-
type badge_BadgeButtonProps = BadgeButtonProps;
|
|
265
|
-
declare const badge_BadgeDot: typeof BadgeDot;
|
|
266
|
-
type badge_BadgeDotProps = BadgeDotProps;
|
|
267
|
-
type badge_BadgeProps = BadgeProps;
|
|
268
|
-
declare const badge_badgeVariants: typeof badgeVariants;
|
|
269
|
-
declare namespace badge {
|
|
270
|
-
export { badge_Badge as Badge, badge_BadgeButton as BadgeButton, type badge_BadgeButtonProps as BadgeButtonProps, badge_BadgeDot as BadgeDot, type badge_BadgeDotProps as BadgeDotProps, type badge_BadgeProps as BadgeProps, Badge as Root, badge_badgeVariants as badgeVariants };
|
|
664
|
+
declare namespace AvatarIndicator {
|
|
665
|
+
var displayName: string;
|
|
271
666
|
}
|
|
272
|
-
|
|
273
667
|
declare const avatarStatusVariants: tailwind_variants.TVReturnType<{
|
|
274
|
-
|
|
668
|
+
status: {
|
|
275
669
|
online: string;
|
|
276
670
|
offline: string;
|
|
277
671
|
busy: string;
|
|
278
672
|
away: string;
|
|
279
673
|
};
|
|
280
|
-
}, undefined, "
|
|
281
|
-
|
|
674
|
+
}, undefined, "box-content size-12 rounded-full border-4 border-bg-white", {
|
|
675
|
+
status: {
|
|
282
676
|
online: string;
|
|
283
677
|
offline: string;
|
|
284
678
|
busy: string;
|
|
285
679
|
away: string;
|
|
286
680
|
};
|
|
287
681
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
288
|
-
|
|
682
|
+
status: {
|
|
289
683
|
online: string;
|
|
290
684
|
offline: string;
|
|
291
685
|
busy: string;
|
|
292
686
|
away: string;
|
|
293
687
|
};
|
|
294
|
-
}, undefined, "
|
|
295
|
-
declare function
|
|
296
|
-
declare
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
declare
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
declare
|
|
303
|
-
declare
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
declare
|
|
307
|
-
declare namespace
|
|
308
|
-
|
|
688
|
+
}, undefined, "box-content size-12 rounded-full border-4 border-bg-white", unknown, unknown, undefined>>;
|
|
689
|
+
declare function AvatarStatus({ status, className, ...rest }: VariantProps<typeof avatarStatusVariants> & React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
690
|
+
declare namespace AvatarStatus {
|
|
691
|
+
var displayName: string;
|
|
692
|
+
}
|
|
693
|
+
declare const AvatarBrandLogo: React$1.ForwardRefExoticComponent<React$1.ImgHTMLAttributes<HTMLImageElement> & {
|
|
694
|
+
asChild?: boolean;
|
|
695
|
+
} & React$1.RefAttributes<HTMLImageElement>>;
|
|
696
|
+
declare function AvatarNotification({ className, ...rest }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
697
|
+
declare namespace AvatarNotification {
|
|
698
|
+
var displayName: string;
|
|
699
|
+
}
|
|
700
|
+
declare function AvatarBadge({ className, ...rest }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
701
|
+
declare namespace AvatarBadge {
|
|
702
|
+
var displayName: string;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
declare const index_AVATAR_ROOT_NAME: typeof AVATAR_ROOT_NAME;
|
|
706
|
+
type index_AvatarRootProps = AvatarRootProps;
|
|
707
|
+
declare const index_avatarRingVariants: typeof avatarRingVariants;
|
|
708
|
+
declare const index_avatarStatusVariants: typeof avatarStatusVariants;
|
|
709
|
+
declare const index_avatarVariants: typeof avatarVariants;
|
|
710
|
+
declare namespace index {
|
|
711
|
+
export { index_AVATAR_ROOT_NAME as AVATAR_ROOT_NAME, type index_AvatarRootProps as AvatarRootProps, AvatarBadge as Badge, AvatarBrandLogo as BrandLogo, AvatarImage as Image, AvatarIndicator as Indicator, AvatarNotification as Notification, AvatarRoot as Root, AvatarStatus as Status, index_avatarRingVariants as avatarRingVariants, index_avatarStatusVariants as avatarStatusVariants, index_avatarVariants as avatarVariants };
|
|
309
712
|
}
|
|
310
713
|
|
|
311
714
|
declare function Command({ className, ...props }: React__default.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
@@ -343,7 +746,6 @@ declare const tabsListVariants: tailwind_variants.TVReturnType<{
|
|
|
343
746
|
large: string;
|
|
344
747
|
medium: string;
|
|
345
748
|
small: string;
|
|
346
|
-
xsmall: string;
|
|
347
749
|
};
|
|
348
750
|
}, undefined, "flex w-fit shrink-0 items-center", {
|
|
349
751
|
variant: {
|
|
@@ -359,7 +761,6 @@ declare const tabsListVariants: tailwind_variants.TVReturnType<{
|
|
|
359
761
|
large: string;
|
|
360
762
|
medium: string;
|
|
361
763
|
small: string;
|
|
362
|
-
xsmall: string;
|
|
363
764
|
};
|
|
364
765
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
365
766
|
variant: {
|
|
@@ -375,7 +776,6 @@ declare const tabsListVariants: tailwind_variants.TVReturnType<{
|
|
|
375
776
|
large: string;
|
|
376
777
|
medium: string;
|
|
377
778
|
small: string;
|
|
378
|
-
xsmall: string;
|
|
379
779
|
};
|
|
380
780
|
}, undefined, "flex w-fit shrink-0 items-center", unknown, unknown, undefined>>;
|
|
381
781
|
declare const tabsContentVariants: tailwind_variants.TVReturnType<{
|
|
@@ -612,6 +1012,7 @@ interface MenuPropBase {
|
|
|
612
1012
|
items?: DropdownMenuItemProps[];
|
|
613
1013
|
disabled?: boolean;
|
|
614
1014
|
className?: string;
|
|
1015
|
+
arrow?: boolean;
|
|
615
1016
|
renderItem?: (item: DropdownMenuItemProps, index: number, onAction: MenuPropBase['onAction']) => React__default.ReactNode;
|
|
616
1017
|
onAction?: (item: DropdownMenuItemProps, event: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
617
1018
|
}
|
|
@@ -796,12 +1197,102 @@ type OwnProps = {
|
|
|
796
1197
|
};
|
|
797
1198
|
declare function Spinner({ stroke, className }: OwnProps): react_jsx_runtime.JSX.Element;
|
|
798
1199
|
|
|
799
|
-
|
|
800
|
-
|
|
1200
|
+
declare const colorPanelVariants: tailwind_variants.TVReturnType<{
|
|
1201
|
+
variant: {
|
|
1202
|
+
filled: string;
|
|
1203
|
+
lighter: string;
|
|
1204
|
+
outline: string;
|
|
1205
|
+
};
|
|
1206
|
+
ring: {
|
|
1207
|
+
true: string;
|
|
1208
|
+
};
|
|
1209
|
+
color: {
|
|
1210
|
+
neutral: string;
|
|
1211
|
+
slate: string;
|
|
1212
|
+
red: string;
|
|
1213
|
+
orange: string;
|
|
1214
|
+
amber: string;
|
|
1215
|
+
yellow: string;
|
|
1216
|
+
lime: string;
|
|
1217
|
+
green: string;
|
|
1218
|
+
emerald: string;
|
|
1219
|
+
teal: string;
|
|
1220
|
+
cyan: string;
|
|
1221
|
+
sky: string;
|
|
1222
|
+
blue: string;
|
|
1223
|
+
indigo: string;
|
|
1224
|
+
violet: string;
|
|
1225
|
+
purple: string;
|
|
1226
|
+
fuchsia: string;
|
|
1227
|
+
pink: string;
|
|
1228
|
+
rose: string;
|
|
1229
|
+
};
|
|
1230
|
+
}, undefined, "flex shrink-0 items-center justify-center rounded-2xl ring-1 ring-transparent ring-inset", {
|
|
1231
|
+
variant: {
|
|
1232
|
+
filled: string;
|
|
1233
|
+
lighter: string;
|
|
1234
|
+
outline: string;
|
|
1235
|
+
};
|
|
1236
|
+
ring: {
|
|
1237
|
+
true: string;
|
|
1238
|
+
};
|
|
1239
|
+
color: {
|
|
1240
|
+
neutral: string;
|
|
1241
|
+
slate: string;
|
|
1242
|
+
red: string;
|
|
1243
|
+
orange: string;
|
|
1244
|
+
amber: string;
|
|
1245
|
+
yellow: string;
|
|
1246
|
+
lime: string;
|
|
1247
|
+
green: string;
|
|
1248
|
+
emerald: string;
|
|
1249
|
+
teal: string;
|
|
1250
|
+
cyan: string;
|
|
1251
|
+
sky: string;
|
|
1252
|
+
blue: string;
|
|
1253
|
+
indigo: string;
|
|
1254
|
+
violet: string;
|
|
1255
|
+
purple: string;
|
|
1256
|
+
fuchsia: string;
|
|
1257
|
+
pink: string;
|
|
1258
|
+
rose: string;
|
|
1259
|
+
};
|
|
1260
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1261
|
+
variant: {
|
|
1262
|
+
filled: string;
|
|
1263
|
+
lighter: string;
|
|
1264
|
+
outline: string;
|
|
1265
|
+
};
|
|
1266
|
+
ring: {
|
|
1267
|
+
true: string;
|
|
1268
|
+
};
|
|
1269
|
+
color: {
|
|
1270
|
+
neutral: string;
|
|
1271
|
+
slate: string;
|
|
1272
|
+
red: string;
|
|
1273
|
+
orange: string;
|
|
1274
|
+
amber: string;
|
|
1275
|
+
yellow: string;
|
|
1276
|
+
lime: string;
|
|
1277
|
+
green: string;
|
|
1278
|
+
emerald: string;
|
|
1279
|
+
teal: string;
|
|
1280
|
+
cyan: string;
|
|
1281
|
+
sky: string;
|
|
1282
|
+
blue: string;
|
|
1283
|
+
indigo: string;
|
|
1284
|
+
violet: string;
|
|
1285
|
+
purple: string;
|
|
1286
|
+
fuchsia: string;
|
|
1287
|
+
pink: string;
|
|
1288
|
+
rose: string;
|
|
1289
|
+
};
|
|
1290
|
+
}, undefined, "flex shrink-0 items-center justify-center rounded-2xl ring-1 ring-transparent ring-inset", unknown, unknown, undefined>>;
|
|
1291
|
+
type SharedProps = VariantProps<typeof colorPanelVariants>;
|
|
1292
|
+
type ColorPanelProps = React__default.ComponentProps<'div'> & SharedProps & {
|
|
801
1293
|
asChild?: boolean;
|
|
802
|
-
variant?: Variant;
|
|
803
1294
|
};
|
|
804
|
-
declare function ColorPanel({ asChild, children, className, variant, ...props }: ColorPanelProps): react_jsx_runtime.JSX.Element;
|
|
1295
|
+
declare function ColorPanel({ asChild, children, className, color, variant, ring, ...props }: ColorPanelProps): react_jsx_runtime.JSX.Element;
|
|
805
1296
|
|
|
806
1297
|
declare function Collapsible({ ...props }: React__default.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
807
1298
|
declare function CollapsibleTrigger({ ...props }: React__default.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -903,4 +1394,202 @@ declare const Tooltip: React__default.FC<TooltipProps & {
|
|
|
903
1394
|
content: React__default.ReactNode;
|
|
904
1395
|
}>;
|
|
905
1396
|
|
|
906
|
-
|
|
1397
|
+
type BadgeSharedProps = VariantProps<typeof badgeVariants>;
|
|
1398
|
+
interface BadgeRootProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'color'>, BadgeSharedProps {
|
|
1399
|
+
asChild?: boolean;
|
|
1400
|
+
}
|
|
1401
|
+
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
1402
|
+
size: {
|
|
1403
|
+
medium: {
|
|
1404
|
+
root: string;
|
|
1405
|
+
icon: string;
|
|
1406
|
+
dot: string;
|
|
1407
|
+
};
|
|
1408
|
+
small: {
|
|
1409
|
+
root: string;
|
|
1410
|
+
icon: string;
|
|
1411
|
+
dot: string;
|
|
1412
|
+
};
|
|
1413
|
+
xsmall: {
|
|
1414
|
+
root: string;
|
|
1415
|
+
icon: string;
|
|
1416
|
+
dot: string;
|
|
1417
|
+
};
|
|
1418
|
+
};
|
|
1419
|
+
variant: {
|
|
1420
|
+
filled: {
|
|
1421
|
+
root: string;
|
|
1422
|
+
};
|
|
1423
|
+
outline: {
|
|
1424
|
+
root: string;
|
|
1425
|
+
};
|
|
1426
|
+
lighter: string;
|
|
1427
|
+
ghost: string;
|
|
1428
|
+
};
|
|
1429
|
+
color: {
|
|
1430
|
+
primary: string;
|
|
1431
|
+
info: string;
|
|
1432
|
+
success: string;
|
|
1433
|
+
warning: string;
|
|
1434
|
+
error: string;
|
|
1435
|
+
neutral: string;
|
|
1436
|
+
};
|
|
1437
|
+
shape: {
|
|
1438
|
+
default: string;
|
|
1439
|
+
circle: {
|
|
1440
|
+
root: string;
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
disabled: {
|
|
1444
|
+
true: {
|
|
1445
|
+
root: string;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
}, {
|
|
1449
|
+
root: string;
|
|
1450
|
+
icon: string;
|
|
1451
|
+
dot: string[];
|
|
1452
|
+
}, undefined, {
|
|
1453
|
+
size: {
|
|
1454
|
+
medium: {
|
|
1455
|
+
root: string;
|
|
1456
|
+
icon: string;
|
|
1457
|
+
dot: string;
|
|
1458
|
+
};
|
|
1459
|
+
small: {
|
|
1460
|
+
root: string;
|
|
1461
|
+
icon: string;
|
|
1462
|
+
dot: string;
|
|
1463
|
+
};
|
|
1464
|
+
xsmall: {
|
|
1465
|
+
root: string;
|
|
1466
|
+
icon: string;
|
|
1467
|
+
dot: string;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
variant: {
|
|
1471
|
+
filled: {
|
|
1472
|
+
root: string;
|
|
1473
|
+
};
|
|
1474
|
+
outline: {
|
|
1475
|
+
root: string;
|
|
1476
|
+
};
|
|
1477
|
+
lighter: string;
|
|
1478
|
+
ghost: string;
|
|
1479
|
+
};
|
|
1480
|
+
color: {
|
|
1481
|
+
primary: string;
|
|
1482
|
+
info: string;
|
|
1483
|
+
success: string;
|
|
1484
|
+
warning: string;
|
|
1485
|
+
error: string;
|
|
1486
|
+
neutral: string;
|
|
1487
|
+
};
|
|
1488
|
+
shape: {
|
|
1489
|
+
default: string;
|
|
1490
|
+
circle: {
|
|
1491
|
+
root: string;
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
disabled: {
|
|
1495
|
+
true: {
|
|
1496
|
+
root: string;
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
}, {
|
|
1500
|
+
root: string;
|
|
1501
|
+
icon: string;
|
|
1502
|
+
dot: string[];
|
|
1503
|
+
}, tailwind_variants.TVReturnType<{
|
|
1504
|
+
size: {
|
|
1505
|
+
medium: {
|
|
1506
|
+
root: string;
|
|
1507
|
+
icon: string;
|
|
1508
|
+
dot: string;
|
|
1509
|
+
};
|
|
1510
|
+
small: {
|
|
1511
|
+
root: string;
|
|
1512
|
+
icon: string;
|
|
1513
|
+
dot: string;
|
|
1514
|
+
};
|
|
1515
|
+
xsmall: {
|
|
1516
|
+
root: string;
|
|
1517
|
+
icon: string;
|
|
1518
|
+
dot: string;
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
variant: {
|
|
1522
|
+
filled: {
|
|
1523
|
+
root: string;
|
|
1524
|
+
};
|
|
1525
|
+
outline: {
|
|
1526
|
+
root: string;
|
|
1527
|
+
};
|
|
1528
|
+
lighter: string;
|
|
1529
|
+
ghost: string;
|
|
1530
|
+
};
|
|
1531
|
+
color: {
|
|
1532
|
+
primary: string;
|
|
1533
|
+
info: string;
|
|
1534
|
+
success: string;
|
|
1535
|
+
warning: string;
|
|
1536
|
+
error: string;
|
|
1537
|
+
neutral: string;
|
|
1538
|
+
};
|
|
1539
|
+
shape: {
|
|
1540
|
+
default: string;
|
|
1541
|
+
circle: {
|
|
1542
|
+
root: string;
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
disabled: {
|
|
1546
|
+
true: {
|
|
1547
|
+
root: string;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
}, {
|
|
1551
|
+
root: string;
|
|
1552
|
+
icon: string;
|
|
1553
|
+
dot: string[];
|
|
1554
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
1555
|
+
declare function BadgeIcon<T extends React$1.ElementType>({ className, size, variant, color, as, ...rest }: PolymorphicComponentProps<T, BadgeSharedProps>): react_jsx_runtime.JSX.Element;
|
|
1556
|
+
declare namespace BadgeIcon {
|
|
1557
|
+
var displayName: string;
|
|
1558
|
+
}
|
|
1559
|
+
type BadgeProps = BadgeRootProps & {
|
|
1560
|
+
icon?: React$1.ComponentProps<typeof BadgeIcon>['as'];
|
|
1561
|
+
dot?: boolean;
|
|
1562
|
+
};
|
|
1563
|
+
declare function Badge({ icon, dot, children, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
1564
|
+
|
|
1565
|
+
declare function ScrollArea({ className, scrollBarClassName, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root> & {
|
|
1566
|
+
scrollBarClassName?: string;
|
|
1567
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1568
|
+
|
|
1569
|
+
interface SwapProps {
|
|
1570
|
+
swap: boolean;
|
|
1571
|
+
on: React__default.ReactNode;
|
|
1572
|
+
off: React__default.ReactNode;
|
|
1573
|
+
className?: string;
|
|
1574
|
+
}
|
|
1575
|
+
declare function Swap({ swap, on, off, className }: SwapProps): react_jsx_runtime.JSX.Element;
|
|
1576
|
+
|
|
1577
|
+
interface StateSwitcherProps {
|
|
1578
|
+
state: string;
|
|
1579
|
+
states: Record<string, React__default.ReactNode>;
|
|
1580
|
+
className?: string;
|
|
1581
|
+
asDiv?: boolean;
|
|
1582
|
+
initial?: boolean;
|
|
1583
|
+
style?: React__default.CSSProperties;
|
|
1584
|
+
}
|
|
1585
|
+
declare function StateSwitcher({ initial, state, states, asDiv, className, style, ...rest }: StateSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
1586
|
+
|
|
1587
|
+
type HoverCardProps = React$1.ComponentProps<typeof HoverCard$1.Root> & Omit<React$1.ComponentProps<typeof HoverCard$1.Content>, 'content'> & {
|
|
1588
|
+
asChild?: boolean;
|
|
1589
|
+
arrow?: boolean;
|
|
1590
|
+
className?: string;
|
|
1591
|
+
content?: React$1.ReactNode;
|
|
1592
|
+
};
|
|
1593
|
+
declare function HoverCard({ open, defaultOpen, openDelay, closeDelay, asChild, arrow, content, children: trigger, onOpenChange, ...contentProps }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
1594
|
+
|
|
1595
|
+
export { index as Avatar, Badge, type BadgeProps, ButtonSharedProps, card as Card, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPanel, command as Command, CopyableText, type CopyableTextProps, type DebouncedFunction, Drawer, type DrawerProps, DropdownMenu, type DropdownMenuItemProps, type DropdownMenuProps, type DropdownMenuVariants, HoverCard, type MenuPropBase, PopConfirm, type PopConfirmProps, popover as Popover, PopoverPreset, type PopoverPresetProps, type Scheduler, ScrollArea, Skeleton, Spinner, StateSwitcher, Swap, Switch, tabs as Tabs, type ThrottledFunction, Tooltip, TooltipArrow, TooltipProvider, TooltipRoot, TooltipTrigger, UIProvider, type UseDrawerOptions, cn, compact, debounce, dropdownMenuStyles, findOption, formatCurrency, formatIntegerCompact, formatNumber, getFirstLetters, mergeRefs, throttle, tooltipVariants, tv, twMergeConfig, unique, useDrawer };
|