@nextui-org/theme 2.2.8 → 2.2.10

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 (101) hide show
  1. package/dist/{chunk-726LN7M3.mjs → chunk-3LD7T42T.mjs} +1 -1
  2. package/dist/{chunk-GDIZAU4E.mjs → chunk-42JWJWWX.mjs} +1 -1
  3. package/dist/{chunk-A4VDWEXY.mjs → chunk-4MIBATA4.mjs} +12 -12
  4. package/dist/{chunk-DXPS72CE.mjs → chunk-63NMFZTF.mjs} +12 -7
  5. package/dist/{chunk-4YQYZDME.mjs → chunk-7YPXCOW5.mjs} +1 -1
  6. package/dist/{chunk-KKN74BUG.mjs → chunk-BOVVTMHS.mjs} +7 -3
  7. package/dist/{chunk-2PIR7DFM.mjs → chunk-BZCSOIUI.mjs} +12 -12
  8. package/dist/{chunk-DZGYN4XH.mjs → chunk-FE2UYWMQ.mjs} +57 -64
  9. package/dist/{chunk-ARFD2V3F.mjs → chunk-I33PMOA3.mjs} +52 -55
  10. package/dist/{chunk-YSA7EQBH.mjs → chunk-JFWA3DGK.mjs} +2 -2
  11. package/dist/{chunk-NPRQPDVP.mjs → chunk-KPI62GDB.mjs} +4 -4
  12. package/dist/{chunk-XT44N6I6.mjs → chunk-LSQXJEPE.mjs} +9 -27
  13. package/dist/{chunk-GFTQERGX.mjs → chunk-MP2JYSMR.mjs} +1 -1
  14. package/dist/{chunk-5AGRECY5.mjs → chunk-OUNBTYJ7.mjs} +8 -8
  15. package/dist/{chunk-N4MWCCMM.mjs → chunk-P73E5YV7.mjs} +3 -2
  16. package/dist/{chunk-BT3FGTF7.mjs → chunk-PWJWH4MD.mjs} +1 -1
  17. package/dist/{chunk-SKQWKT6K.mjs → chunk-QV3ALCMB.mjs} +1 -1
  18. package/dist/{chunk-HZX5JB5L.mjs → chunk-R27WO3A6.mjs} +1 -1
  19. package/dist/{chunk-WGH4WKVU.mjs → chunk-TSTU52NB.mjs} +3 -3
  20. package/dist/{chunk-D7H5R3VL.mjs → chunk-UDSOWFZE.mjs} +2 -2
  21. package/dist/{chunk-WUUKIKPR.mjs → chunk-WJIRIXV4.mjs} +31 -22
  22. package/dist/{chunk-HPFX3B3F.mjs → chunk-WN6AL2BX.mjs} +2 -2
  23. package/dist/{chunk-CKTE75OS.mjs → chunk-XAYP4CR3.mjs} +1 -1
  24. package/dist/{chunk-22SLLLIZ.mjs → chunk-XEPPBQPJ.mjs} +16 -16
  25. package/dist/{chunk-IISEDJRF.mjs → chunk-XL6AWNU3.mjs} +1 -1
  26. package/dist/{chunk-MERQJVXF.mjs → chunk-XXQSA25O.mjs} +19 -7
  27. package/dist/components/accordion.mjs +1 -1
  28. package/dist/components/autocomplete.js +7 -3
  29. package/dist/components/autocomplete.mjs +1 -1
  30. package/dist/components/avatar.js +12 -12
  31. package/dist/components/avatar.mjs +2 -2
  32. package/dist/components/badge.js +12 -12
  33. package/dist/components/badge.mjs +2 -2
  34. package/dist/components/breadcrumbs.mjs +1 -1
  35. package/dist/components/button.js +30 -18
  36. package/dist/components/button.mjs +2 -2
  37. package/dist/components/calendar.d.ts +6 -6
  38. package/dist/components/calendar.js +4 -4
  39. package/dist/components/calendar.mjs +2 -2
  40. package/dist/components/card.mjs +1 -1
  41. package/dist/components/checkbox.js +8 -8
  42. package/dist/components/checkbox.mjs +2 -2
  43. package/dist/components/chip.js +12 -12
  44. package/dist/components/chip.mjs +2 -2
  45. package/dist/components/code.js +12 -12
  46. package/dist/components/code.mjs +2 -2
  47. package/dist/components/date-input.js +16 -16
  48. package/dist/components/date-input.mjs +1 -1
  49. package/dist/components/date-picker.js +3 -3
  50. package/dist/components/date-picker.mjs +1 -1
  51. package/dist/components/dropdown.mjs +1 -1
  52. package/dist/components/index.js +246 -243
  53. package/dist/components/index.mjs +23 -23
  54. package/dist/components/input.js +52 -55
  55. package/dist/components/input.mjs +2 -2
  56. package/dist/components/link.mjs +1 -1
  57. package/dist/components/listbox.js +1 -1
  58. package/dist/components/listbox.mjs +2 -2
  59. package/dist/components/menu.js +1 -1
  60. package/dist/components/menu.mjs +2 -2
  61. package/dist/components/modal.js +3 -2
  62. package/dist/components/modal.mjs +2 -2
  63. package/dist/components/navbar.mjs +1 -1
  64. package/dist/components/pagination.d.ts +3 -3
  65. package/dist/components/pagination.js +23 -18
  66. package/dist/components/pagination.mjs +2 -2
  67. package/dist/components/popover.js +12 -12
  68. package/dist/components/popover.mjs +2 -2
  69. package/dist/components/radio.js +12 -12
  70. package/dist/components/radio.mjs +2 -2
  71. package/dist/components/select.d.ts +14 -7
  72. package/dist/components/select.js +57 -64
  73. package/dist/components/select.mjs +2 -2
  74. package/dist/components/skeleton.js +2 -2
  75. package/dist/components/skeleton.mjs +1 -1
  76. package/dist/components/slider.mjs +1 -1
  77. package/dist/components/snippet.js +12 -12
  78. package/dist/components/snippet.mjs +2 -2
  79. package/dist/components/table.js +9 -27
  80. package/dist/components/table.mjs +2 -2
  81. package/dist/components/tabs.js +12 -12
  82. package/dist/components/tabs.mjs +2 -2
  83. package/dist/components/toggle.js +31 -22
  84. package/dist/components/toggle.mjs +2 -2
  85. package/dist/components/user.mjs +1 -1
  86. package/dist/index.d.ts +1 -0
  87. package/dist/index.js +254 -245
  88. package/dist/index.mjs +34 -27
  89. package/dist/plugin.js +2 -2
  90. package/dist/plugin.mjs +3 -3
  91. package/dist/utilities/index.d.ts +2 -2
  92. package/dist/utilities/index.js +2 -2
  93. package/dist/utilities/index.mjs +2 -2
  94. package/dist/utilities/transition.d.ts +2 -2
  95. package/dist/utilities/transition.js +2 -2
  96. package/dist/utilities/transition.mjs +1 -1
  97. package/dist/utils/index.js +12 -12
  98. package/dist/utils/index.mjs +1 -1
  99. package/dist/utils/variants.js +12 -12
  100. package/dist/utils/variants.mjs +1 -1
  101. package/package.json +1 -1
