@nextui-org/theme 2.1.8 → 2.1.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 (164) hide show
  1. package/dist/{chunk-77O7KLUI.mjs → chunk-362LGETO.mjs} +1 -1
  2. package/dist/{chunk-23KK2ZAZ.mjs → chunk-5GLH2ERS.mjs} +2 -2
  3. package/dist/{chunk-RYOZQSNI.mjs → chunk-6XG3Y4GM.mjs} +12 -7
  4. package/dist/chunk-76A2UI6G.mjs +243 -0
  5. package/dist/chunk-AQDGQGUV.mjs +391 -0
  6. package/dist/{chunk-NAY2XKLY.mjs → chunk-B6QMTIF2.mjs} +1 -1
  7. package/dist/{chunk-LGRQRHJJ.mjs → chunk-BR6V72YY.mjs} +6 -3
  8. package/dist/{chunk-PJV3MWBL.mjs → chunk-C3KZKKPN.mjs} +182 -49
  9. package/dist/{chunk-2T5RQ7SK.mjs → chunk-CLW3JMFF.mjs} +36 -6
  10. package/dist/{chunk-NW5W5ANO.mjs → chunk-DGMET46Q.mjs} +4 -3
  11. package/dist/{chunk-WBNF66V7.mjs → chunk-F36W5Y6O.mjs} +1 -1
  12. package/dist/{chunk-GNLIYZAQ.mjs → chunk-FUMNSN2H.mjs} +1 -1
  13. package/dist/{chunk-KPK2JQIF.mjs → chunk-G3PB7L4N.mjs} +10 -0
  14. package/dist/{chunk-4DKVPW5Z.mjs → chunk-HBLCAYSX.mjs} +2 -2
  15. package/dist/{chunk-XPLXQDB3.mjs → chunk-HYA3WURA.mjs} +1 -1
  16. package/dist/{chunk-UHF2F2WJ.mjs → chunk-I5E37FAL.mjs} +4 -4
  17. package/dist/{chunk-RPMLQF4Y.mjs → chunk-J6EGGODL.mjs} +5 -5
  18. package/dist/{chunk-XY766PDD.mjs → chunk-J7FVLFSZ.mjs} +1 -1
  19. package/dist/{chunk-GKYVNUGL.mjs → chunk-JMOQB2OS.mjs} +3 -3
  20. package/dist/{chunk-EUS2SEYI.mjs → chunk-JX6O4KJS.mjs} +2 -2
  21. package/dist/{chunk-YSXRNNDV.mjs → chunk-N7N2LONM.mjs} +1 -1
  22. package/dist/{chunk-RHIZZ5XX.mjs → chunk-ODGTGSNM.mjs} +2 -2
  23. package/dist/{chunk-EC4F6RJF.mjs → chunk-PFGLTKGJ.mjs} +1 -1
  24. package/dist/{chunk-FZZINZOQ.mjs → chunk-QF56VSRK.mjs} +23 -6
  25. package/dist/{chunk-YKWIBFFV.mjs → chunk-QWYWYOG6.mjs} +18 -4
  26. package/dist/{chunk-Y32IWEMZ.mjs → chunk-S7W5DQP2.mjs} +3 -3
  27. package/dist/{chunk-F76574GG.mjs → chunk-SCQJ4BM3.mjs} +105 -39
  28. package/dist/{chunk-TIMHSW45.mjs → chunk-TUUOVVH3.mjs} +2 -2
  29. package/dist/{chunk-B55QBA5E.mjs → chunk-VD4MGTVP.mjs} +1 -1
  30. package/dist/{chunk-4JBYJQSP.mjs → chunk-VGHVBXXT.mjs} +1 -1
  31. package/dist/{chunk-WM43BKYH.mjs → chunk-VOTIIGIW.mjs} +3 -3
  32. package/dist/{chunk-O24TFHPZ.mjs → chunk-VPYXYIZ5.mjs} +2 -2
  33. package/dist/{chunk-ADNJ6GPZ.mjs → chunk-VU5TSYMO.mjs} +2 -2
  34. package/dist/{chunk-7MCHEQXT.mjs → chunk-VZI6SR6H.mjs} +4 -1
  35. package/dist/chunk-WBUVHAJX.mjs +37 -0
  36. package/dist/chunk-WHT6K6RC.mjs +58 -0
  37. package/dist/chunk-WNVF6X3M.mjs +171 -0
  38. package/dist/{chunk-Y33ZY7KH.mjs → chunk-WYVG7NY6.mjs} +34 -5
  39. package/dist/{chunk-LQGOKGQV.mjs → chunk-XHQNEGB6.mjs} +1 -1
  40. package/dist/{chunk-T7JNS25F.mjs → chunk-XHQUSKIE.mjs} +10 -1
  41. package/dist/{chunk-MOHT4OBR.mjs → chunk-XNF3KCH7.mjs} +2 -2
  42. package/dist/{chunk-XJU7LDVX.mjs → chunk-Y5WLFHBC.mjs} +74 -9
  43. package/dist/{chunk-XCWQAA5D.mjs → chunk-YRDQW7V4.mjs} +5 -5
  44. package/dist/components/accordion.js +27 -34
  45. package/dist/components/accordion.mjs +3 -3
  46. package/dist/components/autocomplete.d.ts +180 -0
  47. package/dist/components/autocomplete.js +165 -0
  48. package/dist/components/autocomplete.mjs +8 -0
  49. package/dist/components/avatar.js +28 -35
  50. package/dist/components/avatar.mjs +3 -3
  51. package/dist/components/badge.d.ts +7 -7
  52. package/dist/components/badge.js +29 -36
  53. package/dist/components/badge.mjs +3 -3
  54. package/dist/components/breadcrumbs.d.ts +816 -0
  55. package/dist/components/breadcrumbs.js +357 -0
  56. package/dist/components/breadcrumbs.mjs +14 -0
  57. package/dist/components/button.d.ts +7 -7
  58. package/dist/components/button.js +104 -39
  59. package/dist/components/button.mjs +3 -3
  60. package/dist/components/card.js +26 -33
  61. package/dist/components/card.mjs +3 -3
  62. package/dist/components/checkbox.d.ts +163 -36
  63. package/dist/components/checkbox.js +59 -36
  64. package/dist/components/checkbox.mjs +3 -3
  65. package/dist/components/chip.js +26 -33
  66. package/dist/components/chip.mjs +3 -3
  67. package/dist/components/circular-progress.js +25 -32
  68. package/dist/components/circular-progress.mjs +2 -2
  69. package/dist/components/code.js +25 -32
  70. package/dist/components/code.mjs +3 -3
  71. package/dist/components/divider.js +25 -32
  72. package/dist/components/divider.mjs +2 -2
  73. package/dist/components/drip.d.ts +29 -3
  74. package/dist/components/drip.js +25 -32
  75. package/dist/components/drip.mjs +2 -2
  76. package/dist/components/dropdown.d.ts +103 -35
  77. package/dist/components/dropdown.js +25 -32
  78. package/dist/components/dropdown.mjs +3 -3
  79. package/dist/components/image.js +25 -32
  80. package/dist/components/image.mjs +2 -2
  81. package/dist/components/index.d.ts +4 -1
  82. package/dist/components/index.js +1271 -231
  83. package/dist/components/index.mjs +62 -48
  84. package/dist/components/input.d.ts +34 -41
  85. package/dist/components/input.js +205 -79
  86. package/dist/components/input.mjs +3 -3
  87. package/dist/components/kbd.js +25 -32
  88. package/dist/components/kbd.mjs +2 -2
  89. package/dist/components/link.js +25 -32
  90. package/dist/components/link.mjs +3 -3
  91. package/dist/components/listbox.d.ts +1 -1
  92. package/dist/components/listbox.js +41 -34
  93. package/dist/components/listbox.mjs +3 -3
  94. package/dist/components/menu.d.ts +119 -40
  95. package/dist/components/menu.js +41 -34
  96. package/dist/components/menu.mjs +3 -3
  97. package/dist/components/modal.js +25 -32
  98. package/dist/components/modal.mjs +3 -3
  99. package/dist/components/navbar.js +29 -33
  100. package/dist/components/navbar.mjs +3 -3
  101. package/dist/components/pagination.js +46 -36
  102. package/dist/components/pagination.mjs +3 -3
  103. package/dist/components/popover.d.ts +136 -132
  104. package/dist/components/popover.js +98 -94
  105. package/dist/components/popover.mjs +3 -3
  106. package/dist/components/progress.js +25 -32
  107. package/dist/components/progress.mjs +2 -2
  108. package/dist/components/radio.d.ts +135 -36
  109. package/dist/components/radio.js +57 -35
  110. package/dist/components/radio.mjs +3 -3
  111. package/dist/components/scroll-shadow.js +25 -32
  112. package/dist/components/scroll-shadow.mjs +2 -2
  113. package/dist/components/select.d.ts +30 -51
  114. package/dist/components/select.js +128 -69
  115. package/dist/components/select.mjs +3 -3
  116. package/dist/components/skeleton.js +26 -33
  117. package/dist/components/skeleton.mjs +2 -2
  118. package/dist/components/slider.d.ts +1024 -0
  119. package/dist/components/slider.js +504 -0
  120. package/dist/components/slider.mjs +12 -0
  121. package/dist/components/snippet.js +25 -32
  122. package/dist/components/snippet.mjs +3 -3
  123. package/dist/components/spacer.js +25 -32
  124. package/dist/components/spacer.mjs +2 -2
  125. package/dist/components/spinner.js +25 -32
  126. package/dist/components/spinner.mjs +2 -2
  127. package/dist/components/table.js +25 -32
  128. package/dist/components/table.mjs +3 -3
  129. package/dist/components/tabs.js +25 -32
  130. package/dist/components/tabs.mjs +3 -3
  131. package/dist/components/toggle.js +25 -32
  132. package/dist/components/toggle.mjs +3 -3
  133. package/dist/components/user.d.ts +45 -29
  134. package/dist/components/user.js +25 -32
  135. package/dist/components/user.mjs +3 -3
  136. package/dist/default-layout.js +4 -1
  137. package/dist/default-layout.mjs +1 -1
  138. package/dist/index.d.ts +5 -2
  139. package/dist/index.js +1381 -320
  140. package/dist/index.mjs +69 -53
  141. package/dist/plugin.js +24 -5
  142. package/dist/plugin.mjs +6 -6
  143. package/dist/types.d.ts +8 -0
  144. package/dist/utilities/index.d.ts +10 -0
  145. package/dist/utilities/index.js +10 -0
  146. package/dist/utilities/index.mjs +2 -2
  147. package/dist/utilities/transition.d.ts +10 -0
  148. package/dist/utilities/transition.js +10 -0
  149. package/dist/utilities/transition.mjs +1 -1
  150. package/dist/utils/classes.d.ts +13 -1
  151. package/dist/utils/classes.js +10 -0
  152. package/dist/utils/classes.mjs +3 -1
  153. package/dist/utils/index.d.ts +1 -1
  154. package/dist/utils/index.js +10 -0
  155. package/dist/utils/index.mjs +3 -1
  156. package/dist/utils/theme.js +4 -3
  157. package/dist/utils/theme.mjs +1 -1
  158. package/dist/utils/tv.d.ts +2 -2
  159. package/dist/utils/tv.js +25 -32
  160. package/dist/utils/tv.mjs +1 -1
  161. package/package.json +9 -9
  162. package/dist/chunk-6AEINX52.mjs +0 -44
  163. package/dist/chunk-SN5GEHHN.mjs +0 -160
  164. /package/dist/{chunk-RH7YHIQY.mjs → chunk-T6HAGWX5.mjs} +0 -0
