@vlrc-fe/components 1.0.7 → 1.0.8

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 (448) hide show
  1. package/dist/MultiSelect/type.d.ts +2 -2
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.js +64 -41
  4. package/dist/index10.cjs +1 -1
  5. package/dist/index10.js +46 -80
  6. package/dist/index100.cjs +1 -1
  7. package/dist/index100.js +22 -60
  8. package/dist/index101.cjs +1 -1
  9. package/dist/index101.js +1147 -43
  10. package/dist/index102.cjs +1 -1
  11. package/dist/index102.js +30 -64
  12. package/dist/index103.cjs +1 -1
  13. package/dist/index103.js +31 -147
  14. package/dist/index104.cjs +1 -1
  15. package/dist/index104.js +93 -19
  16. package/dist/index105.cjs +1 -1
  17. package/dist/index105.js +80 -25
  18. package/dist/index106.cjs +1 -1
  19. package/dist/index106.js +9 -50
  20. package/dist/index107.cjs +1 -1
  21. package/dist/index107.js +30 -156
  22. package/dist/index108.cjs +1 -1
  23. package/dist/index108.js +350 -14
  24. package/dist/index109.cjs +1 -1
  25. package/dist/index109.js +11 -0
  26. package/dist/index11.cjs +1 -1
  27. package/dist/index11.js +55 -60
  28. package/dist/index110.cjs +1 -0
  29. package/dist/index110.js +430 -0
  30. package/dist/index111.cjs +1 -0
  31. package/dist/index111.js +36 -0
  32. package/dist/index112.cjs +1 -0
  33. package/dist/index112.js +28 -0
  34. package/dist/index113.cjs +1 -0
  35. package/dist/index113.js +14 -0
  36. package/dist/index114.cjs +1 -0
  37. package/dist/index114.js +156 -0
  38. package/dist/index115.cjs +1 -0
  39. package/dist/index115.js +19 -0
  40. package/dist/index116.cjs +1 -0
  41. package/dist/index116.js +67 -0
  42. package/dist/index117.cjs +1 -0
  43. package/dist/index117.js +118 -0
  44. package/dist/index118.cjs +1 -0
  45. package/dist/index118.js +36 -0
  46. package/dist/index119.cjs +1 -0
  47. package/dist/index119.js +13 -0
  48. package/dist/index12.cjs +1 -1
  49. package/dist/index12.js +44 -121
  50. package/dist/index120.cjs +1 -0
  51. package/dist/index120.js +31 -0
  52. package/dist/index121.cjs +1 -0
  53. package/dist/index121.js +37 -0
  54. package/dist/index122.cjs +1 -0
  55. package/dist/index122.js +123 -0
  56. package/dist/index123.cjs +1 -0
  57. package/dist/index123.js +44 -0
  58. package/dist/index124.cjs +1 -0
  59. package/dist/index124.js +43 -0
  60. package/dist/index125.cjs +1 -0
  61. package/dist/index125.js +14 -0
  62. package/dist/index126.cjs +1 -0
  63. package/dist/index126.js +64 -0
  64. package/dist/index127.cjs +1 -0
  65. package/dist/index127.js +23 -0
  66. package/dist/index128.cjs +1 -0
  67. package/dist/index128.js +34 -0
  68. package/dist/index129.cjs +1 -0
  69. package/dist/index129.js +27 -0
  70. package/dist/index13.cjs +1 -1
  71. package/dist/index13.js +30 -12
  72. package/dist/index130.cjs +1 -0
  73. package/dist/index130.js +26 -0
  74. package/dist/index131.cjs +1 -0
  75. package/dist/index131.js +157 -0
  76. package/dist/index132.cjs +1 -0
  77. package/dist/index132.js +34 -0
  78. package/dist/index133.cjs +1 -0
  79. package/dist/index133.js +46 -0
  80. package/dist/index134.cjs +1 -0
  81. package/dist/index134.js +142 -0
  82. package/dist/index135.cjs +1 -0
  83. package/dist/index135.js +125 -0
  84. package/dist/index136.cjs +1 -0
  85. package/dist/index136.js +26 -0
  86. package/dist/index137.cjs +1 -0
  87. package/dist/index137.js +88 -0
  88. package/dist/index138.cjs +1 -0
  89. package/dist/index138.js +221 -0
  90. package/dist/index139.cjs +1 -0
  91. package/dist/index139.js +166 -0
  92. package/dist/index14.cjs +1 -1
  93. package/dist/index14.js +8 -12
  94. package/dist/index140.cjs +1 -0
  95. package/dist/index140.js +126 -0
  96. package/dist/index141.cjs +1 -0
  97. package/dist/index141.js +15 -0
  98. package/dist/index142.cjs +1 -0
  99. package/dist/index142.js +9 -0
  100. package/dist/index143.cjs +1 -0
  101. package/dist/index143.js +17 -0
  102. package/dist/index144.cjs +1 -0
  103. package/dist/index144.js +22 -0
  104. package/dist/index145.cjs +1 -0
  105. package/dist/index145.js +18 -0
  106. package/dist/index146.cjs +1 -0
  107. package/dist/index146.js +6 -0
  108. package/dist/index147.cjs +1 -0
  109. package/dist/index147.js +7 -0
  110. package/dist/index148.cjs +1 -0
  111. package/dist/index148.js +8 -0
  112. package/dist/index149.cjs +1 -0
  113. package/dist/index149.js +7 -0
  114. package/dist/index15.cjs +1 -1
  115. package/dist/index15.js +12 -112
  116. package/dist/index150.cjs +1 -0
  117. package/dist/index150.js +7 -0
  118. package/dist/index151.cjs +1 -0
  119. package/dist/index151.js +9 -0
  120. package/dist/index152.cjs +1 -0
  121. package/dist/index152.js +69 -0
  122. package/dist/index153.cjs +1 -0
  123. package/dist/index153.js +11 -0
  124. package/dist/index154.cjs +1 -0
  125. package/dist/index154.js +202 -0
  126. package/dist/index155.cjs +1 -0
  127. package/dist/index155.js +124 -0
  128. package/dist/index156.cjs +1 -0
  129. package/dist/index156.js +32 -0
  130. package/dist/index157.cjs +1 -0
  131. package/dist/index157.js +20 -0
  132. package/dist/index158.cjs +1 -0
  133. package/dist/index158.js +69 -0
  134. package/dist/index159.cjs +1 -0
  135. package/dist/index159.js +32 -0
  136. package/dist/index16.cjs +1 -1
  137. package/dist/index16.js +4 -726
  138. package/dist/index160.cjs +1 -0
  139. package/dist/index160.js +11 -0
  140. package/dist/index161.cjs +1 -0
  141. package/dist/index161.js +280 -0
  142. package/dist/index162.cjs +1 -0
  143. package/dist/index162.js +157 -0
  144. package/dist/index163.cjs +1 -0
  145. package/dist/index163.js +20 -0
  146. package/dist/index164.cjs +1 -0
  147. package/dist/index164.js +10 -0
  148. package/dist/index165.cjs +1 -0
  149. package/dist/index165.js +14 -0
  150. package/dist/index166.cjs +1 -0
  151. package/dist/index166.js +8 -0
  152. package/dist/index167.cjs +1 -0
  153. package/dist/index167.js +8 -0
  154. package/dist/index168.cjs +1 -0
  155. package/dist/index168.js +11 -0
  156. package/dist/index169.cjs +1 -0
  157. package/dist/index169.js +10 -0
  158. package/dist/index17.cjs +1 -1
  159. package/dist/index17.js +79 -339
  160. package/dist/index170.cjs +1 -0
  161. package/dist/index170.js +6 -0
  162. package/dist/index171.cjs +1 -0
  163. package/dist/index171.js +8 -0
  164. package/dist/index172.cjs +1 -0
  165. package/dist/index172.js +8 -0
  166. package/dist/index173.cjs +1 -0
  167. package/dist/index173.js +10 -0
  168. package/dist/index174.cjs +1 -0
  169. package/dist/index174.js +11 -0
  170. package/dist/index175.cjs +1 -0
  171. package/dist/index175.js +15 -0
  172. package/dist/index176.cjs +1 -0
  173. package/dist/index176.js +11 -0
  174. package/dist/index177.cjs +1 -0
  175. package/dist/index177.js +11 -0
  176. package/dist/index178.cjs +1 -0
  177. package/dist/index178.js +6 -0
  178. package/dist/index179.cjs +1 -0
  179. package/dist/index179.js +43 -0
  180. package/dist/index18.cjs +1 -1
  181. package/dist/index18.js +19 -66
  182. package/dist/index180.cjs +1 -0
  183. package/dist/index180.js +382 -0
  184. package/dist/index181.cjs +1 -0
  185. package/dist/index181.js +40 -0
  186. package/dist/index182.cjs +1 -0
  187. package/dist/index182.js +23 -0
  188. package/dist/index183.cjs +1 -0
  189. package/dist/index183.js +59 -0
  190. package/dist/index184.cjs +1 -0
  191. package/dist/index184.js +55 -0
  192. package/dist/index185.cjs +1 -0
  193. package/dist/index185.js +54 -0
  194. package/dist/index186.cjs +1 -0
  195. package/dist/index186.js +57 -0
  196. package/dist/index187.cjs +1 -0
  197. package/dist/index187.js +57 -0
  198. package/dist/index188.cjs +1 -0
  199. package/dist/index188.js +88 -0
  200. package/dist/index189.cjs +1 -0
  201. package/dist/index189.js +66 -0
  202. package/dist/index19.cjs +1 -1
  203. package/dist/index19.js +18 -8
  204. package/dist/index190.cjs +1 -0
  205. package/dist/index190.js +594 -0
  206. package/dist/index191.cjs +9 -0
  207. package/dist/index191.js +30 -0
  208. package/dist/index192.cjs +1 -0
  209. package/dist/index192.js +50 -0
  210. package/dist/index193.cjs +1 -0
  211. package/dist/index193.js +65 -0
  212. package/dist/index194.cjs +1 -0
  213. package/dist/index194.js +48 -0
  214. package/dist/index195.cjs +1 -0
  215. package/dist/index195.js +67 -0
  216. package/dist/index196.cjs +1 -0
  217. package/dist/index196.js +151 -0
  218. package/dist/index197.cjs +1 -0
  219. package/dist/index197.js +23 -0
  220. package/dist/index198.cjs +1 -0
  221. package/dist/index198.js +27 -0
  222. package/dist/index199.cjs +1 -0
  223. package/dist/index199.js +53 -0
  224. package/dist/index20.cjs +1 -1
  225. package/dist/index20.js +51 -98
  226. package/dist/index200.cjs +1 -0
  227. package/dist/index200.js +161 -0
  228. package/dist/index201.cjs +1 -0
  229. package/dist/index201.js +16 -0
  230. package/dist/index202.cjs +1 -0
  231. package/dist/index21.cjs +1 -1
  232. package/dist/index21.js +81 -28
  233. package/dist/index22.cjs +1 -1
  234. package/dist/index22.js +64 -14
  235. package/dist/index23.cjs +1 -1
  236. package/dist/index23.js +25 -22
  237. package/dist/index24.cjs +1 -1
  238. package/dist/index24.js +1014 -33
  239. package/dist/index25.cjs +1 -1
  240. package/dist/index25.js +22 -96
  241. package/dist/index26.cjs +1 -1
  242. package/dist/index26.js +108 -25
  243. package/dist/index27.cjs +1 -1
  244. package/dist/index27.js +15 -9
  245. package/dist/index28.cjs +1 -1
  246. package/dist/index28.js +20 -66
  247. package/dist/index29.cjs +1 -1
  248. package/dist/index29.js +81 -11
  249. package/dist/index30.cjs +1 -1
  250. package/dist/index30.js +91 -29
  251. package/dist/index31.cjs +1 -1
  252. package/dist/index31.js +14 -41
  253. package/dist/index32.cjs +1 -1
  254. package/dist/index32.js +93 -12
  255. package/dist/index33.cjs +1 -1
  256. package/dist/index33.js +22 -62
  257. package/dist/index34.cjs +1 -1
  258. package/dist/index34.js +84 -22
  259. package/dist/index35.cjs +1 -1
  260. package/dist/index35.js +85 -33
  261. package/dist/index36.cjs +1 -1
  262. package/dist/index36.js +407 -25
  263. package/dist/index37.cjs +1 -1
  264. package/dist/index37.js +170 -25
  265. package/dist/index38.cjs +1 -1
  266. package/dist/index38.js +28 -154
  267. package/dist/index39.cjs +1 -1
  268. package/dist/index39.js +158 -33
  269. package/dist/index40.cjs +1 -1
  270. package/dist/index40.js +104 -45
  271. package/dist/index41.cjs +1 -1
  272. package/dist/index41.js +337 -140
  273. package/dist/index42.cjs +1 -1
  274. package/dist/index42.js +96 -124
  275. package/dist/index43.cjs +1 -1
  276. package/dist/index43.js +319 -23
  277. package/dist/index44.cjs +1 -1
  278. package/dist/index44.js +205 -81
  279. package/dist/index45.cjs +1 -1
  280. package/dist/index45.js +33 -220
  281. package/dist/index46.cjs +1 -1
  282. package/dist/index46.js +161 -163
  283. package/dist/index47.cjs +1 -1
  284. package/dist/index47.js +20 -125
  285. package/dist/index48.cjs +1 -1
  286. package/dist/index48.js +24 -14
  287. package/dist/index49.cjs +1 -1
  288. package/dist/index49.js +167 -7
  289. package/dist/index5.js +26 -14
  290. package/dist/index50.cjs +1 -1
  291. package/dist/index50.js +44 -15
  292. package/dist/index51.cjs +1 -1
  293. package/dist/index51.js +15 -18
  294. package/dist/index52.cjs +1 -1
  295. package/dist/index52.js +3 -17
  296. package/dist/index53.cjs +1 -1
  297. package/dist/index53.js +5 -5
  298. package/dist/index54.cjs +1 -1
  299. package/dist/index54.js +19 -4
  300. package/dist/index55.cjs +1 -1
  301. package/dist/index55.js +24 -6
  302. package/dist/index56.cjs +1 -1
  303. package/dist/index56.js +66 -4
  304. package/dist/index57.cjs +1 -1
  305. package/dist/index57.js +14 -5
  306. package/dist/index58.cjs +1 -1
  307. package/dist/index58.js +4 -8
  308. package/dist/index59.cjs +1 -1
  309. package/dist/index59.js +50 -67
  310. package/dist/index6.cjs +1 -1
  311. package/dist/index6.js +85 -46
  312. package/dist/index60.cjs +1 -1
  313. package/dist/index60.js +6 -10
  314. package/dist/index61.cjs +1 -1
  315. package/dist/index61.js +25 -199
  316. package/dist/index62.cjs +1 -1
  317. package/dist/index62.js +13 -122
  318. package/dist/index63.cjs +1 -1
  319. package/dist/index63.js +9 -30
  320. package/dist/index64.cjs +1 -1
  321. package/dist/index64.js +3 -20
  322. package/dist/index65.cjs +1 -1
  323. package/dist/index65.js +24 -66
  324. package/dist/index66.cjs +1 -1
  325. package/dist/index66.js +68 -30
  326. package/dist/index67.cjs +38 -1
  327. package/dist/index67.js +3 -11
  328. package/dist/index68.cjs +1 -1
  329. package/dist/index68.js +12 -279
  330. package/dist/index69.cjs +1 -1
  331. package/dist/index69.js +50 -155
  332. package/dist/index7.cjs +1 -1
  333. package/dist/index7.js +29 -85
  334. package/dist/index70.cjs +1 -1
  335. package/dist/index70.js +115 -19
  336. package/dist/index71.cjs +4 -1
  337. package/dist/index71.js +6 -9
  338. package/dist/index72.cjs +1 -1
  339. package/dist/index72.js +12 -12
  340. package/dist/index73.cjs +1 -1
  341. package/dist/index73.js +539 -6
  342. package/dist/index74.cjs +1 -1
  343. package/dist/index74.js +197 -6
  344. package/dist/index75.cjs +1 -1
  345. package/dist/index75.js +120 -9
  346. package/dist/index76.cjs +1 -1
  347. package/dist/index76.js +912 -8
  348. package/dist/index77.cjs +3 -1
  349. package/dist/index77.js +76 -4
  350. package/dist/index78.cjs +1 -1
  351. package/dist/index78.js +120 -6
  352. package/dist/index79.cjs +1 -1
  353. package/dist/index79.js +12 -6
  354. package/dist/index8.cjs +1 -1
  355. package/dist/index8.js +35 -62
  356. package/dist/index80.cjs +1 -1
  357. package/dist/index80.js +14 -8
  358. package/dist/index81.cjs +1 -1
  359. package/dist/index81.js +113 -9
  360. package/dist/index82.cjs +1 -1
  361. package/dist/index82.js +725 -13
  362. package/dist/index83.cjs +1 -1
  363. package/dist/index83.js +346 -9
  364. package/dist/index84.cjs +1 -1
  365. package/dist/index84.js +74 -9
  366. package/dist/index85.cjs +1 -1
  367. package/dist/index85.js +148 -4
  368. package/dist/index86.cjs +1 -1
  369. package/dist/index86.js +31 -42
  370. package/dist/index87.cjs +1 -1
  371. package/dist/index87.js +12 -380
  372. package/dist/index88.cjs +1 -1
  373. package/dist/index88.js +345 -37
  374. package/dist/index89.cjs +20 -1
  375. package/dist/index89.js +40 -18
  376. package/dist/index9.cjs +1 -1
  377. package/dist/index9.js +85 -17
  378. package/dist/index90.cjs +1 -1
  379. package/dist/index90.js +113 -56
  380. package/dist/index91.cjs +1 -1
  381. package/dist/index91.js +272 -51
  382. package/dist/index92.cjs +1 -1
  383. package/dist/index92.js +129 -50
  384. package/dist/index93.cjs +1 -1
  385. package/dist/index93.js +13 -54
  386. package/dist/index94.cjs +1 -1
  387. package/dist/index94.js +28 -55
  388. package/dist/index95.cjs +1 -1
  389. package/dist/index95.js +525 -80
  390. package/dist/index96.cjs +1 -1
  391. package/dist/index96.js +75 -61
  392. package/dist/index97.cjs +1 -1
  393. package/dist/index97.js +67 -583
  394. package/dist/index98.cjs +1 -9
  395. package/dist/index98.js +32 -27
  396. package/dist/index99.cjs +1 -1
  397. package/dist/index99.js +17 -49
  398. package/dist/ui/alert-dialog.d.ts +15 -0
  399. package/dist/ui/alert-dialog.d.ts.map +1 -0
  400. package/dist/ui/alert.d.ts +10 -0
  401. package/dist/ui/alert.d.ts.map +1 -0
  402. package/dist/ui/aspect-ratio.d.ts +4 -0
  403. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  404. package/dist/ui/avatar.d.ts +7 -0
  405. package/dist/ui/avatar.d.ts.map +1 -0
  406. package/dist/ui/badge.d.ts +1 -1
  407. package/dist/ui/breadcrumb.d.ts +12 -0
  408. package/dist/ui/breadcrumb.d.ts.map +1 -0
  409. package/dist/ui/button.d.ts +1 -1
  410. package/dist/ui/carousel.d.ts +20 -0
  411. package/dist/ui/carousel.d.ts.map +1 -0
  412. package/dist/ui/collapsible.d.ts +6 -0
  413. package/dist/ui/collapsible.d.ts.map +1 -0
  414. package/dist/ui/context-menu.d.ts +26 -0
  415. package/dist/ui/context-menu.d.ts.map +1 -0
  416. package/dist/ui/drawer.d.ts +14 -0
  417. package/dist/ui/drawer.d.ts.map +1 -0
  418. package/dist/ui/hover-card.d.ts +7 -0
  419. package/dist/ui/hover-card.d.ts.map +1 -0
  420. package/dist/ui/index.d.ts +23 -0
  421. package/dist/ui/index.d.ts.map +1 -1
  422. package/dist/ui/input-otp.d.ts +12 -0
  423. package/dist/ui/input-otp.d.ts.map +1 -0
  424. package/dist/ui/menubar.d.ts +27 -0
  425. package/dist/ui/menubar.d.ts.map +1 -0
  426. package/dist/ui/navigation-menu.d.ts +15 -0
  427. package/dist/ui/navigation-menu.d.ts.map +1 -0
  428. package/dist/ui/pagination.d.ts +14 -0
  429. package/dist/ui/pagination.d.ts.map +1 -0
  430. package/dist/ui/resizable.d.ts +9 -0
  431. package/dist/ui/resizable.d.ts.map +1 -0
  432. package/dist/ui/sheet.d.ts +14 -0
  433. package/dist/ui/sheet.d.ts.map +1 -0
  434. package/dist/ui/sidebar.d.ts +70 -0
  435. package/dist/ui/sidebar.d.ts.map +1 -0
  436. package/dist/ui/skeleton.d.ts +3 -0
  437. package/dist/ui/skeleton.d.ts.map +1 -0
  438. package/dist/ui/slider.d.ts +5 -0
  439. package/dist/ui/slider.d.ts.map +1 -0
  440. package/dist/ui/switch.d.ts +5 -0
  441. package/dist/ui/switch.d.ts.map +1 -0
  442. package/dist/ui/tabs.d.ts +8 -0
  443. package/dist/ui/tabs.d.ts.map +1 -0
  444. package/dist/ui/toggle-group.d.ts +8 -0
  445. package/dist/ui/toggle-group.d.ts.map +1 -0
  446. package/dist/ui/toggle.d.ts +10 -0
  447. package/dist/ui/toggle.d.ts.map +1 -0
  448. package/package.json +23 -5