@@ -9,7 +9,7 @@ import {
9
9
  // src/components/input.ts
10
10
  var input = tv({
11
11
  slots: {
12
- base: "group flex flex-col data-[hidden=true]:hidden",
12
+ base: "group/input flex flex-col data-[hidden=true]:hidden",
13
13
  label: [
14
14
  "absolute",
15
15
  "z-10",
@@ -37,9 +37,8 @@ var input = tv({
37
37
  "z-10",
38
38
  "hidden",
39
39
  "absolute",
40
- "right-3",
41
- "rtl:right-auto",
42
- "rtl:left-3",
40
+ "end-3",
41
+ "start-auto",
43
42
  "appearance-none",
44
43
  "outline-none",
45
44
  "select-none",
@@ -50,7 +49,7 @@ var input = tv({
50
49
  "rounded-full",
51
50
  ...dataFocusVisibleClasses
52
51
  ],
53
- helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
52
+ helperWrapper: "hidden group-data-[has-helper=true]/input:flex p-1 relative flex-col gap-1.5",
54
53
  description: "text-tiny text-foreground-400",
55
54
  errorMessage: "text-tiny text-danger"
56
55
  },
@@ -60,7 +59,7 @@ var input = tv({
60
59
  inputWrapper: [
61
60
  "bg-default-100",
62
61
  "data-[hover=true]:bg-default-200",
63
- "group-data-[focus=true]:bg-default-100"
62
+ "group-data-[focus=true]/input:bg-default-100"
64
63
  ]
65
64
  },
66
65
  faded: {
@@ -70,14 +69,14 @@ var input = tv({
70
69
  "border-default-200",
71
70
  "data-[hover=true]:border-default-400"
72
71
  ],
73
- value: "group-data-[has-value=true]:text-default-foreground"
72
+ value: "group-data-[has-value=true]/input:text-default-foreground"
74
73
  },
75
74
  bordered: {
76
75
  inputWrapper: [
77
76
  "border-medium",
78
77
  "border-default-200",
79
78
  "data-[hover=true]:border-default-400",
80
- "group-data-[focus=true]:border-default-foreground"
79
+ "group-data-[focus=true]/input:border-default-foreground"
81
80
  ]
82
81
  },
83
82
  underlined: {
@@ -101,10 +100,10 @@ var input = tv({
101
100
  "after:-translate-x-1/2",
102
101
  "after:-bottom-[2px]",
103
102
  "after:h-[2px]",
104
- "group-data-[focus=true]:after:w-full"
103
+ "group-data-[focus=true]/input:after:w-full"
105
104
  ],
106
105
  innerWrapper: "pb-1",
107
- label: "group-data-[filled-within=true]:text-foreground"
106
+ label: "group-data-[filled-within=true]/input:text-foreground"
108
107
  }
109
108
  },
110
109
  color: {
@@ -158,12 +157,12 @@ var input = tv({
158
157
  base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
159
158
  inputWrapper: "flex-1",
160
159
  mainWrapper: "flex flex-col",
161
- label: "relative text-foreground pr-2 rtl:pr-0 rtl:pl-2"
160
+ label: "relative text-foreground pe-2 ps-2 pointer-events-auto"
162
161
  },
163
162
  inside: {
164
163
  label: "text-tiny cursor-text",
165
164
  inputWrapper: "flex-col items-start justify-center gap-0",
166
- innerWrapper: "group-data-[has-label=true]:items-end"
165
+ innerWrapper: "group-data-[has-label=true]/input:items-end"
167
166
  }
168
167
  },
169
168
  fullWidth: {
@@ -199,7 +198,7 @@ var input = tv({
199
198
  true: {
200
199
  label: "relative",
201
200
  inputWrapper: "!h-auto",
202
- innerWrapper: "items-start group-data-[has-label=true]:items-start",
201
+ innerWrapper: "items-start group-data-[has-label=true]/input:items-start",
203
202
  input: "resize-none data-[hide-scroll=true]:scrollbar-hide"
204
203
  }
205
204
  },
@@ -236,7 +235,7 @@ var input = tv({
236
235
  variant: "flat",
237
236
  color: "default",
238
237
  class: {
239
- input: "group-data-[has-value=true]:text-default-foreground"
238
+ input: "group-data-[has-value=true]/input:text-default-foreground"
240
239
  }
241
240
  },
242
241
  {
@@ -247,7 +246,7 @@ var input = tv({
247
246
  "bg-primary-50",
248
247
  "data-[hover=true]:bg-primary-100",
249
248
  "text-primary",
250
- "group-data-[focus=true]:bg-primary-50",
249
+ "group-data-[focus=true]/input:bg-primary-50",
251
250
  "placeholder:text-primary"
252
251
  ],
253
252
  input: "placeholder:text-primary",
@@ -262,7 +261,7 @@ var input = tv({
262
261
  "bg-secondary-50",
263
262
  "text-secondary",
264
263
  "data-[hover=true]:bg-secondary-100",
265
- "group-data-[focus=true]:bg-secondary-50",
264
+ "group-data-[focus=true]/input:bg-secondary-50",
266
265
  "placeholder:text-secondary"
267
266
  ],
268
267
  input: "placeholder:text-secondary",
@@ -280,7 +279,7 @@ var input = tv({
280
279
  "placeholder:text-success-600",
281
280
  "dark:placeholder:text-success",
282
281
  "data-[hover=true]:bg-success-100",
283
- "group-data-[focus=true]:bg-success-50"
282
+ "group-data-[focus=true]/input:bg-success-50"
284
283
  ],
285
284
  input: "placeholder:text-success-600 dark:placeholder:text-success",
286
285
  label: "text-success-600 dark:text-success"
@@ -297,7 +296,7 @@ var input = tv({
297
296
  "placeholder:text-warning-600",
298
297
  "dark:placeholder:text-warning",
299
298
  "data-[hover=true]:bg-warning-100",
300
- "group-data-[focus=true]:bg-warning-50"
299
+ "group-data-[focus=true]/input:bg-warning-50"
301
300
  ],
302
301
  input: "placeholder:text-warning-600 dark:placeholder:text-warning",
303
302
  label: "text-warning-600 dark:text-warning"
@@ -314,7 +313,7 @@ var input = tv({
314
313
  "placeholder:text-danger",
315
314
  "dark:placeholder:text-danger-500",
316
315
  "data-[hover=true]:bg-danger-100",
317
- "group-data-[focus=true]:bg-danger-50"
316
+ "group-data-[focus=true]/input:bg-danger-50"
318
317
  ],
319
318
  input: "placeholder:text-danger dark:placeholder:text-danger-500",
320
319
  label: "text-danger dark:text-danger-500"
@@ -364,7 +363,7 @@ var input = tv({
364
363
  variant: "underlined",
365
364
  color: "default",
366
365
  class: {
367
- input: "group-data-[has-value=true]:text-foreground"
366
+ input: "group-data-[has-value=true]/input:text-foreground"
368
367
  }
369
368
  },
370
369
  {
@@ -411,7 +410,7 @@ var input = tv({
411
410
  variant: "bordered",
412
411
  color: "primary",
413
412
  class: {
414
- inputWrapper: "group-data-[focus=true]:border-primary",
413
+ inputWrapper: "group-data-[focus=true]/input:border-primary",
415
414
  label: "text-primary"
416
415
  }
417
416
  },
@@ -419,7 +418,7 @@ var input = tv({
419
418
  variant: "bordered",
420
419
  color: "secondary",
421
420
  class: {
422
- inputWrapper: "group-data-[focus=true]:border-secondary",
421
+ inputWrapper: "group-data-[focus=true]/input:border-secondary",
423
422
  label: "text-secondary"
424
423
  }
425
424
  },
@@ -427,7 +426,7 @@ var input = tv({
427
426
  variant: "bordered",
428
427
  color: "success",
429
428
  class: {
430
- inputWrapper: "group-data-[focus=true]:border-success",
429
+ inputWrapper: "group-data-[focus=true]/input:border-success",
431
430
  label: "text-success"
432
431
  }
433
432
  },
@@ -435,7 +434,7 @@ var input = tv({
435
434
  variant: "bordered",
436
435
  color: "warning",
437
436
  class: {
438
- inputWrapper: "group-data-[focus=true]:border-warning",
437
+ inputWrapper: "group-data-[focus=true]/input:border-warning",
439
438
  label: "text-warning"
440
439
  }
441
440
  },
@@ -443,7 +442,7 @@ var input = tv({
443
442
  variant: "bordered",
444
443
  color: "danger",
445
444
  class: {
446
- inputWrapper: "group-data-[focus=true]:border-danger",
445
+ inputWrapper: "group-data-[focus=true]/input:border-danger",
447
446
  label: "text-danger"
448
447
  }
449
448
  },
@@ -451,14 +450,14 @@ var input = tv({
451
450
  labelPlacement: "inside",
452
451
  color: "default",
453
452
  class: {
454
- label: "group-data-[filled-within=true]:text-default-600"
453
+ label: "group-data-[filled-within=true]/input:text-default-600"
455
454
  }
456
455
  },
457
456
  {
458
457
  labelPlacement: "outside",
459
458
  color: "default",
460
459
  class: {
461
- label: "group-data-[filled-within=true]:text-foreground"
460
+ label: "group-data-[filled-within=true]/input:text-foreground"
462
461
  }
463
462
  },
464
463
  {
@@ -511,7 +510,7 @@ var input = tv({
511
510
  inputWrapper: [
512
511
  "!bg-danger-50",
513
512
  "data-[hover=true]:!bg-danger-100",
514
- "group-data-[focus=true]:!bg-danger-50"
513
+ "group-data-[focus=true]/input:!bg-danger-50"
515
514
  ]
516
515
  }
517
516
  },
@@ -519,7 +518,7 @@ var input = tv({
519
518
  isInvalid: true,
520
519
  variant: "bordered",
521
520
  class: {
522
- inputWrapper: "!border-danger group-data-[focus=true]:!border-danger"
521
+ inputWrapper: "!border-danger group-data-[focus=true]/input:!border-danger"
523
522
  }
524
523
  },
525
524
  {
@@ -562,27 +561,27 @@ var input = tv({
562
561
  {
563
562
  labelPlacement: ["inside", "outside"],
564
563
  class: {
565
- label: ["group-data-[filled-within=true]:pointer-events-auto"]
564
+ label: ["group-data-[filled-within=true]/input:pointer-events-auto"]
566
565
  }
567
566
  },
568
567
  {
569
568
  labelPlacement: "outside",
570
569
  isMultiline: false,
571
570
  class: {
572
- base: "group relative justify-end",
571
+ base: "relative justify-end",
573
572
  label: [
574
573
  "pb-0",
575
574
  "z-20",
576
575
  "top-1/2",
577
576
  "-translate-y-1/2",
578
- "group-data-[filled-within=true]:left-0"
577
+ "group-data-[filled-within=true]/input:start-0"
579
578
  ]
580
579
  }
581
580
  },
582
581
  {
583
582
  labelPlacement: ["inside"],
584
583
  class: {
585
- label: ["group-data-[filled-within=true]:scale-85"]
584
+ label: ["group-data-[filled-within=true]/input:scale-85"]
586
585
  }
587
586
  },
588
587
  {
@@ -619,7 +618,7 @@ var input = tv({
619
618
  size: "sm",
620
619
  class: {
621
620
  label: [
622
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
621
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
623
622
  ]
624
623
  }
625
624
  },
@@ -629,7 +628,7 @@ var input = tv({
629
628
  size: "md",
630
629
  class: {
631
630
  label: [
632
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
631
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
633
632
  ]
634
633
  }
635
634
  },
@@ -640,7 +639,7 @@ var input = tv({
640
639
  class: {
641
640
  label: [
642
641
  "text-medium",
643
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
642
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
644
643
  ]
645
644
  }
646
645
  },
@@ -651,7 +650,7 @@ var input = tv({
651
650
  size: "sm",
652
651
  class: {
653
652
  label: [
654
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
653
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
655
654
  ]
656
655
  }
657
656
  },
@@ -662,7 +661,7 @@ var input = tv({
662
661
  size: "md",
663
662
  class: {
664
663
  label: [
665
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
664
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
666
665
  ]
667
666
  }
668
667
  },
@@ -674,7 +673,7 @@ var input = tv({
674
673
  class: {
675
674
  label: [
676
675
  "text-medium",
677
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
676
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
678
677
  ]
679
678
  }
680
679
  },
@@ -685,7 +684,7 @@ var input = tv({
685
684
  size: "sm",
686
685
  class: {
687
686
  label: [
688
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
687
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
689
688
  ]
690
689
  }
691
690
  },
@@ -696,7 +695,7 @@ var input = tv({
696
695
  size: "md",
697
696
  class: {
698
697
  label: [
699
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
698
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
700
699
  ]
701
700
  }
702
701
  },
@@ -708,7 +707,7 @@ var input = tv({
708
707
  class: {
709
708
  label: [
710
709
  "text-medium",
711
- "group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
710
+ "group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
712
711
  ]
713
712
  }
714
713
  },
@@ -718,9 +717,9 @@ var input = tv({
718
717
  isMultiline: false,
719
718
  class: {
720
719
  label: [
721
- "left-2",
720
+ "start-2",
722
721
  "text-tiny",
723
- "group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
722
+ "group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
724
723
  ],
725
724
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
726
725
  }
@@ -731,11 +730,10 @@ var input = tv({
731
730
  isMultiline: false,
732
731
  class: {
733
732
  label: [
734
- "left-3",
735
- "rtl:left-auto",
736
- "rtl:right-3",
733
+ "start-3",
734
+ "end-auto",
737
735
  "text-small",
738
- "group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
736
+ "group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
739
737
  ],
740
738
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
741
739
  }
@@ -746,11 +744,10 @@ var input = tv({
746
744
  isMultiline: false,
747
745
  class: {
748
746
  label: [
749
- "left-3",
750
- "rtl:left-auto",
751
- "rtl:right-3",
747
+ "start-3",
748
+ "end-auto",
752
749
  "text-medium",
753
- "group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
750
+ "group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
754
751
  ],
755
752
  base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
756
753
  }
@@ -759,21 +756,21 @@ var input = tv({
759
756
  labelPlacement: "outside-left",
760
757
  size: "sm",
761
758
  class: {
762
- label: "group-data-[has-helper=true]:pt-2"
759
+ label: "group-data-[has-helper=true]/input:pt-2"
763
760
  }
764
761
  },
765
762
  {
766
763
  labelPlacement: "outside-left",
767
764
  size: "md",
768
765
  class: {
769
- label: "group-data-[has-helper=true]:pt-3"
766
+ label: "group-data-[has-helper=true]/input:pt-3"
770
767
  }
771
768
  },
772
769
  {
773
770
  labelPlacement: "outside-left",
774
771
  size: "lg",
775
772
  class: {
776
- label: "group-data-[has-helper=true]:pt-4"
773
+ label: "group-data-[has-helper=true]/input:pt-4"
777
774
  }
778
775
  },
779
776
  {
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-D2XMP2NC.mjs";
4
4
  import {
5
5
  utilities
6
- } from "./chunk-726LN7M3.mjs";
6
+ } from "./chunk-3LD7T42T.mjs";
7
7
  import {
8
8
  DEFAULT_TRANSITION_DURATION
9
- } from "./chunk-HPFX3B3F.mjs";
9
+ } from "./chunk-WN6AL2BX.mjs";
10
10
  import {
11
11
  baseStyles
12
12
  } from "./chunk-XHQUSKIE.mjs";
@@ -13,17 +13,17 @@ var calendar = tv({
13
13
  "rounded-large overflow-x-auto bg-default-50 dark:bg-background",
14
14
  "w-[calc(var(--visible-months)_*_var(--calendar-width))]"
15
15
  ],
16
- prevButton: [],
17
- nextButton: [],
16
+ prevButton: ["order-1"],
17
+ nextButton: ["order-3"],
18
18
  headerWrapper: [
19
- "px-4 py-2 flex items-center justify-between gap-2 bg-content1 overflow-hidden",
19
+ "px-4 py-2 flex items-center justify-between gap-2 bg-content1 overflow-hidden rtl:flex-row-reverse",
20
20
  "[&_.chevron-icon]:flex-none",
21
21
  "after:content-['']",
22
22
  "after:bg-content1 origin-top",
23
23
  "after:w-full after:h-0",
24
24
  "after:absolute after:top-0 after:left-0"
25
25
  ],
26
- header: "flex w-full items-center justify-center gap-2 z-10",
26
+ header: "flex w-full items-center justify-center gap-2 z-10 order-2",
27
27
  title: "text-default-500 text-small font-medium",
28
28
  content: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
29
29
  gridWrapper: "flex max-w-full overflow-hidden pb-2 h-auto relative",
@@ -29,18 +29,15 @@ var table = tv({
29
29
  "group",
30
30
  "px-3",
31
31
  "h-10",
32
+ "text-start",
32
33
  "align-middle",
33
34
  "bg-default-100",
34
35
  "whitespace-nowrap",
35
36
  "text-foreground-500",
36
37
  "text-tiny",
37
38
  "font-semibold",
38
- "first:rounded-l-lg",
39
- "rtl:first:rounded-r-lg",
40
- "rtl:first:rounded-l-[unset]",
41
- "last:rounded-r-lg",
42
- "rtl:last:rounded-l-lg",
43
- "rtl:last:rounded-r-[unset]",
39
+ "first:rounded-s-lg",
40
+ "last:rounded-e-lg",
44
41
  "outline-none",
45
42
  "data-[sortable=true]:cursor-pointer",
46
43
  "data-[hover=true]:text-foreground-400",
@@ -69,7 +66,7 @@ var table = tv({
69
66
  ],
70
67
  tfoot: "",
71
68
  sortIcon: [
72
- "ml-2",
69
+ "ms-2",
73
70
  "mb-px",
74
71
  "opacity-0",
75
72
  "text-inherit",
@@ -176,30 +173,15 @@ var table = tv({
176
173
  isMultiSelectable: {
177
174
  true: {
178
175
  td: [
179
- "group-data-[first=true]:first:before:rounded-tl-lg",
180
- "group-data-[first=true]:rtl:first:before:rounded-tr-lg",
181
- "group-data-[first=true]:rtl:first:before:rounded-tl-[unset]",
182
- "group-data-[first=true]:last:before:rounded-tr-lg",
183
- "group-data-[first=true]:rtl:last:before:rounded-tl-lg",
184
- "group-data-[first=true]:rtl:last:before:rounded-tr-[unset]",
176
+ "group-data-[first=true]:first:before:rounded-ts-lg",
177
+ "group-data-[first=true]:last:before:rounded-te-lg",
185
178
  "group-data-[middle=true]:before:rounded-none",
186
- "group-data-[last=true]:first:before:rounded-bl-lg",
187
- "group-data-[last=true]:rtl:first:before:rounded-br-lg",
188
- "group-data-[last=true]:rtl:first:before:rounded-bl-[unset]",
189
- "group-data-[last=true]:last:before:rounded-br-lg",
190
- "group-data-[last=true]:rtl:last:before:rounded-bl-lg",
191
- "group-data-[last=true]:rtl:last:before:rounded-br-[unset]"
179
+ "group-data-[last=true]:first:before:rounded-bs-lg",
180
+ "group-data-[last=true]:last:before:rounded-be-lg"
192
181
  ]
193
182
  },
194
183
  false: {
195
- td: [
196
- "first:before:rounded-l-lg",
197
- "rtl:first:before:rounded-r-lg",
198
- "rtl:first:before:rounded-l-[unset]",
199
- "last:before:rounded-r-lg",
200
- "rtl:last:before:rounded-l-lg",
201
- "rtl:last:before:rounded-r-[unset]"
202
- ]
184
+ td: ["first:before:rounded-s-lg", "last:before:rounded-e-lg"]
203
185
  }
204
186
  },
205
187
  fullWidth: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-2PIR7DFM.mjs";
3
+ } from "./chunk-BZCSOIUI.mjs";
4
4
  import {
5
5
  tv
6
6
  } from "./chunk-N2KXC5ZE.mjs";
@@ -8,7 +8,7 @@ import {
8
8
  // src/components/checkbox.ts
9
9
  var checkbox = tv({
10
10
  slots: {
11
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",
11
+ base: "group/checkbox relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2 select-none",
12
12
  wrapper: [
13
13
  "relative",
14
14
  "inline-flex",
@@ -29,12 +29,12 @@ var checkbox = tv({
29
29
  "after:scale-50",
30
30
  "after:opacity-0",
31
31
  "after:origin-center",
32
- "group-data-[selected=true]:after:scale-100",
33
- "group-data-[selected=true]:after:opacity-100",
34
- "group-data-[hover=true]:before:bg-default-100",
32
+ "group-data-[selected=true]/checkbox:after:scale-100",
33
+ "group-data-[selected=true]/checkbox:after:opacity-100",
34
+ "group-data-[hover=true]/checkbox:before:bg-default-100",
35
35
  ...groupDataFocusVisibleClasses
36
36
  ],
37
- icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
37
+ icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]/checkbox:opacity-100",
38
38
  label: "relative text-foreground select-none"
39
39
  },
40
40
  variants: {
@@ -130,8 +130,8 @@ var checkbox = tv({
130
130
  "before:bg-foreground",
131
131
  "before:w-0",
132
132
  "before:h-0.5",
133
- "group-data-[selected=true]:opacity-60",
134
- "group-data-[selected=true]:before:w-full"
133
+ "group-data-[selected=true]/checkbox:opacity-60",
134
+ "group-data-[selected=true]/checkbox:before:w-full"
135
135
  ]
136
136
  }
137
137
  },
@@ -155,7 +155,7 @@ var checkbox = tv({
155
155
  false: {
156
156
  wrapper: [
157
157
  "before:transition-colors",
158
- "group-data-[pressed=true]:scale-95",
158
+ "group-data-[pressed=true]/checkbox:scale-95",
159
159
  "transition-transform",
160
160
  "after:transition-transform-opacity",
161
161
  "after:!ease-linear",
@@ -16,7 +16,8 @@ var modal = tv({
16
16
  "inset-0",
17
17
  "z-50",
18
18
  "overflow-x-auto",
19
- "justify-center"
19
+ "justify-center",
20
+ "h-[--visual-viewport-height]"
20
21
  ],
21
22
  base: [
22
23
  "flex",
@@ -85,7 +86,7 @@ var modal = tv({
85
86
  base: "max-w-5xl"
86
87
  },
87
88
  full: {
88
- base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none"
89
+ base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none"
89
90
  }
90
91
  },
91
92
  radius: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-2PIR7DFM.mjs";
3
+ } from "./chunk-BZCSOIUI.mjs";
4
4
  import {
5
5
  tv
6
6
  } from "./chunk-N2KXC5ZE.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-2PIR7DFM.mjs";
3
+ } from "./chunk-BZCSOIUI.mjs";
4
4
  import {
5
5
  tv
6
6
  } from "./chunk-N2KXC5ZE.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-2PIR7DFM.mjs";
3
+ } from "./chunk-BZCSOIUI.mjs";
4
4
  import {
5
5
  tv
6
6
  } from "./chunk-N2KXC5ZE.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  // src/components/date-picker.ts
6
6
  var datePicker = tv({
7
7
  slots: {
8
- base: "group w-full",
8
+ base: "group/datepicker w-full",
9
9
  selectorButton: "-mr-2 text-inherit",
10
10
  selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
11
11
  popoverContent: "p-0 w-full",
@@ -18,9 +18,9 @@ var datePicker = tv({
18
18
  var dateRangePicker = tv({
19
19
  extend: datePicker,
20
20
  slots: {
21
- calendar: "group",
21
+ calendar: "group/daterangepicker",
22
22
  bottomContent: "flex flex-col gap-y-2",
23
- timeInputWrapper: "flex flex-col group-data-[has-multiple-months=true]:flex-row",
23
+ timeInputWrapper: "flex flex-col group-data-[has-multiple-months=true]/daterangepicker:flex-row",
24
24
  separator: "-mx-1 text-inherit"
25
25
  }
26
26
  });
@@ -32,7 +32,7 @@ var skeleton = tv({
32
32
  "data-[loaded=true]:pointer-events-auto",
33
33
  "data-[loaded=true]:overflow-visible",
34
34
  "data-[loaded=true]:!bg-transparent",
35
- "data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
35
+ "data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:-z-10 data-[loaded=true]:before:animate-none",
36
36
  "data-[loaded=true]:after:opacity-0"
37
37
  ],
38
38
  content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
@@ -44,7 +44,7 @@ var skeleton = tv({
44
44
  content: "transition-none"
45
45
  },
46
46
  false: {
47
- base: "transition-background !duration-300 before:transition-opacity before:!duration-300",
47
+ base: "transition-background !duration-300",
48
48
  content: "transition-opacity motion-reduce:transition-none !duration-300"
49
49
  }
50
50
  }