@pixpilot/shadcn 0.1.1 → 0.1.3

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 (277) hide show
  1. package/dist/{OrContinueWithSeparator-D2E12axp.d.ts → OrContinueWithSeparator-BDH-vep4.d.ts} +2 -2
  2. package/dist/OrContinueWithSeparator-CkITP0NT.js +27 -0
  3. package/dist/{alert-BOmOAVab.d.cts → alert-CKr0C0yG.d.ts} +2 -2
  4. package/dist/{alert-DuQQzE0M.js → alert-DgTy4F7t.js} +5 -6
  5. package/dist/{alert-dialog-UlVI8Jfl.d.cts → alert-dialog-BIYOf1qe.d.ts} +12 -12
  6. package/dist/{avatar-C0o0LZHK.d.cts → avatar-DomHDuSM.d.ts} +4 -4
  7. package/dist/{avatar-DWlyZZC1.js → avatar-ggnaPAdx.js} +5 -6
  8. package/dist/{badge-_7r9g75U.d.ts → badge-DaNELwZ4.d.ts} +3 -3
  9. package/dist/{badge-ChGpGKfr.js → badge-OxgStuN-.js} +3 -4
  10. package/dist/{button-CoM3CepB.js → button-Ct22vvF2.js} +3 -4
  11. package/dist/{button-DS2onC5z.d.cts → button-Qk5_S2q2.d.ts} +5 -5
  12. package/dist/{calendar-b33t89Qe.d.ts → calendar-CtMOHJjw.d.ts} +4 -4
  13. package/dist/{calendar-5J34tX7L.js → calendar-SVLTPCYN.js} +11 -12
  14. package/dist/{card-WGLY-CGJ.d.ts → card-7m__j7pN.d.ts} +8 -8
  15. package/dist/{card-Bf0-1Hox.js → card-mGJMSXR3.js} +9 -10
  16. package/dist/{checkbox-qfDakeFS.d.cts → checkbox-C2ohGs66.d.ts} +2 -2
  17. package/dist/{checkbox-ChqHvI5Y.js → checkbox-Car6S-YU.js} +5 -6
  18. package/dist/{command-BzJMrpFw.js → command-Bh0lIHth.js} +17 -18
  19. package/dist/{command-Jg-MECH0.d.ts → command-J-Z7237Z.d.ts} +11 -11
  20. package/dist/components/{index-9UbR5pav.d.ts → index-CjxDeDgS.d.ts} +29 -29
  21. package/dist/components/index.js +30 -31
  22. package/dist/components/ui/{OrContinueWithSeparator-Deko0a05.d.ts → OrContinueWithSeparator-CHwqvVjX.d.ts} +1 -1
  23. package/dist/components/ui/OrContinueWithSeparator.js +4 -5
  24. package/dist/components/ui/alert-1G0clvys.d.ts +2 -0
  25. package/dist/components/ui/{alert-dialog-B1O4SkCO.d.ts → alert-dialog-B4l6hBX8.d.ts} +1 -1
  26. package/dist/components/ui/alert-dialog.js +30 -31
  27. package/dist/components/ui/alert.js +3 -4
  28. package/dist/components/ui/avatar-utP6R-Uq.d.ts +2 -0
  29. package/dist/components/ui/avatar.js +3 -4
  30. package/dist/components/ui/badge-DwySSPk7.d.ts +2 -0
  31. package/dist/components/ui/badge.js +3 -4
  32. package/dist/components/ui/button-fWXid_Jg.d.ts +2 -0
  33. package/dist/components/ui/button.js +3 -4
  34. package/dist/components/ui/{calendar-CdHQnChE.d.ts → calendar-DxgOZaJG.d.ts} +1 -1
  35. package/dist/components/ui/calendar.js +4 -5
  36. package/dist/components/ui/{card-B33oFk7g.d.ts → card-CEc4KDWR.d.ts} +1 -1
  37. package/dist/components/ui/card.js +3 -4
  38. package/dist/components/ui/checkbox-Db1hdfQh.d.ts +2 -0
  39. package/dist/components/ui/checkbox.js +3 -4
  40. package/dist/components/ui/{command-CiYsTw-N.d.ts → command-D5yDsetf.d.ts} +1 -1
  41. package/dist/components/ui/command.js +4 -5
  42. package/dist/components/ui/{dialog-BLmUGWhm.d.ts → dialog-C9hWg6Jo.d.ts} +1 -1
  43. package/dist/components/ui/dialog.js +3 -4
  44. package/dist/components/ui/{dropdown-menu-BiTw8JoY.d.ts → dropdown-menu-CZQe3gdP.d.ts} +1 -1
  45. package/dist/components/ui/dropdown-menu.js +3 -4
  46. package/dist/components/ui/{file-upload-B5xI4UMr.d.ts → file-upload-DE4ndg6D.d.ts} +1 -1
  47. package/dist/components/ui/file-upload.js +3 -4
  48. package/dist/components/ui/{form-Di2tTY-R.d.ts → form-_IonQq2g.d.ts} +1 -1
  49. package/dist/components/ui/form.js +4 -5
  50. package/dist/components/ui/{index-8A2fRq2u.d.ts → index-ByU7Ea3g.d.ts} +29 -29
  51. package/dist/components/ui/index.js +30 -31
  52. package/dist/components/ui/input-nIiKz0t3.d.ts +2 -0
  53. package/dist/components/ui/input.js +3 -4
  54. package/dist/components/ui/label-DcYFARJv.d.ts +2 -0
  55. package/dist/components/ui/label.js +3 -4
  56. package/dist/components/ui/{pagination-CEb9cpQ4.d.ts → pagination-BzA2nvm7.d.ts} +1 -1
  57. package/dist/components/ui/pagination.js +30 -31
  58. package/dist/components/ui/{popover-DnnrgVi3.d.ts → popover-CWkbXPIs.d.ts} +1 -1
  59. package/dist/components/ui/popover.js +3 -4
  60. package/dist/components/ui/{radio-group-DIjhsevH.d.ts → radio-group-B8uVaLcH.d.ts} +1 -1
  61. package/dist/components/ui/radio-group.js +3 -4
  62. package/dist/components/ui/{select-d1uVKLd4.d.ts → select-Thz3wmNR.d.ts} +1 -1
  63. package/dist/components/ui/select.js +3 -4
  64. package/dist/components/ui/separator-nDjbz769.d.ts +2 -0
  65. package/dist/components/ui/separator.js +3 -4
  66. package/dist/components/ui/shadcn-io/tags/{index-D0RWMGB5.d.ts → index-ByG1DLSH.d.ts} +1 -1
  67. package/dist/components/ui/shadcn-io/tags/index.js +8 -9
  68. package/dist/components/ui/shadcn-io/tags-input-inline/{index-DVGMC27L.d.ts → index-Z-lSeFdH.d.ts} +1 -1
  69. package/dist/components/ui/shadcn-io/tags-input-inline/index.js +2 -3
  70. package/dist/components/ui/{sheet-oRvo5v4N.d.ts → sheet-DG1hOjV0.d.ts} +1 -1
  71. package/dist/components/ui/sheet.js +3 -4
  72. package/dist/components/ui/slider-BQpp3iiy.d.ts +2 -0
  73. package/dist/components/ui/slider.js +3 -4
  74. package/dist/components/ui/switch-nWOTZVXx.d.ts +2 -0
  75. package/dist/components/ui/switch.js +3 -4
  76. package/dist/components/ui/tabs-k3ha4bbs.d.ts +2 -0
  77. package/dist/components/ui/tabs.js +3 -4
  78. package/dist/components/ui/textarea-BV_2NNxa.d.ts +2 -0
  79. package/dist/components/ui/textarea.js +3 -4
  80. package/dist/components/ui/{tooltip-B05vLa7i.d.ts → tooltip--Q9yXR4z.d.ts} +1 -1
  81. package/dist/components/ui/tooltip.js +3 -4
  82. package/dist/{dialog-BeJ4W_wL.d.cts → dialog-GHzqCUyY.d.ts} +11 -11
  83. package/dist/{dialog-CnHQjTPX.js → dialog-O7j71U82.js} +15 -16
  84. package/dist/{dropdown-menu-pJlZRoLy.d.cts → dropdown-menu-B7IpNRT1.d.ts} +16 -16
  85. package/dist/{dropdown-menu-BytmAQI6.js → dropdown-menu-ChXZkLy7.js} +22 -23
  86. package/dist/{file-upload-BEeMesnR.js → file-upload-DPXO1W1r.js} +36 -37
  87. package/dist/{file-upload-Cd99SBNZ.d.ts → file-upload-DtI7t48f.d.ts} +11 -11
  88. package/dist/{form-DHHxQebW.d.cts → form-B1wa9dSK.d.ts} +8 -8
  89. package/dist/{form-BjnyYpgw.js → form-DITfwajn.js} +11 -12
  90. package/dist/{index-DOMvBE84.d.ts → index-BBg42y-x.d.ts} +30 -30
  91. package/dist/{index-DvlthbVs.d.cts → index-CbEoBXve.d.ts} +9 -9
  92. package/dist/{index-fofN1DBY.d.ts → index-DAxEKRyQ.d.ts} +7 -7
  93. package/dist/{index-VLXQAOef.d.ts → index-nhYidbaI.d.ts} +13 -13
  94. package/dist/index.js +30 -31
  95. package/dist/input-BOo0lKrd.d.ts +11 -0
  96. package/dist/{input-CUeyj64L.js → input-Yyz-T5fE.js} +3 -4
  97. package/dist/{label-DGznqsHm.js → label-CAjd9Y0A.js} +3 -4
  98. package/dist/{label-FC0f8Usj.d.cts → label-VBeDhZRS.d.ts} +2 -2
  99. package/dist/lib/index-BBZGfoI7.d.ts +2 -0
  100. package/dist/lib/index.js +2 -2
  101. package/dist/lib/utils-COdFh0eZ.d.ts +2 -0
  102. package/dist/lib/utils.js +1 -1
  103. package/dist/{popover-CV48KL0e.js → popover-B6K6dK1G.js} +6 -7
  104. package/dist/{popover-C7XolifE.d.ts → popover-BSOEEHRm.d.ts} +5 -5
  105. package/dist/{radio-group-CcjDx3W6.d.ts → radio-group-2z7Wk4bX.d.ts} +3 -3
  106. package/dist/{radio-group-jaFHISZ7.js → radio-group-CN-7YDqF.js} +6 -7
  107. package/dist/{select-BAngGmNL.d.cts → select-BLcUSgPc.d.ts} +11 -11
  108. package/dist/{select-C96xvMSx.js → select-D1s3F0et.js} +22 -23
  109. package/dist/{separator-C71XEO3E.js → separator-BVBCxKBW.js} +3 -4
  110. package/dist/{separator-CfeHjQ3U.d.ts → separator-CQdurlbm.d.ts} +2 -2
  111. package/dist/{sheet-BjXx7ddJ.d.ts → sheet-BBjl1baR.d.ts} +9 -9
  112. package/dist/{sheet-BlZGrRNt.js → sheet-DrR3eH28.js} +14 -15
  113. package/dist/{slider-CdK5O4pc.js → slider-BlL5lT8d.js} +6 -7
  114. package/dist/{slider-B3CoyrXu.d.cts → slider-CYGuuC8k.d.ts} +2 -2
  115. package/dist/{src-DQlJgy1h.js → src-8ePG_tPo.js} +25 -26
  116. package/dist/{switch-Bz5Iiy2_.js → switch-BXSa0MEU.js} +4 -5
  117. package/dist/{switch-B5LyLweM.d.ts → switch-Y5FN07nj.d.ts} +2 -2
  118. package/dist/{tabs-BPdlT-mo.d.ts → tabs-C-Tv9y7L.d.ts} +5 -5
  119. package/dist/{tabs-BjolTUEI.js → tabs-DbvqqMZV.js} +6 -7
  120. package/dist/{tags-BnJCu0NQ.js → tags-BACevgr_.js} +22 -23
  121. package/dist/{tags-input-inline-DnEu3Dyw.js → tags-input-inline-Bz5h19zx.js} +11 -12
  122. package/dist/{textarea-CqY_xh2i.d.cts → textarea-C3eFh4Vd.d.ts} +2 -2
  123. package/dist/{textarea-BNZyZgAM.js → textarea-DTGK7cx-.js} +3 -4
  124. package/dist/{tooltip-D1pZ34pY.d.ts → tooltip-CGDnGnPt.d.ts} +5 -5
  125. package/dist/{tooltip-CuYs-__e.js → tooltip-CX3NbXUu.js} +7 -8
  126. package/package.json +1 -1
  127. package/dist/OrContinueWithSeparator-BvzntFX7.cjs +0 -34
  128. package/dist/OrContinueWithSeparator-Cs96m5UB.js +0 -28
  129. package/dist/OrContinueWithSeparator-D_x7OhtS.d.cts +0 -11
  130. package/dist/alert-CwZayX3S.d.ts +0 -24
  131. package/dist/alert-D-l745dk.cjs +0 -57
  132. package/dist/alert-dialog-TlaRRoQl.d.ts +0 -48
  133. package/dist/avatar-DXl-ag7U.d.ts +0 -19
  134. package/dist/avatar-w_kyvah6.cjs +0 -50
  135. package/dist/badge-3M1AQ3yx.cjs +0 -39
  136. package/dist/badge-BwMa0yrU.d.cts +0 -19
  137. package/dist/button-BNmxKjOB.cjs +0 -58
  138. package/dist/button-CESLc3CQ.d.ts +0 -21
  139. package/dist/calendar-2na2Z1lC.d.cts +0 -26
  140. package/dist/calendar-CELLMIIj.cjs +0 -119
  141. package/dist/card-C4hKT5Pm.d.cts +0 -34
  142. package/dist/card-Dvch7YjH.cjs +0 -100
  143. package/dist/checkbox-B_9kOHN4.d.ts +0 -11
  144. package/dist/checkbox-DBOuQN-K.cjs +0 -30
  145. package/dist/command-C4R-OiAQ.d.cts +0 -52
  146. package/dist/command-DX6woPdY.cjs +0 -142
  147. package/dist/components/index-IQG8KA86.d.cts +0 -30
  148. package/dist/components/index.cjs +0 -187
  149. package/dist/components/ui/OrContinueWithSeparator-Dvc8cDyM.d.cts +0 -2
  150. package/dist/components/ui/OrContinueWithSeparator.cjs +0 -7
  151. package/dist/components/ui/alert-Byz-rs0N.d.ts +0 -2
  152. package/dist/components/ui/alert-EgfaSBxF.d.cts +0 -2
  153. package/dist/components/ui/alert-dialog-DduTXxp5.d.cts +0 -2
  154. package/dist/components/ui/alert-dialog.cjs +0 -45
  155. package/dist/components/ui/alert.cjs +0 -8
  156. package/dist/components/ui/avatar-C27hFzFH.d.ts +0 -2
  157. package/dist/components/ui/avatar-hpkEskr5.d.cts +0 -2
  158. package/dist/components/ui/avatar.cjs +0 -8
  159. package/dist/components/ui/badge-Bn_Si704.d.ts +0 -2
  160. package/dist/components/ui/badge-KcziaqyK.d.cts +0 -2
  161. package/dist/components/ui/badge.cjs +0 -7
  162. package/dist/components/ui/button-OMnV_24p.d.cts +0 -2
  163. package/dist/components/ui/button-xAUU71CK.d.ts +0 -2
  164. package/dist/components/ui/button.cjs +0 -7
  165. package/dist/components/ui/calendar-BEbds-zF.d.cts +0 -2
  166. package/dist/components/ui/calendar.cjs +0 -8
  167. package/dist/components/ui/card-BDrM5yPN.d.cts +0 -2
  168. package/dist/components/ui/card.cjs +0 -12
  169. package/dist/components/ui/checkbox-0VdiyPZJ.d.ts +0 -2
  170. package/dist/components/ui/checkbox-DAUiq-4T.d.cts +0 -2
  171. package/dist/components/ui/checkbox.cjs +0 -8
  172. package/dist/components/ui/command-DCzWKK9H.d.cts +0 -2
  173. package/dist/components/ui/command.cjs +0 -17
  174. package/dist/components/ui/dialog-BgbuIKOa.d.cts +0 -2
  175. package/dist/components/ui/dialog.cjs +0 -15
  176. package/dist/components/ui/dropdown-menu-BkKMo0ox.d.cts +0 -2
  177. package/dist/components/ui/dropdown-menu.cjs +0 -20
  178. package/dist/components/ui/file-upload-DiSeXl5J.d.cts +0 -2
  179. package/dist/components/ui/file-upload.cjs +0 -28
  180. package/dist/components/ui/form-Ou4AQTb6.d.cts +0 -2
  181. package/dist/components/ui/form.cjs +0 -14
  182. package/dist/components/ui/index-G20FcqoN.d.cts +0 -30
  183. package/dist/components/ui/index.cjs +0 -187
  184. package/dist/components/ui/input-DUQcmWuH.d.cts +0 -2
  185. package/dist/components/ui/input-gUHpQ5sH.d.ts +0 -2
  186. package/dist/components/ui/input.cjs +0 -6
  187. package/dist/components/ui/label-D0-7tdhM.d.ts +0 -2
  188. package/dist/components/ui/label-DimrvHz0.d.cts +0 -2
  189. package/dist/components/ui/label.cjs +0 -6
  190. package/dist/components/ui/pagination-C3bwMwwX.d.cts +0 -2
  191. package/dist/components/ui/pagination.cjs +0 -39
  192. package/dist/components/ui/popover-BMsEOeZk.d.cts +0 -2
  193. package/dist/components/ui/popover.cjs +0 -9
  194. package/dist/components/ui/radio-group-LhGeL5Jq.d.cts +0 -2
  195. package/dist/components/ui/radio-group.cjs +0 -7
  196. package/dist/components/ui/select-DEocx6ny.d.cts +0 -2
  197. package/dist/components/ui/select.cjs +0 -17
  198. package/dist/components/ui/separator-B9ar107P.d.ts +0 -2
  199. package/dist/components/ui/separator-CRHUHLVk.d.cts +0 -2
  200. package/dist/components/ui/separator.cjs +0 -6
  201. package/dist/components/ui/shadcn-io/tags/index-C7ircX0x.d.cts +0 -2
  202. package/dist/components/ui/shadcn-io/tags/index.cjs +0 -21
  203. package/dist/components/ui/shadcn-io/tags-input-inline/index-DpTV34EG.d.cts +0 -2
  204. package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -10
  205. package/dist/components/ui/sheet-DrTt0RCh.d.cts +0 -2
  206. package/dist/components/ui/sheet.cjs +0 -13
  207. package/dist/components/ui/slider-B_Ct6RDR.d.ts +0 -2
  208. package/dist/components/ui/slider-qhTDbebA.d.cts +0 -2
  209. package/dist/components/ui/slider.cjs +0 -6
  210. package/dist/components/ui/switch-BN9A2aWi.d.ts +0 -2
  211. package/dist/components/ui/switch-D6yB-Ovv.d.cts +0 -2
  212. package/dist/components/ui/switch.cjs +0 -8
  213. package/dist/components/ui/tabs-BThS9Ifx.d.cts +0 -2
  214. package/dist/components/ui/tabs-BXfCBX9q.d.ts +0 -2
  215. package/dist/components/ui/tabs.cjs +0 -9
  216. package/dist/components/ui/textarea-BfSbPfQE.d.ts +0 -2
  217. package/dist/components/ui/textarea-CQzW61Gx.d.cts +0 -2
  218. package/dist/components/ui/textarea.cjs +0 -6
  219. package/dist/components/ui/tooltip-BRCqK0UP.d.cts +0 -2
  220. package/dist/components/ui/tooltip.cjs +0 -9
  221. package/dist/dialog-C1-NCU47.d.ts +0 -47
  222. package/dist/dialog-DFENsfgQ.cjs +0 -149
  223. package/dist/dropdown-menu-B2D2pr52.cjs +0 -216
  224. package/dist/dropdown-menu-CGyKEAjo.d.ts +0 -77
  225. package/dist/file-upload-9q25L_mV.d.cts +0 -94
  226. package/dist/file-upload-DGFPUCSi.cjs +0 -973
  227. package/dist/form-C4ktVmIn.d.ts +0 -45
  228. package/dist/form-C9YnHr1i.cjs +0 -137
  229. package/dist/index-B_2R7TER.d.cts +0 -31
  230. package/dist/index-Blt-EW0e.d.cts +0 -31
  231. package/dist/index-Cgz59HyA.d.ts +0 -39
  232. package/dist/index-Ctvuv0vV.d.cts +0 -1
  233. package/dist/index-DxMmAsPK.d.cts +0 -70
  234. package/dist/index.cjs +0 -188
  235. package/dist/input-BGQuRFda.d.ts +0 -11
  236. package/dist/input-BfxJHE4U.cjs +0 -23
  237. package/dist/input-C5RDMgi3.d.cts +0 -11
  238. package/dist/jsx-runtime-BlVTPSwi.cjs +0 -283
  239. package/dist/jsx-runtime-CjFsk39Z.js +0 -274
  240. package/dist/label-B92w7LNc.cjs +0 -24
  241. package/dist/label-C82lEB8P.d.ts +0 -11
  242. package/dist/lib/index-ChuxSUKt.d.ts +0 -2
  243. package/dist/lib/index-D0-THr8a.d.cts +0 -2
  244. package/dist/lib/index.cjs +0 -4
  245. package/dist/lib/utils-45Ez8x6p.d.ts +0 -2
  246. package/dist/lib/utils-lNm-CqH0.d.cts +0 -2
  247. package/dist/lib/utils.cjs +0 -3
  248. package/dist/lib-B_fww26I.js +0 -1
  249. package/dist/popover-BX6CaTPU.d.cts +0 -22
  250. package/dist/popover-CxQjRK9q.cjs +0 -62
  251. package/dist/radio-group-BGPJ_D8q.cjs +0 -43
  252. package/dist/radio-group-oSmZ0ztd.d.cts +0 -15
  253. package/dist/select-BZfB9A8R.cjs +0 -160
  254. package/dist/select-Fa42Z4LL.d.ts +0 -52
  255. package/dist/separator-3CugGxfw.cjs +0 -26
  256. package/dist/separator-4yrIPr8r.d.cts +0 -13
  257. package/dist/sheet-CHuRM3o6.cjs +0 -133
  258. package/dist/sheet-DP0qGWDN.d.cts +0 -40
  259. package/dist/slider-3-mzOHpV.cjs +0 -45
  260. package/dist/slider-D3ozng9Y.d.ts +0 -15
  261. package/dist/src-Bx8pdty8.cjs +0 -266
  262. package/dist/switch-BIfMlSaF.d.cts +0 -11
  263. package/dist/switch-L23w_mnL.cjs +0 -28
  264. package/dist/tabs-CaKdT_iv.cjs +0 -63
  265. package/dist/tabs-DB6AHtkj.d.cts +0 -23
  266. package/dist/tags-VzxSgWuS.cjs +0 -184
  267. package/dist/tags-input-inline-CNZb7USn.cjs +0 -94
  268. package/dist/textarea-CRkBubLj.cjs +0 -22
  269. package/dist/textarea-_V7biagy.d.ts +0 -10
  270. package/dist/tooltip-C7py127U.d.cts +0 -23
  271. package/dist/tooltip-DelLkXOp.cjs +0 -63
  272. package/dist/utils-DyQCiavd.cjs +0 -16
  273. package/dist/utils-tcGMjZkT.d.cts +0 -6
  274. /package/dist/{index-CZUtOTjh.d.ts → index-CCggO_hw.d.ts} +0 -0
  275. /package/dist/{lib-CkvvICiv.cjs → lib-IiLuXmGR.js} +0 -0
  276. /package/dist/{utils-_VBxPjie.d.ts → utils-Bgl9doaU.d.ts} +0 -0
  277. /package/dist/{utils-D2WOFi-N.js → utils-CeuVg6RA.js} +0 -0
