@nextui-org/theme 0.0.0-dev-v2-20230620142942 → 0.0.0-dev-v2-20230620194547

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 (89) hide show
  1. package/dist/{chunk-DWC7GT4K.mjs → chunk-3D7G7PZH.mjs} +1 -1
  2. package/dist/chunk-4Z22WXZX.mjs +21 -0
  3. package/dist/{chunk-M7M7HWPI.mjs → chunk-52QYM3YD.mjs} +5 -5
  4. package/dist/{chunk-BH4BMASL.mjs → chunk-576B55VI.mjs} +1 -1
  5. package/dist/{chunk-QU6QFAKV.mjs → chunk-7VYHIENL.mjs} +3 -2
  6. package/dist/{chunk-LWJT5D6G.mjs → chunk-A4SRDPJZ.mjs} +1 -0
  7. package/dist/{chunk-UHOIXUPW.mjs → chunk-AUOEYXLQ.mjs} +1 -0
  8. package/dist/{chunk-G34JOIZ3.mjs → chunk-C6TGDK6D.mjs} +1 -1
  9. package/dist/{chunk-FPFQCKUP.mjs → chunk-CEW7YOHH.mjs} +1 -1
  10. package/dist/chunk-DI2L75XK.mjs +22 -0
  11. package/dist/{chunk-2RQFBKZ4.mjs → chunk-E7FRZBCH.mjs} +1 -1
  12. package/dist/{chunk-NVCWXYAR.mjs → chunk-HI3IKEJ5.mjs} +13 -3
  13. package/dist/{chunk-JH2TR6BI.mjs → chunk-HJLDXSH7.mjs} +7 -19
  14. package/dist/{chunk-YQXYRWJP.mjs → chunk-I36TDMJB.mjs} +2 -2
  15. package/dist/{chunk-4G25OMVV.mjs → chunk-I75M4OOG.mjs} +1 -1
  16. package/dist/{chunk-QW2ZGOKD.mjs → chunk-IN5LCODJ.mjs} +1 -1
  17. package/dist/{chunk-OPENJYHK.mjs → chunk-IUW423TP.mjs} +39 -28
  18. package/dist/{chunk-N5YBIJN7.mjs → chunk-LBMDDCFV.mjs} +2 -2
  19. package/dist/chunk-OQGOVMIP.mjs +20 -0
  20. package/dist/{chunk-UNAW63FS.mjs → chunk-RB7R7Z3Y.mjs} +1 -1
  21. package/dist/{chunk-O32L4YWJ.mjs → chunk-SEWAA5ZW.mjs} +1 -1
  22. package/dist/{chunk-42RVICJN.mjs → chunk-UKSPZOXY.mjs} +1 -1
  23. package/dist/{chunk-HNRHIJNK.mjs → chunk-YNGJCDQN.mjs} +2 -2
  24. package/dist/{chunk-D4S5JGOT.mjs → chunk-ZQF2KGKX.mjs} +1 -1
  25. package/dist/{chunk-GRAPREJD.mjs → chunk-ZSOCX2PK.mjs} +3 -2
  26. package/dist/colors/common.mjs +2 -2
  27. package/dist/colors/index.mjs +4 -4
  28. package/dist/colors/semantic.mjs +3 -3
  29. package/dist/colors.mjs +4 -4
  30. package/dist/components/accordion.js +2 -2
  31. package/dist/components/accordion.mjs +1 -1
  32. package/dist/components/avatar.js +1 -1
  33. package/dist/components/avatar.mjs +2 -2
  34. package/dist/components/badge.js +1 -1
  35. package/dist/components/badge.mjs +2 -2
  36. package/dist/components/button.js +3 -2
  37. package/dist/components/button.mjs +2 -2
  38. package/dist/components/card.js +1 -1
  39. package/dist/components/card.mjs +1 -1
  40. package/dist/components/checkbox.js +1 -1
  41. package/dist/components/checkbox.mjs +1 -1
  42. package/dist/components/chip.js +3 -2
  43. package/dist/components/chip.mjs +2 -2
  44. package/dist/components/code.js +1 -1
  45. package/dist/components/code.mjs +2 -2
  46. package/dist/components/index.js +65 -40
  47. package/dist/components/index.mjs +37 -37
  48. package/dist/components/link.d.ts +4 -4
  49. package/dist/components/link.js +2 -2
  50. package/dist/components/link.mjs +1 -1
  51. package/dist/components/modal.js +1 -0
  52. package/dist/components/modal.mjs +1 -1
  53. package/dist/components/navbar.js +1 -0
  54. package/dist/components/navbar.mjs +1 -1
  55. package/dist/components/pagination.d.ts +6 -6
  56. package/dist/components/pagination.js +39 -28
  57. package/dist/components/pagination.mjs +2 -2
  58. package/dist/components/popover.js +1 -1
  59. package/dist/components/popover.mjs +2 -2
  60. package/dist/components/radio.js +1 -1
  61. package/dist/components/radio.mjs +1 -1
  62. package/dist/components/snippet.js +1 -1
  63. package/dist/components/snippet.mjs +2 -2
  64. package/dist/components/tabs.js +13 -3
  65. package/dist/components/tabs.mjs +2 -2
  66. package/dist/components/toggle.js +1 -1
  67. package/dist/components/toggle.mjs +1 -1
  68. package/dist/index.js +115 -58
  69. package/dist/index.mjs +47 -44
  70. package/dist/plugin.js +50 -18
  71. package/dist/plugin.mjs +9 -6
  72. package/dist/utilities/custom.d.ts +22 -0
  73. package/dist/utilities/custom.js +44 -0
  74. package/dist/utilities/custom.mjs +6 -0
  75. package/dist/utilities/index.d.ts +30 -19
  76. package/dist/utilities/index.js +51 -17
  77. package/dist/utilities/index.mjs +4 -1
  78. package/dist/utilities/scrollbar-hide.d.ts +24 -0
  79. package/dist/utilities/scrollbar-hide.js +43 -0
  80. package/dist/utilities/scrollbar-hide.mjs +6 -0
  81. package/dist/utilities/transition.d.ts +72 -0
  82. package/dist/utilities/transition.js +95 -0
  83. package/dist/utilities/transition.mjs +6 -0
  84. package/dist/utils/index.js +1 -1
  85. package/dist/utils/index.mjs +1 -1
  86. package/dist/utils/variants.js +1 -1
  87. package/dist/utils/variants.mjs +1 -1
  88. package/package.json +1 -1
  89. package/dist/{chunk-YGFZPBLQ.mjs → chunk-5LKRUH3Q.mjs} +3 -3
