crm-project-ui 0.1.3 → 0.1.5

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 (434) hide show
  1. package/dist/chunk-2235BXRK.cjs +59 -0
  2. package/dist/chunk-2235BXRK.cjs.map +1 -0
  3. package/dist/chunk-2EKMWNBU.js +19 -0
  4. package/dist/chunk-2EKMWNBU.js.map +1 -0
  5. package/dist/chunk-2FFPVZ6N.js +11 -0
  6. package/dist/chunk-2FFPVZ6N.js.map +1 -0
  7. package/dist/chunk-2NQQZYED.js +36 -0
  8. package/dist/chunk-2NQQZYED.js.map +1 -0
  9. package/dist/chunk-33SRTFWE.js +21 -0
  10. package/dist/chunk-33SRTFWE.js.map +1 -0
  11. package/dist/chunk-3LMFR6AM.js +104 -0
  12. package/dist/chunk-3LMFR6AM.js.map +1 -0
  13. package/dist/chunk-3QYLT2OF.cjs +171 -0
  14. package/dist/chunk-3QYLT2OF.cjs.map +1 -0
  15. package/dist/chunk-465JCUVG.js +35 -0
  16. package/dist/chunk-465JCUVG.js.map +1 -0
  17. package/dist/chunk-4AP7SKEF.js +86 -0
  18. package/dist/chunk-4AP7SKEF.js.map +1 -0
  19. package/dist/chunk-4H4AANAG.cjs +120 -0
  20. package/dist/chunk-4H4AANAG.cjs.map +1 -0
  21. package/dist/chunk-4KKYZHNL.js +88 -0
  22. package/dist/chunk-4KKYZHNL.js.map +1 -0
  23. package/dist/chunk-57D6TH5J.cjs +210 -0
  24. package/dist/chunk-57D6TH5J.cjs.map +1 -0
  25. package/dist/chunk-6DPCNXTJ.js +102 -0
  26. package/dist/chunk-6DPCNXTJ.js.map +1 -0
  27. package/dist/chunk-6SLTUI5E.js +133 -0
  28. package/dist/chunk-6SLTUI5E.js.map +1 -0
  29. package/dist/chunk-73LKS37B.cjs +51 -0
  30. package/dist/chunk-73LKS37B.cjs.map +1 -0
  31. package/dist/chunk-73MOIO3J.js +10 -0
  32. package/dist/chunk-73MOIO3J.js.map +1 -0
  33. package/dist/chunk-74AWLHHY.cjs +71 -0
  34. package/dist/chunk-74AWLHHY.cjs.map +1 -0
  35. package/dist/chunk-7IPG67A6.cjs +30 -0
  36. package/dist/chunk-7IPG67A6.cjs.map +1 -0
  37. package/dist/chunk-7W4HJ3C3.cjs +50 -0
  38. package/dist/chunk-7W4HJ3C3.cjs.map +1 -0
  39. package/dist/chunk-7ZWOLEBF.js +28 -0
  40. package/dist/chunk-7ZWOLEBF.js.map +1 -0
  41. package/dist/chunk-A7KI55YI.cjs +51 -0
  42. package/dist/chunk-A7KI55YI.cjs.map +1 -0
  43. package/dist/chunk-AHN3IOA4.cjs +131 -0
  44. package/dist/chunk-AHN3IOA4.cjs.map +1 -0
  45. package/dist/chunk-AHY3E2IK.cjs +50 -0
  46. package/dist/chunk-AHY3E2IK.cjs.map +1 -0
  47. package/dist/chunk-AK5MR6XP.cjs +48 -0
  48. package/dist/chunk-AK5MR6XP.cjs.map +1 -0
  49. package/dist/chunk-AMFQ4EGW.cjs +142 -0
  50. package/dist/chunk-AMFQ4EGW.cjs.map +1 -0
  51. package/dist/chunk-BEDRPB3P.cjs +114 -0
  52. package/dist/chunk-BEDRPB3P.cjs.map +1 -0
  53. package/dist/chunk-BHCBCVH6.js +27 -0
  54. package/dist/chunk-BHCBCVH6.js.map +1 -0
  55. package/dist/chunk-BNBTUIY3.cjs +51 -0
  56. package/dist/chunk-BNBTUIY3.cjs.map +1 -0
  57. package/dist/chunk-BTTYE5RL.cjs +71 -0
  58. package/dist/chunk-BTTYE5RL.cjs.map +1 -0
  59. package/dist/chunk-C4BZQFNP.js +104 -0
  60. package/dist/chunk-C4BZQFNP.js.map +1 -0
  61. package/dist/chunk-CX4U4JLS.cjs +20 -0
  62. package/dist/chunk-CX4U4JLS.cjs.map +1 -0
  63. package/dist/chunk-CZL3SIZW.js +25 -0
  64. package/dist/chunk-CZL3SIZW.js.map +1 -0
  65. package/dist/chunk-D33JPIE7.cjs +220 -0
  66. package/dist/chunk-D33JPIE7.cjs.map +1 -0
  67. package/dist/chunk-DEXA2A2E.cjs +119 -0
  68. package/dist/chunk-DEXA2A2E.cjs.map +1 -0
  69. package/dist/chunk-DXFROKNH.js +38 -0
  70. package/dist/chunk-DXFROKNH.js.map +1 -0
  71. package/dist/chunk-ECOEJKFV.js +50 -0
  72. package/dist/chunk-ECOEJKFV.js.map +1 -0
  73. package/dist/chunk-F7KW4CI3.cjs +44 -0
  74. package/dist/chunk-F7KW4CI3.cjs.map +1 -0
  75. package/dist/chunk-G5R4GJEN.js +96 -0
  76. package/dist/chunk-G5R4GJEN.js.map +1 -0
  77. package/dist/chunk-GXCEW6CS.js +24 -0
  78. package/dist/chunk-GXCEW6CS.js.map +1 -0
  79. package/dist/chunk-GXMDMWF5.js +88 -0
  80. package/dist/chunk-GXMDMWF5.js.map +1 -0
  81. package/dist/chunk-HRCRYHE7.cjs +46 -0
  82. package/dist/chunk-HRCRYHE7.cjs.map +1 -0
  83. package/dist/chunk-IHSW4PA7.cjs +74 -0
  84. package/dist/chunk-IHSW4PA7.cjs.map +1 -0
  85. package/dist/chunk-JN3KLGEK.cjs +216 -0
  86. package/dist/chunk-JN3KLGEK.cjs.map +1 -0
  87. package/dist/chunk-JSDFFXLF.js +22 -0
  88. package/dist/chunk-JSDFFXLF.js.map +1 -0
  89. package/dist/chunk-KNIUV7GW.js +15 -0
  90. package/dist/chunk-KNIUV7GW.js.map +1 -0
  91. package/dist/chunk-KORDO65B.cjs +43 -0
  92. package/dist/chunk-KORDO65B.cjs.map +1 -0
  93. package/dist/chunk-KPHY34T6.js +187 -0
  94. package/dist/chunk-KPHY34T6.js.map +1 -0
  95. package/dist/chunk-LCVAM772.cjs +62 -0
  96. package/dist/chunk-LCVAM772.cjs.map +1 -0
  97. package/dist/chunk-LVYS3ODL.js +187 -0
  98. package/dist/chunk-LVYS3ODL.js.map +1 -0
  99. package/dist/chunk-M2MJWUIE.cjs +13 -0
  100. package/dist/chunk-M2MJWUIE.cjs.map +1 -0
  101. package/dist/chunk-M4DTDCCE.cjs +69 -0
  102. package/dist/chunk-M4DTDCCE.cjs.map +1 -0
  103. package/dist/chunk-MLRBSJKG.js +27 -0
  104. package/dist/chunk-MLRBSJKG.js.map +1 -0
  105. package/dist/chunk-MOHMTML2.cjs +21 -0
  106. package/dist/chunk-MOHMTML2.cjs.map +1 -0
  107. package/dist/chunk-MPPVCVJU.cjs +69 -0
  108. package/dist/chunk-MPPVCVJU.cjs.map +1 -0
  109. package/dist/chunk-N5DDD54V.cjs +17 -0
  110. package/dist/chunk-N5DDD54V.cjs.map +1 -0
  111. package/dist/chunk-NU5P5PNB.js +24 -0
  112. package/dist/chunk-NU5P5PNB.js.map +1 -0
  113. package/dist/chunk-OFBYMI57.js +94 -0
  114. package/dist/chunk-OFBYMI57.js.map +1 -0
  115. package/dist/chunk-OI4LMDIW.js +9 -0
  116. package/dist/chunk-OI4LMDIW.js.map +1 -0
  117. package/dist/chunk-OYTT7IR6.cjs +170 -0
  118. package/dist/chunk-OYTT7IR6.cjs.map +1 -0
  119. package/dist/chunk-P6NI665Y.js +28 -0
  120. package/dist/chunk-P6NI665Y.js.map +1 -0
  121. package/dist/chunk-PDHUUEN7.js +48 -0
  122. package/dist/chunk-PDHUUEN7.js.map +1 -0
  123. package/dist/chunk-PS6VXTFT.cjs +134 -0
  124. package/dist/chunk-PS6VXTFT.cjs.map +1 -0
  125. package/dist/chunk-QAESEWGY.js +134 -0
  126. package/dist/chunk-QAESEWGY.js.map +1 -0
  127. package/dist/chunk-RLIKZ76U.js +24 -0
  128. package/dist/chunk-RLIKZ76U.js.map +1 -0
  129. package/dist/chunk-RT3G3U65.js +110 -0
  130. package/dist/chunk-RT3G3U65.js.map +1 -0
  131. package/dist/chunk-RWSVA432.js +9 -0
  132. package/dist/chunk-RWSVA432.js.map +1 -0
  133. package/dist/chunk-SJQELACF.cjs +42 -0
  134. package/dist/chunk-SJQELACF.cjs.map +1 -0
  135. package/dist/chunk-SQ46EOSM.js +25 -0
  136. package/dist/chunk-SQ46EOSM.js.map +1 -0
  137. package/dist/chunk-SY7G7YYR.cjs +84 -0
  138. package/dist/chunk-SY7G7YYR.cjs.map +1 -0
  139. package/dist/chunk-SZR33CAM.js +57 -0
  140. package/dist/chunk-SZR33CAM.js.map +1 -0
  141. package/dist/chunk-T3DLB7AD.js +28 -0
  142. package/dist/chunk-T3DLB7AD.js.map +1 -0
  143. package/dist/chunk-T77QPSP3.js +45 -0
  144. package/dist/chunk-T77QPSP3.js.map +1 -0
  145. package/dist/chunk-UD47ALDK.js +18 -0
  146. package/dist/chunk-UD47ALDK.js.map +1 -0
  147. package/dist/chunk-UG5WSASV.js +45 -0
  148. package/dist/chunk-UG5WSASV.js.map +1 -0
  149. package/dist/chunk-UUIJSBBY.cjs +66 -0
  150. package/dist/chunk-UUIJSBBY.cjs.map +1 -0
  151. package/dist/chunk-UWOQWTJ5.js +43 -0
  152. package/dist/chunk-UWOQWTJ5.js.map +1 -0
  153. package/dist/chunk-UWWQAXA5.cjs +127 -0
  154. package/dist/chunk-UWWQAXA5.cjs.map +1 -0
  155. package/dist/chunk-VDFHPL6H.js +182 -0
  156. package/dist/chunk-VDFHPL6H.js.map +1 -0
  157. package/dist/chunk-WYGERLTM.cjs +33 -0
  158. package/dist/chunk-WYGERLTM.cjs.map +1 -0
  159. package/dist/chunk-X7ND6D3Z.cjs +137 -0
  160. package/dist/chunk-X7ND6D3Z.cjs.map +1 -0
  161. package/dist/chunk-XNCN3FUN.cjs +131 -0
  162. package/dist/chunk-XNCN3FUN.cjs.map +1 -0
  163. package/dist/chunk-XREGTUUJ.cjs +50 -0
  164. package/dist/chunk-XREGTUUJ.cjs.map +1 -0
  165. package/dist/chunk-XVSP65HS.cjs +122 -0
  166. package/dist/chunk-XVSP65HS.cjs.map +1 -0
  167. package/dist/chunk-Y4N5HZ4D.cjs +45 -0
  168. package/dist/chunk-Y4N5HZ4D.cjs.map +1 -0
  169. package/dist/chunk-YF3OAB4G.js +21 -0
  170. package/dist/chunk-YF3OAB4G.js.map +1 -0
  171. package/dist/chunk-YOICSFQ5.cjs +49 -0
  172. package/dist/chunk-YOICSFQ5.cjs.map +1 -0
  173. package/dist/chunk-YRBJYSON.cjs +11 -0
  174. package/dist/chunk-YRBJYSON.cjs.map +1 -0
  175. package/dist/chunk-YS4PJIQG.js +99 -0
  176. package/dist/chunk-YS4PJIQG.js.map +1 -0
  177. package/dist/chunk-Z6CHQFY7.js +20 -0
  178. package/dist/chunk-Z6CHQFY7.js.map +1 -0
  179. package/dist/chunk-ZFCVA4UC.js +41 -0
  180. package/dist/chunk-ZFCVA4UC.js.map +1 -0
  181. package/dist/chunk-ZJWOEMLV.cjs +12 -0
  182. package/dist/chunk-ZJWOEMLV.cjs.map +1 -0
  183. package/dist/chunk-ZUKXSTTI.cjs +60 -0
  184. package/dist/chunk-ZUKXSTTI.cjs.map +1 -0
  185. package/dist/components/ui/accordion/index.cjs +25 -0
  186. package/dist/components/ui/accordion/index.cjs.map +1 -0
  187. package/dist/components/ui/accordion/index.js +4 -0
  188. package/dist/components/ui/accordion/index.js.map +1 -0
  189. package/dist/components/ui/alert/index.cjs +21 -0
  190. package/dist/components/ui/alert/index.cjs.map +1 -0
  191. package/dist/components/ui/alert/index.js +4 -0
  192. package/dist/components/ui/alert/index.js.map +1 -0
  193. package/dist/components/ui/alert-dialog/index.cjs +54 -0
  194. package/dist/components/ui/alert-dialog/index.cjs.map +1 -0
  195. package/dist/components/ui/alert-dialog/index.js +5 -0
  196. package/dist/components/ui/alert-dialog/index.js.map +1 -0
  197. package/dist/components/ui/aspect-radio/index.cjs +29 -0
  198. package/dist/components/ui/aspect-radio/index.cjs.map +1 -0
  199. package/dist/components/ui/aspect-radio/index.js +7 -0
  200. package/dist/components/ui/aspect-radio/index.js.map +1 -0
  201. package/dist/components/ui/avatar/index.cjs +21 -0
  202. package/dist/components/ui/avatar/index.cjs.map +1 -0
  203. package/dist/components/ui/avatar/index.js +4 -0
  204. package/dist/components/ui/avatar/index.js.map +1 -0
  205. package/dist/components/ui/badge/index.cjs +17 -0
  206. package/dist/components/ui/badge/index.cjs.map +1 -0
  207. package/dist/components/ui/badge/index.js +4 -0
  208. package/dist/components/ui/badge/index.js.map +1 -0
  209. package/dist/components/ui/breadcrumb/index.cjs +37 -0
  210. package/dist/components/ui/breadcrumb/index.cjs.map +1 -0
  211. package/dist/components/ui/breadcrumb/index.js +4 -0
  212. package/dist/components/ui/breadcrumb/index.js.map +1 -0
  213. package/dist/components/ui/button/index.cjs +17 -0
  214. package/dist/components/ui/button/index.cjs.map +1 -0
  215. package/dist/components/ui/button/index.js +4 -0
  216. package/dist/components/ui/button/index.js.map +1 -0
  217. package/dist/components/ui/button-group/index.cjs +79 -0
  218. package/dist/components/ui/button-group/index.cjs.map +1 -0
  219. package/dist/components/ui/button-group/index.js +74 -0
  220. package/dist/components/ui/button-group/index.js.map +1 -0
  221. package/dist/components/ui/calendar/index.cjs +18 -0
  222. package/dist/components/ui/calendar/index.cjs.map +1 -0
  223. package/dist/components/ui/calendar/index.js +5 -0
  224. package/dist/components/ui/calendar/index.js.map +1 -0
  225. package/dist/components/ui/card/index.cjs +33 -0
  226. package/dist/components/ui/card/index.cjs.map +1 -0
  227. package/dist/components/ui/card/index.js +4 -0
  228. package/dist/components/ui/card/index.js.map +1 -0
  229. package/dist/components/ui/carousel/index.cjs +30 -0
  230. package/dist/components/ui/carousel/index.cjs.map +1 -0
  231. package/dist/components/ui/carousel/index.js +5 -0
  232. package/dist/components/ui/carousel/index.js.map +1 -0
  233. package/dist/components/ui/checkbox/index.cjs +13 -0
  234. package/dist/components/ui/checkbox/index.cjs.map +1 -0
  235. package/dist/components/ui/checkbox/index.js +4 -0
  236. package/dist/components/ui/checkbox/index.js.map +1 -0
  237. package/dist/components/ui/collapsible/index.cjs +20 -0
  238. package/dist/components/ui/collapsible/index.cjs.map +1 -0
  239. package/dist/components/ui/collapsible/index.js +3 -0
  240. package/dist/components/ui/collapsible/index.js.map +1 -0
  241. package/dist/components/ui/command/index.cjs +46 -0
  242. package/dist/components/ui/command/index.cjs.map +1 -0
  243. package/dist/components/ui/command/index.js +5 -0
  244. package/dist/components/ui/command/index.js.map +1 -0
  245. package/dist/components/ui/context-menu/index.cjs +69 -0
  246. package/dist/components/ui/context-menu/index.cjs.map +1 -0
  247. package/dist/components/ui/context-menu/index.js +4 -0
  248. package/dist/components/ui/context-menu/index.js.map +1 -0
  249. package/dist/components/ui/dialog/index.cjs +49 -0
  250. package/dist/components/ui/dialog/index.cjs.map +1 -0
  251. package/dist/components/ui/dialog/index.js +4 -0
  252. package/dist/components/ui/dialog/index.js.map +1 -0
  253. package/dist/components/ui/drawer/index.cjs +49 -0
  254. package/dist/components/ui/drawer/index.cjs.map +1 -0
  255. package/dist/components/ui/drawer/index.js +4 -0
  256. package/dist/components/ui/drawer/index.js.map +1 -0
  257. package/dist/components/ui/dropdown-menu/index.cjs +69 -0
  258. package/dist/components/ui/dropdown-menu/index.cjs.map +1 -0
  259. package/dist/components/ui/dropdown-menu/index.js +4 -0
  260. package/dist/components/ui/dropdown-menu/index.js.map +1 -0
  261. package/dist/components/ui/empty/index.cjs +105 -0
  262. package/dist/components/ui/empty/index.cjs.map +1 -0
  263. package/dist/components/ui/empty/index.js +98 -0
  264. package/dist/components/ui/empty/index.js.map +1 -0
  265. package/dist/components/ui/field/index.cjs +228 -0
  266. package/dist/components/ui/field/index.cjs.map +1 -0
  267. package/dist/components/ui/field/index.js +217 -0
  268. package/dist/components/ui/field/index.js.map +1 -0
  269. package/dist/components/ui/form/index.cjs +42 -0
  270. package/dist/components/ui/form/index.cjs.map +1 -0
  271. package/dist/components/ui/form/index.js +5 -0
  272. package/dist/components/ui/form/index.js.map +1 -0
  273. package/dist/components/ui/hover-card/index.cjs +21 -0
  274. package/dist/components/ui/hover-card/index.cjs.map +1 -0
  275. package/dist/components/ui/hover-card/index.js +4 -0
  276. package/dist/components/ui/hover-card/index.js.map +1 -0
  277. package/dist/components/ui/input/index.cjs +13 -0
  278. package/dist/components/ui/input/index.cjs.map +1 -0
  279. package/dist/components/ui/input/index.js +4 -0
  280. package/dist/components/ui/input/index.js.map +1 -0
  281. package/dist/components/ui/input-group/index.cjs +179 -0
  282. package/dist/components/ui/input-group/index.cjs.map +1 -0
  283. package/dist/components/ui/input-group/index.js +152 -0
  284. package/dist/components/ui/input-group/index.js.map +1 -0
  285. package/dist/components/ui/input-otp/index.cjs +70 -0
  286. package/dist/components/ui/input-otp/index.cjs.map +1 -0
  287. package/dist/components/ui/input-otp/index.js +45 -0
  288. package/dist/components/ui/input-otp/index.js.map +1 -0
  289. package/dist/components/ui/item/index.cjs +211 -0
  290. package/dist/components/ui/item/index.cjs.map +1 -0
  291. package/dist/components/ui/item/index.js +180 -0
  292. package/dist/components/ui/item/index.js.map +1 -0
  293. package/dist/components/ui/kbd/index.cjs +35 -0
  294. package/dist/components/ui/kbd/index.cjs.map +1 -0
  295. package/dist/components/ui/kbd/index.js +32 -0
  296. package/dist/components/ui/kbd/index.js.map +1 -0
  297. package/dist/components/ui/label/index.cjs +13 -0
  298. package/dist/components/ui/label/index.cjs.map +1 -0
  299. package/dist/components/ui/label/index.js +4 -0
  300. package/dist/components/ui/label/index.js.map +1 -0
  301. package/dist/components/ui/menubar/index.cjs +73 -0
  302. package/dist/components/ui/menubar/index.cjs.map +1 -0
  303. package/dist/components/ui/menubar/index.js +4 -0
  304. package/dist/components/ui/menubar/index.js.map +1 -0
  305. package/dist/components/ui/navigation-menu/index.cjs +45 -0
  306. package/dist/components/ui/navigation-menu/index.cjs.map +1 -0
  307. package/dist/components/ui/navigation-menu/index.js +4 -0
  308. package/dist/components/ui/navigation-menu/index.js.map +1 -0
  309. package/dist/components/ui/pagination/index.cjs +38 -0
  310. package/dist/components/ui/pagination/index.cjs.map +1 -0
  311. package/dist/components/ui/pagination/index.js +5 -0
  312. package/dist/components/ui/pagination/index.js.map +1 -0
  313. package/dist/components/ui/popover/index.cjs +25 -0
  314. package/dist/components/ui/popover/index.cjs.map +1 -0
  315. package/dist/components/ui/popover/index.js +4 -0
  316. package/dist/components/ui/popover/index.js.map +1 -0
  317. package/dist/components/ui/progress/index.cjs +13 -0
  318. package/dist/components/ui/progress/index.cjs.map +1 -0
  319. package/dist/components/ui/progress/index.js +4 -0
  320. package/dist/components/ui/progress/index.js.map +1 -0
  321. package/dist/components/ui/radio-group/index.cjs +17 -0
  322. package/dist/components/ui/radio-group/index.cjs.map +1 -0
  323. package/dist/components/ui/radio-group/index.js +4 -0
  324. package/dist/components/ui/radio-group/index.js.map +1 -0
  325. package/dist/components/ui/resizable/index.cjs +21 -0
  326. package/dist/components/ui/resizable/index.cjs.map +1 -0
  327. package/dist/components/ui/resizable/index.js +4 -0
  328. package/dist/components/ui/resizable/index.js.map +1 -0
  329. package/dist/components/ui/scroll-area/index.cjs +17 -0
  330. package/dist/components/ui/scroll-area/index.cjs.map +1 -0
  331. package/dist/components/ui/scroll-area/index.js +4 -0
  332. package/dist/components/ui/scroll-area/index.js.map +1 -0
  333. package/dist/components/ui/select/index.cjs +49 -0
  334. package/dist/components/ui/select/index.cjs.map +1 -0
  335. package/dist/components/ui/select/index.js +4 -0
  336. package/dist/components/ui/select/index.js.map +1 -0
  337. package/dist/components/ui/separator/index.cjs +13 -0
  338. package/dist/components/ui/separator/index.cjs.map +1 -0
  339. package/dist/components/ui/separator/index.js +4 -0
  340. package/dist/components/ui/separator/index.js.map +1 -0
  341. package/dist/components/ui/sheet/index.cjs +49 -0
  342. package/dist/components/ui/sheet/index.cjs.map +1 -0
  343. package/dist/components/ui/sheet/index.js +4 -0
  344. package/dist/components/ui/sheet/index.js.map +1 -0
  345. package/dist/components/ui/sidebar/sidebar.cjs +613 -0
  346. package/dist/components/ui/sidebar/sidebar.cjs.map +1 -0
  347. package/dist/components/ui/sidebar/sidebar.js +568 -0
  348. package/dist/components/ui/sidebar/sidebar.js.map +1 -0
  349. package/dist/components/ui/skeleton/index.cjs +13 -0
  350. package/dist/components/ui/skeleton/index.cjs.map +1 -0
  351. package/dist/components/ui/skeleton/index.js +4 -0
  352. package/dist/components/ui/skeleton/index.js.map +1 -0
  353. package/dist/components/ui/slider/index.cjs +13 -0
  354. package/dist/components/ui/slider/index.cjs.map +1 -0
  355. package/dist/components/ui/slider/index.js +4 -0
  356. package/dist/components/ui/slider/index.js.map +1 -0
  357. package/dist/components/ui/sonner/index.cjs +28 -0
  358. package/dist/components/ui/sonner/index.cjs.map +1 -0
  359. package/dist/components/ui/sonner/index.js +26 -0
  360. package/dist/components/ui/sonner/index.js.map +1 -0
  361. package/dist/components/ui/spinner/index.cjs +13 -0
  362. package/dist/components/ui/spinner/index.cjs.map +1 -0
  363. package/dist/components/ui/spinner/index.js +4 -0
  364. package/dist/components/ui/spinner/index.js.map +1 -0
  365. package/dist/components/ui/switch/index.cjs +13 -0
  366. package/dist/components/ui/switch/index.cjs.map +1 -0
  367. package/dist/components/ui/switch/index.js +4 -0
  368. package/dist/components/ui/switch/index.js.map +1 -0
  369. package/dist/components/ui/table/index.cjs +113 -0
  370. package/dist/components/ui/table/index.cjs.map +1 -0
  371. package/dist/components/ui/table/index.js +84 -0
  372. package/dist/components/ui/table/index.js.map +1 -0
  373. package/dist/components/ui/tabs/index.cjs +25 -0
  374. package/dist/components/ui/tabs/index.cjs.map +1 -0
  375. package/dist/components/ui/tabs/index.js +4 -0
  376. package/dist/components/ui/tabs/index.js.map +1 -0
  377. package/dist/components/ui/textarea/index.cjs +13 -0
  378. package/dist/components/ui/textarea/index.cjs.map +1 -0
  379. package/dist/components/ui/textarea/index.js +4 -0
  380. package/dist/components/ui/textarea/index.js.map +1 -0
  381. package/dist/components/ui/toaster/index.cjs +12 -0
  382. package/dist/components/ui/toaster/index.cjs.map +1 -0
  383. package/dist/components/ui/toaster/index.js +3 -0
  384. package/dist/components/ui/toaster/index.js.map +1 -0
  385. package/dist/components/ui/toggle/index.cjs +17 -0
  386. package/dist/components/ui/toggle/index.cjs.map +1 -0
  387. package/dist/components/ui/toggle/index.js +4 -0
  388. package/dist/components/ui/toggle/index.js.map +1 -0
  389. package/dist/components/ui/toggle-group/index.cjs +66 -0
  390. package/dist/components/ui/toggle-group/index.cjs.map +1 -0
  391. package/dist/components/ui/toggle-group/index.js +42 -0
  392. package/dist/components/ui/toggle-group/index.js.map +1 -0
  393. package/dist/components/ui/tooltip/index.cjs +25 -0
  394. package/dist/components/ui/tooltip/index.cjs.map +1 -0
  395. package/dist/components/ui/tooltip/index.js +4 -0
  396. package/dist/components/ui/tooltip/index.js.map +1 -0
  397. package/dist/hooks/use-auto-focus.cjs +12 -0
  398. package/dist/hooks/use-auto-focus.cjs.map +1 -0
  399. package/dist/hooks/use-auto-focus.js +3 -0
  400. package/dist/hooks/use-auto-focus.js.map +1 -0
  401. package/dist/hooks/use-mobile.cjs +12 -0
  402. package/dist/hooks/use-mobile.cjs.map +1 -0
  403. package/dist/hooks/use-mobile.js +3 -0
  404. package/dist/hooks/use-mobile.js.map +1 -0
  405. package/dist/hooks/use-shortcuts.cjs +12 -0
  406. package/dist/hooks/use-shortcuts.cjs.map +1 -0
  407. package/dist/hooks/use-shortcuts.js +3 -0
  408. package/dist/hooks/use-shortcuts.js.map +1 -0
  409. package/dist/hooks/use-uid.cjs +12 -0
  410. package/dist/hooks/use-uid.cjs.map +1 -0
  411. package/dist/hooks/use-uid.js +3 -0
  412. package/dist/hooks/use-uid.js.map +1 -0
  413. package/dist/index.cjs +881 -0
  414. package/dist/index.cjs.map +1 -0
  415. package/dist/index.css +238 -0
  416. package/dist/index.css.map +1 -0
  417. package/dist/index.js +48 -0
  418. package/dist/index.js.map +1 -0
  419. package/dist/lib/utils.cjs +12 -0
  420. package/dist/lib/utils.cjs.map +1 -0
  421. package/dist/lib/utils.js +3 -0
  422. package/dist/lib/utils.js.map +1 -0
  423. package/dist/utils/toast.cjs +12 -0
  424. package/dist/utils/toast.cjs.map +1 -0
  425. package/dist/utils/toast.js +3 -0
  426. package/dist/utils/toast.js.map +1 -0
  427. package/package.json +31 -20
  428. package/dist/crm-project-ui.css +0 -1
  429. package/dist/crm-ui.cjs.js +0 -59
  430. package/dist/crm-ui.cjs.js.map +0 -1
  431. package/dist/crm-ui.es.js +0 -21263
  432. package/dist/crm-ui.es.js.map +0 -1
  433. package/dist/index.d.ts +0 -697
  434. package/dist/vite.svg +0 -1
