@egose/shadcn-theme 0.0.61 → 0.1.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 (650) hide show
  1. package/chunk-2SUYO2SG.js +170 -0
  2. package/chunk-2SUYO2SG.js.map +1 -0
  3. package/{chunk-DPGUIXSL.mjs → chunk-2UC2IM3Q.mjs} +4 -4
  4. package/chunk-2UC2IM3Q.mjs.map +1 -0
  5. package/chunk-2UTAR6ZA.js +27 -0
  6. package/chunk-2UTAR6ZA.js.map +1 -0
  7. package/{chunk-4O25L26A.js → chunk-2YMMYND2.js} +54 -27
  8. package/chunk-2YMMYND2.js.map +1 -0
  9. package/{chunk-FJGZ3SDA.mjs → chunk-3GHC4JQU.mjs} +2 -2
  10. package/{chunk-FJGZ3SDA.mjs.map → chunk-3GHC4JQU.mjs.map} +1 -1
  11. package/{chunk-WGNLM36B.js → chunk-4A5EDTXU.js} +3 -3
  12. package/{chunk-WGNLM36B.js.map → chunk-4A5EDTXU.js.map} +1 -1
  13. package/chunk-4ETXRZKO.js +101 -0
  14. package/chunk-4ETXRZKO.js.map +1 -0
  15. package/{chunk-AJFINSLK.mjs → chunk-4I6SLZWT.mjs} +2 -3
  16. package/chunk-4I6SLZWT.mjs.map +1 -0
  17. package/{chunk-WCMH464B.js → chunk-4JDCEDAG.js} +12 -12
  18. package/chunk-4JDCEDAG.js.map +1 -0
  19. package/chunk-5TXFHYQ5.js +38 -0
  20. package/chunk-5TXFHYQ5.js.map +1 -0
  21. package/chunk-6C4NHVD6.js +19 -0
  22. package/chunk-6C4NHVD6.js.map +1 -0
  23. package/{chunk-J4KEZVR5.js → chunk-6KVESKTY.js} +5 -5
  24. package/chunk-6KVESKTY.js.map +1 -0
  25. package/{chunk-SQK67X4D.mjs → chunk-7BYWDRRI.mjs} +74 -24
  26. package/chunk-7BYWDRRI.mjs.map +1 -0
  27. package/chunk-7MDE2NEO.mjs +95 -0
  28. package/chunk-7MDE2NEO.mjs.map +1 -0
  29. package/chunk-7PX7GVOR.mjs +100 -0
  30. package/chunk-7PX7GVOR.mjs.map +1 -0
  31. package/{chunk-KNNX4FAH.js → chunk-CKGMFUU2.js} +14 -6
  32. package/chunk-CKGMFUU2.js.map +1 -0
  33. package/chunk-CSL3CTEN.mjs +69 -0
  34. package/chunk-CSL3CTEN.mjs.map +1 -0
  35. package/chunk-ECYGZFEF.js +154 -0
  36. package/chunk-ECYGZFEF.js.map +1 -0
  37. package/{chunk-K6S2HW6A.mjs → chunk-EEVAP4RB.mjs} +3 -3
  38. package/chunk-EEVAP4RB.mjs.map +1 -0
  39. package/chunk-EGG4SBHV.js +132 -0
  40. package/chunk-EGG4SBHV.js.map +1 -0
  41. package/chunk-F2QWMBUB.mjs +39 -0
  42. package/chunk-F2QWMBUB.mjs.map +1 -0
  43. package/{chunk-5WZCVX6I.js → chunk-FCE22MQI.js} +9 -9
  44. package/{chunk-5WZCVX6I.js.map → chunk-FCE22MQI.js.map} +1 -1
  45. package/{chunk-QJLNEVAE.mjs → chunk-GAJQQPUC.mjs} +3 -3
  46. package/chunk-GBNJFKPB.js +51 -0
  47. package/chunk-GBNJFKPB.js.map +1 -0
  48. package/{chunk-AREM2MQQ.js → chunk-GV62APQ6.js} +2 -2
  49. package/chunk-GV62APQ6.js.map +1 -0
  50. package/{chunk-CSDFVUNP.js → chunk-HC7SLR6P.js} +9 -9
  51. package/chunk-HC7SLR6P.js.map +1 -0
  52. package/chunk-HKZRXGJ7.mjs +158 -0
  53. package/chunk-HKZRXGJ7.mjs.map +1 -0
  54. package/chunk-HNN3WAQE.mjs +153 -0
  55. package/chunk-HNN3WAQE.mjs.map +1 -0
  56. package/{chunk-HR7QORF3.mjs → chunk-HTEQHRTK.mjs} +37 -28
  57. package/{chunk-HR7QORF3.mjs.map → chunk-HTEQHRTK.mjs.map} +1 -1
  58. package/chunk-HUEFOSXC.mjs +169 -0
  59. package/chunk-HUEFOSXC.mjs.map +1 -0
  60. package/chunk-ICOZ5BK7.mjs +110 -0
  61. package/chunk-ICOZ5BK7.mjs.map +1 -0
  62. package/{chunk-GGOYFF4M.mjs → chunk-JBIYG5WI.mjs} +4 -4
  63. package/chunk-JBIYG5WI.mjs.map +1 -0
  64. package/chunk-JZXOJAMQ.js +96 -0
  65. package/chunk-JZXOJAMQ.js.map +1 -0
  66. package/{chunk-HMEHDD5N.js → chunk-K4JVHEI2.js} +19 -9
  67. package/chunk-K4JVHEI2.js.map +1 -0
  68. package/{chunk-OFRRRK4N.js → chunk-KB6BX6LA.js} +75 -25
  69. package/chunk-KB6BX6LA.js.map +1 -0
  70. package/chunk-KO4TIQLS.mjs +26 -0
  71. package/chunk-KO4TIQLS.mjs.map +1 -0
  72. package/{chunk-3DG54EVO.mjs → chunk-KRFQNEGY.mjs} +6 -6
  73. package/chunk-KRFQNEGY.mjs.map +1 -0
  74. package/{chunk-F57PDM2P.mjs → chunk-KUD4Z2MZ.mjs} +10 -5
  75. package/chunk-KUD4Z2MZ.mjs.map +1 -0
  76. package/{chunk-J4FPBR7A.mjs → chunk-LQEGZ3FQ.mjs} +4 -4
  77. package/chunk-LQEGZ3FQ.mjs.map +1 -0
  78. package/chunk-LVXIGNFJ.mjs +37 -0
  79. package/chunk-LVXIGNFJ.mjs.map +1 -0
  80. package/{chunk-NUCMI4CP.js → chunk-MAL7MDPS.js} +5 -5
  81. package/chunk-MAL7MDPS.js.map +1 -0
  82. package/chunk-MJT6B7OJ.js +159 -0
  83. package/chunk-MJT6B7OJ.js.map +1 -0
  84. package/chunk-MM5OJOOR.mjs +31 -0
  85. package/chunk-MM5OJOOR.mjs.map +1 -0
  86. package/{chunk-YYEQYAZF.js → chunk-MWBTSWPB.js} +3 -3
  87. package/{chunk-YYEQYAZF.js.map → chunk-MWBTSWPB.js.map} +1 -1
  88. package/chunk-N4GWGP3Z.mjs +131 -0
  89. package/chunk-N4GWGP3Z.mjs.map +1 -0
  90. package/{chunk-VOED37ZV.mjs → chunk-NHDANPMI.mjs} +2 -2
  91. package/chunk-NMYVYLKF.js +39 -0
  92. package/chunk-NMYVYLKF.js.map +1 -0
  93. package/{chunk-P6ZPREB6.js → chunk-OUVM5NST.js} +6 -6
  94. package/{chunk-P6ZPREB6.js.map → chunk-OUVM5NST.js.map} +1 -1
  95. package/{chunk-BWKIS24H.js → chunk-P3KR7ZM6.js} +6 -6
  96. package/{chunk-BWKIS24H.js.map → chunk-P3KR7ZM6.js.map} +1 -1
  97. package/{chunk-QBO4YAYA.mjs → chunk-PH6LAV32.mjs} +4 -4
  98. package/chunk-PH6LAV32.mjs.map +1 -0
  99. package/chunk-QCHBJMD6.mjs +38 -0
  100. package/chunk-QCHBJMD6.mjs.map +1 -0
  101. package/{chunk-IYZWOHGP.mjs → chunk-QEMZCGBS.mjs} +4 -4
  102. package/chunk-QEMZCGBS.mjs.map +1 -0
  103. package/chunk-QF6PFV6M.mjs +58 -0
  104. package/chunk-QF6PFV6M.mjs.map +1 -0
  105. package/chunk-QHCOMBHI.js +70 -0
  106. package/chunk-QHCOMBHI.js.map +1 -0
  107. package/chunk-QMLV5G5Z.js +187 -0
  108. package/chunk-QMLV5G5Z.js.map +1 -0
  109. package/{chunk-C736G6RV.mjs → chunk-RATSSU7L.mjs} +6 -6
  110. package/chunk-RATSSU7L.mjs.map +1 -0
  111. package/{chunk-UF2IGF36.js → chunk-RDDKZFT3.js} +5 -5
  112. package/chunk-RDDKZFT3.js.map +1 -0
  113. package/{chunk-XCFEBPRG.js → chunk-RGID3F2T.js} +8 -8
  114. package/{chunk-XCFEBPRG.js.map → chunk-RGID3F2T.js.map} +1 -1
  115. package/{chunk-MA3OJUIL.mjs → chunk-RIBB6GXJ.mjs} +2 -2
  116. package/chunk-RJG7QLDD.js +52 -0
  117. package/chunk-RJG7QLDD.js.map +1 -0
  118. package/chunk-RPF753T2.mjs +247 -0
  119. package/chunk-RPF753T2.mjs.map +1 -0
  120. package/chunk-UFRPUC7K.js +59 -0
  121. package/chunk-UFRPUC7K.js.map +1 -0
  122. package/chunk-UKPBHVOT.js +248 -0
  123. package/chunk-UKPBHVOT.js.map +1 -0
  124. package/chunk-UQJ4A4H2.mjs +624 -0
  125. package/chunk-UQJ4A4H2.mjs.map +1 -0
  126. package/chunk-US2CUADK.mjs +186 -0
  127. package/chunk-US2CUADK.mjs.map +1 -0
  128. package/{chunk-Q5QVXAFP.js → chunk-WHQINNUB.js} +20 -15
  129. package/chunk-WHQINNUB.js.map +1 -0
  130. package/{chunk-HBKXMTBF.mjs → chunk-WIISPZZE.mjs} +54 -27
  131. package/chunk-WIISPZZE.mjs.map +1 -0
  132. package/chunk-WKQDHQAS.js +111 -0
  133. package/chunk-WKQDHQAS.js.map +1 -0
  134. package/chunk-WREXRSAA.js +625 -0
  135. package/chunk-WREXRSAA.js.map +1 -0
  136. package/{chunk-PVKN7E6W.js → chunk-XGBDPMXL.js} +11 -11
  137. package/{chunk-PVKN7E6W.js.map → chunk-XGBDPMXL.js.map} +1 -1
  138. package/chunk-XMRJIUYX.mjs +55 -0
  139. package/chunk-XMRJIUYX.mjs.map +1 -0
  140. package/chunk-XVWILFYQ.mjs +50 -0
  141. package/chunk-XVWILFYQ.mjs.map +1 -0
  142. package/chunk-YJR5JBXS.js +56 -0
  143. package/chunk-YJR5JBXS.js.map +1 -0
  144. package/{chunk-EIAS7WVI.mjs → chunk-YOQJO7NI.mjs} +6 -6
  145. package/chunk-YQENFZOY.mjs +51 -0
  146. package/chunk-YQENFZOY.mjs.map +1 -0
  147. package/{chunk-7QMZ5MU4.js → chunk-Z342XYFY.js} +37 -28
  148. package/chunk-Z342XYFY.js.map +1 -0
  149. package/components/form/checkbox.js +4 -4
  150. package/components/form/checkbox.mjs +3 -3
  151. package/components/form/date-picker.js +7 -7
  152. package/components/form/date-picker.mjs +6 -6
  153. package/components/form/date-range-picker.js +9 -9
  154. package/components/form/date-range-picker.js.map +1 -1
  155. package/components/form/date-range-picker.mjs +6 -6
  156. package/components/form/date-range-picker.mjs.map +1 -1
  157. package/components/form/hook-checkbox.js +4 -4
  158. package/components/form/hook-checkbox.mjs +3 -3
  159. package/components/form/hook-date-picker.js +7 -7
  160. package/components/form/hook-date-picker.mjs +6 -6
  161. package/components/form/hook-native-select.js +3 -3
  162. package/components/form/hook-native-select.mjs +2 -2
  163. package/components/form/hook-searchable-select.js +11 -8
  164. package/components/form/hook-searchable-select.js.map +1 -1
  165. package/components/form/hook-searchable-select.mjs +10 -7
  166. package/components/form/hook-searchable-select.mjs.map +1 -1
  167. package/components/form/hook-select.js +4 -4
  168. package/components/form/hook-select.mjs +3 -3
  169. package/components/form/hook-text-input.js +4 -4
  170. package/components/form/hook-text-input.mjs +3 -3
  171. package/components/form/hook-textarea.js +4 -4
  172. package/components/form/hook-textarea.mjs +3 -3
  173. package/components/form/hook-time-input.js +5 -5
  174. package/components/form/hook-time-input.mjs +4 -4
  175. package/components/form/native-select.js +3 -3
  176. package/components/form/native-select.mjs +2 -2
  177. package/components/form/searchable-select.js +11 -8
  178. package/components/form/searchable-select.js.map +1 -1
  179. package/components/form/searchable-select.mjs +10 -7
  180. package/components/form/select.js +4 -4
  181. package/components/form/select.mjs +3 -3
  182. package/components/form/text-input.js +4 -4
  183. package/components/form/text-input.mjs +3 -3
  184. package/components/form/textarea.js +4 -4
  185. package/components/form/textarea.mjs +3 -3
  186. package/components/form/time-input.js +5 -5
  187. package/components/form/time-input.mjs +4 -4
  188. package/components/ui/accordion.d.mts +5 -5
  189. package/components/ui/accordion.d.ts +5 -5
  190. package/components/ui/accordion.js +43 -21
  191. package/components/ui/accordion.js.map +1 -1
  192. package/components/ui/accordion.mjs +41 -19
  193. package/components/ui/accordion.mjs.map +1 -1
  194. package/components/ui/alert-dialog.d.mts +19 -19
  195. package/components/ui/alert-dialog.d.ts +19 -19
  196. package/components/ui/alert-dialog.js +122 -52
  197. package/components/ui/alert-dialog.js.map +1 -1
  198. package/components/ui/alert-dialog.mjs +120 -50
  199. package/components/ui/alert-dialog.mjs.map +1 -1
  200. package/components/ui/alert.d.mts +10 -5
  201. package/components/ui/alert.d.ts +10 -5
  202. package/components/ui/alert.js +4 -2
  203. package/components/ui/alert.js.map +1 -1
  204. package/components/ui/alert.mjs +3 -1
  205. package/components/ui/aspect-ratio.d.mts +3 -3
  206. package/components/ui/aspect-ratio.d.ts +3 -3
  207. package/components/ui/aspect-ratio.js +10 -4
  208. package/components/ui/aspect-ratio.js.map +1 -1
  209. package/components/ui/aspect-ratio.mjs +9 -3
  210. package/components/ui/aspect-ratio.mjs.map +1 -1
  211. package/components/ui/avatar.d.mts +10 -5
  212. package/components/ui/avatar.d.ts +10 -5
  213. package/components/ui/avatar.js +8 -2
  214. package/components/ui/avatar.js.map +1 -1
  215. package/components/ui/avatar.mjs +7 -1
  216. package/components/ui/badge.d.mts +9 -2
  217. package/components/ui/badge.d.ts +9 -2
  218. package/components/ui/badge.js +2 -2
  219. package/components/ui/badge.mjs +1 -1
  220. package/components/ui/basic-alert.d.mts +1 -0
  221. package/components/ui/basic-alert.d.ts +1 -0
  222. package/components/ui/basic-alert.js +2 -2
  223. package/components/ui/basic-alert.mjs +1 -1
  224. package/components/ui/breadcrumb.d.mts +8 -16
  225. package/components/ui/breadcrumb.d.ts +8 -16
  226. package/components/ui/breadcrumb.js +2 -2
  227. package/components/ui/breadcrumb.mjs +1 -1
  228. package/components/ui/button-group.d.mts +16 -0
  229. package/components/ui/button-group.d.ts +16 -0
  230. package/components/ui/button-group.js +94 -0
  231. package/components/ui/button-group.js.map +1 -0
  232. package/components/ui/button-group.mjs +93 -0
  233. package/components/ui/button-group.mjs.map +1 -0
  234. package/components/ui/button.d.mts +8 -2
  235. package/components/ui/button.d.ts +8 -2
  236. package/components/ui/button.js +3 -3
  237. package/components/ui/button.mjs +2 -2
  238. package/components/ui/calendar.d.mts +11 -8
  239. package/components/ui/calendar.d.ts +11 -8
  240. package/components/ui/calendar.js +6 -4
  241. package/components/ui/calendar.js.map +1 -1
  242. package/components/ui/calendar.mjs +7 -5
  243. package/components/ui/card.d.mts +10 -7
  244. package/components/ui/card.d.ts +10 -7
  245. package/components/ui/card.js +73 -47
  246. package/components/ui/card.js.map +1 -1
  247. package/components/ui/card.mjs +65 -39
  248. package/components/ui/card.mjs.map +1 -1
  249. package/components/ui/carousel.d.mts +17 -7
  250. package/components/ui/carousel.d.ts +17 -7
  251. package/components/ui/carousel.js +162 -158
  252. package/components/ui/carousel.js.map +1 -1
  253. package/components/ui/carousel.mjs +163 -159
  254. package/components/ui/carousel.mjs.map +1 -1
  255. package/components/ui/checkbox.d.mts +2 -2
  256. package/components/ui/checkbox.d.ts +2 -2
  257. package/components/ui/checkbox.js +2 -2
  258. package/components/ui/checkbox.mjs +1 -1
  259. package/components/ui/collapsible.d.mts +5 -5
  260. package/components/ui/collapsible.d.ts +5 -5
  261. package/components/ui/collapsible.js +2 -2
  262. package/components/ui/collapsible.mjs +1 -1
  263. package/components/ui/combobox.d.mts +26 -0
  264. package/components/ui/combobox.d.ts +26 -0
  265. package/components/ui/combobox.js +273 -0
  266. package/components/ui/combobox.js.map +1 -0
  267. package/components/ui/combobox.mjs +272 -0
  268. package/components/ui/combobox.mjs.map +1 -0
  269. package/components/ui/command.d.mts +17 -78
  270. package/components/ui/command.d.ts +17 -78
  271. package/components/ui/command.js +8 -3
  272. package/components/ui/command.js.map +1 -1
  273. package/components/ui/command.mjs +7 -2
  274. package/components/ui/context-menu.d.mts +26 -22
  275. package/components/ui/context-menu.d.ts +26 -22
  276. package/components/ui/context-menu.js +153 -75
  277. package/components/ui/context-menu.js.map +1 -1
  278. package/components/ui/context-menu.mjs +151 -73
  279. package/components/ui/context-menu.mjs.map +1 -1
  280. package/components/ui/copy-button.js +3 -3
  281. package/components/ui/copy-button.js.map +1 -1
  282. package/components/ui/copy-button.mjs +1 -1
  283. package/components/ui/copy-button.mjs.map +1 -1
  284. package/components/ui/dialog.d.mts +15 -19
  285. package/components/ui/dialog.d.ts +15 -19
  286. package/components/ui/dialog.js +4 -2
  287. package/components/ui/dialog.js.map +1 -1
  288. package/components/ui/dialog.mjs +3 -1
  289. package/components/ui/direction.d.mts +9 -0
  290. package/components/ui/direction.d.ts +9 -0
  291. package/components/ui/direction.js +20 -0
  292. package/components/ui/direction.js.map +1 -0
  293. package/components/ui/direction.mjs +19 -0
  294. package/components/ui/direction.mjs.map +1 -0
  295. package/components/ui/drawer.js +1 -1
  296. package/components/ui/drawer.js.map +1 -1
  297. package/components/ui/drawer.mjs +1 -1
  298. package/components/ui/drawer.mjs.map +1 -1
  299. package/components/ui/dropdown-menu.d.mts +24 -22
  300. package/components/ui/dropdown-menu.d.ts +24 -22
  301. package/components/ui/dropdown-menu.js +2 -2
  302. package/components/ui/dropdown-menu.mjs +1 -1
  303. package/components/ui/empty.d.mts +15 -0
  304. package/components/ui/empty.d.ts +15 -0
  305. package/components/ui/empty.js +102 -0
  306. package/components/ui/empty.js.map +1 -0
  307. package/components/ui/empty.mjs +101 -0
  308. package/components/ui/empty.mjs.map +1 -0
  309. package/components/ui/extension/file-input.js +4 -4
  310. package/components/ui/extension/file-input.mjs +3 -3
  311. package/components/ui/extension/multi-select.js +13 -8
  312. package/components/ui/extension/multi-select.js.map +1 -1
  313. package/components/ui/extension/multi-select.mjs +8 -3
  314. package/components/ui/extension/multi-select.mjs.map +1 -1
  315. package/components/ui/field.d.mts +29 -0
  316. package/components/ui/field.d.ts +29 -0
  317. package/components/ui/field.js +220 -0
  318. package/components/ui/field.js.map +1 -0
  319. package/components/ui/field.mjs +219 -0
  320. package/components/ui/field.mjs.map +1 -0
  321. package/components/ui/hover-card.d.mts +4 -4
  322. package/components/ui/hover-card.d.ts +4 -4
  323. package/components/ui/hover-card.js +25 -12
  324. package/components/ui/hover-card.js.map +1 -1
  325. package/components/ui/hover-card.mjs +24 -11
  326. package/components/ui/hover-card.mjs.map +1 -1
  327. package/components/ui/input-group.d.mts +19 -0
  328. package/components/ui/input-group.d.ts +19 -0
  329. package/components/ui/input-group.js +25 -0
  330. package/components/ui/input-group.js.map +1 -0
  331. package/components/ui/input-group.mjs +24 -0
  332. package/components/ui/input-otp.d.mts +7 -31
  333. package/components/ui/input-otp.d.ts +7 -31
  334. package/components/ui/input-otp.js +58 -37
  335. package/components/ui/input-otp.js.map +1 -1
  336. package/components/ui/input-otp.mjs +59 -38
  337. package/components/ui/input-otp.mjs.map +1 -1
  338. package/components/ui/input.js +2 -2
  339. package/components/ui/input.mjs +1 -1
  340. package/components/ui/item.d.mts +27 -0
  341. package/components/ui/item.d.ts +27 -0
  342. package/components/ui/item.js +187 -0
  343. package/components/ui/item.js.map +1 -0
  344. package/components/ui/item.mjs +186 -0
  345. package/components/ui/item.mjs.map +1 -0
  346. package/components/ui/kbd.d.mts +6 -0
  347. package/components/ui/kbd.d.ts +6 -0
  348. package/components/ui/kbd.js +33 -0
  349. package/components/ui/kbd.js.map +1 -0
  350. package/components/ui/kbd.mjs +32 -0
  351. package/components/ui/kbd.mjs.map +1 -0
  352. package/components/ui/label.d.mts +3 -4
  353. package/components/ui/label.d.ts +3 -4
  354. package/components/ui/label.js +2 -2
  355. package/components/ui/label.mjs +1 -1
  356. package/components/ui/menubar.d.mts +25 -23
  357. package/components/ui/menubar.d.ts +25 -23
  358. package/components/ui/menubar.js +162 -104
  359. package/components/ui/menubar.js.map +1 -1
  360. package/components/ui/menubar.mjs +157 -99
  361. package/components/ui/menubar.mjs.map +1 -1
  362. package/components/ui/native-select.d.mts +10 -0
  363. package/components/ui/native-select.d.ts +10 -0
  364. package/components/ui/native-select.js +53 -0
  365. package/components/ui/native-select.js.map +1 -0
  366. package/components/ui/native-select.mjs +52 -0
  367. package/components/ui/native-select.mjs.map +1 -0
  368. package/components/ui/navigation-menu.d.mts +13 -10
  369. package/components/ui/navigation-menu.d.ts +13 -10
  370. package/components/ui/navigation-menu.js +80 -47
  371. package/components/ui/navigation-menu.js.map +1 -1
  372. package/components/ui/navigation-menu.mjs +75 -42
  373. package/components/ui/navigation-menu.mjs.map +1 -1
  374. package/components/ui/pagination.d.mts +14 -24
  375. package/components/ui/pagination.d.ts +14 -24
  376. package/components/ui/pagination.js +45 -44
  377. package/components/ui/pagination.js.map +1 -1
  378. package/components/ui/pagination.mjs +47 -46
  379. package/components/ui/pagination.mjs.map +1 -1
  380. package/components/ui/popover.d.mts +9 -6
  381. package/components/ui/popover.d.ts +9 -6
  382. package/components/ui/popover.js +8 -2
  383. package/components/ui/popover.js.map +1 -1
  384. package/components/ui/popover.mjs +7 -1
  385. package/components/ui/progress.d.mts +2 -2
  386. package/components/ui/progress.d.ts +2 -2
  387. package/components/ui/progress.js +9 -9
  388. package/components/ui/progress.js.map +1 -1
  389. package/components/ui/progress.mjs +7 -7
  390. package/components/ui/progress.mjs.map +1 -1
  391. package/components/ui/radio-group.d.mts +3 -3
  392. package/components/ui/radio-group.d.ts +3 -3
  393. package/components/ui/radio-group.js +17 -14
  394. package/components/ui/radio-group.js.map +1 -1
  395. package/components/ui/radio-group.mjs +16 -13
  396. package/components/ui/radio-group.mjs.map +1 -1
  397. package/components/ui/resizable.d.mts +4 -20
  398. package/components/ui/resizable.d.ts +4 -20
  399. package/components/ui/resizable.js +15 -12
  400. package/components/ui/resizable.js.map +1 -1
  401. package/components/ui/resizable.mjs +15 -12
  402. package/components/ui/resizable.mjs.map +1 -1
  403. package/components/ui/scroll-area.d.mts +3 -3
  404. package/components/ui/scroll-area.d.ts +3 -3
  405. package/components/ui/scroll-area.js +31 -15
  406. package/components/ui/scroll-area.js.map +1 -1
  407. package/components/ui/scroll-area.mjs +30 -14
  408. package/components/ui/scroll-area.mjs.map +1 -1
  409. package/components/ui/select.d.mts +13 -11
  410. package/components/ui/select.d.ts +13 -11
  411. package/components/ui/select.js +2 -2
  412. package/components/ui/select.mjs +1 -1
  413. package/components/ui/separator.d.mts +2 -2
  414. package/components/ui/separator.d.ts +2 -2
  415. package/components/ui/separator.js +2 -2
  416. package/components/ui/separator.mjs +1 -1
  417. package/components/ui/sheet.d.mts +13 -22
  418. package/components/ui/sheet.d.ts +13 -22
  419. package/components/ui/sheet.js +4 -6
  420. package/components/ui/sheet.js.map +1 -1
  421. package/components/ui/sheet.mjs +3 -5
  422. package/components/ui/sidebar.d.mts +46 -41
  423. package/components/ui/sidebar.d.ts +46 -41
  424. package/components/ui/sidebar.js +9 -9
  425. package/components/ui/sidebar.mjs +8 -8
  426. package/components/ui/skeleton.d.mts +2 -2
  427. package/components/ui/skeleton.d.ts +2 -2
  428. package/components/ui/skeleton.js +2 -2
  429. package/components/ui/skeleton.mjs +1 -1
  430. package/components/ui/slider.d.mts +2 -2
  431. package/components/ui/slider.d.ts +2 -2
  432. package/components/ui/slider.js +52 -10
  433. package/components/ui/slider.js.map +1 -1
  434. package/components/ui/slider.mjs +51 -9
  435. package/components/ui/slider.mjs.map +1 -1
  436. package/components/ui/sonner.d.mts +1 -2
  437. package/components/ui/sonner.d.ts +1 -2
  438. package/components/ui/sonner.js +16 -6
  439. package/components/ui/sonner.js.map +1 -1
  440. package/components/ui/sonner.mjs +15 -5
  441. package/components/ui/sonner.mjs.map +1 -1
  442. package/components/ui/spinner.d.mts +7 -2
  443. package/components/ui/spinner.d.ts +7 -2
  444. package/components/ui/spinner.js +2 -2
  445. package/components/ui/spinner.mjs +1 -1
  446. package/components/ui/switch.d.mts +4 -2
  447. package/components/ui/switch.d.ts +4 -2
  448. package/components/ui/switch.js +19 -16
  449. package/components/ui/switch.js.map +1 -1
  450. package/components/ui/switch.mjs +19 -16
  451. package/components/ui/switch.mjs.map +1 -1
  452. package/components/ui/table.d.mts +8 -8
  453. package/components/ui/table.d.ts +8 -8
  454. package/components/ui/table.js +59 -77
  455. package/components/ui/table.js.map +1 -1
  456. package/components/ui/table.mjs +59 -77
  457. package/components/ui/table.mjs.map +1 -1
  458. package/components/ui/tabs.d.mts +11 -6
  459. package/components/ui/tabs.d.ts +11 -6
  460. package/components/ui/tabs.js +55 -28
  461. package/components/ui/tabs.js.map +1 -1
  462. package/components/ui/tabs.mjs +52 -25
  463. package/components/ui/tabs.mjs.map +1 -1
  464. package/components/ui/textarea.js +2 -2
  465. package/components/ui/textarea.mjs +1 -1
  466. package/components/ui/toggle-group.d.mts +8 -5
  467. package/components/ui/toggle-group.d.ts +8 -5
  468. package/components/ui/toggle-group.js +54 -20
  469. package/components/ui/toggle-group.js.map +1 -1
  470. package/components/ui/toggle-group.mjs +51 -17
  471. package/components/ui/toggle-group.mjs.map +1 -1
  472. package/components/ui/toggle.d.mts +7 -3
  473. package/components/ui/toggle.d.ts +7 -3
  474. package/components/ui/toggle.js +2 -2
  475. package/components/ui/toggle.mjs +1 -1
  476. package/components/ui/tooltip.d.mts +5 -5
  477. package/components/ui/tooltip.d.ts +5 -5
  478. package/components/ui/tooltip.js +2 -2
  479. package/components/ui/tooltip.mjs +1 -1
  480. package/components/widgets/dialog-manager/index.js +1 -1
  481. package/components/widgets/dialog-manager/index.js.map +1 -1
  482. package/components/widgets/dialog-manager/index.mjs +1 -1
  483. package/layouts/sidebar1/app-sidebar.d.mts +5 -3
  484. package/layouts/sidebar1/app-sidebar.d.ts +5 -3
  485. package/layouts/sidebar1/app-sidebar.js +17 -16
  486. package/layouts/sidebar1/app-sidebar.js.map +1 -1
  487. package/layouts/sidebar1/app-sidebar.mjs +16 -15
  488. package/layouts/sidebar1/context-switcher.d.mts +1 -0
  489. package/layouts/sidebar1/context-switcher.d.ts +1 -0
  490. package/layouts/sidebar1/context-switcher.js +11 -11
  491. package/layouts/sidebar1/context-switcher.mjs +10 -10
  492. package/layouts/sidebar1/index.d.mts +5 -3
  493. package/layouts/sidebar1/index.d.ts +5 -3
  494. package/layouts/sidebar1/index.js +21 -19
  495. package/layouts/sidebar1/index.js.map +1 -1
  496. package/layouts/sidebar1/index.mjs +22 -20
  497. package/layouts/sidebar1/index.mjs.map +1 -1
  498. package/layouts/sidebar1/{LinkWrapper.js → link-placeholder.js} +2 -2
  499. package/layouts/sidebar1/link-placeholder.js.map +1 -0
  500. package/layouts/sidebar1/{LinkWrapper.mjs → link-placeholder.mjs} +2 -2
  501. package/layouts/sidebar1/link-placeholder.mjs.map +1 -0
  502. package/layouts/sidebar1/nav-menus.js +11 -11
  503. package/layouts/sidebar1/nav-menus.mjs +10 -10
  504. package/layouts/sidebar1/nav-user.js +13 -12
  505. package/layouts/sidebar1/nav-user.js.map +1 -1
  506. package/layouts/sidebar1/nav-user.mjs +12 -11
  507. package/layouts/sidebar1/theme-switcher.d.mts +5 -0
  508. package/layouts/sidebar1/theme-switcher.d.ts +5 -0
  509. package/layouts/sidebar1/theme-switcher.js +10 -0
  510. package/layouts/sidebar1/theme-switcher.js.map +1 -0
  511. package/layouts/sidebar1/theme-switcher.mjs +9 -0
  512. package/layouts/simple/index.js +4 -4
  513. package/layouts/simple/index.mjs +4 -4
  514. package/layouts/simple/user-menu.js +3 -3
  515. package/layouts/simple/user-menu.mjs +2 -2
  516. package/package.json +6 -31
  517. package/chunk-23MJMEQC.js +0 -33
  518. package/chunk-23MJMEQC.js.map +0 -1
  519. package/chunk-2DJW7DN4.js +0 -124
  520. package/chunk-2DJW7DN4.js.map +0 -1
  521. package/chunk-3AWU47KT.js +0 -99
  522. package/chunk-3AWU47KT.js.map +0 -1
  523. package/chunk-3DG54EVO.mjs.map +0 -1
  524. package/chunk-43V6CNEG.mjs +0 -92
  525. package/chunk-43V6CNEG.mjs.map +0 -1
  526. package/chunk-47TKC7DB.mjs +0 -38
  527. package/chunk-47TKC7DB.mjs.map +0 -1
  528. package/chunk-4O25L26A.js.map +0 -1
  529. package/chunk-5AC6SSUU.js +0 -567
  530. package/chunk-5AC6SSUU.js.map +0 -1
  531. package/chunk-73TDZTWF.js +0 -32
  532. package/chunk-73TDZTWF.js.map +0 -1
  533. package/chunk-754FOR4K.js +0 -154
  534. package/chunk-754FOR4K.js.map +0 -1
  535. package/chunk-7QMZ5MU4.js.map +0 -1
  536. package/chunk-ABZ4SF2K.mjs +0 -32
  537. package/chunk-ABZ4SF2K.mjs.map +0 -1
  538. package/chunk-AJFINSLK.mjs.map +0 -1
  539. package/chunk-APMXMQPZ.js +0 -33
  540. package/chunk-APMXMQPZ.js.map +0 -1
  541. package/chunk-AREM2MQQ.js.map +0 -1
  542. package/chunk-BH4FHKAR.js +0 -91
  543. package/chunk-BH4FHKAR.js.map +0 -1
  544. package/chunk-C736G6RV.mjs.map +0 -1
  545. package/chunk-CSDFVUNP.js.map +0 -1
  546. package/chunk-D6WUNCBI.mjs +0 -91
  547. package/chunk-D6WUNCBI.mjs.map +0 -1
  548. package/chunk-DOM2D2R7.mjs +0 -31
  549. package/chunk-DOM2D2R7.mjs.map +0 -1
  550. package/chunk-DPGUIXSL.mjs.map +0 -1
  551. package/chunk-F57PDM2P.mjs.map +0 -1
  552. package/chunk-GGOYFF4M.mjs.map +0 -1
  553. package/chunk-GVZX7FQQ.mjs +0 -123
  554. package/chunk-GVZX7FQQ.mjs.map +0 -1
  555. package/chunk-GZPKVSCR.js +0 -38
  556. package/chunk-GZPKVSCR.js.map +0 -1
  557. package/chunk-HBKXMTBF.mjs.map +0 -1
  558. package/chunk-HMEHDD5N.js.map +0 -1
  559. package/chunk-HN73FRPZ.js +0 -20
  560. package/chunk-HN73FRPZ.js.map +0 -1
  561. package/chunk-I6AFNWVY.js +0 -123
  562. package/chunk-I6AFNWVY.js.map +0 -1
  563. package/chunk-IHNDGZWX.mjs +0 -98
  564. package/chunk-IHNDGZWX.mjs.map +0 -1
  565. package/chunk-IYZWOHGP.mjs.map +0 -1
  566. package/chunk-J4FPBR7A.mjs.map +0 -1
  567. package/chunk-J4KEZVR5.js.map +0 -1
  568. package/chunk-JVMY3LCD.mjs +0 -90
  569. package/chunk-JVMY3LCD.mjs.map +0 -1
  570. package/chunk-K6S2HW6A.mjs.map +0 -1
  571. package/chunk-KNNX4FAH.js.map +0 -1
  572. package/chunk-LYMKN3NY.js +0 -39
  573. package/chunk-LYMKN3NY.js.map +0 -1
  574. package/chunk-M55DCHAX.mjs +0 -45
  575. package/chunk-M55DCHAX.mjs.map +0 -1
  576. package/chunk-MKOOSP3M.mjs +0 -71
  577. package/chunk-MKOOSP3M.mjs.map +0 -1
  578. package/chunk-MUWMASP4.js +0 -44
  579. package/chunk-MUWMASP4.js.map +0 -1
  580. package/chunk-NL4534LH.mjs +0 -23
  581. package/chunk-NL4534LH.mjs.map +0 -1
  582. package/chunk-NUCMI4CP.js.map +0 -1
  583. package/chunk-NWVKFMW3.mjs +0 -32
  584. package/chunk-NWVKFMW3.mjs.map +0 -1
  585. package/chunk-OFRRRK4N.js.map +0 -1
  586. package/chunk-OI7CIW4X.mjs +0 -566
  587. package/chunk-OI7CIW4X.mjs.map +0 -1
  588. package/chunk-OJEDITOA.mjs +0 -112
  589. package/chunk-OJEDITOA.mjs.map +0 -1
  590. package/chunk-OROMS2CN.js +0 -13
  591. package/chunk-OROMS2CN.js.map +0 -1
  592. package/chunk-PHE5ID6D.js +0 -92
  593. package/chunk-PHE5ID6D.js.map +0 -1
  594. package/chunk-Q5QVXAFP.js.map +0 -1
  595. package/chunk-QBO4YAYA.mjs.map +0 -1
  596. package/chunk-QJKRCNUX.mjs +0 -153
  597. package/chunk-QJKRCNUX.mjs.map +0 -1
  598. package/chunk-QW2TXVH4.js +0 -46
  599. package/chunk-QW2TXVH4.js.map +0 -1
  600. package/chunk-SCU2RG4I.mjs +0 -37
  601. package/chunk-SCU2RG4I.mjs.map +0 -1
  602. package/chunk-SQK67X4D.mjs.map +0 -1
  603. package/chunk-SSL4EXAQ.mjs +0 -29
  604. package/chunk-SSL4EXAQ.mjs.map +0 -1
  605. package/chunk-TXGL3AHG.mjs +0 -43
  606. package/chunk-TXGL3AHG.mjs.map +0 -1
  607. package/chunk-UF2IGF36.js.map +0 -1
  608. package/chunk-WCMH464B.js.map +0 -1
  609. package/chunk-WJ4BE7HH.mjs +0 -12
  610. package/chunk-WJ4BE7HH.mjs.map +0 -1
  611. package/chunk-XDCB6C5S.js +0 -72
  612. package/chunk-XDCB6C5S.js.map +0 -1
  613. package/chunk-XIHKXTB2.js +0 -93
  614. package/chunk-XIHKXTB2.js.map +0 -1
  615. package/chunk-XWFQVYPB.js +0 -113
  616. package/chunk-XWFQVYPB.js.map +0 -1
  617. package/chunk-YQZZ6RRI.mjs +0 -122
  618. package/chunk-YQZZ6RRI.mjs.map +0 -1
  619. package/components/ui/form.d.mts +0 -27
  620. package/components/ui/form.d.ts +0 -27
  621. package/components/ui/form.js +0 -110
  622. package/components/ui/form.js.map +0 -1
  623. package/components/ui/form.mjs +0 -109
  624. package/components/ui/form.mjs.map +0 -1
  625. package/components/ui/toast.d.mts +0 -15
  626. package/components/ui/toast.d.ts +0 -15
  627. package/components/ui/toast.js +0 -23
  628. package/components/ui/toast.js.map +0 -1
  629. package/components/ui/toast.mjs +0 -22
  630. package/components/ui/toaster.d.mts +0 -5
  631. package/components/ui/toaster.d.ts +0 -5
  632. package/components/ui/toaster.js +0 -32
  633. package/components/ui/toaster.js.map +0 -1
  634. package/components/ui/toaster.mjs +0 -31
  635. package/components/ui/toaster.mjs.map +0 -1
  636. package/hooks/use-toast.d.mts +0 -48
  637. package/hooks/use-toast.d.ts +0 -48
  638. package/hooks/use-toast.js +0 -14
  639. package/hooks/use-toast.js.map +0 -1
  640. package/hooks/use-toast.mjs +0 -13
  641. package/layouts/sidebar1/LinkWrapper.js.map +0 -1
  642. package/layouts/sidebar1/LinkWrapper.mjs.map +0 -1
  643. /package/{chunk-QJLNEVAE.mjs.map → chunk-GAJQQPUC.mjs.map} +0 -0
  644. /package/{chunk-VOED37ZV.mjs.map → chunk-NHDANPMI.mjs.map} +0 -0
  645. /package/{chunk-MA3OJUIL.mjs.map → chunk-RIBB6GXJ.mjs.map} +0 -0
  646. /package/{chunk-EIAS7WVI.mjs.map → chunk-YOQJO7NI.mjs.map} +0 -0
  647. /package/components/ui/{toast.mjs.map → input-group.mjs.map} +0 -0
  648. /package/layouts/sidebar1/{LinkWrapper.d.mts → link-placeholder.d.mts} +0 -0
  649. /package/layouts/sidebar1/{LinkWrapper.d.ts → link-placeholder.d.ts} +0 -0
  650. /package/{hooks/use-toast.mjs.map → layouts/sidebar1/theme-switcher.mjs.map} +0 -0
