@libreapps/ui 5.4.1

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 (921) hide show
  1. package/README.md +229 -0
  2. package/bin/cli.js +100 -0
  3. package/bin/create-registry.js +108 -0
  4. package/bin/mcp.js +403 -0
  5. package/bin/npx-registry-mcp.js +15 -0
  6. package/bin/registry-mcp-wrapper.sh +19 -0
  7. package/bin/registry-mcp.js +100 -0
  8. package/bin/start-mcp-server.sh +22 -0
  9. package/bin/test-mcp.sh +52 -0
  10. package/bin/update-registry.js +196 -0
  11. package/content/index.ts +26 -0
  12. package/dist/3d/button.js +298 -0
  13. package/dist/3d/button.mjs +273 -0
  14. package/dist/3d/card.js +234 -0
  15. package/dist/3d/card.mjs +207 -0
  16. package/dist/3d/carousel.js +371 -0
  17. package/dist/3d/carousel.mjs +344 -0
  18. package/dist/3d/grid.js +362 -0
  19. package/dist/3d/grid.mjs +337 -0
  20. package/dist/3d/index.js +1518 -0
  21. package/dist/3d/index.mjs +1472 -0
  22. package/dist/3d/marquee.js +352 -0
  23. package/dist/3d/marquee.mjs +327 -0
  24. package/dist/3d/pin.js +46 -0
  25. package/dist/3d/pin.mjs +24 -0
  26. package/dist/accordion.js +80 -0
  27. package/dist/accordion.mjs +55 -0
  28. package/dist/alert-dialog.js +225 -0
  29. package/dist/alert-dialog.mjs +192 -0
  30. package/dist/alert.js +98 -0
  31. package/dist/alert.mjs +92 -0
  32. package/dist/animation/animated-background.js +424 -0
  33. package/dist/animation/animated-background.mjs +418 -0
  34. package/dist/animation/animated-beam.js +119 -0
  35. package/dist/animation/animated-beam.mjs +97 -0
  36. package/dist/animation/animated-cursor.js +275 -0
  37. package/dist/animation/animated-cursor.mjs +270 -0
  38. package/dist/animation/animated-icon.js +357 -0
  39. package/dist/animation/animated-icon.mjs +351 -0
  40. package/dist/animation/animated-list.js +339 -0
  41. package/dist/animation/animated-list.mjs +333 -0
  42. package/dist/animation/animated-number.js +283 -0
  43. package/dist/animation/animated-number.mjs +277 -0
  44. package/dist/animation/animated-testimonials.js +97 -0
  45. package/dist/animation/animated-testimonials.mjs +75 -0
  46. package/dist/animation/animated-tooltip.js +67 -0
  47. package/dist/animation/animated-tooltip.mjs +45 -0
  48. package/dist/animation/apple-cards-carousel.js +308 -0
  49. package/dist/animation/apple-cards-carousel.mjs +285 -0
  50. package/dist/animation/apple-hello-effect.js +60 -0
  51. package/dist/animation/apple-hello-effect.mjs +38 -0
  52. package/dist/animation/index.js +1952 -0
  53. package/dist/animation/index.mjs +1921 -0
  54. package/dist/assets/ai-icons.d.ts +27 -0
  55. package/dist/assets/crypto.d.ts +6 -0
  56. package/dist/assets/file-type-icon.d.ts +6 -0
  57. package/dist/assets/file.d.ts +4 -0
  58. package/dist/assets/general.d.ts +219 -0
  59. package/dist/assets/index.d.ts +6 -0
  60. package/dist/assets/libreapps-logo.d.ts +3 -0
  61. package/dist/assets/llm-provider.d.ts +63 -0
  62. package/dist/avatar.js +71 -0
  63. package/dist/avatar.mjs +47 -0
  64. package/dist/badge.js +61 -0
  65. package/dist/badge.mjs +55 -0
  66. package/dist/blocks/auth/__tests__/forms.test.d.ts +12 -0
  67. package/dist/blocks/auth/index.d.ts +3 -0
  68. package/dist/blocks/auth/login/index.d.ts +5 -0
  69. package/dist/blocks/auth/login/login-01/components/login-form.d.ts +1 -0
  70. package/dist/blocks/auth/login/login-01/page.d.ts +1 -0
  71. package/dist/blocks/auth/login/login-02/components/login-form.d.ts +1 -0
  72. package/dist/blocks/auth/login/login-02/page.d.ts +1 -0
  73. package/dist/blocks/auth/login/login-03/components/login-form.d.ts +1 -0
  74. package/dist/blocks/auth/login/login-03/page.d.ts +1 -0
  75. package/dist/blocks/auth/login/login-04/components/login-form.d.ts +1 -0
  76. package/dist/blocks/auth/login/login-04/page.d.ts +1 -0
  77. package/dist/blocks/auth/login/login-05/components/login-form.d.ts +1 -0
  78. package/dist/blocks/auth/login/login-05/page.d.ts +1 -0
  79. package/dist/blocks/auth/otp/index.d.ts +5 -0
  80. package/dist/blocks/auth/otp/otp-01/components/otp-form.d.ts +2 -0
  81. package/dist/blocks/auth/otp/otp-01/page.d.ts +1 -0
  82. package/dist/blocks/auth/otp/otp-02/components/otp-form.d.ts +1 -0
  83. package/dist/blocks/auth/otp/otp-02/page.d.ts +1 -0
  84. package/dist/blocks/auth/otp/otp-03/components/otp-form.d.ts +2 -0
  85. package/dist/blocks/auth/otp/otp-03/page.d.ts +1 -0
  86. package/dist/blocks/auth/otp/otp-04/components/otp-form.d.ts +1 -0
  87. package/dist/blocks/auth/otp/otp-04/page.d.ts +1 -0
  88. package/dist/blocks/auth/otp/otp-05/components/otp-form.d.ts +1 -0
  89. package/dist/blocks/auth/otp/otp-05/page.d.ts +1 -0
  90. package/dist/blocks/auth/signup/index.d.ts +5 -0
  91. package/dist/blocks/auth/signup/signup-01/components/signup-form.d.ts +2 -0
  92. package/dist/blocks/auth/signup/signup-01/page.d.ts +1 -0
  93. package/dist/blocks/auth/signup/signup-02/components/signup-form.d.ts +1 -0
  94. package/dist/blocks/auth/signup/signup-02/page.d.ts +1 -0
  95. package/dist/blocks/auth/signup/signup-03/components/signup-form.d.ts +1 -0
  96. package/dist/blocks/auth/signup/signup-03/page.d.ts +1 -0
  97. package/dist/blocks/auth/signup/signup-04/components/signup-form.d.ts +1 -0
  98. package/dist/blocks/auth/signup/signup-04/page.d.ts +1 -0
  99. package/dist/blocks/auth/signup/signup-05/components/signup-form.d.ts +1 -0
  100. package/dist/blocks/auth/signup/signup-05/page.d.ts +1 -0
  101. package/dist/blocks/calendar/calendar-01.d.ts +1 -0
  102. package/dist/blocks/calendar/calendar-02.d.ts +1 -0
  103. package/dist/blocks/calendar/calendar-03.d.ts +1 -0
  104. package/dist/blocks/calendar/calendar-04.d.ts +1 -0
  105. package/dist/blocks/calendar/calendar-05.d.ts +1 -0
  106. package/dist/blocks/calendar/calendar-06.d.ts +1 -0
  107. package/dist/blocks/calendar/calendar-07.d.ts +1 -0
  108. package/dist/blocks/calendar/calendar-08.d.ts +1 -0
  109. package/dist/blocks/calendar/calendar-09.d.ts +1 -0
  110. package/dist/blocks/calendar/calendar-10.d.ts +1 -0
  111. package/dist/blocks/calendar/calendar-11.d.ts +1 -0
  112. package/dist/blocks/calendar/calendar-12.d.ts +1 -0
  113. package/dist/blocks/calendar/calendar-13.d.ts +1 -0
  114. package/dist/blocks/calendar/calendar-14.d.ts +1 -0
  115. package/dist/blocks/calendar/calendar-15.d.ts +1 -0
  116. package/dist/blocks/calendar/calendar-16.d.ts +1 -0
  117. package/dist/blocks/calendar/calendar-17.d.ts +1 -0
  118. package/dist/blocks/calendar/calendar-18.d.ts +1 -0
  119. package/dist/blocks/calendar/calendar-19.d.ts +1 -0
  120. package/dist/blocks/calendar/calendar-20.d.ts +1 -0
  121. package/dist/blocks/calendar/calendar-21.d.ts +1 -0
  122. package/dist/blocks/calendar/calendar-22.d.ts +1 -0
  123. package/dist/blocks/calendar/calendar-23.d.ts +1 -0
  124. package/dist/blocks/calendar/calendar-24.d.ts +1 -0
  125. package/dist/blocks/calendar/calendar-25.d.ts +1 -0
  126. package/dist/blocks/calendar/calendar-26.d.ts +1 -0
  127. package/dist/blocks/calendar/calendar-27.d.ts +1 -0
  128. package/dist/blocks/calendar/calendar-28.d.ts +1 -0
  129. package/dist/blocks/calendar/calendar-29.d.ts +1 -0
  130. package/dist/blocks/calendar/calendar-30.d.ts +1 -0
  131. package/dist/blocks/calendar/calendar-31.d.ts +1 -0
  132. package/dist/blocks/calendar/calendar-32.d.ts +1 -0
  133. package/dist/blocks/calendar/index.d.ts +32 -0
  134. package/dist/blocks/components/accordian-block.d.ts +4 -0
  135. package/dist/blocks/components/block-component-props.d.ts +7 -0
  136. package/dist/blocks/components/bullet-cards-block.d.ts +4 -0
  137. package/dist/blocks/components/card-block/index.d.ts +6 -0
  138. package/dist/blocks/components/card-block/link-out-button.d.ts +6 -0
  139. package/dist/blocks/components/card-block/util.d.ts +4 -0
  140. package/dist/blocks/components/carte-blanche-block/index.d.ts +4 -0
  141. package/dist/blocks/components/carte-blanche-block/variant-content-left.d.ts +10 -0
  142. package/dist/blocks/components/content.d.ts +10 -0
  143. package/dist/blocks/components/cta-block.d.ts +12 -0
  144. package/dist/blocks/components/enh-heading-block.d.ts +7 -0
  145. package/dist/blocks/components/grid-block/grid-block-mutator.d.ts +5 -0
  146. package/dist/blocks/components/grid-block/index.d.ts +9 -0
  147. package/dist/blocks/components/grid-block/mutator-registry.d.ts +3 -0
  148. package/dist/blocks/components/grid-block/table-borders.mutator.d.ts +3 -0
  149. package/dist/blocks/components/group-block.d.ts +7 -0
  150. package/dist/blocks/components/heading-block.d.ts +4 -0
  151. package/dist/blocks/components/image-block.d.ts +7 -0
  152. package/dist/blocks/components/index.d.ts +14 -0
  153. package/dist/blocks/components/screenful-block/content.d.ts +8 -0
  154. package/dist/blocks/components/screenful-block/index.d.ts +12 -0
  155. package/dist/blocks/components/screenful-block/poster-background.d.ts +7 -0
  156. package/dist/blocks/components/screenful-block/video-background.d.ts +8 -0
  157. package/dist/blocks/components/space-block.d.ts +4 -0
  158. package/dist/blocks/components/video-block.d.ts +9 -0
  159. package/dist/blocks/dashboard/dashboard-01/components/app-sidebar.d.ts +3 -0
  160. package/dist/blocks/dashboard/dashboard-01/components/chart-area-interactive.d.ts +2 -0
  161. package/dist/blocks/dashboard/dashboard-01/components/data-table.d.ts +13 -0
  162. package/dist/blocks/dashboard/dashboard-01/components/nav-documents.d.ts +8 -0
  163. package/dist/blocks/dashboard/dashboard-01/components/nav-main.d.ts +8 -0
  164. package/dist/blocks/dashboard/dashboard-01/components/nav-secondary.d.ts +10 -0
  165. package/dist/blocks/dashboard/dashboard-01/components/nav-user.d.ts +7 -0
  166. package/dist/blocks/dashboard/dashboard-01/components/section-cards.d.ts +1 -0
  167. package/dist/blocks/dashboard/dashboard-01/components/site-header.d.ts +1 -0
  168. package/dist/blocks/dashboard/dashboard-01/page.d.ts +1 -0
  169. package/dist/blocks/dashboard/index.d.ts +1 -0
  170. package/dist/blocks/def/accordian-block.d.ts +10 -0
  171. package/dist/blocks/def/block.d.ts +4 -0
  172. package/dist/blocks/def/bullet-cards-block.d.ts +17 -0
  173. package/dist/blocks/def/card-block.d.ts +17 -0
  174. package/dist/blocks/def/carte-blanche-block.d.ts +12 -0
  175. package/dist/blocks/def/cta-block.d.ts +8 -0
  176. package/dist/blocks/def/element-block.d.ts +7 -0
  177. package/dist/blocks/def/enh-heading-block.d.ts +22 -0
  178. package/dist/blocks/def/grid-block.d.ts +12 -0
  179. package/dist/blocks/def/group-block.d.ts +7 -0
  180. package/dist/blocks/def/heading-block.d.ts +11 -0
  181. package/dist/blocks/def/image-block.d.ts +26 -0
  182. package/dist/blocks/def/index.d.ts +17 -0
  183. package/dist/blocks/def/screenful-block.d.ts +41 -0
  184. package/dist/blocks/def/space-block.d.ts +47 -0
  185. package/dist/blocks/def/video-block.d.ts +5 -0
  186. package/dist/blocks/index-core.d.ts +2 -0
  187. package/dist/blocks/index.d.ts +6 -0
  188. package/dist/blocks/index.js +1685 -0
  189. package/dist/blocks/index.mjs +1646 -0
  190. package/dist/blocks/sidebar/index.d.ts +16 -0
  191. package/dist/blocks/sidebar/sidebar-01/components/app-sidebar.d.ts +3 -0
  192. package/dist/blocks/sidebar/sidebar-01/components/search-form.d.ts +1 -0
  193. package/dist/blocks/sidebar/sidebar-01/components/version-switcher.d.ts +4 -0
  194. package/dist/blocks/sidebar/sidebar-01/page.d.ts +1 -0
  195. package/dist/blocks/sidebar/sidebar-02/components/app-sidebar.d.ts +3 -0
  196. package/dist/blocks/sidebar/sidebar-02/components/search-form.d.ts +1 -0
  197. package/dist/blocks/sidebar/sidebar-02/components/version-switcher.d.ts +4 -0
  198. package/dist/blocks/sidebar/sidebar-02/page.d.ts +1 -0
  199. package/dist/blocks/sidebar/sidebar-03/components/app-sidebar.d.ts +3 -0
  200. package/dist/blocks/sidebar/sidebar-03/page.d.ts +1 -0
  201. package/dist/blocks/sidebar/sidebar-04/components/app-sidebar.d.ts +3 -0
  202. package/dist/blocks/sidebar/sidebar-04/page.d.ts +1 -0
  203. package/dist/blocks/sidebar/sidebar-05/components/app-sidebar.d.ts +3 -0
  204. package/dist/blocks/sidebar/sidebar-05/components/search-form.d.ts +1 -0
  205. package/dist/blocks/sidebar/sidebar-05/page.d.ts +1 -0
  206. package/dist/blocks/sidebar/sidebar-06/components/app-sidebar.d.ts +3 -0
  207. package/dist/blocks/sidebar/sidebar-06/components/nav-main.d.ts +13 -0
  208. package/dist/blocks/sidebar/sidebar-06/components/sidebar-opt-in-form.d.ts +1 -0
  209. package/dist/blocks/sidebar/sidebar-06/page.d.ts +1 -0
  210. package/dist/blocks/sidebar/sidebar-07/components/app-sidebar.d.ts +3 -0
  211. package/dist/blocks/sidebar/sidebar-07/components/nav-main.d.ts +13 -0
  212. package/dist/blocks/sidebar/sidebar-07/components/nav-projects.d.ts +8 -0
  213. package/dist/blocks/sidebar/sidebar-07/components/nav-user.d.ts +7 -0
  214. package/dist/blocks/sidebar/sidebar-07/components/team-switcher.d.ts +8 -0
  215. package/dist/blocks/sidebar/sidebar-07/page.d.ts +1 -0
  216. package/dist/blocks/sidebar/sidebar-08/components/app-sidebar.d.ts +3 -0
  217. package/dist/blocks/sidebar/sidebar-08/components/nav-main.d.ts +13 -0
  218. package/dist/blocks/sidebar/sidebar-08/components/nav-projects.d.ts +8 -0
  219. package/dist/blocks/sidebar/sidebar-08/components/nav-secondary.d.ts +10 -0
  220. package/dist/blocks/sidebar/sidebar-08/components/nav-user.d.ts +7 -0
  221. package/dist/blocks/sidebar/sidebar-08/page.d.ts +1 -0
  222. package/dist/blocks/sidebar/sidebar-09/components/app-sidebar.d.ts +3 -0
  223. package/dist/blocks/sidebar/sidebar-09/components/nav-user.d.ts +7 -0
  224. package/dist/blocks/sidebar/sidebar-09/page.d.ts +1 -0
  225. package/dist/blocks/sidebar/sidebar-10/components/app-sidebar.d.ts +3 -0
  226. package/dist/blocks/sidebar/sidebar-10/components/nav-actions.d.ts +1 -0
  227. package/dist/blocks/sidebar/sidebar-10/components/nav-favorites.d.ts +7 -0
  228. package/dist/blocks/sidebar/sidebar-10/components/nav-main.d.ts +9 -0
  229. package/dist/blocks/sidebar/sidebar-10/components/nav-secondary.d.ts +11 -0
  230. package/dist/blocks/sidebar/sidebar-10/components/nav-workspaces.d.ts +10 -0
  231. package/dist/blocks/sidebar/sidebar-10/components/team-switcher.d.ts +8 -0
  232. package/dist/blocks/sidebar/sidebar-10/page.d.ts +1 -0
  233. package/dist/blocks/sidebar/sidebar-11/components/app-sidebar.d.ts +3 -0
  234. package/dist/blocks/sidebar/sidebar-11/page.d.ts +1 -0
  235. package/dist/blocks/sidebar/sidebar-12/components/app-sidebar.d.ts +3 -0
  236. package/dist/blocks/sidebar/sidebar-12/components/calendars.d.ts +6 -0
  237. package/dist/blocks/sidebar/sidebar-12/components/date-picker.d.ts +1 -0
  238. package/dist/blocks/sidebar/sidebar-12/components/nav-user.d.ts +7 -0
  239. package/dist/blocks/sidebar/sidebar-12/page.d.ts +1 -0
  240. package/dist/blocks/sidebar/sidebar-13/components/settings-dialog.d.ts +1 -0
  241. package/dist/blocks/sidebar/sidebar-13/page.d.ts +1 -0
  242. package/dist/blocks/sidebar/sidebar-14/components/app-sidebar.d.ts +3 -0
  243. package/dist/blocks/sidebar/sidebar-14/page.d.ts +1 -0
  244. package/dist/blocks/sidebar/sidebar-15/components/calendars.d.ts +6 -0
  245. package/dist/blocks/sidebar/sidebar-15/components/date-picker.d.ts +1 -0
  246. package/dist/blocks/sidebar/sidebar-15/components/nav-favorites.d.ts +7 -0
  247. package/dist/blocks/sidebar/sidebar-15/components/nav-main.d.ts +9 -0
  248. package/dist/blocks/sidebar/sidebar-15/components/nav-secondary.d.ts +11 -0
  249. package/dist/blocks/sidebar/sidebar-15/components/nav-user.d.ts +7 -0
  250. package/dist/blocks/sidebar/sidebar-15/components/nav-workspaces.d.ts +10 -0
  251. package/dist/blocks/sidebar/sidebar-15/components/sidebar-left.d.ts +3 -0
  252. package/dist/blocks/sidebar/sidebar-15/components/sidebar-right.d.ts +3 -0
  253. package/dist/blocks/sidebar/sidebar-15/components/team-switcher.d.ts +8 -0
  254. package/dist/blocks/sidebar/sidebar-15/page.d.ts +1 -0
  255. package/dist/blocks/sidebar/sidebar-16/components/app-sidebar.d.ts +3 -0
  256. package/dist/blocks/sidebar/sidebar-16/components/nav-main.d.ts +13 -0
  257. package/dist/blocks/sidebar/sidebar-16/components/nav-projects.d.ts +8 -0
  258. package/dist/blocks/sidebar/sidebar-16/components/nav-secondary.d.ts +10 -0
  259. package/dist/blocks/sidebar/sidebar-16/components/nav-user.d.ts +7 -0
  260. package/dist/blocks/sidebar/sidebar-16/components/search-form.d.ts +1 -0
  261. package/dist/blocks/sidebar/sidebar-16/components/site-header.d.ts +1 -0
  262. package/dist/blocks/sidebar/sidebar-16/page.d.ts +3 -0
  263. package/dist/breadcrumb.js +107 -0
  264. package/dist/breadcrumb.mjs +99 -0
  265. package/dist/calendar-ext/index.js +208 -0
  266. package/dist/calendar-ext/index.mjs +170 -0
  267. package/dist/calendar.js +194 -0
  268. package/dist/calendar.mjs +169 -0
  269. package/dist/carousel.js +283 -0
  270. package/dist/carousel.mjs +254 -0
  271. package/dist/charts/index.js +5842 -0
  272. package/dist/charts/index.mjs +5751 -0
  273. package/dist/checkbox.js +60 -0
  274. package/dist/checkbox.mjs +35 -0
  275. package/dist/code/block.js +226 -0
  276. package/dist/code/block.mjs +203 -0
  277. package/dist/code/compare.js +446 -0
  278. package/dist/code/compare.mjs +423 -0
  279. package/dist/code/diff.js +430 -0
  280. package/dist/code/diff.mjs +407 -0
  281. package/dist/code/editor.js +243 -0
  282. package/dist/code/editor.mjs +218 -0
  283. package/dist/code/explorer.js +291 -0
  284. package/dist/code/explorer.mjs +268 -0
  285. package/dist/code/index.js +2551 -0
  286. package/dist/code/index.mjs +2510 -0
  287. package/dist/code/preview.js +400 -0
  288. package/dist/code/preview.mjs +377 -0
  289. package/dist/code/snippet.js +274 -0
  290. package/dist/code/snippet.mjs +250 -0
  291. package/dist/code/tabs.js +75 -0
  292. package/dist/code/tabs.mjs +53 -0
  293. package/dist/code/terminal.js +437 -0
  294. package/dist/code/terminal.mjs +414 -0
  295. package/dist/collapsible.js +33 -0
  296. package/dist/collapsible.mjs +9 -0
  297. package/dist/command.js +283 -0
  298. package/dist/command.mjs +252 -0
  299. package/dist/components/cal-embed.d.ts +10 -0
  300. package/dist/components/index.d.ts +2 -0
  301. package/dist/context-menu.js +207 -0
  302. package/dist/context-menu.mjs +171 -0
  303. package/dist/desktop/hooks.js +224 -0
  304. package/dist/desktop/hooks.mjs +199 -0
  305. package/dist/desktop/index.js +686 -0
  306. package/dist/desktop/index.mjs +658 -0
  307. package/dist/desktop/spotlight.js +261 -0
  308. package/dist/desktop/spotlight.mjs +236 -0
  309. package/dist/desktop/window.js +274 -0
  310. package/dist/desktop/window.mjs +248 -0
  311. package/dist/device/index.js +3 -0
  312. package/dist/device/index.mjs +2 -0
  313. package/dist/dialog.js +246 -0
  314. package/dist/dialog.mjs +214 -0
  315. package/dist/dock/basic.js +174 -0
  316. package/dist/dock/basic.mjs +151 -0
  317. package/dist/dock/index.js +648 -0
  318. package/dist/dock/index.mjs +621 -0
  319. package/dist/dock/limelight-nav.js +315 -0
  320. package/dist/dock/limelight-nav.mjs +294 -0
  321. package/dist/dock/macos.js +141 -0
  322. package/dist/dock/macos.mjs +118 -0
  323. package/dist/dock/menu.js +70 -0
  324. package/dist/dock/menu.mjs +48 -0
  325. package/dist/dock/message.js +149 -0
  326. package/dist/dock/message.mjs +127 -0
  327. package/dist/drawer.js +115 -0
  328. package/dist/drawer.mjs +103 -0
  329. package/dist/dropdown-menu.js +202 -0
  330. package/dist/dropdown-menu.mjs +166 -0
  331. package/dist/finance/AdvancedChart.js +48 -0
  332. package/dist/finance/AdvancedChart.mjs +46 -0
  333. package/dist/finance/CompanyProfile.js +48 -0
  334. package/dist/finance/CompanyProfile.mjs +46 -0
  335. package/dist/finance/CryptoScreener.js +45 -0
  336. package/dist/finance/CryptoScreener.mjs +43 -0
  337. package/dist/finance/Financials.js +52 -0
  338. package/dist/finance/Financials.mjs +50 -0
  339. package/dist/finance/ForexScreener.js +46 -0
  340. package/dist/finance/ForexScreener.mjs +44 -0
  341. package/dist/finance/MarketOverview.js +104 -0
  342. package/dist/finance/MarketOverview.mjs +102 -0
  343. package/dist/finance/NewsTimeline.js +44 -0
  344. package/dist/finance/NewsTimeline.mjs +42 -0
  345. package/dist/finance/OrderEntry.js +131 -0
  346. package/dist/finance/OrderEntry.mjs +129 -0
  347. package/dist/finance/OrdersHistory.js +64 -0
  348. package/dist/finance/OrdersHistory.mjs +62 -0
  349. package/dist/finance/PositionsList.js +80 -0
  350. package/dist/finance/PositionsList.mjs +78 -0
  351. package/dist/finance/StockScreener.js +46 -0
  352. package/dist/finance/StockScreener.mjs +44 -0
  353. package/dist/finance/SymbolInfo.js +46 -0
  354. package/dist/finance/SymbolInfo.mjs +44 -0
  355. package/dist/finance/TechnicalAnalysis.js +54 -0
  356. package/dist/finance/TechnicalAnalysis.mjs +52 -0
  357. package/dist/finance/TickerTape.js +56 -0
  358. package/dist/finance/TickerTape.mjs +54 -0
  359. package/dist/finance/TradingPanel.js +191 -0
  360. package/dist/finance/TradingPanel.mjs +189 -0
  361. package/dist/finance/index.js +930 -0
  362. package/dist/finance/index.mjs +914 -0
  363. package/dist/form/index.js +155 -0
  364. package/dist/form/index.mjs +125 -0
  365. package/dist/form.js +172 -0
  366. package/dist/form.mjs +142 -0
  367. package/dist/helpers/file.d.ts +6 -0
  368. package/dist/helpers/memoization.d.ts +8 -0
  369. package/dist/hover-card.js +58 -0
  370. package/dist/hover-card.mjs +34 -0
  371. package/dist/index.js +9650 -0
  372. package/dist/index.mjs +9234 -0
  373. package/dist/input-otp.js +79 -0
  374. package/dist/input-otp.mjs +54 -0
  375. package/dist/kanban/index.js +594 -0
  376. package/dist/kanban/index.mjs +572 -0
  377. package/dist/lib/utils.js +28 -0
  378. package/dist/lib/utils.mjs +24 -0
  379. package/dist/mermaid/index.js +281 -0
  380. package/dist/mermaid/index.mjs +254 -0
  381. package/dist/navigation/index.js +98 -0
  382. package/dist/navigation/index.mjs +79 -0
  383. package/dist/navigation-menu.js +149 -0
  384. package/dist/navigation-menu.mjs +116 -0
  385. package/dist/pattern/grid-pattern.js +333 -0
  386. package/dist/pattern/grid-pattern.mjs +310 -0
  387. package/dist/pattern/index.js +333 -0
  388. package/dist/pattern/index.mjs +310 -0
  389. package/dist/popover.js +63 -0
  390. package/dist/popover.mjs +37 -0
  391. package/dist/primitives/__tests__/core-primitives.test.d.ts +1 -0
  392. package/dist/primitives/accordion.d.ts +26 -0
  393. package/dist/primitives/action-button.d.ts +9 -0
  394. package/dist/primitives/alert-dialog.d.ts +56 -0
  395. package/dist/primitives/alert.d.ts +10 -0
  396. package/dist/primitives/apply-typography.d.ts +7 -0
  397. package/dist/primitives/aspect-ratio.d.ts +3 -0
  398. package/dist/primitives/avatar.d.ts +24 -0
  399. package/dist/primitives/background-beams.d.ts +4 -0
  400. package/dist/primitives/badge.d.ts +10 -0
  401. package/dist/primitives/breadcrumb.d.ts +50 -0
  402. package/dist/primitives/breakpoint-indicator.d.ts +3 -0
  403. package/dist/primitives/button-group.d.ts +11 -0
  404. package/dist/primitives/button.d.ts +13 -0
  405. package/dist/primitives/cal-embed.d.ts +10 -0
  406. package/dist/primitives/calendar.d.ts +10 -0
  407. package/dist/primitives/card.d.ts +9 -0
  408. package/dist/primitives/carousel.d.ts +18 -0
  409. package/dist/primitives/chart.d.ts +40 -0
  410. package/dist/primitives/charts/__tests__/charts.test.d.ts +9 -0
  411. package/dist/primitives/charts/area/chart-area-axes.d.ts +2 -0
  412. package/dist/primitives/charts/area/chart-area-default.d.ts +2 -0
  413. package/dist/primitives/charts/area/chart-area-gradient.d.ts +2 -0
  414. package/dist/primitives/charts/area/chart-area-icons.d.ts +2 -0
  415. package/dist/primitives/charts/area/chart-area-interactive.d.ts +2 -0
  416. package/dist/primitives/charts/area/chart-area-legend.d.ts +2 -0
  417. package/dist/primitives/charts/area/chart-area-linear.d.ts +2 -0
  418. package/dist/primitives/charts/area/chart-area-stacked-expand.d.ts +2 -0
  419. package/dist/primitives/charts/area/chart-area-stacked.d.ts +2 -0
  420. package/dist/primitives/charts/area/chart-area-step.d.ts +2 -0
  421. package/dist/primitives/charts/area/index.d.ts +10 -0
  422. package/dist/primitives/charts/bar/chart-bar-active.d.ts +2 -0
  423. package/dist/primitives/charts/bar/chart-bar-default.d.ts +2 -0
  424. package/dist/primitives/charts/bar/chart-bar-horizontal.d.ts +2 -0
  425. package/dist/primitives/charts/bar/chart-bar-interactive.d.ts +2 -0
  426. package/dist/primitives/charts/bar/chart-bar-label-custom.d.ts +2 -0
  427. package/dist/primitives/charts/bar/chart-bar-label.d.ts +2 -0
  428. package/dist/primitives/charts/bar/chart-bar-mixed.d.ts +2 -0
  429. package/dist/primitives/charts/bar/chart-bar-multiple.d.ts +2 -0
  430. package/dist/primitives/charts/bar/chart-bar-negative.d.ts +2 -0
  431. package/dist/primitives/charts/bar/chart-bar-stacked.d.ts +2 -0
  432. package/dist/primitives/charts/bar/index.d.ts +10 -0
  433. package/dist/primitives/charts/index.d.ts +7 -0
  434. package/dist/primitives/charts/line/chart-line-default.d.ts +2 -0
  435. package/dist/primitives/charts/line/chart-line-dots-colors.d.ts +2 -0
  436. package/dist/primitives/charts/line/chart-line-dots-custom.d.ts +2 -0
  437. package/dist/primitives/charts/line/chart-line-dots.d.ts +2 -0
  438. package/dist/primitives/charts/line/chart-line-interactive.d.ts +2 -0
  439. package/dist/primitives/charts/line/chart-line-label-custom.d.ts +2 -0
  440. package/dist/primitives/charts/line/chart-line-label.d.ts +2 -0
  441. package/dist/primitives/charts/line/chart-line-linear.d.ts +2 -0
  442. package/dist/primitives/charts/line/chart-line-multiple.d.ts +2 -0
  443. package/dist/primitives/charts/line/chart-line-step.d.ts +2 -0
  444. package/dist/primitives/charts/line/index.d.ts +10 -0
  445. package/dist/primitives/charts/pie/chart-pie-donut-active.d.ts +2 -0
  446. package/dist/primitives/charts/pie/chart-pie-donut-text.d.ts +2 -0
  447. package/dist/primitives/charts/pie/chart-pie-donut.d.ts +2 -0
  448. package/dist/primitives/charts/pie/chart-pie-interactive.d.ts +2 -0
  449. package/dist/primitives/charts/pie/chart-pie-label-custom.d.ts +2 -0
  450. package/dist/primitives/charts/pie/chart-pie-label-list.d.ts +2 -0
  451. package/dist/primitives/charts/pie/chart-pie-label.d.ts +2 -0
  452. package/dist/primitives/charts/pie/chart-pie-legend.d.ts +2 -0
  453. package/dist/primitives/charts/pie/chart-pie-separator-none.d.ts +2 -0
  454. package/dist/primitives/charts/pie/index.d.ts +9 -0
  455. package/dist/primitives/charts/radar/chart-radar-default.d.ts +2 -0
  456. package/dist/primitives/charts/radar/chart-radar-dots.d.ts +2 -0
  457. package/dist/primitives/charts/radar/chart-radar-grid-circle-fill.d.ts +2 -0
  458. package/dist/primitives/charts/radar/chart-radar-grid-circle-no-lines.d.ts +2 -0
  459. package/dist/primitives/charts/radar/chart-radar-grid-circle.d.ts +2 -0
  460. package/dist/primitives/charts/radar/chart-radar-grid-custom.d.ts +2 -0
  461. package/dist/primitives/charts/radar/chart-radar-grid-fill.d.ts +2 -0
  462. package/dist/primitives/charts/radar/chart-radar-grid-none.d.ts +2 -0
  463. package/dist/primitives/charts/radar/chart-radar-icons.d.ts +2 -0
  464. package/dist/primitives/charts/radar/index.d.ts +9 -0
  465. package/dist/primitives/charts/radial/chart-radial-grid.d.ts +2 -0
  466. package/dist/primitives/charts/radial/chart-radial-label.d.ts +2 -0
  467. package/dist/primitives/charts/radial/chart-radial-shape.d.ts +2 -0
  468. package/dist/primitives/charts/radial/chart-radial-simple.d.ts +2 -0
  469. package/dist/primitives/charts/radial/chart-radial-stacked.d.ts +2 -0
  470. package/dist/primitives/charts/radial/chart-radial-text.d.ts +2 -0
  471. package/dist/primitives/charts/radial/index.d.ts +6 -0
  472. package/dist/primitives/charts/tooltip/chart-tooltip-advanced.d.ts +2 -0
  473. package/dist/primitives/charts/tooltip/chart-tooltip-default.d.ts +4 -0
  474. package/dist/primitives/charts/tooltip/chart-tooltip-formatter.d.ts +2 -0
  475. package/dist/primitives/charts/tooltip/chart-tooltip-icons.d.ts +2 -0
  476. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-line.d.ts +4 -0
  477. package/dist/primitives/charts/tooltip/chart-tooltip-indicator-none.d.ts +2 -0
  478. package/dist/primitives/charts/tooltip/chart-tooltip-label-custom.d.ts +2 -0
  479. package/dist/primitives/charts/tooltip/chart-tooltip-label-formatter.d.ts +2 -0
  480. package/dist/primitives/charts/tooltip/chart-tooltip-label-none.d.ts +2 -0
  481. package/dist/primitives/charts/tooltip/index.d.ts +9 -0
  482. package/dist/primitives/chat/chat-input-area.d.ts +23 -0
  483. package/dist/primitives/chat/chat-input.d.ts +12 -0
  484. package/dist/primitives/chat/files-preview.d.ts +12 -0
  485. package/dist/primitives/chat/index.d.ts +6 -0
  486. package/dist/primitives/chat/json-form.d.ts +3 -0
  487. package/dist/primitives/chat/message-list.d.ts +19 -0
  488. package/dist/primitives/chat/message.d.ts +29 -0
  489. package/dist/primitives/chat/sqlite-preview.d.ts +5 -0
  490. package/dist/primitives/checkbox.d.ts +11 -0
  491. package/dist/primitives/collapsible.d.ts +5 -0
  492. package/dist/primitives/combobox.d.ts +41 -0
  493. package/dist/primitives/command.d.ts +38 -0
  494. package/dist/primitives/context-menu.d.ts +53 -0
  495. package/dist/primitives/copy-to-clipboard-icon.d.ts +14 -0
  496. package/dist/primitives/dialog-video-controller.d.ts +3 -0
  497. package/dist/primitives/dialog.d.ts +17 -0
  498. package/dist/primitives/dot-pattern.d.ts +13 -0
  499. package/dist/primitives/dots-loader.d.ts +4 -0
  500. package/dist/primitives/drawer.d.ts +37 -0
  501. package/dist/primitives/dropdown-menu.d.ts +51 -0
  502. package/dist/primitives/empty.d.ts +11 -0
  503. package/dist/primitives/error-message.d.ts +6 -0
  504. package/dist/primitives/field.d.ts +9 -0
  505. package/dist/primitives/file-uploader.d.ts +19 -0
  506. package/dist/primitives/form.d.ts +39 -0
  507. package/dist/primitives/hover-card.d.ts +9 -0
  508. package/dist/primitives/icons/github.d.ts +4 -0
  509. package/dist/primitives/icons/index.d.ts +4 -0
  510. package/dist/primitives/icons/youtube-logo.d.ts +4 -0
  511. package/dist/primitives/index-blocks.d.ts +4 -0
  512. package/dist/primitives/index-common.d.ts +74 -0
  513. package/dist/primitives/index-core.d.ts +28 -0
  514. package/dist/primitives/index-next.d.ts +2 -0
  515. package/dist/primitives/index-selective.d.ts +51 -0
  516. package/dist/primitives/index-standard.d.ts +78 -0
  517. package/dist/primitives/index.d.ts +1 -0
  518. package/dist/primitives/index.js +9650 -0
  519. package/dist/primitives/index.mjs +9234 -0
  520. package/dist/primitives/input-group.d.ts +16 -0
  521. package/dist/primitives/input-otp.d.ts +34 -0
  522. package/dist/primitives/input.d.ts +14 -0
  523. package/dist/primitives/item.d.ts +23 -0
  524. package/dist/primitives/kbd.d.ts +4 -0
  525. package/dist/primitives/label.d.ts +10 -0
  526. package/dist/primitives/list-adaptor.d.ts +9 -0
  527. package/dist/primitives/list-box.d.ts +11 -0
  528. package/dist/primitives/loading-spinner.d.ts +5 -0
  529. package/dist/primitives/markdown-preview.d.ts +128 -0
  530. package/dist/primitives/menubar.d.ts +28 -0
  531. package/dist/primitives/mermaid.d.ts +7 -0
  532. package/dist/primitives/native-select.d.ts +8 -0
  533. package/dist/primitives/navigation-menu.d.ts +12 -0
  534. package/dist/primitives/next/image.d.ts +11 -0
  535. package/dist/primitives/next/index.d.ts +7 -0
  536. package/dist/primitives/next/inline-icon.d.ts +13 -0
  537. package/dist/primitives/next/link-element.d.ts +23 -0
  538. package/dist/primitives/next/mdx-link.d.ts +3 -0
  539. package/dist/primitives/next/media-stack.d.ts +8 -0
  540. package/dist/primitives/next/nav-items.d.ts +10 -0
  541. package/dist/primitives/next/youtube-embed.d.ts +11 -0
  542. package/dist/primitives/pagination.d.ts +34 -0
  543. package/dist/primitives/popover.d.ts +11 -0
  544. package/dist/primitives/pretty-json-print.d.ts +4 -0
  545. package/dist/primitives/progress.d.ts +8 -0
  546. package/dist/primitives/prompt-textarea.d.ts +18 -0
  547. package/dist/primitives/qr-code.d.ts +16 -0
  548. package/dist/primitives/radio-group.d.ts +11 -0
  549. package/dist/primitives/resizable.d.ts +23 -0
  550. package/dist/primitives/scroll-area.d.ts +13 -0
  551. package/dist/primitives/search-input.d.ts +13 -0
  552. package/dist/primitives/select.d.ts +26 -0
  553. package/dist/primitives/separator.d.ts +8 -0
  554. package/dist/primitives/sheet.d.ts +40 -0
  555. package/dist/primitives/sidebar.d.ts +69 -0
  556. package/dist/primitives/skeleton.d.ts +4 -0
  557. package/dist/primitives/slider.d.ts +5 -0
  558. package/dist/primitives/sonner.d.ts +5 -0
  559. package/dist/primitives/spinner.d.ts +2 -0
  560. package/dist/primitives/step-indicator.d.ts +9 -0
  561. package/dist/primitives/stepper.d.ts +48 -0
  562. package/dist/primitives/switch.d.ts +8 -0
  563. package/dist/primitives/table.d.ts +34 -0
  564. package/dist/primitives/tabs.d.ts +11 -0
  565. package/dist/primitives/text-area.d.ts +5 -0
  566. package/dist/primitives/text-link.d.ts +5 -0
  567. package/dist/primitives/textarea.d.ts +12 -0
  568. package/dist/primitives/textfield.d.ts +32 -0
  569. package/dist/primitives/toast.d.ts +5 -0
  570. package/dist/primitives/toggle-group.d.ts +13 -0
  571. package/dist/primitives/toggle.d.ts +12 -0
  572. package/dist/primitives/tooltip.d.ts +14 -0
  573. package/dist/primitives/video-player.d.ts +6 -0
  574. package/dist/primitives/youtube-pip-player.d.ts +32 -0
  575. package/dist/primitives-export.js +9650 -0
  576. package/dist/primitives-export.mjs +9234 -0
  577. package/dist/progress.js +62 -0
  578. package/dist/progress.mjs +37 -0
  579. package/dist/project/gantt.js +65 -0
  580. package/dist/project/gantt.mjs +43 -0
  581. package/dist/project/index.js +636 -0
  582. package/dist/project/index.mjs +611 -0
  583. package/dist/project/kanban.js +597 -0
  584. package/dist/project/kanban.mjs +572 -0
  585. package/dist/project/list.js +35 -0
  586. package/dist/project/list.mjs +12 -0
  587. package/dist/radio-group.js +68 -0
  588. package/dist/radio-group.mjs +45 -0
  589. package/dist/resizable.js +72 -0
  590. package/dist/resizable.mjs +48 -0
  591. package/dist/scroll-area.js +89 -0
  592. package/dist/scroll-area.mjs +66 -0
  593. package/dist/select.js +140 -0
  594. package/dist/select.mjs +111 -0
  595. package/dist/separator.js +59 -0
  596. package/dist/separator.mjs +34 -0
  597. package/dist/sheet.js +148 -0
  598. package/dist/sheet.mjs +117 -0
  599. package/dist/skeleton.js +32 -0
  600. package/dist/skeleton.mjs +27 -0
  601. package/dist/slider.js +99 -0
  602. package/dist/slider.mjs +73 -0
  603. package/dist/sonner.js +34 -0
  604. package/dist/sonner.mjs +29 -0
  605. package/dist/spline/index.js +211 -0
  606. package/dist/spline/index.mjs +202 -0
  607. package/dist/spline/media-stack.js +193 -0
  608. package/dist/spline/media-stack.mjs +185 -0
  609. package/dist/spline/player.js +37 -0
  610. package/dist/spline/player.mjs +31 -0
  611. package/dist/src/3d/button.d.ts +26 -0
  612. package/dist/src/3d/card.d.ts +28 -0
  613. package/dist/src/3d/carousel.d.ts +25 -0
  614. package/dist/src/3d/grid.d.ts +48 -0
  615. package/dist/src/3d/index.d.ts +6 -0
  616. package/dist/src/3d/marquee.d.ts +36 -0
  617. package/dist/src/3d/pin.d.ts +7 -0
  618. package/dist/src/animation/apple-cards-carousel.d.ts +35 -0
  619. package/dist/src/animation/apple-hello-effect.d.ts +7 -0
  620. package/dist/src/animation/background.d.ts +102 -0
  621. package/dist/src/animation/beam.d.ts +14 -0
  622. package/dist/src/animation/cursor.d.ts +69 -0
  623. package/dist/src/animation/icon.d.ts +118 -0
  624. package/dist/src/animation/index.d.ts +14 -0
  625. package/dist/src/animation/list.d.ts +125 -0
  626. package/dist/src/animation/number.d.ts +126 -0
  627. package/dist/src/animation/testimonials.d.ts +16 -0
  628. package/dist/src/animation/tooltip.d.ts +8 -0
  629. package/dist/src/avatar.d.ts +1 -0
  630. package/dist/src/badge.d.ts +1 -0
  631. package/dist/src/billing/components/index.d.ts +6 -0
  632. package/dist/src/billing/components/invoice-manager.d.ts +9 -0
  633. package/dist/src/billing/components/payment-manager.d.ts +12 -0
  634. package/dist/src/billing/components/subscription-portal.d.ts +14 -0
  635. package/dist/src/billing/index.d.ts +6 -0
  636. package/dist/src/billing/types/index.d.ts +99 -0
  637. package/dist/src/button.d.ts +1 -0
  638. package/dist/src/calendar-ext/index.d.ts +3 -0
  639. package/dist/src/charts/index.d.ts +64 -0
  640. package/dist/src/code/block.d.ts +21 -0
  641. package/dist/src/code/compare.d.ts +35 -0
  642. package/dist/src/code/diff.d.ts +29 -0
  643. package/dist/src/code/editor.d.ts +22 -0
  644. package/dist/src/code/explorer.d.ts +33 -0
  645. package/dist/src/code/index.d.ts +9 -0
  646. package/dist/src/code/preview.d.ts +30 -0
  647. package/dist/src/code/snippet.d.ts +28 -0
  648. package/dist/src/code/tabs.d.ts +11 -0
  649. package/dist/src/code/terminal.d.ts +33 -0
  650. package/dist/src/desktop/hooks.d.ts +74 -0
  651. package/dist/src/desktop/index.d.ts +6 -0
  652. package/dist/src/desktop/spotlight.d.ts +23 -0
  653. package/dist/src/desktop/window.d.ts +33 -0
  654. package/dist/src/device/index.d.ts +1 -0
  655. package/dist/src/dock/basic.d.ts +19 -0
  656. package/dist/src/dock/index.d.ts +5 -0
  657. package/dist/src/dock/limelight-nav.d.ts +9 -0
  658. package/dist/src/dock/macos.d.ts +16 -0
  659. package/dist/src/dock/menu.d.ts +13 -0
  660. package/dist/src/dock/message.d.ts +14 -0
  661. package/dist/src/form/form.d.ts +23 -0
  662. package/dist/src/form/index.d.ts +1 -0
  663. package/dist/src/hooks/index.d.ts +7 -0
  664. package/dist/src/hooks/use-click-away.d.ts +2 -0
  665. package/dist/src/hooks/use-combined-refs.d.ts +3 -0
  666. package/dist/src/hooks/use-copy-clipboard.d.ts +9 -0
  667. package/dist/src/hooks/use-debounce.d.ts +1 -0
  668. package/dist/src/hooks/use-fill-ids.d.ts +8 -0
  669. package/dist/src/hooks/use-map.d.ts +1 -0
  670. package/dist/src/hooks/use-measure.d.ts +8 -0
  671. package/dist/src/hooks/use-reverse-video-playback.d.ts +1 -0
  672. package/dist/src/hooks/use-scroll-restoration.d.ts +8 -0
  673. package/dist/src/kanban/index.d.ts +2 -0
  674. package/dist/src/mcp/enhanced-server.d.ts +7 -0
  675. package/dist/src/mcp/index.d.ts +6 -0
  676. package/dist/src/mermaid/index.d.ts +2 -0
  677. package/dist/src/navigation/advanced-navigation-bar.d.ts +1 -0
  678. package/dist/src/navigation/ai-model-selector-navigation-bar.d.ts +1 -0
  679. package/dist/src/navigation/app-switcher-navigation-bar.d.ts +1 -0
  680. package/dist/src/navigation/breadcrumb-and-filters-navigation-bar.d.ts +1 -0
  681. package/dist/src/navigation/breadcrumb-navigation-bar.d.ts +1 -0
  682. package/dist/src/navigation/centered-logo-navigation-bar.d.ts +1 -0
  683. package/dist/src/navigation/collaboration-navigation-bar.d.ts +1 -0
  684. package/dist/src/navigation/communication-navigation-bar.d.ts +1 -0
  685. package/dist/src/navigation/context-switcher-navigation-bar.d.ts +1 -0
  686. package/dist/src/navigation/dashboard-navigation-bar.d.ts +1 -0
  687. package/dist/src/navigation/e-commerce-navigation-bar.d.ts +1 -0
  688. package/dist/src/navigation/icon-navigation-bar.d.ts +1 -0
  689. package/dist/src/navigation/index.d.ts +18 -0
  690. package/dist/src/navigation/search-and-toggle-navigation-bar.d.ts +1 -0
  691. package/dist/src/navigation/simple-navigation-bar.d.ts +1 -0
  692. package/dist/src/navigation/status-dashboard-navigation-bar.d.ts +1 -0
  693. package/dist/src/navigation/team-switcher-navigation-bar.d.ts +1 -0
  694. package/dist/src/navigation/two-tier-navigation-bar.d.ts +1 -0
  695. package/dist/src/navigation/underline-navigation-bar.d.ts +1 -0
  696. package/dist/src/pattern/grid.d.ts +110 -0
  697. package/dist/src/pattern/index.d.ts +2 -0
  698. package/dist/src/primitives-export.d.ts +8 -0
  699. package/dist/src/project/gantt.d.ts +12 -0
  700. package/dist/src/project/index.d.ts +3 -0
  701. package/dist/src/project/kanban.d.ts +35 -0
  702. package/dist/src/project/list.d.ts +4 -0
  703. package/dist/src/registry/api.d.ts +37 -0
  704. package/dist/src/registry/index.d.ts +86 -0
  705. package/dist/src/spline/index.d.ts +2 -0
  706. package/dist/src/spline/media-stack.d.ts +14 -0
  707. package/dist/src/spline/player.d.ts +14 -0
  708. package/dist/src/ui/announcement.d.ts +8 -0
  709. package/dist/src/ui/avatar-group.d.ts +11 -0
  710. package/dist/src/ui/banner.d.ts +10 -0
  711. package/dist/src/ui/cursor.d.ts +8 -0
  712. package/dist/src/ui/index.d.ts +17 -0
  713. package/dist/src/ui/marquee.d.ts +9 -0
  714. package/dist/src/ui/pill.d.ts +10 -0
  715. package/dist/src/ui/spinner.d.ts +2 -0
  716. package/dist/src/ui/tags.d.ts +12 -0
  717. package/dist/src/ui/ticker.d.ts +9 -0
  718. package/dist/src/utils.d.ts +4 -0
  719. package/dist/style/theme-provider.d.ts +4 -0
  720. package/dist/switch.js +62 -0
  721. package/dist/switch.mjs +37 -0
  722. package/dist/table.js +110 -0
  723. package/dist/table.mjs +101 -0
  724. package/dist/tabs.js +128 -0
  725. package/dist/tabs.mjs +102 -0
  726. package/dist/tailwind/fontFamily.tailwind.d.ts +8 -0
  727. package/dist/tailwind/fontSize.tailwind.d.ts +36 -0
  728. package/dist/tailwind/index.d.ts +3 -0
  729. package/dist/tailwind/index.js +2023 -0
  730. package/dist/tailwind/index.mjs +2011 -0
  731. package/dist/tailwind/screens.tailwind.d.ts +9 -0
  732. package/dist/tailwind/tw-font-desc.d.ts +6 -0
  733. package/dist/textarea.js +78 -0
  734. package/dist/textarea.mjs +56 -0
  735. package/dist/toggle-group.js +118 -0
  736. package/dist/toggle-group.mjs +93 -0
  737. package/dist/toggle.js +71 -0
  738. package/dist/toggle.mjs +48 -0
  739. package/dist/tooltip.js +67 -0
  740. package/dist/tooltip.mjs +40 -0
  741. package/dist/types/animation-def.d.ts +2 -0
  742. package/dist/types/breakpoints.d.ts +4 -0
  743. package/dist/types/bullet-item.d.ts +6 -0
  744. package/dist/types/button-def.d.ts +29 -0
  745. package/dist/types/dimensions.d.ts +5 -0
  746. package/dist/types/grid-def.d.ts +36 -0
  747. package/dist/types/image-def.d.ts +27 -0
  748. package/dist/types/index.d.ts +14 -0
  749. package/dist/types/index.js +57 -0
  750. package/dist/types/index.mjs +51 -0
  751. package/dist/types/link-def.d.ts +44 -0
  752. package/dist/types/media-stack-def.d.ts +25 -0
  753. package/dist/types/t-shirt-size.d.ts +2 -0
  754. package/dist/types/tshirt-dimensions.d.ts +12 -0
  755. package/dist/types/video-def.d.ts +9 -0
  756. package/dist/ui/announcement.js +134 -0
  757. package/dist/ui/announcement.mjs +112 -0
  758. package/dist/ui/avatar-group.js +88 -0
  759. package/dist/ui/avatar-group.mjs +65 -0
  760. package/dist/ui/banner.js +85 -0
  761. package/dist/ui/banner.mjs +62 -0
  762. package/dist/ui/cursor.js +78 -0
  763. package/dist/ui/cursor.mjs +56 -0
  764. package/dist/ui/index.js +495 -0
  765. package/dist/ui/index.mjs +462 -0
  766. package/dist/ui/marquee.js +74 -0
  767. package/dist/ui/marquee.mjs +52 -0
  768. package/dist/ui/pill.js +85 -0
  769. package/dist/ui/pill.mjs +62 -0
  770. package/dist/ui/spinner.js +28 -0
  771. package/dist/ui/spinner.mjs +26 -0
  772. package/dist/ui/tags.js +117 -0
  773. package/dist/ui/tags.mjs +95 -0
  774. package/dist/ui/ticker.js +73 -0
  775. package/dist/ui/ticker.mjs +51 -0
  776. package/dist/util/blob.d.ts +2 -0
  777. package/dist/util/copy-to-clipboard.d.ts +1 -0
  778. package/dist/util/create-shadow-root.d.ts +7 -0
  779. package/dist/util/date.d.ts +28 -0
  780. package/dist/util/debounce.d.ts +1 -0
  781. package/dist/util/file.d.ts +3 -0
  782. package/dist/util/format-and-abbreviate-as-currency.d.ts +11 -0
  783. package/dist/util/format-text.d.ts +7 -0
  784. package/dist/util/format-to-max-char.d.ts +5 -0
  785. package/dist/util/index-client.d.ts +2 -0
  786. package/dist/util/index.d.ts +36 -0
  787. package/dist/util/index.js +463 -0
  788. package/dist/util/index.mjs +404 -0
  789. package/dist/util/number-abbreviate.d.ts +9 -0
  790. package/dist/util/specifier.d.ts +7 -0
  791. package/dist/util/spread-to-transform.d.ts +7 -0
  792. package/dist/util/step-animation.d.ts +5 -0
  793. package/dist/util/timing.d.ts +1 -0
  794. package/dist/util/toasts.d.ts +2 -0
  795. package/dist/util/two-way-map.d.ts +8 -0
  796. package/dist/util/use-mobile.d.ts +1 -0
  797. package/dist/utils.d.ts +3 -0
  798. package/docs/_registry/index.ts +426 -0
  799. package/docs/_registry/layout/docs-min.tsx +197 -0
  800. package/docs/_registry/layout/page-min.tsx +128 -0
  801. package/docs/components/accordion.tsx +118 -0
  802. package/docs/components/banner.tsx +144 -0
  803. package/docs/components/callout.tsx +112 -0
  804. package/docs/components/card.tsx +52 -0
  805. package/docs/components/codeblock.tsx +258 -0
  806. package/docs/components/dialog/search-algolia.tsx +132 -0
  807. package/docs/components/dialog/search-default.tsx +131 -0
  808. package/docs/components/dialog/search-orama.tsx +143 -0
  809. package/docs/components/dialog/search.tsx +529 -0
  810. package/docs/components/dynamic-codeblock.tsx +129 -0
  811. package/docs/components/files.tsx +81 -0
  812. package/docs/components/github-info.tsx +107 -0
  813. package/docs/components/heading.tsx +33 -0
  814. package/docs/components/image-zoom.css +77 -0
  815. package/docs/components/image-zoom.tsx +58 -0
  816. package/docs/components/index.ts +7 -0
  817. package/docs/components/inline-toc.tsx +48 -0
  818. package/docs/components/sidebar/base.tsx +451 -0
  819. package/docs/components/sidebar/link-item.tsx +65 -0
  820. package/docs/components/sidebar/page-tree.tsx +113 -0
  821. package/docs/components/sidebar/tabs/dropdown.tsx +109 -0
  822. package/docs/components/sidebar/tabs/index.tsx +89 -0
  823. package/docs/components/steps.tsx +9 -0
  824. package/docs/components/tabs.tsx +203 -0
  825. package/docs/components/toc/clerk.tsx +173 -0
  826. package/docs/components/toc/default.tsx +57 -0
  827. package/docs/components/toc/index.tsx +136 -0
  828. package/docs/components/type-table.tsx +174 -0
  829. package/docs/components/ui/accordion.tsx +88 -0
  830. package/docs/components/ui/button.tsx +28 -0
  831. package/docs/components/ui/collapsible.tsx +42 -0
  832. package/docs/components/ui/navigation-menu.tsx +83 -0
  833. package/docs/components/ui/popover.tsx +32 -0
  834. package/docs/components/ui/scroll-area.tsx +59 -0
  835. package/docs/components/ui/tabs.tsx +145 -0
  836. package/docs/contexts/i18n.tsx +56 -0
  837. package/docs/contexts/search.tsx +165 -0
  838. package/docs/contexts/tree.tsx +65 -0
  839. package/docs/css/aspen.css +39 -0
  840. package/docs/css/black.css +39 -0
  841. package/docs/css/catppuccin.css +49 -0
  842. package/docs/css/colors/index.css +51 -0
  843. package/docs/css/dusk.css +47 -0
  844. package/docs/css/emerald.css +39 -0
  845. package/docs/css/layouts/docs.css +1 -0
  846. package/docs/css/layouts/home.css +1 -0
  847. package/docs/css/layouts/notebook.css +1 -0
  848. package/docs/css/neutral.css +7 -0
  849. package/docs/css/ocean.css +48 -0
  850. package/docs/css/preset.css +305 -0
  851. package/docs/css/purple.css +39 -0
  852. package/docs/css/ruby.css +39 -0
  853. package/docs/css/shadcn.css +36 -0
  854. package/docs/css/shiki.css +90 -0
  855. package/docs/css/solar.css +75 -0
  856. package/docs/css/style.css +9 -0
  857. package/docs/css/vitepress.css +77 -0
  858. package/docs/i18n.tsx +30 -0
  859. package/docs/icons.tsx +354 -0
  860. package/docs/layouts/docs/client.tsx +129 -0
  861. package/docs/layouts/docs/index.tsx +321 -0
  862. package/docs/layouts/docs/page/client.tsx +376 -0
  863. package/docs/layouts/docs/page/index.tsx +251 -0
  864. package/docs/layouts/docs/sidebar.tsx +265 -0
  865. package/docs/layouts/home/client.tsx +375 -0
  866. package/docs/layouts/home/index.tsx +51 -0
  867. package/docs/layouts/home/navbar.tsx +55 -0
  868. package/docs/layouts/notebook/client.tsx +281 -0
  869. package/docs/layouts/notebook/index.tsx +461 -0
  870. package/docs/layouts/notebook/page/client.tsx +375 -0
  871. package/docs/layouts/notebook/page/index.tsx +251 -0
  872. package/docs/layouts/notebook/sidebar.tsx +248 -0
  873. package/docs/layouts/shared/index.tsx +89 -0
  874. package/docs/layouts/shared/language-toggle.tsx +66 -0
  875. package/docs/layouts/shared/link-item.tsx +119 -0
  876. package/docs/layouts/shared/search-toggle.tsx +78 -0
  877. package/docs/layouts/shared/theme-toggle.tsx +86 -0
  878. package/docs/mdx.server.tsx +37 -0
  879. package/docs/mdx.tsx +97 -0
  880. package/docs/og.tsx +101 -0
  881. package/docs/page.tsx +85 -0
  882. package/docs/provider/base.tsx +173 -0
  883. package/docs/provider/next.tsx +23 -0
  884. package/docs/provider/react-router.tsx +23 -0
  885. package/docs/provider/tanstack.tsx +23 -0
  886. package/docs/provider/waku.tsx +23 -0
  887. package/docs/source.ts +3 -0
  888. package/docs/theme/typography/LICENSE +21 -0
  889. package/docs/theme/typography/index.ts +201 -0
  890. package/docs/theme/typography/styles.ts +449 -0
  891. package/docs/utils/cn.ts +1 -0
  892. package/docs/utils/is-active.ts +23 -0
  893. package/docs/utils/merge-refs.ts +15 -0
  894. package/docs/utils/use-copy-button.ts +39 -0
  895. package/docs/utils/use-footer-items.ts +27 -0
  896. package/docs/utils/use-is-scroll-top.ts +21 -0
  897. package/finance/README.md +164 -0
  898. package/finance/components/AdvancedChart.tsx +58 -0
  899. package/finance/components/CompanyProfile.tsx +65 -0
  900. package/finance/components/CryptoScreener.tsx +55 -0
  901. package/finance/components/Financials.tsx +71 -0
  902. package/finance/components/ForexScreener.tsx +56 -0
  903. package/finance/components/MarketOverview.tsx +114 -0
  904. package/finance/components/NewsTimeline.tsx +54 -0
  905. package/finance/components/OrderEntry.tsx +157 -0
  906. package/finance/components/OrdersHistory.tsx +103 -0
  907. package/finance/components/PositionsList.tsx +85 -0
  908. package/finance/components/StockScreener.tsx +56 -0
  909. package/finance/components/SymbolInfo.tsx +62 -0
  910. package/finance/components/TechnicalAnalysis.tsx +74 -0
  911. package/finance/components/TickerTape.tsx +66 -0
  912. package/finance/components/TradingPanel.tsx +238 -0
  913. package/finance/components/index.ts +40 -0
  914. package/finance/index.ts +23 -0
  915. package/package.json +803 -0
  916. package/style/drawer.css +163 -0
  917. package/style/globals.css +146 -0
  918. package/style/libreapps-common.css +31 -0
  919. package/style/libreapps-default-colors.css +147 -0
  920. package/style/tailwind.css +200 -0
  921. package/style/theme-provider.tsx +20 -0