@@ -0,0 +1,171 @@
1
+ import {
2
+ colorVariants
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-WBUVHAJX.mjs";
7
+ import {
8
+ dataFocusVisibleClasses
9
+ } from "./chunk-XHQUSKIE.mjs";
10
+
11
+ // src/components/popover.ts
12
+ var popover = tv({
13
+ slots: {
14
+ base: [
15
+ "z-0",
16
+ "relative",
17
+ "bg-transparent",
18
+ "before:content-['']",
19
+ "before:hidden",
20
+ "before:z-[-1]",
21
+ "before:absolute",
22
+ "before:rotate-45",
23
+ "before:w-2.5",
24
+ "before:h-2.5",
25
+ "before:rounded-sm",
26
+ "data-[arrow=true]:before:block",
27
+ "data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
28
+ "data-[placement=top]:before:left-1/2",
29
+ "data-[placement=top]:before:-translate-x-1/2",
30
+ "data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
31
+ "data-[placement=top-start]:before:left-3",
32
+ "data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
33
+ "data-[placement=top-end]:before:right-3",
34
+ "data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
35
+ "data-[placement=bottom]:before:left-1/2",
36
+ "data-[placement=bottom]:before:-translate-x-1/2",
37
+ "data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
38
+ "data-[placement=bottom-start]:before:left-3",
39
+ "data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
40
+ "data-[placement=bottom-end]:before:right-3",
41
+ "data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]",
42
+ "data-[placement=left]:before:top-1/2",
43
+ "data-[placement=left]:before:-translate-y-1/2",
44
+ "data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
45
+ "data-[placement=left-start]:before:top-1/4",
46
+ "data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
47
+ "data-[placement=left-end]:before:bottom-1/4",
48
+ "data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]",
49
+ "data-[placement=right]:before:top-1/2",
50
+ "data-[placement=right]:before:-translate-y-1/2",
51
+ "data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
52
+ "data-[placement=right-start]:before:top-1/4",
53
+ "data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
54
+ "data-[placement=right-end]:before:bottom-1/4",
55
+ ...dataFocusVisibleClasses
56
+ ],
57
+ content: [
58
+ "z-10",
59
+ "px-2.5",
60
+ "py-1",
61
+ "w-full",
62
+ "inline-flex",
63
+ "flex-col",
64
+ "items-center",
65
+ "justify-center",
66
+ "box-border",
67
+ "subpixel-antialiased",
68
+ "outline-none",
69
+ "box-border"
70
+ ],
71
+ trigger: ["z-10"],
72
+ backdrop: ["hidden"],
73
+ arrow: []
74
+ },
75
+ variants: {
76
+ size: {
77
+ sm: { content: "text-tiny" },
78
+ md: { content: "text-small" },
79
+ lg: { content: "text-medium" }
80
+ },
81
+ color: {
82
+ default: {
83
+ base: "before:bg-content1 before:shadow-small",
84
+ content: "bg-content1"
85
+ },
86
+ foreground: {
87
+ base: "before:bg-foreground",
88
+ content: colorVariants.solid.foreground
89
+ },
90
+ primary: {
91
+ base: "before:bg-primary",
92
+ content: colorVariants.solid.primary
93
+ },
94
+ secondary: {
95
+ base: "before:bg-secondary",
96
+ content: colorVariants.solid.secondary
97
+ },
98
+ success: {
99
+ base: "before:bg-success",
100
+ content: colorVariants.solid.success
101
+ },
102
+ warning: {
103
+ base: "before:bg-warning",
104
+ content: colorVariants.solid.warning
105
+ },
106
+ danger: {
107
+ base: "before:bg-danger",
108
+ content: colorVariants.solid.danger
109
+ }
110
+ },
111
+ radius: {
112
+ none: { content: "rounded-none" },
113
+ sm: { content: "rounded-small" },
114
+ md: { content: "rounded-medium" },
115
+ lg: { content: "rounded-large" },
116
+ full: { content: "rounded-full" }
117
+ },
118
+ shadow: {
119
+ sm: {
120
+ content: "shadow-small"
121
+ },
122
+ md: {
123
+ content: "shadow-medium"
124
+ },
125
+ lg: {
126
+ content: "shadow-large"
127
+ }
128
+ },
129
+ backdrop: {
130
+ transparent: {},
131
+ opaque: {
132
+ backdrop: "bg-overlay/50 backdrop-opacity-disabled"
133
+ },
134
+ blur: {
135
+ backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"
136
+ }
137
+ },
138
+ triggerScaleOnOpen: {
139
+ true: {
140
+ trigger: ["aria-expanded:scale-[0.97]", "aria-expanded:opacity-70", "subpixel-antialiased"]
141
+ },
142
+ false: {}
143
+ },
144
+ disableAnimation: {
145
+ true: {
146
+ base: "animate-none"
147
+ }
148
+ }
149
+ },
150
+ defaultVariants: {
151
+ color: "default",
152
+ radius: "lg",
153
+ size: "md",
154
+ shadow: "md",
155
+ backdrop: "transparent",
156
+ disableAnimation: false,
157
+ triggerScaleOnOpen: true
158
+ },
159
+ compoundVariants: [
160
+ {
161
+ backdrop: ["opaque", "blur"],
162
+ class: {
163
+ backdrop: "block w-full h-full fixed inset-0 -z-30"
164
+ }
165
+ }
166
+ ]
167
+ });
168
+
169
+ export {
170
+ popover
171
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-6AEINX52.mjs";
3
+ } from "./chunk-WBUVHAJX.mjs";
4
4
  import {
5
5
  groupDataFocusVisibleClasses
6
- } from "./chunk-T7JNS25F.mjs";
6
+ } from "./chunk-XHQUSKIE.mjs";
7
7
 
