@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.
- package/dist/components/accordion.d.ts +153 -2
- package/dist/components/avatar.d.ts +227 -2
- package/dist/components/badge.d.ts +199 -1
- package/dist/components/button.d.ts +155 -2
- package/dist/components/card.d.ts +225 -1
- package/dist/components/checkbox.d.ts +250 -2
- package/dist/components/chip.d.ts +304 -1
- package/dist/components/circular-progress.d.ts +171 -1
- package/dist/components/code.d.ts +64 -1
- package/dist/components/divider.d.ts +16 -1
- package/dist/components/drip.d.ts +1 -1
- package/dist/components/dropdown.d.ts +135 -4
- package/dist/components/image.d.ts +141 -1
- package/dist/components/input.d.ts +387 -1
- package/dist/components/kbd.d.ts +5 -1
- package/dist/components/link.d.ts +94 -1
- package/dist/components/menu.d.ts +152 -3
- package/dist/components/modal.d.ts +315 -1
- package/dist/components/navbar.d.ts +174 -1
- package/dist/components/pagination.d.ts +239 -1
- package/dist/components/popover.d.ts +276 -1
- package/dist/components/progress.d.ts +91 -1
- package/dist/components/radio.d.ts +231 -2
- package/dist/components/scroll-shadow.d.ts +28 -1
- package/dist/components/select.d.ts +388 -1
- package/dist/components/skeleton.d.ts +37 -1
- package/dist/components/snippet.d.ts +165 -1
- package/dist/components/spacer.d.ts +16 -1
- package/dist/components/spinner.d.ts +232 -1
- package/dist/components/table.d.ts +311 -1
- package/dist/components/tabs.d.ts +269 -1
- package/dist/components/toggle.d.ts +192 -1
- package/dist/components/user.d.ts +11 -1
- package/package.json +2 -2
|
@@ -381,7 +381,275 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
381
381
|
tabContent: string[];
|
|
382
382
|
cursor: string[];
|
|
383
383
|
panel: string[];
|
|
384
|
-
}
|
|
384
|
+
}, tailwind_variants.TVReturnType<{
|
|
385
|
+
variant: {
|
|
386
|
+
solid: {
|
|
387
|
+
cursor: string;
|
|
388
|
+
};
|
|
389
|
+
light: {
|
|
390
|
+
tabList: string;
|
|
391
|
+
cursor: string;
|
|
392
|
+
};
|
|
393
|
+
underlined: {
|
|
394
|
+
tabList: string;
|
|
395
|
+
cursor: string;
|
|
396
|
+
};
|
|
397
|
+
bordered: {
|
|
398
|
+
tabList: string;
|
|
399
|
+
cursor: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
color: {
|
|
403
|
+
default: {};
|
|
404
|
+
primary: {};
|
|
405
|
+
secondary: {};
|
|
406
|
+
success: {};
|
|
407
|
+
warning: {};
|
|
408
|
+
danger: {};
|
|
409
|
+
};
|
|
410
|
+
size: {
|
|
411
|
+
sm: {
|
|
412
|
+
tabList: string;
|
|
413
|
+
tab: string;
|
|
414
|
+
cursor: string;
|
|
415
|
+
};
|
|
416
|
+
md: {
|
|
417
|
+
tabList: string;
|
|
418
|
+
tab: string;
|
|
419
|
+
cursor: string;
|
|
420
|
+
};
|
|
421
|
+
lg: {
|
|
422
|
+
tabList: string;
|
|
423
|
+
tab: string;
|
|
424
|
+
cursor: string;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
radius: {
|
|
428
|
+
none: {
|
|
429
|
+
tabList: string;
|
|
430
|
+
tab: string;
|
|
431
|
+
cursor: string;
|
|
432
|
+
};
|
|
433
|
+
sm: {
|
|
434
|
+
tabList: string;
|
|
435
|
+
tab: string;
|
|
436
|
+
cursor: string;
|
|
437
|
+
};
|
|
438
|
+
md: {
|
|
439
|
+
tabList: string;
|
|
440
|
+
tab: string;
|
|
441
|
+
cursor: string;
|
|
442
|
+
};
|
|
443
|
+
lg: {
|
|
444
|
+
tabList: string;
|
|
445
|
+
tab: string;
|
|
446
|
+
cursor: string;
|
|
447
|
+
};
|
|
448
|
+
full: {
|
|
449
|
+
tabList: string;
|
|
450
|
+
tab: string;
|
|
451
|
+
cursor: string;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
fullWidth: {
|
|
455
|
+
true: {
|
|
456
|
+
base: string;
|
|
457
|
+
tabList: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
isDisabled: {
|
|
461
|
+
true: {
|
|
462
|
+
tabList: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
disableAnimation: {
|
|
466
|
+
true: {
|
|
467
|
+
tab: string;
|
|
468
|
+
tabContent: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
}, {
|
|
472
|
+
base: string;
|
|
473
|
+
tabList: string[];
|
|
474
|
+
tab: string[];
|
|
475
|
+
tabContent: string[];
|
|
476
|
+
cursor: string[];
|
|
477
|
+
panel: string[];
|
|
478
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
479
|
+
variant: {
|
|
480
|
+
solid: {
|
|
481
|
+
cursor: string;
|
|
482
|
+
};
|
|
483
|
+
light: {
|
|
484
|
+
tabList: string;
|
|
485
|
+
cursor: string;
|
|
486
|
+
};
|
|
487
|
+
underlined: {
|
|
488
|
+
tabList: string;
|
|
489
|
+
cursor: string;
|
|
490
|
+
};
|
|
491
|
+
bordered: {
|
|
492
|
+
tabList: string;
|
|
493
|
+
cursor: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
color: {
|
|
497
|
+
default: {};
|
|
498
|
+
primary: {};
|
|
499
|
+
secondary: {};
|
|
500
|
+
success: {};
|
|
501
|
+
warning: {};
|
|
502
|
+
danger: {};
|
|
503
|
+
};
|
|
504
|
+
size: {
|
|
505
|
+
sm: {
|
|
506
|
+
tabList: string;
|
|
507
|
+
tab: string;
|
|
508
|
+
cursor: string;
|
|
509
|
+
};
|
|
510
|
+
md: {
|
|
511
|
+
tabList: string;
|
|
512
|
+
tab: string;
|
|
513
|
+
cursor: string;
|
|
514
|
+
};
|
|
515
|
+
lg: {
|
|
516
|
+
tabList: string;
|
|
517
|
+
tab: string;
|
|
518
|
+
cursor: string;
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
radius: {
|
|
522
|
+
none: {
|
|
523
|
+
tabList: string;
|
|
524
|
+
tab: string;
|
|
525
|
+
cursor: string;
|
|
526
|
+
};
|
|
527
|
+
sm: {
|
|
528
|
+
tabList: string;
|
|
529
|
+
tab: string;
|
|
530
|
+
cursor: string;
|
|
531
|
+
};
|
|
532
|
+
md: {
|
|
533
|
+
tabList: string;
|
|
534
|
+
tab: string;
|
|
535
|
+
cursor: string;
|
|
536
|
+
};
|
|
537
|
+
lg: {
|
|
538
|
+
tabList: string;
|
|
539
|
+
tab: string;
|
|
540
|
+
cursor: string;
|
|
541
|
+
};
|
|
542
|
+
full: {
|
|
543
|
+
tabList: string;
|
|
544
|
+
tab: string;
|
|
545
|
+
cursor: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
fullWidth: {
|
|
549
|
+
true: {
|
|
550
|
+
base: string;
|
|
551
|
+
tabList: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
isDisabled: {
|
|
555
|
+
true: {
|
|
556
|
+
tabList: string;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
disableAnimation: {
|
|
560
|
+
true: {
|
|
561
|
+
tab: string;
|
|
562
|
+
tabContent: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
}, {
|
|
566
|
+
variant: {
|
|
567
|
+
solid: {
|
|
568
|
+
cursor: string;
|
|
569
|
+
};
|
|
570
|
+
light: {
|
|
571
|
+
tabList: string;
|
|
572
|
+
cursor: string;
|
|
573
|
+
};
|
|
574
|
+
underlined: {
|
|
575
|
+
tabList: string;
|
|
576
|
+
cursor: string;
|
|
577
|
+
};
|
|
578
|
+
bordered: {
|
|
579
|
+
tabList: string;
|
|
580
|
+
cursor: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
color: {
|
|
584
|
+
default: {};
|
|
585
|
+
primary: {};
|
|
586
|
+
secondary: {};
|
|
587
|
+
success: {};
|
|
588
|
+
warning: {};
|
|
589
|
+
danger: {};
|
|
590
|
+
};
|
|
591
|
+
size: {
|
|
592
|
+
sm: {
|
|
593
|
+
tabList: string;
|
|
594
|
+
tab: string;
|
|
595
|
+
cursor: string;
|
|
596
|
+
};
|
|
597
|
+
md: {
|
|
598
|
+
tabList: string;
|
|
599
|
+
tab: string;
|
|
600
|
+
cursor: string;
|
|
601
|
+
};
|
|
602
|
+
lg: {
|
|
603
|
+
tabList: string;
|
|
604
|
+
tab: string;
|
|
605
|
+
cursor: string;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
radius: {
|
|
609
|
+
none: {
|
|
610
|
+
tabList: string;
|
|
611
|
+
tab: string;
|
|
612
|
+
cursor: string;
|
|
613
|
+
};
|
|
614
|
+
sm: {
|
|
615
|
+
tabList: string;
|
|
616
|
+
tab: string;
|
|
617
|
+
cursor: string;
|
|
618
|
+
};
|
|
619
|
+
md: {
|
|
620
|
+
tabList: string;
|
|
621
|
+
tab: string;
|
|
622
|
+
cursor: string;
|
|
623
|
+
};
|
|
624
|
+
lg: {
|
|
625
|
+
tabList: string;
|
|
626
|
+
tab: string;
|
|
627
|
+
cursor: string;
|
|
628
|
+
};
|
|
629
|
+
full: {
|
|
630
|
+
tabList: string;
|
|
631
|
+
tab: string;
|
|
632
|
+
cursor: string;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
fullWidth: {
|
|
636
|
+
true: {
|
|
637
|
+
base: string;
|
|
638
|
+
tabList: string;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
isDisabled: {
|
|
642
|
+
true: {
|
|
643
|
+
tabList: string;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
disableAnimation: {
|
|
647
|
+
true: {
|
|
648
|
+
tab: string;
|
|
649
|
+
tabContent: string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
}>, unknown, unknown, undefined>>;
|
|
385
653
|
type TabsVariantProps = VariantProps<typeof tabs>;
|
|
386
654
|
type TabsSlots = keyof ReturnType<typeof tabs>;
|
|
387
655
|
type TabsReturnType = ReturnType<typeof tabs>;
|
|
@@ -287,7 +287,198 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
287
287
|
endContent: string;
|
|
288
288
|
thumbIcon: string;
|
|
289
289
|
label: string;
|
|
290
|
-
}
|
|
290
|
+
}, tailwind_variants.TVReturnType<{
|
|
291
|
+
color: {
|
|
292
|
+
default: {
|
|
293
|
+
wrapper: string[];
|
|
294
|
+
};
|
|
295
|
+
primary: {
|
|
296
|
+
wrapper: string[];
|
|
297
|
+
};
|
|
298
|
+
secondary: {
|
|
299
|
+
wrapper: string[];
|
|
300
|
+
};
|
|
301
|
+
success: {
|
|
302
|
+
wrapper: string[];
|
|
303
|
+
};
|
|
304
|
+
warning: {
|
|
305
|
+
wrapper: string[];
|
|
306
|
+
};
|
|
307
|
+
danger: {
|
|
308
|
+
wrapper: string[];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
size: {
|
|
312
|
+
sm: {
|
|
313
|
+
wrapper: string;
|
|
314
|
+
thumb: string[];
|
|
315
|
+
endContent: string;
|
|
316
|
+
startContent: string;
|
|
317
|
+
label: string;
|
|
318
|
+
};
|
|
319
|
+
md: {
|
|
320
|
+
wrapper: string;
|
|
321
|
+
thumb: string[];
|
|
322
|
+
endContent: string;
|
|
323
|
+
startContent: string;
|
|
324
|
+
label: string;
|
|
325
|
+
};
|
|
326
|
+
lg: {
|
|
327
|
+
wrapper: string;
|
|
328
|
+
thumb: string[];
|
|
329
|
+
endContent: string;
|
|
330
|
+
startContent: string;
|
|
331
|
+
label: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
isDisabled: {
|
|
335
|
+
true: {
|
|
336
|
+
base: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
disableAnimation: {
|
|
340
|
+
true: {
|
|
341
|
+
wrapper: string;
|
|
342
|
+
thumb: string;
|
|
343
|
+
};
|
|
344
|
+
false: {
|
|
345
|
+
wrapper: string;
|
|
346
|
+
thumb: string;
|
|
347
|
+
startContent: string[];
|
|
348
|
+
endContent: string[];
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
}, {
|
|
352
|
+
base: string;
|
|
353
|
+
wrapper: string[];
|
|
354
|
+
thumb: string[];
|
|
355
|
+
startContent: string;
|
|
356
|
+
endContent: string;
|
|
357
|
+
thumbIcon: string;
|
|
358
|
+
label: string;
|
|
359
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
360
|
+
color: {
|
|
361
|
+
default: {
|
|
362
|
+
wrapper: string[];
|
|
363
|
+
};
|
|
364
|
+
primary: {
|
|
365
|
+
wrapper: string[];
|
|
366
|
+
};
|
|
367
|
+
secondary: {
|
|
368
|
+
wrapper: string[];
|
|
369
|
+
};
|
|
370
|
+
success: {
|
|
371
|
+
wrapper: string[];
|
|
372
|
+
};
|
|
373
|
+
warning: {
|
|
374
|
+
wrapper: string[];
|
|
375
|
+
};
|
|
376
|
+
danger: {
|
|
377
|
+
wrapper: string[];
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
size: {
|
|
381
|
+
sm: {
|
|
382
|
+
wrapper: string;
|
|
383
|
+
thumb: string[];
|
|
384
|
+
endContent: string;
|
|
385
|
+
startContent: string;
|
|
386
|
+
label: string;
|
|
387
|
+
};
|
|
388
|
+
md: {
|
|
389
|
+
wrapper: string;
|
|
390
|
+
thumb: string[];
|
|
391
|
+
endContent: string;
|
|
392
|
+
startContent: string;
|
|
393
|
+
label: string;
|
|
394
|
+
};
|
|
395
|
+
lg: {
|
|
396
|
+
wrapper: string;
|
|
397
|
+
thumb: string[];
|
|
398
|
+
endContent: string;
|
|
399
|
+
startContent: string;
|
|
400
|
+
label: string;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
isDisabled: {
|
|
404
|
+
true: {
|
|
405
|
+
base: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
disableAnimation: {
|
|
409
|
+
true: {
|
|
410
|
+
wrapper: string;
|
|
411
|
+
thumb: string;
|
|
412
|
+
};
|
|
413
|
+
false: {
|
|
414
|
+
wrapper: string;
|
|
415
|
+
thumb: string;
|
|
416
|
+
startContent: string[];
|
|
417
|
+
endContent: string[];
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
}, {
|
|
421
|
+
color: {
|
|
422
|
+
default: {
|
|
423
|
+
wrapper: string[];
|
|
424
|
+
};
|
|
425
|
+
primary: {
|
|
426
|
+
wrapper: string[];
|
|
427
|
+
};
|
|
428
|
+
secondary: {
|
|
429
|
+
wrapper: string[];
|
|
430
|
+
};
|
|
431
|
+
success: {
|
|
432
|
+
wrapper: string[];
|
|
433
|
+
};
|
|
434
|
+
warning: {
|
|
435
|
+
wrapper: string[];
|
|
436
|
+
};
|
|
437
|
+
danger: {
|
|
438
|
+
wrapper: string[];
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
sm: {
|
|
443
|
+
wrapper: string;
|
|
444
|
+
thumb: string[];
|
|
445
|
+
endContent: string;
|
|
446
|
+
startContent: string;
|
|
447
|
+
label: string;
|
|
448
|
+
};
|
|
449
|
+
md: {
|
|
450
|
+
wrapper: string;
|
|
451
|
+
thumb: string[];
|
|
452
|
+
endContent: string;
|
|
453
|
+
startContent: string;
|
|
454
|
+
label: string;
|
|
455
|
+
};
|
|
456
|
+
lg: {
|
|
457
|
+
wrapper: string;
|
|
458
|
+
thumb: string[];
|
|
459
|
+
endContent: string;
|
|
460
|
+
startContent: string;
|
|
461
|
+
label: string;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
isDisabled: {
|
|
465
|
+
true: {
|
|
466
|
+
base: string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
disableAnimation: {
|
|
470
|
+
true: {
|
|
471
|
+
wrapper: string;
|
|
472
|
+
thumb: string;
|
|
473
|
+
};
|
|
474
|
+
false: {
|
|
475
|
+
wrapper: string;
|
|
476
|
+
thumb: string;
|
|
477
|
+
startContent: string[];
|
|
478
|
+
endContent: string[];
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
}>, unknown, unknown, undefined>>;
|
|
291
482
|
type ToggleVariantProps = VariantProps<typeof toggle>;
|
|
292
483
|
type ToggleSlots = keyof ReturnType<typeof toggle>;
|
|
293
484
|
|
|
@@ -49,7 +49,17 @@ declare const user: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsD
|
|
|
49
49
|
wrapper: string;
|
|
50
50
|
name: string;
|
|
51
51
|
description: string;
|
|
52
|
-
}
|
|
52
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
+
base: string[];
|
|
54
|
+
wrapper: string;
|
|
55
|
+
name: string;
|
|
56
|
+
description: string;
|
|
57
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
|
|
58
|
+
base: string[];
|
|
59
|
+
wrapper: string;
|
|
60
|
+
name: string;
|
|
61
|
+
description: string;
|
|
62
|
+
}, undefined> | {}>, unknown, unknown, undefined>>;
|
|
53
63
|
type UserSlots = keyof ReturnType<typeof user>;
|
|
54
64
|
|
|
55
65
|
export { UserSlots, user };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/theme",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "The default theme for NextUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lodash.kebabcase": "^4.1.1",
|
|
47
47
|
"lodash.mapkeys": "^4.6.0",
|
|
48
48
|
"lodash.omit": "^4.5.0",
|
|
49
|
-
"tailwind-variants": "^0.1.
|
|
49
|
+
"tailwind-variants": "^0.1.14",
|
|
50
50
|
"tailwindcss": "^3.2.7",
|
|
51
51
|
"@types/color": "^3.0.3",
|
|
52
52
|
"@types/flat": "^5.0.2",
|