package/dist/index.js CHANGED
@@ -143,7 +143,7 @@ var bordered = {
143
143
  foreground: "bg-transparent border-foreground text-foreground"
144
144
  };
145
145
  var flat = {
146
- default: "bg-default/20 text-default-foreground",
146
+ default: "bg-default/40 text-default-foreground",
147
147
  primary: "bg-primary/20 text-primary",
148
148
  secondary: "bg-secondary/20 text-secondary",
149
149
  success: "bg-success/20 text-success-600 dark:text-success",
@@ -562,7 +562,7 @@ var card = (0, import_tailwind_variants2.tv)({
562
562
  {
563
563
  isPressable: true,
564
564
  disableAnimation: false,
565
- class: "data-[pressed=true]:scale-95"
565
+ class: "data-[pressed=true]:scale-95 tap-highlight-transparent"
566
566
  }
567
567
  ],
568
568
  defaultVariants: {
@@ -581,7 +581,7 @@ var card = (0, import_tailwind_variants2.tv)({
581
581
  var import_tailwind_variants3 = require("tailwind-variants");
582
582
  var link = (0, import_tailwind_variants3.tv)({
583
583
  base: [
584
- "relative inline-flex items-center outline-none",
584
+ "relative inline-flex items-center outline-none tap-highlight-transparent",
585
585
  "data-[focus-visible=true]:outline-none",
586
586
  "data-[focus-visible=true]:ring-2",
587
587
  "data-[focus-visible=true]:ring-primary",
@@ -626,7 +626,7 @@ var link = (0, import_tailwind_variants3.tv)({
626
626
  "after:transition-background",
627
627
  "after:absolute"
628
628
  ],
629
- false: "hover:opacity-80 transition-opacity"
629
+ false: "hover:opacity-80 active:opacity-50 transition-opacity"
630
630
  },
631
631
  isDisabled: {
632
632
  true: "opacity-50 cursor-default pointer-events-none"
@@ -719,6 +719,7 @@ var button = (0, import_tailwind_variants5.tv)({
719
719
  "subpixel-antialiased",
720
720
  "data-[pressed=true]:scale-95",
721
721
  "overflow-hidden",
722
+ "tap-highlight-transparent",
722
723
  "data-[focus-visible=true]:z-10",
723
724
  "data-[focus-visible=true]:outline-none",
724
725
  "data-[focus-visible=true]:ring-2",
@@ -1049,7 +1050,7 @@ var button = (0, import_tailwind_variants5.tv)({
1049
1050
  {
1050
1051
  isInGroup: true,
1051
1052
  variant: ["bordered", "ghost"],
1052
- class: "[&:not(:first-child)]:border-l-0"
1053
+ class: "[&:not(:first-child)]:ml-[calc(theme(borderWidth.2)*-1)]"
1053
1054
  },
1054
1055
  {
1055
1056
  isIconOnly: true,
@@ -1712,7 +1713,8 @@ var chip = (0, import_tailwind_variants11.tv)({
1712
1713
  "opacity-70",
1713
1714
  "hover:opacity-100",
1714
1715
  "cursor-pointer",
1715
- "active:opacity-70"
1716
+ "active:opacity-50",
1717
+ "tap-highlight-transparent"
1716
1718
  ]
1717
1719
  },
1718
1720
  variants: {
@@ -2562,7 +2564,7 @@ var badge = (0, import_tailwind_variants12.tv)({
2562
2564
  var import_tailwind_variants13 = require("tailwind-variants");
2563
2565
  var checkbox = (0, import_tailwind_variants13.tv)({
2564
2566
  slots: {
2565
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer",
2567
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
2566
2568
  wrapper: [
2567
2569
  "relative",
2568
2570
  "inline-flex",
@@ -2730,7 +2732,7 @@ var checkboxGroup = (0, import_tailwind_variants13.tv)({
2730
2732
  var import_tailwind_variants14 = require("tailwind-variants");
2731
2733
  var radio = (0, import_tailwind_variants14.tv)({
2732
2734
  slots: {
2733
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer",
2735
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
2734
2736
  wrapper: [
2735
2737
  "relative",
2736
2738
  "inline-flex",
@@ -2902,7 +2904,18 @@ var radioGroup = (0, import_tailwind_variants14.tv)({
2902
2904
  var import_tailwind_variants15 = require("tailwind-variants");
2903
2905
  var pagination = (0, import_tailwind_variants15.tv)({
2904
2906
  slots: {
2905
- base: "flex flex-nowrap relative overflow-x-auto overflow-y-visible items-center gap-1 max-w-fit h-fit",
2907
+ base: [
2908
+ "flex",
2909
+ "flex-nowrap",
2910
+ "h-fit",
2911
+ "max-w-fit",
2912
+ "py-2.5",
2913
+ "relative",
2914
+ "gap-1",
2915
+ "items-center",
2916
+ "overflow-x-scroll",
2917
+ "scrollbar-hide"
2918
+ ],
2906
2919
  item: [],
2907
2920
  prev: "",
2908
2921
  next: "",
@@ -2988,7 +3001,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
2988
3001
  showShadow: {
2989
3002
  true: {}
2990
3003
  },
2991
- hideCursor: {
3004
+ disableCursorAnimation: {
2992
3005
  true: {
2993
3006
  cursor: "hidden"
2994
3007
  }
@@ -3013,49 +3026,49 @@ var pagination = (0, import_tailwind_variants15.tv)({
3013
3026
  isDisabled: false,
3014
3027
  showShadow: false,
3015
3028
  disableAnimation: false,
3016
- hideCursor: false
3029
+ disableCursorAnimation: false
3017
3030
  },
3018
3031
  compoundVariants: [
3019
3032
  {
3020
3033
  showShadow: true,
3021
3034
  color: "default",
3022
3035
  class: {
3023
- cursor: colorVariants.shadow.default
3036
+ cursor: [colorVariants.shadow.default, "shadow-md"]
3024
3037
  }
3025
3038
  },
3026
3039
  {
3027
3040
  showShadow: true,
3028
3041
  color: "primary",
3029
3042
  class: {
3030
- cursor: colorVariants.shadow.primary
3043
+ cursor: [colorVariants.shadow.primary, "shadow-md"]
3031
3044
  }
3032
3045
  },
3033
3046
  {
3034
3047
  showShadow: true,
3035
3048
  color: "secondary",
3036
3049
  class: {
3037
- cursor: colorVariants.shadow.secondary
3050
+ cursor: [colorVariants.shadow.secondary, "shadow-md"]
3038
3051
  }
3039
3052
  },
3040
3053
  {
3041
3054
  showShadow: true,
3042
3055
  color: "success",
3043
3056
  class: {
3044
- cursor: colorVariants.shadow.success
3057
+ cursor: [colorVariants.shadow.success, "shadow-md"]
3045
3058
  }
3046
3059
  },
3047
3060
  {
3048
3061
  showShadow: true,
3049
3062
  color: "warning",
3050
3063
  class: {
3051
- cursor: colorVariants.shadow.warning
3064
+ cursor: [colorVariants.shadow.warning, "shadow-md"]
3052
3065
  }
3053
3066
  },
3054
3067
  {
3055
3068
  showShadow: true,
3056
3069
  color: "danger",
3057
3070
  class: {
3058
- cursor: colorVariants.shadow.danger
3071
+ cursor: [colorVariants.shadow.danger, "shadow-md"]
3059
3072
  }
3060
3073
  },
3061
3074
  {
@@ -3066,7 +3079,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3066
3079
  }
3067
3080
  },
3068
3081
  {
3069
- hideCursor: true,
3082
+ disableCursorAnimation: true,
3070
3083
  color: "default",
3071
3084
  class: {
3072
3085
  item: [
@@ -3077,7 +3090,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3077
3090
  }
3078
3091
  },
3079
3092
  {
3080
- hideCursor: true,
3093
+ disableCursorAnimation: true,
3081
3094
  color: "primary",
3082
3095
  class: {
3083
3096
  item: [
@@ -3088,7 +3101,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3088
3101
  }
3089
3102
  },
3090
3103
  {
3091
- hideCursor: true,
3104
+ disableCursorAnimation: true,
3092
3105
  color: "secondary",
3093
3106
  class: {
3094
3107
  item: [
@@ -3099,7 +3112,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3099
3112
  }
3100
3113
  },
3101
3114
  {
3102
- hideCursor: true,
3115
+ disableCursorAnimation: true,
3103
3116
  color: "success",
3104
3117
  class: {
3105
3118
  item: [
@@ -3110,7 +3123,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3110
3123
  }
3111
3124
  },
3112
3125
  {
3113
- hideCursor: true,
3126
+ disableCursorAnimation: true,
3114
3127
  color: "warning",
3115
3128
  class: {
3116
3129
  item: [
@@ -3121,7 +3134,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3121
3134
  }
3122
3135
  },
3123
3136
  {
3124
- hideCursor: true,
3137
+ disableCursorAnimation: true,
3125
3138
  color: "danger",
3126
3139
  class: {
3127
3140
  item: [
@@ -3132,51 +3145,51 @@ var pagination = (0, import_tailwind_variants15.tv)({
3132
3145
  }
3133
3146
  },
3134
3147
  {
3135
- hideCursor: true,
3148
+ disableCursorAnimation: true,
3136
3149
  showShadow: true,
3137
3150
  color: "default",
3138
3151
  class: {
3139
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-default/50"]
3152
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-default/50"]
3140
3153
  }
3141
3154
  },
3142
3155
  {
3143
- hideCursor: true,
3156
+ disableCursorAnimation: true,
3144
3157
  showShadow: true,
3145
3158
  color: "primary",
3146
3159
  class: {
3147
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-primary/40"]
3160
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-primary/40"]
3148
3161
  }
3149
3162
  },
3150
3163
  {
3151
- hideCursor: true,
3164
+ disableCursorAnimation: true,
3152
3165
  showShadow: true,
3153
3166
  color: "secondary",
3154
3167
  class: {
3155
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-secondary/40"]
3168
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-secondary/40"]
3156
3169
  }
3157
3170
  },
3158
3171
  {
3159
- hideCursor: true,
3172
+ disableCursorAnimation: true,
3160
3173
  showShadow: true,
3161
3174
  color: "success",
3162
3175
  class: {
3163
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-success/40"]
3176
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-success/40"]
3164
3177
  }
3165
3178
  },
3166
3179
  {
3167
- hideCursor: true,
3180
+ disableCursorAnimation: true,
3168
3181
  showShadow: true,
3169
3182
  color: "warning",
3170
3183
  class: {
3171
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-warning/40"]
3184
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-warning/40"]
3172
3185
  }
3173
3186
  },
3174
3187
  {
3175
- hideCursor: true,
3188
+ disableCursorAnimation: true,
3176
3189
  showShadow: true,
3177
3190
  color: "danger",
3178
3191
  class: {
3179
- item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-danger/40"]
3192
+ item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-danger/40"]
3180
3193
  }
3181
3194
  }
3182
3195
  ],
@@ -3284,7 +3297,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
3284
3297
  var import_tailwind_variants16 = require("tailwind-variants");
3285
3298
  var toggle = (0, import_tailwind_variants16.tv)({
3286
3299
  slots: {
3287
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none",
3300
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",
3288
3301
  wrapper: [
3289
3302
  "px-1",
3290
3303
  "relative",
@@ -3490,8 +3503,8 @@ var accordionItem = (0, import_tailwind_variants17.tv)({
3490
3503
  ],
3491
3504
  heading: "",
3492
3505
  trigger: [
3493
- "flex py-4 w-full h-full gap-3 outline-none items-center",
3494
- "data-[pressed=true]:opacity-80",
3506
+ "flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",
3507
+ "data-[pressed=true]:opacity-50",
3495
3508
  "data-[focus-visible=true]:outline-none",
3496
3509
  "data-[focus-visible=true]:ring-2",
3497
3510
  "data-[focus-visible=true]:ring-primary",
@@ -5202,6 +5215,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5202
5215
  "rounded-full",
5203
5216
  "hover:bg-default-100",
5204
5217
  "active:bg-default-200",
5218
+ "tap-highlight-transparent",
5205
5219
  "data-[focus-visible]:outline-none",
5206
5220
  "data-[focus-visible]:ring-2",
5207
5221
  "data-[focus-visible]:!ring-primary",
@@ -5354,6 +5368,7 @@ var navbar = (0, import_tailwind_variants24.tv)({
5354
5368
  "h-full",
5355
5369
  "outline-none",
5356
5370
  "rounded-sm",
5371
+ "tap-highlight-transparent",
5357
5372
  "data-[focus-visible=true]:outline-none",
5358
5373
  "data-[focus-visible=true]:ring-2",
5359
5374
  "data-[focus-visible=true]:ring-primary",
@@ -5777,7 +5792,17 @@ var import_tailwind_variants29 = require("tailwind-variants");
5777
5792
  var tabs = (0, import_tailwind_variants29.tv)({
5778
5793
  slots: {
5779
5794
  base: "inline-flex",
5780
- tabList: ["flex", "items-center", "gap-2", "bg-default-100", "p-1", "h-fit"],
5795
+ tabList: [
5796
+ "flex",
5797
+ "p-1",
5798
+ "h-fit",
5799
+ "gap-2",
5800
+ "items-center",
5801
+ "flex-nowrap",
5802
+ "overflow-x-scroll",
5803
+ "scrollbar-hide",
5804
+ "bg-default-100"
5805
+ ],
5781
5806
  tab: [
5782
5807
  "z-0",
5783
5808
  "w-full",
@@ -5793,7 +5818,7 @@ var tabs = (0, import_tailwind_variants29.tv)({
5793
5818
  "transition-opacity",
5794
5819
  "data-[disabled=true]:cursor-not-allowed",
5795
5820
  "data-[disabled=true]:opacity-30",
5796
- "data-[hover-unselected=true]:opacity-70",
5821
+ "data-[hover-unselected=true]:opacity-50",
5797
5822
  "data-[focus-visible=true]:outline-none",
5798
5823
  "data-[focus-visible=true]:ring-2",
5799
5824
  "data-[focus-visible=true]:ring-primary",
@@ -6573,28 +6598,16 @@ var animations = {
6573
6598
  }
6574
6599
  };
6575
6600
 
6576
- // src/utilities/index.ts
6601
+ // src/utilities/transition.ts
6577
6602
  var DEFAULT_TRANSITION_DURATION = "250ms";
6578
- var utilities = {
6579
- ".leading-inherit": {
6580
- "line-height": "inherit"
6581
- },
6582
- ".bg-img-inherit": {
6583
- "background-image": "inherit"
6584
- },
6585
- ".bg-clip-inherit": {
6586
- "background-clip": "inherit"
6587
- },
6588
- ".text-fill-inherit": {
6589
- "-webkit-text-fill-color": "inherit"
6590
- },
6591
- ".transition-background": {
6592
- "transition-property": "background",
6603
+ var transition_default = {
6604
+ ".transition-all": {
6605
+ "transition-property": "all",
6593
6606
  "transition-timing-function": "ease",
6594
6607
  "transition-duration": DEFAULT_TRANSITION_DURATION
6595
6608
  },
6596
- ".transition-all": {
6597
- "transition-property": "all",
6609
+ ".transition-background": {
6610
+ "transition-property": "background",
6598
6611
  "transition-timing-function": "ease",
6599
6612
  "transition-duration": DEFAULT_TRANSITION_DURATION
6600
6613
  },
@@ -6655,6 +6668,50 @@ var utilities = {
6655
6668
  }
6656
6669
  };
6657
6670
 
6671
+ // src/utilities/custom.ts
6672
+ var custom_default = {
6673
+ ".leading-inherit": {
6674
+ "line-height": "inherit"
6675
+ },
6676
+ ".bg-img-inherit": {
6677
+ "background-image": "inherit"
6678
+ },
6679
+ ".bg-clip-inherit": {
6680
+ "background-clip": "inherit"
6681
+ },
6682
+ ".text-fill-inherit": {
6683
+ "-webkit-text-fill-color": "inherit"
6684
+ },
6685
+ ".tap-highlight-transparent": {
6686
+ "-webkit-tap-highlight-color": "transparent"
6687
+ }
6688
+ };
6689
+
6690
+ // src/utilities/scrollbar-hide.ts
6691
+ var scrollbar_hide_default = {
6692
+ ".scrollbar-hide": {
6693
+ "-ms-overflow-style": "none",
6694
+ "scrollbar-width": "none",
6695
+ "&::-webkit-scrollbar": {
6696
+ display: "none"
6697
+ }
6698
+ },
6699
+ ".scrollbar-default": {
6700
+ "-ms-overflow-style": "auto",
6701
+ "scrollbar-width": "auto",
6702
+ "&::-webkit-scrollbar": {
6703
+ display: "block"
6704
+ }
6705
+ }
6706
+ };
6707
+
6708
+ // src/utilities/index.ts
6709
+ var utilities = {
6710
+ ...custom_default,
6711
+ ...transition_default,
6712
+ ...scrollbar_hide_default
6713
+ };
6714
+
6658
6715
  // src/plugin.ts
6659
6716
  var SCHEME = Symbol("color-scheme");
6660
6717
  var DEFAULT_PREFIX = "nextui";
package/dist/index.mjs CHANGED
@@ -1,41 +1,53 @@
1
1
  import "./chunk-PRWEADY4.mjs";
2
+ import {
3
+ spacer
4
+ } from "./chunk-3B4SYPW2.mjs";
5
+ import {
6
+ spinner
7
+ } from "./chunk-HOQUCE4N.mjs";
2
8
  import {
3
9
  table
4
10
  } from "./chunk-U54UQOTS.mjs";
5
11
  import {
6
12
  tabs
7
- } from "./chunk-NVCWXYAR.mjs";
13
+ } from "./chunk-HI3IKEJ5.mjs";
8
14
  import {
9
15
  toggle
10
- } from "./chunk-42RVICJN.mjs";
16
+ } from "./chunk-UKSPZOXY.mjs";
11
17
  import {
12
18
  user
13
19
  } from "./chunk-ZFYINWFR.mjs";
20
+ import {
21
+ modal
22
+ } from "./chunk-AUOEYXLQ.mjs";
23
+ import {
24
+ navbar
25
+ } from "./chunk-A4SRDPJZ.mjs";
14
26
  import {
15
27
  pagination
16
- } from "./chunk-OPENJYHK.mjs";
28
+ } from "./chunk-IUW423TP.mjs";
17
29
  import {
18
30
  popover
19
- } from "./chunk-O32L4YWJ.mjs";
31
+ } from "./chunk-SEWAA5ZW.mjs";
20
32
  import {
21
33
  progress
22
34
  } from "./chunk-BHHIVMOY.mjs";
23
35
  import {
24
36
  radio,
25
37
  radioGroup
26
- } from "./chunk-2RQFBKZ4.mjs";
38
+ } from "./chunk-E7FRZBCH.mjs";
27
39
  import {
28
40
  skeleton
29
41
  } from "./chunk-P5E3PNHW.mjs";
30
42
  import {
31
43
  snippet
32
- } from "./chunk-DWC7GT4K.mjs";
44
+ } from "./chunk-3D7G7PZH.mjs";
33
45
  import {
34
- spacer
35
- } from "./chunk-3B4SYPW2.mjs";
46
+ divider
47
+ } from "./chunk-2ENRZMQI.mjs";
36
48
  import {
37
- spinner
38
- } from "./chunk-HOQUCE4N.mjs";
49
+ drip
50
+ } from "./chunk-OIVGIOVG.mjs";
39
51
  import {
40
52
  dropdown,
41
53
  dropdownItem,
@@ -54,58 +66,50 @@ import {
54
66
  import {
55
67
  link,
56
68
  linkAnchorClasses
57
- } from "./chunk-YQXYRWJP.mjs";
69
+ } from "./chunk-I36TDMJB.mjs";
58
70
  import {
59
- modal
60
- } from "./chunk-UHOIXUPW.mjs";
71
+ avatar,
72
+ avatarGroup
73
+ } from "./chunk-ZQF2KGKX.mjs";
61
74
  import {
62
- navbar
63
- } from "./chunk-LWJT5D6G.mjs";
75
+ badge
76
+ } from "./chunk-I75M4OOG.mjs";
64
77
  import {
65
78
  button,
66
79
  buttonGroup
67
- } from "./chunk-QU6QFAKV.mjs";
80
+ } from "./chunk-7VYHIENL.mjs";
68
81
  import {
69
82
  card
70
- } from "./chunk-QW2ZGOKD.mjs";
83
+ } from "./chunk-IN5LCODJ.mjs";
71
84
  import {
72
85
  checkbox,
73
86
  checkboxGroup
74
- } from "./chunk-G34JOIZ3.mjs";
87
+ } from "./chunk-C6TGDK6D.mjs";
75
88
  import {
76
89
  chip
77
- } from "./chunk-GRAPREJD.mjs";
90
+ } from "./chunk-ZSOCX2PK.mjs";
78
91
  import {
79
92
  circularProgress
80
93
  } from "./chunk-UPBFQDTD.mjs";
81
94
  import {
82
95
  code
83
- } from "./chunk-BH4BMASL.mjs";
84
- import {
85
- divider
86
- } from "./chunk-2ENRZMQI.mjs";
87
- import {
88
- drip
89
- } from "./chunk-OIVGIOVG.mjs";
90
- import {
91
- accordion,
92
- accordionItem
93
- } from "./chunk-HNRHIJNK.mjs";
94
- import {
95
- avatar,
96
- avatarGroup
97
- } from "./chunk-D4S5JGOT.mjs";
98
- import {
99
- badge
100
- } from "./chunk-4G25OMVV.mjs";
96
+ } from "./chunk-576B55VI.mjs";
101
97
  import "./chunk-CMYR6AOY.mjs";
102
98
  import "./chunk-K7LK7NCE.mjs";
103
99
  import {
104
100
  colorVariants
105
- } from "./chunk-FPFQCKUP.mjs";
101
+ } from "./chunk-CEW7YOHH.mjs";
102
+ import {
103
+ accordion,
104
+ accordionItem
105
+ } from "./chunk-YNGJCDQN.mjs";
106
106
  import {
107
107
  nextui
108
- } from "./chunk-M7M7HWPI.mjs";
108
+ } from "./chunk-52QYM3YD.mjs";
109
+ import "./chunk-OQGOVMIP.mjs";
110
+ import "./chunk-4Z22WXZX.mjs";
111
+ import "./chunk-HJLDXSH7.mjs";
112
+ import "./chunk-DI2L75XK.mjs";
109
113
  import {
110
114
  absoluteFullClasses,
111
115
  baseStyles,
@@ -116,24 +120,23 @@ import {
116
120
  import "./chunk-WQEDQHKX.mjs";
117
121
  import {
118
122
  colors
119
- } from "./chunk-N5YBIJN7.mjs";
123
+ } from "./chunk-LBMDDCFV.mjs";
120
124
  import {
121
125
  semanticColors
122
- } from "./chunk-UNAW63FS.mjs";
126
+ } from "./chunk-RB7R7Z3Y.mjs";
123
127
  import "./chunk-37PIXVP4.mjs";
124
128
  import "./chunk-M63AFAHO.mjs";
125
129
  import "./chunk-DMASP6FA.mjs";
126
- import "./chunk-JH2TR6BI.mjs";
127
130
  import {
128
131
  commonColors
129
- } from "./chunk-YGFZPBLQ.mjs";
130
- import "./chunk-OR5PUD24.mjs";
132
+ } from "./chunk-5LKRUH3Q.mjs";
131
133
  import "./chunk-DCEG5LGX.mjs";
132
134
  import "./chunk-L2OL7R23.mjs";
133
135
  import "./chunk-YZYGFPNK.mjs";
134
136
  import "./chunk-Y4YW5MKL.mjs";
135
137
  import "./chunk-DYAPDM2A.mjs";
136
138
  import "./chunk-T3GWIVAM.mjs";
139
+ import "./chunk-OR5PUD24.mjs";
137
140
 
138
141
  // src/index.ts
139
142
  import { cn as cnBase } from "tailwind-variants";
package/dist/plugin.js CHANGED
@@ -386,28 +386,16 @@ var animations = {
386
386
  }
387
387
  };
388
388
 
389
- // src/utilities/index.ts
389
+ // src/utilities/transition.ts
390
390
  var DEFAULT_TRANSITION_DURATION = "250ms";
391
- var utilities = {
392
- ".leading-inherit": {
393
- "line-height": "inherit"
394
- },
395
- ".bg-img-inherit": {
396
- "background-image": "inherit"
397
- },
398
- ".bg-clip-inherit": {
399
- "background-clip": "inherit"
400
- },
401
- ".text-fill-inherit": {
402
- "-webkit-text-fill-color": "inherit"
403
- },
404
- ".transition-background": {
405
- "transition-property": "background",
391
+ var transition_default = {
392
+ ".transition-all": {
393
+ "transition-property": "all",
406
394
  "transition-timing-function": "ease",
407
395
  "transition-duration": DEFAULT_TRANSITION_DURATION
408
396
  },
409
- ".transition-all": {
410
- "transition-property": "all",
397
+ ".transition-background": {
398
+ "transition-property": "background",
411
399
  "transition-timing-function": "ease",
412
400
  "transition-duration": DEFAULT_TRANSITION_DURATION
413
401
  },
@@ -468,6 +456,50 @@ var utilities = {
468
456
  }
469
457
  };
470
458
 
459
+ // src/utilities/custom.ts
460
+ var custom_default = {
461
+ ".leading-inherit": {
462
+ "line-height": "inherit"
463
+ },
464
+ ".bg-img-inherit": {
465
+ "background-image": "inherit"
466
+ },
467
+ ".bg-clip-inherit": {
468
+ "background-clip": "inherit"
469
+ },
470
+ ".text-fill-inherit": {
471
+ "-webkit-text-fill-color": "inherit"
472
+ },
473
+ ".tap-highlight-transparent": {
474
+ "-webkit-tap-highlight-color": "transparent"
475
+ }
476
+ };
477
+
478
+ // src/utilities/scrollbar-hide.ts
479
+ var scrollbar_hide_default = {
480
+ ".scrollbar-hide": {
481
+ "-ms-overflow-style": "none",
482
+ "scrollbar-width": "none",
483
+ "&::-webkit-scrollbar": {
484
+ display: "none"
485
+ }
486
+ },
487
+ ".scrollbar-default": {
488
+ "-ms-overflow-style": "auto",
489
+ "scrollbar-width": "auto",
490
+ "&::-webkit-scrollbar": {
491
+ display: "block"
492
+ }
493
+ }
494
+ };
495
+
496
+ // src/utilities/index.ts
497
+ var utilities = {
498
+ ...custom_default,
499
+ ...transition_default,
500
+ ...scrollbar_hide_default
501
+ };
502
+
471
503
  // src/utils/classes.ts
472
504
  var baseStyles = (prefix) => ({
473
505
  color: `hsl(var(--${prefix}-foreground))`,