@deepnoid/ui 0.1.223 → 1.0.0

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 (252) hide show
  1. package/.turbo/turbo-build.log +266 -251
  2. package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
  3. package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
  4. package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
  5. package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
  6. package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
  7. package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
  8. package/dist/chunk-63JRWMWN.mjs +215 -0
  9. package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
  10. package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
  11. package/dist/chunk-A6UUVHC6.mjs +38 -0
  12. package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
  13. package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
  14. package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
  15. package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
  16. package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
  17. package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
  18. package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
  19. package/dist/chunk-E4VJDQD5.mjs +142 -0
  20. package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
  21. package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
  22. package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
  23. package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
  24. package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
  25. package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
  26. package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
  27. package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
  28. package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
  29. package/dist/chunk-MV2WCFK7.mjs +1 -0
  30. package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
  31. package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
  32. package/dist/chunk-OK34FKBQ.mjs +224 -0
  33. package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
  34. package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
  35. package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
  36. package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
  37. package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
  38. package/dist/chunk-RFHWRBAB.mjs +105 -0
  39. package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
  40. package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
  41. package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
  42. package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
  43. package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
  44. package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
  45. package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
  46. package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
  47. package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
  48. package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
  49. package/dist/chunk-Z4NO7SMY.mjs +460 -0
  50. package/dist/components/accordion/accordion.js +366 -4
  51. package/dist/components/accordion/accordion.mjs +2 -2
  52. package/dist/components/accordion/accordionItem.js +366 -4
  53. package/dist/components/accordion/accordionItem.mjs +2 -2
  54. package/dist/components/accordion/index.js +366 -4
  55. package/dist/components/accordion/index.mjs +3 -3
  56. package/dist/components/avatar/avatar.js +472 -44
  57. package/dist/components/avatar/avatar.mjs +3 -3
  58. package/dist/components/avatar/index.js +472 -44
  59. package/dist/components/avatar/index.mjs +3 -3
  60. package/dist/components/backdrop/backdrop.js +366 -4
  61. package/dist/components/backdrop/backdrop.mjs +2 -2
  62. package/dist/components/backdrop/index.js +366 -4
  63. package/dist/components/backdrop/index.mjs +2 -2
  64. package/dist/components/breadcrumb/breadcrumb.js +951 -74
  65. package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
  66. package/dist/components/breadcrumb/index.js +951 -74
  67. package/dist/components/breadcrumb/index.mjs +10 -9
  68. package/dist/components/button/button-group.js +366 -4
  69. package/dist/components/button/button-group.mjs +2 -2
  70. package/dist/components/button/button.d.mts +82 -119
  71. package/dist/components/button/button.d.ts +82 -119
  72. package/dist/components/button/button.js +966 -355
  73. package/dist/components/button/button.mjs +6 -5
  74. package/dist/components/button/button.style.d.mts +89 -0
  75. package/dist/components/button/button.style.d.ts +89 -0
  76. package/dist/components/button/button.style.js +1172 -0
  77. package/dist/components/button/button.style.mjs +9 -0
  78. package/dist/components/button/icon-button.d.mts +45 -46
  79. package/dist/components/button/icon-button.d.ts +45 -46
  80. package/dist/components/button/icon-button.js +1125 -527
  81. package/dist/components/button/icon-button.mjs +6 -5
  82. package/dist/components/button/index.js +1154 -830
  83. package/dist/components/button/index.mjs +9 -8
  84. package/dist/components/button/text-button.d.mts +59 -39
  85. package/dist/components/button/text-button.d.ts +59 -39
  86. package/dist/components/button/text-button.js +831 -21
  87. package/dist/components/button/text-button.mjs +3 -2
  88. package/dist/components/charts/areaChart.js +366 -4
  89. package/dist/components/charts/areaChart.mjs +2 -2
  90. package/dist/components/charts/barChart.js +366 -4
  91. package/dist/components/charts/barChart.mjs +2 -2
  92. package/dist/components/charts/circularProgress.js +366 -4
  93. package/dist/components/charts/circularProgress.mjs +2 -2
  94. package/dist/components/charts/index.js +366 -4
  95. package/dist/components/charts/index.mjs +6 -6
  96. package/dist/components/charts/radarChart.js +366 -4
  97. package/dist/components/charts/radarChart.mjs +2 -2
  98. package/dist/components/charts/simpleBarChart.js +366 -4
  99. package/dist/components/charts/simpleBarChart.mjs +2 -2
  100. package/dist/components/checkbox/checkbox.js +376 -42
  101. package/dist/components/checkbox/checkbox.mjs +2 -2
  102. package/dist/components/checkbox/index.js +376 -42
  103. package/dist/components/checkbox/index.mjs +2 -2
  104. package/dist/components/chip/chip.d.mts +32 -0
  105. package/dist/components/chip/chip.d.ts +32 -0
  106. package/dist/components/chip/chip.js +496 -57
  107. package/dist/components/chip/chip.mjs +4 -4
  108. package/dist/components/chip/index.js +496 -57
  109. package/dist/components/chip/index.mjs +4 -4
  110. package/dist/components/drawer/drawer.js +366 -4
  111. package/dist/components/drawer/drawer.mjs +2 -2
  112. package/dist/components/drawer/index.js +366 -4
  113. package/dist/components/drawer/index.mjs +2 -2
  114. package/dist/components/fileUpload/fileUpload.js +1014 -402
  115. package/dist/components/fileUpload/fileUpload.mjs +12 -11
  116. package/dist/components/fileUpload/index.js +1014 -402
  117. package/dist/components/fileUpload/index.mjs +12 -11
  118. package/dist/components/icon/Icon.d.mts +23 -10
  119. package/dist/components/icon/Icon.d.ts +23 -10
  120. package/dist/components/icon/Icon.js +120 -53
  121. package/dist/components/icon/Icon.mjs +2 -2
  122. package/dist/components/icon/index.js +120 -53
  123. package/dist/components/icon/index.mjs +2 -2
  124. package/dist/components/icon/template.d.mts +5 -2
  125. package/dist/components/icon/template.d.ts +5 -2
  126. package/dist/components/icon/template.js +106 -40
  127. package/dist/components/icon/template.mjs +1 -1
  128. package/dist/components/input/index.js +511 -82
  129. package/dist/components/input/index.mjs +4 -4
  130. package/dist/components/input/input.js +511 -82
  131. package/dist/components/input/input.mjs +4 -4
  132. package/dist/components/list/index.js +486 -57
  133. package/dist/components/list/index.mjs +6 -6
  134. package/dist/components/list/list.js +366 -4
  135. package/dist/components/list/list.mjs +2 -2
  136. package/dist/components/list/listItem.js +486 -57
  137. package/dist/components/list/listItem.mjs +5 -5
  138. package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
  139. package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
  140. package/dist/components/modal/GlobalModalProvider.js +1028 -416
  141. package/dist/components/modal/GlobalModalProvider.mjs +12 -11
  142. package/dist/components/modal/index.d.mts +2 -0
  143. package/dist/components/modal/index.d.ts +2 -0
  144. package/dist/components/modal/index.js +1028 -416
  145. package/dist/components/modal/index.mjs +13 -12
  146. package/dist/components/modal/modal.d.mts +101 -29
  147. package/dist/components/modal/modal.d.ts +101 -29
  148. package/dist/components/modal/modal.js +1028 -416
  149. package/dist/components/modal/modal.mjs +11 -10
  150. package/dist/components/modal/useGlobalModal.d.mts +2 -0
  151. package/dist/components/modal/useGlobalModal.d.ts +2 -0
  152. package/dist/components/modal/useGlobalModal.mjs +13 -12
  153. package/dist/components/pagination/index.js +598 -212
  154. package/dist/components/pagination/index.mjs +5 -5
  155. package/dist/components/pagination/pagination.js +598 -212
  156. package/dist/components/pagination/pagination.mjs +5 -5
  157. package/dist/components/picker/datePicker.js +1029 -705
  158. package/dist/components/picker/datePicker.mjs +12 -11
  159. package/dist/components/picker/day.js +366 -4
  160. package/dist/components/picker/day.mjs +2 -2
  161. package/dist/components/picker/index.js +1027 -703
  162. package/dist/components/picker/index.mjs +15 -14
  163. package/dist/components/picker/timePicker/Panel.js +831 -21
  164. package/dist/components/picker/timePicker/Panel.mjs +10 -9
  165. package/dist/components/picker/timePicker/index.js +976 -99
  166. package/dist/components/picker/timePicker/index.mjs +12 -11
  167. package/dist/components/progress/index.js +381 -18
  168. package/dist/components/progress/index.mjs +2 -2
  169. package/dist/components/progress/progress.d.mts +21 -18
  170. package/dist/components/progress/progress.d.ts +21 -18
  171. package/dist/components/progress/progress.js +381 -18
  172. package/dist/components/progress/progress.mjs +2 -2
  173. package/dist/components/radio/index.js +389 -41
  174. package/dist/components/radio/index.mjs +2 -2
  175. package/dist/components/radio/radio.d.mts +33 -48
  176. package/dist/components/radio/radio.d.ts +33 -48
  177. package/dist/components/radio/radio.js +389 -41
  178. package/dist/components/radio/radio.mjs +2 -2
  179. package/dist/components/ripple/index.mjs +3 -3
  180. package/dist/components/select/index.js +819 -221
  181. package/dist/components/select/index.mjs +10 -9
  182. package/dist/components/select/select.js +819 -221
  183. package/dist/components/select/select.mjs +10 -9
  184. package/dist/components/slider/index.d.mts +4 -0
  185. package/dist/components/slider/index.d.ts +4 -0
  186. package/dist/components/slider/index.js +955 -0
  187. package/dist/components/slider/index.mjs +11 -0
  188. package/dist/components/slider/slider.d.mts +158 -0
  189. package/dist/components/slider/slider.d.ts +158 -0
  190. package/dist/components/slider/slider.js +949 -0
  191. package/dist/components/slider/slider.mjs +10 -0
  192. package/dist/components/starRating/index.js +486 -57
  193. package/dist/components/starRating/index.mjs +4 -4
  194. package/dist/components/starRating/starRating.js +486 -57
  195. package/dist/components/starRating/starRating.mjs +4 -4
  196. package/dist/components/switch/index.js +22 -25
  197. package/dist/components/switch/index.mjs +1 -1
  198. package/dist/components/switch/switch.d.mts +0 -18
  199. package/dist/components/switch/switch.d.ts +0 -18
  200. package/dist/components/switch/switch.js +22 -25
  201. package/dist/components/switch/switch.mjs +1 -1
  202. package/dist/components/table/definition-table.js +366 -4
  203. package/dist/components/table/definition-table.mjs +2 -2
  204. package/dist/components/table/form-table.js +366 -4
  205. package/dist/components/table/form-table.mjs +1 -1
  206. package/dist/components/table/index.js +679 -291
  207. package/dist/components/table/index.mjs +10 -10
  208. package/dist/components/table/table-body.js +679 -291
  209. package/dist/components/table/table-body.mjs +7 -7
  210. package/dist/components/table/table-head.js +679 -291
  211. package/dist/components/table/table-head.mjs +7 -7
  212. package/dist/components/table/table.d.mts +8 -29
  213. package/dist/components/table/table.d.ts +8 -29
  214. package/dist/components/table/table.js +679 -291
  215. package/dist/components/table/table.mjs +7 -7
  216. package/dist/components/tabs/index.js +366 -4
  217. package/dist/components/tabs/index.mjs +2 -2
  218. package/dist/components/tabs/tabs.js +366 -4
  219. package/dist/components/tabs/tabs.mjs +2 -2
  220. package/dist/components/textarea/index.js +67 -38
  221. package/dist/components/textarea/index.mjs +1 -1
  222. package/dist/components/textarea/textarea.d.mts +21 -0
  223. package/dist/components/textarea/textarea.d.ts +21 -0
  224. package/dist/components/textarea/textarea.js +67 -38
  225. package/dist/components/textarea/textarea.mjs +1 -1
  226. package/dist/components/timePicker/calendar.js +486 -57
  227. package/dist/components/timePicker/calendar.mjs +3 -3
  228. package/dist/components/toast/index.js +486 -57
  229. package/dist/components/toast/index.mjs +5 -5
  230. package/dist/components/toast/toast.js +486 -57
  231. package/dist/components/toast/toast.mjs +4 -4
  232. package/dist/components/toast/use-toast.js +486 -57
  233. package/dist/components/toast/use-toast.mjs +5 -5
  234. package/dist/components/tooltip/index.js +366 -4
  235. package/dist/components/tooltip/index.mjs +2 -2
  236. package/dist/components/tooltip/tooltip.js +366 -4
  237. package/dist/components/tooltip/tooltip.mjs +2 -2
  238. package/dist/components/tree/index.js +486 -57
  239. package/dist/components/tree/index.mjs +4 -4
  240. package/dist/components/tree/tree.js +486 -57
  241. package/dist/components/tree/tree.mjs +4 -4
  242. package/dist/index.d.mts +1 -0
  243. package/dist/index.d.ts +1 -0
  244. package/dist/index.js +1705 -1281
  245. package/dist/index.mjs +76 -70
  246. package/dist/utils/tailwind-variants.js +366 -4
  247. package/dist/utils/tailwind-variants.mjs +1 -1
  248. package/package.json +1 -1
  249. package/dist/chunk-6AID2NLT.mjs +0 -37
  250. package/dist/chunk-BBRO35V3.mjs +0 -385
  251. package/dist/chunk-EVJ46M3U.mjs +0 -141
  252. package/dist/chunk-SKX5QPUD.mjs +0 -482