@@ -1,266 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- const require_button = require('./button-BNmxKjOB.cjs');
4
- let react = require("react");
5
- react = require_jsx_runtime$1.__toESM(react);
6
- let __radix_ui_react_alert_dialog = require("@radix-ui/react-alert-dialog");
7
- __radix_ui_react_alert_dialog = require_jsx_runtime$1.__toESM(__radix_ui_react_alert_dialog);
8
- let lucide_react = require("lucide-react");
9
-
10
- //#region src/components/ui/alert-dialog.tsx
11
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
12
- function AlertDialog({ ...props }) {
13
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Root, {
14
- "data-slot": "alert-dialog",
15
- ...props
16
- });
17
- }
18
- function AlertDialogTrigger({ ...props }) {
19
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Trigger, {
20
- "data-slot": "alert-dialog-trigger",
21
- ...props
22
- });
23
- }
24
- function AlertDialogPortal({ ...props }) {
25
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Portal, {
26
- "data-slot": "alert-dialog-portal",
27
- ...props
28
- });
29
- }
30
- function AlertDialogOverlay({ className, ...props }) {
31
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Overlay, {
32
- "data-slot": "alert-dialog-overlay",
33
- className: require_utils.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", className),
34
- ...props
35
- });
36
- }
37
- function AlertDialogContent({ className, ...props }) {
38
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogPortal, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Content, {
39
- "data-slot": "alert-dialog-content",
40
- className: require_utils.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", className),
41
- ...props
42
- })] });
43
- }
44
- function AlertDialogHeader({ className, ...props }) {
45
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
46
- "data-slot": "alert-dialog-header",
47
- className: require_utils.cn("flex flex-col gap-2 text-center sm:text-left", className),
48
- ...props
49
- });
50
- }
51
- function AlertDialogFooter({ className, ...props }) {
52
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
53
- "data-slot": "alert-dialog-footer",
54
- className: require_utils.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
55
- ...props
56
- });
57
- }
58
- function AlertDialogTitle({ className, ...props }) {
59
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Title, {
60
- "data-slot": "alert-dialog-title",
61
- className: require_utils.cn("text-lg font-semibold", className),
62
- ...props
63
- });
64
- }
65
- function AlertDialogDescription({ className, ...props }) {
66
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Description, {
67
- "data-slot": "alert-dialog-description",
68
- className: require_utils.cn("text-muted-foreground text-sm", className),
69
- ...props
70
- });
71
- }
72
- function AlertDialogAction({ className, ...props }) {
73
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Action, {
74
- className: require_utils.cn(require_button.buttonVariants(), className),
75
- ...props
76
- });
77
- }
78
- function AlertDialogCancel({ className, ...props }) {
79
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_alert_dialog.Cancel, {
80
- className: require_utils.cn(require_button.buttonVariants({ variant: "outline" }), className),
81
- ...props
82
- });
83
- }
84
-
85
- //#endregion
86
- //#region src/components/ui/pagination.tsx
87
- function Pagination({ className, ...props }) {
88
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", {
89
- role: "navigation",
90
- "aria-label": "pagination",
91
- "data-slot": "pagination",
92
- className: require_utils.cn("mx-auto flex w-full justify-center", className),
93
- ...props
94
- });
95
- }
96
- function PaginationContent({ className, ...props }) {
97
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", {
98
- "data-slot": "pagination-content",
99
- className: require_utils.cn("flex flex-row items-center gap-1", className),
100
- ...props
101
- });
102
- }
103
- function PaginationItem({ ...props }) {
104
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", {
105
- "data-slot": "pagination-item",
106
- ...props
107
- });
108
- }
109
- function PaginationLink({ className, isActive, size = "icon", ...props }) {
110
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
111
- "aria-current": isActive ? "page" : void 0,
112
- "data-slot": "pagination-link",
113
- "data-active": isActive,
114
- className: require_utils.cn(require_button.buttonVariants({
115
- variant: isActive ? "outline" : "ghost",
116
- size
117
- }), className),
118
- ...props
119
- });
120
- }
121
- function PaginationPrevious({ className, ...props }) {
122
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PaginationLink, {
123
- "aria-label": "Go to previous page",
124
- size: "default",
125
- className: require_utils.cn("gap-1 px-2.5 sm:pl-2.5", className),
126
- ...props,
127
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.ChevronLeftIcon, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
128
- className: "hidden sm:block",
129
- children: "Previous"
130
- })]
131
- });
132
- }
133
- function PaginationNext({ className, ...props }) {
134
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PaginationLink, {
135
- "aria-label": "Go to next page",
136
- size: "default",
137
- className: require_utils.cn("gap-1 px-2.5 sm:pr-2.5", className),
138
- ...props,
139
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
140
- className: "hidden sm:block",
141
- children: "Next"
142
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.ChevronRightIcon, {})]
143
- });
144
- }
145
- function PaginationEllipsis({ className, ...props }) {
146
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
147
- "aria-hidden": true,
148
- "data-slot": "pagination-ellipsis",
149
- className: require_utils.cn("flex size-9 items-center justify-center", className),
150
- ...props,
151
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.MoreHorizontalIcon, { className: "size-4" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
152
- className: "sr-only",
153
- children: "More pages"
154
- })]
155
- });
156
- }
157
-
158
- //#endregion
159
- Object.defineProperty(exports, 'AlertDialog', {
160
- enumerable: true,
161
- get: function () {
162
- return AlertDialog;
163
- }
164
- });
165
- Object.defineProperty(exports, 'AlertDialogAction', {
166
- enumerable: true,
167
- get: function () {
168
- return AlertDialogAction;
169
- }
170
- });
171
- Object.defineProperty(exports, 'AlertDialogCancel', {
172
- enumerable: true,
173
- get: function () {
174
- return AlertDialogCancel;
175
- }
176
- });
177
- Object.defineProperty(exports, 'AlertDialogContent', {
178
- enumerable: true,
179
- get: function () {
180
- return AlertDialogContent;
181
- }
182
- });
183
- Object.defineProperty(exports, 'AlertDialogDescription', {
184
- enumerable: true,
185
- get: function () {
186
- return AlertDialogDescription;
187
- }
188
- });
189
- Object.defineProperty(exports, 'AlertDialogFooter', {
190
- enumerable: true,
191
- get: function () {
192
- return AlertDialogFooter;
193
- }
194
- });
195
- Object.defineProperty(exports, 'AlertDialogHeader', {
196
- enumerable: true,
197
- get: function () {
198
- return AlertDialogHeader;
199
- }
200
- });
201
- Object.defineProperty(exports, 'AlertDialogOverlay', {
202
- enumerable: true,
203
- get: function () {
204
- return AlertDialogOverlay;
205
- }
206
- });
207
- Object.defineProperty(exports, 'AlertDialogPortal', {
208
- enumerable: true,
209
- get: function () {
210
- return AlertDialogPortal;
211
- }
212
- });
213
- Object.defineProperty(exports, 'AlertDialogTitle', {
214
- enumerable: true,
215
- get: function () {
216
- return AlertDialogTitle;
217
- }
218
- });
219
- Object.defineProperty(exports, 'AlertDialogTrigger', {
220
- enumerable: true,
221
- get: function () {
222
- return AlertDialogTrigger;
223
- }
224
- });
225
- Object.defineProperty(exports, 'Pagination', {
226
- enumerable: true,
227
- get: function () {
228
- return Pagination;
229
- }
230
- });
231
- Object.defineProperty(exports, 'PaginationContent', {
232
- enumerable: true,
233
- get: function () {
234
- return PaginationContent;
235
- }
236
- });
237
- Object.defineProperty(exports, 'PaginationEllipsis', {
238
- enumerable: true,
239
- get: function () {
240
- return PaginationEllipsis;
241
- }
242
- });
243
- Object.defineProperty(exports, 'PaginationItem', {
244
- enumerable: true,
245
- get: function () {
246
- return PaginationItem;
247
- }
248
- });
249
- Object.defineProperty(exports, 'PaginationLink', {
250
- enumerable: true,
251
- get: function () {
252
- return PaginationLink;
253
- }
254
- });
255
- Object.defineProperty(exports, 'PaginationNext', {
256
- enumerable: true,
257
- get: function () {
258
- return PaginationNext;
259
- }
260
- });
261
- Object.defineProperty(exports, 'PaginationPrevious', {
262
- enumerable: true,
263
- get: function () {
264
- return PaginationPrevious;
265
- }
266
- });
@@ -1,11 +0,0 @@
1
- import * as react_jsx_runtime86 from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as SwitchPrimitive from "@radix-ui/react-switch";
4
-
5
- //#region src/components/ui/switch.d.ts
6
- declare function Switch({
7
- className,
8
- ...props
9
- }: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime86.JSX.Element;
10
- //#endregion
11
- export { Switch as t };
@@ -1,28 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let react = require("react");
4
- react = require_jsx_runtime$1.__toESM(react);
5
- let __radix_ui_react_switch = require("@radix-ui/react-switch");
6
- __radix_ui_react_switch = require_jsx_runtime$1.__toESM(__radix_ui_react_switch);
7
-
8
- //#region src/components/ui/switch.tsx
9
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
10
- function Switch({ className, ...props }) {
11
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_switch.Root, {
12
- "data-slot": "switch",
13
- className: require_utils.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", className),
14
- ...props,
15
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_switch.Thumb, {
16
- "data-slot": "switch-thumb",
17
- className: require_utils.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")
18
- })
19
- });
20
- }
21
-
22
- //#endregion
23
- Object.defineProperty(exports, 'Switch', {
24
- enumerable: true,
25
- get: function () {
26
- return Switch;
27
- }
28
- });
@@ -1,63 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let react = require("react");
4
- react = require_jsx_runtime$1.__toESM(react);
5
- let __radix_ui_react_tabs = require("@radix-ui/react-tabs");
6
- __radix_ui_react_tabs = require_jsx_runtime$1.__toESM(__radix_ui_react_tabs);
7
-
8
- //#region src/components/ui/tabs.tsx
9
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
10
- function Tabs({ className, ...props }) {
11
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tabs.Root, {
12
- "data-slot": "tabs",
13
- className: require_utils.cn("flex flex-col gap-2", className),
14
- ...props
15
- });
16
- }
17
- function TabsList({ className, ...props }) {
18
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tabs.List, {
19
- "data-slot": "tabs-list",
20
- className: require_utils.cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", className),
21
- ...props
22
- });
23
- }
24
- function TabsTrigger({ className, ...props }) {
25
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tabs.Trigger, {
26
- "data-slot": "tabs-trigger",
27
- className: require_utils.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", className),
28
- ...props
29
- });
30
- }
31
- function TabsContent({ className, ...props }) {
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_tabs.Content, {
33
- "data-slot": "tabs-content",
34
- className: require_utils.cn("flex-1 outline-none", className),
35
- ...props
36
- });
37
- }
38
-
39
- //#endregion
40
- Object.defineProperty(exports, 'Tabs', {
41
- enumerable: true,
42
- get: function () {
43
- return Tabs;
44
- }
45
- });
46
- Object.defineProperty(exports, 'TabsContent', {
47
- enumerable: true,
48
- get: function () {
49
- return TabsContent;
50
- }
51
- });
52
- Object.defineProperty(exports, 'TabsList', {
53
- enumerable: true,
54
- get: function () {
55
- return TabsList;
56
- }
57
- });
58
- Object.defineProperty(exports, 'TabsTrigger', {
59
- enumerable: true,
60
- get: function () {
61
- return TabsTrigger;
62
- }
63
- });
@@ -1,23 +0,0 @@
1
- import * as react_jsx_runtime102 from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as TabsPrimitive from "@radix-ui/react-tabs";
4
-
5
- //#region src/components/ui/tabs.d.ts
6
- declare function Tabs({
7
- className,
8
- ...props
9
- }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime102.JSX.Element;
10
- declare function TabsList({
11
- className,
12
- ...props
13
- }: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime102.JSX.Element;
14
- declare function TabsTrigger({
15
- className,
16
- ...props
17
- }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime102.JSX.Element;
18
- declare function TabsContent({
19
- className,
20
- ...props
21
- }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime102.JSX.Element;
22
- //#endregion
23
- export { TabsTrigger as i, TabsContent as n, TabsList as r, Tabs as t };
@@ -1,184 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- const require_badge = require('./badge-3M1AQ3yx.cjs');
4
- const require_button = require('./button-BNmxKjOB.cjs');
5
- const require_command = require('./command-DX6woPdY.cjs');
6
- const require_popover = require('./popover-CxQjRK9q.cjs');
7
- let react = require("react");
8
- let lucide_react = require("lucide-react");
9
-
10
- //#region src/components/ui/shadcn-io/tags/index.tsx
11
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
12
- const TagsContext = (0, react.createContext)({
13
- value: void 0,
14
- setValue: void 0,
15
- open: false,
16
- onOpenChange: () => {},
17
- width: void 0,
18
- setWidth: void 0
19
- });
20
- function useTagsContext() {
21
- const context = (0, react.use)(TagsContext);
22
- if (!context) throw new Error("useTagsContext must be used within a TagsProvider");
23
- return context;
24
- }
25
- function Tags({ value, setValue, open: controlledOpen, onOpenChange: controlledOnOpenChange, children, className }) {
26
- const [uncontrolledOpen, setUncontrolledOpen] = (0, react.useState)(false);
27
- const [width, setWidth] = (0, react.useState)();
28
- const ref = (0, react.useRef)(null);
29
- const open = controlledOpen ?? uncontrolledOpen;
30
- const onOpenChange = controlledOnOpenChange ?? setUncontrolledOpen;
31
- (0, react.useEffect)(() => {
32
- if (!ref.current) return;
33
- const resizeObserver = new ResizeObserver((entries) => {
34
- if (entries[0]) setWidth(entries[0].contentRect.width);
35
- });
36
- resizeObserver.observe(ref.current);
37
- return () => {
38
- resizeObserver.disconnect();
39
- };
40
- }, []);
41
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TagsContext.Provider, {
42
- value: {
43
- value,
44
- setValue,
45
- open,
46
- onOpenChange,
47
- width,
48
- setWidth
49
- },
50
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.Popover, {
51
- onOpenChange,
52
- open,
53
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
54
- className: require_utils.cn("relative w-full", className),
55
- ref,
56
- children
57
- })
58
- })
59
- });
60
- }
61
- function TagsTrigger({ className, children, ...props }) {
62
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.PopoverTrigger, {
63
- asChild: true,
64
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_button.Button, {
65
- className: require_utils.cn("h-auto w-full justify-between p-2", className),
66
- role: "combobox",
67
- variant: "outline",
68
- ...props,
69
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
70
- className: "flex flex-wrap items-center gap-1",
71
- children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
72
- className: "px-2 py-px text-muted-foreground",
73
- children: "Select a tag..."
74
- })]
75
- })
76
- })
77
- });
78
- }
79
- function TagsValue({ className, children, onRemove, ...props }) {
80
- const handleRemove = (event) => {
81
- event.preventDefault();
82
- event.stopPropagation();
83
- onRemove?.();
84
- };
85
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(require_badge.Badge, {
86
- className: require_utils.cn("flex items-center gap-2", className),
87
- ...props,
88
- children: [children, onRemove && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
89
- className: "size-auto cursor-pointer hover:text-muted-foreground",
90
- onClick: handleRemove,
91
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.XIcon, { size: 12 })
92
- })]
93
- });
94
- }
95
- function TagsContent({ className, children, ...props }) {
96
- const { width } = useTagsContext();
97
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_popover.PopoverContent, {
98
- className: require_utils.cn("p-0", className),
99
- style: { width },
100
- ...props,
101
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.Command, { children })
102
- });
103
- }
104
- function TagsInput({ className, ...props }) {
105
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandInput, {
106
- className: require_utils.cn("h-9", className),
107
- ...props
108
- });
109
- }
110
- function TagsList({ className, ...props }) {
111
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandList, {
112
- className: require_utils.cn("max-h-[200px]", className),
113
- ...props
114
- });
115
- }
116
- function TagsEmpty({ children, className, ...props }) {
117
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandEmpty, {
118
- ...props,
119
- children: children ?? "No tags found."
120
- });
121
- }
122
- const TagsGroup = require_command.CommandGroup;
123
- function TagsItem({ className, ...props }) {
124
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_command.CommandItem, {
125
- className: require_utils.cn("cursor-pointer items-center justify-between", className),
126
- ...props
127
- });
128
- }
129
-
130
- //#endregion
131
- Object.defineProperty(exports, 'Tags', {
132
- enumerable: true,
133
- get: function () {
134
- return Tags;
135
- }
136
- });
137
- Object.defineProperty(exports, 'TagsContent', {
138
- enumerable: true,
139
- get: function () {
140
- return TagsContent;
141
- }
142
- });
143
- Object.defineProperty(exports, 'TagsEmpty', {
144
- enumerable: true,
145
- get: function () {
146
- return TagsEmpty;
147
- }
148
- });
149
- Object.defineProperty(exports, 'TagsGroup', {
150
- enumerable: true,
151
- get: function () {
152
- return TagsGroup;
153
- }
154
- });
155
- Object.defineProperty(exports, 'TagsInput', {
156
- enumerable: true,
157
- get: function () {
158
- return TagsInput;
159
- }
160
- });
161
- Object.defineProperty(exports, 'TagsItem', {
162
- enumerable: true,
163
- get: function () {
164
- return TagsItem;
165
- }
166
- });
167
- Object.defineProperty(exports, 'TagsList', {
168
- enumerable: true,
169
- get: function () {
170
- return TagsList;
171
- }
172
- });
173
- Object.defineProperty(exports, 'TagsTrigger', {
174
- enumerable: true,
175
- get: function () {
176
- return TagsTrigger;
177
- }
178
- });
179
- Object.defineProperty(exports, 'TagsValue', {
180
- enumerable: true,
181
- get: function () {
182
- return TagsValue;
183
- }
184
- });
@@ -1,94 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let lucide_react = require("lucide-react");
4
- let __diceui_tags_input = require("@diceui/tags-input");
5
- __diceui_tags_input = require_jsx_runtime$1.__toESM(__diceui_tags_input);
6
-
7
- //#region src/components/ui/shadcn-io/tags-input-inline/index.tsx
8
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
9
- function TagsInputInLineRoot({ className, ...props }) {
10
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Root, {
11
- "data-slot": "tags-input",
12
- className: require_utils.cn("flex w-full flex-col", className),
13
- ...props
14
- });
15
- }
16
- function TagsInputInLineLabel({ className, ...props }) {
17
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Label, {
18
- "data-slot": "tags-input-label",
19
- className: require_utils.cn("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", className),
20
- ...props
21
- });
22
- }
23
- function TagsInputInLineList({ className, ...props }) {
24
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
25
- "data-slot": "tags-input-list",
26
- className: require_utils.cn("flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-md border border-input bg-background px-3 py-2 text-sm focus-within:ring-1 focus-within:ring-ring disabled:cursor-not-allowed disabled:opacity-50", className),
27
- ...props
28
- });
29
- }
30
- function TagsInputInLineInput({ className, ...props }) {
31
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Input, {
32
- "data-slot": "tags-input-input",
33
- className: require_utils.cn("flex-1 bg-transparent outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className),
34
- ...props
35
- });
36
- }
37
- function TagsInputInLineItem({ className, children, ...props }) {
38
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(__diceui_tags_input.Item, {
39
- "data-slot": "tags-input-item",
40
- className: require_utils.cn("inline-flex max-w-[calc(100%-8px)] items-center gap-1.5 rounded border bg-transparent px-2.5 py-1 text-sm focus:outline-hidden data-disabled:cursor-not-allowed data-editable:select-none data-editing:bg-transparent data-disabled:opacity-50 data-editing:ring-1 data-editing:ring-ring [&:not([data-editing])]:pr-1.5 [&[data-highlighted]:not([data-editing])]:bg-accent [&[data-highlighted]:not([data-editing])]:text-accent-foreground", className),
41
- ...props,
42
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.ItemText, {
43
- className: "truncate",
44
- children
45
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.ItemDelete, {
46
- className: "size-4 shrink-0 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100",
47
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(lucide_react.X, { className: "size-3.5" })
48
- })]
49
- });
50
- }
51
- function TagsInputInLineClear({ ...props }) {
52
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__diceui_tags_input.Clear, {
53
- "data-slot": "tags-input-clear",
54
- ...props
55
- });
56
- }
57
-
58
- //#endregion
59
- Object.defineProperty(exports, 'TagsInputInLineClear', {
60
- enumerable: true,
61
- get: function () {
62
- return TagsInputInLineClear;
63
- }
64
- });
65
- Object.defineProperty(exports, 'TagsInputInLineInput', {
66
- enumerable: true,
67
- get: function () {
68
- return TagsInputInLineInput;
69
- }
70
- });
71
- Object.defineProperty(exports, 'TagsInputInLineItem', {
72
- enumerable: true,
73
- get: function () {
74
- return TagsInputInLineItem;
75
- }
76
- });
77
- Object.defineProperty(exports, 'TagsInputInLineLabel', {
78
- enumerable: true,
79
- get: function () {
80
- return TagsInputInLineLabel;
81
- }
82
- });
83
- Object.defineProperty(exports, 'TagsInputInLineList', {
84
- enumerable: true,
85
- get: function () {
86
- return TagsInputInLineList;
87
- }
88
- });
89
- Object.defineProperty(exports, 'TagsInputInLineRoot', {
90
- enumerable: true,
91
- get: function () {
92
- return TagsInputInLineRoot;
93
- }
94
- });