8
8
  // src/components/radio.ts
9
9
  var radio = tv({
@@ -97,7 +97,7 @@ var radio = tv({
97
97
  isInvalid: {
98
98
  true: {
99
99
  control: "bg-danger text-danger-foreground",
100
- wrapper: "border-danger data-[selected=true]:border-danger",
100
+ wrapper: "border-danger group-data-[selected=true]:border-danger",
101
101
  label: "text-danger",
102
102
  description: "text-danger-300"
103
103
  }
@@ -105,8 +105,14 @@ var radio = tv({
105
105
  disableAnimation: {
106
106
  true: {},
107
107
  false: {
108
- wrapper: ["group-data-[pressed=true]:scale-95", "transition-transform-background"],
109
- control: "transition-transform-opacity"
108
+ wrapper: [
109
+ "group-data-[pressed=true]:scale-95",
110
+ "transition-transform-colors",
111
+ "motion-reduce:transition-none"
112
+ ],
113
+ control: "transition-transform-opacity motion-reduce:transition-none",
114
+ label: "transition-colors motion-reduce:transition-none",
115
+ description: "transition-colors motion-reduce:transition-none"
110
116
  }
111
117
  }
112
118
  },
@@ -125,6 +131,29 @@ var radioGroup = tv({
125
131
  wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
126
132
  description: "text-tiny text-foreground-400",
127
133
  errorMessage: "text-tiny text-danger"
134
+ },
135
+ variants: {
136
+ isRequired: {
137
+ true: {
138
+ label: "after:content-['*'] after:text-danger after:ml-0.5"
139
+ }
140
+ },
141
+ isInvalid: {
142
+ true: {
143
+ description: "text-danger"
144
+ }
145
+ },
146
+ disableAnimation: {
147
+ true: {},
148
+ false: {
149
+ description: "transition-colors !duration-150 motion-reduce:transition-none"
150
+ }
151
+ }
152
+ },
153
+ defaultVariants: {
154
+ isInvalid: false,
155
+ isRequired: false,
156
+ disableAnimation: false
128
157
  }
129
158
  });
130
159
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-6AEINX52.mjs";
3
+ } from "./chunk-WBUVHAJX.mjs";
4
4
 
5
5
  // src/components/progress.ts
6
6
  var progress = tv(
@@ -39,6 +39,14 @@ var translateCenterClasses = [
39
39
  "-translate-y-1/2"
40
40
  ];
41
41
  var absoluteFullClasses = ["absolute", "inset-0"];
42
+ var collapseAdjacentVariantBorders = {
43
+ default: ["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],
44
+ primary: ["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
45
+ secondary: ["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
46
+ success: ["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],
47
+ warning: ["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],
48
+ danger: ["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]
49
+ };
42
50
 
43
51
  export {
44
52
  baseStyles,
@@ -47,5 +55,6 @@ export {
47
55
  groupDataFocusVisibleClasses,
48
56
  ringClasses,
49
57
  translateCenterClasses,
50
- absoluteFullClasses
58
+ absoluteFullClasses,
59
+ collapseAdjacentVariantBorders
51
60
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-6AEINX52.mjs";
3
+ } from "./chunk-WBUVHAJX.mjs";
4
4
  import {
5
5
  dataFocusVisibleClasses
6
- } from "./chunk-T7JNS25F.mjs";
6
+ } from "./chunk-XHQUSKIE.mjs";
7
7
 
8
8
  // src/components/link.ts
9
9
  var link = tv({
@@ -3,10 +3,11 @@ import {
3
3
  } from "./chunk-2PIR7DFM.mjs";
4
4
  import {
5
5
  tv
6
- } from "./chunk-6AEINX52.mjs";
6
+ } from "./chunk-WBUVHAJX.mjs";
7
7
  import {
8
+ collapseAdjacentVariantBorders,
8
9
  dataFocusVisibleClasses
9
- } from "./chunk-T7JNS25F.mjs";
10
+ } from "./chunk-XHQUSKIE.mjs";
10
11
 
11
12
  // src/components/button.ts
12
13
  var button = tv({
@@ -74,7 +75,7 @@ var button = tv({
74
75
  },
75
76
  disableAnimation: {
76
77
  true: "!transition-none",
77
- false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none"
78
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"
78
79
  }
79
80
  },
80
81
  defaultVariants: {
@@ -297,30 +298,90 @@ var button = tv({
297
298
  color: "danger",
298
299
  class: colorVariants.ghost.danger
299
300
  },
301
+ {
302
+ isInGroup: true,
303
+ class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
304
+ },
300
305
  {
301
306
  isInGroup: true,
302
307
  size: "sm",
303
- class: "rounded-none first:rounded-l-small last:rounded-r-small"
308
+ class: "rounded-none first:rounded-s-small last:rounded-e-small"
304
309
  },
305
310
  {
306
311
  isInGroup: true,
307
312
  size: "md",
308
- class: "rounded-none first:rounded-l-medium last:rounded-r-medium"
313
+ class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
309
314
  },
310
315
  {
311
316
  isInGroup: true,
312
317
  size: "lg",
313
- class: "rounded-none first:rounded-l-large last:rounded-r-large"
318
+ class: "rounded-none first:rounded-s-large last:rounded-e-large"
314
319
  },
315
320
  {
316
321
  isInGroup: true,
317
322
  isRounded: true,
318
- class: "rounded-none first:rounded-l-full last:rounded-r-full"
323
+ class: "rounded-none first:rounded-s-full last:rounded-e-full"
324
+ },
325
+ {
326
+ isInGroup: true,
327
+ radius: "none",
328
+ class: "rounded-none first:rounded-s-none last:rounded-e-none"
319
329
  },
320
330
  {
321
331
  isInGroup: true,
322
- variant: ["bordered", "ghost"],
323
- class: "[&:not(:first-child)]:ml-[calc(theme(borderWidth.medium)*-1)]"
332
+ radius: "sm",
333
+ class: "rounded-none first:rounded-s-small last:rounded-e-small"
334
+ },
335
+ {
336
+ isInGroup: true,
337
+ radius: "md",
338
+ class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
339
+ },
340
+ {
341
+ isInGroup: true,
342
+ radius: "lg",
343
+ class: "rounded-none first:rounded-s-large last:rounded-e-large"
344
+ },
345
+ {
346
+ isInGroup: true,
347
+ radius: "full",
348
+ class: "rounded-none first:rounded-s-full last:rounded-e-full"
349
+ },
350
+ {
351
+ isInGroup: true,
352
+ variant: ["ghost", "bordered"],
353
+ color: "default",
354
+ className: collapseAdjacentVariantBorders.default
355
+ },
356
+ {
357
+ isInGroup: true,
358
+ variant: ["ghost", "bordered"],
359
+ color: "primary",
360
+ className: collapseAdjacentVariantBorders.primary
361
+ },
362
+ {
363
+ isInGroup: true,
364
+ variant: ["ghost", "bordered"],
365
+ color: "secondary",
366
+ className: collapseAdjacentVariantBorders.secondary
367
+ },
368
+ {
369
+ isInGroup: true,
370
+ variant: ["ghost", "bordered"],
371
+ color: "success",
372
+ className: collapseAdjacentVariantBorders.success
373
+ },
374
+ {
375
+ isInGroup: true,
376
+ variant: ["ghost", "bordered"],
377
+ color: "warning",
378
+ className: collapseAdjacentVariantBorders.warning
379
+ },
380
+ {
381
+ isInGroup: true,
382
+ variant: ["ghost", "bordered"],
383
+ color: "danger",
384
+ className: collapseAdjacentVariantBorders.danger
324
385
  },
325
386
  {
326
387
  isIconOnly: true,
@@ -336,6 +397,10 @@ var button = tv({
336
397
  isIconOnly: true,
337
398
  size: "lg",
338
399
  class: "min-w-unit-12 w-unit-12 h-unit-12"
400
+ },
401
+ {
402
+ variant: ["solid", "faded", "flat", "bordered", "shadow"],
403
+ class: "data-[hover=true]:opacity-hover"
339
404
  }
340
405
  ]
341
406
  });
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2PIR7DFM.mjs";
4
4
  import {
5
5
  tv
6
- } from "./chunk-6AEINX52.mjs";
6
+ } from "./chunk-WBUVHAJX.mjs";
7
7
 
8
8
  // src/components/badge.ts
9
9
  var badge = tv({
@@ -87,12 +87,12 @@ var badge = tv({
87
87
  badge: "transition-transform-opacity !ease-soft-spring !duration-300"
88
88
  }
89
89
  },
90
- disableOutline: {
90
+ showOutline: {
91
91
  true: {
92
- badge: "border-transparent border-0"
92
+ badge: "border-2 border-background"
93
93
  },
94
94
  false: {
95
- badge: "border-2 border-background"
95
+ badge: "border-transparent border-0"
96
96
  }
97
97
  }
98
98
  },
@@ -102,7 +102,7 @@ var badge = tv({
102
102
  size: "md",
103
103
  shape: "rectangle",
104
104
  placement: "top-right",
105
- disableOutline: false,
105
+ showOutline: true,
106
106
  disableAnimation: false,
107
107
  isInvisible: false
108
108
  },
@@ -83,39 +83,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
83
83
 
84
84
  // src/utils/tv.ts
85
85
  var COMMON_UNITS = ["small", "medium", "large"];
86
- var tv = (options, config) => {
87
- var _a, _b, _c;
88
- return (0, import_tailwind_variants.tv)(options, {
89
- ...config,
90
- twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
91
- twMergeConfig: {
92
- ...config == null ? void 0 : config.twMergeConfig,
93
- theme: {
94
- ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
95
- opacity: ["disabled"],
96
- spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
97
- borderWidth: COMMON_UNITS,
98
- borderRadius: COMMON_UNITS
99
- },
100
- classGroups: {
101
- ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
102
- shadow: [{ shadow: COMMON_UNITS }],
103
- "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
104
- "bg-image": ["bg-stripe-gradient"],
105
- "min-w": [
106
- {
107
- "min-w": ["unit", ...mappedSpacingScaleKeys]
108
- }
109
- ],
110
- "min-h": [
111
- {
112
- "min-h": ["unit", ...mappedSpacingScaleKeys]
113
- }
114
- ]
115
- }
86
+ var tv = (0, import_tailwind_variants.createTV)({
87
+ twMerge: true,
88
+ twMergeConfig: {
89
+ theme: {
90
+ opacity: ["disabled"],
91
+ spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
92
+ borderWidth: COMMON_UNITS,
93
+ borderRadius: COMMON_UNITS
94
+ },
95
+ classGroups: {
96
+ shadow: [{ shadow: COMMON_UNITS }],
97
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
98
+ "bg-image": ["bg-stripe-gradient"],
99
+ "min-w": [
100
+ {
101
+ "min-w": ["unit", ...mappedSpacingScaleKeys]
102
+ }
103
+ ],
104
+ "min-h": [
105
+ {
106
+ "min-h": ["unit", ...mappedSpacingScaleKeys]
107
+ }
108
+ ]
116
109
  }
117
- });
118
- };
110
+ }
111
+ });
119
112
 
120
113
  // src/utils/classes.ts
121
114
  var dataFocusVisibleClasses = [
@@ -160,7 +153,7 @@ var accordionItem = tv({
160
153
  ],
161
154
  startContent: "flex-shrink-0",
162
155
  indicator: "text-default-400",
163
- titleWrapper: "flex-1 flex flex-col text-left",
156
+ titleWrapper: "flex-1 flex flex-col text-start",
164
157
  title: "text-foreground text-large",
165
158
  subtitle: "text-small text-foreground-500 font-normal",
166
159
  content: "py-2"
@@ -199,7 +192,7 @@ var accordionItem = tv({
199
192
  indicator: "transition-none"
200
193
  },
201
194
  false: {
202
- indicator: "rotate-0 data-[open=true]:-rotate-90"
195
+ indicator: "rotate-0 data-[open=true]:-rotate-90 rtl:-rotate-180 rtl:data-[open=true]:-rotate-90"
203
196
  }
204
197
  }
205
198
  },
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  accordion,
3
3
  accordionItem
4
- } from "../chunk-UHF2F2WJ.mjs";
4
+ } from "../chunk-I5E37FAL.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
6
  import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
9
- import "../chunk-T7JNS25F.mjs";
8
+ import "../chunk-WBUVHAJX.mjs";
9
+ import "../chunk-XHQUSKIE.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
12
12
  accordion,