@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
@@ -283,7 +283,180 @@ declare const navbar: tailwind_variants.TVReturnType<{
283
283
  item: string[];
284
284
  menu: string[];
285
285
  menuItem: string[];
286
- }>;
286
+ }, tailwind_variants.TVReturnType<{
287
+ position: {
288
+ static: {
289
+ base: string;
290
+ };
291
+ sticky: {
292
+ base: string;
293
+ };
294
+ };
295
+ maxWidth: {
296
+ sm: {
297
+ wrapper: string;
298
+ };
299
+ md: {
300
+ wrapper: string;
301
+ };
302
+ lg: {
303
+ wrapper: string;
304
+ };
305
+ xl: {
306
+ wrapper: string;
307
+ };
308
+ "2xl": {
309
+ wrapper: string;
310
+ };
311
+ full: {
312
+ wrapper: string;
313
+ };
314
+ };
315
+ hideOnScroll: {
316
+ true: {
317
+ base: string[];
318
+ };
319
+ };
320
+ isBordered: {
321
+ true: {
322
+ base: string[];
323
+ };
324
+ };
325
+ isBlurred: {
326
+ false: {
327
+ base: string;
328
+ menu: string;
329
+ };
330
+ true: {
331
+ base: string[];
332
+ menu: string[];
333
+ };
334
+ };
335
+ disableAnimation: {
336
+ true: {
337
+ menu: string[];
338
+ };
339
+ };
340
+ }, {
341
+ base: string[];
342
+ wrapper: string[];
343
+ toggle: string[];
344
+ srOnly: string[];
345
+ toggleIcon: string[];
346
+ brand: string[];
347
+ content: string[];
348
+ item: string[];
349
+ menu: string[];
350
+ menuItem: string[];
351
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
352
+ position: {
353
+ static: {
354
+ base: string;
355
+ };
356
+ sticky: {
357
+ base: string;
358
+ };
359
+ };
360
+ maxWidth: {
361
+ sm: {
362
+ wrapper: string;
363
+ };
364
+ md: {
365
+ wrapper: string;
366
+ };
367
+ lg: {
368
+ wrapper: string;
369
+ };
370
+ xl: {
371
+ wrapper: string;
372
+ };
373
+ "2xl": {
374
+ wrapper: string;
375
+ };
376
+ full: {
377
+ wrapper: string;
378
+ };
379
+ };
380
+ hideOnScroll: {
381
+ true: {
382
+ base: string[];
383
+ };
384
+ };
385
+ isBordered: {
386
+ true: {
387
+ base: string[];
388
+ };
389
+ };
390
+ isBlurred: {
391
+ false: {
392
+ base: string;
393
+ menu: string;
394
+ };
395
+ true: {
396
+ base: string[];
397
+ menu: string[];
398
+ };
399
+ };
400
+ disableAnimation: {
401
+ true: {
402
+ menu: string[];
403
+ };
404
+ };
405
+ }, {
406
+ position: {
407
+ static: {
408
+ base: string;
409
+ };
410
+ sticky: {
411
+ base: string;
412
+ };
413
+ };
414
+ maxWidth: {
415
+ sm: {
416
+ wrapper: string;
417
+ };
418
+ md: {
419
+ wrapper: string;
420
+ };
421
+ lg: {
422
+ wrapper: string;
423
+ };
424
+ xl: {
425
+ wrapper: string;
426
+ };
427
+ "2xl": {
428
+ wrapper: string;
429
+ };
430
+ full: {
431
+ wrapper: string;
432
+ };
433
+ };
434
+ hideOnScroll: {
435
+ true: {
436
+ base: string[];
437
+ };
438
+ };
439
+ isBordered: {
440
+ true: {
441
+ base: string[];
442
+ };
443
+ };
444
+ isBlurred: {
445
+ false: {
446
+ base: string;
447
+ menu: string;
448
+ };
449
+ true: {
450
+ base: string[];
451
+ menu: string[];
452
+ };
453
+ };
454
+ disableAnimation: {
455
+ true: {
456
+ menu: string[];
457
+ };
458
+ };
459
+ }>, unknown, unknown, undefined>>;
287
460
  type NavbarVariantProps = VariantProps<typeof navbar>;
