@flamingo-stack/openframe-frontend-core 0.0.518-1660.4292.1 → 0.0.518

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 (337) hide show
  1. package/dist/{chunk-3LMOLDFT.cjs → chunk-262OTU4W.cjs} +14 -14
  2. package/dist/{chunk-3LMOLDFT.cjs.map → chunk-262OTU4W.cjs.map} +1 -1
  3. package/dist/{chunk-XURCARSX.cjs → chunk-2AHSX63M.cjs} +5 -5
  4. package/dist/{chunk-XURCARSX.cjs.map → chunk-2AHSX63M.cjs.map} +1 -1
  5. package/dist/{chunk-DPFQWIZJ.cjs → chunk-2EU3TWCW.cjs} +32 -32
  6. package/dist/{chunk-DPFQWIZJ.cjs.map → chunk-2EU3TWCW.cjs.map} +1 -1
  7. package/dist/{chunk-MIFJLUZK.js → chunk-2ZHVOTSA.js} +2 -2
  8. package/dist/{chunk-NJADHL2G.cjs → chunk-3M2MFP2Y.cjs} +30 -2
  9. package/dist/chunk-3M2MFP2Y.cjs.map +1 -0
  10. package/dist/{chunk-UBTOOE55.js → chunk-5OGHZNY5.js} +10 -1
  11. package/dist/chunk-5OGHZNY5.js.map +1 -0
  12. package/dist/{chunk-5KBQECAY.js → chunk-6EAACE7G.js} +2 -2
  13. package/dist/{chunk-IIPBTWQR.cjs → chunk-7INXXQVK.cjs} +10 -1
  14. package/dist/{chunk-IIPBTWQR.cjs.map → chunk-7INXXQVK.cjs.map} +1 -1
  15. package/dist/{chunk-IVTENGMF.js → chunk-7J4DGFHZ.js} +2 -2
  16. package/dist/{chunk-JLO2O5R4.js → chunk-7SPVAAWE.js} +5257 -5143
  17. package/dist/chunk-7SPVAAWE.js.map +1 -0
  18. package/dist/{chunk-FXT2OZ5Q.js → chunk-BBI7GD2Q.js} +3 -3
  19. package/dist/{chunk-MEXZZOBO.js → chunk-CV624KM6.js} +9 -9
  20. package/dist/{chunk-WSRPNLTY.cjs → chunk-FAOL7EI2.cjs} +18 -18
  21. package/dist/{chunk-WSRPNLTY.cjs.map → chunk-FAOL7EI2.cjs.map} +1 -1
  22. package/dist/{chunk-P63LOLTB.js → chunk-FISSR67K.js} +7 -7
  23. package/dist/{chunk-XURRAFIB.js → chunk-GJAHN7LH.js} +404 -376
  24. package/dist/chunk-GJAHN7LH.js.map +1 -0
  25. package/dist/{chunk-FS3YSNSU.js → chunk-GS4HJA2G.js} +2 -2
  26. package/dist/{chunk-HIV2GIFP.cjs → chunk-GYONSC3U.cjs} +3 -3
  27. package/dist/{chunk-HIV2GIFP.cjs.map → chunk-GYONSC3U.cjs.map} +1 -1
  28. package/dist/{chunk-QXUMLLYV.cjs → chunk-IPHH3GKC.cjs} +3 -3
  29. package/dist/{chunk-QXUMLLYV.cjs.map → chunk-IPHH3GKC.cjs.map} +1 -1
  30. package/dist/{chunk-NBJ7L65H.js → chunk-J2JLAW2J.js} +3 -3
  31. package/dist/{chunk-GA7BHFXD.cjs → chunk-J3DRYWFP.cjs} +77 -77
  32. package/dist/{chunk-GA7BHFXD.cjs.map → chunk-J3DRYWFP.cjs.map} +1 -1
  33. package/dist/{chunk-O7L2VJDW.cjs → chunk-LY7IT5QX.cjs} +12 -12
  34. package/dist/{chunk-O7L2VJDW.cjs.map → chunk-LY7IT5QX.cjs.map} +1 -1
  35. package/dist/{chunk-K26W23C2.cjs → chunk-MKPJYEOR.cjs} +6 -6
  36. package/dist/{chunk-K26W23C2.cjs.map → chunk-MKPJYEOR.cjs.map} +1 -1
  37. package/dist/{chunk-ZKVARGSO.js → chunk-MY7663CW.js} +3 -3
  38. package/dist/{chunk-J7ZJ4KM2.cjs → chunk-PJ4WHNJH.cjs} +9 -9
  39. package/dist/{chunk-J7ZJ4KM2.cjs.map → chunk-PJ4WHNJH.cjs.map} +1 -1
  40. package/dist/{chunk-66GH54DV.cjs → chunk-QNJCZGHH.cjs} +40 -40
  41. package/dist/{chunk-66GH54DV.cjs.map → chunk-QNJCZGHH.cjs.map} +1 -1
  42. package/dist/{chunk-WI4XHZ2B.js → chunk-QOUKB6OJ.js} +4 -4
  43. package/dist/{chunk-AI7WIW4E.js → chunk-QPCPYCU2.js} +4 -4
  44. package/dist/{chunk-Z3ADCYC5.js → chunk-RCBRCZUF.js} +2 -2
  45. package/dist/{chunk-RWYNJC2F.cjs → chunk-S3C4RT4O.cjs} +109 -109
  46. package/dist/{chunk-RWYNJC2F.cjs.map → chunk-S3C4RT4O.cjs.map} +1 -1
  47. package/dist/{chunk-OGVIGAMZ.cjs → chunk-SXLEPNY2.cjs} +31 -31
  48. package/dist/{chunk-OGVIGAMZ.cjs.map → chunk-SXLEPNY2.cjs.map} +1 -1
  49. package/dist/{chunk-BXRB4MQI.cjs → chunk-SYQ4KUXW.cjs} +599 -485
  50. package/dist/chunk-SYQ4KUXW.cjs.map +1 -0
  51. package/dist/{chunk-HPPCPGBR.cjs → chunk-U6NODSTY.cjs} +31 -31
  52. package/dist/{chunk-HPPCPGBR.cjs.map → chunk-U6NODSTY.cjs.map} +1 -1
  53. package/dist/{chunk-KP4JRPUE.js → chunk-V3K5H4I2.js} +2 -2
  54. package/dist/{chunk-43ZZYJ3M.js → chunk-V76TAQ3O.js} +5 -5
  55. package/dist/{chunk-XZ6WTSVQ.js → chunk-VCA3HNJ2.js} +6 -6
  56. package/dist/{chunk-7EFJJMNH.cjs → chunk-WBEF37M5.cjs} +12 -12
  57. package/dist/{chunk-7EFJJMNH.cjs.map → chunk-WBEF37M5.cjs.map} +1 -1
  58. package/dist/{chunk-H6K73RK2.cjs → chunk-XDADNUC5.cjs} +40 -40
  59. package/dist/{chunk-H6K73RK2.cjs.map → chunk-XDADNUC5.cjs.map} +1 -1
  60. package/dist/{chunk-56OUH3UF.js → chunk-YHAYMOXR.js} +3 -3
  61. package/dist/components/about-icon.d.ts +9 -0
  62. package/dist/components/about-icon.d.ts.map +1 -0
  63. package/dist/components/aspect-ratio.d.ts +4 -0
  64. package/dist/components/aspect-ratio.d.ts.map +1 -0
  65. package/dist/components/avatar.d.ts +7 -0
  66. package/dist/components/avatar.d.ts.map +1 -0
  67. package/dist/components/calendar.cjs +3 -3
  68. package/dist/components/calendar.js +2 -2
  69. package/dist/components/case-studies/index.cjs +15 -15
  70. package/dist/components/case-studies/index.js +5 -5
  71. package/dist/components/chart.d.ts +72 -0
  72. package/dist/components/chart.d.ts.map +1 -0
  73. package/dist/components/chat/index.cjs +5 -5
  74. package/dist/components/chat/index.js +4 -4
  75. package/dist/components/check-circle-icon.d.ts +7 -0
  76. package/dist/components/check-circle-icon.d.ts.map +1 -0
  77. package/dist/components/checkbox.d.ts +5 -0
  78. package/dist/components/checkbox.d.ts.map +1 -0
  79. package/dist/components/claude-icon.d.ts +6 -0
  80. package/dist/components/claude-icon.d.ts.map +1 -0
  81. package/dist/components/coins-icon.d.ts +9 -0
  82. package/dist/components/coins-icon.d.ts.map +1 -0
  83. package/dist/components/command.d.ts +81 -0
  84. package/dist/components/command.d.ts.map +1 -0
  85. package/dist/components/community-hub-icon.d.ts +9 -0
  86. package/dist/components/community-hub-icon.d.ts.map +1 -0
  87. package/dist/components/community-icon.d.ts +9 -0
  88. package/dist/components/community-icon.d.ts.map +1 -0
  89. package/dist/components/compare-icon.d.ts +9 -0
  90. package/dist/components/compare-icon.d.ts.map +1 -0
  91. package/dist/components/contact/index.cjs +6 -6
  92. package/dist/components/contact/index.js +5 -5
  93. package/dist/components/context-menu.d.ts +28 -0
  94. package/dist/components/context-menu.d.ts.map +1 -0
  95. package/dist/components/custom-external-link-icon.d.ts +9 -0
  96. package/dist/components/custom-external-link-icon.d.ts.map +1 -0
  97. package/dist/components/custom-fork-icon.d.ts +9 -0
  98. package/dist/components/custom-fork-icon.d.ts.map +1 -0
  99. package/dist/components/custom-icons.d.ts +8 -0
  100. package/dist/components/custom-icons.d.ts.map +1 -0
  101. package/dist/components/custom-license-icon.d.ts +9 -0
  102. package/dist/components/custom-license-icon.d.ts.map +1 -0
  103. package/dist/components/custom-star-icon.d.ts +9 -0
  104. package/dist/components/custom-star-icon.d.ts.map +1 -0
  105. package/dist/components/custom-time-icon.d.ts +9 -0
  106. package/dist/components/custom-time-icon.d.ts.map +1 -0
  107. package/dist/components/docs/index.cjs +8 -8
  108. package/dist/components/docs/index.js +7 -7
  109. package/dist/components/donut-icon.d.ts +4 -0
  110. package/dist/components/donut-icon.d.ts.map +1 -0
  111. package/dist/components/edit-profile-icon.d.ts +7 -0
  112. package/dist/components/edit-profile-icon.d.ts.map +1 -0
  113. package/dist/components/elestio-logo.d.ts +9 -0
  114. package/dist/components/elestio-logo.d.ts.map +1 -0
  115. package/dist/components/embeds/index.cjs +6 -6
  116. package/dist/components/embeds/index.js +5 -5
  117. package/dist/components/empty-vendor-icon.d.ts +7 -0
  118. package/dist/components/empty-vendor-icon.d.ts.map +1 -0
  119. package/dist/components/faq/index.cjs +7 -7
  120. package/dist/components/faq/index.js +6 -6
  121. package/dist/components/features/index.cjs +5 -5
  122. package/dist/components/features/index.js +4 -4
  123. package/dist/components/features/provider-button.d.ts +1 -1
  124. package/dist/components/features/provider-button.d.ts.map +1 -1
  125. package/dist/components/flamingo-logo.d.ts +9 -0
  126. package/dist/components/flamingo-logo.d.ts.map +1 -0
  127. package/dist/components/form.d.ts +26 -0
  128. package/dist/components/form.d.ts.map +1 -0
  129. package/dist/components/github-icon.d.ts +9 -0
  130. package/dist/components/github-icon.d.ts.map +1 -0
  131. package/dist/components/google-logo.d.ts +5 -0
  132. package/dist/components/google-logo.d.ts.map +1 -0
  133. package/dist/components/hamburger-icon.d.ts +9 -0
  134. package/dist/components/hamburger-icon.d.ts.map +1 -0
  135. package/dist/components/help-center-pages/index.cjs +26 -26
  136. package/dist/components/help-center-pages/index.js +17 -17
  137. package/dist/components/hubspot-icon.d.ts +7 -0
  138. package/dist/components/hubspot-icon.d.ts.map +1 -0
  139. package/dist/components/icon-utils.d.ts +7 -0
  140. package/dist/components/icon-utils.d.ts.map +1 -0
  141. package/dist/components/icons/apple-icon.d.ts +10 -0
  142. package/dist/components/icons/apple-icon.d.ts.map +1 -0
  143. package/dist/components/icons/index.cjs +4 -2
  144. package/dist/components/icons/index.cjs.map +1 -1
  145. package/dist/components/icons/index.d.ts +1 -0
  146. package/dist/components/icons/index.d.ts.map +1 -1
  147. package/dist/components/icons/index.js +3 -1
  148. package/dist/components/index.cjs +239 -285
  149. package/dist/components/index.cjs.map +1 -1
  150. package/dist/components/index.js +373 -419
  151. package/dist/components/index.js.map +1 -1
  152. package/dist/components/interactive-wrapper.d.ts +84 -0
  153. package/dist/components/interactive-wrapper.d.ts.map +1 -0
  154. package/dist/components/join-waitlist-button-stub.d.ts +10 -0
  155. package/dist/components/join-waitlist-button-stub.d.ts.map +1 -0
  156. package/dist/components/made-with-love.d.ts.map +1 -1
  157. package/dist/components/meeting-scheduler/index.cjs +48 -48
  158. package/dist/components/meeting-scheduler/index.js +7 -7
  159. package/dist/components/menu-icon.d.ts +9 -0
  160. package/dist/components/menu-icon.d.ts.map +1 -0
  161. package/dist/components/minus-circle-icon.d.ts +7 -0
  162. package/dist/components/minus-circle-icon.d.ts.map +1 -0
  163. package/dist/components/moon-icon.d.ts +9 -0
  164. package/dist/components/moon-icon.d.ts.map +1 -0
  165. package/dist/components/ms-icon.d.ts +9 -0
  166. package/dist/components/ms-icon.d.ts.map +1 -0
  167. package/dist/components/navigation/index.cjs +5 -5
  168. package/dist/components/navigation/index.js +4 -4
  169. package/dist/components/onboarding-guides/index.cjs +9 -9
  170. package/dist/components/onboarding-guides/index.js +8 -8
  171. package/dist/components/open-source-features.d.ts +1 -1
  172. package/dist/components/open-source-features.d.ts.map +1 -1
  173. package/dist/components/open-source-icon.d.ts +9 -0
  174. package/dist/components/open-source-icon.d.ts.map +1 -0
  175. package/dist/components/openframe-logo.d.ts +7 -0
  176. package/dist/components/openframe-logo.d.ts.map +1 -0
  177. package/dist/components/openmsp-logo.d.ts +11 -0
  178. package/dist/components/openmsp-logo.d.ts.map +1 -0
  179. package/dist/components/plus-circle-icon.d.ts +9 -0
  180. package/dist/components/plus-circle-icon.d.ts.map +1 -0
  181. package/dist/components/progress.d.ts +7 -0
  182. package/dist/components/progress.d.ts.map +1 -0
  183. package/dist/components/provider-button.d.ts +10 -0
  184. package/dist/components/provider-button.d.ts.map +1 -0
  185. package/dist/components/reddit-icon.d.ts +10 -0
  186. package/dist/components/reddit-icon.d.ts.map +1 -0
  187. package/dist/components/related-content/index.cjs +7 -7
  188. package/dist/components/related-content/index.js +6 -6
  189. package/dist/components/resizable.d.ts +24 -0
  190. package/dist/components/resizable.d.ts.map +1 -0
  191. package/dist/components/scroll-area.d.ts +13 -0
  192. package/dist/components/scroll-area.d.ts.map +1 -0
  193. package/dist/components/send-icon.d.ts +7 -0
  194. package/dist/components/send-icon.d.ts.map +1 -0
  195. package/dist/components/separator.d.ts +5 -0
  196. package/dist/components/separator.d.ts.map +1 -0
  197. package/dist/components/skeleton.d.ts +4 -0
  198. package/dist/components/skeleton.d.ts.map +1 -0
  199. package/dist/components/slack-icon.d.ts +9 -0
  200. package/dist/components/slack-icon.d.ts.map +1 -0
  201. package/dist/components/slider.d.ts +5 -0
  202. package/dist/components/slider.d.ts.map +1 -0
  203. package/dist/components/smooth-accordion.d.ts +12 -0
  204. package/dist/components/smooth-accordion.d.ts.map +1 -0
  205. package/dist/components/steps.d.ts +17 -0
  206. package/dist/components/steps.d.ts.map +1 -0
  207. package/dist/components/sun-icon.d.ts +9 -0
  208. package/dist/components/sun-icon.d.ts.map +1 -0
  209. package/dist/components/switch.d.ts +5 -0
  210. package/dist/components/switch.d.ts.map +1 -0
  211. package/dist/components/textarea.d.ts +6 -0
  212. package/dist/components/textarea.d.ts.map +1 -0
  213. package/dist/components/tickets/index.cjs +9 -9
  214. package/dist/components/tickets/index.js +8 -8
  215. package/dist/components/ui/button/button.d.ts +1 -1
  216. package/dist/components/ui/button/button.d.ts.map +1 -1
  217. package/dist/components/ui/file-manager/index.cjs +15 -15
  218. package/dist/components/ui/file-manager/index.js +1 -1
  219. package/dist/components/ui/index.cjs +5 -5
  220. package/dist/components/ui/index.js +4 -4
  221. package/dist/components/ui/pagination-stub.d.ts +6 -0
  222. package/dist/components/ui/pagination-stub.d.ts.map +1 -0
  223. package/dist/components/ui/responsive-icons-block-stub.d.ts +7 -0
  224. package/dist/components/ui/responsive-icons-block-stub.d.ts.map +1 -0
  225. package/dist/components/user-icon.d.ts +9 -0
  226. package/dist/components/user-icon.d.ts.map +1 -0
  227. package/dist/components/vendor-directory-icon.d.ts +9 -0
  228. package/dist/components/vendor-directory-icon.d.ts.map +1 -0
  229. package/dist/components/vendors-icon.d.ts +9 -0
  230. package/dist/components/vendors-icon.d.ts.map +1 -0
  231. package/dist/components/why-it-matters.d.ts +1 -1
  232. package/dist/components/why-it-matters.d.ts.map +1 -1
  233. package/dist/components/x-icon.d.ts +9 -0
  234. package/dist/components/x-icon.d.ts.map +1 -0
  235. package/dist/components/x-logo.d.ts +7 -0
  236. package/dist/components/x-logo.d.ts.map +1 -0
  237. package/dist/hooks/index.cjs +3 -3
  238. package/dist/hooks/index.js +2 -2
  239. package/dist/index.cjs +7 -5
  240. package/dist/index.cjs.map +1 -1
  241. package/dist/index.js +6 -4
  242. package/package.json +1 -1
  243. package/src/components/about-icon.tsx +29 -0
  244. package/src/components/aspect-ratio.tsx +7 -0
  245. package/src/components/avatar.tsx +40 -0
  246. package/src/components/chart.tsx +364 -0
  247. package/src/components/chat/chat-container.tsx +1 -1
  248. package/src/components/check-circle-icon.tsx +29 -0
  249. package/src/components/checkbox.tsx +30 -0
  250. package/src/components/claude-icon.tsx +24 -0
  251. package/src/components/coins-icon.tsx +29 -0
  252. package/src/components/command.tsx +153 -0
  253. package/src/components/community-hub-icon.tsx +27 -0
  254. package/src/components/community-icon.tsx +27 -0
  255. package/src/components/compare-icon.tsx +27 -0
  256. package/src/components/context-menu.tsx +200 -0
  257. package/src/components/custom-external-link-icon.tsx +33 -0
  258. package/src/components/custom-fork-icon.tsx +33 -0
  259. package/src/components/custom-icons.tsx +47 -0
  260. package/src/components/custom-license-icon.tsx +33 -0
  261. package/src/components/custom-star-icon.tsx +29 -0
  262. package/src/components/custom-time-icon.tsx +33 -0
  263. package/src/components/donut-icon.tsx +21 -0
  264. package/src/components/edit-profile-icon.tsx +23 -0
  265. package/src/components/elestio-logo.tsx +67 -0
  266. package/src/components/empty-vendor-icon.tsx +44 -0
  267. package/src/components/features/auth-providers-list.tsx +1 -1
  268. package/src/components/features/platform-badge.tsx +2 -2
  269. package/src/components/features/provider-button.tsx +6 -2
  270. package/src/components/flamingo-logo.tsx +27 -0
  271. package/src/components/form.tsx +138 -0
  272. package/src/components/github-icon.tsx +26 -0
  273. package/src/components/google-logo.tsx +32 -0
  274. package/src/components/hamburger-icon.tsx +29 -0
  275. package/src/components/hubspot-icon.tsx +20 -0
  276. package/src/components/icon-utils.tsx +36 -0
  277. package/src/components/icons/apple-icon.tsx +30 -0
  278. package/src/components/icons/index.ts +1 -0
  279. package/src/components/interactive-wrapper.tsx +336 -0
  280. package/src/components/join-waitlist-button-stub.tsx +30 -0
  281. package/src/components/loading/openmsp-heartbeat.tsx +1 -1
  282. package/src/components/made-with-love.tsx +3 -4
  283. package/src/components/menu-icon.tsx +22 -0
  284. package/src/components/minus-circle-icon.tsx +28 -0
  285. package/src/components/moon-icon.tsx +26 -0
  286. package/src/components/ms-icon.tsx +31 -0
  287. package/src/components/open-source-features.tsx +1 -1
  288. package/src/components/open-source-icon.tsx +27 -0
  289. package/src/components/openframe-logo.tsx +46 -0
  290. package/src/components/openmsp-logo.tsx +36 -0
  291. package/src/components/plus-circle-icon.tsx +30 -0
  292. package/src/components/progress.tsx +27 -0
  293. package/src/components/provider-button.tsx +40 -0
  294. package/src/components/reddit-icon.tsx +50 -0
  295. package/src/components/resizable.tsx +45 -0
  296. package/src/components/scroll-area.tsx +49 -0
  297. package/src/components/send-icon.tsx +26 -0
  298. package/src/components/separator.tsx +22 -0
  299. package/src/components/skeleton.tsx +8 -0
  300. package/src/components/slack-icon.tsx +43 -0
  301. package/src/components/slider.tsx +28 -0
  302. package/src/components/smooth-accordion.tsx +124 -0
  303. package/src/components/steps.tsx +98 -0
  304. package/src/components/sun-icon.tsx +27 -0
  305. package/src/components/switch.tsx +29 -0
  306. package/src/components/textarea.tsx +22 -0
  307. package/src/components/ui/button/button.tsx +9 -0
  308. package/src/components/ui/pagination-stub.tsx +38 -0
  309. package/src/components/ui/responsive-icons-block-stub.tsx +14 -0
  310. package/src/components/user-icon.tsx +33 -0
  311. package/src/components/vendor-directory-icon.tsx +27 -0
  312. package/src/components/vendor-tag.tsx +1 -1
  313. package/src/components/vendors-icon.tsx +27 -0
  314. package/src/components/why-it-matters.tsx +1 -1
  315. package/src/components/x-icon.tsx +29 -0
  316. package/src/components/x-logo.tsx +22 -0
  317. package/dist/chunk-BXRB4MQI.cjs.map +0 -1
  318. package/dist/chunk-JLO2O5R4.js.map +0 -1
  319. package/dist/chunk-NJADHL2G.cjs.map +0 -1
  320. package/dist/chunk-UBTOOE55.js.map +0 -1
  321. package/dist/chunk-XURRAFIB.js.map +0 -1
  322. /package/dist/{chunk-MIFJLUZK.js.map → chunk-2ZHVOTSA.js.map} +0 -0
  323. /package/dist/{chunk-5KBQECAY.js.map → chunk-6EAACE7G.js.map} +0 -0
  324. /package/dist/{chunk-IVTENGMF.js.map → chunk-7J4DGFHZ.js.map} +0 -0
  325. /package/dist/{chunk-FXT2OZ5Q.js.map → chunk-BBI7GD2Q.js.map} +0 -0
  326. /package/dist/{chunk-MEXZZOBO.js.map → chunk-CV624KM6.js.map} +0 -0
  327. /package/dist/{chunk-P63LOLTB.js.map → chunk-FISSR67K.js.map} +0 -0
  328. /package/dist/{chunk-FS3YSNSU.js.map → chunk-GS4HJA2G.js.map} +0 -0
  329. /package/dist/{chunk-NBJ7L65H.js.map → chunk-J2JLAW2J.js.map} +0 -0
  330. /package/dist/{chunk-ZKVARGSO.js.map → chunk-MY7663CW.js.map} +0 -0
  331. /package/dist/{chunk-WI4XHZ2B.js.map → chunk-QOUKB6OJ.js.map} +0 -0
  332. /package/dist/{chunk-AI7WIW4E.js.map → chunk-QPCPYCU2.js.map} +0 -0
  333. /package/dist/{chunk-Z3ADCYC5.js.map → chunk-RCBRCZUF.js.map} +0 -0
  334. /package/dist/{chunk-KP4JRPUE.js.map → chunk-V3K5H4I2.js.map} +0 -0
  335. /package/dist/{chunk-43ZZYJ3M.js.map → chunk-V76TAQ3O.js.map} +0 -0
  336. /package/dist/{chunk-XZ6WTSVQ.js.map → chunk-VCA3HNJ2.js.map} +0 -0
  337. /package/dist/{chunk-56OUH3UF.js.map → chunk-YHAYMOXR.js.map} +0 -0