@@ -72,7 +72,7 @@ var Switch = (0, import_react.forwardRef)((originalProps, ref) => {
72
72
  onChange
73
73
  }
74
74
  ),
75
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
75
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) })
76
76
  ] });
77
77
  });
78
78
  Switch.displayName = "Switch";
@@ -80,16 +80,6 @@ var switch_default = Switch;
80
80
  var switchStyle = (0, import_tailwind_variants.tv)({
81
81
  slots: {
82
82
  base: ["group/switch", "relative", "max-w-fit", "inline-flex", "items-center", "justify-start", "cursor-pointer"],
83
- outerWrapper: [
84
- "relative",
85
- "inline-flex",
86
- "items-center",
87
- "justify-start",
88
- "flex-shrink-0",
89
- "bg-neutral-soft",
90
- "overflow-hidden",
91
- "rounded-full"
92
- ],
93
83
  wrapper: [
94
84
  "relative",
95
85
  "inline-flex",
@@ -98,6 +88,7 @@ var switchStyle = (0, import_tailwind_variants.tv)({
98
88
  "flex-shrink-0",
99
89
  "overflow-hidden",
100
90
  "bg-neutral-light",
91
+ "ring-neutral-soft",
101
92
  "rounded-full"
102
93
  ],
103
94
  thumb: [
@@ -114,23 +105,19 @@ var switchStyle = (0, import_tailwind_variants.tv)({
114
105
  variants: {
115
106
  size: {
116
107
  sm: {
117
- outerWrapper: ["w-[32px]", "h-[16px]", "p-[2px]"],
118
- wrapper: ["w-[28px]", "h-[12px]", "p-[2px]"],
108
+ wrapper: ["w-[28px]", "h-[12px]", "p-[2px]", "ring-2"],
119
109
  thumb: ["w-[8px]", "h-[8px]", "group-has-[:checked]/switch:ml-[16px]"]
120
110
  },
121
111
  md: {
122
- outerWrapper: ["w-[48px]", "h-[24px]", "px-[3px]"],
123
- wrapper: ["w-[42px]", "h-[16px]", "px-[3px]"],
112
+ wrapper: ["w-[42px]", "h-[18px]", "p-[3px]", "ring-3"],
124
113
  thumb: ["w-[12px]", "h-[12px]", "group-has-[:checked]/switch:ml-[24px]"]
125
114
  },
126
115
  lg: {
127
- outerWrapper: ["w-[64px]", "h-[32px]", "px-[4px]"],
128
- wrapper: ["w-[56px]", "h-[24px]", "px-[4px]"],
116
+ wrapper: ["w-[56px]", "h-[24px]", "p-[4px]", "ring-4"],
129
117
  thumb: ["w-[16px]", "h-[16px]", "group-has-[:checked]/switch:ml-[32px]"]
130
118
  },
131
119
  xl: {
132
- outerWrapper: ["w-[80px]", "h-[40px]", "px-[5px]"],
133
- wrapper: ["w-[70px]", "h-[30px]", "px-[5px]"],
120
+ wrapper: ["w-[70px]", "h-[30px]", "p-[5px]", "ring-5"],
134
121
  thumb: ["w-[20px]", "h-[20px]", "group-has-[:checked]/switch:ml-[40px]"]
135
122
  }
136
123
  },
@@ -141,8 +128,12 @@ var switchStyle = (0, import_tailwind_variants.tv)({
141
128
  disabled: {
142
129
  true: {
143
130
  base: ["!pointer-events-none"],
144
- outerWrapper: ["!bg-neutral-soft"],
145
- wrapper: ["!bg-neutral-light", "!group-has-[:checked]/switch:bg-neutral-light", "!hover:bg-neutral-light"],
131
+ wrapper: [
132
+ "!bg-neutral-light",
133
+ "!ring-neutral-soft",
134
+ "!group-has-[:checked]/switch:bg-neutral-light",
135
+ "!hover:bg-neutral-light"
136
+ ],
146
137
  thumb: ["!bg-trans-light"]
147
138
  }
148
139
  },
@@ -161,15 +152,21 @@ var switchStyle = (0, import_tailwind_variants.tv)({
161
152
  {
162
153
  color: "primary",
163
154
  class: {
164
- outerWrapper: ["group-has-[:checked]/switch:bg-primary-light"],
165
- wrapper: ["group-has-[:checked]/switch:bg-primary-main", "hover:bg-primary-light"]
155
+ wrapper: [
156
+ "group-has-[:checked]/switch:bg-primary-main",
157
+ "group-has-[:checked]/switch:ring-primary-light",
158
+ "hover:bg-primary-light"
159
+ ]
166
160
  }
167
161
  },
168
162
  {
169
163
  color: "secondary",
170
164
  class: {
171
- outerWrapper: ["group-has-[:checked]/switch:bg-secondary-light"],
172
- wrapper: ["group-has-[:checked]/switch:bg-secondary-main", "hover:bg-secondary-light"]
165
+ wrapper: [
166
+ "group-has-[:checked]/switch:bg-secondary-main",
167
+ "group-has-[:checked]/switch:ring-secondary-light",
168
+ "hover:bg-secondary-light"
169
+ ]
173
170
  }
174
171
  }
175
172
  ],
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-LVFI2NOH.mjs";
3
3
  import {
4
4
  switch_default
5
- } from "../../chunk-AGE57VDD.mjs";
5
+ } from "../../chunk-CBIV6KFQ.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
@@ -18,22 +18,18 @@ declare const Switch: react.ForwardRefExoticComponent<Props & SwitchVariantProps
18
18
  declare const switchStyle: tailwind_variants.TVReturnType<{
19
19
  size: {
20
20
  sm: {
21
- outerWrapper: string[];
22
21
  wrapper: string[];
23
22
  thumb: string[];
24
23
  };
25
24
  md: {
26
- outerWrapper: string[];
27
25
  wrapper: string[];
28
26
  thumb: string[];
29
27
  };
30
28
  lg: {
31
- outerWrapper: string[];
32
29
  wrapper: string[];
33
30
  thumb: string[];
34
31
  };
35
32
  xl: {
36
- outerWrapper: string[];
37
33
  wrapper: string[];
38
34
  thumb: string[];
39
35
  };
@@ -45,7 +41,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
45
41
  disabled: {
46
42
  true: {
47
43
  base: string[];
48
- outerWrapper: string[];
49
44
  wrapper: string[];
50
45
  thumb: string[];
51
46
  };
@@ -62,28 +57,23 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
62
57
  };
63
58
  }, {
64
59
  base: string[];
65
- outerWrapper: string[];
66
60
  wrapper: string[];
67
61
  thumb: string[];
68
62
  }, undefined, {
69
63
  size: {
70
64
  sm: {
71
- outerWrapper: string[];
72
65
  wrapper: string[];
73
66
  thumb: string[];
74
67
  };
75
68
  md: {
76
- outerWrapper: string[];
77
69
  wrapper: string[];
78
70
  thumb: string[];
79
71
  };
80
72
  lg: {
81
- outerWrapper: string[];
82
73
  wrapper: string[];
83
74
  thumb: string[];
84
75
  };
85
76
  xl: {
86
- outerWrapper: string[];
87
77
  wrapper: string[];
88
78
  thumb: string[];
89
79
  };
@@ -95,7 +85,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
95
85
  disabled: {
96
86
  true: {
97
87
  base: string[];
98
- outerWrapper: string[];
99
88
  wrapper: string[];
100
89
  thumb: string[];
101
90
  };
@@ -112,28 +101,23 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
112
101
  };
113
102
  }, {
114
103
  base: string[];
115
- outerWrapper: string[];
116
104
  wrapper: string[];
117
105
  thumb: string[];
118
106
  }, tailwind_variants.TVReturnType<{
119
107
  size: {
120
108
  sm: {
121
- outerWrapper: string[];
122
109
  wrapper: string[];
123
110
  thumb: string[];
124
111
  };
125
112
  md: {
126
- outerWrapper: string[];
127
113
  wrapper: string[];
128
114
  thumb: string[];
129
115
  };
130
116
  lg: {
131
- outerWrapper: string[];
132
117
  wrapper: string[];
133
118
  thumb: string[];
134
119
  };
135
120
  xl: {
136
- outerWrapper: string[];
137
121
  wrapper: string[];
138
122
  thumb: string[];
139
123
  };
@@ -145,7 +129,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
145
129
  disabled: {
146
130
  true: {
147
131
  base: string[];
148
- outerWrapper: string[];
149
132
  wrapper: string[];
150
133
  thumb: string[];
151
134
  };
@@ -162,7 +145,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
162
145
  };
163
146
  }, {
164
147
  base: string[];
165
- outerWrapper: string[];
166
148
  wrapper: string[];
167
149
  thumb: string[];
168
150
  }, undefined, unknown, unknown, undefined>>;
@@ -18,22 +18,18 @@ declare const Switch: react.ForwardRefExoticComponent<Props & SwitchVariantProps
18
18
  declare const switchStyle: tailwind_variants.TVReturnType<{
19
19
  size: {
20
20
  sm: {
21
- outerWrapper: string[];
22
21
  wrapper: string[];
23
22
  thumb: string[];
24
23
  };
25
24
  md: {
26
- outerWrapper: string[];
27
25
  wrapper: string[];
28
26
  thumb: string[];
29
27
  };
30
28
  lg: {
31
- outerWrapper: string[];
32
29
  wrapper: string[];
33
30
  thumb: string[];
34
31
  };
35
32
  xl: {
36
- outerWrapper: string[];
37
33
  wrapper: string[];
38
34
  thumb: string[];
39
35
  };
@@ -45,7 +41,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
45
41
  disabled: {
46
42
  true: {
47
43
  base: string[];
48
- outerWrapper: string[];
49
44
  wrapper: string[];
50
45
  thumb: string[];
51
46
  };
@@ -62,28 +57,23 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
62
57
  };
63
58
  }, {
64
59
  base: string[];
65
- outerWrapper: string[];
66
60
  wrapper: string[];
67
61
  thumb: string[];
68
62
  }, undefined, {
69
63
  size: {
70
64
  sm: {
71
- outerWrapper: string[];
72
65
  wrapper: string[];
73
66
  thumb: string[];
74
67
  };
75
68
  md: {
76
- outerWrapper: string[];
77
69
  wrapper: string[];
78
70
  thumb: string[];
79
71
  };
80
72
  lg: {
81
- outerWrapper: string[];
82
73
  wrapper: string[];
83
74
  thumb: string[];
84
75
  };
85
76
  xl: {
86
- outerWrapper: string[];
87
77
  wrapper: string[];
88
78
  thumb: string[];
89
79
  };
@@ -95,7 +85,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
95
85
  disabled: {
96
86
  true: {
97
87
  base: string[];
98
- outerWrapper: string[];
99
88
  wrapper: string[];
100
89
  thumb: string[];
101
90
  };
@@ -112,28 +101,23 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
112
101
  };
113
102
  }, {
114
103
  base: string[];
115
- outerWrapper: string[];
116
104
  wrapper: string[];
117
105
  thumb: string[];
118
106
  }, tailwind_variants.TVReturnType<{
119
107
  size: {
120
108
  sm: {
121
- outerWrapper: string[];
122
109
  wrapper: string[];
123
110
  thumb: string[];
124
111
  };
125
112
  md: {
126
- outerWrapper: string[];
127
113
  wrapper: string[];
128
114
  thumb: string[];
129
115
  };
130
116
  lg: {
131
- outerWrapper: string[];
132
117
  wrapper: string[];
133
118
  thumb: string[];
134
119
  };
135
120
  xl: {
136
- outerWrapper: string[];
137
121
  wrapper: string[];
138
122
  thumb: string[];
139
123
  };
@@ -145,7 +129,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
145
129
  disabled: {
146
130
  true: {
147
131
  base: string[];
148
- outerWrapper: string[];
149
132
  wrapper: string[];
150
133
  thumb: string[];
151
134
  };
@@ -162,7 +145,6 @@ declare const switchStyle: tailwind_variants.TVReturnType<{
162
145
  };
163
146
  }, {
164
147
  base: string[];
165
- outerWrapper: string[];
166
148
  wrapper: string[];
167
149
  thumb: string[];
168
150
  }, undefined, unknown, unknown, undefined>>;
@@ -70,7 +70,7 @@ var Switch = (0, import_react.forwardRef)((originalProps, ref) => {
70
70
  onChange
71
71
  }
72
72
  ),
73
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
73
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) })
74
74
  ] });
75
75
  });
76
76
  Switch.displayName = "Switch";
@@ -78,16 +78,6 @@ var switch_default = Switch;
78
78
  var switchStyle = (0, import_tailwind_variants.tv)({
79
79
  slots: {
80
80
  base: ["group/switch", "relative", "max-w-fit", "inline-flex", "items-center", "justify-start", "cursor-pointer"],
81
- outerWrapper: [
82
- "relative",
83
- "inline-flex",
84
- "items-center",
85
- "justify-start",
86
- "flex-shrink-0",
87
- "bg-neutral-soft",
88
- "overflow-hidden",
89
- "rounded-full"
90
- ],
91
81
  wrapper: [
92
82
  "relative",
93
83
  "inline-flex",
@@ -96,6 +86,7 @@ var switchStyle = (0, import_tailwind_variants.tv)({
96
86
  "flex-shrink-0",
97
87
  "overflow-hidden",
98
88
  "bg-neutral-light",
89
+ "ring-neutral-soft",
99
90
  "rounded-full"
100
91
  ],
101
92
  thumb: [
@@ -112,23 +103,19 @@ var switchStyle = (0, import_tailwind_variants.tv)({
112
103
  variants: {
113
104
  size: {
114
105
  sm: {
115
- outerWrapper: ["w-[32px]", "h-[16px]", "p-[2px]"],
116
- wrapper: ["w-[28px]", "h-[12px]", "p-[2px]"],
106
+ wrapper: ["w-[28px]", "h-[12px]", "p-[2px]", "ring-2"],
117
107
  thumb: ["w-[8px]", "h-[8px]", "group-has-[:checked]/switch:ml-[16px]"]
118
108
  },
119
109
  md: {
120
- outerWrapper: ["w-[48px]", "h-[24px]", "px-[3px]"],
121
- wrapper: ["w-[42px]", "h-[16px]", "px-[3px]"],
110
+ wrapper: ["w-[42px]", "h-[18px]", "p-[3px]", "ring-3"],
122
111
  thumb: ["w-[12px]", "h-[12px]", "group-has-[:checked]/switch:ml-[24px]"]
123
112
  },
124
113
  lg: {
125
- outerWrapper: ["w-[64px]", "h-[32px]", "px-[4px]"],
126
- wrapper: ["w-[56px]", "h-[24px]", "px-[4px]"],
114
+ wrapper: ["w-[56px]", "h-[24px]", "p-[4px]", "ring-4"],
127
115
  thumb: ["w-[16px]", "h-[16px]", "group-has-[:checked]/switch:ml-[32px]"]
128
116
  },
129
117
  xl: {
130
- outerWrapper: ["w-[80px]", "h-[40px]", "px-[5px]"],
131
- wrapper: ["w-[70px]", "h-[30px]", "px-[5px]"],
118
+ wrapper: ["w-[70px]", "h-[30px]", "p-[5px]", "ring-5"],
132
119
  thumb: ["w-[20px]", "h-[20px]", "group-has-[:checked]/switch:ml-[40px]"]
133
120
  }
134
121
  },
@@ -139,8 +126,12 @@ var switchStyle = (0, import_tailwind_variants.tv)({
139
126
  disabled: {
140
127
  true: {
141
128
  base: ["!pointer-events-none"],
142
- outerWrapper: ["!bg-neutral-soft"],
143
- wrapper: ["!bg-neutral-light", "!group-has-[:checked]/switch:bg-neutral-light", "!hover:bg-neutral-light"],
129
+ wrapper: [
130
+ "!bg-neutral-light",
131
+ "!ring-neutral-soft",
132
+ "!group-has-[:checked]/switch:bg-neutral-light",
133
+ "!hover:bg-neutral-light"
134
+ ],
144
135
  thumb: ["!bg-trans-light"]
145
136
  }
146
137
  },
@@ -159,15 +150,21 @@ var switchStyle = (0, import_tailwind_variants.tv)({
159
150
  {
160
151
  color: "primary",
161
152
  class: {
162
- outerWrapper: ["group-has-[:checked]/switch:bg-primary-light"],
163
- wrapper: ["group-has-[:checked]/switch:bg-primary-main", "hover:bg-primary-light"]
153
+ wrapper: [
154
+ "group-has-[:checked]/switch:bg-primary-main",
155
+ "group-has-[:checked]/switch:ring-primary-light",
156
+ "hover:bg-primary-light"
157
+ ]
164
158
  }
165
159
  },
166
160
  {
167
161
  color: "secondary",
168
162
  class: {
169
- outerWrapper: ["group-has-[:checked]/switch:bg-secondary-light"],
170
- wrapper: ["group-has-[:checked]/switch:bg-secondary-main", "hover:bg-secondary-light"]
163
+ wrapper: [
164
+ "group-has-[:checked]/switch:bg-secondary-main",
165
+ "group-has-[:checked]/switch:ring-secondary-light",
166
+ "hover:bg-secondary-light"
167
+ ]
171
168
  }
172
169
  }
173
170
  ],
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  switch_default
4
- } from "../../chunk-AGE57VDD.mjs";
4
+ } from "../../chunk-CBIV6KFQ.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-AC6TWLRT.mjs";
7
7
  export {