crm-project-ui 0.1.5 → 0.1.7

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 (427) hide show
  1. package/package.json +29 -18
  2. package/dist/chunk-2235BXRK.cjs +0 -59
  3. package/dist/chunk-2235BXRK.cjs.map +0 -1
  4. package/dist/chunk-2EKMWNBU.js +0 -19
  5. package/dist/chunk-2EKMWNBU.js.map +0 -1
  6. package/dist/chunk-2FFPVZ6N.js +0 -11
  7. package/dist/chunk-2FFPVZ6N.js.map +0 -1
  8. package/dist/chunk-2NQQZYED.js +0 -36
  9. package/dist/chunk-2NQQZYED.js.map +0 -1
  10. package/dist/chunk-33SRTFWE.js +0 -21
  11. package/dist/chunk-33SRTFWE.js.map +0 -1
  12. package/dist/chunk-3LMFR6AM.js +0 -104
  13. package/dist/chunk-3LMFR6AM.js.map +0 -1
  14. package/dist/chunk-3QYLT2OF.cjs +0 -171
  15. package/dist/chunk-3QYLT2OF.cjs.map +0 -1
  16. package/dist/chunk-465JCUVG.js +0 -35
  17. package/dist/chunk-465JCUVG.js.map +0 -1
  18. package/dist/chunk-4AP7SKEF.js +0 -86
  19. package/dist/chunk-4AP7SKEF.js.map +0 -1
  20. package/dist/chunk-4H4AANAG.cjs +0 -120
  21. package/dist/chunk-4H4AANAG.cjs.map +0 -1
  22. package/dist/chunk-4KKYZHNL.js +0 -88
  23. package/dist/chunk-4KKYZHNL.js.map +0 -1
  24. package/dist/chunk-57D6TH5J.cjs +0 -210
  25. package/dist/chunk-57D6TH5J.cjs.map +0 -1
  26. package/dist/chunk-6DPCNXTJ.js +0 -102
  27. package/dist/chunk-6DPCNXTJ.js.map +0 -1
  28. package/dist/chunk-6SLTUI5E.js +0 -133
  29. package/dist/chunk-6SLTUI5E.js.map +0 -1
  30. package/dist/chunk-73LKS37B.cjs +0 -51
  31. package/dist/chunk-73LKS37B.cjs.map +0 -1
  32. package/dist/chunk-73MOIO3J.js +0 -10
  33. package/dist/chunk-73MOIO3J.js.map +0 -1
  34. package/dist/chunk-74AWLHHY.cjs +0 -71
  35. package/dist/chunk-74AWLHHY.cjs.map +0 -1
  36. package/dist/chunk-7IPG67A6.cjs +0 -30
  37. package/dist/chunk-7IPG67A6.cjs.map +0 -1
  38. package/dist/chunk-7W4HJ3C3.cjs +0 -50
  39. package/dist/chunk-7W4HJ3C3.cjs.map +0 -1
  40. package/dist/chunk-7ZWOLEBF.js +0 -28
  41. package/dist/chunk-7ZWOLEBF.js.map +0 -1
  42. package/dist/chunk-A7KI55YI.cjs +0 -51
  43. package/dist/chunk-A7KI55YI.cjs.map +0 -1
  44. package/dist/chunk-AHN3IOA4.cjs +0 -131
  45. package/dist/chunk-AHN3IOA4.cjs.map +0 -1
  46. package/dist/chunk-AHY3E2IK.cjs +0 -50
  47. package/dist/chunk-AHY3E2IK.cjs.map +0 -1
  48. package/dist/chunk-AK5MR6XP.cjs +0 -48
  49. package/dist/chunk-AK5MR6XP.cjs.map +0 -1
  50. package/dist/chunk-AMFQ4EGW.cjs +0 -142
  51. package/dist/chunk-AMFQ4EGW.cjs.map +0 -1
  52. package/dist/chunk-BEDRPB3P.cjs +0 -114
  53. package/dist/chunk-BEDRPB3P.cjs.map +0 -1
  54. package/dist/chunk-BHCBCVH6.js +0 -27
  55. package/dist/chunk-BHCBCVH6.js.map +0 -1
  56. package/dist/chunk-BNBTUIY3.cjs +0 -51
  57. package/dist/chunk-BNBTUIY3.cjs.map +0 -1
  58. package/dist/chunk-BTTYE5RL.cjs +0 -71
  59. package/dist/chunk-BTTYE5RL.cjs.map +0 -1
  60. package/dist/chunk-C4BZQFNP.js +0 -104
  61. package/dist/chunk-C4BZQFNP.js.map +0 -1
  62. package/dist/chunk-CX4U4JLS.cjs +0 -20
  63. package/dist/chunk-CX4U4JLS.cjs.map +0 -1
  64. package/dist/chunk-CZL3SIZW.js +0 -25
  65. package/dist/chunk-CZL3SIZW.js.map +0 -1
  66. package/dist/chunk-D33JPIE7.cjs +0 -220
  67. package/dist/chunk-D33JPIE7.cjs.map +0 -1
  68. package/dist/chunk-DEXA2A2E.cjs +0 -119
  69. package/dist/chunk-DEXA2A2E.cjs.map +0 -1
  70. package/dist/chunk-DXFROKNH.js +0 -38
  71. package/dist/chunk-DXFROKNH.js.map +0 -1
  72. package/dist/chunk-ECOEJKFV.js +0 -50
  73. package/dist/chunk-ECOEJKFV.js.map +0 -1
  74. package/dist/chunk-F7KW4CI3.cjs +0 -44
  75. package/dist/chunk-F7KW4CI3.cjs.map +0 -1
  76. package/dist/chunk-G5R4GJEN.js +0 -96
  77. package/dist/chunk-G5R4GJEN.js.map +0 -1
  78. package/dist/chunk-GXCEW6CS.js +0 -24
  79. package/dist/chunk-GXCEW6CS.js.map +0 -1
  80. package/dist/chunk-GXMDMWF5.js +0 -88
  81. package/dist/chunk-GXMDMWF5.js.map +0 -1
  82. package/dist/chunk-HRCRYHE7.cjs +0 -46
  83. package/dist/chunk-HRCRYHE7.cjs.map +0 -1
  84. package/dist/chunk-IHSW4PA7.cjs +0 -74
  85. package/dist/chunk-IHSW4PA7.cjs.map +0 -1
  86. package/dist/chunk-JN3KLGEK.cjs +0 -216
  87. package/dist/chunk-JN3KLGEK.cjs.map +0 -1
  88. package/dist/chunk-JSDFFXLF.js +0 -22
  89. package/dist/chunk-JSDFFXLF.js.map +0 -1
  90. package/dist/chunk-KNIUV7GW.js +0 -15
  91. package/dist/chunk-KNIUV7GW.js.map +0 -1
  92. package/dist/chunk-KORDO65B.cjs +0 -43
  93. package/dist/chunk-KORDO65B.cjs.map +0 -1
  94. package/dist/chunk-KPHY34T6.js +0 -187
  95. package/dist/chunk-KPHY34T6.js.map +0 -1
  96. package/dist/chunk-LCVAM772.cjs +0 -62
  97. package/dist/chunk-LCVAM772.cjs.map +0 -1
  98. package/dist/chunk-LVYS3ODL.js +0 -187
  99. package/dist/chunk-LVYS3ODL.js.map +0 -1
  100. package/dist/chunk-M2MJWUIE.cjs +0 -13
  101. package/dist/chunk-M2MJWUIE.cjs.map +0 -1
  102. package/dist/chunk-M4DTDCCE.cjs +0 -69
  103. package/dist/chunk-M4DTDCCE.cjs.map +0 -1
  104. package/dist/chunk-MLRBSJKG.js +0 -27
  105. package/dist/chunk-MLRBSJKG.js.map +0 -1
  106. package/dist/chunk-MOHMTML2.cjs +0 -21
  107. package/dist/chunk-MOHMTML2.cjs.map +0 -1
  108. package/dist/chunk-MPPVCVJU.cjs +0 -69
  109. package/dist/chunk-MPPVCVJU.cjs.map +0 -1
  110. package/dist/chunk-N5DDD54V.cjs +0 -17
  111. package/dist/chunk-N5DDD54V.cjs.map +0 -1
  112. package/dist/chunk-NU5P5PNB.js +0 -24
  113. package/dist/chunk-NU5P5PNB.js.map +0 -1
  114. package/dist/chunk-OFBYMI57.js +0 -94
  115. package/dist/chunk-OFBYMI57.js.map +0 -1
  116. package/dist/chunk-OI4LMDIW.js +0 -9
  117. package/dist/chunk-OI4LMDIW.js.map +0 -1
  118. package/dist/chunk-OYTT7IR6.cjs +0 -170
  119. package/dist/chunk-OYTT7IR6.cjs.map +0 -1
  120. package/dist/chunk-P6NI665Y.js +0 -28
  121. package/dist/chunk-P6NI665Y.js.map +0 -1
  122. package/dist/chunk-PDHUUEN7.js +0 -48
  123. package/dist/chunk-PDHUUEN7.js.map +0 -1
  124. package/dist/chunk-PS6VXTFT.cjs +0 -134
  125. package/dist/chunk-PS6VXTFT.cjs.map +0 -1
  126. package/dist/chunk-QAESEWGY.js +0 -134
  127. package/dist/chunk-QAESEWGY.js.map +0 -1
  128. package/dist/chunk-RLIKZ76U.js +0 -24
  129. package/dist/chunk-RLIKZ76U.js.map +0 -1
  130. package/dist/chunk-RT3G3U65.js +0 -110
  131. package/dist/chunk-RT3G3U65.js.map +0 -1
  132. package/dist/chunk-RWSVA432.js +0 -9
  133. package/dist/chunk-RWSVA432.js.map +0 -1
  134. package/dist/chunk-SJQELACF.cjs +0 -42
  135. package/dist/chunk-SJQELACF.cjs.map +0 -1
  136. package/dist/chunk-SQ46EOSM.js +0 -25
  137. package/dist/chunk-SQ46EOSM.js.map +0 -1
  138. package/dist/chunk-SY7G7YYR.cjs +0 -84
  139. package/dist/chunk-SY7G7YYR.cjs.map +0 -1
  140. package/dist/chunk-SZR33CAM.js +0 -57
  141. package/dist/chunk-SZR33CAM.js.map +0 -1
  142. package/dist/chunk-T3DLB7AD.js +0 -28
  143. package/dist/chunk-T3DLB7AD.js.map +0 -1
  144. package/dist/chunk-T77QPSP3.js +0 -45
  145. package/dist/chunk-T77QPSP3.js.map +0 -1
  146. package/dist/chunk-UD47ALDK.js +0 -18
  147. package/dist/chunk-UD47ALDK.js.map +0 -1
  148. package/dist/chunk-UG5WSASV.js +0 -45
  149. package/dist/chunk-UG5WSASV.js.map +0 -1
  150. package/dist/chunk-UUIJSBBY.cjs +0 -66
  151. package/dist/chunk-UUIJSBBY.cjs.map +0 -1
  152. package/dist/chunk-UWOQWTJ5.js +0 -43
  153. package/dist/chunk-UWOQWTJ5.js.map +0 -1
  154. package/dist/chunk-UWWQAXA5.cjs +0 -127
  155. package/dist/chunk-UWWQAXA5.cjs.map +0 -1
  156. package/dist/chunk-VDFHPL6H.js +0 -182
  157. package/dist/chunk-VDFHPL6H.js.map +0 -1
  158. package/dist/chunk-WYGERLTM.cjs +0 -33
  159. package/dist/chunk-WYGERLTM.cjs.map +0 -1
  160. package/dist/chunk-X7ND6D3Z.cjs +0 -137
  161. package/dist/chunk-X7ND6D3Z.cjs.map +0 -1
  162. package/dist/chunk-XNCN3FUN.cjs +0 -131
  163. package/dist/chunk-XNCN3FUN.cjs.map +0 -1
  164. package/dist/chunk-XREGTUUJ.cjs +0 -50
  165. package/dist/chunk-XREGTUUJ.cjs.map +0 -1
  166. package/dist/chunk-XVSP65HS.cjs +0 -122
  167. package/dist/chunk-XVSP65HS.cjs.map +0 -1
  168. package/dist/chunk-Y4N5HZ4D.cjs +0 -45
  169. package/dist/chunk-Y4N5HZ4D.cjs.map +0 -1
  170. package/dist/chunk-YF3OAB4G.js +0 -21
  171. package/dist/chunk-YF3OAB4G.js.map +0 -1
  172. package/dist/chunk-YOICSFQ5.cjs +0 -49
  173. package/dist/chunk-YOICSFQ5.cjs.map +0 -1
  174. package/dist/chunk-YRBJYSON.cjs +0 -11
  175. package/dist/chunk-YRBJYSON.cjs.map +0 -1
  176. package/dist/chunk-YS4PJIQG.js +0 -99
  177. package/dist/chunk-YS4PJIQG.js.map +0 -1
  178. package/dist/chunk-Z6CHQFY7.js +0 -20
  179. package/dist/chunk-Z6CHQFY7.js.map +0 -1
  180. package/dist/chunk-ZFCVA4UC.js +0 -41
  181. package/dist/chunk-ZFCVA4UC.js.map +0 -1
  182. package/dist/chunk-ZJWOEMLV.cjs +0 -12
  183. package/dist/chunk-ZJWOEMLV.cjs.map +0 -1
  184. package/dist/chunk-ZUKXSTTI.cjs +0 -60
  185. package/dist/chunk-ZUKXSTTI.cjs.map +0 -1
  186. package/dist/components/ui/accordion/index.cjs +0 -25
  187. package/dist/components/ui/accordion/index.cjs.map +0 -1
  188. package/dist/components/ui/accordion/index.js +0 -4
  189. package/dist/components/ui/accordion/index.js.map +0 -1
  190. package/dist/components/ui/alert/index.cjs +0 -21
  191. package/dist/components/ui/alert/index.cjs.map +0 -1
  192. package/dist/components/ui/alert/index.js +0 -4
  193. package/dist/components/ui/alert/index.js.map +0 -1
  194. package/dist/components/ui/alert-dialog/index.cjs +0 -54
  195. package/dist/components/ui/alert-dialog/index.cjs.map +0 -1
  196. package/dist/components/ui/alert-dialog/index.js +0 -5
  197. package/dist/components/ui/alert-dialog/index.js.map +0 -1
  198. package/dist/components/ui/aspect-radio/index.cjs +0 -29
  199. package/dist/components/ui/aspect-radio/index.cjs.map +0 -1
  200. package/dist/components/ui/aspect-radio/index.js +0 -7
  201. package/dist/components/ui/aspect-radio/index.js.map +0 -1
  202. package/dist/components/ui/avatar/index.cjs +0 -21
  203. package/dist/components/ui/avatar/index.cjs.map +0 -1
  204. package/dist/components/ui/avatar/index.js +0 -4
  205. package/dist/components/ui/avatar/index.js.map +0 -1
  206. package/dist/components/ui/badge/index.cjs +0 -17
  207. package/dist/components/ui/badge/index.cjs.map +0 -1
  208. package/dist/components/ui/badge/index.js +0 -4
  209. package/dist/components/ui/badge/index.js.map +0 -1
  210. package/dist/components/ui/breadcrumb/index.cjs +0 -37
  211. package/dist/components/ui/breadcrumb/index.cjs.map +0 -1
  212. package/dist/components/ui/breadcrumb/index.js +0 -4
  213. package/dist/components/ui/breadcrumb/index.js.map +0 -1
  214. package/dist/components/ui/button/index.cjs +0 -17
  215. package/dist/components/ui/button/index.cjs.map +0 -1
  216. package/dist/components/ui/button/index.js +0 -4
  217. package/dist/components/ui/button/index.js.map +0 -1
  218. package/dist/components/ui/button-group/index.cjs +0 -79
  219. package/dist/components/ui/button-group/index.cjs.map +0 -1
  220. package/dist/components/ui/button-group/index.js +0 -74
  221. package/dist/components/ui/button-group/index.js.map +0 -1
  222. package/dist/components/ui/calendar/index.cjs +0 -18
  223. package/dist/components/ui/calendar/index.cjs.map +0 -1
  224. package/dist/components/ui/calendar/index.js +0 -5
  225. package/dist/components/ui/calendar/index.js.map +0 -1
  226. package/dist/components/ui/card/index.cjs +0 -33
  227. package/dist/components/ui/card/index.cjs.map +0 -1
  228. package/dist/components/ui/card/index.js +0 -4
  229. package/dist/components/ui/card/index.js.map +0 -1
  230. package/dist/components/ui/carousel/index.cjs +0 -30
  231. package/dist/components/ui/carousel/index.cjs.map +0 -1
  232. package/dist/components/ui/carousel/index.js +0 -5
  233. package/dist/components/ui/carousel/index.js.map +0 -1
  234. package/dist/components/ui/checkbox/index.cjs +0 -13
  235. package/dist/components/ui/checkbox/index.cjs.map +0 -1
  236. package/dist/components/ui/checkbox/index.js +0 -4
  237. package/dist/components/ui/checkbox/index.js.map +0 -1
  238. package/dist/components/ui/collapsible/index.cjs +0 -20
  239. package/dist/components/ui/collapsible/index.cjs.map +0 -1
  240. package/dist/components/ui/collapsible/index.js +0 -3
  241. package/dist/components/ui/collapsible/index.js.map +0 -1
  242. package/dist/components/ui/command/index.cjs +0 -46
  243. package/dist/components/ui/command/index.cjs.map +0 -1
  244. package/dist/components/ui/command/index.js +0 -5
  245. package/dist/components/ui/command/index.js.map +0 -1
  246. package/dist/components/ui/context-menu/index.cjs +0 -69
  247. package/dist/components/ui/context-menu/index.cjs.map +0 -1
  248. package/dist/components/ui/context-menu/index.js +0 -4
  249. package/dist/components/ui/context-menu/index.js.map +0 -1
  250. package/dist/components/ui/dialog/index.cjs +0 -49
  251. package/dist/components/ui/dialog/index.cjs.map +0 -1
  252. package/dist/components/ui/dialog/index.js +0 -4
  253. package/dist/components/ui/dialog/index.js.map +0 -1
  254. package/dist/components/ui/drawer/index.cjs +0 -49
  255. package/dist/components/ui/drawer/index.cjs.map +0 -1
  256. package/dist/components/ui/drawer/index.js +0 -4
  257. package/dist/components/ui/drawer/index.js.map +0 -1
  258. package/dist/components/ui/dropdown-menu/index.cjs +0 -69
  259. package/dist/components/ui/dropdown-menu/index.cjs.map +0 -1
  260. package/dist/components/ui/dropdown-menu/index.js +0 -4
  261. package/dist/components/ui/dropdown-menu/index.js.map +0 -1
  262. package/dist/components/ui/empty/index.cjs +0 -105
  263. package/dist/components/ui/empty/index.cjs.map +0 -1
  264. package/dist/components/ui/empty/index.js +0 -98
  265. package/dist/components/ui/empty/index.js.map +0 -1
  266. package/dist/components/ui/field/index.cjs +0 -228
  267. package/dist/components/ui/field/index.cjs.map +0 -1
  268. package/dist/components/ui/field/index.js +0 -217
  269. package/dist/components/ui/field/index.js.map +0 -1
  270. package/dist/components/ui/form/index.cjs +0 -42
  271. package/dist/components/ui/form/index.cjs.map +0 -1
  272. package/dist/components/ui/form/index.js +0 -5
  273. package/dist/components/ui/form/index.js.map +0 -1
  274. package/dist/components/ui/hover-card/index.cjs +0 -21
  275. package/dist/components/ui/hover-card/index.cjs.map +0 -1
  276. package/dist/components/ui/hover-card/index.js +0 -4
  277. package/dist/components/ui/hover-card/index.js.map +0 -1
  278. package/dist/components/ui/input/index.cjs +0 -13
  279. package/dist/components/ui/input/index.cjs.map +0 -1
  280. package/dist/components/ui/input/index.js +0 -4
  281. package/dist/components/ui/input/index.js.map +0 -1
  282. package/dist/components/ui/input-group/index.cjs +0 -179
  283. package/dist/components/ui/input-group/index.cjs.map +0 -1
  284. package/dist/components/ui/input-group/index.js +0 -152
  285. package/dist/components/ui/input-group/index.js.map +0 -1
  286. package/dist/components/ui/input-otp/index.cjs +0 -70
  287. package/dist/components/ui/input-otp/index.cjs.map +0 -1
  288. package/dist/components/ui/input-otp/index.js +0 -45
  289. package/dist/components/ui/input-otp/index.js.map +0 -1
  290. package/dist/components/ui/item/index.cjs +0 -211
  291. package/dist/components/ui/item/index.cjs.map +0 -1
  292. package/dist/components/ui/item/index.js +0 -180
  293. package/dist/components/ui/item/index.js.map +0 -1
  294. package/dist/components/ui/kbd/index.cjs +0 -35
  295. package/dist/components/ui/kbd/index.cjs.map +0 -1
  296. package/dist/components/ui/kbd/index.js +0 -32
  297. package/dist/components/ui/kbd/index.js.map +0 -1
  298. package/dist/components/ui/label/index.cjs +0 -13
  299. package/dist/components/ui/label/index.cjs.map +0 -1
  300. package/dist/components/ui/label/index.js +0 -4
  301. package/dist/components/ui/label/index.js.map +0 -1
  302. package/dist/components/ui/menubar/index.cjs +0 -73
  303. package/dist/components/ui/menubar/index.cjs.map +0 -1
  304. package/dist/components/ui/menubar/index.js +0 -4
  305. package/dist/components/ui/menubar/index.js.map +0 -1
  306. package/dist/components/ui/navigation-menu/index.cjs +0 -45
  307. package/dist/components/ui/navigation-menu/index.cjs.map +0 -1
  308. package/dist/components/ui/navigation-menu/index.js +0 -4
  309. package/dist/components/ui/navigation-menu/index.js.map +0 -1
  310. package/dist/components/ui/pagination/index.cjs +0 -38
  311. package/dist/components/ui/pagination/index.cjs.map +0 -1
  312. package/dist/components/ui/pagination/index.js +0 -5
  313. package/dist/components/ui/pagination/index.js.map +0 -1
  314. package/dist/components/ui/popover/index.cjs +0 -25
  315. package/dist/components/ui/popover/index.cjs.map +0 -1
  316. package/dist/components/ui/popover/index.js +0 -4
  317. package/dist/components/ui/popover/index.js.map +0 -1
  318. package/dist/components/ui/progress/index.cjs +0 -13
  319. package/dist/components/ui/progress/index.cjs.map +0 -1
  320. package/dist/components/ui/progress/index.js +0 -4
  321. package/dist/components/ui/progress/index.js.map +0 -1
  322. package/dist/components/ui/radio-group/index.cjs +0 -17
  323. package/dist/components/ui/radio-group/index.cjs.map +0 -1
  324. package/dist/components/ui/radio-group/index.js +0 -4
  325. package/dist/components/ui/radio-group/index.js.map +0 -1
  326. package/dist/components/ui/resizable/index.cjs +0 -21
  327. package/dist/components/ui/resizable/index.cjs.map +0 -1
  328. package/dist/components/ui/resizable/index.js +0 -4
  329. package/dist/components/ui/resizable/index.js.map +0 -1
  330. package/dist/components/ui/scroll-area/index.cjs +0 -17
  331. package/dist/components/ui/scroll-area/index.cjs.map +0 -1
  332. package/dist/components/ui/scroll-area/index.js +0 -4
  333. package/dist/components/ui/scroll-area/index.js.map +0 -1
  334. package/dist/components/ui/select/index.cjs +0 -49
  335. package/dist/components/ui/select/index.cjs.map +0 -1
  336. package/dist/components/ui/select/index.js +0 -4
  337. package/dist/components/ui/select/index.js.map +0 -1
  338. package/dist/components/ui/separator/index.cjs +0 -13
  339. package/dist/components/ui/separator/index.cjs.map +0 -1
  340. package/dist/components/ui/separator/index.js +0 -4
  341. package/dist/components/ui/separator/index.js.map +0 -1
  342. package/dist/components/ui/sheet/index.cjs +0 -49
  343. package/dist/components/ui/sheet/index.cjs.map +0 -1
  344. package/dist/components/ui/sheet/index.js +0 -4
  345. package/dist/components/ui/sheet/index.js.map +0 -1
  346. package/dist/components/ui/sidebar/sidebar.cjs +0 -613
  347. package/dist/components/ui/sidebar/sidebar.cjs.map +0 -1
  348. package/dist/components/ui/sidebar/sidebar.js +0 -568
  349. package/dist/components/ui/sidebar/sidebar.js.map +0 -1
  350. package/dist/components/ui/skeleton/index.cjs +0 -13
  351. package/dist/components/ui/skeleton/index.cjs.map +0 -1
  352. package/dist/components/ui/skeleton/index.js +0 -4
  353. package/dist/components/ui/skeleton/index.js.map +0 -1
  354. package/dist/components/ui/slider/index.cjs +0 -13
  355. package/dist/components/ui/slider/index.cjs.map +0 -1
  356. package/dist/components/ui/slider/index.js +0 -4
  357. package/dist/components/ui/slider/index.js.map +0 -1
  358. package/dist/components/ui/sonner/index.cjs +0 -28
  359. package/dist/components/ui/sonner/index.cjs.map +0 -1
  360. package/dist/components/ui/sonner/index.js +0 -26
  361. package/dist/components/ui/sonner/index.js.map +0 -1
  362. package/dist/components/ui/spinner/index.cjs +0 -13
  363. package/dist/components/ui/spinner/index.cjs.map +0 -1
  364. package/dist/components/ui/spinner/index.js +0 -4
  365. package/dist/components/ui/spinner/index.js.map +0 -1
  366. package/dist/components/ui/switch/index.cjs +0 -13
  367. package/dist/components/ui/switch/index.cjs.map +0 -1
  368. package/dist/components/ui/switch/index.js +0 -4
  369. package/dist/components/ui/switch/index.js.map +0 -1
  370. package/dist/components/ui/table/index.cjs +0 -113
  371. package/dist/components/ui/table/index.cjs.map +0 -1
  372. package/dist/components/ui/table/index.js +0 -84
  373. package/dist/components/ui/table/index.js.map +0 -1
  374. package/dist/components/ui/tabs/index.cjs +0 -25
  375. package/dist/components/ui/tabs/index.cjs.map +0 -1
  376. package/dist/components/ui/tabs/index.js +0 -4
  377. package/dist/components/ui/tabs/index.js.map +0 -1
  378. package/dist/components/ui/textarea/index.cjs +0 -13
  379. package/dist/components/ui/textarea/index.cjs.map +0 -1
  380. package/dist/components/ui/textarea/index.js +0 -4
  381. package/dist/components/ui/textarea/index.js.map +0 -1
  382. package/dist/components/ui/toaster/index.cjs +0 -12
  383. package/dist/components/ui/toaster/index.cjs.map +0 -1
  384. package/dist/components/ui/toaster/index.js +0 -3
  385. package/dist/components/ui/toaster/index.js.map +0 -1
  386. package/dist/components/ui/toggle/index.cjs +0 -17
  387. package/dist/components/ui/toggle/index.cjs.map +0 -1
  388. package/dist/components/ui/toggle/index.js +0 -4
  389. package/dist/components/ui/toggle/index.js.map +0 -1
  390. package/dist/components/ui/toggle-group/index.cjs +0 -66
  391. package/dist/components/ui/toggle-group/index.cjs.map +0 -1
  392. package/dist/components/ui/toggle-group/index.js +0 -42
  393. package/dist/components/ui/toggle-group/index.js.map +0 -1
  394. package/dist/components/ui/tooltip/index.cjs +0 -25
  395. package/dist/components/ui/tooltip/index.cjs.map +0 -1
  396. package/dist/components/ui/tooltip/index.js +0 -4
  397. package/dist/components/ui/tooltip/index.js.map +0 -1
  398. package/dist/hooks/use-auto-focus.cjs +0 -12
  399. package/dist/hooks/use-auto-focus.cjs.map +0 -1
  400. package/dist/hooks/use-auto-focus.js +0 -3
  401. package/dist/hooks/use-auto-focus.js.map +0 -1
  402. package/dist/hooks/use-mobile.cjs +0 -12
  403. package/dist/hooks/use-mobile.cjs.map +0 -1
  404. package/dist/hooks/use-mobile.js +0 -3
  405. package/dist/hooks/use-mobile.js.map +0 -1
  406. package/dist/hooks/use-shortcuts.cjs +0 -12
  407. package/dist/hooks/use-shortcuts.cjs.map +0 -1
  408. package/dist/hooks/use-shortcuts.js +0 -3
  409. package/dist/hooks/use-shortcuts.js.map +0 -1
  410. package/dist/hooks/use-uid.cjs +0 -12
  411. package/dist/hooks/use-uid.cjs.map +0 -1
  412. package/dist/hooks/use-uid.js +0 -3
  413. package/dist/hooks/use-uid.js.map +0 -1
  414. package/dist/index.cjs +0 -881
  415. package/dist/index.cjs.map +0 -1
  416. package/dist/index.css +0 -238
  417. package/dist/index.css.map +0 -1
  418. package/dist/index.js +0 -48
  419. package/dist/index.js.map +0 -1
  420. package/dist/lib/utils.cjs +0 -12
  421. package/dist/lib/utils.cjs.map +0 -1
  422. package/dist/lib/utils.js +0 -3
  423. package/dist/lib/utils.js.map +0 -1
  424. package/dist/utils/toast.cjs +0 -12
  425. package/dist/utils/toast.cjs.map +0 -1
  426. package/dist/utils/toast.js +0 -3
  427. package/dist/utils/toast.js.map +0 -1
@@ -1,613 +0,0 @@
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