288
461
  type NavbarSlots = keyof ReturnType<typeof navbar>;
289
462
 
@@ -342,7 +342,245 @@ declare const pagination: tailwind_variants.TVReturnType<{
342
342
  forwardIcon: string;
343
343
  ellipsis: string;
344
344
  chevronNext: string;
345
- }>;
345
+ }, tailwind_variants.TVReturnType<{
346
+ variant: {
347
+ bordered: {
348
+ item: string[];
349
+ };
350
+ light: {
351
+ item: string;
352
+ };
353
+ flat: {};
354
+ faded: {
355
+ item: string[];
356
+ };
357
+ };
358
+ color: {
359
+ default: {
360
+ cursor: string;
361
+ };
362
+ primary: {
363
+ cursor: string;
364
+ };
365
+ secondary: {
366
+ cursor: string;
367
+ };
368
+ success: {
369
+ cursor: string;
370
+ };
371
+ warning: {
372
+ cursor: string;
373
+ };
374
+ danger: {
375
+ cursor: string;
376
+ };
377
+ };
378
+ size: {
379
+ sm: {};
380
+ md: {};
381
+ lg: {};
382
+ };
383
+ radius: {
384
+ none: {};
385
+ sm: {};
386
+ md: {};
387
+ lg: {};
388
+ full: {};
389
+ };
390
+ isCompact: {
391
+ true: {
392
+ wrapper: string;
393
+ item: string[];
394
+ prev: string;
395
+ next: string;
396
+ };
397
+ };
398
+ isDisabled: {
399
+ true: {
400
+ base: string;
401
+ };
402
+ };
403
+ showShadow: {
404
+ true: {};
405
+ };
406
+ disableCursorAnimation: {
407
+ true: {
408
+ cursor: string;
409
+ };
410
+ };
411
+ disableAnimation: {
412
+ true: {
413
+ item: string;
414
+ cursor: string;
415
+ };
416
+ false: {
417
+ item: string[];
418
+ cursor: string[];
419
+ };
420
+ };
421
+ }, {
422
+ base: string[];
423
+ wrapper: string[];
424
+ item: string[];
425
+ prev: string;
426
+ next: string;
427
+ cursor: string[];
428
+ forwardIcon: string;
429
+ ellipsis: string;
430
+ chevronNext: string;
431
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
432
+ variant: {
433
+ bordered: {
434
+ item: string[];
435
+ };
436
+ light: {
437
+ item: string;
438
+ };
439
+ flat: {};
440
+ faded: {
441
+ item: string[];
442
+ };
443
+ };
444
+ color: {
445
+ default: {
446
+ cursor: string;
447
+ };
448
+ primary: {
449
+ cursor: string;
450
+ };
451
+ secondary: {
452
+ cursor: string;
453
+ };
454
+ success: {
455
+ cursor: string;
456
+ };
457
+ warning: {
458
+ cursor: string;
459
+ };
460
+ danger: {
461
+ cursor: string;
462
+ };
463
+ };
464
+ size: {
465
+ sm: {};
466
+ md: {};
467
+ lg: {};
468
+ };
469
+ radius: {
470
+ none: {};
471
+ sm: {};
472
+ md: {};
473
+ lg: {};
474
+ full: {};
475
+ };
476
+ isCompact: {
477
+ true: {
478
+ wrapper: string;
479
+ item: string[];
480
+ prev: string;
481
+ next: string;
482
+ };
483
+ };
484
+ isDisabled: {
485
+ true: {
486
+ base: string;
487
+ };
488
+ };
489
+ showShadow: {
490
+ true: {};
491
+ };
492
+ disableCursorAnimation: {
493
+ true: {
494
+ cursor: string;
495
+ };
496
+ };
497
+ disableAnimation: {
498
+ true: {
499
+ item: string;
500
+ cursor: string;
501
+ };
502
+ false: {
503
+ item: string[];
504
+ cursor: string[];
505
+ };
506
+ };
507
+ }, {
508
+ variant: {
509
+ bordered: {
510
+ item: string[];
511
+ };
512
+ light: {
513
+ item: string;
514
+ };
515
+ flat: {};
516
+ faded: {
517
+ item: string[];
518
+ };
519
+ };
520
+ color: {
521
+ default: {
522
+ cursor: string;
523
+ };
524
+ primary: {
525
+ cursor: string;
526
+ };
527
+ secondary: {
528
+ cursor: string;
529
+ };
530
+ success: {
531
+ cursor: string;
532
+ };
533
+ warning: {
534
+ cursor: string;
535
+ };
536
+ danger: {
537
+ cursor: string;
538
+ };
539
+ };
540
+ size: {
541
+ sm: {};
542
+ md: {};
543
+ lg: {};
544
+ };
545
+ radius: {
546
+ none: {};
547
+ sm: {};
548
+ md: {};
549
+ lg: {};
550
+ full: {};
551
+ };
552
+ isCompact: {
553
+ true: {
554
+ wrapper: string;
555
+ item: string[];
556
+ prev: string;
557
+ next: string;
558
+ };
559
+ };
560
+ isDisabled: {
561
+ true: {
562
+ base: string;
563
+ };
564
+ };
565
+ showShadow: {
566
+ true: {};
567
+ };
568
+ disableCursorAnimation: {
569
+ true: {
570
+ cursor: string;
571
+ };
572
+ };
573
+ disableAnimation: {
574
+ true: {
575
+ item: string;
576
+ cursor: string;
577
+ };
578
+ false: {
579
+ item: string[];
580
+ cursor: string[];
581
+ };
582
+ };
583
+ }>, unknown, unknown, undefined>>;
346
584
  type PaginationVariantProps = VariantProps<typeof pagination>;