@@ -0,0 +1,613 @@
1
+ 'use strict';
2
+
3
+ var chunkXREGTUUJ_cjs = require('../../../chunk-XREGTUUJ.cjs');
4
+ var chunkXNCN3FUN_cjs = require('../../../chunk-XNCN3FUN.cjs');
5
+ var chunkMOHMTML2_cjs = require('../../../chunk-MOHMTML2.cjs');
6
+ var chunkHRCRYHE7_cjs = require('../../../chunk-HRCRYHE7.cjs');
7
+ var chunk74AWLHHY_cjs = require('../../../chunk-74AWLHHY.cjs');
8
+ var chunkAK5MR6XP_cjs = require('../../../chunk-AK5MR6XP.cjs');
9
+ var chunkSJQELACF_cjs = require('../../../chunk-SJQELACF.cjs');
10
+ var chunkZJWOEMLV_cjs = require('../../../chunk-ZJWOEMLV.cjs');
11
+ var classVarianceAuthority = require('class-variance-authority');
12
+ var lucideReact = require('lucide-react');
13
+ var React = require('react');
14
+ var reactSlot = require('@radix-ui/react-slot');
15
+
16
+ function _interopNamespace(e) {
17
+ if (e && e.__esModule) return e;
18
+ var n = Object.create(null);
19
+ if (e) {
20
+ Object.keys(e).forEach(function (k) {
21
+ if (k !== 'default') {
22
+ var d = Object.getOwnPropertyDescriptor(e, k);
23
+ Object.defineProperty(n, k, d.get ? d : {
24
+ enumerable: true,
25
+ get: function () { return e[k]; }
26
+ });
27
+ }
28
+ });
29
+ }
30
+ n.default = e;
31
+ return Object.freeze(n);
32
+ }
33
+
34
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
35
+
36
+ var SIDEBAR_COOKIE_NAME = "sidebar_state";
37
+ var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
38
+ var SIDEBAR_WIDTH = "16rem";
39
+ var SIDEBAR_WIDTH_MOBILE = "18rem";
40
+ var SIDEBAR_WIDTH_ICON = "3rem";
41
+ var SIDEBAR_KEYBOARD_SHORTCUT = "b";
42
+ var SidebarContext = React__namespace.createContext(null);
43
+ function useSidebar() {
44
+ const context = React__namespace.useContext(SidebarContext);
45
+ if (!context) {
46
+ throw new Error("useSidebar must be used within a SidebarProvider.");
47
+ }
48
+ return context;
49
+ }
50
+ var SidebarProvider = React__namespace.forwardRef(
51
+ ({
52
+ defaultOpen = true,
53
+ open: openProp,
54
+ onOpenChange: setOpenProp,
55
+ className,
56
+ style,
57
+ children,
58
+ ...props
59
+ }, ref) => {
60
+ const isMobile = chunkSJQELACF_cjs.useIsMobile();
61
+ const [openMobile, setOpenMobile] = React__namespace.useState(false);
62
+ const [_open, _setOpen] = React__namespace.useState(defaultOpen);
63
+ const open = openProp ?? _open;
64
+ const setOpen = React__namespace.useCallback(
65
+ (value) => {
66
+ const openState = typeof value === "function" ? value(open) : value;
67
+ if (setOpenProp) {
68
+ setOpenProp(openState);
69
+ } else {
70
+ _setOpen(openState);
71
+ }
72
+ document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
73
+ },
74
+ [setOpenProp, open]
75
+ );
76
+ const toggleSidebar = React__namespace.useCallback(() => {
77
+ return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
78
+ }, [isMobile, setOpen, setOpenMobile]);
79
+ React__namespace.useEffect(() => {
80
+ const handleKeyDown = (event) => {
81
+ if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
82
+ event.preventDefault();
83
+ toggleSidebar();
84
+ }
85
+ };
86
+ window.addEventListener("keydown", handleKeyDown);
87
+ return () => window.removeEventListener("keydown", handleKeyDown);
88
+ }, [toggleSidebar]);
89
+ const state = open ? "expanded" : "collapsed";
90
+ const contextValue = React__namespace.useMemo(
91
+ () => ({
92
+ state,
93
+ open,
94
+ setOpen,
95
+ isMobile,
96
+ openMobile,
97
+ setOpenMobile,
98
+ toggleSidebar
99
+ }),
100
+ [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
101
+ );
102
+ return /* @__PURE__ */ React__namespace.createElement(SidebarContext.Provider, { value: contextValue }, /* @__PURE__ */ React__namespace.createElement(chunkXREGTUUJ_cjs.TooltipProvider, { delayDuration: 0 }, /* @__PURE__ */ React__namespace.createElement(
103
+ "div",
104
+ {
105
+ className: chunkZJWOEMLV_cjs.cn(
106
+ "group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full",
107
+ className
108
+ ),
109
+ style: {
110
+ "--sidebar-width": SIDEBAR_WIDTH,
111
+ "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
112
+ ...style
113
+ },
114
+ ref,
115
+ ...props
116
+ },
117
+ children
118
+ )));
119
+ }
120
+ );
121
+ SidebarProvider.displayName = "SidebarProvider";
122
+ var Sidebar = React__namespace.forwardRef(
123
+ ({
124
+ side = "left",
125
+ variant = "sidebar",
126
+ collapsible = "offcanvas",
127
+ className,
128
+ children,
129
+ ...props
130
+ }, ref) => {
131
+ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
132
+ if (collapsible === "none") {
133
+ return /* @__PURE__ */ React__namespace.createElement(
134
+ "div",
135
+ {
136
+ className: chunkZJWOEMLV_cjs.cn(
137
+ "bg-sidebar text-sidebar-foreground flex h-full w-[--sidebar-width] flex-col",
138
+ className
139
+ ),
140
+ ref,
141
+ ...props
142
+ },
143
+ children
144
+ );
145
+ }
146
+ if (isMobile) {
147
+ return /* @__PURE__ */ React__namespace.createElement(chunkXNCN3FUN_cjs.Sheet, { onOpenChange: setOpenMobile, open: openMobile, ...props }, /* @__PURE__ */ React__namespace.createElement(
148
+ chunkXNCN3FUN_cjs.SheetContent,
149
+ {
150
+ style: {
151
+ "--sidebar-width": SIDEBAR_WIDTH_MOBILE
152
+ },
153
+ className: "bg-sidebar text-sidebar-foreground w-[--sidebar-width] p-0 [&>button]:hidden",
154
+ "data-mobile": "true",
155
+ "data-sidebar": "sidebar",
156
+ side
157
+ },
158
+ /* @__PURE__ */ React__namespace.createElement(chunkXNCN3FUN_cjs.SheetHeader, { className: "sr-only" }, /* @__PURE__ */ React__namespace.createElement(chunkXNCN3FUN_cjs.SheetTitle, null, "Sidebar"), /* @__PURE__ */ React__namespace.createElement(chunkXNCN3FUN_cjs.SheetDescription, null, "Displays the mobile sidebar.")),
159
+ /* @__PURE__ */ React__namespace.createElement("div", { className: "flex h-full w-full flex-col" }, children)
160
+ ));
161
+ }
162
+ return /* @__PURE__ */ React__namespace.createElement(
163
+ "div",
164
+ {
165
+ className: "group peer text-sidebar-foreground hidden md:block",
166
+ "data-collapsible": state === "collapsed" ? collapsible : "",
167
+ "data-side": side,
168
+ "data-state": state,
169
+ "data-variant": variant,
170
+ ref
171
+ },
172
+ /* @__PURE__ */ React__namespace.createElement(
173
+ "div",
174
+ {
175
+ className: chunkZJWOEMLV_cjs.cn(
176
+ "relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear",
177
+ "group-data-[collapsible=offcanvas]:w-0",
178
+ "group-data-[side=right]:rotate-180",
179
+ variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon]"
180
+ )
181
+ }
182
+ ),
183
+ /* @__PURE__ */ React__namespace.createElement(
184
+ "div",
185
+ {
186
+ className: chunkZJWOEMLV_cjs.cn(
187
+ "fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",
188
+ side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
189
+ // Adjust the padding for floating and inset variants.
190
+ variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",
191
+ className
192
+ ),
193
+ ...props
194
+ },
195
+ /* @__PURE__ */ React__namespace.createElement(
196
+ "div",
197
+ {
198
+ className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",
199
+ "data-sidebar": "sidebar"
200
+ },
201
+ children
202
+ )
203
+ )
204
+ );
205
+ }
206
+ );
207
+ Sidebar.displayName = "Sidebar";
208
+ var SidebarTrigger = React__namespace.forwardRef(({ className, onClick, ...props }, ref) => {
209
+ const { toggleSidebar } = useSidebar();
210
+ return /* @__PURE__ */ React__namespace.createElement(
211
+ chunk74AWLHHY_cjs.Button,
212
+ {
213
+ onClick: (event) => {
214
+ onClick == null ? void 0 : onClick(event);
215
+ toggleSidebar();
216
+ },
217
+ className: chunkZJWOEMLV_cjs.cn("h-7 w-7", className),
218
+ "data-sidebar": "trigger",
219
+ ref,
220
+ size: "icon",
221
+ variant: "ghost",
222
+ ...props
223
+ },
224
+ /* @__PURE__ */ React__namespace.createElement(lucideReact.PanelLeft, null),
225
+ /* @__PURE__ */ React__namespace.createElement("span", { className: "sr-only" }, "Toggle Sidebar")
226
+ );
227
+ });
228
+ SidebarTrigger.displayName = "SidebarTrigger";
229
+ var SidebarRail = React__namespace.forwardRef(({ className, ...props }, ref) => {
230
+ const { toggleSidebar } = useSidebar();
231
+ return /* @__PURE__ */ React__namespace.createElement(
232
+ "button",
233
+ {
234
+ className: chunkZJWOEMLV_cjs.cn(
235
+ "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
236
+ "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize",
237
+ "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
238
+ "group-data-[collapsible=offcanvas]:hover:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
239
+ "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
240
+ "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
241
+ className
242
+ ),
243
+ "aria-label": "Toggle Sidebar",
244
+ "data-sidebar": "rail",
245
+ onClick: toggleSidebar,
246
+ ref,
247
+ tabIndex: -1,
248
+ title: "Toggle Sidebar",
249
+ ...props
250
+ }
251
+ );
252
+ });
253
+ SidebarRail.displayName = "SidebarRail";
254
+ var SidebarInset = React__namespace.forwardRef(({ className, ...props }, ref) => {
255
+ return /* @__PURE__ */ React__namespace.createElement(
256
+ "main",
257
+ {
258
+ className: chunkZJWOEMLV_cjs.cn(
259
+ "bg-background relative flex w-full flex-1 flex-col",
260
+ "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2",
261
+ className
262
+ ),
263
+ ref,
264
+ ...props
265
+ }
266
+ );
267
+ });
268
+ SidebarInset.displayName = "SidebarInset";
269
+ var SidebarInput = React__namespace.forwardRef(({ className, ...props }, ref) => {
270
+ return /* @__PURE__ */ React__namespace.createElement(
271
+ chunkHRCRYHE7_cjs.Input,
272
+ {
273
+ className: chunkZJWOEMLV_cjs.cn(
274
+ "bg-background focus-visible:ring-sidebar-ring h-8 w-full shadow-none focus-visible:ring-2",
275
+ className
276
+ ),
277
+ "data-sidebar": "input",
278
+ ref,
279
+ ...props
280
+ }
281
+ );
282
+ });
283
+ SidebarInput.displayName = "SidebarInput";
284
+ var SidebarHeader = React__namespace.forwardRef(({ className, ...props }, ref) => {
285
+ return /* @__PURE__ */ React__namespace.createElement(
286
+ "div",
287
+ {
288
+ className: chunkZJWOEMLV_cjs.cn("flex flex-col gap-2 p-2", className),
289
+ "data-sidebar": "header",
290
+ ref,
291
+ ...props
292
+ }
293
+ );
294
+ });
295
+ SidebarHeader.displayName = "SidebarHeader";
296
+ var SidebarFooter = React__namespace.forwardRef(({ className, ...props }, ref) => {
297
+ return /* @__PURE__ */ React__namespace.createElement(
298
+ "div",
299
+ {
300
+ className: chunkZJWOEMLV_cjs.cn("flex flex-col gap-2 p-2", className),
301
+ "data-sidebar": "footer",
302
+ ref,
303
+ ...props
304
+ }
305
+ );
306
+ });
307
+ SidebarFooter.displayName = "SidebarFooter";
308
+ var SidebarSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => {
309
+ return /* @__PURE__ */ React__namespace.createElement(
310
+ chunkAK5MR6XP_cjs.Separator,
311
+ {
312
+ className: chunkZJWOEMLV_cjs.cn("bg-sidebar-border mx-2 w-auto", className),
313
+ "data-sidebar": "separator",
314
+ ref,
315
+ ...props
316
+ }
317
+ );
318
+ });
319
+ SidebarSeparator.displayName = "SidebarSeparator";
320
+ var SidebarContent = React__namespace.forwardRef(({ className, ...props }, ref) => {
321
+ return /* @__PURE__ */ React__namespace.createElement(
322
+ "div",
323
+ {
324
+ className: chunkZJWOEMLV_cjs.cn(
325
+ "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
326
+ className
327
+ ),
328
+ "data-sidebar": "content",
329
+ ref,
330
+ ...props
331
+ }
332
+ );
333
+ });
334
+ SidebarContent.displayName = "SidebarContent";
335
+ var SidebarGroup = React__namespace.forwardRef(({ className, ...props }, ref) => {
336
+ return /* @__PURE__ */ React__namespace.createElement(
337
+ "div",
338
+ {
339
+ className: chunkZJWOEMLV_cjs.cn("relative flex w-full min-w-0 flex-col p-2", className),
340
+ "data-sidebar": "group",
341
+ ref,
342
+ ...props
343
+ }
344
+ );
345
+ });
346
+ SidebarGroup.displayName = "SidebarGroup";
347
+ var SidebarGroupLabel = React__namespace.forwardRef(({ className, asChild = false, ...props }, ref) => {
348
+ const Comp = asChild ? reactSlot.Slot : "div";
349
+ return /* @__PURE__ */ React__namespace.createElement(
350
+ Comp,
351
+ {
352
+ className: chunkZJWOEMLV_cjs.cn(
353
+ "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium transition-[margin,opacity] duration-200 ease-linear outline-none focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
354
+ "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
355
+ className
356
+ ),
357
+ "data-sidebar": "group-label",
358
+ ref,
359
+ ...props
360
+ }
361
+ );
362
+ });
363
+ SidebarGroupLabel.displayName = "SidebarGroupLabel";
364
+ var SidebarGroupAction = React__namespace.forwardRef(({ className, asChild = false, ...props }, ref) => {
365
+ const Comp = asChild ? reactSlot.Slot : "button";
366
+ return /* @__PURE__ */ React__namespace.createElement(
367
+ Comp,
368
+ {
369
+ className: chunkZJWOEMLV_cjs.cn(
370
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
371
+ // Increases the hit area of the button on mobile.
372
+ "after:absolute after:-inset-2 after:md:hidden",
373
+ "group-data-[collapsible=icon]:hidden",
374
+ className
375
+ ),
376
+ "data-sidebar": "group-action",
377
+ ref,
378
+ ...props
379
+ }
380
+ );
381
+ });
382
+ SidebarGroupAction.displayName = "SidebarGroupAction";
383
+ var SidebarGroupContent = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React__namespace.createElement(
384
+ "div",
385
+ {
386
+ className: chunkZJWOEMLV_cjs.cn("w-full text-sm", className),
387
+ "data-sidebar": "group-content",
388
+ ref,
389
+ ...props
390
+ }
391
+ ));
392
+ SidebarGroupContent.displayName = "SidebarGroupContent";
393
+ var SidebarMenu = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React__namespace.createElement(
394
+ "ul",
395
+ {
396
+ className: chunkZJWOEMLV_cjs.cn("flex w-full min-w-0 flex-col gap-1", className),
397
+ "data-sidebar": "menu",
398
+ ref,
399
+ ...props
400
+ }
401
+ ));
402
+ SidebarMenu.displayName = "SidebarMenu";
403
+ var SidebarMenuItem = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React__namespace.createElement(
404
+ "li",
405
+ {
406
+ className: chunkZJWOEMLV_cjs.cn("group/menu-item relative", className),
407
+ "data-sidebar": "menu-item",
408
+ ref,
409
+ ...props
410
+ }
411
+ ));
412
+ SidebarMenuItem.displayName = "SidebarMenuItem";
413
+ var sidebarMenuButtonVariants = classVarianceAuthority.cva(
414
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
415
+ {
416
+ variants: {
417
+ variant: {
418
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
419
+ outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
420
+ },
421
+ size: {
422
+ default: "h-8 text-sm",
423
+ sm: "h-7 text-xs",
424
+ lg: "h-12 text-sm group-data-[collapsible=icon]:!p-0"
425
+ }
426
+ },
427
+ defaultVariants: {
428
+ variant: "default",
429
+ size: "default"
430
+ }
431
+ }
432
+ );
433
+ var SidebarMenuButton = React__namespace.forwardRef(
434
+ ({
435
+ asChild = false,
436
+ isActive = false,
437
+ variant = "default",
438
+ size = "default",
439
+ tooltip,
440
+ className,
441
+ ...props
442
+ }, ref) => {
443
+ const Comp = asChild ? reactSlot.Slot : "button";
444
+ const { isMobile, state } = useSidebar();
445
+ const button = /* @__PURE__ */ React__namespace.createElement(
446
+ Comp,
447
+ {
448
+ className: chunkZJWOEMLV_cjs.cn(sidebarMenuButtonVariants({ variant, size }), className),
449
+ "data-active": isActive,
450
+ "data-sidebar": "menu-button",
451
+ "data-size": size,
452
+ ref,
453
+ ...props
454
+ }
455
+ );
456
+ if (!tooltip) {
457
+ return button;
458
+ }
459
+ if (typeof tooltip === "string") {
460
+ tooltip = {
461
+ children: tooltip
462
+ };
463
+ }
464
+ return /* @__PURE__ */ React__namespace.createElement(chunkXREGTUUJ_cjs.Tooltip, null, /* @__PURE__ */ React__namespace.createElement(chunkXREGTUUJ_cjs.TooltipTrigger, { asChild: true }, button), /* @__PURE__ */ React__namespace.createElement(
465
+ chunkXREGTUUJ_cjs.TooltipContent,
466
+ {
467
+ align: "center",
468
+ hidden: state !== "collapsed" || isMobile,
469
+ side: "right",
470
+ ...tooltip
471
+ }
472
+ ));
473
+ }
474
+ );
475
+ SidebarMenuButton.displayName = "SidebarMenuButton";
476
+ var SidebarMenuAction = React__namespace.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
477
+ const Comp = asChild ? reactSlot.Slot : "button";
478
+ return /* @__PURE__ */ React__namespace.createElement(
479
+ Comp,
480
+ {
481
+ className: chunkZJWOEMLV_cjs.cn(
482
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
483
+ // Increases the hit area of the button on mobile.
484
+ "after:absolute after:-inset-2 after:md:hidden",
485
+ "peer-data-[size=sm]/menu-button:top-1",
486
+ "peer-data-[size=default]/menu-button:top-1.5",
487
+ "peer-data-[size=lg]/menu-button:top-2.5",
488
+ "group-data-[collapsible=icon]:hidden",
489
+ showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
490
+ className
491
+ ),
492
+ "data-sidebar": "menu-action",
493
+ ref,
494
+ ...props
495
+ }
496
+ );
497
+ });
498
+ SidebarMenuAction.displayName = "SidebarMenuAction";
499
+ var SidebarMenuBadge = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React__namespace.createElement(
500
+ "div",
501
+ {
502
+ className: chunkZJWOEMLV_cjs.cn(
503
+ "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
504
+ "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
505
+ "peer-data-[size=sm]/menu-button:top-1",
506
+ "peer-data-[size=default]/menu-button:top-1.5",
507
+ "peer-data-[size=lg]/menu-button:top-2.5",
508
+ "group-data-[collapsible=icon]:hidden",
509
+ className
510
+ ),
511
+ "data-sidebar": "menu-badge",
512
+ ref,
513
+ ...props
514
+ }
515
+ ));
516
+ SidebarMenuBadge.displayName = "SidebarMenuBadge";
517
+ var SidebarMenuSkeleton = React__namespace.forwardRef(({ className, showIcon = false, ...props }, ref) => {
518
+ const width = React__namespace.useMemo(() => {
519
+ return `${Math.floor(Math.random() * 40) + 50}%`;
520
+ }, []);
521
+ return /* @__PURE__ */ React__namespace.createElement(
522
+ "div",
523
+ {
524
+ className: chunkZJWOEMLV_cjs.cn("flex h-8 items-center gap-2 rounded-md px-2", className),
525
+ "data-sidebar": "menu-skeleton",
526
+ ref,
527
+ ...props
528
+ },
529
+ showIcon && /* @__PURE__ */ React__namespace.createElement(
530
+ chunkMOHMTML2_cjs.Skeleton,
531
+ {
532
+ className: "size-4 rounded-md",
533
+ "data-sidebar": "menu-skeleton-icon"
534
+ }
535
+ ),
536
+ /* @__PURE__ */ React__namespace.createElement(
537
+ chunkMOHMTML2_cjs.Skeleton,
538
+ {
539
+ style: {
540
+ "--skeleton-width": width
541
+ },
542
+ className: "h-4 max-w-[--skeleton-width] flex-1",
543
+ "data-sidebar": "menu-skeleton-text"
544
+ }
545
+ )
546
+ );
547
+ });
548
+ SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
549
+ var SidebarMenuSub = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React__namespace.createElement(
550
+ "ul",
551
+ {
552
+ className: chunkZJWOEMLV_cjs.cn(
553
+ "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
554
+ "group-data-[collapsible=icon]:hidden",
555
+ className
556
+ ),
557
+ "data-sidebar": "menu-sub",
558
+ ref,
559
+ ...props
560
+ }
561
+ ));
562
+ SidebarMenuSub.displayName = "SidebarMenuSub";
563
+ var SidebarMenuSubItem = React__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ React__namespace.createElement("li", { ref, ...props }));
564
+ SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
565
+ var SidebarMenuSubButton = React__namespace.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
566
+ const Comp = asChild ? reactSlot.Slot : "a";
567
+ return /* @__PURE__ */ React__namespace.createElement(
568
+ Comp,
569
+ {
570
+ className: chunkZJWOEMLV_cjs.cn(
571
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
572
+ "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
573
+ size === "sm" && "text-xs",
574
+ size === "md" && "text-sm",
575
+ "group-data-[collapsible=icon]:hidden",
576
+ className
577
+ ),
578
+ "data-active": isActive,
579
+ "data-sidebar": "menu-sub-button",
580
+ "data-size": size,
581
+ ref,
582
+ ...props
583
+ }
584
+ );
585
+ });
586
+ SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
587
+
588
+ exports.Sidebar = Sidebar;
589
+ exports.SidebarContent = SidebarContent;
590
+ exports.SidebarFooter = SidebarFooter;
591
+ exports.SidebarGroup = SidebarGroup;
592
+ exports.SidebarGroupAction = SidebarGroupAction;
593
+ exports.SidebarGroupContent = SidebarGroupContent;
594
+ exports.SidebarGroupLabel = SidebarGroupLabel;
595
+ exports.SidebarHeader = SidebarHeader;
596
+ exports.SidebarInput = SidebarInput;
597
+ exports.SidebarInset = SidebarInset;
598
+ exports.SidebarMenu = SidebarMenu;
599
+ exports.SidebarMenuAction = SidebarMenuAction;
600
+ exports.SidebarMenuBadge = SidebarMenuBadge;
601
+ exports.SidebarMenuButton = SidebarMenuButton;
602
+ exports.SidebarMenuItem = SidebarMenuItem;
603
+ exports.SidebarMenuSkeleton = SidebarMenuSkeleton;
604
+ exports.SidebarMenuSub = SidebarMenuSub;
605
+ exports.SidebarMenuSubButton = SidebarMenuSubButton;
606
+ exports.SidebarMenuSubItem = SidebarMenuSubItem;
607
+ exports.SidebarProvider = SidebarProvider;
608
+ exports.SidebarRail = SidebarRail;
609
+ exports.SidebarSeparator = SidebarSeparator;
610
+ exports.SidebarTrigger = SidebarTrigger;
611
+ exports.useSidebar = useSidebar;
612
+ //# sourceMappingURL=sidebar.cjs.map
613
+ //# sourceMappingURL=sidebar.cjs.map