@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.
Files changed (48) hide show
  1. package/dist/{chunk-FZZINZOQ.mjs → chunk-ER6JQ3OQ.mjs} +21 -4
  2. package/dist/{chunk-PBGVMEDL.mjs → chunk-PJV3MWBL.mjs} +24 -8
  3. package/dist/{chunk-NVPBHMUQ.mjs → chunk-X3O5NF4F.mjs} +4 -7
  4. package/dist/components/accordion.d.ts +153 -2
  5. package/dist/components/avatar.d.ts +227 -2
  6. package/dist/components/badge.d.ts +199 -1
  7. package/dist/components/button.d.ts +155 -2
  8. package/dist/components/card.d.ts +225 -1
  9. package/dist/components/checkbox.d.ts +250 -2
  10. package/dist/components/chip.d.ts +304 -1
  11. package/dist/components/circular-progress.d.ts +171 -1
  12. package/dist/components/code.d.ts +64 -1
  13. package/dist/components/divider.d.ts +16 -1
  14. package/dist/components/drip.d.ts +1 -1
  15. package/dist/components/dropdown.d.ts +135 -4
  16. package/dist/components/image.d.ts +141 -1
  17. package/dist/components/index.js +49 -19
  18. package/dist/components/index.mjs +3 -3
  19. package/dist/components/input.d.ts +386 -20
  20. package/dist/components/input.js +24 -8
  21. package/dist/components/input.mjs +1 -1
  22. package/dist/components/kbd.d.ts +5 -1
  23. package/dist/components/link.d.ts +94 -1
  24. package/dist/components/menu.d.ts +152 -3
  25. package/dist/components/modal.d.ts +315 -1
  26. package/dist/components/navbar.d.ts +174 -1
  27. package/dist/components/pagination.d.ts +239 -1
  28. package/dist/components/pagination.js +21 -4
  29. package/dist/components/pagination.mjs +1 -1
  30. package/dist/components/popover.d.ts +276 -1
  31. package/dist/components/progress.d.ts +91 -1
  32. package/dist/components/radio.d.ts +231 -2
  33. package/dist/components/scroll-shadow.d.ts +28 -1
  34. package/dist/components/select.d.ts +390 -17
  35. package/dist/components/select.js +4 -7
  36. package/dist/components/select.mjs +1 -1
  37. package/dist/components/skeleton.d.ts +37 -1
  38. package/dist/components/snippet.d.ts +165 -1
  39. package/dist/components/spacer.d.ts +16 -1
  40. package/dist/components/spinner.d.ts +232 -1
  41. package/dist/components/table.d.ts +311 -1
  42. package/dist/components/tabs.d.ts +269 -1
  43. package/dist/components/toggle.d.ts +192 -1
  44. package/dist/components/user.d.ts +11 -1
  45. package/dist/index.js +49 -19
  46. package/dist/index.mjs +3 -3
  47. package/dist/types.d.ts +1 -1
  48. package/package.json +2 -2
