@nextui-org/theme 2.1.4 → 2.1.6

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 (34) hide show
  1. package/dist/components/accordion.d.ts +153 -2
  2. package/dist/components/avatar.d.ts +227 -2
  3. package/dist/components/badge.d.ts +199 -1
  4. package/dist/components/button.d.ts +155 -2
  5. package/dist/components/card.d.ts +225 -1
  6. package/dist/components/checkbox.d.ts +250 -2
  7. package/dist/components/chip.d.ts +304 -1
  8. package/dist/components/circular-progress.d.ts +171 -1
  9. package/dist/components/code.d.ts +64 -1
  10. package/dist/components/divider.d.ts +16 -1
  11. package/dist/components/drip.d.ts +1 -1
  12. package/dist/components/dropdown.d.ts +135 -4
  13. package/dist/components/image.d.ts +141 -1
  14. package/dist/components/input.d.ts +387 -1
  15. package/dist/components/kbd.d.ts +5 -1
  16. package/dist/components/link.d.ts +94 -1
  17. package/dist/components/menu.d.ts +152 -3
  18. package/dist/components/modal.d.ts +315 -1
  19. package/dist/components/navbar.d.ts +174 -1
  20. package/dist/components/pagination.d.ts +239 -1
  21. package/dist/components/popover.d.ts +276 -1
  22. package/dist/components/progress.d.ts +91 -1
  23. package/dist/components/radio.d.ts +231 -2
  24. package/dist/components/scroll-shadow.d.ts +28 -1
  25. package/dist/components/select.d.ts +388 -1
  26. package/dist/components/skeleton.d.ts +37 -1
  27. package/dist/components/snippet.d.ts +165 -1
  28. package/dist/components/spacer.d.ts +16 -1
  29. package/dist/components/spinner.d.ts +232 -1
  30. package/dist/components/table.d.ts +311 -1
  31. package/dist/components/tabs.d.ts +269 -1
  32. package/dist/components/toggle.d.ts +192 -1
  33. package/dist/components/user.d.ts +11 -1
  34. package/package.json +2 -2