347
585
  type PaginationSlots = keyof ReturnType<typeof pagination>;
348
586
 
@@ -226,6 +226,7 @@ var pagination = tv({
226
226
  "left-0",
227
227
  "select-none",
228
228
  "touch-none",
229
+ "pointer-events-none",
229
230
  "z-20"
230
231
  ],
231
232
  forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
@@ -315,7 +316,12 @@ var pagination = tv({
315
316
  },
316
317
  false: {
317
318
  item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
318
- cursor: ["transition-transform", "!duration-300"]
319
+ cursor: [
320
+ "data-[moving=true]:transition-transform",
321
+ "!data-[moving=true]:duration-300",
322
+ "opacity-0",
323
+ "data-[moving]:opacity-100"
324
+ ]
319
325
  }
320
326
  }
321
327
  },
@@ -520,17 +526,28 @@ var pagination = tv({
520
526
  {
521
527
  slots: ["item", "prev", "next"],
522
528
  variant: "flat",
523
- class: ["bg-default-100", "data-[hover=true]:bg-default-200", "active:bg-default-300"]
529
+ class: [
530
+ "bg-default-100",
531
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-200",
532
+ "active:bg-default-300"
533
+ ]
524
534
  },
525
535
  {
526
536
  slots: ["item", "prev", "next"],
527
537
  variant: "faded",
528
- class: ["bg-default-50", "data-[hover=true]:bg-default-100", "active:bg-default-200"]
538
+ class: [
539
+ "bg-default-50",
540
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
541
+ "active:bg-default-200"
542
+ ]
529
543
  },
530
544
  {
531
545
  slots: ["item", "prev", "next"],
532
546
  variant: "light",
533
- class: ["data-[hover=true]:bg-default-100", "active:bg-default-200"]
547
+ class: [
548
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
549
+ "active:bg-default-200"
550
+ ]
534
551
  },
535
552
  {
536
553
  slots: ["item", "cursor", "prev", "next"],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pagination
3
- } from "../chunk-FZZINZOQ.mjs";
3
+ } from "../chunk-ER6JQ3OQ.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";