@@ -132,7 +132,100 @@ declare const link: tailwind_variants.TVReturnType<{
132
132
  disableAnimation: {
133
133
  true: "after:transition-none transition-none";
134
134
  };
135
- }, undefined>;
135
+ }, undefined, tailwind_variants.TVReturnType<{
136
+ size: {
137
+ sm: "text-small";
138
+ md: "text-medium";
139
+ lg: "text-large";
140
+ };
141
+ color: {
142
+ foreground: "text-foreground";
143
+ primary: "text-primary";
144
+ secondary: "text-secondary";
145
+ success: "text-success";
146
+ warning: "text-warning";
147
+ danger: "text-danger";
148
+ };
149
+ underline: {
150
+ none: "no-underline";
151
+ hover: "hover:underline";
152
+ always: "underline";
153
+ active: "active:underline";
154
+ focus: "focus:underline";
155
+ };
156
+ isBlock: {
157
+ true: string[];
158
+ false: "hover:opacity-80 active:opacity-disabled transition-opacity";
159
+ };
160
+ isDisabled: {
161
+ true: "opacity-disabled cursor-default pointer-events-none";
162
+ };
163
+ disableAnimation: {
164
+ true: "after:transition-none transition-none";
165
+ };
166
+ }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
167
+ size: {
168
+ sm: "text-small";
169
+ md: "text-medium";
170
+ lg: "text-large";
171
+ };
172
+ color: {
173
+ foreground: "text-foreground";
174
+ primary: "text-primary";
175
+ secondary: "text-secondary";
176
+ success: "text-success";
177
+ warning: "text-warning";
178
+ danger: "text-danger";
179
+ };
180
+ underline: {
181
+ none: "no-underline";
182
+ hover: "hover:underline";
183
+ always: "underline";
184
+ active: "active:underline";
185
+ focus: "focus:underline";
186
+ };
187
+ isBlock: {
188
+ true: string[];
189
+ false: "hover:opacity-80 active:opacity-disabled transition-opacity";
190
+ };
191
+ isDisabled: {
192
+ true: "opacity-disabled cursor-default pointer-events-none";
193
+ };
194
+ disableAnimation: {
195
+ true: "after:transition-none transition-none";
196
+ };
197
+ }, {
198
+ size: {
199
+ sm: "text-small";
200
+ md: "text-medium";
201
+ lg: "text-large";
202
+ };
203
+ color: {
204
+ foreground: "text-foreground";
205
+ primary: "text-primary";
206
+ secondary: "text-secondary";
207
+ success: "text-success";
208
+ warning: "text-warning";
209
+ danger: "text-danger";
210
+ };
211
+ underline: {
212
+ none: "no-underline";
213
+ hover: "hover:underline";
214
+ always: "underline";
215
+ active: "active:underline";
216
+ focus: "focus:underline";
217
+ };
218
+ isBlock: {
219
+ true: string[];
220
+ false: "hover:opacity-80 active:opacity-disabled transition-opacity";
221
+ };
222
+ isDisabled: {
223
+ true: "opacity-disabled cursor-default pointer-events-none";
224
+ };
225
+ disableAnimation: {
226
+ true: "after:transition-none transition-none";
227
+ };
228
+ }>, unknown, unknown, undefined>>;
136
229
  declare const linkAnchorClasses = "flex mx-1 text-current self-center";
137
230
  type LinkVariantProps = VariantProps<typeof link>;
138
231
 