@@ -0,0 +1,1518 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var React3 = require('react');
5
+ var classVarianceAuthority = require('class-variance-authority');
6
+ var utils = require('@libreapps/ui/lib/utils');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+ var lucideReact = require('lucide-react');
9
+ var framerMotion = require('framer-motion');
10
+
11
+ function _interopNamespace(e) {
12
+ if (e && e.__esModule) return e;
13
+ var n = Object.create(null);
14
+ if (e) {
15
+ Object.keys(e).forEach(function (k) {
16
+ if (k !== 'default') {
17
+ var d = Object.getOwnPropertyDescriptor(e, k);
18
+ Object.defineProperty(n, k, d.get ? d : {
19
+ enumerable: true,
20
+ get: function () { return e[k]; }
21
+ });
22
+ }
23
+ });
24
+ }
25
+ n.default = e;
26
+ return Object.freeze(n);
27
+ }
28
+
29
+ var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
30
+
31
+ var __defProp = Object.defineProperty;
32
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
33
+ var button3DVariants = classVarianceAuthority.cva(
34
+ [
35
+ "relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium",
36
+ "transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
37
+ "disabled:pointer-events-none disabled:opacity-50 cursor-pointer select-none",
38
+ "transform-gpu will-change-transform active:scale-95",
39
+ "before:absolute before:inset-0 before:rounded-md before:transition-all before:duration-150",
40
+ "after:absolute after:inset-0 after:rounded-md after:transition-all after:duration-150"
41
+ ],
42
+ {
43
+ variants: {
44
+ variant: {
45
+ default: [
46
+ "bg-primary text-primary-foreground shadow-md hover:bg-primary/90",
47
+ "before:bg-gradient-to-t before:from-primary/80 before:to-primary before:translate-y-1 before:shadow-lg",
48
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
49
+ "after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0",
50
+ "hover:after:opacity-100"
51
+ ],
52
+ destructive: [
53
+ "bg-destructive text-destructive-foreground shadow-md hover:bg-destructive/90",
54
+ "before:bg-gradient-to-t before:from-destructive/80 before:to-destructive before:translate-y-1 before:shadow-lg",
55
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
56
+ "after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0",
57
+ "hover:after:opacity-100"
58
+ ],
59
+ outline: [
60
+ "border border-input bg-background text-foreground shadow-sm hover:bg-accent hover:text-accent-foreground",
61
+ "before:bg-gradient-to-t before:from-muted/50 before:to-background before:translate-y-1 before:border before:border-input",
62
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
63
+ "after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0",
64
+ "hover:after:opacity-100"
65
+ ],
66
+ secondary: [
67
+ "bg-secondary text-secondary-foreground shadow-md hover:bg-secondary/80",
68
+ "before:bg-gradient-to-t before:from-secondary/80 before:to-secondary before:translate-y-1 before:shadow-lg",
69
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
70
+ "after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0",
71
+ "hover:after:opacity-100"
72
+ ],
73
+ ghost: [
74
+ "text-foreground hover:bg-accent hover:text-accent-foreground",
75
+ "before:bg-gradient-to-t before:from-accent/30 before:to-accent/10 before:translate-y-1 before:opacity-0",
76
+ "hover:before:opacity-100 hover:before:translate-y-0.5 active:before:translate-y-0",
77
+ "after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0",
78
+ "hover:after:opacity-50"
79
+ ],
80
+ link: [
81
+ "text-primary underline-offset-4 hover:underline",
82
+ "before:hidden after:hidden"
83
+ ],
84
+ neon: [
85
+ "bg-gradient-to-r from-purple-500 to-pink-500 text-white shadow-lg",
86
+ "before:bg-gradient-to-t before:from-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg",
87
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
88
+ "after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0",
89
+ "hover:after:opacity-100",
90
+ "hover:shadow-purple-500/25 hover:shadow-2xl"
91
+ ],
92
+ glass: [
93
+ "bg-white/10 backdrop-blur-md border border-white/20 text-foreground shadow-lg",
94
+ "before:bg-gradient-to-t before:from-white/5 before:to-white/20 before:translate-y-1 before:backdrop-blur-md before:border before:border-white/20",
95
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
96
+ "after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0",
97
+ "hover:after:opacity-100"
98
+ ],
99
+ gradient: [
100
+ "bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 text-white shadow-lg",
101
+ "before:bg-gradient-to-t before:from-blue-600 before:via-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg",
102
+ "hover:before:translate-y-0.5 active:before:translate-y-0",
103
+ "after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0",
104
+ "hover:after:opacity-100",
105
+ "hover:bg-gradient-to-r hover:from-blue-400 hover:via-purple-400 hover:to-pink-400"
106
+ ]
107
+ },
108
+ size: {
109
+ default: "h-10 px-4 py-2",
110
+ sm: "h-9 rounded-md px-3",
111
+ lg: "h-11 rounded-md px-8",
112
+ xl: "h-12 rounded-lg px-10 text-base",
113
+ icon: "h-10 w-10"
114
+ },
115
+ depth: {
116
+ none: "before:translate-y-0",
117
+ sm: "before:translate-y-0.5 hover:before:translate-y-0 active:before:translate-y-0",
118
+ default: "before:translate-y-1 hover:before:translate-y-0.5 active:before:translate-y-0",
119
+ lg: "before:translate-y-1.5 hover:before:translate-y-0.5 active:before:translate-y-0",
120
+ xl: "before:translate-y-2 hover:before:translate-y-1 active:before:translate-y-0"
121
+ }
122
+ },
123
+ defaultVariants: {
124
+ variant: "default",
125
+ size: "default",
126
+ depth: "default"
127
+ }
128
+ }
129
+ );
130
+ var Button3D = React3__namespace.forwardRef(
131
+ ({
132
+ className,
133
+ variant,
134
+ size,
135
+ depth,
136
+ tiltOnHover = false,
137
+ glowIntensity = 0,
138
+ shadowColor,
139
+ pressAnimation = true,
140
+ children,
141
+ onMouseEnter,
142
+ onMouseLeave,
143
+ onMouseMove,
144
+ onMouseDown,
145
+ onMouseUp,
146
+ style,
147
+ ...props
148
+ }, ref) => {
149
+ const buttonRef = React3__namespace.useRef(null);
150
+ const [isHovered, setIsHovered] = React3__namespace.useState(false);
151
+ const [isPressed, setIsPressed] = React3__namespace.useState(false);
152
+ const [tiltTransform, setTiltTransform] = React3__namespace.useState({ x: 0, y: 0 });
153
+ const updateTilt = React3__namespace.useCallback(
154
+ (e) => {
155
+ if (!tiltOnHover || !buttonRef.current) return;
156
+ const rect = buttonRef.current.getBoundingClientRect();
157
+ const centerX = rect.left + rect.width / 2;
158
+ const centerY = rect.top + rect.height / 2;
159
+ const deltaX = (e.clientX - centerX) / (rect.width / 2);
160
+ const deltaY = (e.clientY - centerY) / (rect.height / 2);
161
+ setTiltTransform({
162
+ x: deltaY * -10,
163
+ // Inverted for more natural feel
164
+ y: deltaX * 10
165
+ });
166
+ },
167
+ [tiltOnHover]
168
+ );
169
+ const resetTilt = React3__namespace.useCallback(() => {
170
+ setTiltTransform({ x: 0, y: 0 });
171
+ }, []);
172
+ const handleMouseEnter = React3__namespace.useCallback(
173
+ (e) => {
174
+ setIsHovered(true);
175
+ onMouseEnter?.(e);
176
+ },
177
+ [onMouseEnter]
178
+ );
179
+ const handleMouseLeave = React3__namespace.useCallback(
180
+ (e) => {
181
+ setIsHovered(false);
182
+ resetTilt();
183
+ onMouseLeave?.(e);
184
+ },
185
+ [onMouseLeave, resetTilt]
186
+ );
187
+ const handleMouseMove = React3__namespace.useCallback(
188
+ (e) => {
189
+ if (tiltOnHover) {
190
+ updateTilt(e);
191
+ }
192
+ onMouseMove?.(e);
193
+ },
194
+ [onMouseMove, tiltOnHover, updateTilt]
195
+ );
196
+ const handleMouseDown = React3__namespace.useCallback(
197
+ (e) => {
198
+ if (pressAnimation) {
199
+ setIsPressed(true);
200
+ }
201
+ onMouseDown?.(e);
202
+ },
203
+ [onMouseDown, pressAnimation]
204
+ );
205
+ const handleMouseUp = React3__namespace.useCallback(
206
+ (e) => {
207
+ setIsPressed(false);
208
+ onMouseUp?.(e);
209
+ },
210
+ [onMouseUp]
211
+ );
212
+ React3__namespace.useImperativeHandle(ref, () => buttonRef.current);
213
+ const buttonStyle = {
214
+ ...style,
215
+ transform: tiltOnHover ? `perspective(1000px) rotateX(${tiltTransform.x}deg) rotateY(${tiltTransform.y}deg) ${isPressed ? "translateY(1px)" : ""}` : isPressed ? "translateY(1px)" : void 0,
216
+ filter: glowIntensity > 0 ? `drop-shadow(0 0 ${glowIntensity * 4}px ${shadowColor || "currentColor"})` : void 0,
217
+ transition: "all 150ms cubic-bezier(0.4, 0, 0.2, 1)"
218
+ };
219
+ return /* @__PURE__ */ jsxRuntime.jsx(
220
+ "button",
221
+ {
222
+ ref: buttonRef,
223
+ className: utils.cn(button3DVariants({ variant, size, depth }), className),
224
+ style: buttonStyle,
225
+ onMouseEnter: handleMouseEnter,
226
+ onMouseLeave: handleMouseLeave,
227
+ onMouseMove: handleMouseMove,
228
+ onMouseDown: handleMouseDown,
229
+ onMouseUp: handleMouseUp,
230
+ ...props,
231
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 flex items-center justify-center gap-2", children })
232
+ }
233
+ );
234
+ }
235
+ );
236
+ Button3D.displayName = "Button3D";
237
+ var Button3DPreset = {
238
+ Hero: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
239
+ Button3D,
240
+ {
241
+ ref,
242
+ variant: "gradient",
243
+ size: "xl",
244
+ depth: "lg",
245
+ tiltOnHover: true,
246
+ glowIntensity: 2,
247
+ ...props
248
+ }
249
+ )),
250
+ CTA: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
251
+ Button3D,
252
+ {
253
+ ref,
254
+ variant: "neon",
255
+ size: "lg",
256
+ depth: "default",
257
+ tiltOnHover: true,
258
+ glowIntensity: 1,
259
+ ...props
260
+ }
261
+ )),
262
+ Glass: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
263
+ Button3D,
264
+ {
265
+ ref,
266
+ variant: "glass",
267
+ size: "default",
268
+ depth: "sm",
269
+ tiltOnHover: true,
270
+ ...props
271
+ }
272
+ )),
273
+ Minimal: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Button3D, { ref, variant: "ghost", size: "default", depth: "sm", ...props })),
274
+ Danger: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
275
+ Button3D,
276
+ {
277
+ ref,
278
+ variant: "destructive",
279
+ size: "default",
280
+ depth: "default",
281
+ shadowColor: "rgb(239 68 68)",
282
+ ...props
283
+ }
284
+ ))
285
+ };
286
+ Button3DPreset.Hero.displayName = "Button3DPreset.Hero";
287
+ Button3DPreset.CTA.displayName = "Button3DPreset.CTA";
288
+ Button3DPreset.Glass.displayName = "Button3DPreset.Glass";
289
+ Button3DPreset.Minimal.displayName = "Button3DPreset.Minimal";
290
+ Button3DPreset.Danger.displayName = "Button3DPreset.Danger";
291
+ var Button3DLoading = React3__namespace.forwardRef(({ loading = false, children, disabled, ...props }, ref) => {
292
+ return /* @__PURE__ */ jsxRuntime.jsxs(Button3D, { ref, disabled: disabled || loading, ...props, children: [
293
+ loading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "animate-spin rounded-full h-4 w-4 border-2 border-current border-t-transparent" }),
294
+ !loading && children
295
+ ] });
296
+ });
297
+ Button3DLoading.displayName = "Button3DLoading";
298
+ var Card3D = React3__namespace.forwardRef(
299
+ ({
300
+ children,
301
+ maxTilt = 15,
302
+ perspective = 1e3,
303
+ scale = 1.05,
304
+ speed = 400,
305
+ glare = true,
306
+ glareMaxOpacity = 0.7,
307
+ className,
308
+ ...props
309
+ }, ref) => {
310
+ const cardRef = React3__namespace.useRef(null);
311
+ const glareRef = React3__namespace.useRef(null);
312
+ const [isHovered, setIsHovered] = React3__namespace.useState(false);
313
+ const [transforms, setTransforms] = React3__namespace.useState({
314
+ rotateX: 0,
315
+ rotateY: 0,
316
+ scale: 1,
317
+ glareX: 50,
318
+ glareY: 50,
319
+ glareOpacity: 0
320
+ });
321
+ const updateTransforms = React3__namespace.useCallback(
322
+ (point, rect) => {
323
+ if (!point || !rect) {
324
+ setTransforms({
325
+ rotateX: 0,
326
+ rotateY: 0,
327
+ scale: 1,
328
+ glareX: 50,
329
+ glareY: 50,
330
+ glareOpacity: 0
331
+ });
332
+ return;
333
+ }
334
+ const centerX = rect.left + rect.width / 2;
335
+ const centerY = rect.top + rect.height / 2;
336
+ const deltaX = (point.x - centerX) / (rect.width / 2);
337
+ const deltaY = (point.y - centerY) / (rect.height / 2);
338
+ const rotateX = -deltaY * maxTilt;
339
+ const rotateY = deltaX * maxTilt;
340
+ const glareX = (point.x - rect.left) / rect.width * 100;
341
+ const glareY = (point.y - rect.top) / rect.height * 100;
342
+ setTransforms({
343
+ rotateX,
344
+ rotateY,
345
+ scale,
346
+ glareX,
347
+ glareY,
348
+ glareOpacity: glare ? glareMaxOpacity : 0
349
+ });
350
+ },
351
+ [maxTilt, scale, glare, glareMaxOpacity]
352
+ );
353
+ const handleMouseMove = React3__namespace.useCallback(
354
+ (e) => {
355
+ if (!cardRef.current) return;
356
+ const rect = cardRef.current.getBoundingClientRect();
357
+ const point = { x: e.clientX, y: e.clientY };
358
+ updateTransforms(point, rect);
359
+ },
360
+ [updateTransforms]
361
+ );
362
+ const handleTouchMove = React3__namespace.useCallback(
363
+ (e) => {
364
+ if (!cardRef.current || e.touches.length === 0) return;
365
+ e.preventDefault();
366
+ const rect = cardRef.current.getBoundingClientRect();
367
+ const touch = e.touches[0];
368
+ const point = { x: touch.clientX, y: touch.clientY };
369
+ updateTransforms(point, rect);
370
+ },
371
+ [updateTransforms]
372
+ );
373
+ const handleMouseEnter = React3__namespace.useCallback(() => {
374
+ setIsHovered(true);
375
+ }, []);
376
+ const handleMouseLeave = React3__namespace.useCallback(() => {
377
+ setIsHovered(false);
378
+ updateTransforms(null, null);
379
+ }, [updateTransforms]);
380
+ const handleTouchStart = React3__namespace.useCallback(() => {
381
+ setIsHovered(true);
382
+ }, []);
383
+ const handleTouchEnd = React3__namespace.useCallback(() => {
384
+ setIsHovered(false);
385
+ updateTransforms(null, null);
386
+ }, [updateTransforms]);
387
+ const cardStyle = {
388
+ transform: `perspective(${perspective}px) rotateX(${transforms.rotateX}deg) rotateY(${transforms.rotateY}deg) scale(${transforms.scale})`,
389
+ transition: isHovered ? "none" : `transform ${speed}ms cubic-bezier(0.03, 0.98, 0.52, 0.99)`,
390
+ transformStyle: "preserve-3d"
391
+ };
392
+ const glareStyle = {
393
+ background: `radial-gradient(circle at ${transforms.glareX}% ${transforms.glareY}%, rgba(255,255,255,${transforms.glareOpacity}) 0%, transparent 50%)`,
394
+ transition: isHovered ? "none" : `opacity ${speed}ms ease-out`
395
+ };
396
+ React3__namespace.useImperativeHandle(ref, () => cardRef.current);
397
+ return /* @__PURE__ */ jsxRuntime.jsxs(
398
+ "div",
399
+ {
400
+ ref: cardRef,
401
+ className: utils.cn(
402
+ "relative rounded-lg border bg-card text-card-foreground shadow-lg cursor-pointer",
403
+ "transform-gpu will-change-transform",
404
+ className
405
+ ),
406
+ style: cardStyle,
407
+ onMouseMove: handleMouseMove,
408
+ onMouseEnter: handleMouseEnter,
409
+ onMouseLeave: handleMouseLeave,
410
+ onTouchStart: handleTouchStart,
411
+ onTouchMove: handleTouchMove,
412
+ onTouchEnd: handleTouchEnd,
413
+ ...props,
414
+ children: [
415
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10", children }),
416
+ glare && /* @__PURE__ */ jsxRuntime.jsx(
417
+ "div",
418
+ {
419
+ ref: glareRef,
420
+ className: "absolute inset-0 rounded-lg pointer-events-none z-20",
421
+ style: glareStyle
422
+ }
423
+ )
424
+ ]
425
+ }
426
+ );
427
+ }
428
+ );
429
+ Card3D.displayName = "Card3D";
430
+ var Card3DHeader = React3__namespace.forwardRef(({ className, depth = 20, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
431
+ "div",
432
+ {
433
+ ref,
434
+ className: utils.cn("flex flex-col space-y-1.5 p-6", className),
435
+ style: {
436
+ transform: `translateZ(${depth}px)`,
437
+ ...style
438
+ },
439
+ ...props
440
+ }
441
+ ));
442
+ Card3DHeader.displayName = "Card3DHeader";
443
+ var Card3DTitle = React3__namespace.forwardRef(({ className, depth = 30, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
444
+ "h3",
445
+ {
446
+ ref,
447
+ className: utils.cn(
448
+ "text-2xl font-semibold leading-none tracking-tight",
449
+ className
450
+ ),
451
+ style: {
452
+ transform: `translateZ(${depth}px)`,
453
+ ...style
454
+ },
455
+ ...props
456
+ }
457
+ ));
458
+ Card3DTitle.displayName = "Card3DTitle";
459
+ var Card3DDescription = React3__namespace.forwardRef(({ className, depth = 10, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
460
+ "p",
461
+ {
462
+ ref,
463
+ className: utils.cn("text-sm text-muted-foreground", className),
464
+ style: {
465
+ transform: `translateZ(${depth}px)`,
466
+ ...style
467
+ },
468
+ ...props
469
+ }
470
+ ));
471
+ Card3DDescription.displayName = "Card3DDescription";
472
+ var Card3DContent = React3__namespace.forwardRef(({ className, depth = 25, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
473
+ "div",
474
+ {
475
+ ref,
476
+ className: utils.cn("p-6 pt-0", className),
477
+ style: {
478
+ transform: `translateZ(${depth}px)`,
479
+ ...style
480
+ },
481
+ ...props
482
+ }
483
+ ));
484
+ Card3DContent.displayName = "Card3DContent";
485
+ var Card3DFooter = React3__namespace.forwardRef(({ className, depth = 15, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
486
+ "div",
487
+ {
488
+ ref,
489
+ className: utils.cn("flex items-center p-6 pt-0", className),
490
+ style: {
491
+ transform: `translateZ(${depth}px)`,
492
+ ...style
493
+ },
494
+ ...props
495
+ }
496
+ ));
497
+ Card3DFooter.displayName = "Card3DFooter";
498
+ var Carousel3D = React3__namespace.forwardRef(
499
+ ({
500
+ items,
501
+ itemWidth = 300,
502
+ itemHeight = 400,
503
+ spacing = 80,
504
+ perspective = 1e3,
505
+ rotateY = 40,
506
+ autoRotate = false,
507
+ autoRotateSpeed = 3e3,
508
+ showControls = true,
509
+ infinite = true,
510
+ className,
511
+ ...props
512
+ }, ref) => {
513
+ const containerRef = React3__namespace.useRef(null);
514
+ const [currentIndex, setCurrentIndex] = React3__namespace.useState(0);
515
+ const [isHovered, setIsHovered] = React3__namespace.useState(false);
516
+ const [isDragging, setIsDragging] = React3__namespace.useState(false);
517
+ const [dragStart, setDragStart] = React3__namespace.useState({ x: 0, y: 0 });
518
+ const [dragOffset, setDragOffset] = React3__namespace.useState(0);
519
+ const autoRotateRef = React3__namespace.useRef(void 0);
520
+ const totalItems = items.length;
521
+ const radius = (itemWidth + spacing) / 2 / Math.tan(Math.PI / totalItems);
522
+ React3__namespace.useEffect(() => {
523
+ if (autoRotate && !isHovered && !isDragging) {
524
+ autoRotateRef.current = setInterval(() => {
525
+ setCurrentIndex((prev) => (prev + 1) % totalItems);
526
+ }, autoRotateSpeed);
527
+ } else {
528
+ if (autoRotateRef.current) {
529
+ clearInterval(autoRotateRef.current);
530
+ }
531
+ }
532
+ return () => {
533
+ if (autoRotateRef.current) {
534
+ clearInterval(autoRotateRef.current);
535
+ }
536
+ };
537
+ }, [autoRotate, isHovered, isDragging, autoRotateSpeed, totalItems]);
538
+ const goToPrevious = React3__namespace.useCallback(() => {
539
+ setCurrentIndex(
540
+ (prev) => infinite ? (prev - 1 + totalItems) % totalItems : Math.max(0, prev - 1)
541
+ );
542
+ }, [infinite, totalItems]);
543
+ const goToNext = React3__namespace.useCallback(() => {
544
+ setCurrentIndex(
545
+ (prev) => infinite ? (prev + 1) % totalItems : Math.min(totalItems - 1, prev + 1)
546
+ );
547
+ }, [infinite, totalItems]);
548
+ const goToIndex = React3__namespace.useCallback(
549
+ (index) => {
550
+ setCurrentIndex(Math.max(0, Math.min(totalItems - 1, index)));
551
+ },
552
+ [totalItems]
553
+ );
554
+ const handleDragStart = React3__namespace.useCallback(
555
+ (clientX, clientY) => {
556
+ setIsDragging(true);
557
+ setDragStart({ x: clientX, y: clientY });
558
+ setDragOffset(0);
559
+ },
560
+ []
561
+ );
562
+ const handleDragMove = React3__namespace.useCallback(
563
+ (clientX, clientY) => {
564
+ if (!isDragging) return;
565
+ const deltaX = clientX - dragStart.x;
566
+ const sensitivity = 0.5;
567
+ const newOffset = deltaX * sensitivity;
568
+ setDragOffset(newOffset);
569
+ },
570
+ [isDragging, dragStart.x]
571
+ );
572
+ const handleDragEnd = React3__namespace.useCallback(() => {
573
+ if (!isDragging) return;
574
+ const threshold = 50;
575
+ if (Math.abs(dragOffset) > threshold) {
576
+ if (dragOffset > 0) {
577
+ goToPrevious();
578
+ } else {
579
+ goToNext();
580
+ }
581
+ }
582
+ setIsDragging(false);
583
+ setDragOffset(0);
584
+ }, [isDragging, dragOffset, goToPrevious, goToNext]);
585
+ const handleMouseDown = React3__namespace.useCallback(
586
+ (e) => {
587
+ e.preventDefault();
588
+ handleDragStart(e.clientX, e.clientY);
589
+ },
590
+ [handleDragStart]
591
+ );
592
+ const handleMouseMove = React3__namespace.useCallback(
593
+ (e) => {
594
+ handleDragMove(e.clientX, e.clientY);
595
+ },
596
+ [handleDragMove]
597
+ );
598
+ const handleMouseUp = React3__namespace.useCallback(() => {
599
+ handleDragEnd();
600
+ }, [handleDragEnd]);
601
+ const handleTouchStart = React3__namespace.useCallback(
602
+ (e) => {
603
+ if (e.touches.length === 1) {
604
+ const touch = e.touches[0];
605
+ handleDragStart(touch.clientX, touch.clientY);
606
+ }
607
+ },
608
+ [handleDragStart]
609
+ );
610
+ const handleTouchMove = React3__namespace.useCallback(
611
+ (e) => {
612
+ if (e.touches.length === 1) {
613
+ e.preventDefault();
614
+ const touch = e.touches[0];
615
+ handleDragMove(touch.clientX, touch.clientY);
616
+ }
617
+ },
618
+ [handleDragMove]
619
+ );
620
+ const handleTouchEnd = React3__namespace.useCallback(() => {
621
+ handleDragEnd();
622
+ }, [handleDragEnd]);
623
+ React3__namespace.useEffect(() => {
624
+ const handleKeyDown = /* @__PURE__ */ __name((e) => {
625
+ if (e.key === "ArrowLeft") {
626
+ e.preventDefault();
627
+ goToPrevious();
628
+ } else if (e.key === "ArrowRight") {
629
+ e.preventDefault();
630
+ goToNext();
631
+ } else if (e.key >= "1" && e.key <= "9") {
632
+ const index = parseInt(e.key) - 1;
633
+ if (index < totalItems) {
634
+ goToIndex(index);
635
+ }
636
+ }
637
+ }, "handleKeyDown");
638
+ if (containerRef.current) {
639
+ containerRef.current.addEventListener("keydown", handleKeyDown);
640
+ return () => {
641
+ containerRef.current?.removeEventListener("keydown", handleKeyDown);
642
+ };
643
+ }
644
+ }, [goToPrevious, goToNext, goToIndex, totalItems]);
645
+ React3__namespace.useImperativeHandle(ref, () => containerRef.current);
646
+ const containerStyle = {
647
+ perspective: `${perspective}px`,
648
+ height: `${itemHeight + 100}px`
649
+ };
650
+ const carouselStyle = {
651
+ transform: `translateZ(-${radius}px) rotateY(${-currentIndex * (360 / totalItems) + dragOffset / 5}deg)`,
652
+ transition: isDragging ? "none" : "transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1)",
653
+ transformStyle: "preserve-3d"
654
+ };
655
+ return /* @__PURE__ */ jsxRuntime.jsxs(
656
+ "div",
657
+ {
658
+ ref: containerRef,
659
+ className: utils.cn(
660
+ "relative w-full select-none focus:outline-none",
661
+ className
662
+ ),
663
+ style: containerStyle,
664
+ onMouseEnter: () => setIsHovered(true),
665
+ onMouseLeave: () => setIsHovered(false),
666
+ onMouseDown: handleMouseDown,
667
+ onMouseMove: handleMouseMove,
668
+ onMouseUp: handleMouseUp,
669
+ onTouchStart: handleTouchStart,
670
+ onTouchMove: handleTouchMove,
671
+ onTouchEnd: handleTouchEnd,
672
+ tabIndex: 0,
673
+ ...props,
674
+ children: [
675
+ /* @__PURE__ */ jsxRuntime.jsx(
676
+ "div",
677
+ {
678
+ className: "relative mx-auto",
679
+ style: {
680
+ width: `${itemWidth}px`,
681
+ height: `${itemHeight}px`,
682
+ transformStyle: "preserve-3d"
683
+ },
684
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0", style: carouselStyle, children: items.map((item, index) => {
685
+ const angle = index / totalItems * 360;
686
+ const isCurrent = index === currentIndex;
687
+ const itemStyle = {
688
+ transform: `rotateY(${angle}deg) translateZ(${radius}px)`,
689
+ width: `${itemWidth}px`,
690
+ height: `${itemHeight}px`,
691
+ position: "absolute",
692
+ backfaceVisibility: "hidden",
693
+ transformStyle: "preserve-3d"
694
+ };
695
+ return /* @__PURE__ */ jsxRuntime.jsx(
696
+ "div",
697
+ {
698
+ className: utils.cn(
699
+ "rounded-lg border bg-card text-card-foreground shadow-lg cursor-pointer",
700
+ "transition-all duration-300 transform-gpu will-change-transform",
701
+ isCurrent && "ring-2 ring-primary ring-offset-2"
702
+ ),
703
+ style: itemStyle,
704
+ onClick: () => goToIndex(index),
705
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full overflow-hidden rounded-lg", children: item.content })
706
+ },
707
+ item.id
708
+ );
709
+ }) })
710
+ }
711
+ ),
712
+ showControls && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
713
+ /* @__PURE__ */ jsxRuntime.jsx(
714
+ "button",
715
+ {
716
+ className: utils.cn(
717
+ "absolute left-4 top-1/2 -translate-y-1/2 z-10",
718
+ "p-2 rounded-full bg-background/80 backdrop-blur-sm",
719
+ "border shadow-lg hover:bg-background transition-all",
720
+ "disabled:opacity-50 disabled:cursor-not-allowed"
721
+ ),
722
+ onClick: goToPrevious,
723
+ disabled: !infinite && currentIndex === 0,
724
+ "aria-label": "Previous item",
725
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "w-5 h-5" })
726
+ }
727
+ ),
728
+ /* @__PURE__ */ jsxRuntime.jsx(
729
+ "button",
730
+ {
731
+ className: utils.cn(
732
+ "absolute right-4 top-1/2 -translate-y-1/2 z-10",
733
+ "p-2 rounded-full bg-background/80 backdrop-blur-sm",
734
+ "border shadow-lg hover:bg-background transition-all",
735
+ "disabled:opacity-50 disabled:cursor-not-allowed"
736
+ ),
737
+ onClick: goToNext,
738
+ disabled: !infinite && currentIndex === totalItems - 1,
739
+ "aria-label": "Next item",
740
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "w-5 h-5" })
741
+ }
742
+ )
743
+ ] }),
744
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 z-10", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex space-x-2 p-2 rounded-full bg-background/80 backdrop-blur-sm border shadow-lg", children: items.map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
745
+ "button",
746
+ {
747
+ className: utils.cn(
748
+ "w-2 h-2 rounded-full transition-all",
749
+ index === currentIndex ? "bg-primary scale-125" : "bg-muted-foreground/50 hover:bg-muted-foreground/75"
750
+ ),
751
+ onClick: () => goToIndex(index),
752
+ "aria-label": `Go to item ${index + 1}`
753
+ },
754
+ index
755
+ )) }) }),
756
+ autoRotate && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2 p-2 rounded-full bg-background/80 backdrop-blur-sm border shadow-sm", children: [
757
+ /* @__PURE__ */ jsxRuntime.jsx(
758
+ "div",
759
+ {
760
+ className: utils.cn(
761
+ "w-2 h-2 rounded-full transition-all",
762
+ isHovered || isDragging ? "bg-orange-500" : "bg-green-500 animate-pulse"
763
+ )
764
+ }
765
+ ),
766
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: isHovered || isDragging ? "Paused" : "Auto" })
767
+ ] }) })
768
+ ]
769
+ }
770
+ );
771
+ }
772
+ );
773
+ Carousel3D.displayName = "Carousel3D";
774
+ var Carousel3DCard = React3__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
775
+ "div",
776
+ {
777
+ ref,
778
+ className: utils.cn(
779
+ "w-full h-full flex flex-col bg-gradient-to-br from-background to-muted/20",
780
+ "border rounded-lg overflow-hidden group",
781
+ className
782
+ ),
783
+ ...props,
784
+ children
785
+ }
786
+ ));
787
+ Carousel3DCard.displayName = "Carousel3DCard";
788
+ var Carousel3DCardImage = React3__namespace.forwardRef(({ className, alt, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
789
+ "img",
790
+ {
791
+ ref,
792
+ className: utils.cn(
793
+ "w-full h-48 object-cover transition-transform duration-300",
794
+ "group-hover:scale-105",
795
+ className
796
+ ),
797
+ alt,
798
+ ...props
799
+ }
800
+ ));
801
+ Carousel3DCardImage.displayName = "Carousel3DCardImage";
802
+ var Carousel3DCardContent = React3__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
803
+ "div",
804
+ {
805
+ ref,
806
+ className: utils.cn("flex-1 p-4 flex flex-col justify-between", className),
807
+ ...props,
808
+ children
809
+ }
810
+ ));
811
+ Carousel3DCardContent.displayName = "Carousel3DCardContent";
812
+ var Carousel3DCardTitle = React3__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
813
+ "h3",
814
+ {
815
+ ref,
816
+ className: utils.cn("font-semibold text-lg mb-2 line-clamp-2", className),
817
+ ...props,
818
+ children
819
+ }
820
+ ));
821
+ Carousel3DCardTitle.displayName = "Carousel3DCardTitle";
822
+ var Carousel3DCardDescription = React3__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
823
+ "p",
824
+ {
825
+ ref,
826
+ className: utils.cn("text-sm text-muted-foreground line-clamp-3 mb-4", className),
827
+ ...props,
828
+ children
829
+ }
830
+ ));
831
+ Carousel3DCardDescription.displayName = "Carousel3DCardDescription";
832
+ var Grid3D = React3__namespace.forwardRef(
833
+ ({
834
+ items,
835
+ columns = 4,
836
+ rows = 3,
837
+ gap = 16,
838
+ perspective = 1e3,
839
+ rotateX = 25,
840
+ rotateY = 15,
841
+ cellHeight = 200,
842
+ cellWidth = 200,
843
+ isometric = false,
844
+ tiltOnHover = true,
845
+ staggerAnimation = true,
846
+ animationDelay = 100,
847
+ elevationOnHover = true,
848
+ maxElevation = 50,
849
+ className,
850
+ ...props
851
+ }, ref) => {
852
+ const gridRef = React3__namespace.useRef(null);
853
+ const [hoveredIndex, setHoveredIndex] = React3__namespace.useState(null);
854
+ const [mousePosition, setMousePosition] = React3__namespace.useState({ x: 0, y: 0 });
855
+ const [isGridHovered, setIsGridHovered] = React3__namespace.useState(false);
856
+ const gridTransform = React3__namespace.useMemo(() => {
857
+ if (isometric) {
858
+ return `perspective(${perspective}px) rotateX(45deg) rotateY(45deg)`;
859
+ }
860
+ return `perspective(${perspective}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
861
+ }, [isometric, perspective, rotateX, rotateY]);
862
+ const handleMouseMove = React3__namespace.useCallback(
863
+ (e) => {
864
+ if (!tiltOnHover || !gridRef.current) return;
865
+ const rect = gridRef.current.getBoundingClientRect();
866
+ const centerX = rect.left + rect.width / 2;
867
+ const centerY = rect.top + rect.height / 2;
868
+ const mouseX = (e.clientX - centerX) / (rect.width / 2);
869
+ const mouseY = (e.clientY - centerY) / (rect.height / 2);
870
+ setMousePosition({ x: mouseX * 10, y: mouseY * 10 });
871
+ },
872
+ [tiltOnHover]
873
+ );
874
+ const handleMouseEnter = React3__namespace.useCallback(() => {
875
+ setIsGridHovered(true);
876
+ }, []);
877
+ const handleMouseLeave = React3__namespace.useCallback(() => {
878
+ setIsGridHovered(false);
879
+ setMousePosition({ x: 0, y: 0 });
880
+ setHoveredIndex(null);
881
+ }, []);
882
+ React3__namespace.useImperativeHandle(ref, () => gridRef.current);
883
+ const containerStyle = {
884
+ perspective: `${perspective}px`,
885
+ transformStyle: "preserve-3d"
886
+ };
887
+ const gridStyle = {
888
+ display: "grid",
889
+ gridTemplateColumns: `repeat(${columns}, ${cellWidth}px)`,
890
+ gridTemplateRows: `repeat(${rows}, ${cellHeight}px)`,
891
+ gap: `${gap}px`,
892
+ transform: tiltOnHover && isGridHovered ? `${gridTransform} rotateX(${-mousePosition.y}deg) rotateY(${mousePosition.x}deg)` : gridTransform,
893
+ transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
894
+ transformStyle: "preserve-3d"
895
+ };
896
+ const getGridPosition = /* @__PURE__ */ __name((index) => {
897
+ const x = index % columns;
898
+ const y = Math.floor(index / columns);
899
+ return { x, y };
900
+ }, "getGridPosition");
901
+ const getStaggerDelay = /* @__PURE__ */ __name((index) => {
902
+ if (!staggerAnimation) return 0;
903
+ const { x, y } = getGridPosition(index);
904
+ return (x + y) * animationDelay;
905
+ }, "getStaggerDelay");
906
+ return /* @__PURE__ */ jsxRuntime.jsxs(
907
+ "div",
908
+ {
909
+ ref: gridRef,
910
+ className: utils.cn("w-fit mx-auto", className),
911
+ style: containerStyle,
912
+ onMouseMove: handleMouseMove,
913
+ onMouseEnter: handleMouseEnter,
914
+ onMouseLeave: handleMouseLeave,
915
+ ...props,
916
+ children: [
917
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: gridStyle, children: items.map((item, index) => {
918
+ const isHovered = hoveredIndex === index;
919
+ const { x, y } = getGridPosition(index);
920
+ const staggerDelay = getStaggerDelay(index);
921
+ const itemStyle = {
922
+ gridColumn: item.span ? `span ${item.span.x}` : void 0,
923
+ gridRow: item.span ? `span ${item.span.y}` : void 0,
924
+ transform: `translateZ(${(item.elevation || 0) + (isHovered && elevationOnHover ? maxElevation : 0)}px)`,
925
+ transition: "all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
926
+ transformStyle: "preserve-3d",
927
+ animationDelay: `${staggerDelay}ms`
928
+ };
929
+ return /* @__PURE__ */ jsxRuntime.jsxs(
930
+ "div",
931
+ {
932
+ className: utils.cn(
933
+ "relative rounded-lg border bg-card text-card-foreground shadow-lg",
934
+ "transform-gpu will-change-transform cursor-pointer",
935
+ "transition-all duration-300 hover:shadow-xl",
936
+ staggerAnimation && "animate-in fade-in slide-in-from-bottom-4",
937
+ isHovered && "ring-2 ring-primary ring-offset-2"
938
+ ),
939
+ style: itemStyle,
940
+ onMouseEnter: () => setHoveredIndex(index),
941
+ onMouseLeave: () => setHoveredIndex(null),
942
+ children: [
943
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full overflow-hidden rounded-lg", children: item.content }),
944
+ (item.elevation || 0) > 0 && /* @__PURE__ */ jsxRuntime.jsx(
945
+ "div",
946
+ {
947
+ className: "absolute inset-0 -z-10 rounded-lg bg-black/20 blur-sm",
948
+ style: {
949
+ transform: `translateY(${(item.elevation || 0) / 2}px) scale(0.95)`
950
+ }
951
+ }
952
+ )
953
+ ]
954
+ },
955
+ item.id
956
+ );
957
+ }) }),
958
+ isometric && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 pointer-events-none opacity-20", children: /* @__PURE__ */ jsxRuntime.jsx(
959
+ "div",
960
+ {
961
+ className: "grid border-dashed border-muted-foreground/30",
962
+ style: {
963
+ gridTemplateColumns: `repeat(${columns}, ${cellWidth}px)`,
964
+ gridTemplateRows: `repeat(${rows}, ${cellHeight}px)`,
965
+ gap: `${gap}px`,
966
+ transform: gridTransform,
967
+ transformStyle: "preserve-3d"
968
+ },
969
+ children: Array.from({ length: columns * rows }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
970
+ "div",
971
+ {
972
+ className: "border border-dashed border-muted-foreground/20 rounded-lg"
973
+ },
974
+ index
975
+ ))
976
+ }
977
+ ) })
978
+ ]
979
+ }
980
+ );
981
+ }
982
+ );
983
+ Grid3D.displayName = "Grid3D";
984
+ var Grid3DCard = React3__namespace.forwardRef(
985
+ ({
986
+ className,
987
+ title,
988
+ description,
989
+ image,
990
+ badge,
991
+ elevation = 0,
992
+ children,
993
+ ...props
994
+ }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
995
+ "div",
996
+ {
997
+ ref,
998
+ className: utils.cn(
999
+ "group relative w-full h-full flex flex-col bg-gradient-to-br from-background to-muted/20",
1000
+ "border rounded-lg overflow-hidden",
1001
+ className
1002
+ ),
1003
+ style: {
1004
+ transform: `translateZ(${elevation}px)`,
1005
+ transformStyle: "preserve-3d"
1006
+ },
1007
+ ...props,
1008
+ children: [
1009
+ image && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative h-32 overflow-hidden", children: [
1010
+ /* @__PURE__ */ jsxRuntime.jsx(
1011
+ "img",
1012
+ {
1013
+ src: image,
1014
+ alt: title || "",
1015
+ className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-110"
1016
+ }
1017
+ ),
1018
+ badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-2 right-2 px-2 py-1 text-xs rounded-full bg-primary text-primary-foreground", children: badge })
1019
+ ] }),
1020
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 p-4 flex flex-col justify-between", children: [
1021
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-semibold text-lg mb-2 line-clamp-2 group-hover:text-primary transition-colors", children: title }),
1022
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground line-clamp-3 mb-4", children: description }),
1023
+ children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto", children })
1024
+ ] }),
1025
+ /* @__PURE__ */ jsxRuntime.jsx(
1026
+ "div",
1027
+ {
1028
+ className: "absolute inset-0 -z-10 rounded-lg bg-gradient-to-br from-muted/50 to-muted",
1029
+ style: {
1030
+ transform: "translateZ(-2px) scale(0.98)",
1031
+ transformStyle: "preserve-3d"
1032
+ }
1033
+ }
1034
+ )
1035
+ ]
1036
+ }
1037
+ )
1038
+ );
1039
+ Grid3DCard.displayName = "Grid3DCard";
1040
+ var Grid3DPreset = {
1041
+ Dashboard: React3__namespace.forwardRef(
1042
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1043
+ Grid3D,
1044
+ {
1045
+ ref,
1046
+ columns: 4,
1047
+ rows: 3,
1048
+ cellWidth: 250,
1049
+ cellHeight: 200,
1050
+ gap: 20,
1051
+ perspective: 1200,
1052
+ rotateX: 20,
1053
+ rotateY: 10,
1054
+ tiltOnHover: true,
1055
+ elevationOnHover: true,
1056
+ maxElevation: 30,
1057
+ items: [],
1058
+ ...props
1059
+ }
1060
+ )
1061
+ ),
1062
+ Isometric: React3__namespace.forwardRef(
1063
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1064
+ Grid3D,
1065
+ {
1066
+ ref,
1067
+ columns: 3,
1068
+ rows: 3,
1069
+ cellWidth: 180,
1070
+ cellHeight: 180,
1071
+ gap: 16,
1072
+ isometric: true,
1073
+ perspective: 1e3,
1074
+ staggerAnimation: true,
1075
+ animationDelay: 50,
1076
+ items: [],
1077
+ ...props
1078
+ }
1079
+ )
1080
+ ),
1081
+ Gallery: React3__namespace.forwardRef(
1082
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1083
+ Grid3D,
1084
+ {
1085
+ ref,
1086
+ columns: 5,
1087
+ rows: 2,
1088
+ cellWidth: 200,
1089
+ cellHeight: 280,
1090
+ gap: 24,
1091
+ perspective: 1500,
1092
+ rotateX: 15,
1093
+ rotateY: 5,
1094
+ tiltOnHover: true,
1095
+ elevationOnHover: true,
1096
+ maxElevation: 40,
1097
+ items: [],
1098
+ ...props
1099
+ }
1100
+ )
1101
+ ),
1102
+ Compact: React3__namespace.forwardRef(
1103
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1104
+ Grid3D,
1105
+ {
1106
+ ref,
1107
+ columns: 6,
1108
+ rows: 4,
1109
+ cellWidth: 120,
1110
+ cellHeight: 120,
1111
+ gap: 8,
1112
+ perspective: 800,
1113
+ rotateX: 30,
1114
+ rotateY: 20,
1115
+ tiltOnHover: true,
1116
+ staggerAnimation: true,
1117
+ animationDelay: 30,
1118
+ items: [],
1119
+ ...props
1120
+ }
1121
+ )
1122
+ )
1123
+ };
1124
+ Grid3DPreset.Dashboard.displayName = "Grid3DPreset.Dashboard";
1125
+ Grid3DPreset.Isometric.displayName = "Grid3DPreset.Isometric";
1126
+ Grid3DPreset.Gallery.displayName = "Grid3DPreset.Gallery";
1127
+ Grid3DPreset.Compact.displayName = "Grid3DPreset.Compact";
1128
+ var Grid3DAuto = React3__namespace.forwardRef(
1129
+ ({
1130
+ items,
1131
+ minCellWidth = 200,
1132
+ maxCellWidth = 300,
1133
+ aspectRatio = 1,
1134
+ ...props
1135
+ }, ref) => {
1136
+ const [dimensions, setDimensions] = React3__namespace.useState({ columns: 3, rows: 2 });
1137
+ React3__namespace.useEffect(() => {
1138
+ const itemCount = items.length;
1139
+ const columns = Math.ceil(Math.sqrt(itemCount));
1140
+ const rows = Math.ceil(itemCount / columns);
1141
+ setDimensions({ columns, rows });
1142
+ }, [items.length]);
1143
+ const cellWidth = Math.min(maxCellWidth, Math.max(minCellWidth, 200));
1144
+ const cellHeight = cellWidth / aspectRatio;
1145
+ return /* @__PURE__ */ jsxRuntime.jsx(
1146
+ Grid3D,
1147
+ {
1148
+ ref,
1149
+ items,
1150
+ columns: dimensions.columns,
1151
+ rows: dimensions.rows,
1152
+ cellWidth,
1153
+ cellHeight,
1154
+ ...props
1155
+ }
1156
+ );
1157
+ }
1158
+ );
1159
+ Grid3DAuto.displayName = "Grid3DAuto";
1160
+ var marquee3DVariants = classVarianceAuthority.cva(
1161
+ [
1162
+ "relative overflow-hidden whitespace-nowrap",
1163
+ "transform-gpu will-change-transform",
1164
+ "[perspective:1000px]"
1165
+ ],
1166
+ {
1167
+ variants: {
1168
+ variant: {
1169
+ default: [
1170
+ "bg-background text-foreground",
1171
+ "[&_.marquee-content]:text-current"
1172
+ ],
1173
+ neon: [
1174
+ "bg-black text-cyan-400",
1175
+ "[&_.marquee-content]:text-cyan-400",
1176
+ "[&_.marquee-content]:drop-shadow-[0_0_10px_currentColor]",
1177
+ "[&_.marquee-content]:animate-pulse"
1178
+ ],
1179
+ rainbow: [
1180
+ "bg-black",
1181
+ "[&_.marquee-content]:bg-gradient-to-r [&_.marquee-content]:from-red-500 [&_.marquee-content]:via-yellow-500 [&_.marquee-content]:via-green-500 [&_.marquee-content]:via-blue-500 [&_.marquee-content]:to-purple-500",
1182
+ "[&_.marquee-content]:bg-clip-text [&_.marquee-content]:text-transparent"
1183
+ ],
1184
+ metallic: [
1185
+ "bg-slate-900",
1186
+ "[&_.marquee-content]:bg-gradient-to-b [&_.marquee-content]:from-gray-200 [&_.marquee-content]:via-gray-400 [&_.marquee-content]:to-gray-600",
1187
+ "[&_.marquee-content]:bg-clip-text [&_.marquee-content]:text-transparent"
1188
+ ],
1189
+ fire: [
1190
+ "bg-black",
1191
+ "[&_.marquee-content]:bg-gradient-to-t [&_.marquee-content]:from-red-600 [&_.marquee-content]:via-orange-500 [&_.marquee-content]:to-yellow-400",
1192
+ "[&_.marquee-content]:bg-clip-text [&_.marquee-content]:text-transparent",
1193
+ "[&_.marquee-content]:drop-shadow-[0_0_20px_#ff6600]"
1194
+ ],
1195
+ glass: [
1196
+ "bg-white/10 backdrop-blur-sm",
1197
+ "[&_.marquee-content]:text-white/90",
1198
+ "[&_.marquee-content]:drop-shadow-[0_0_10px_rgba(255,255,255,0.3)]"
1199
+ ]
1200
+ },
1201
+ size: {
1202
+ sm: "h-8 text-sm [&_.marquee-content]:py-1",
1203
+ default: "h-12 text-base [&_.marquee-content]:py-2",
1204
+ lg: "h-16 text-lg [&_.marquee-content]:py-3",
1205
+ xl: "h-20 text-xl [&_.marquee-content]:py-4",
1206
+ "2xl": "h-24 text-2xl [&_.marquee-content]:py-5",
1207
+ "3xl": "h-32 text-3xl [&_.marquee-content]:py-6"
1208
+ },
1209
+ direction: {
1210
+ left: "",
1211
+ right: "",
1212
+ up: "flex-col",
1213
+ down: "flex-col"
1214
+ },
1215
+ perspective: {
1216
+ none: "[perspective:none]",
1217
+ sm: "[perspective:500px]",
1218
+ default: "[perspective:1000px]",
1219
+ lg: "[perspective:1500px]",
1220
+ xl: "[perspective:2000px]"
1221
+ }
1222
+ },
1223
+ defaultVariants: {
1224
+ variant: "default",
1225
+ size: "default",
1226
+ direction: "left",
1227
+ perspective: "default"
1228
+ }
1229
+ }
1230
+ );
1231
+ var Marquee3D = React3__namespace.forwardRef(
1232
+ ({
1233
+ className,
1234
+ variant,
1235
+ size,
1236
+ direction = "left",
1237
+ perspective,
1238
+ children,
1239
+ speed = 50,
1240
+ pauseOnHover = false,
1241
+ reverse = false,
1242
+ repeat = 5,
1243
+ gap = 0,
1244
+ rotateX = 0,
1245
+ rotateY = 0,
1246
+ rotateZ = 0,
1247
+ autoFill = false,
1248
+ gradient = false,
1249
+ gradientColor = "#ffffff",
1250
+ gradientWidth = 200,
1251
+ style,
1252
+ ...props
1253
+ }, ref) => {
1254
+ const [containerWidth, setContainerWidth] = React3__namespace.useState(0);
1255
+ const [contentWidth, setContentWidth] = React3__namespace.useState(0);
1256
+ const containerRef = React3__namespace.useRef(null);
1257
+ const contentRef = React3__namespace.useRef(null);
1258
+ React3__namespace.useEffect(() => {
1259
+ const measureDimensions = /* @__PURE__ */ __name(() => {
1260
+ if (containerRef.current && contentRef.current) {
1261
+ const containerRect = containerRef.current.getBoundingClientRect();
1262
+ const contentRect = contentRef.current.getBoundingClientRect();
1263
+ if (direction === "left" || direction === "right") {
1264
+ setContainerWidth(containerRect.width);
1265
+ setContentWidth(contentRect.width);
1266
+ } else {
1267
+ setContainerWidth(containerRect.height);
1268
+ setContentWidth(contentRect.height);
1269
+ }
1270
+ }
1271
+ }, "measureDimensions");
1272
+ measureDimensions();
1273
+ window.addEventListener("resize", measureDimensions);
1274
+ return () => window.removeEventListener("resize", measureDimensions);
1275
+ }, [direction, children]);
1276
+ const duration = React3__namespace.useMemo(() => {
1277
+ if (contentWidth === 0) return 20;
1278
+ return contentWidth / speed;
1279
+ }, [contentWidth, speed]);
1280
+ const actualRepeat = React3__namespace.useMemo(() => {
1281
+ if (autoFill && containerWidth > 0 && contentWidth > 0) {
1282
+ return Math.ceil(containerWidth / contentWidth) + 2;
1283
+ }
1284
+ return repeat;
1285
+ }, [autoFill, containerWidth, contentWidth, repeat]);
1286
+ const getAnimationProps = /* @__PURE__ */ __name(() => {
1287
+ const distance = contentWidth + gap;
1288
+ let animateProps = {};
1289
+ if (direction === "left") {
1290
+ animateProps = {
1291
+ x: reverse ? [distance, -distance] : [-distance, distance]
1292
+ };
1293
+ } else if (direction === "right") {
1294
+ animateProps = {
1295
+ x: reverse ? [-distance, distance] : [distance, -distance]
1296
+ };
1297
+ } else if (direction === "up") {
1298
+ animateProps = {
1299
+ y: reverse ? [distance, -distance] : [-distance, distance]
1300
+ };
1301
+ } else if (direction === "down") {
1302
+ animateProps = {
1303
+ y: reverse ? [-distance, distance] : [distance, -distance]
1304
+ };
1305
+ }
1306
+ return {
1307
+ animate: animateProps,
1308
+ transition: {
1309
+ duration,
1310
+ ease: "linear",
1311
+ repeat: Infinity
1312
+ }
1313
+ };
1314
+ }, "getAnimationProps");
1315
+ const transform3D = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) rotateZ(${rotateZ}deg)`;
1316
+ const gradientMask = gradient ? {
1317
+ maskImage: `linear-gradient(to right, transparent, ${gradientColor} ${gradientWidth}px, ${gradientColor} calc(100% - ${gradientWidth}px), transparent)`,
1318
+ WebkitMaskImage: `linear-gradient(to right, transparent, ${gradientColor} ${gradientWidth}px, ${gradientColor} calc(100% - ${gradientWidth}px), transparent)`
1319
+ } : {};
1320
+ return /* @__PURE__ */ jsxRuntime.jsx(
1321
+ "div",
1322
+ {
1323
+ ref: containerRef,
1324
+ className: utils.cn(
1325
+ marquee3DVariants({ variant, size, direction, perspective }),
1326
+ "flex items-center",
1327
+ direction === "up" || direction === "down" ? "flex-col" : "flex-row",
1328
+ className
1329
+ ),
1330
+ style: {
1331
+ ...style,
1332
+ transform: transform3D,
1333
+ ...gradientMask
1334
+ },
1335
+ ...props,
1336
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1337
+ framerMotion.motion.div,
1338
+ {
1339
+ ref: contentRef,
1340
+ className: utils.cn(
1341
+ "marquee-content flex shrink-0 font-bold",
1342
+ direction === "up" || direction === "down" ? "flex-col" : "flex-row",
1343
+ pauseOnHover && "hover:[animation-play-state:paused]"
1344
+ ),
1345
+ style: {
1346
+ gap: `${gap}px`
1347
+ },
1348
+ ...getAnimationProps(),
1349
+ children: Array.from({ length: actualRepeat }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsxs(React3__namespace.Fragment, { children: [
1350
+ /* @__PURE__ */ jsxRuntime.jsx(
1351
+ "div",
1352
+ {
1353
+ className: utils.cn(
1354
+ "flex shrink-0 items-center justify-center",
1355
+ direction === "up" || direction === "down" ? "flex-col" : "flex-row"
1356
+ ),
1357
+ style: {
1358
+ transform: `rotateX(${rotateX}deg) rotateY(${rotateY}deg) rotateZ(${rotateZ}deg)`,
1359
+ transformStyle: "preserve-3d"
1360
+ },
1361
+ children
1362
+ }
1363
+ ),
1364
+ index < actualRepeat - 1 && gap > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1365
+ "div",
1366
+ {
1367
+ style: {
1368
+ width: direction === "up" || direction === "down" ? "100%" : `${gap}px`,
1369
+ height: direction === "up" || direction === "down" ? `${gap}px` : "100%"
1370
+ }
1371
+ }
1372
+ )
1373
+ ] }, index))
1374
+ }
1375
+ )
1376
+ }
1377
+ );
1378
+ }
1379
+ );
1380
+ Marquee3D.displayName = "Marquee3D";
1381
+ var Marquee3DPreset = {
1382
+ Hero: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1383
+ Marquee3D,
1384
+ {
1385
+ ref,
1386
+ variant: "rainbow",
1387
+ size: "3xl",
1388
+ speed: 30,
1389
+ rotateX: -10,
1390
+ gradient: true,
1391
+ ...props
1392
+ }
1393
+ )),
1394
+ Neon: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1395
+ Marquee3D,
1396
+ {
1397
+ ref,
1398
+ variant: "neon",
1399
+ size: "xl",
1400
+ speed: 40,
1401
+ rotateY: 5,
1402
+ pauseOnHover: true,
1403
+ ...props
1404
+ }
1405
+ )),
1406
+ Metallic: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1407
+ Marquee3D,
1408
+ {
1409
+ ref,
1410
+ variant: "metallic",
1411
+ size: "lg",
1412
+ speed: 35,
1413
+ rotateX: -5,
1414
+ rotateY: 2,
1415
+ gradient: true,
1416
+ gradientColor: "#c4c4c4",
1417
+ ...props
1418
+ }
1419
+ )),
1420
+ Fire: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1421
+ Marquee3D,
1422
+ {
1423
+ ref,
1424
+ variant: "fire",
1425
+ size: "2xl",
1426
+ speed: 60,
1427
+ rotateZ: 1,
1428
+ gradient: true,
1429
+ gradientColor: "#ff6600",
1430
+ ...props
1431
+ }
1432
+ )),
1433
+ Glass: React3__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1434
+ Marquee3D,
1435
+ {
1436
+ ref,
1437
+ variant: "glass",
1438
+ size: "lg",
1439
+ speed: 25,
1440
+ rotateX: -8,
1441
+ pauseOnHover: true,
1442
+ gradient: true,
1443
+ gradientColor: "rgba(255,255,255,0.9)",
1444
+ ...props
1445
+ }
1446
+ ))
1447
+ };
1448
+ Marquee3DPreset.Hero.displayName = "Marquee3DPreset.Hero";
1449
+ Marquee3DPreset.Neon.displayName = "Marquee3DPreset.Neon";
1450
+ Marquee3DPreset.Metallic.displayName = "Marquee3DPreset.Metallic";
1451
+ Marquee3DPreset.Fire.displayName = "Marquee3DPreset.Fire";
1452
+ Marquee3DPreset.Glass.displayName = "Marquee3DPreset.Glass";
1453
+ var Marquee3DFloating = React3__namespace.forwardRef(({ children, floatIntensity = 10, floatSpeed = 3, ...props }, ref) => {
1454
+ const text = typeof children === "string" ? children : "";
1455
+ return /* @__PURE__ */ jsxRuntime.jsx(Marquee3D, { ref, ...props, children: text ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex space-x-1", children: text.split("").map((char, index) => /* @__PURE__ */ jsxRuntime.jsx(
1456
+ framerMotion.motion.span,
1457
+ {
1458
+ className: "inline-block",
1459
+ animate: {
1460
+ y: [0, -floatIntensity, 0],
1461
+ rotateX: [0, 5, 0],
1462
+ rotateY: [0, 2, 0]
1463
+ },
1464
+ transition: {
1465
+ duration: floatSpeed,
1466
+ ease: "easeInOut",
1467
+ repeat: Infinity,
1468
+ delay: index * 0.1
1469
+ },
1470
+ children: char === " " ? "\xA0" : char
1471
+ },
1472
+ index
1473
+ )) }) : children });
1474
+ });
1475
+ Marquee3DFloating.displayName = "Marquee3DFloating";
1476
+ var Pin3D = React3__namespace.forwardRef(
1477
+ ({ className, title, href, children, ...props }, ref) => {
1478
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1479
+ "div",
1480
+ {
1481
+ ref,
1482
+ className: utils.cn("group/pin relative cursor-pointer", className),
1483
+ ...props,
1484
+ children: [
1485
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 z-10 flex h-full w-full items-center justify-center opacity-0 transition duration-500 group-hover/pin:opacity-100", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex h-full w-full items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-white opacity-0 transition duration-500 group-hover/pin:opacity-50" }) }) }),
1486
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "transform-gpu transition duration-500 group-hover/pin:scale-95", children })
1487
+ ]
1488
+ }
1489
+ );
1490
+ }
1491
+ );
1492
+ Pin3D.displayName = "Pin3D";
1493
+
1494
+ exports.Button3D = Button3D;
1495
+ exports.Button3DLoading = Button3DLoading;
1496
+ exports.Button3DPreset = Button3DPreset;
1497
+ exports.Card3D = Card3D;
1498
+ exports.Card3DContent = Card3DContent;
1499
+ exports.Card3DDescription = Card3DDescription;
1500
+ exports.Card3DFooter = Card3DFooter;
1501
+ exports.Card3DHeader = Card3DHeader;
1502
+ exports.Card3DTitle = Card3DTitle;
1503
+ exports.Carousel3D = Carousel3D;
1504
+ exports.Carousel3DCard = Carousel3DCard;
1505
+ exports.Carousel3DCardContent = Carousel3DCardContent;
1506
+ exports.Carousel3DCardDescription = Carousel3DCardDescription;
1507
+ exports.Carousel3DCardImage = Carousel3DCardImage;
1508
+ exports.Carousel3DCardTitle = Carousel3DCardTitle;
1509
+ exports.Grid3D = Grid3D;
1510
+ exports.Grid3DAuto = Grid3DAuto;
1511
+ exports.Grid3DCard = Grid3DCard;
1512
+ exports.Grid3DPreset = Grid3DPreset;
1513
+ exports.Marquee3D = Marquee3D;
1514
+ exports.Marquee3DFloating = Marquee3DFloating;
1515
+ exports.Marquee3DPreset = Marquee3DPreset;
1516
+ exports.Pin3D = Pin3D;
1517
+ exports.button3DVariants = button3DVariants;
1518
+ exports.marquee3DVariants = marquee3DVariants;