@@ -0,0 +1,156 @@
1
+ "use client";
2
+ import { createContextScope as e } from "./index6.js";
3
+ import { useComposedRefs as t } from "./index7.js";
4
+ import { composeEventHandlers as n } from "./index8.js";
5
+ import { Primitive as r } from "./index12.js";
6
+ import { useControllableState as i } from "./index29.js";
7
+ import { useSize as a } from "./index45.js";
8
+ import * as o from "react";
9
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
10
+ //#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.3.7_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react_e96baf15833549650471eefa4ffd78d0/node_modules/@radix-ui/react-switch/dist/index.mjs
11
+ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
12
+ value: t,
13
+ configurable: !0
14
+ }), f = "Switch", [p, m] = e(f), [h, g] = p(f);
15
+ function _(e) {
16
+ let { __scopeSwitch: t, checked: n, children: r, defaultChecked: a, disabled: s, form: l, name: u, onCheckedChange: d, required: p, value: m = "on", internal_do_not_use_render: g } = e, [_, v] = i({
17
+ prop: n,
18
+ defaultProp: a ?? !1,
19
+ onChange: d,
20
+ caller: f
21
+ }), [y, b] = o.useState(null), [x, S] = o.useState(null), C = o.useRef(!1), [w, E] = o.useReducer((e) => e + 1, 0), D = {
22
+ checked: _,
23
+ setChecked: v,
24
+ disabled: s,
25
+ control: y,
26
+ setControl: b,
27
+ name: u,
28
+ form: l,
29
+ value: m,
30
+ hasConsumerStoppedPropagationRef: C,
31
+ userInteractionCount: w,
32
+ onUserInteraction: E,
33
+ required: p,
34
+ defaultChecked: a,
35
+ isFormControl: y ? !!l || !!y.closest("form") : !0,
36
+ bubbleInput: x,
37
+ setBubbleInput: S
38
+ };
39
+ return /* @__PURE__ */ c(h, {
40
+ scope: t,
41
+ ...D,
42
+ children: T(g) ? g(D) : r
43
+ });
44
+ }
45
+ d(_, "SwitchProvider");
46
+ var v = "SwitchTrigger", y = /* @__PURE__ */ o.forwardRef(/* @__PURE__ */ d(function({ __scopeSwitch: e, onClick: i, ...a }, s) {
47
+ let { control: l, form: u, value: f, disabled: p, checked: m, required: h, setControl: _, setChecked: y, hasConsumerStoppedPropagationRef: b, onUserInteraction: x, isFormControl: S, bubbleInput: C } = g(v, e), w = t(s, _), T = o.useRef(m);
48
+ return o.useEffect(() => {
49
+ let e = u ? l?.ownerDocument.getElementById(u) : l?.form;
50
+ if (e instanceof HTMLFormElement) {
51
+ let t = /* @__PURE__ */ d(() => y(T.current), "reset");
52
+ return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
53
+ }
54
+ }, [
55
+ l,
56
+ u,
57
+ y
58
+ ]), /* @__PURE__ */ c(r.button, {
59
+ type: "button",
60
+ role: "switch",
61
+ "aria-checked": m,
62
+ "aria-required": h,
63
+ "data-state": E(m),
64
+ "data-disabled": p ? "" : void 0,
65
+ disabled: p,
66
+ value: f,
67
+ ...a,
68
+ ref: w,
69
+ onClick: n(i, (e) => {
70
+ x(), y((e) => !e), C && S && (b.current = e.isPropagationStopped(), b.current || e.stopPropagation());
71
+ })
72
+ });
73
+ }, "SwitchTrigger")), b = /* @__PURE__ */ o.forwardRef(/* @__PURE__ */ d(function(e, t) {
74
+ let { __scopeSwitch: n, name: r, checked: i, defaultChecked: a, required: o, disabled: u, value: d, onCheckedChange: f, form: p, ...m } = e;
75
+ return /* @__PURE__ */ c(_, {
76
+ __scopeSwitch: n,
77
+ checked: i,
78
+ defaultChecked: a,
79
+ disabled: u,
80
+ required: o,
81
+ onCheckedChange: f,
82
+ name: r,
83
+ form: p,
84
+ value: d,
85
+ internal_do_not_use_render: ({ isFormControl: e }) => /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(y, {
86
+ ...m,
87
+ ref: t,
88
+ __scopeSwitch: n
89
+ }), e && /* @__PURE__ */ c(w, { __scopeSwitch: n })] })
90
+ });
91
+ }, "Switch")), x = "SwitchThumb", S = /* @__PURE__ */ o.forwardRef(/* @__PURE__ */ d(function(e, t) {
92
+ let { __scopeSwitch: n, ...i } = e, a = g(x, n);
93
+ return /* @__PURE__ */ c(r.span, {
94
+ "data-state": E(a.checked),
95
+ "data-disabled": a.disabled ? "" : void 0,
96
+ ...i,
97
+ ref: t
98
+ });
99
+ }, "SwitchThumb")), C = "SwitchBubbleInput", w = /* @__PURE__ */ o.forwardRef(/* @__PURE__ */ d(function({ __scopeSwitch: e, onClick: i, ...s }, l) {
100
+ let { control: u, hasConsumerStoppedPropagationRef: d, userInteractionCount: f, checked: p, defaultChecked: m, required: h, disabled: _, name: v, value: y, form: b, bubbleInput: x, setBubbleInput: S } = g(C, e), w = t(l, S), T = a(u), E = o.useRef(!1), D = o.useRef(p), O = o.useRef(f);
101
+ o.useEffect(() => {
102
+ let e = x;
103
+ if (!e) return;
104
+ let t = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "checked").set, r = f !== O.current;
105
+ O.current = f;
106
+ let i = D.current !== p;
107
+ D.current = p;
108
+ let a = !(r && d.current);
109
+ if (i && n) {
110
+ E.current = !r;
111
+ let t = new Event("click", { bubbles: a });
112
+ n.call(e, p), e.dispatchEvent(t), E.current = !1;
113
+ }
114
+ }, [
115
+ x,
116
+ p,
117
+ d,
118
+ f
119
+ ]);
120
+ let k = o.useRef(p);
121
+ return /* @__PURE__ */ c(r.input, {
122
+ type: "checkbox",
123
+ "aria-hidden": !0,
124
+ defaultChecked: m ?? k.current,
125
+ required: h,
126
+ disabled: _,
127
+ name: v,
128
+ value: y,
129
+ form: b,
130
+ ...s,
131
+ tabIndex: -1,
132
+ ref: w,
133
+ onClick: n(i, (e) => {
134
+ E.current && e.stopPropagation();
135
+ }),
136
+ style: {
137
+ ...s.style,
138
+ ...T,
139
+ position: "absolute",
140
+ pointerEvents: "none",
141
+ opacity: 0,
142
+ margin: 0,
143
+ transform: "translateX(-100%)"
144
+ }
145
+ });
146
+ }, "SwitchBubbleInput"));
147
+ function T(e) {
148
+ return typeof e == "function";
149
+ }
150
+ d(T, "isFunction");
151
+ function E(e) {
152
+ return e ? "checked" : "unchecked";
153
+ }
154
+ d(E, "getState");
155
+ //#endregion
156
+ export { b as Switch, S as SwitchThumb };
@@ -0,0 +1 @@
1
+ "use client";const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index8.cjs"),r=require("./index9.cjs"),i=require("./index13.cjs"),a=require("./index30.cjs"),o=require("./index46.cjs");let s=require("react");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l=Object.defineProperty,u=(e,t)=>l(e,`name`,{value:t,configurable:!0}),d=`Switch`,[f,p]=t.createContextScope(d),[m,h]=f(d);function g(e){let{__scopeSwitch:t,checked:n,children:r,defaultChecked:i,disabled:o,form:l,name:u,onCheckedChange:f,required:p,value:h=`on`,internal_do_not_use_render:g}=e,[_,v]=a.useControllableState({prop:n,defaultProp:i??!1,onChange:f,caller:d}),[y,b]=s.useState(null),[x,S]=s.useState(null),C=s.useRef(!1),[T,E]=s.useReducer(e=>e+1,0),D={checked:_,setChecked:v,disabled:o,control:y,setControl:b,name:u,form:l,value:h,hasConsumerStoppedPropagationRef:C,userInteractionCount:T,onUserInteraction:E,required:p,defaultChecked:i,isFormControl:y?!!l||!!y.closest(`form`):!0,bubbleInput:x,setBubbleInput:S};return(0,c.jsx)(m,{scope:t,...D,children:w(g)?g(D):r})}u(g,`SwitchProvider`);var _=`SwitchTrigger`,v=s.forwardRef(u(function({__scopeSwitch:e,onClick:t,...a},o){let{control:l,form:d,value:f,disabled:p,checked:m,required:g,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:b,onUserInteraction:x,isFormControl:S,bubbleInput:C}=h(_,e),w=n.useComposedRefs(o,v),E=s.useRef(m);return s.useEffect(()=>{let e=d?l?.ownerDocument.getElementById(d):l?.form;if(e instanceof HTMLFormElement){let t=u(()=>y(E.current),`reset`);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[l,d,y]),(0,c.jsx)(i.Primitive.button,{type:`button`,role:`switch`,"aria-checked":m,"aria-required":g,"data-state":T(m),"data-disabled":p?``:void 0,disabled:p,value:f,...a,ref:w,onClick:r.composeEventHandlers(t,e=>{x(),y(e=>!e),C&&S&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})},`SwitchTrigger`)),y=s.forwardRef(u(function(e,t){let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:l,onCheckedChange:u,form:d,...f}=e;return(0,c.jsx)(g,{__scopeSwitch:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:u,name:r,form:d,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(v,{...f,ref:t,__scopeSwitch:n}),e&&(0,c.jsx)(C,{__scopeSwitch:n})]})})},`Switch`)),b=`SwitchThumb`,x=s.forwardRef(u(function(e,t){let{__scopeSwitch:n,...r}=e,a=h(b,n);return(0,c.jsx)(i.Primitive.span,{"data-state":T(a.checked),"data-disabled":a.disabled?``:void 0,...r,ref:t})},`SwitchThumb`)),S=`SwitchBubbleInput`,C=s.forwardRef(u(function({__scopeSwitch:e,onClick:t,...a},l){let{control:u,hasConsumerStoppedPropagationRef:d,userInteractionCount:f,checked:p,defaultChecked:m,required:g,disabled:_,name:v,value:y,form:b,bubbleInput:x,setBubbleInput:C}=h(S,e),w=n.useComposedRefs(l,C),T=o.useSize(u),E=s.useRef(!1),D=s.useRef(p),O=s.useRef(f);s.useEffect(()=>{let e=x;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=f!==O.current;O.current=f;let i=D.current!==p;D.current=p;let a=!(r&&d.current);if(i&&n){E.current=!r;let t=new Event(`click`,{bubbles:a});n.call(e,p),e.dispatchEvent(t),E.current=!1}},[x,p,d,f]);let k=s.useRef(p);return(0,c.jsx)(i.Primitive.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:m??k.current,required:g,disabled:_,name:v,value:y,form:b,...a,tabIndex:-1,ref:w,onClick:r.composeEventHandlers(t,e=>{E.current&&e.stopPropagation()}),style:{...a.style,...T,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})},`SwitchBubbleInput`));function w(e){return typeof e==`function`}u(w,`isFunction`);function T(e){return e?`checked`:`unchecked`}u(T,`getState`),exports.Switch=y,exports.SwitchThumb=x;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { cn as e } from "./index3.js";
3
+ import { Switch as t, SwitchThumb as n } from "./index114.js";
4
+ import "react";
5
+ import { jsx as r } from "react/jsx-runtime";
6
+ //#region src/ui/switch.tsx
7
+ function i({ className: i, ...a }) {
8
+ return /* @__PURE__ */ r(t, {
9
+ "data-slot": "switch",
10
+ className: e("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", i),
11
+ ...a,
12
+ children: /* @__PURE__ */ r(n, {
13
+ "data-slot": "switch-thumb",
14
+ className: e("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
15
+ })
16
+ });
17
+ }
18
+ //#endregion
19
+ export { i as Switch };
@@ -0,0 +1 @@
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index115.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime");function a({className:e,...r}){return(0,i.jsx)(n.Switch,{"data-slot":`switch`,className:t.cn(`peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,e),...r,children:(0,i.jsx)(n.SwitchThumb,{"data-slot":`switch-thumb`,className:t.cn(`bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0`)})})}exports.Switch=a;
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ import { cn as e } from "./index3.js";
3
+ import "react";
4
+ import { jsx as t } from "react/jsx-runtime";
5
+ //#region src/ui/table.tsx
6
+ function n({ className: n, ...r }) {
7
+ return /* @__PURE__ */ t("div", {
8
+ "data-slot": "table-container",
9
+ className: "relative w-full overflow-x-auto",
10
+ children: /* @__PURE__ */ t("table", {
11
+ "data-slot": "table",
12
+ className: e("w-full caption-bottom text-sm", n),
13
+ ...r
14
+ })
15
+ });
16
+ }
17
+ function r({ className: n, ...r }) {
18
+ return /* @__PURE__ */ t("thead", {
19
+ "data-slot": "table-header",
20
+ className: e("[&_tr]:border-b", n),
21
+ ...r
22
+ });
23
+ }
24
+ function i({ className: n, ...r }) {
25
+ return /* @__PURE__ */ t("tbody", {
26
+ "data-slot": "table-body",
27
+ className: e("[&_tr:last-child]:border-0", n),
28
+ ...r
29
+ });
30
+ }
31
+ function a({ className: n, ...r }) {
32
+ return /* @__PURE__ */ t("tfoot", {
33
+ "data-slot": "table-footer",
34
+ className: e("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", n),
35
+ ...r
36
+ });
37
+ }
38
+ function o({ className: n, ...r }) {
39
+ return /* @__PURE__ */ t("tr", {
40
+ "data-slot": "table-row",
41
+ className: e("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", n),
42
+ ...r
43
+ });
44
+ }
45
+ function s({ className: n, ...r }) {
46
+ return /* @__PURE__ */ t("th", {
47
+ "data-slot": "table-head",
48
+ className: e("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", n),
49
+ ...r
50
+ });
51
+ }
52
+ function c({ className: n, ...r }) {
53
+ return /* @__PURE__ */ t("td", {
54
+ "data-slot": "table-cell",
55
+ className: e("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", n),
56
+ ...r
57
+ });
58
+ }
59
+ function l({ className: n, ...r }) {
60
+ return /* @__PURE__ */ t("caption", {
61
+ "data-slot": "table-caption",
62
+ className: e("text-muted-foreground mt-4 text-sm", n),
63
+ ...r
64
+ });
65
+ }
66
+ //#endregion
67
+ export { n as Table, i as TableBody, l as TableCaption, c as TableCell, a as TableFooter, s as TableHead, r as TableHeader, o as TableRow };
@@ -0,0 +1 @@
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,r.jsx)(`table`,{"data-slot":`table`,className:t.cn(`w-full caption-bottom text-sm`,e),...n})})}function a({className:e,...n}){return(0,r.jsx)(`thead`,{"data-slot":`table-header`,className:t.cn(`[&_tr]:border-b`,e),...n})}function o({className:e,...n}){return(0,r.jsx)(`tbody`,{"data-slot":`table-body`,className:t.cn(`[&_tr:last-child]:border-0`,e),...n})}function s({className:e,...n}){return(0,r.jsx)(`tfoot`,{"data-slot":`table-footer`,className:t.cn(`bg-muted/50 border-t font-medium [&>tr]:last:border-b-0`,e),...n})}function c({className:e,...n}){return(0,r.jsx)(`tr`,{"data-slot":`table-row`,className:t.cn(`hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`th`,{"data-slot":`table-head`,className:t.cn(`text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`td`,{"data-slot":`table-cell`,className:t.cn(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]`,e),...n})}function d({className:e,...n}){return(0,r.jsx)(`caption`,{"data-slot":`table-caption`,className:t.cn(`text-muted-foreground mt-4 text-sm`,e),...n})}exports.Table=i,exports.TableBody=o,exports.TableCaption=d,exports.TableCell=u,exports.TableFooter=s,exports.TableHead=l,exports.TableHeader=a,exports.TableRow=c;
@@ -0,0 +1,118 @@
1
+ "use client";
2
+ import { createContextScope as e } from "./index6.js";
3
+ import { composeEventHandlers as t } from "./index8.js";
4
+ import { Primitive as n } from "./index12.js";
5
+ import { useControllableState as r } from "./index29.js";
6
+ import { Presence as i } from "./index30.js";
7
+ import { useId as a } from "./index31.js";
8
+ import { Item as o, Root as s, createRovingFocusGroupScope as c } from "./index49.js";
9
+ import * as l from "react";
10
+ import { jsx as u } from "react/jsx-runtime";
11
+ import { useDirection as d } from "@radix-ui/react-direction";
12
+ //#region ../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.21_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@_169bb89de0cca18fe51d304cf3ee9a1d/node_modules/@radix-ui/react-tabs/dist/index.mjs
13
+ var f = Object.defineProperty, p = (e, t) => f(e, "name", {
14
+ value: t,
15
+ configurable: !0
16
+ }), m = "Tabs", [h, g] = e(m, [c]), _ = c(), [v, y] = h(m), b = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ p(function(e, t) {
17
+ let { __scopeTabs: i, value: o, onValueChange: s, defaultValue: c, orientation: l = "horizontal", dir: f, activationMode: p = "automatic", ...h } = e, g = d(f), [_, y] = r({
18
+ prop: o,
19
+ onChange: s,
20
+ defaultProp: c ?? "",
21
+ caller: m
22
+ });
23
+ return /* @__PURE__ */ u(v, {
24
+ scope: i,
25
+ baseId: a(),
26
+ value: _,
27
+ onValueChange: y,
28
+ orientation: l,
29
+ dir: g,
30
+ activationMode: p,
31
+ children: /* @__PURE__ */ u(n.div, {
32
+ dir: g,
33
+ "data-orientation": l,
34
+ ...h,
35
+ ref: t
36
+ })
37
+ });
38
+ }, "Tabs")), x = "TabsList", S = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ p(function(e, t) {
39
+ let { __scopeTabs: r, loop: i = !0, ...a } = e, o = y(x, r);
40
+ return /* @__PURE__ */ u(s, {
41
+ asChild: !0,
42
+ ..._(r),
43
+ orientation: o.orientation,
44
+ dir: o.dir,
45
+ loop: i,
46
+ children: /* @__PURE__ */ u(n.div, {
47
+ role: "tablist",
48
+ "aria-orientation": o.orientation,
49
+ ...a,
50
+ ref: t
51
+ })
52
+ });
53
+ }, "TabsList")), C = "TabsTrigger", w = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ p(function(e, r) {
54
+ let { __scopeTabs: i, value: a, disabled: s = !1, ...c } = e, l = y(C, i), d = _(i), f = D(l.baseId, a), p = O(l.baseId, a), m = a === l.value;
55
+ return /* @__PURE__ */ u(o, {
56
+ asChild: !0,
57
+ ...d,
58
+ focusable: !s,
59
+ active: m,
60
+ children: /* @__PURE__ */ u(n.button, {
61
+ type: "button",
62
+ role: "tab",
63
+ "aria-selected": m,
64
+ "aria-controls": p,
65
+ "data-state": m ? "active" : "inactive",
66
+ "data-disabled": s ? "" : void 0,
67
+ disabled: s,
68
+ id: f,
69
+ ...c,
70
+ ref: r,
71
+ onMouseDown: t(e.onMouseDown, (e) => {
72
+ !s && e.button === 0 && e.ctrlKey === !1 ? l.onValueChange(a) : e.preventDefault();
73
+ }),
74
+ onKeyDown: t(e.onKeyDown, (e) => {
75
+ s || e.target !== e.currentTarget || [" ", "Enter"].includes(e.key) && l.onValueChange(a);
76
+ }),
77
+ onFocus: t(e.onFocus, () => {
78
+ let e = l.activationMode !== "manual";
79
+ !m && !s && e && l.onValueChange(a);
80
+ })
81
+ })
82
+ });
83
+ }, "TabsTrigger")), T = "TabsContent", E = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ p(function(e, t) {
84
+ let { __scopeTabs: r, value: a, forceMount: o, children: s, ...c } = e, d = y(T, r), f = D(d.baseId, a), p = O(d.baseId, a), m = a === d.value, h = l.useRef(m);
85
+ return l.useEffect(() => {
86
+ let e = requestAnimationFrame(() => h.current = !1);
87
+ return () => cancelAnimationFrame(e);
88
+ }, []), /* @__PURE__ */ u(i, {
89
+ present: o || m,
90
+ children: ({ present: r }) => /* @__PURE__ */ u(n.div, {
91
+ "data-state": m ? "active" : "inactive",
92
+ "data-orientation": d.orientation,
93
+ role: "tabpanel",
94
+ "aria-labelledby": f,
95
+ hidden: !r,
96
+ id: p,
97
+ tabIndex: 0,
98
+ ...c,
99
+ ref: t,
100
+ style: {
101
+ ...e.style,
102
+ animationDuration: h.current ? "0s" : void 0
103
+ },
104
+ children: r && s
105
+ })
106
+ });
107
+ }, "TabsContent"));
108
+ function D(e, t) {
109
+ return `${e}-trigger-${t}`;
110
+ }
111
+ p(D, "makeTriggerId");
112
+ function O(e, t) {
113
+ return `${e}-content-${t}`;
114
+ }
115
+ p(O, "makeContentId");
116
+ var k = b, A = S, j = w, M = E;
117
+ //#endregion
118
+ export { M as Content, A as List, k as Root2, j as Trigger };
@@ -0,0 +1 @@
1
+ "use client";const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index9.cjs"),r=require("./index13.cjs"),i=require("./index30.cjs"),a=require("./index31.cjs"),o=require("./index32.cjs"),s=require("./index50.cjs");let c=require("react");c=e.__toESM(c,1);let l=require("react/jsx-runtime"),u=require("@radix-ui/react-direction");var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0}),p=`Tabs`,[m,h]=t.createContextScope(p,[s.createRovingFocusGroupScope]),g=s.createRovingFocusGroupScope(),[_,v]=m(p),y=c.forwardRef(f(function(e,t){let{__scopeTabs:n,value:a,onValueChange:s,defaultValue:c,orientation:d=`horizontal`,dir:f,activationMode:m=`automatic`,...h}=e,g=(0,u.useDirection)(f),[v,y]=i.useControllableState({prop:a,onChange:s,defaultProp:c??``,caller:p});return(0,l.jsx)(_,{scope:n,baseId:o.useId(),value:v,onValueChange:y,orientation:d,dir:g,activationMode:m,children:(0,l.jsx)(r.Primitive.div,{dir:g,"data-orientation":d,...h,ref:t})})},`Tabs`)),b=`TabsList`,x=c.forwardRef(f(function(e,t){let{__scopeTabs:n,loop:i=!0,...a}=e,o=v(b,n),c=g(n);return(0,l.jsx)(s.Root,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:i,children:(0,l.jsx)(r.Primitive.div,{role:`tablist`,"aria-orientation":o.orientation,...a,ref:t})})},`TabsList`)),S=`TabsTrigger`,C=c.forwardRef(f(function(e,t){let{__scopeTabs:i,value:a,disabled:o=!1,...c}=e,u=v(S,i),d=g(i),f=E(u.baseId,a),p=D(u.baseId,a),m=a===u.value;return(0,l.jsx)(s.Item,{asChild:!0,...d,focusable:!o,active:m,children:(0,l.jsx)(r.Primitive.button,{type:`button`,role:`tab`,"aria-selected":m,"aria-controls":p,"data-state":m?`active`:`inactive`,"data-disabled":o?``:void 0,disabled:o,id:f,...c,ref:t,onMouseDown:n.composeEventHandlers(e.onMouseDown,e=>{!o&&e.button===0&&e.ctrlKey===!1?u.onValueChange(a):e.preventDefault()}),onKeyDown:n.composeEventHandlers(e.onKeyDown,e=>{o||e.target!==e.currentTarget||[` `,`Enter`].includes(e.key)&&u.onValueChange(a)}),onFocus:n.composeEventHandlers(e.onFocus,()=>{let e=u.activationMode!==`manual`;!m&&!o&&e&&u.onValueChange(a)})})})},`TabsTrigger`)),w=`TabsContent`,T=c.forwardRef(f(function(e,t){let{__scopeTabs:n,value:i,forceMount:o,children:s,...u}=e,d=v(w,n),f=E(d.baseId,i),p=D(d.baseId,i),m=i===d.value,h=c.useRef(m);return c.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.jsx)(a.Presence,{present:o||m,children:({present:n})=>(0,l.jsx)(r.Primitive.div,{"data-state":m?`active`:`inactive`,"data-orientation":d.orientation,role:`tabpanel`,"aria-labelledby":f,hidden:!n,id:p,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:h.current?`0s`:void 0},children:n&&s})})},`TabsContent`));function E(e,t){return`${e}-trigger-${t}`}f(E,`makeTriggerId`);function D(e,t){return`${e}-content-${t}`}f(D,`makeContentId`);var O=y,k=x,A=C,j=T;exports.Content=j,exports.List=k,exports.Root2=O,exports.Trigger=A;
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ import { cn as e } from "./index3.js";
3
+ import { Content as t, List as n, Root2 as r, Trigger as i } from "./index117.js";
4
+ import "react";
5
+ import { jsx as a } from "react/jsx-runtime";
6
+ //#region src/ui/tabs.tsx
7
+ function o({ className: t, ...n }) {
8
+ return /* @__PURE__ */ a(r, {
9
+ "data-slot": "tabs",
10
+ className: e("flex flex-col gap-2", t),
11
+ ...n
12
+ });
13
+ }
14
+ function s({ className: t, ...r }) {
15
+ return /* @__PURE__ */ a(n, {
16
+ "data-slot": "tabs-list",
17
+ className: e("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", t),
18
+ ...r
19
+ });
20
+ }
21
+ function c({ className: t, ...n }) {
22
+ return /* @__PURE__ */ a(i, {
23
+ "data-slot": "tabs-trigger",
24
+ className: e("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
25
+ ...n
26
+ });
27
+ }
28
+ function l({ className: n, ...r }) {
29
+ return /* @__PURE__ */ a(t, {
30
+ "data-slot": "tabs-content",
31
+ className: e("flex-1 outline-none", n),
32
+ ...r
33
+ });
34
+ }
35
+ //#endregion
36
+ export { o as Tabs, l as TabsContent, s as TabsList, c as TabsTrigger };
@@ -0,0 +1 @@
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index118.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime");function a({className:e,...r}){return(0,i.jsx)(n.Root2,{"data-slot":`tabs`,className:t.cn(`flex flex-col gap-2`,e),...r})}function o({className:e,...r}){return(0,i.jsx)(n.List,{"data-slot":`tabs-list`,className:t.cn(`bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]`,e),...r})}function s({className:e,...r}){return(0,i.jsx)(n.Trigger,{"data-slot":`tabs-trigger`,className:t.cn(`data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r})}function c({className:e,...r}){return(0,i.jsx)(n.Content,{"data-slot":`tabs-content`,className:t.cn(`flex-1 outline-none`,e),...r})}exports.Tabs=a,exports.TabsContent=c,exports.TabsList=o,exports.TabsTrigger=s;
@@ -0,0 +1,13 @@
1
+ import { cn as e } from "./index3.js";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/ui/textarea.tsx
5
+ function n({ className: n, ...r }) {
6
+ return /* @__PURE__ */ t("textarea", {
7
+ "data-slot": "textarea",
8
+ className: e("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", n),
9
+ ...r
10
+ });
11
+ }
12
+ //#endregion
13
+ export { n as Textarea };
package/dist/index12.cjs CHANGED
@@ -1 +1 @@
1
- "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index11.cjs");let r=require("lucide-react"),i=require("react");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("cmdk");function s({className:e,...n}){return(0,a.jsx)(o.Command,{"data-slot":`command`,className:t.cn(`bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md`,e),...n})}function c({title:e=`Command Palette`,description:r=`Search for a command to run...`,children:i,className:o,showCloseButton:c=!0,...l}){return(0,a.jsxs)(n.Dialog,{...l,children:[(0,a.jsxs)(n.DialogHeader,{className:`sr-only`,children:[(0,a.jsx)(n.DialogTitle,{children:e}),(0,a.jsx)(n.DialogDescription,{children:r})]}),(0,a.jsx)(n.DialogContent,{className:t.cn(`overflow-hidden p-0`,o),showCloseButton:c,children:(0,a.jsx)(s,{className:`[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5`,children:i})})]})}function l({className:e,...n}){return(0,a.jsxs)(`div`,{"data-slot":`command-input-wrapper`,className:`flex h-9 items-center gap-2 border-b px-3`,children:[(0,a.jsx)(r.SearchIcon,{className:`size-4 shrink-0 opacity-50`}),(0,a.jsx)(o.Command.Input,{"data-slot":`command-input`,className:t.cn(`placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50`,e),...n})]})}function u({className:e,...n}){return(0,a.jsx)(o.Command.List,{"data-slot":`command-list`,className:t.cn(`max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto`,e),...n})}function d({...e}){return(0,a.jsx)(o.Command.Empty,{"data-slot":`command-empty`,className:`py-6 text-center text-sm`,...e})}function f({className:e,...n}){return(0,a.jsx)(o.Command.Group,{"data-slot":`command-group`,className:t.cn(`text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium`,e),...n})}function p({className:e,...n}){return(0,a.jsx)(o.Command.Separator,{"data-slot":`command-separator`,className:t.cn(`bg-border -mx-1 h-px`,e),...n})}function m({className:e,...n}){return(0,a.jsx)(o.Command.Item,{"data-slot":`command-item`,className:t.cn(`data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...n})}function h({className:e,...n}){return(0,a.jsx)(`span`,{"data-slot":`command-shortcut`,className:t.cn(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n})}exports.Command=s,exports.CommandDialog=c,exports.CommandEmpty=d,exports.CommandGroup=f,exports.CommandInput=l,exports.CommandItem=m,exports.CommandList=u,exports.CommandSeparator=p,exports.CommandShortcut=h;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index10.cjs"),r=require("./index11.cjs");let i=require("react");i=e.__toESM(i,1);let a=require("react/jsx-runtime");function o({...e}){return(0,a.jsx)(n.Root2,{"data-slot":`alert-dialog`,...e})}function s({...e}){return(0,a.jsx)(n.Trigger2,{"data-slot":`alert-dialog-trigger`,...e})}function c({...e}){return(0,a.jsx)(n.Portal2,{"data-slot":`alert-dialog-portal`,...e})}function l({className:e,...r}){return(0,a.jsx)(n.Overlay2,{"data-slot":`alert-dialog-overlay`,className:t.cn(`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50`,e),...r})}function u({className:e,...r}){return(0,a.jsxs)(c,{children:[(0,a.jsx)(l,{}),(0,a.jsx)(n.Content2,{"data-slot":`alert-dialog-content`,className:t.cn(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg`,e),...r})]})}function d({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:t.cn(`flex flex-col gap-2 text-center sm:text-left`,e),...n})}function f({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:t.cn(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...n})}function p({className:e,...r}){return(0,a.jsx)(n.Title2,{"data-slot":`alert-dialog-title`,className:t.cn(`text-lg font-semibold`,e),...r})}function m({className:e,...r}){return(0,a.jsx)(n.Description2,{"data-slot":`alert-dialog-description`,className:t.cn(`text-muted-foreground text-sm`,e),...r})}function h({className:e,...i}){return(0,a.jsx)(n.Action,{className:t.cn(r.buttonVariants(),e),...i})}function g({className:e,...i}){return(0,a.jsx)(n.Cancel,{className:t.cn(r.buttonVariants({variant:`outline`}),e),...i})}exports.AlertDialog=o,exports.AlertDialogAction=h,exports.AlertDialogCancel=g,exports.AlertDialogContent=u,exports.AlertDialogDescription=m,exports.AlertDialogFooter=f,exports.AlertDialogHeader=d,exports.AlertDialogOverlay=l,exports.AlertDialogPortal=c,exports.AlertDialogTitle=p,exports.AlertDialogTrigger=s;
package/dist/index12.js CHANGED
@@ -1,122 +1,45 @@
1
- import { cn as e } from "./index3.js";
2
- import { CheckIcon as t, ChevronRightIcon as n, CircleIcon as r } from "lucide-react";
3
- import "react";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- import * as o from "@radix-ui/react-dropdown-menu";
6
- //#region src/ui/dropdown-menu.tsx
7
- function s({ ...e }) {
8
- return /* @__PURE__ */ i(o.Root, {
9
- "data-slot": "dropdown-menu",
10
- ...e
11
- });
12
- }
13
- function c({ ...e }) {
14
- return /* @__PURE__ */ i(o.Portal, {
15
- "data-slot": "dropdown-menu-portal",
16
- ...e
17
- });
18
- }
19
- function l({ ...e }) {
20
- return /* @__PURE__ */ i(o.Trigger, {
21
- "data-slot": "dropdown-menu-trigger",
22
- ...e
23
- });
24
- }
25
- function u({ className: t, sideOffset: n = 4, ...r }) {
26
- return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ i(o.Content, {
27
- "data-slot": "dropdown-menu-content",
28
- sideOffset: n,
29
- className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", t),
30
- ...r
31
- }) });
32
- }
33
- function d({ ...e }) {
34
- return /* @__PURE__ */ i(o.Group, {
35
- "data-slot": "dropdown-menu-group",
36
- ...e
37
- });
38
- }
39
- function f({ className: t, inset: n, variant: r = "default", ...a }) {
40
- return /* @__PURE__ */ i(o.Item, {
41
- "data-slot": "dropdown-menu-item",
42
- "data-inset": n,
43
- "data-variant": r,
44
- className: e("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
45
- ...a
46
- });
47
- }
48
- function p({ className: n, children: r, checked: s, ...c }) {
49
- return /* @__PURE__ */ a(o.CheckboxItem, {
50
- "data-slot": "dropdown-menu-checkbox-item",
51
- className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", n),
52
- checked: s,
53
- ...c,
54
- children: [/* @__PURE__ */ i("span", {
55
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
56
- children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
57
- }), r]
58
- });
59
- }
60
- function m({ ...e }) {
61
- return /* @__PURE__ */ i(o.RadioGroup, {
62
- "data-slot": "dropdown-menu-radio-group",
63
- ...e
64
- });
65
- }
66
- function h({ className: t, children: n, ...s }) {
67
- return /* @__PURE__ */ a(o.RadioItem, {
68
- "data-slot": "dropdown-menu-radio-item",
69
- className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
70
- ...s,
71
- children: [/* @__PURE__ */ i("span", {
72
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
73
- children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(r, { className: "size-2 fill-current" }) })
74
- }), n]
75
- });
76
- }
77
- function g({ className: t, inset: n, ...r }) {
78
- return /* @__PURE__ */ i(o.Label, {
79
- "data-slot": "dropdown-menu-label",
80
- "data-inset": n,
81
- className: e("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", t),
82
- ...r
83
- });
84
- }
85
- function _({ className: t, ...n }) {
86
- return /* @__PURE__ */ i(o.Separator, {
87
- "data-slot": "dropdown-menu-separator",
88
- className: e("bg-border -mx-1 my-1 h-px", t),
89
- ...n
90
- });
91
- }
92
- function v({ className: t, ...n }) {
93
- return /* @__PURE__ */ i("span", {
94
- "data-slot": "dropdown-menu-shortcut",
95
- className: e("text-muted-foreground ml-auto text-xs tracking-widest", t),
96
- ...n
97
- });
98
- }
99
- function y({ ...e }) {
100
- return /* @__PURE__ */ i(o.Sub, {
101
- "data-slot": "dropdown-menu-sub",
102
- ...e
103
- });
104
- }
105
- function b({ className: t, inset: r, children: s, ...c }) {
106
- return /* @__PURE__ */ a(o.SubTrigger, {
107
- "data-slot": "dropdown-menu-sub-trigger",
108
- "data-inset": r,
109
- className: e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
110
- ...c,
111
- children: [s, /* @__PURE__ */ i(n, { className: "ml-auto size-4" })]
112
- });
113
- }
114
- function x({ className: t, ...n }) {
115
- return /* @__PURE__ */ i(o.SubContent, {
116
- "data-slot": "dropdown-menu-sub-content",
117
- className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", t),
118
- ...n
119
- });
120
- }
1
+ import * as e from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { createSlot as n } from "@radix-ui/react-slot";
4
+ import * as r from "react-dom";
5
+ //#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_be17283a23f513d7b972453cc36e2a96/node_modules/@radix-ui/react-primitive/dist/index.mjs
6
+ var i = Object.defineProperty, a = (e, t) => i(e, "name", {
7
+ value: t,
8
+ configurable: !0
9
+ }), o = [
10
+ "a",
11
+ "button",
12
+ "div",
13
+ "form",
14
+ "h2",
15
+ "h3",
16
+ "img",
17
+ "input",
18
+ "label",
19
+ "li",
20
+ "nav",
21
+ "ol",
22
+ "p",
23
+ "select",
24
+ "span",
25
+ "svg",
26
+ "ul"
27
+ ].reduce((r, i) => {
28
+ let a = n(`Primitive.${i}`), o = e.forwardRef((e, n) => {
29
+ let { asChild: r, ...o } = e, s = r ? a : i;
30
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ t(s, {
31
+ ...o,
32
+ ref: n
33
+ });
34
+ });
35
+ return o.displayName = `Primitive.${i}`, {
36
+ ...r,
37
+ [i]: o
38
+ };
39
+ }, {});
40
+ function s(e, t) {
41
+ e && r.flushSync(() => e.dispatchEvent(t));
42
+ }
43
+ a(s, "dispatchDiscreteCustomEvent");
121
44
  //#endregion
122
- export { s as DropdownMenu, p as DropdownMenuCheckboxItem, u as DropdownMenuContent, d as DropdownMenuGroup, f as DropdownMenuItem, g as DropdownMenuLabel, c as DropdownMenuPortal, m as DropdownMenuRadioGroup, h as DropdownMenuRadioItem, _ as DropdownMenuSeparator, v as DropdownMenuShortcut, y as DropdownMenuSub, x as DropdownMenuSubContent, b as DropdownMenuSubTrigger, l as DropdownMenuTrigger };
45
+ export { o as Primitive, s as dispatchDiscreteCustomEvent };
@@ -0,0 +1 @@
1
+ const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({className:e,...n}){return(0,r.jsx)(`textarea`,{"data-slot":`textarea`,className:t.cn(`border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),...n})}exports.Textarea=i;