@@ -12,7 +12,7 @@ declare const menu: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsD
12
12
  [x: string]: {
13
13
  [x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none">;
14
14
  } | undefined;
15
- } | {}, undefined, "w-full flex flex-col gap-0.5 p-1 outline-none", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}>, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}, undefined>;
15
+ } | {}, undefined, "w-full flex flex-col gap-0.5 p-1 outline-none", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}>, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1 outline-none", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1 outline-none"> | {}>, unknown, unknown, undefined>>;
16
16
  /**
17
17
  * MenuItem wrapper **Tailwind Variants** component
18
18
  *
@@ -225,7 +225,146 @@ declare const menuItem: tailwind_variants.TVReturnType<{
225
225
  description: string[];
226
226
  selectedIcon: string[];
227
227
  shortcut: string[];
228
- }>;
228
+ }, tailwind_variants.TVReturnType<{
229
+ variant: {
230
+ solid: {
231
+ base: string;
232
+ };
233
+ bordered: {
234
+ base: string;
235
+ };
236
+ light: {
237
+ base: string;
238
+ };
239
+ faded: {
240
+ base: string[];
241
+ };
242
+ flat: {
243
+ base: string;
244
+ };
245
+ shadow: {
246
+ base: string;
247
+ };
248
+ };
249
+ color: {
250
+ default: {};
251
+ primary: {};
252
+ secondary: {};
253
+ success: {};
254
+ warning: {};
255
+ danger: {};
256
+ };
257
+ showDivider: {
258
+ true: {
259
+ base: string[];
260
+ };
261
+ false: {};
262
+ };
263
+ isDisabled: {
264
+ true: {
265
+ base: string;
266
+ };
267
+ };
268
+ disableAnimation: {
269
+ true: {};
270
+ false: {};
271
+ };
272
+ }, {
273
+ base: string[];
274
+ wrapper: string;
275
+ title: string;
276
+ description: string[];
277
+ selectedIcon: string[];
278
+ shortcut: string[];
279
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
280
+ variant: {
281
+ solid: {
282
+ base: string;
283
+ };
284
+ bordered: {
285
+ base: string;
286
+ };
287
+ light: {
288
+ base: string;
289
+ };
290
+ faded: {
291
+ base: string[];
292
+ };
293
+ flat: {
294
+ base: string;
295
+ };
296
+ shadow: {
297
+ base: string;
298
+ };
299
+ };
300
+ color: {
301
+ default: {};
302
+ primary: {};
303
+ secondary: {};
304
+ success: {};
305
+ warning: {};
306
+ danger: {};
307
+ };
308
+ showDivider: {
309
+ true: {
310
+ base: string[];
311
+ };
312
+ false: {};
313
+ };
314
+ isDisabled: {
315
+ true: {
316
+ base: string;
317
+ };
318
+ };
319
+ disableAnimation: {
320
+ true: {};
321
+ false: {};
322
+ };
323
+ }, {
324
+ variant: {
325
+ solid: {
326
+ base: string;
327
+ };
328
+ bordered: {
329
+ base: string;
330
+ };
331
+ light: {
332
+ base: string;
333
+ };
334
+ faded: {
335
+ base: string[];
336
+ };
337
+ flat: {
338
+ base: string;
339
+ };
340
+ shadow: {
341
+ base: string;
342
+ };
343
+ };
344
+ color: {
345
+ default: {};
346
+ primary: {};
347
+ secondary: {};
348
+ success: {};
349
+ warning: {};
350
+ danger: {};
351
+ };
352
+ showDivider: {
353
+ true: {
354
+ base: string[];
355
+ };
356
+ false: {};
357
+ };
358
+ isDisabled: {
359
+ true: {
360
+ base: string;
361
+ };
362
+ };
363
+ disableAnimation: {
364
+ true: {};
365
+ false: {};
366
+ };
367
+ }>, unknown, unknown, undefined>>;
229
368
  /**
230
369
  * Menu section wrapper **Tailwind Variants** component
231
370
  *
@@ -274,7 +413,17 @@ declare const menuSection: tailwind_variants.TVReturnType<tailwind_variants.TVVa
274
413
  heading: string;
275
414
  group: string;
276
415
  divider: string;
277
- }>;
416
+ }, tailwind_variants.TVReturnType<unknown, {
417
+ base: string;
418
+ heading: string;
419
+ group: string;
420
+ divider: string;
421
+ }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
422
+ base: string;
423
+ heading: string;
424
+ group: string;
425
+ divider: string;
426
+ }, undefined> | {}>, unknown, unknown, undefined>>;
278
427
  type MenuVariantProps = VariantProps<typeof menu>;
279
428
  type MenuSectionVariantProps = VariantProps<typeof menuSection>;
280
429
  type MenuSectionSlots = keyof ReturnType<typeof menuSection>;
@@ -444,7 +444,321 @@ declare const modal: tailwind_variants.TVReturnType<{
444
444
  body: string;
445
445
  footer: string;
446
446
  closeButton: string[];
447
- }>;
447
+ }, tailwind_variants.TVReturnType<{
448
+ size: {
449
+ xs: {
450
+ base: string;
451
+ };
452
+ sm: {
453
+ base: string;
454
+ };
455
+ md: {
456
+ base: string;
457
+ };
458
+ lg: {
459
+ base: string;
460
+ };
461
+ xl: {
462
+ base: string;
463
+ };
464
+ "2xl": {
465
+ base: string;
466
+ };
467
+ "3xl": {
468
+ base: string;
469
+ };
470
+ "4xl": {
471
+ base: string;
472
+ };
473
+ "5xl": {
474
+ base: string;
475
+ };
476
+ full: {
477
+ base: string;
478
+ };
479
+ };
480
+ radius: {
481
+ none: {
482
+ base: string;
483
+ };
484
+ sm: {
485
+ base: string;
486
+ };
487
+ md: {
488
+ base: string;
489
+ };
490
+ lg: {
491
+ base: string;
492
+ };
493
+ };
494
+ placement: {
495
+ auto: {
496
+ wrapper: string;
497
+ };
498
+ center: {
499
+ wrapper: string;
500
+ };
501
+ top: {
502
+ wrapper: string;
503
+ };
504
+ "top-center": {
505
+ wrapper: string;
506
+ };
507
+ bottom: {
508
+ wrapper: string;
509
+ };
510
+ "bottom-center": {
511
+ wrapper: string;
512
+ };
513
+ };
514
+ shadow: {
515
+ sm: {
516
+ base: string;
517
+ };
518
+ md: {
519
+ base: string;
520
+ };
521
+ lg: {
522
+ base: string;
523
+ };
524
+ };
525
+ backdrop: {
526
+ transparent: {
527
+ backdrop: string;
528
+ };
529
+ opaque: {
530
+ backdrop: string;
531
+ };
532
+ blur: {
533
+ backdrop: string;
534
+ };
535
+ };
536
+ scrollBehavior: {
537
+ normal: {
538
+ base: string;
539
+ };
540
+ inside: {
541
+ base: string;
542
+ body: string;
543
+ };
544
+ outside: {
545
+ wrapper: string;
546
+ base: string;
547
+ };
548
+ };
549
+ }, {
550
+ wrapper: string[];
551
+ base: string[];
552
+ backdrop: string;
553
+ header: string;
554
+ body: string;
555
+ footer: string;
556
+ closeButton: string[];
557
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
558
+ size: {
559
+ xs: {
560
+ base: string;
561
+ };
562
+ sm: {
563
+ base: string;
564
+ };
565
+ md: {
566
+ base: string;
567
+ };
568
+ lg: {
569
+ base: string;
570
+ };
571
+ xl: {
572
+ base: string;
573
+ };
574
+ "2xl": {
575
+ base: string;
576
+ };
577
+ "3xl": {
578
+ base: string;
579
+ };
580
+ "4xl": {
581
+ base: string;
582
+ };
583
+ "5xl": {
584
+ base: string;
585
+ };
586
+ full: {
587
+ base: string;
588
+ };
589
+ };
590
+ radius: {
591
+ none: {
592
+ base: string;
593
+ };
594
+ sm: {
595
+ base: string;
596
+ };
597
+ md: {
598
+ base: string;
599
+ };
600
+ lg: {
601
+ base: string;
602
+ };
603
+ };
604
+ placement: {
605
+ auto: {
606
+ wrapper: string;
607
+ };
608
+ center: {
609
+ wrapper: string;
610
+ };
611
+ top: {
612
+ wrapper: string;
613
+ };
614
+ "top-center": {
615
+ wrapper: string;
616
+ };
617
+ bottom: {
618
+ wrapper: string;
619
+ };
620
+ "bottom-center": {
621
+ wrapper: string;
622
+ };
623
+ };
624
+ shadow: {
625
+ sm: {
626
+ base: string;
627
+ };
628
+ md: {
629
+ base: string;
630
+ };
631
+ lg: {
632
+ base: string;
633
+ };
634
+ };
635
+ backdrop: {
636
+ transparent: {
637
+ backdrop: string;
638
+ };
639
+ opaque: {
640
+ backdrop: string;
641
+ };
642
+ blur: {
643
+ backdrop: string;
644
+ };
645
+ };
646
+ scrollBehavior: {
647
+ normal: {
648
+ base: string;
649
+ };
650
+ inside: {
651
+ base: string;
652
+ body: string;
653
+ };
654
+ outside: {
655
+ wrapper: string;
656
+ base: string;
657
+ };
658
+ };
659
+ }, {
660
+ size: {
661
+ xs: {
662
+ base: string;
663
+ };
664
+ sm: {
665
+ base: string;
666
+ };
667
+ md: {
668
+ base: string;
669
+ };
670
+ lg: {
671
+ base: string;
672
+ };
673
+ xl: {
674
+ base: string;
675
+ };
676
+ "2xl": {
677
+ base: string;
678
+ };
679
+ "3xl": {
680
+ base: string;
681
+ };
682
+ "4xl": {
683
+ base: string;
684
+ };
685
+ "5xl": {
686
+ base: string;
687
+ };
688
+ full: {
689
+ base: string;
690
+ };
691
+ };
692
+ radius: {
693
+ none: {
694
+ base: string;
695
+ };
696
+ sm: {
697
+ base: string;
698
+ };
699
+ md: {
700
+ base: string;
701
+ };
702
+ lg: {
703
+ base: string;
704
+ };
705
+ };
706
+ placement: {
707
+ auto: {
708
+ wrapper: string;
709
+ };
710
+ center: {
711
+ wrapper: string;
712
+ };
713
+ top: {
714
+ wrapper: string;
715
+ };
716
+ "top-center": {
717
+ wrapper: string;
718
+ };
719
+ bottom: {
720
+ wrapper: string;
721
+ };
722
+ "bottom-center": {
723
+ wrapper: string;
724
+ };
725
+ };
726
+ shadow: {
727
+ sm: {
728
+ base: string;
729
+ };
730
+ md: {
731
+ base: string;
732
+ };
733
+ lg: {
734
+ base: string;
735
+ };
736
+ };
737
+ backdrop: {
738
+ transparent: {
739
+ backdrop: string;
740
+ };
741
+ opaque: {
742
+ backdrop: string;
743
+ };
744
+ blur: {
745
+ backdrop: string;
746
+ };
747
+ };
748
+ scrollBehavior: {
749
+ normal: {
750
+ base: string;
751
+ };
752
+ inside: {
753
+ base: string;
754
+ body: string;
755
+ };
756
+ outside: {
757
+ wrapper: string;
758
+ base: string;
759
+ };
760
+ };
761
+ }>, unknown, unknown, undefined>>;
448
762
  type ModalVariantProps = VariantProps<typeof modal>;
449
763
  type ModalSlots = keyof ReturnType<typeof modal>;
450
764