@nextui-org/theme 2.1.3 → 2.1.5
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/{chunk-FZZINZOQ.mjs → chunk-ER6JQ3OQ.mjs} +21 -4
- package/dist/{chunk-PBGVMEDL.mjs → chunk-PJV3MWBL.mjs} +24 -8
- package/dist/{chunk-NVPBHMUQ.mjs → chunk-X3O5NF4F.mjs} +4 -7
- 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/index.js +49 -19
- package/dist/components/index.mjs +3 -3
- package/dist/components/input.d.ts +386 -20
- package/dist/components/input.js +24 -8
- package/dist/components/input.mjs +1 -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/pagination.js +21 -4
- package/dist/components/pagination.mjs +1 -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 +390 -17
- package/dist/components/select.js +4 -7
- package/dist/components/select.mjs +1 -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/dist/index.js +49 -19
- package/dist/index.mjs +3 -3
- package/dist/types.d.ts +1 -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/dist/index.js
CHANGED
|
@@ -2803,6 +2803,7 @@ var pagination = tv({
|
|
|
2803
2803
|
"left-0",
|
|
2804
2804
|
"select-none",
|
|
2805
2805
|
"touch-none",
|
|
2806
|
+
"pointer-events-none",
|
|
2806
2807
|
"z-20"
|
|
2807
2808
|
],
|
|
2808
2809
|
forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
|
|
@@ -2892,7 +2893,12 @@ var pagination = tv({
|
|
|
2892
2893
|
},
|
|
2893
2894
|
false: {
|
|
2894
2895
|
item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
|
|
2895
|
-
cursor: [
|
|
2896
|
+
cursor: [
|
|
2897
|
+
"data-[moving=true]:transition-transform",
|
|
2898
|
+
"!data-[moving=true]:duration-300",
|
|
2899
|
+
"opacity-0",
|
|
2900
|
+
"data-[moving]:opacity-100"
|
|
2901
|
+
]
|
|
2896
2902
|
}
|
|
2897
2903
|
}
|
|
2898
2904
|
},
|
|
@@ -3097,17 +3103,28 @@ var pagination = tv({
|
|
|
3097
3103
|
{
|
|
3098
3104
|
slots: ["item", "prev", "next"],
|
|
3099
3105
|
variant: "flat",
|
|
3100
|
-
class: [
|
|
3106
|
+
class: [
|
|
3107
|
+
"bg-default-100",
|
|
3108
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-200",
|
|
3109
|
+
"active:bg-default-300"
|
|
3110
|
+
]
|
|
3101
3111
|
},
|
|
3102
3112
|
{
|
|
3103
3113
|
slots: ["item", "prev", "next"],
|
|
3104
3114
|
variant: "faded",
|
|
3105
|
-
class: [
|
|
3115
|
+
class: [
|
|
3116
|
+
"bg-default-50",
|
|
3117
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3118
|
+
"active:bg-default-200"
|
|
3119
|
+
]
|
|
3106
3120
|
},
|
|
3107
3121
|
{
|
|
3108
3122
|
slots: ["item", "prev", "next"],
|
|
3109
3123
|
variant: "light",
|
|
3110
|
-
class: [
|
|
3124
|
+
class: [
|
|
3125
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3126
|
+
"active:bg-default-200"
|
|
3127
|
+
]
|
|
3111
3128
|
},
|
|
3112
3129
|
{
|
|
3113
3130
|
slots: ["item", "cursor", "prev", "next"],
|
|
@@ -3726,19 +3743,14 @@ var input = tv({
|
|
|
3726
3743
|
},
|
|
3727
3744
|
labelPlacement: {
|
|
3728
3745
|
outside: {
|
|
3729
|
-
base: "data-[has-helper=true]:pb-4",
|
|
3730
3746
|
label: "text-foreground pb-1.5",
|
|
3731
|
-
mainWrapper: "flex flex-col"
|
|
3732
|
-
description: "absolute left-1",
|
|
3733
|
-
errorMessage: "absolute left-1"
|
|
3747
|
+
mainWrapper: "flex flex-col"
|
|
3734
3748
|
},
|
|
3735
3749
|
"outside-left": {
|
|
3736
|
-
base: "flex-row items-center flex-nowrap data-[has-helper=true]:
|
|
3750
|
+
base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
|
|
3737
3751
|
inputWrapper: "flex-1",
|
|
3738
3752
|
mainWrapper: "flex flex-col",
|
|
3739
|
-
label: "text-foreground pr-2"
|
|
3740
|
-
description: "absolute left-1",
|
|
3741
|
-
errorMessage: "absolute left-1"
|
|
3753
|
+
label: "text-foreground pr-2"
|
|
3742
3754
|
},
|
|
3743
3755
|
inside: {
|
|
3744
3756
|
label: "text-tiny cursor-text",
|
|
@@ -4213,6 +4225,27 @@ var input = tv({
|
|
|
4213
4225
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
4214
4226
|
]
|
|
4215
4227
|
}
|
|
4228
|
+
},
|
|
4229
|
+
{
|
|
4230
|
+
labelPlacement: "outside-left",
|
|
4231
|
+
size: "sm",
|
|
4232
|
+
class: {
|
|
4233
|
+
label: "group-data-[has-helper=true]:pt-2"
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
labelPlacement: "outside-left",
|
|
4238
|
+
size: "md",
|
|
4239
|
+
class: {
|
|
4240
|
+
label: "group-data-[has-helper=true]:pt-3"
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
labelPlacement: "outside-left",
|
|
4245
|
+
size: "lg",
|
|
4246
|
+
class: {
|
|
4247
|
+
label: "group-data-[has-helper=true]:pt-4"
|
|
4248
|
+
}
|
|
4216
4249
|
}
|
|
4217
4250
|
]
|
|
4218
4251
|
});
|
|
@@ -5730,6 +5763,7 @@ var select = tv({
|
|
|
5730
5763
|
slots: {
|
|
5731
5764
|
base: "group inline-flex flex-col relative w-full",
|
|
5732
5765
|
label: "block text-small font-medium text-foreground-500 pointer-events-none",
|
|
5766
|
+
mainWrapper: "w-full flex flex-col",
|
|
5733
5767
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
5734
5768
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] items-center gap-1.5 box-border",
|
|
5735
5769
|
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
@@ -5837,15 +5871,11 @@ var select = tv({
|
|
|
5837
5871
|
labelPlacement: {
|
|
5838
5872
|
outside: {
|
|
5839
5873
|
base: "data-[has-helper=true]:pb-4 flex flex-col",
|
|
5840
|
-
label: "text-foreground pb-1.5"
|
|
5841
|
-
description: "absolute left-1",
|
|
5842
|
-
errorMessage: "absolute left-1"
|
|
5874
|
+
label: "text-foreground pb-1.5"
|
|
5843
5875
|
},
|
|
5844
5876
|
"outside-left": {
|
|
5845
|
-
base: "flex-row items-center flex-nowrap
|
|
5846
|
-
label: "text-foreground pr-2"
|
|
5847
|
-
description: "absolute left-1",
|
|
5848
|
-
errorMessage: "absolute left-1"
|
|
5877
|
+
base: "flex-row items-center flex-nowrap items-start",
|
|
5878
|
+
label: "text-foreground pr-2"
|
|
5849
5879
|
},
|
|
5850
5880
|
inside: {
|
|
5851
5881
|
label: "text-tiny cursor-pointer",
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-4JBYJQSP.mjs";
|
|
30
30
|
import {
|
|
31
31
|
select
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-X3O5NF4F.mjs";
|
|
33
33
|
import {
|
|
34
34
|
skeleton
|
|
35
35
|
} from "./chunk-EUS2SEYI.mjs";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-EC4F6RJF.mjs";
|
|
42
42
|
import {
|
|
43
43
|
input
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PJV3MWBL.mjs";
|
|
45
45
|
import {
|
|
46
46
|
kbd
|
|
47
47
|
} from "./chunk-XY766PDD.mjs";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-LGRQRHJJ.mjs";
|
|
64
64
|
import {
|
|
65
65
|
pagination
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ER6JQ3OQ.mjs";
|
|
67
67
|
import {
|
|
68
68
|
chip
|
|
69
69
|
} from "./chunk-PKP3F3VC.mjs";
|
package/dist/types.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ type FontThemeUnit = BaseThemeUnit & {
|
|
|
11
11
|
};
|
|
12
12
|
declare const spacingScaleKeys: string[];
|
|
13
13
|
declare const mappedSpacingScaleKeys: string[];
|
|
14
|
-
type SpacingScaleKeys = typeof spacingScaleKeys[number];
|
|
14
|
+
type SpacingScaleKeys = (typeof spacingScaleKeys)[number];
|
|
15
15
|
type SpacingScale = Partial<Record<SpacingScaleKeys, string>>;
|
|
16
16
|
interface LayoutTheme {
|
|
17
17
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/theme",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
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",
|