@@ -52,7 +52,37 @@ declare const accordion: tailwind_variants.TVReturnType<{
52
52
  fullWidth: {
53
53
  true: "w-full";
54
54
  };
55
- }, undefined>;
55
+ }, undefined, tailwind_variants.TVReturnType<{
56
+ variant: {
57
+ light: "";
58
+ shadow: "px-4 shadow-medium rounded-medium bg-content1";
59
+ bordered: "px-4 border-medium border-divider rounded-medium";
60
+ splitted: "group is-splitted flex flex-col gap-2";
61
+ };
62
+ fullWidth: {
63
+ true: "w-full";
64
+ };
65
+ }, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
66
+ variant: {
67
+ light: "";
68
+ shadow: "px-4 shadow-medium rounded-medium bg-content1";
69
+ bordered: "px-4 border-medium border-divider rounded-medium";
70
+ splitted: "group is-splitted flex flex-col gap-2";
71
+ };
72
+ fullWidth: {
73
+ true: "w-full";
74
+ };
75
+ }, {
76
+ variant: {
77
+ light: "";
78
+ shadow: "px-4 shadow-medium rounded-medium bg-content1";
79
+ bordered: "px-4 border-medium border-divider rounded-medium";
80
+ splitted: "group is-splitted flex flex-col gap-2";
81
+ };
82
+ fullWidth: {
83
+ true: "w-full";
84
+ };
85
+ }>, unknown, unknown, undefined>>;
56
86
  /**
57
87
  * AccordionItem wrapper **Tailwind Variants** component
58
88
  *
@@ -243,7 +273,128 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
243
273
  title: string;
244
274
  subtitle: string;
245
275
  content: string;
246
- }>;
276
+ }, tailwind_variants.TVReturnType<{
277
+ isCompact: {
278
+ true: {
279
+ trigger: string;
280
+ title: string;
281
+ subtitle: string;
282
+ indicator: string;
283
+ content: string;
284
+ };
285
+ };
286
+ isDisabled: {
287
+ true: {
288
+ base: string;
289
+ };
290
+ };
291
+ hideIndicator: {
292
+ true: {
293
+ indicator: string;
294
+ };
295
+ };
296
+ disableAnimation: {
297
+ true: {
298
+ content: string;
299
+ };
300
+ false: {
301
+ indicator: string;
302
+ trigger: string;
303
+ };
304
+ };
305
+ disableIndicatorAnimation: {
306
+ true: {
307
+ indicator: string;
308
+ };
309
+ false: {
310
+ indicator: string;
311
+ };
312
+ };
313
+ }, {
314
+ base: string[];
315
+ heading: string;
316
+ trigger: string[];
317
+ startContent: string;
318
+ indicator: string;
319
+ titleWrapper: string;
320
+ title: string;
321
+ subtitle: string;
322
+ content: string;
323
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
324
+ isCompact: {
325
+ true: {
326
+ trigger: string;
327
+ title: string;
328
+ subtitle: string;
329
+ indicator: string;
330
+ content: string;
331
+ };
332
+ };
333
+ isDisabled: {
334
+ true: {
335
+ base: string;
336
+ };
337
+ };
338
+ hideIndicator: {
339
+ true: {
340
+ indicator: string;
341
+ };
342
+ };
343
+ disableAnimation: {
344
+ true: {
345
+ content: string;
346
+ };
347
+ false: {
348
+ indicator: string;
349
+ trigger: string;
350
+ };
351
+ };
352
+ disableIndicatorAnimation: {
353
+ true: {
354
+ indicator: string;
355
+ };
356
+ false: {
357
+ indicator: string;
358
+ };
359
+ };
360
+ }, {
361
+ isCompact: {
362
+ true: {
363
+ trigger: string;
364
+ title: string;
365
+ subtitle: string;
366
+ indicator: string;
367
+ content: string;
368
+ };
369
+ };
370
+ isDisabled: {
371
+ true: {
372
+ base: string;
373
+ };
374
+ };
375
+ hideIndicator: {
376
+ true: {
377
+ indicator: string;
378
+ };
379
+ };
380
+ disableAnimation: {
381
+ true: {
382
+ content: string;
383
+ };
384
+ false: {
385
+ indicator: string;
386
+ trigger: string;
387
+ };
388
+ };
389
+ disableIndicatorAnimation: {
390
+ true: {
391
+ indicator: string;
392
+ };
393
+ false: {
394
+ indicator: string;
395
+ };
396
+ };
397
+ }>, unknown, unknown, undefined>>;
247
398
  type AccordionGroupVariantProps = VariantProps<typeof accordion>;
248
399
  type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
249
400
  type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
@@ -302,7 +302,220 @@ declare const avatar: tailwind_variants.TVReturnType<{
302
302
  fallback: string[];
303
303
  name: string[];
304
304
  icon: string[];
305
- }>;
305
+ }, tailwind_variants.TVReturnType<{
306
+ size: {
307
+ sm: {
308
+ base: string;
309
+ };
310
+ md: {
311
+ base: string;
312
+ };
313
+ lg: {
314
+ base: string;
315
+ };
316
+ };
317
+ color: {
318
+ default: {
319
+ base: string;
320
+ };
321
+ primary: {
322
+ base: string;
323
+ };
324
+ secondary: {
325
+ base: string;
326
+ };
327
+ success: {
328
+ base: string;
329
+ };
330
+ warning: {
331
+ base: string;
332
+ };
333
+ danger: {
334
+ base: string;
335
+ };
336
+ };
337
+ radius: {
338
+ none: {
339
+ base: string;
340
+ };
341
+ sm: {
342
+ base: string;
343
+ };
344
+ md: {
345
+ base: string;
346
+ };
347
+ lg: {
348
+ base: string;
349
+ };
350
+ full: {
351
+ base: string;
352
+ };
353
+ };
354
+ isBordered: {
355
+ true: {
356
+ base: string;
357
+ };
358
+ };
359
+ isDisabled: {
360
+ true: {
361
+ base: string;
362
+ };
363
+ };
364
+ isInGroup: {
365
+ true: {
366
+ base: string[];
367
+ };
368
+ };
369
+ isInGridGroup: {
370
+ true: {
371
+ base: string;
372
+ };
373
+ };
374
+ }, {
375
+ base: string[];
376
+ img: string[];
377
+ fallback: string[];
378
+ name: string[];
379
+ icon: string[];
380
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
381
+ size: {
382
+ sm: {
383
+ base: string;
384
+ };
385
+ md: {
386
+ base: string;
387
+ };
388
+ lg: {
389
+ base: string;
390
+ };
391
+ };
392
+ color: {
393
+ default: {
394
+ base: string;
395
+ };
396
+ primary: {
397
+ base: string;
398
+ };
399
+ secondary: {
400
+ base: string;
401
+ };
402
+ success: {
403
+ base: string;
404
+ };
405
+ warning: {
406
+ base: string;
407
+ };
408
+ danger: {
409
+ base: string;
410
+ };
411
+ };
412
+ radius: {
413
+ none: {
414
+ base: string;
415
+ };
416
+ sm: {
417
+ base: string;
418
+ };
419
+ md: {
420
+ base: string;
421
+ };
422
+ lg: {
423
+ base: string;
424
+ };
425
+ full: {
426
+ base: string;
427
+ };
428
+ };
429
+ isBordered: {
430
+ true: {
431
+ base: string;
432
+ };
433
+ };
434
+ isDisabled: {
435
+ true: {
436
+ base: string;
437
+ };
438
+ };
439
+ isInGroup: {
440
+ true: {
441
+ base: string[];
442
+ };
443
+ };
444
+ isInGridGroup: {
445
+ true: {
446
+ base: string;
447
+ };
448
+ };
449
+ }, {
450
+ size: {
451
+ sm: {
452
+ base: string;
453
+ };
454
+ md: {
455
+ base: string;
456
+ };
457
+ lg: {
458
+ base: string;
459
+ };
460
+ };
461
+ color: {
462
+ default: {
463
+ base: string;
464
+ };
465
+ primary: {
466
+ base: string;
467
+ };
468
+ secondary: {
469
+ base: string;
470
+ };
471
+ success: {
472
+ base: string;
473
+ };
474
+ warning: {
475
+ base: string;
476
+ };
477
+ danger: {
478
+ base: string;
479
+ };
480
+ };
481
+ radius: {
482
+ none: {
483
+ base: string;
484
+ };
485
+ sm: {
486
+ base: string;
487
+ };
488
+ md: {
489
+ base: string;
490
+ };
491
+ lg: {
492
+ base: string;
493
+ };
494
+ full: {
495
+ base: string;
496
+ };
497
+ };
498
+ isBordered: {
499
+ true: {
500
+ base: string;
501
+ };
502
+ };
503
+ isDisabled: {
504
+ true: {
505
+ base: string;
506
+ };
507
+ };
508
+ isInGroup: {
509
+ true: {
510
+ base: string[];
511
+ };
512
+ };
513
+ isInGridGroup: {
514
+ true: {
515
+ base: string;
516
+ };
517
+ };
518
+ }>, unknown, unknown, undefined>>;
306
519
  /**
307
520
  * AvatarGroup wrapper **Tailwind Variants** component
308
521
  *
@@ -329,7 +542,19 @@ declare const avatarGroup: tailwind_variants.TVReturnType<{
329
542
  isGrid: {
330
543
  true: "inline-grid grid-cols-4 gap-3";
331
544
  };
332
- }, undefined>;
545
+ }, undefined, tailwind_variants.TVReturnType<{
546
+ isGrid: {
547
+ true: "inline-grid grid-cols-4 gap-3";
548
+ };
549
+ }, undefined, "flex items-center justify-center h-auto w-max-content", tailwind_variants_dist_config.TVConfig<{
550
+ isGrid: {
551
+ true: "inline-grid grid-cols-4 gap-3";
552
+ };
553
+ }, {
554
+ isGrid: {
555
+ true: "inline-grid grid-cols-4 gap-3";
556
+ };
557
+ }>, unknown, unknown, undefined>>;
333
558
  type AvatarGroupVariantProps = VariantProps<typeof avatarGroup>;
334
559
  type AvatarVariantProps = VariantProps<typeof avatar>;
335
560
  type AvatarSlots = keyof ReturnType<typeof avatar>;
@@ -279,7 +279,205 @@ declare const badge: tailwind_variants.TVReturnType<{
279
279
  }, {
280
280
  base: string[];
281
281
  badge: string[];
282
- }>;
282
+ }, tailwind_variants.TVReturnType<{
283
+ variant: {
284
+ solid: {};
285
+ flat: {};
286
+ faded: {
287
+ badge: string;
288
+ };
289
+ shadow: {};
290
+ };
291
+ color: {
292
+ default: {};
293
+ primary: {};
294
+ secondary: {};
295
+ success: {};
296
+ warning: {};
297
+ danger: {};
298
+ };
299
+ size: {
300
+ sm: {
301
+ badge: string;
302
+ };
303
+ md: {
304
+ badge: string;
305
+ };
306
+ lg: {
307
+ badge: string;
308
+ };
309
+ };
310
+ placement: {
311
+ "top-right": {};
312
+ "top-left": {};
313
+ "bottom-right": {};
314
+ "bottom-left": {};
315
+ };
316
+ shape: {
317
+ circle: {};
318
+ rectangle: {};
319
+ };
320
+ isInvisible: {
321
+ true: {};
322
+ };
323
+ isOneChar: {
324
+ true: {
325
+ badge: string;
326
+ };
327
+ };
328
+ isDot: {
329
+ true: {};
330
+ };
331
+ disableAnimation: {
332
+ true: {
333
+ badge: string;
334
+ };
335
+ false: {
336
+ badge: string;
337
+ };
338
+ };
339
+ disableOutline: {
340
+ true: {
341
+ badge: string;
342
+ };
343
+ false: {
344
+ badge: string;
345
+ };
346
+ };
347
+ }, {
348
+ base: string[];
349
+ badge: string[];
350
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
351
+ variant: {
352
+ solid: {};
353
+ flat: {};
354
+ faded: {
355
+ badge: string;
356
+ };
357
+ shadow: {};
358
+ };
359
+ color: {
360
+ default: {};
361
+ primary: {};
362
+ secondary: {};
363
+ success: {};
364
+ warning: {};
365
+ danger: {};
366
+ };
367
+ size: {
368
+ sm: {
369
+ badge: string;
370
+ };
371
+ md: {
372
+ badge: string;
373
+ };
374
+ lg: {
375
+ badge: string;
376
+ };
377
+ };
378
+ placement: {
379
+ "top-right": {};
380
+ "top-left": {};
381
+ "bottom-right": {};
382
+ "bottom-left": {};
383
+ };
384
+ shape: {
385
+ circle: {};
386
+ rectangle: {};
387
+ };
388
+ isInvisible: {
389
+ true: {};
390
+ };
391
+ isOneChar: {
392
+ true: {
393
+ badge: string;
394
+ };
395
+ };
396
+ isDot: {
397
+ true: {};
398
+ };
399
+ disableAnimation: {
400
+ true: {
401
+ badge: string;
402
+ };
403
+ false: {
404
+ badge: string;
405
+ };
406
+ };
407
+ disableOutline: {
408
+ true: {
409
+ badge: string;
410
+ };
411
+ false: {
412
+ badge: string;
413
+ };
414
+ };
415
+ }, {
416
+ variant: {
417
+ solid: {};
418
+ flat: {};
419
+ faded: {
420
+ badge: string;
421
+ };
422
+ shadow: {};
423
+ };
424
+ color: {
425
+ default: {};
426
+ primary: {};
427
+ secondary: {};
428
+ success: {};
429
+ warning: {};
430
+ danger: {};
431
+ };
432
+ size: {
433
+ sm: {
434
+ badge: string;
435
+ };
436
+ md: {
437
+ badge: string;
438
+ };
439
+ lg: {
440
+ badge: string;
441
+ };
442
+ };
443
+ placement: {
444
+ "top-right": {};
445
+ "top-left": {};
446
+ "bottom-right": {};
447
+ "bottom-left": {};
448
+ };
449
+ shape: {
450
+ circle: {};
451
+ rectangle: {};
452
+ };
453
+ isInvisible: {
454
+ true: {};
455
+ };
456
+ isOneChar: {
457
+ true: {
458
+ badge: string;
459
+ };
460
+ };
461
+ isDot: {
462
+ true: {};
463
+ };
464
+ disableAnimation: {
465
+ true: {
466
+ badge: string;
467
+ };
468
+ false: {
469
+ badge: string;
470
+ };
471
+ };
472
+ disableOutline: {
473
+ true: {
474
+ badge: string;
475
+ };
476
+ false: {
477
+ badge: string;
478
+ };
479
+ };
480
+ }>, unknown, unknown, undefined>>;
283
481
  type BadgeVariantProps = VariantProps<typeof badge>;
284
482
  type BadgeSlots = keyof ReturnType<typeof badge>;
285
483