@@ -0,0 +1,40 @@
1
+ "use client"
2
+
3
+ import * as React from "react"
4
+ import * as AvatarPrimitive from "@radix-ui/react-avatar"
5
+
6
+ import { cn } from "../utils/cn"
7
+
8
+ const Avatar = React.forwardRef<
9
+ React.ElementRef<typeof AvatarPrimitive.Root>,
10
+ React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>
11
+ >(({ className, ...props }, ref) => (
12
+ <AvatarPrimitive.Root
13
+ ref={ref}
14
+ className={cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className)}
15
+ {...props}
16
+ />
17
+ ))
18
+ Avatar.displayName = AvatarPrimitive.Root.displayName
19
+
20
+ const AvatarImage = React.forwardRef<
21
+ React.ElementRef<typeof AvatarPrimitive.Image>,
22
+ React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>
23
+ >(({ className, ...props }, ref) => (
24
+ <AvatarPrimitive.Image ref={ref} className={cn("aspect-square h-full w-full", className)} {...props} />
25
+ ))
26
+ AvatarImage.displayName = AvatarPrimitive.Image.displayName
27
+
28
+ const AvatarFallback = React.forwardRef<
29
+ React.ElementRef<typeof AvatarPrimitive.Fallback>,
30
+ React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>
31
+ >(({ className, ...props }, ref) => (
32
+ <AvatarPrimitive.Fallback
33
+ ref={ref}
34
+ className={cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className)}
35
+ {...props}
36
+ />
37
+ ))
38
+ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName
39
+
40
+ export { Avatar, AvatarImage, AvatarFallback }
@@ -0,0 +1,364 @@
1
+ "use client"
2
+
3
+ import * as React from "react"
4
+ import * as RechartsPrimitive from "recharts"
5
+
6
+ import { cn } from "../utils/cn"
7
+
8
+ // Format: { THEME_NAME: CSS_SELECTOR }
9
+ const THEMES = { light: "", dark: ".dark" } as const
10
+
11
+ export type ChartConfig = {
12
+ [k in string]: {
13
+ label?: React.ReactNode
14
+ icon?: React.ComponentType
15
+ } & (
16
+ | { color?: string; theme?: never }
17
+ | { color?: never; theme: Record<keyof typeof THEMES, string> }
18
+ )
19
+ }
20
+
21
+ type ChartContextProps = {
22
+ config: ChartConfig
23
+ }
24
+
25
+ const ChartContext = React.createContext<ChartContextProps | null>(null)
26
+
27
+ function useChart() {
28
+ const context = React.useContext(ChartContext)
29
+
30
+ if (!context) {
31
+ throw new Error("useChart must be used within a <ChartContainer />")
32
+ }
33
+
34
+ return context
35
+ }
36
+
37
+ const ChartContainer = React.forwardRef<
38
+ HTMLDivElement,
39
+ React.ComponentProps<"div"> & {
40
+ config: ChartConfig
41
+ children: React.ComponentProps<
42
+ typeof RechartsPrimitive.ResponsiveContainer
43
+ >["children"]
44
+ }
45
+ >(({ id, className, children, config, ...props }, ref) => {
46
+ const uniqueId = React.useId()
47
+ const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`
48
+
49
+ return (
50
+ <ChartContext.Provider value={{ config }}>
51
+ <div
52
+ data-chart={chartId}
53
+ ref={ref}
54
+ className={cn(
55
+ "flex aspect-video justify-center text-h6 [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
56
+ className
57
+ )}
58
+ {...props}
59
+ >
60
+ <ChartStyle id={chartId} config={config} />
61
+ <RechartsPrimitive.ResponsiveContainer>
62
+ {children}
63
+ </RechartsPrimitive.ResponsiveContainer>
64
+ </div>
65
+ </ChartContext.Provider>
66
+ )
67
+ })
68
+ ChartContainer.displayName = "Chart"
69
+
70
+ const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {
71
+ const colorConfig = Object.entries(config).filter(
72
+ ([_, config]) => config.theme || config.color
73
+ )
74
+
75
+ if (!colorConfig.length) {
76
+ return null
77
+ }
78
+
79
+ return (
80
+ <style
81
+ dangerouslySetInnerHTML={{
82
+ __html: Object.entries(THEMES)
83
+ .map(
84
+ ([theme, prefix]) => `
85
+ ${prefix} [data-chart=${id}] {
86
+ ${colorConfig
87
+ .map(([key, itemConfig]) => {
88
+ const color =
89
+ itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ||
90
+ itemConfig.color
91
+ return color ? ` --color-${key}: ${color};` : null
92
+ })
93
+ .join("\n")}
94
+ }
95
+ `
96
+ )
97
+ .join("\n"),
98
+ }}
99
+ />
100
+ )
101
+ }
102
+
103
+ const ChartTooltip = RechartsPrimitive.Tooltip
104
+
105
+ const ChartTooltipContent = React.forwardRef<
106
+ HTMLDivElement,
107
+ React.ComponentProps<typeof RechartsPrimitive.Tooltip> &
108
+ React.ComponentProps<"div"> & {
109
+ hideLabel?: boolean
110
+ hideIndicator?: boolean
111
+ indicator?: "line" | "dot" | "dashed"
112
+ nameKey?: string
113
+ labelKey?: string
114
+ }
115
+ >(
116
+ (props: any, ref: any) => {
117
+ const {
118
+ active,
119
+ payload,
120
+ className,
121
+ indicator = "dot",
122
+ hideLabel = false,
123
+ hideIndicator = false,
124
+ label,
125
+ labelFormatter,
126
+ labelClassName,
127
+ formatter,
128
+ color,
129
+ nameKey,
130
+ labelKey,
131
+ ...rest
132
+ } = props;
133
+ const { config } = useChart()
134
+
135
+ const tooltipLabel = React.useMemo(() => {
136
+ if (hideLabel || !payload?.length) {
137
+ return null
138
+ }
139
+
140
+ const [item] = payload
141
+ const key = `${labelKey || item.dataKey || item.name || "value"}`
142
+ const itemConfig = getPayloadConfigFromPayload(config, item, key)
143
+ const value =
144
+ !labelKey && typeof label === "string"
145
+ ? config[label as keyof typeof config]?.label || label
146
+ : itemConfig?.label
147
+
148
+ if (labelFormatter) {
149
+ return (
150
+ <div className={cn("font-medium", labelClassName)}>
151
+ {labelFormatter(value, payload)}
152
+ </div>
153
+ )
154
+ }
155
+
156
+ if (!value) {
157
+ return null
158
+ }
159
+
160
+ return <div className={cn("font-medium", labelClassName)}>{value}</div>
161
+ }, [
162
+ label,
163
+ labelFormatter,
164
+ payload,
165
+ hideLabel,
166
+ labelClassName,
167
+ config,
168
+ labelKey,
169
+ ])
170
+
171
+ if (!active || !payload?.length) {
172
+ return null
173
+ }
174
+
175
+ const nestLabel = payload.length === 1 && indicator !== "dot"
176
+
177
+ return (
178
+ <div
179
+ ref={ref}
180
+ className={cn(
181
+ "grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-h6 shadow-xl",
182
+ className
183
+ )}
184
+ >
185
+ {!nestLabel ? tooltipLabel : null}
186
+ <div className="grid gap-1.5">
187
+ {payload?.map((item: any, index: number) => {
188
+ const key = `${nameKey || item.name || item.dataKey || "value"}`
189
+ const itemConfig = getPayloadConfigFromPayload(config, item, key)
190
+ const indicatorColor = color || item.payload.fill || item.color
191
+
192
+ return (
193
+ <div
194
+ key={item.dataKey}
195
+ className={cn(
196
+ "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
197
+ indicator === "dot" && "items-center"
198
+ )}
199
+ >
200
+ {formatter && item?.value !== undefined && item.name ? (
201
+ formatter(item.value, item.name, item, index, item.payload)
202
+ ) : (
203
+ <>
204
+ {itemConfig?.icon ? (
205
+ <itemConfig.icon />
206
+ ) : (
207
+ !hideIndicator && (
208
+ <div
209
+ className={cn(
210
+ "shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",
211
+ {
212
+ "h-2.5 w-2.5": indicator === "dot",
213
+ "w-1": indicator === "line",
214
+ "w-0 border-[1.5px] border-dashed bg-transparent":
215
+ indicator === "dashed",
216
+ "my-0.5": nestLabel && indicator === "dashed",
217
+ }
218
+ )}
219
+ style={
220
+ {
221
+ "--color-bg": indicatorColor,
222
+ "--color-border": indicatorColor,
223
+ } as React.CSSProperties
224
+ }
225
+ />
226
+ )
227
+ )}
228
+ <div
229
+ className={cn(
230
+ "flex flex-1 justify-between leading-none",
231
+ nestLabel ? "items-end" : "items-center"
232
+ )}
233
+ >
234
+ <div className="grid gap-1.5">
235
+ {nestLabel ? tooltipLabel : null}
236
+ <span className="text-muted-foreground">
237
+ {itemConfig?.label || item.name}
238
+ </span>
239
+ </div>
240
+ {item.value && (
241
+ <span className="text-code tabular-nums text-foreground">
242
+ {item.value.toLocaleString()}
243
+ </span>
244
+ )}
245
+ </div>
246
+ </>
247
+ )}
248
+ </div>
249
+ )
250
+ })}
251
+ </div>
252
+ </div>
253
+ )
254
+ }
255
+ )
256
+ ChartTooltipContent.displayName = "ChartTooltip"
257
+
258
+ const ChartLegend = RechartsPrimitive.Legend
259
+
260
+ const ChartLegendContent = React.forwardRef<
261
+ HTMLDivElement,
262
+ React.ComponentProps<"div"> &
263
+ { payload?: any; verticalAlign?: any } & {
264
+ hideIcon?: boolean
265
+ nameKey?: string
266
+ }
267
+ >(
268
+ (
269
+ { className, hideIcon = false, payload, verticalAlign = "bottom", nameKey },
270
+ ref
271
+ ) => {
272
+ const { config } = useChart()
273
+
274
+ if (!payload?.length) {
275
+ return null
276
+ }
277
+
278
+ return (
279
+ <div
280
+ ref={ref}
281
+ className={cn(
282
+ "flex items-center justify-center gap-4",
283
+ verticalAlign === "top" ? "pb-3" : "pt-3",
284
+ className
285
+ )}
286
+ >
287
+ {payload?.map((item: any) => {
288
+ const key = `${nameKey || item.dataKey || "value"}`
289
+ const itemConfig = getPayloadConfigFromPayload(config, item, key)
290
+
291
+ return (
292
+ <div
293
+ key={item.value}
294
+ className={cn(
295
+ "flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
296
+ )}
297
+ >
298
+ {itemConfig?.icon && !hideIcon ? (
299
+ <itemConfig.icon />
300
+ ) : (
301
+ <div
302
+ className="h-2 w-2 shrink-0 rounded-[2px]"
303
+ style={{
304
+ backgroundColor: item.color,
305
+ }}
306
+ />
307
+ )}
308
+ {itemConfig?.label}
309
+ </div>
310
+ )
311
+ })}
312
+ </div>
313
+ )
314
+ }
315
+ )
316
+ ChartLegendContent.displayName = "ChartLegend"
317
+
318
+ // Helper to extract item config from a payload.
319
+ function getPayloadConfigFromPayload(
320
+ config: ChartConfig,
321
+ payload: unknown,
322
+ key: string
323
+ ) {
324
+ if (typeof payload !== "object" || payload === null) {
325
+ return undefined
326
+ }
327
+
328
+ const payloadPayload =
329
+ "payload" in payload &&
330
+ typeof payload.payload === "object" &&
331
+ payload.payload !== null
332
+ ? payload.payload
333
+ : undefined
334
+
335
+ let configLabelKey: string = key
336
+
337
+ if (
338
+ key in payload &&
339
+ typeof payload[key as keyof typeof payload] === "string"
340
+ ) {
341
+ configLabelKey = payload[key as keyof typeof payload] as string
342
+ } else if (
343
+ payloadPayload &&
344
+ key in payloadPayload &&
345
+ typeof payloadPayload[key as keyof typeof payloadPayload] === "string"
346
+ ) {
347
+ configLabelKey = payloadPayload[
348
+ key as keyof typeof payloadPayload
349
+ ] as string
350
+ }
351
+
352
+ return configLabelKey in config
353
+ ? config[configLabelKey]
354
+ : config[key as keyof typeof config]
355
+ }
356
+
357
+ export {
358
+ ChartContainer,
359
+ ChartTooltip,
360
+ ChartTooltipContent,
361
+ ChartLegend,
362
+ ChartLegendContent,
363
+ ChartStyle,
364
+ }
@@ -2,7 +2,7 @@ import * as React from "react"
2
2
  import { cn } from "../../utils/cn"
3
3
  import { SquareAvatar as Avatar } from "../ui/square-avatar"
4
4
  import { Button } from "../ui/button"
5
- import { PlusCircleIcon } from "../icons/plus-circle-icon"
5
+ import { PlusCircleIcon } from "../plus-circle-icon"
6
6
  import { XmarkIcon } from "../icons-v2-generated/signs-and-symbols/xmark-icon"
7
7
  import { Chevron02LeftIcon } from "../icons-v2-generated"
8
8
  import { TicketStatusTag, resolveStatusTagProps } from "../ui/ticket-status-tag"
@@ -0,0 +1,29 @@
1
+ import React from 'react'
2
+
3
+ interface CheckCircleIconProps extends React.SVGProps<SVGSVGElement> {
4
+ className?: string
5
+ }
6
+
7
+ export function CheckCircleIcon({ className, color = '#1A1A1A', ...props }: CheckCircleIconProps) {
8
+ return (
9
+ <svg
10
+ width="24"
11
+ height="24"
12
+ viewBox="0 0 24 24"
13
+ fill="none"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ className={className}
16
+ color={color}
17
+ {...props}
18
+ >
19
+ <path
20
+ d="M20.8745 12.0005C20.8745 7.09912 16.9018 3.12526 12.0005 3.125C7.09896 3.125 3.125 7.09896 3.125 12.0005C3.12526 16.9018 7.09912 20.8745 12.0005 20.8745C16.9016 20.8742 20.8742 16.9016 20.8745 12.0005ZM23.1245 12.0005C23.1242 18.1443 18.1443 23.1242 12.0005 23.1245C5.85648 23.1245 0.875264 18.1444 0.875 12.0005C0.875 5.85632 5.85632 0.875 12.0005 0.875C18.1444 0.875264 23.1245 5.85648 23.1245 12.0005Z"
21
+ fill={color}
22
+ />
23
+ <path
24
+ d="M15.7046 8.20459C16.1439 7.76525 16.8561 7.76525 17.2954 8.20459C17.7347 8.64393 17.7347 9.35607 17.2954 9.79541L11.2954 15.7954C10.8561 16.2347 10.1439 16.2347 9.70459 15.7954L6.70459 12.7954L6.62695 12.7104C6.26649 12.2686 6.29268 11.6165 6.70459 11.2046C7.1165 10.7927 7.76858 10.7665 8.21045 11.127L8.29541 11.2046L10.5 13.4092L15.7046 8.20459Z"
25
+ fill={color}
26
+ />
27
+ </svg>
28
+ )
29
+ }
@@ -0,0 +1,30 @@
1
+ "use client"
2
+
3
+ import * as React from "react"
4
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox"
5
+
6
+ import { cn } from "../utils/cn"
7
+ import { CheckboxCheckmarkIcon } from "./icons-v2-generated/signs-and-symbols/checkbox-checkmark-icon"
8
+
9
+ const Checkbox = React.forwardRef<
10
+ React.ElementRef<typeof CheckboxPrimitive.Root>,
11
+ React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>
12
+ >(({ className, ...props }, ref) => (
13
+ <CheckboxPrimitive.Root
14
+ ref={ref}
15
+ className={cn(
16
+ "peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
17
+ className
18
+ )}
19
+ {...props}
20
+ >
21
+ <CheckboxPrimitive.Indicator
22
+ className={cn("flex items-center justify-center text-current")}
23
+ >
24
+ <CheckboxCheckmarkIcon size={10} />
25
+ </CheckboxPrimitive.Indicator>
26
+ </CheckboxPrimitive.Root>
27
+ ))
28
+ Checkbox.displayName = CheckboxPrimitive.Root.displayName
29
+
30
+ export { Checkbox }
@@ -0,0 +1,24 @@
1
+ "use client";
2
+
3
+ import React from 'react';
4
+
5
+ interface ClaudeIconProps extends React.SVGProps<SVGSVGElement> {}
6
+
7
+ export function ClaudeIcon(props: ClaudeIconProps) {
8
+ return (
9
+ <svg
10
+ height="1em"
11
+ width="1em"
12
+ viewBox="0 0 24 24"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ aria-label="Claude"
15
+ {...props}
16
+ >
17
+ <path
18
+ d="M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"
19
+ fill="#D97757"
20
+ fillRule="nonzero"
21
+ />
22
+ </svg>
23
+ );
24
+ }
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ interface CoinsIconProps {
4
+ className?: string;
5
+ width?: number;
6
+ height?: number;
7
+ }
8
+
9
+ export const CoinsIcon: React.FC<CoinsIconProps> = ({
10
+ className = "",
11
+ width = 20,
12
+ height = 20
13
+ }) => {
14
+ return (
15
+ <svg
16
+ width={width}
17
+ height={height}
18
+ viewBox="0 0 20 20"
19
+ fill="none"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ className={className}
22
+ >
23
+ <circle cx="7" cy="8" r="4" stroke="currentColor" strokeWidth="1.5" fill="none"/>
24
+ <circle cx="13" cy="12" r="4" stroke="currentColor" strokeWidth="1.5" fill="none"/>
25
+ <path d="M9 6c0-1.1.9-2 2-2s2 .9 2 2" stroke="currentColor" strokeWidth="1.5" fill="none"/>
26
+ <path d="M15 10c0-1.1.9-2 2-2s2 .9 2 2" stroke="currentColor" strokeWidth="1.5" fill="none"/>
27
+ </svg>
28
+ );
29
+ };
@@ -0,0 +1,153 @@
1
+ "use client"
2
+
3
+ import * as React from "react"
4
+ import { type DialogProps } from "@radix-ui/react-dialog"
5
+ import { Command as CommandPrimitive } from "cmdk"
6
+ import { Search } from "lucide-react"
7
+
8
+ import { cn } from "../utils/cn"
9
+ import { Dialog, DialogContent } from "./ui/dialog"
10
+
11
+ const Command = React.forwardRef<
12
+ React.ElementRef<typeof CommandPrimitive>,
13
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive>
14
+ >(({ className, ...props }, ref) => (
15
+ <CommandPrimitive
16
+ ref={ref}
17
+ className={cn(
18
+ "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
19
+ className
20
+ )}
21
+ {...props}
22
+ />
23
+ ))
24
+ Command.displayName = CommandPrimitive.displayName
25
+
26
+ const CommandDialog = ({ children, ...props }: DialogProps) => {
27
+ return (
28
+ <Dialog {...props}>
29
+ <DialogContent className="overflow-hidden p-0 shadow-lg">
30
+ <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
31
+ {children}
32
+ </Command>
33
+ </DialogContent>
34
+ </Dialog>
35
+ )
36
+ }
37
+
38
+ const CommandInput = React.forwardRef<
39
+ React.ElementRef<typeof CommandPrimitive.Input>,
40
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
41
+ >(({ className, ...props }, ref) => (
42
+ <div className="flex items-center border-b px-3" cmdk-input-wrapper="">
43
+ <Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />
44
+ <CommandPrimitive.Input
45
+ ref={ref}
46
+ className={cn(
47
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-h6 outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
48
+ className
49
+ )}
50
+ {...props}
51
+ />
52
+ </div>
53
+ ))
54
+
55
+ CommandInput.displayName = CommandPrimitive.Input.displayName
56
+
57
+ const CommandList = React.forwardRef<
58
+ React.ElementRef<typeof CommandPrimitive.List>,
59
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>
60
+ >(({ className, ...props }, ref) => (
61
+ <CommandPrimitive.List
62
+ ref={ref}
63
+ className={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}
64
+ {...props}
65
+ />
66
+ ))
67
+
68
+ CommandList.displayName = CommandPrimitive.List.displayName
69
+
70
+ const CommandEmpty = React.forwardRef<
71
+ React.ElementRef<typeof CommandPrimitive.Empty>,
72
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>
73
+ >((props, ref) => (
74
+ <CommandPrimitive.Empty
75
+ ref={ref}
76
+ className="py-6 text-center text-h6"
77
+ {...props}
78
+ />
79
+ ))
80
+
81
+ CommandEmpty.displayName = CommandPrimitive.Empty.displayName
82
+
83
+ const CommandGroup = React.forwardRef<
84
+ React.ElementRef<typeof CommandPrimitive.Group>,
85
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>
86
+ >(({ className, ...props }, ref) => (
87
+ <CommandPrimitive.Group
88
+ ref={ref}
89
+ className={cn(
90
+ "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
91
+ className
92
+ )}
93
+ {...props}
94
+ />
95
+ ))
96
+
97
+ CommandGroup.displayName = CommandPrimitive.Group.displayName
98
+
99
+ const CommandSeparator = React.forwardRef<
100
+ React.ElementRef<typeof CommandPrimitive.Separator>,
101
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>
102
+ >(({ className, ...props }, ref) => (
103
+ <CommandPrimitive.Separator
104
+ ref={ref}
105
+ className={cn("-mx-1 h-px bg-border", className)}
106
+ {...props}
107
+ />
108
+ ))
109
+ CommandSeparator.displayName = CommandPrimitive.Separator.displayName
110
+
111
+ const CommandItem = React.forwardRef<
112
+ React.ElementRef<typeof CommandPrimitive.Item>,
113
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>
114
+ >(({ className, ...props }, ref) => (
115
+ <CommandPrimitive.Item
116
+ ref={ref}
117
+ className={cn(
118
+ "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-h6 outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
119
+ className
120
+ )}
121
+ {...props}
122
+ />
123
+ ))
124
+
125
+ CommandItem.displayName = CommandPrimitive.Item.displayName
126
+
127
+ const CommandShortcut = ({
128
+ className,
129
+ ...props
130
+ }: React.HTMLAttributes<HTMLSpanElement>) => {
131
+ return (
132
+ <span
133
+ className={cn(
134
+ "ml-auto text-xs tracking-widest text-muted-foreground",
135
+ className
136
+ )}
137
+ {...props}
138
+ />
139
+ )
140
+ }
141
+ CommandShortcut.displayName = "CommandShortcut"
142
+
143
+ export {
144
+ Command,
145
+ CommandDialog,
146
+ CommandInput,
147
+ CommandList,
148
+ CommandEmpty,
149
+ CommandGroup,
150
+ CommandItem,
151
+ CommandShortcut,
152
+ CommandSeparator,
153
+ }