@@ -1,27 +0,0 @@
1
- import * as _radix_ui_react_slot from '@radix-ui/react-slot';
2
- import * as react_hook_form from 'react-hook-form';
3
- import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
4
- import * as React from 'react';
5
- import * as LabelPrimitive from '@radix-ui/react-label';
6
-
7
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
8
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
9
- declare const useFormField: () => {
10
- invalid: boolean;
11
- isDirty: boolean;
12
- isTouched: boolean;
13
- isValidating: boolean;
14
- error?: react_hook_form.FieldError;
15
- id: string;
16
- name: string;
17
- formItemId: string;
18
- formDescriptionId: string;
19
- formMessageId: string;
20
- };
21
- declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
22
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
23
- declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
24
- declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
25
- declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
26
-
27
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
@@ -1,27 +0,0 @@
1
- import * as _radix_ui_react_slot from '@radix-ui/react-slot';
2
- import * as react_hook_form from 'react-hook-form';
3
- import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
4
- import * as React from 'react';
5
- import * as LabelPrimitive from '@radix-ui/react-label';
6
-
7
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
8
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
9
- declare const useFormField: () => {
10
- invalid: boolean;
11
- isDirty: boolean;
12
- isTouched: boolean;
13
- isValidating: boolean;
14
- error?: react_hook_form.FieldError;
15
- id: string;
16
- name: string;
17
- formItemId: string;
18
- formDescriptionId: string;
19
- formMessageId: string;
20
- };
21
- declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
22
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
23
- declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
24
- declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
25
- declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
26
-
27
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
@@ -1,110 +0,0 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
3
-
4
-
5
- var _chunkKNNX4FAHjs = require('../../chunk-KNNX4FAH.js');
6
-
7
-
8
- var _chunkPSPAJNNBjs = require('../../chunk-PSPAJNNB.js');
9
-
10
-
11
-
12
- var _chunk2NMEKWO5js = require('../../chunk-2NMEKWO5.js');
13
-
14
- // components/ui/form.tsx
15
- var _react = require('react'); var React = _interopRequireWildcard(_react);
16
- var _reactslot = require('@radix-ui/react-slot');
17
- var _reacthookform = require('react-hook-form');
18
- var Form = _reacthookform.FormProvider;
19
- var FormFieldContext = React.createContext({});
20
- var FormField = (_a) => {
21
- var props = _chunk2NMEKWO5js.__objRest.call(void 0, _a, []);
22
- return /* @__PURE__ */ React.createElement(FormFieldContext.Provider, { value: { name: props.name } }, /* @__PURE__ */ React.createElement(_reacthookform.Controller, _chunk2NMEKWO5js.__spreadValues.call(void 0, {}, props)));
23
- };
24
- var useFormField = () => {
25
- const fieldContext = React.useContext(FormFieldContext);
26
- const itemContext = React.useContext(FormItemContext);
27
- const { getFieldState, formState } = _reacthookform.useFormContext.call(void 0, );
28
- const fieldState = getFieldState(fieldContext.name, formState);
29
- if (!fieldContext) {
30
- throw new Error("useFormField should be used within <FormField>");
31
- }
32
- const { id } = itemContext;
33
- return _chunk2NMEKWO5js.__spreadValues.call(void 0, {
34
- id,
35
- name: fieldContext.name,
36
- formItemId: `${id}-form-item`,
37
- formDescriptionId: `${id}-form-item-description`,
38
- formMessageId: `${id}-form-item-message`
39
- }, fieldState);
40
- };
41
- var FormItemContext = React.createContext({});
42
- var FormItem = React.forwardRef(
43
- (_a, ref) => {
44
- var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
45
- const id = React.useId();
46
- return /* @__PURE__ */ React.createElement(FormItemContext.Provider, { value: { id } }, /* @__PURE__ */ React.createElement("div", _chunk2NMEKWO5js.__spreadValues.call(void 0, { ref, className: _chunkPSPAJNNBjs.cn.call(void 0, "space-y-2", className) }, props)));
47
- }
48
- );
49
- FormItem.displayName = "FormItem";
50
- var FormLabel = React.forwardRef((_a, ref) => {
51
- var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
52
- const { error, formItemId } = useFormField();
53
- return /* @__PURE__ */ React.createElement(_chunkKNNX4FAHjs.Label, _chunk2NMEKWO5js.__spreadValues.call(void 0, { ref, className: _chunkPSPAJNNBjs.cn.call(void 0, error && "text-destructive", className), htmlFor: formItemId }, props));
54
- });
55
- FormLabel.displayName = "FormLabel";
56
- var FormControl = React.forwardRef(
57
- (_a, ref) => {
58
- var props = _chunk2NMEKWO5js.__objRest.call(void 0, _a, []);
59
- const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
60
- return /* @__PURE__ */ React.createElement(
61
- _reactslot.Slot,
62
- _chunk2NMEKWO5js.__spreadValues.call(void 0, {
63
- ref,
64
- id: formItemId,
65
- "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
66
- "aria-invalid": !!error
67
- }, props)
68
- );
69
- }
70
- );
71
- FormControl.displayName = "FormControl";
72
- var FormDescription = React.forwardRef(
73
- (_a, ref) => {
74
- var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
75
- const { formDescriptionId } = useFormField();
76
- return /* @__PURE__ */ React.createElement("p", _chunk2NMEKWO5js.__spreadValues.call(void 0, { ref, id: formDescriptionId, className: _chunkPSPAJNNBjs.cn.call(void 0, "text-[0.8rem] text-muted-foreground", className) }, props));
77
- }
78
- );
79
- FormDescription.displayName = "FormDescription";
80
- var FormMessage = React.forwardRef(
81
- (_a, ref) => {
82
- var _b = _a, { className, children } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className", "children"]);
83
- const { error, formMessageId } = useFormField();
84
- const body = error ? String(error == null ? void 0 : error.message) : children;
85
- if (!body) {
86
- return null;
87
- }
88
- return /* @__PURE__ */ React.createElement(
89
- "p",
90
- _chunk2NMEKWO5js.__spreadValues.call(void 0, {
91
- ref,
92
- id: formMessageId,
93
- className: _chunkPSPAJNNBjs.cn.call(void 0, "text-[0.8rem] font-medium text-destructive", className)
94
- }, props),
95
- body
96
- );
97
- }
98
- );
99
- FormMessage.displayName = "FormMessage";
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
- exports.Form = Form; exports.FormControl = FormControl; exports.FormDescription = FormDescription; exports.FormField = FormField; exports.FormItem = FormItem; exports.FormLabel = FormLabel; exports.FormMessage = FormMessage; exports.useFormField = useFormField;
110
- //# sourceMappingURL=form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/form.js","../../../components/ui/form.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACXA,2EAAuB;AAEvB,iDAAqB;AACrB,gDAAkG;AAKlG,IAAM,KAAA,EAAO,2BAAA;AASb,IAAM,iBAAA,EAAyB,KAAA,CAAA,aAAA,CAAqC,CAAC,CAA0B,CAAA;AAE/F,IAAM,UAAA,EAAY,CAGhB,EAAA,EAAA,GAE0C;AAF1C,EAAA,IACG,MAAA,EAAA,wCAAA,EADH,EACG,CAAA,CAAA,CAAA;AAEH,EAAA,uBACE,KAAA,CAAA,aAAA,CAAC,gBAAA,CAAiB,QAAA,EAAjB,EAA0B,KAAA,EAAO,EAAE,IAAA,EAAM,KAAA,CAAM,KAAK,EAAA,CAAA,kBACnD,KAAA,CAAA,aAAA,CAAC,yBAAA,EAAA,6CAAA,CAAA,CAAA,EAAe,KAAA,CAAO,CACzB,CAAA;AAEJ,CAAA;AAEA,IAAM,aAAA,EAAe,CAAA,EAAA,GAAM;AACzB,EAAA,MAAM,aAAA,EAAqB,KAAA,CAAA,UAAA,CAAW,gBAAgB,CAAA;AACtD,EAAA,MAAM,YAAA,EAAoB,KAAA,CAAA,UAAA,CAAW,eAAe,CAAA;AACpD,EAAA,MAAM,EAAE,aAAA,EAAe,UAAU,EAAA,EAAI,2CAAA,CAAe;AAEpD,EAAA,MAAM,WAAA,EAAa,aAAA,CAAc,YAAA,CAAa,IAAA,EAAM,SAAS,CAAA;AAE7D,EAAA,GAAA,CAAI,CAAC,YAAA,EAAc;AACjB,IAAA,MAAM,IAAI,KAAA,CAAM,gDAAgD,CAAA;AAAA,EAClE;AAEA,EAAA,MAAM,EAAE,GAAG,EAAA,EAAI,WAAA;AAEf,EAAA,OAAO,6CAAA;AAAA,IACL,EAAA;AAAA,IACA,IAAA,EAAM,YAAA,CAAa,IAAA;AAAA,IACnB,UAAA,EAAY,CAAA,EAAA;AACZ,IAAA;AACA,IAAA;AACG,EAAA;AAEP;AAMM;AAEiB;AACa,EAAA;AAA/B,IAAA;AACgB,IAAA;AAGf,IAAA;AAIJ,EAAA;AACF;AACS;AAEe;AAGnB,EAAA;AACY,EAAA;AAER,EAAA;AACR;AACS;AAEJ;AACmB,EAAA;AAAjB,IAAA;AACI,IAAA;AAGN,IAAA;AAAC,MAAA;AAAA,MAAA;AACC,QAAA;AACI,QAAA;AACJ,QAAA;AACA,QAAA;AACI,MAAA;AACN,IAAA;AAEJ,EAAA;AACF;AACY;AAEN;AAC8B,EAAA;AAA/B,IAAA;AACO,IAAA;AAGN,IAAA;AAEJ,EAAA;AACF;AACgB;AAEV;AACwC,EAAA;AAAzC,IAAA;AACO,IAAA;AACK,IAAA;AAEF,IAAA;AACF,MAAA;AACT,IAAA;AAGE,IAAA;AAAC,MAAA;AAAA,MAAA;AACC,QAAA;AACI,QAAA;AACJ,QAAA;AACI,MAAA;AAEH,MAAA;AACH,IAAA;AAEJ,EAAA;AACF;AACY;ADpCK;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/form.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { Slot } from '@radix-ui/react-slot';\nimport { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from 'react-hook-form';\n\nimport { cn } from '../../utils/ui';\nimport { Label } from './label';\n\nconst Form = FormProvider;\n\ntype FormFieldContextValue<\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n> = {\n name: TName;\n};\n\nconst FormFieldContext = React.createContext<FormFieldContextValue>({} as FormFieldContextValue);\n\nconst FormField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n>({\n ...props\n}: ControllerProps<TFieldValues, TName>) => {\n return (\n <FormFieldContext.Provider value={{ name: props.name }}>\n <Controller {...props} />\n </FormFieldContext.Provider>\n );\n};\n\nconst useFormField = () => {\n const fieldContext = React.useContext(FormFieldContext);\n const itemContext = React.useContext(FormItemContext);\n const { getFieldState, formState } = useFormContext();\n\n const fieldState = getFieldState(fieldContext.name, formState);\n\n if (!fieldContext) {\n throw new Error('useFormField should be used within <FormField>');\n }\n\n const { id } = itemContext;\n\n return {\n id,\n name: fieldContext.name,\n formItemId: `${id}-form-item`,\n formDescriptionId: `${id}-form-item-description`,\n formMessageId: `${id}-form-item-message`,\n ...fieldState,\n };\n};\n\ntype FormItemContextValue = {\n id: string;\n};\n\nconst FormItemContext = React.createContext<FormItemContextValue>({} as FormItemContextValue);\n\nconst FormItem = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const id = React.useId();\n\n return (\n <FormItemContext.Provider value={{ id }}>\n <div ref={ref} className={cn('space-y-2', className)} {...props} />\n </FormItemContext.Provider>\n );\n },\n);\nFormItem.displayName = 'FormItem';\n\nconst FormLabel = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>\n>(({ className, ...props }, ref) => {\n const { error, formItemId } = useFormField();\n\n return <Label ref={ref} className={cn(error && 'text-destructive', className)} htmlFor={formItemId} {...props} />;\n});\nFormLabel.displayName = 'FormLabel';\n\nconst FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.ComponentPropsWithoutRef<typeof Slot>>(\n ({ ...props }, ref) => {\n const { error, formItemId, formDescriptionId, formMessageId } = useFormField();\n\n return (\n <Slot\n ref={ref}\n id={formItemId}\n aria-describedby={!error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`}\n aria-invalid={!!error}\n {...props}\n />\n );\n },\n);\nFormControl.displayName = 'FormControl';\n\nconst FormDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => {\n const { formDescriptionId } = useFormField();\n\n return (\n <p ref={ref} id={formDescriptionId} className={cn('text-[0.8rem] text-muted-foreground', className)} {...props} />\n );\n },\n);\nFormDescription.displayName = 'FormDescription';\n\nconst FormMessage = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, children, ...props }, ref) => {\n const { error, formMessageId } = useFormField();\n const body = error ? String(error?.message) : children;\n\n if (!body) {\n return null;\n }\n\n return (\n <p\n ref={ref}\n id={formMessageId}\n className={cn('text-[0.8rem] font-medium text-destructive', className)}\n {...props}\n >\n {body}\n </p>\n );\n },\n);\nFormMessage.displayName = 'FormMessage';\n\nexport { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };\n"]}
@@ -1,109 +0,0 @@
1
- "use client";
2
- import {
3
- Label
4
- } from "../../chunk-NL4534LH.mjs";
5
- import {
6
- cn
7
- } from "../../chunk-KGUUDFJE.mjs";
8
- import {
9
- __objRest,
10
- __spreadValues
11
- } from "../../chunk-YOSPWY5K.mjs";
12
-
13
- // components/ui/form.tsx
14
- import * as React from "react";
15
- import { Slot } from "@radix-ui/react-slot";
16
- import { Controller, FormProvider, useFormContext } from "react-hook-form";
17
- var Form = FormProvider;
18
- var FormFieldContext = React.createContext({});
19
- var FormField = (_a) => {
20
- var props = __objRest(_a, []);
21
- return /* @__PURE__ */ React.createElement(FormFieldContext.Provider, { value: { name: props.name } }, /* @__PURE__ */ React.createElement(Controller, __spreadValues({}, props)));
22
- };
23
- var useFormField = () => {
24
- const fieldContext = React.useContext(FormFieldContext);
25
- const itemContext = React.useContext(FormItemContext);
26
- const { getFieldState, formState } = useFormContext();
27
- const fieldState = getFieldState(fieldContext.name, formState);
28
- if (!fieldContext) {
29
- throw new Error("useFormField should be used within <FormField>");
30
- }
31
- const { id } = itemContext;
32
- return __spreadValues({
33
- id,
34
- name: fieldContext.name,
35
- formItemId: `${id}-form-item`,
36
- formDescriptionId: `${id}-form-item-description`,
37
- formMessageId: `${id}-form-item-message`
38
- }, fieldState);
39
- };
40
- var FormItemContext = React.createContext({});
41
- var FormItem = React.forwardRef(
42
- (_a, ref) => {
43
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
44
- const id = React.useId();
45
- return /* @__PURE__ */ React.createElement(FormItemContext.Provider, { value: { id } }, /* @__PURE__ */ React.createElement("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)));
46
- }
47
- );
48
- FormItem.displayName = "FormItem";
49
- var FormLabel = React.forwardRef((_a, ref) => {
50
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
51
- const { error, formItemId } = useFormField();
52
- return /* @__PURE__ */ React.createElement(Label, __spreadValues({ ref, className: cn(error && "text-destructive", className), htmlFor: formItemId }, props));
53
- });
54
- FormLabel.displayName = "FormLabel";
55
- var FormControl = React.forwardRef(
56
- (_a, ref) => {
57
- var props = __objRest(_a, []);
58
- const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
59
- return /* @__PURE__ */ React.createElement(
60
- Slot,
61
- __spreadValues({
62
- ref,
63
- id: formItemId,
64
- "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
65
- "aria-invalid": !!error
66
- }, props)
67
- );
68
- }
69
- );
70
- FormControl.displayName = "FormControl";
71
- var FormDescription = React.forwardRef(
72
- (_a, ref) => {
73
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
74
- const { formDescriptionId } = useFormField();
75
- return /* @__PURE__ */ React.createElement("p", __spreadValues({ ref, id: formDescriptionId, className: cn("text-[0.8rem] text-muted-foreground", className) }, props));
76
- }
77
- );
78
- FormDescription.displayName = "FormDescription";
79
- var FormMessage = React.forwardRef(
80
- (_a, ref) => {
81
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
82
- const { error, formMessageId } = useFormField();
83
- const body = error ? String(error == null ? void 0 : error.message) : children;
84
- if (!body) {
85
- return null;
86
- }
87
- return /* @__PURE__ */ React.createElement(
88
- "p",
89
- __spreadValues({
90
- ref,
91
- id: formMessageId,
92
- className: cn("text-[0.8rem] font-medium text-destructive", className)
93
- }, props),
94
- body
95
- );
96
- }
97
- );
98
- FormMessage.displayName = "FormMessage";
99
- export {
100
- Form,
101
- FormControl,
102
- FormDescription,
103
- FormField,
104
- FormItem,
105
- FormLabel,
106
- FormMessage,
107
- useFormField
108
- };
109
- //# sourceMappingURL=form.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../components/ui/form.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { Slot } from '@radix-ui/react-slot';\nimport { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from 'react-hook-form';\n\nimport { cn } from '../../utils/ui';\nimport { Label } from './label';\n\nconst Form = FormProvider;\n\ntype FormFieldContextValue<\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n> = {\n name: TName;\n};\n\nconst FormFieldContext = React.createContext<FormFieldContextValue>({} as FormFieldContextValue);\n\nconst FormField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n>({\n ...props\n}: ControllerProps<TFieldValues, TName>) => {\n return (\n <FormFieldContext.Provider value={{ name: props.name }}>\n <Controller {...props} />\n </FormFieldContext.Provider>\n );\n};\n\nconst useFormField = () => {\n const fieldContext = React.useContext(FormFieldContext);\n const itemContext = React.useContext(FormItemContext);\n const { getFieldState, formState } = useFormContext();\n\n const fieldState = getFieldState(fieldContext.name, formState);\n\n if (!fieldContext) {\n throw new Error('useFormField should be used within <FormField>');\n }\n\n const { id } = itemContext;\n\n return {\n id,\n name: fieldContext.name,\n formItemId: `${id}-form-item`,\n formDescriptionId: `${id}-form-item-description`,\n formMessageId: `${id}-form-item-message`,\n ...fieldState,\n };\n};\n\ntype FormItemContextValue = {\n id: string;\n};\n\nconst FormItemContext = React.createContext<FormItemContextValue>({} as FormItemContextValue);\n\nconst FormItem = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => {\n const id = React.useId();\n\n return (\n <FormItemContext.Provider value={{ id }}>\n <div ref={ref} className={cn('space-y-2', className)} {...props} />\n </FormItemContext.Provider>\n );\n },\n);\nFormItem.displayName = 'FormItem';\n\nconst FormLabel = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>\n>(({ className, ...props }, ref) => {\n const { error, formItemId } = useFormField();\n\n return <Label ref={ref} className={cn(error && 'text-destructive', className)} htmlFor={formItemId} {...props} />;\n});\nFormLabel.displayName = 'FormLabel';\n\nconst FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.ComponentPropsWithoutRef<typeof Slot>>(\n ({ ...props }, ref) => {\n const { error, formItemId, formDescriptionId, formMessageId } = useFormField();\n\n return (\n <Slot\n ref={ref}\n id={formItemId}\n aria-describedby={!error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`}\n aria-invalid={!!error}\n {...props}\n />\n );\n },\n);\nFormControl.displayName = 'FormControl';\n\nconst FormDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => {\n const { formDescriptionId } = useFormField();\n\n return (\n <p ref={ref} id={formDescriptionId} className={cn('text-[0.8rem] text-muted-foreground', className)} {...props} />\n );\n },\n);\nFormDescription.displayName = 'FormDescription';\n\nconst FormMessage = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, children, ...props }, ref) => {\n const { error, formMessageId } = useFormField();\n const body = error ? String(error?.message) : children;\n\n if (!body) {\n return null;\n }\n\n return (\n <p\n ref={ref}\n id={formMessageId}\n className={cn('text-[0.8rem] font-medium text-destructive', className)}\n {...props}\n >\n {body}\n </p>\n );\n },\n);\nFormMessage.displayName = 'FormMessage';\n\nexport { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };\n"],"mappings":";;;;;;;;;;;;;AACA,YAAY,WAAW;AAEvB,SAAS,YAAY;AACrB,SAAS,YAAqD,cAAc,sBAAsB;AAKlG,IAAM,OAAO;AASb,IAAM,mBAAyB,oBAAqC,CAAC,CAA0B;AAE/F,IAAM,YAAY,CAGhB,OAE0C;AAF1C,MACG,kBADH,IACG;AAEH,SACE,oCAAC,iBAAiB,UAAjB,EAA0B,OAAO,EAAE,MAAM,MAAM,KAAK,KACnD,oCAAC,+BAAe,MAAO,CACzB;AAEJ;AAEA,IAAM,eAAe,MAAM;AACzB,QAAM,eAAqB,iBAAW,gBAAgB;AACtD,QAAM,cAAoB,iBAAW,eAAe;AACpD,QAAM,EAAE,eAAe,UAAU,IAAI,eAAe;AAEpD,QAAM,aAAa,cAAc,aAAa,MAAM,SAAS;AAE7D,MAAI,CAAC,cAAc;AACjB,UAAM,IAAI,MAAM,gDAAgD;AAAA,EAClE;AAEA,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL;AAAA,IACA,MAAM,aAAa;AAAA,IACnB,YAAY,GAAG,EAAE;AAAA,IACjB,mBAAmB,GAAG,EAAE;AAAA,IACxB,eAAe,GAAG,EAAE;AAAA,KACjB;AAEP;AAMA,IAAM,kBAAwB,oBAAoC,CAAC,CAAyB;AAE5F,IAAM,WAAiB;AAAA,EACrB,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YA/DL,IA+DG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,UAAM,KAAW,YAAM;AAEvB,WACE,oCAAC,gBAAgB,UAAhB,EAAyB,OAAO,EAAE,GAAG,KACpC,oCAAC,wBAAI,KAAU,WAAW,GAAG,aAAa,SAAS,KAAO,MAAO,CACnE;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;AAEvB,IAAM,YAAkB,iBAGtB,CAAC,IAAyB,QAAQ;AAAjC,eAAE,YA9EL,IA8EG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,QAAM,EAAE,OAAO,WAAW,IAAI,aAAa;AAE3C,SAAO,oCAAC,wBAAM,KAAU,WAAW,GAAG,SAAS,oBAAoB,SAAS,GAAG,SAAS,cAAgB,MAAO;AACjH,CAAC;AACD,UAAU,cAAc;AAExB,IAAM,cAAoB;AAAA,EACxB,CAAC,IAAc,QAAQ;AAAtB,QAAK,kBAAL,IAAK;AACJ,UAAM,EAAE,OAAO,YAAY,mBAAmB,cAAc,IAAI,aAAa;AAE7E,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,IAAI;AAAA,QACJ,oBAAkB,CAAC,QAAQ,GAAG,iBAAiB,KAAK,GAAG,iBAAiB,IAAI,aAAa;AAAA,QACzF,gBAAc,CAAC,CAAC;AAAA,SACZ;AAAA,IACN;AAAA,EAEJ;AACF;AACA,YAAY,cAAc;AAE1B,IAAM,kBAAwB;AAAA,EAC5B,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YAvGL,IAuGG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,UAAM,EAAE,kBAAkB,IAAI,aAAa;AAE3C,WACE,oCAAC,sBAAE,KAAU,IAAI,mBAAmB,WAAW,GAAG,uCAAuC,SAAS,KAAO,MAAO;AAAA,EAEpH;AACF;AACA,gBAAgB,cAAc;AAE9B,IAAM,cAAoB;AAAA,EACxB,CAAC,IAAmC,QAAQ;AAA3C,iBAAE,aAAW,SAlHhB,IAkHG,IAA0B,kBAA1B,IAA0B,CAAxB,aAAW;AACZ,UAAM,EAAE,OAAO,cAAc,IAAI,aAAa;AAC9C,UAAM,OAAO,QAAQ,OAAO,+BAAO,OAAO,IAAI;AAE9C,QAAI,CAAC,MAAM;AACT,aAAO;AAAA,IACT;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,IAAI;AAAA,QACJ,WAAW,GAAG,8CAA8C,SAAS;AAAA,SACjE;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AACA,YAAY,cAAc;","names":[]}
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import * as ToastPrimitives from '@radix-ui/react-toast';
3
- import { VariantProps } from 'class-variance-authority';
4
-
5
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
6
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
7
- declare const Toast: React.ForwardRefExoticComponent<Omit<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<Component>, "ref"> & React.RefAttributes<HTMLLIElement>>;
8
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
13
- type ToastActionElement = React.ReactElement<typeof ToastAction>;
14
-
15
- export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import * as ToastPrimitives from '@radix-ui/react-toast';
3
- import { VariantProps } from 'class-variance-authority';
4
-
5
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
6
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
7
- declare const Toast: React.ForwardRefExoticComponent<Omit<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<Component>, "ref"> & React.RefAttributes<HTMLLIElement>>;
8
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
13
- type ToastActionElement = React.ReactElement<typeof ToastAction>;
14
-
15
- export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
@@ -1,23 +0,0 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
- var _chunk3AWU47KTjs = require('../../chunk-3AWU47KT.js');
12
- require('../../chunk-PSPAJNNB.js');
13
- require('../../chunk-2NMEKWO5.js');
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
- exports.Toast = _chunk3AWU47KTjs.Toast; exports.ToastAction = _chunk3AWU47KTjs.ToastAction; exports.ToastClose = _chunk3AWU47KTjs.ToastClose; exports.ToastDescription = _chunk3AWU47KTjs.ToastDescription; exports.ToastProvider = _chunk3AWU47KTjs.ToastProvider; exports.ToastTitle = _chunk3AWU47KTjs.ToastTitle; exports.ToastViewport = _chunk3AWU47KTjs.ToastViewport;
23
- //# sourceMappingURL=toast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/toast.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6WAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/toast.js"}
@@ -1,22 +0,0 @@
1
- "use client";
2
- import {
3
- Toast,
4
- ToastAction,
5
- ToastClose,
6
- ToastDescription,
7
- ToastProvider,
8
- ToastTitle,
9
- ToastViewport
10
- } from "../../chunk-IHNDGZWX.mjs";
11
- import "../../chunk-KGUUDFJE.mjs";
12
- import "../../chunk-YOSPWY5K.mjs";
13
- export {
14
- Toast,
15
- ToastAction,
16
- ToastClose,
17
- ToastDescription,
18
- ToastProvider,
19
- ToastTitle,
20
- ToastViewport
21
- };
22
- //# sourceMappingURL=toast.mjs.map
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare function Toaster(): React.JSX.Element;
4
-
5
- export { Toaster };
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
-
3
- declare function Toaster(): React.JSX.Element;
4
-
5
- export { Toaster };
@@ -1,32 +0,0 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
- var _chunk3AWU47KTjs = require('../../chunk-3AWU47KT.js');
11
-
12
-
13
- var _chunkI6AFNWVYjs = require('../../chunk-I6AFNWVY.js');
14
- require('../../chunk-PSPAJNNB.js');
15
-
16
-
17
-
18
- var _chunk2NMEKWO5js = require('../../chunk-2NMEKWO5.js');
19
-
20
- // components/ui/toaster.tsx
21
- var _react = require('react'); var React = _interopRequireWildcard(_react);
22
- function Toaster() {
23
- const { toasts } = _chunkI6AFNWVYjs.useToast.call(void 0, );
24
- return /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.ToastProvider, null, toasts.map(function(_a) {
25
- var _b = _a, { id, title, description, action } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["id", "title", "description", "action"]);
26
- return /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.Toast, _chunk2NMEKWO5js.__spreadValues.call(void 0, { key: id }, props), /* @__PURE__ */ React.createElement("div", { className: "grid gap-1" }, title && /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.ToastTitle, null, title), description && /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.ToastDescription, null, description)), action, /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.ToastClose, null));
27
- }), /* @__PURE__ */ React.createElement(_chunk3AWU47KTjs.ToastViewport, null));
28
- }
29
-
30
-
31
- exports.Toaster = Toaster;
32
- //# sourceMappingURL=toaster.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/toaster.js","../../../components/ui/toaster.tsx"],"names":[],"mappings":"AAAA,uWAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC;AACE;AACA;AACF,0DAAgC;AAChC;AACA;ACjBA,2EAAuB;AAWhB,SAAS,OAAA,CAAA,EAAU;AACxB,EAAA,MAAM,EAAE,OAAO,EAAA,EAAI,uCAAA,CAAS;AAE5B,EAAA,uBACE,KAAA,CAAA,aAAA,CAAC,8BAAA,EAAA,IAAA,EACE,MAAA,CAAO,GAAA,CAAI,QAAA,CAAU,EAAA,EAA8C;AAA9C,IAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,EAAA,EAAI,KAAA,EAAO,WAAA,EAAa,OAjBtD,EAAA,EAiB4B,EAAA,EAAqC,MAAA,EAAA,wCAAA,EAArC,EAAqC,CAAnC,IAAA,EAAI,OAAA,EAAO,aAAA,EAAa,QAAA,CAAA,CAAA;AAC9C,IAAA,uBACE,KAAA,CAAA,aAAA,CAAC,sBAAA,EAAA,6CAAA,EAAM,GAAA,EAAK,GAAA,CAAA,EAAQ,KAAA,CAAA,kBAClB,KAAA,CAAA,aAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,aAAA,CAAA,EACZ,MAAA,mBAAS,KAAA,CAAA,aAAA,CAAC,2BAAA,EAAA,IAAA,EAAY,KAAM,CAAA,EAC5B,YAAA,mBAAe,KAAA,CAAA,aAAA,CAAC,iCAAA,EAAA,IAAA,EAAkB,WAAY,CACjD,CAAA,EACC,MAAA,kBACD,KAAA,CAAA,aAAA,CAAC,2BAAA,EAAA,IAAW,CACd,CAAA;AAAA,EAEJ,CAAC,CAAA,kBACD,KAAA,CAAA,aAAA,CAAC,8BAAA,EAAA,IAAc,CACjB,CAAA;AAEJ;ADLA;AACE;AACF,0BAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/components/ui/toaster.js","sourcesContent":[null,"\"use client\";\nimport * as React from 'react';\nimport { useToast } from '../../hooks/use-toast';\nimport {\n Toast,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport,\n} from '../..//components/ui/toast';\n\nexport function Toaster() {\n const { toasts } = useToast();\n\n return (\n <ToastProvider>\n {toasts.map(function ({ id, title, description, action, ...props }) {\n return (\n <Toast key={id} {...props}>\n <div className=\"grid gap-1\">\n {title && <ToastTitle>{title}</ToastTitle>}\n {description && <ToastDescription>{description}</ToastDescription>}\n </div>\n {action}\n <ToastClose />\n </Toast>\n );\n })}\n <ToastViewport />\n </ToastProvider>\n );\n}\n"]}
@@ -1,31 +0,0 @@
1
- "use client";
2
- import {
3
- Toast,
4
- ToastClose,
5
- ToastDescription,
6
- ToastProvider,
7
- ToastTitle,
8
- ToastViewport
9
- } from "../../chunk-IHNDGZWX.mjs";
10
- import {
11
- useToast
12
- } from "../../chunk-YQZZ6RRI.mjs";
13
- import "../../chunk-KGUUDFJE.mjs";
14
- import {
15
- __objRest,
16
- __spreadValues
17
- } from "../../chunk-YOSPWY5K.mjs";
18
-
19
- // components/ui/toaster.tsx
20
- import * as React from "react";
21
- function Toaster() {
22
- const { toasts } = useToast();
23
- return /* @__PURE__ */ React.createElement(ToastProvider, null, toasts.map(function(_a) {
24
- var _b = _a, { id, title, description, action } = _b, props = __objRest(_b, ["id", "title", "description", "action"]);
25
- return /* @__PURE__ */ React.createElement(Toast, __spreadValues({ key: id }, props), /* @__PURE__ */ React.createElement("div", { className: "grid gap-1" }, title && /* @__PURE__ */ React.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React.createElement(ToastClose, null));
26
- }), /* @__PURE__ */ React.createElement(ToastViewport, null));
27
- }
28
- export {
29
- Toaster
30
- };
31
- //# sourceMappingURL=toaster.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../components/ui/toaster.tsx"],"sourcesContent":["\"use client\";\nimport * as React from 'react';\nimport { useToast } from '../../hooks/use-toast';\nimport {\n Toast,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport,\n} from '../..//components/ui/toast';\n\nexport function Toaster() {\n const { toasts } = useToast();\n\n return (\n <ToastProvider>\n {toasts.map(function ({ id, title, description, action, ...props }) {\n return (\n <Toast key={id} {...props}>\n <div className=\"grid gap-1\">\n {title && <ToastTitle>{title}</ToastTitle>}\n {description && <ToastDescription>{description}</ToastDescription>}\n </div>\n {action}\n <ToastClose />\n </Toast>\n );\n })}\n <ToastViewport />\n </ToastProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AACA,YAAY,WAAW;AAWhB,SAAS,UAAU;AACxB,QAAM,EAAE,OAAO,IAAI,SAAS;AAE5B,SACE,oCAAC,qBACE,OAAO,IAAI,SAAU,IAA8C;AAA9C,iBAAE,MAAI,OAAO,aAAa,OAjBtD,IAiB4B,IAAqC,kBAArC,IAAqC,CAAnC,MAAI,SAAO,eAAa;AAC9C,WACE,oCAAC,wBAAM,KAAK,MAAQ,QAClB,oCAAC,SAAI,WAAU,gBACZ,SAAS,oCAAC,kBAAY,KAAM,GAC5B,eAAe,oCAAC,wBAAkB,WAAY,CACjD,GACC,QACD,oCAAC,gBAAW,CACd;AAAA,EAEJ,CAAC,GACD,oCAAC,mBAAc,CACjB;AAEJ;","names":[]}
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import { ToastProps, ToastActionElement } from '../components/ui/toast.mjs';
3
- import '@radix-ui/react-toast';
4
- import 'class-variance-authority';
5
-
6
- type ToasterToast = ToastProps & {
7
- id: string;
8
- title?: React.ReactNode;
9
- description?: React.ReactNode;
10
- action?: ToastActionElement;
11
- };
12
- declare const actionTypes: {
13
- readonly ADD_TOAST: "ADD_TOAST";
14
- readonly UPDATE_TOAST: "UPDATE_TOAST";
15
- readonly DISMISS_TOAST: "DISMISS_TOAST";
16
- readonly REMOVE_TOAST: "REMOVE_TOAST";
17
- };
18
- type ActionType = typeof actionTypes;
19
- type Action = {
20
- type: ActionType['ADD_TOAST'];
21
- toast: ToasterToast;
22
- } | {
23
- type: ActionType['UPDATE_TOAST'];
24
- toast: Partial<ToasterToast>;
25
- } | {
26
- type: ActionType['DISMISS_TOAST'];
27
- toastId?: ToasterToast['id'];
28
- } | {
29
- type: ActionType['REMOVE_TOAST'];
30
- toastId?: ToasterToast['id'];
31
- };
32
- interface State {
33
- toasts: ToasterToast[];
34
- }
35
- declare const reducer: (state: State, action: Action) => State;
36
- type Toast = Omit<ToasterToast, 'id'>;
37
- declare function toast({ ...props }: Toast): {
38
- id: string;
39
- dismiss: () => void;
40
- update: (props: ToasterToast) => void;
41
- };
42
- declare function useToast(): {
43
- toast: typeof toast;
44
- dismiss: (toastId?: string) => void;
45
- toasts: ToasterToast[];
46
- };
47
-
48
- export { reducer, toast, useToast };
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import { ToastProps, ToastActionElement } from '../components/ui/toast.js';
3
- import '@radix-ui/react-toast';
4
- import 'class-variance-authority';
5
-
6
- type ToasterToast = ToastProps & {
7
- id: string;
8
- title?: React.ReactNode;
9
- description?: React.ReactNode;
10
- action?: ToastActionElement;
11
- };
12
- declare const actionTypes: {
13
- readonly ADD_TOAST: "ADD_TOAST";
14
- readonly UPDATE_TOAST: "UPDATE_TOAST";
15
- readonly DISMISS_TOAST: "DISMISS_TOAST";
16
- readonly REMOVE_TOAST: "REMOVE_TOAST";
17
- };
18
- type ActionType = typeof actionTypes;
19
- type Action = {
20
- type: ActionType['ADD_TOAST'];
21
- toast: ToasterToast;
22
- } | {
23
- type: ActionType['UPDATE_TOAST'];
24
- toast: Partial<ToasterToast>;
25
- } | {
26
- type: ActionType['DISMISS_TOAST'];
27
- toastId?: ToasterToast['id'];
28
- } | {
29
- type: ActionType['REMOVE_TOAST'];
30
- toastId?: ToasterToast['id'];
31
- };
32
- interface State {
33
- toasts: ToasterToast[];
34
- }
35
- declare const reducer: (state: State, action: Action) => State;
36
- type Toast = Omit<ToasterToast, 'id'>;
37
- declare function toast({ ...props }: Toast): {
38
- id: string;
39
- dismiss: () => void;
40
- update: (props: ToasterToast) => void;
41
- };
42
- declare function useToast(): {
43
- toast: typeof toast;
44
- dismiss: (toastId?: string) => void;
45
- toasts: ToasterToast[];
46
- };
47
-
48
- export { reducer, toast, useToast };
@@ -1,14 +0,0 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
3
-
4
-
5
-
6
-
7
- var _chunkI6AFNWVYjs = require('../chunk-I6AFNWVY.js');
8
- require('../chunk-2NMEKWO5.js');
9
-
10
-
11
-
12
-
13
- exports.reducer = _chunkI6AFNWVYjs.reducer; exports.toast = _chunkI6AFNWVYjs.toast; exports.useToast = _chunkI6AFNWVYjs.useToast;
14
- //# sourceMappingURL=use-toast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/hooks/use-toast.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACF,iIAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/hooks/use-toast.js"}
@@ -1,13 +0,0 @@
1
- "use client";
2
- import {
3
- reducer,
4
- toast,
5
- useToast
6
- } from "../chunk-YQZZ6RRI.mjs";
7
- import "../chunk-YOSPWY5K.mjs";
8
- export {
9
- reducer,
10
- toast,
11
- useToast
12
- };
13
- //# sourceMappingURL=use-toast.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/jahn/projects/shadcn-theme/packages/react/dist/layouts/sidebar1/LinkWrapper.js","../../../layouts/sidebar1/LinkWrapper.tsx"],"names":[],"mappings":"AAAA,qFAAY;AACZ,mCAAgC;AAChC;AACA;ACKO,SAAS,eAAA,CAAgB,EAAE,QAAA,EAAU,QAAQ,CAAA,EAAyB;AAC3E,EAAA,uBACE,KAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAA,EAAS,CAAC,CAAA,EAAA,GAAM;AACd,QAAA,CAAA,CAAE,eAAA,CAAgB,CAAA;AAElB,QAAA,GAAA,CAAI,OAAA,EAAS;AACX,UAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,QACX;AAAA,MACF;AAAA,IAAA,CAAA;AAAA,IAEC;AAAA,EACH,CAAA;AAEJ;ADJA;AACE;AACF,0CAAC","file":"/home/jahn/projects/shadcn-theme/packages/react/dist/layouts/sidebar1/LinkWrapper.js","sourcesContent":[null,"\"use client\";\ninterface LinkPlaceholderProps {\n children: React.ReactNode;\n to?: string;\n href?: string;\n onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;\n}\n\nexport function LinkPlaceholder({ children, onClick }: LinkPlaceholderProps) {\n return (\n <div\n onClick={(e) => {\n e.stopPropagation();\n\n if (onClick) {\n onClick(e);\n }\n }}\n >\n {children}\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../layouts/sidebar1/LinkWrapper.tsx"],"sourcesContent":["\"use client\";\ninterface LinkPlaceholderProps {\n children: React.ReactNode;\n to?: string;\n href?: string;\n onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;\n}\n\nexport function LinkPlaceholder({ children, onClick }: LinkPlaceholderProps) {\n return (\n <div\n onClick={(e) => {\n e.stopPropagation();\n\n if (onClick) {\n onClick(e);\n }\n }}\n >\n {children}\n </div>\n );\n}\n"],"mappings":";;;;AAQO,SAAS,gBAAgB,EAAE,UAAU,QAAQ,GAAyB;AAC3E,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,CAAC,MAAM;AACd,UAAE,gBAAgB;AAElB,YAAI,SAAS;AACX,kBAAQ,CAAC;AAAA,QACX;AAAA,MACF;AAAA;AAAA,IAEC;AAAA,EACH;AAEJ;","names":[]}