motion-brew 0.0.0-stage → 0.1.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 (663) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +106 -2
  3. package/dist/account-menu.d.ts +1 -0
  4. package/dist/account-menu.js +16 -0
  5. package/dist/action-menu.d.ts +1 -0
  6. package/dist/action-menu.js +10 -0
  7. package/dist/activity-grid.d.ts +1 -0
  8. package/dist/activity-grid.js +14 -0
  9. package/dist/add-card.d.ts +1 -0
  10. package/dist/add-card.js +11 -0
  11. package/dist/amount-slider.d.ts +1 -0
  12. package/dist/amount-slider.js +10 -0
  13. package/dist/annotation-text.d.ts +1 -0
  14. package/dist/annotation-text.js +8 -0
  15. package/dist/aura-card.d.ts +1 -0
  16. package/dist/aura-card.js +19 -0
  17. package/dist/auth-card.d.ts +1 -0
  18. package/dist/auth-card.js +15 -0
  19. package/dist/avatar-testimonial.d.ts +1 -0
  20. package/dist/avatar-testimonial.js +8 -0
  21. package/dist/backspace-text.d.ts +1 -0
  22. package/dist/backspace-text.js +8 -0
  23. package/dist/bell-toggle.d.ts +1 -0
  24. package/dist/bell-toggle.js +8 -0
  25. package/dist/bill-list.d.ts +1 -0
  26. package/dist/bill-list.js +15 -0
  27. package/dist/binary-text.d.ts +1 -0
  28. package/dist/binary-text.js +8 -0
  29. package/dist/blur-accordion.d.ts +1 -0
  30. package/dist/blur-accordion.js +8 -0
  31. package/dist/blur-text.d.ts +1 -0
  32. package/dist/blur-text.js +8 -0
  33. package/dist/booking-card.d.ts +1 -0
  34. package/dist/booking-card.js +11 -0
  35. package/dist/brand-bridge.d.ts +1 -0
  36. package/dist/brand-bridge.js +12 -0
  37. package/dist/calendar-agenda.d.ts +1 -0
  38. package/dist/calendar-agenda.js +12 -0
  39. package/dist/channel-mix.d.ts +1 -0
  40. package/dist/channel-mix.js +11 -0
  41. package/dist/chunk-25254AZA.js +141 -0
  42. package/dist/chunk-2CIJ5TVW.js +59 -0
  43. package/dist/chunk-2GXY54MP.js +247 -0
  44. package/dist/chunk-2IMPUH4H.js +135 -0
  45. package/dist/chunk-2NRXP4HM.js +371 -0
  46. package/dist/chunk-2QCWELWT.js +120 -0
  47. package/dist/chunk-2TQSHVXA.js +12 -0
  48. package/dist/chunk-327TGRS5.js +75 -0
  49. package/dist/chunk-3B2RYSTL.js +867 -0
  50. package/dist/chunk-3RKCLFY5.js +634 -0
  51. package/dist/chunk-4BVCRIR4.js +51 -0
  52. package/dist/chunk-4CKKTOJK.js +366 -0
  53. package/dist/chunk-4IGMH34C.js +319 -0
  54. package/dist/chunk-4PI6UNIZ.js +464 -0
  55. package/dist/chunk-4RHQKP2P.js +664 -0
  56. package/dist/chunk-5MP5QNFG.js +560 -0
  57. package/dist/chunk-62RBYLIN.js +128 -0
  58. package/dist/chunk-6GAKTS3D.js +329 -0
  59. package/dist/chunk-6GRDT3OE.js +124 -0
  60. package/dist/chunk-6JQY7AX5.js +307 -0
  61. package/dist/chunk-6LOUA6XB.js +237 -0
  62. package/dist/chunk-6V6OTHNE.js +299 -0
  63. package/dist/chunk-6VZIT62Q.js +142 -0
  64. package/dist/chunk-6WSY725U.js +387 -0
  65. package/dist/chunk-6XSJC7M7.js +764 -0
  66. package/dist/chunk-75DEIDBX.js +129 -0
  67. package/dist/chunk-7FQ4XU7E.js +127 -0
  68. package/dist/chunk-7IL5WRJR.js +615 -0
  69. package/dist/chunk-7MPC3RUE.js +1462 -0
  70. package/dist/chunk-7PS2W7PU.js +112 -0
  71. package/dist/chunk-AATJOPNH.js +86 -0
  72. package/dist/chunk-ADXWPWJR.js +209 -0
  73. package/dist/chunk-ANNDITUM.js +47 -0
  74. package/dist/chunk-AQN6BHWC.js +325 -0
  75. package/dist/chunk-AVOS73MR.js +537 -0
  76. package/dist/chunk-B4LNE6YK.js +473 -0
  77. package/dist/chunk-BHUNLG6S.js +142 -0
  78. package/dist/chunk-BN4MA5UY.js +127 -0
  79. package/dist/chunk-BPE43MTT.js +183 -0
  80. package/dist/chunk-BPF3FQRS.js +590 -0
  81. package/dist/chunk-BRTZFUFR.js +503 -0
  82. package/dist/chunk-BS4ZFJKW.js +121 -0
  83. package/dist/chunk-BXAKCY6X.js +86 -0
  84. package/dist/chunk-CEQ56RF6.js +129 -0
  85. package/dist/chunk-CGDKH6BB.js +902 -0
  86. package/dist/chunk-CMTGYFT7.js +395 -0
  87. package/dist/chunk-COKBF5PG.js +3291 -0
  88. package/dist/chunk-DD55JZOI.js +257 -0
  89. package/dist/chunk-DQUXBNSH.js +412 -0
  90. package/dist/chunk-DR4DUSNF.js +265 -0
  91. package/dist/chunk-EDPCK6VU.js +419 -0
  92. package/dist/chunk-EEQ2WHTN.js +142 -0
  93. package/dist/chunk-ERVE5RSN.js +793 -0
  94. package/dist/chunk-FFUBTMDC.js +303 -0
  95. package/dist/chunk-FK4TZ5OW.js +29 -0
  96. package/dist/chunk-FXI6NHNR.js +1033 -0
  97. package/dist/chunk-G3XH7YT2.js +122 -0
  98. package/dist/chunk-G7KDH7ME.js +559 -0
  99. package/dist/chunk-GRUDTDLX.js +534 -0
  100. package/dist/chunk-GUQINNWS.js +770 -0
  101. package/dist/chunk-GV3Q4D2N.js +320 -0
  102. package/dist/chunk-GVWOJJ3T.js +129 -0
  103. package/dist/chunk-GYDTIVOY.js +934 -0
  104. package/dist/chunk-H2JOCJWM.js +125 -0
  105. package/dist/chunk-H7XKIWHA.js +135 -0
  106. package/dist/chunk-HHXK3NAH.js +1382 -0
  107. package/dist/chunk-HK34LPY6.js +112 -0
  108. package/dist/chunk-HLJXNSMM.js +320 -0
  109. package/dist/chunk-HPJJAQ5L.js +406 -0
  110. package/dist/chunk-HYSXVKZB.js +213 -0
  111. package/dist/chunk-I45D4XV4.js +124 -0
  112. package/dist/chunk-I7KTTOOJ.js +113 -0
  113. package/dist/chunk-IDJOKV6S.js +67 -0
  114. package/dist/chunk-IGI6OLRX.js +138 -0
  115. package/dist/chunk-IKM7EEYN.js +117 -0
  116. package/dist/chunk-INV5FI6O.js +394 -0
  117. package/dist/chunk-IUBUAIQZ.js +321 -0
  118. package/dist/chunk-IYZOANPX.js +159 -0
  119. package/dist/chunk-JFTD3YAL.js +163 -0
  120. package/dist/chunk-JGEV462J.js +235 -0
  121. package/dist/chunk-JHT6RCGY.js +127 -0
  122. package/dist/chunk-JJEWOQYQ.js +141 -0
  123. package/dist/chunk-JT2EIO5M.js +129 -0
  124. package/dist/chunk-K3HQEHJ6.js +663 -0
  125. package/dist/chunk-K6ET254T.js +398 -0
  126. package/dist/chunk-KE563QS4.js +425 -0
  127. package/dist/chunk-LBRMNY72.js +159 -0
  128. package/dist/chunk-LNBTWX4J.js +114 -0
  129. package/dist/chunk-LS4FP6SI.js +37 -0
  130. package/dist/chunk-M22UY764.js +135 -0
  131. package/dist/chunk-M4YMNHPI.js +204 -0
  132. package/dist/chunk-MGBS5LRY.js +412 -0
  133. package/dist/chunk-MKJOBHPQ.js +215 -0
  134. package/dist/chunk-MQDOFNKI.js +818 -0
  135. package/dist/chunk-MUDKP3LK.js +120 -0
  136. package/dist/chunk-N4ZNBWKO.js +118 -0
  137. package/dist/chunk-NB5CB65C.js +137 -0
  138. package/dist/chunk-NCEAUODT.js +172 -0
  139. package/dist/chunk-NGX34WJO.js +335 -0
  140. package/dist/chunk-NIQFSLPC.js +114 -0
  141. package/dist/chunk-NJWTPRGJ.js +806 -0
  142. package/dist/chunk-NNKC6NEH.js +128 -0
  143. package/dist/chunk-NY7M42KC.js +112 -0
  144. package/dist/chunk-O7G4ISAC.js +277 -0
  145. package/dist/chunk-O7QYPA6X.js +700 -0
  146. package/dist/chunk-OEDHLZ4T.js +651 -0
  147. package/dist/chunk-OGQQ2FZZ.js +114 -0
  148. package/dist/chunk-OINRQUYT.js +186 -0
  149. package/dist/chunk-OMJBDFEW.js +506 -0
  150. package/dist/chunk-ONUWTWKP.js +345 -0
  151. package/dist/chunk-OS6REIBR.js +154 -0
  152. package/dist/chunk-OUVP5VKH.js +702 -0
  153. package/dist/chunk-OVEBMZHA.js +573 -0
  154. package/dist/chunk-PFEHD3A2.js +409 -0
  155. package/dist/chunk-PJ5EVDNN.js +157 -0
  156. package/dist/chunk-PKM6B4JJ.js +108 -0
  157. package/dist/chunk-PV3OYTMT.js +596 -0
  158. package/dist/chunk-RBSLSNMW.js +444 -0
  159. package/dist/chunk-RE74K7KI.js +370 -0
  160. package/dist/chunk-RP22J4NX.js +247 -0
  161. package/dist/chunk-RU2Q2XVP.js +287 -0
  162. package/dist/chunk-RWUARRFZ.js +267 -0
  163. package/dist/chunk-RZ2UCZ3C.js +212 -0
  164. package/dist/chunk-SBDTC4UY.js +367 -0
  165. package/dist/chunk-SKEE23KW.js +137 -0
  166. package/dist/chunk-SOW7S7ET.js +1103 -0
  167. package/dist/chunk-SQ7F3VBU.js +1069 -0
  168. package/dist/chunk-SSWKGVRI.js +172 -0
  169. package/dist/chunk-T2TSMDP3.js +1022 -0
  170. package/dist/chunk-TAFVHTWV.js +607 -0
  171. package/dist/chunk-TNLY4CSA.js +523 -0
  172. package/dist/chunk-TP3XIHL5.js +787 -0
  173. package/dist/chunk-TQ6KSDDE.js +682 -0
  174. package/dist/chunk-TRWXLGL7.js +885 -0
  175. package/dist/chunk-TTNORJF5.js +908 -0
  176. package/dist/chunk-UD5OQ2T3.js +117 -0
  177. package/dist/chunk-UDFBQWUH.js +333 -0
  178. package/dist/chunk-USRMXCZD.js +625 -0
  179. package/dist/chunk-VAPHE4G4.js +442 -0
  180. package/dist/chunk-VEC5QAOY.js +104 -0
  181. package/dist/chunk-VIR5NV5W.js +118 -0
  182. package/dist/chunk-VT2FNWQF.js +240 -0
  183. package/dist/chunk-VX4XEYQN.js +837 -0
  184. package/dist/chunk-WE7VCUOA.js +130 -0
  185. package/dist/chunk-WFWO2EIW.js +120 -0
  186. package/dist/chunk-WGIT4MMH.js +350 -0
  187. package/dist/chunk-WOR2GMMN.js +114 -0
  188. package/dist/chunk-WTTDB475.js +54 -0
  189. package/dist/chunk-WWWKMU4Y.js +184 -0
  190. package/dist/chunk-XDR4FO6Q.js +124 -0
  191. package/dist/chunk-XH6YNONO.js +112 -0
  192. package/dist/chunk-XL4L2J6N.js +129 -0
  193. package/dist/chunk-Y6MTC46Q.js +684 -0
  194. package/dist/chunk-YFLQ4HPJ.js +119 -0
  195. package/dist/chunk-YGONLKWH.js +180 -0
  196. package/dist/chunk-YLSWBUDC.js +373 -0
  197. package/dist/chunk-YU6B7YRO.js +128 -0
  198. package/dist/chunk-YURGXJSP.js +102 -0
  199. package/dist/chunk-YVYYDPE2.js +124 -0
  200. package/dist/chunk-ZPGAMYOQ.js +1 -0
  201. package/dist/chunk-ZWGOAY27.js +234 -0
  202. package/dist/column-card.d.ts +1 -0
  203. package/dist/column-card.js +8 -0
  204. package/dist/components/account-menu/account-menu.d.ts +56 -0
  205. package/dist/components/account-menu/index.d.ts +1 -0
  206. package/dist/components/action-menu/action-menu.d.ts +45 -0
  207. package/dist/components/action-menu/index.d.ts +1 -0
  208. package/dist/components/activity-grid/activity-grid.d.ts +54 -0
  209. package/dist/components/activity-grid/index.d.ts +1 -0
  210. package/dist/components/add-card/add-card.d.ts +41 -0
  211. package/dist/components/add-card/index.d.ts +1 -0
  212. package/dist/components/amount-slider/amount-slider.d.ts +43 -0
  213. package/dist/components/amount-slider/index.d.ts +1 -0
  214. package/dist/components/annotation-text/annotation-text.d.ts +27 -0
  215. package/dist/components/annotation-text/index.d.ts +1 -0
  216. package/dist/components/aura-card/aura-card.d.ts +63 -0
  217. package/dist/components/aura-card/index.d.ts +1 -0
  218. package/dist/components/auth-card/auth-card.d.ts +51 -0
  219. package/dist/components/auth-card/index.d.ts +1 -0
  220. package/dist/components/avatar-testimonial/avatar-testimonial.d.ts +39 -0
  221. package/dist/components/avatar-testimonial/index.d.ts +1 -0
  222. package/dist/components/backspace-text/backspace-text.d.ts +27 -0
  223. package/dist/components/backspace-text/index.d.ts +1 -0
  224. package/dist/components/bell-toggle/bell-toggle.d.ts +33 -0
  225. package/dist/components/bell-toggle/index.d.ts +1 -0
  226. package/dist/components/bill-list/bill-list.d.ts +49 -0
  227. package/dist/components/bill-list/index.d.ts +1 -0
  228. package/dist/components/binary-text/binary-text.d.ts +24 -0
  229. package/dist/components/binary-text/index.d.ts +1 -0
  230. package/dist/components/blur-accordion/blur-accordion.d.ts +35 -0
  231. package/dist/components/blur-accordion/index.d.ts +1 -0
  232. package/dist/components/blur-text/blur-text.d.ts +33 -0
  233. package/dist/components/blur-text/index.d.ts +1 -0
  234. package/dist/components/booking-card/booking-card.d.ts +56 -0
  235. package/dist/components/booking-card/index.d.ts +1 -0
  236. package/dist/components/brand-bridge/brand-bridge.d.ts +63 -0
  237. package/dist/components/brand-bridge/index.d.ts +1 -0
  238. package/dist/components/calendar-agenda/calendar-agenda.d.ts +64 -0
  239. package/dist/components/calendar-agenda/index.d.ts +1 -0
  240. package/dist/components/channel-mix/channel-mix.d.ts +63 -0
  241. package/dist/components/channel-mix/index.d.ts +1 -0
  242. package/dist/components/column-card/column-card.d.ts +39 -0
  243. package/dist/components/column-card/index.d.ts +1 -0
  244. package/dist/components/contact-card/contact-card.d.ts +44 -0
  245. package/dist/components/contact-card/index.d.ts +1 -0
  246. package/dist/components/context-menu/context-menu.d.ts +59 -0
  247. package/dist/components/context-menu/index.d.ts +1 -0
  248. package/dist/components/contour-feature-card/contour-feature-card.d.ts +36 -0
  249. package/dist/components/contour-feature-card/index.d.ts +1 -0
  250. package/dist/components/contour-lines/contour-lines.d.ts +34 -0
  251. package/dist/components/contour-lines/index.d.ts +1 -0
  252. package/dist/components/decay-card/decay-card.d.ts +44 -0
  253. package/dist/components/decay-card/index.d.ts +1 -0
  254. package/dist/components/deploy-streak/deploy-streak.d.ts +30 -0
  255. package/dist/components/deploy-streak/index.d.ts +1 -0
  256. package/dist/components/depth-carousel/depth-carousel.d.ts +42 -0
  257. package/dist/components/depth-carousel/index.d.ts +1 -0
  258. package/dist/components/device-traffic/device-traffic.d.ts +59 -0
  259. package/dist/components/device-traffic/index.d.ts +1 -0
  260. package/dist/components/download-button/download-button.d.ts +36 -0
  261. package/dist/components/download-button/index.d.ts +1 -0
  262. package/dist/components/event-card/event-card.d.ts +55 -0
  263. package/dist/components/event-card/index.d.ts +1 -0
  264. package/dist/components/file-drop/file-drop.d.ts +46 -0
  265. package/dist/components/file-drop/index.d.ts +1 -0
  266. package/dist/components/flip-words/flip-words.d.ts +26 -0
  267. package/dist/components/flip-words/index.d.ts +1 -0
  268. package/dist/components/flux-card/flux-card.d.ts +56 -0
  269. package/dist/components/flux-card/index.d.ts +1 -0
  270. package/dist/components/fuse-button/fuse-button.d.ts +75 -0
  271. package/dist/components/fuse-button/index.d.ts +1 -0
  272. package/dist/components/globe-card/globe-card.d.ts +46 -0
  273. package/dist/components/globe-card/index.d.ts +1 -0
  274. package/dist/components/goal-gauge/goal-gauge.d.ts +47 -0
  275. package/dist/components/goal-gauge/index.d.ts +1 -0
  276. package/dist/components/gradient-card/gradient-card.d.ts +56 -0
  277. package/dist/components/gradient-card/index.d.ts +1 -0
  278. package/dist/components/gradient-text/gradient-text.d.ts +22 -0
  279. package/dist/components/gradient-text/index.d.ts +1 -0
  280. package/dist/components/gravity-tag-pile/gravity-tag-pile.d.ts +69 -0
  281. package/dist/components/gravity-tag-pile/index.d.ts +1 -0
  282. package/dist/components/growth-stream/growth-stream.d.ts +47 -0
  283. package/dist/components/growth-stream/index.d.ts +1 -0
  284. package/dist/components/highlight-text/highlight-text.d.ts +22 -0
  285. package/dist/components/highlight-text/index.d.ts +1 -0
  286. package/dist/components/hold-to-confirm/hold-to-confirm.d.ts +32 -0
  287. package/dist/components/hold-to-confirm/index.d.ts +1 -0
  288. package/dist/components/infinite-gallery/index.d.ts +1 -0
  289. package/dist/components/infinite-gallery/infinite-gallery.d.ts +73 -0
  290. package/dist/components/integration-hub/index.d.ts +1 -0
  291. package/dist/components/integration-hub/integration-hub.d.ts +40 -0
  292. package/dist/components/liquid-card/index.d.ts +1 -0
  293. package/dist/components/liquid-card/liquid-card.d.ts +66 -0
  294. package/dist/components/liquid-metal-card/index.d.ts +1 -0
  295. package/dist/components/liquid-metal-card/liquid-metal-card.d.ts +45 -0
  296. package/dist/components/liquid-tabs/index.d.ts +1 -0
  297. package/dist/components/liquid-tabs/liquid-tabs.d.ts +47 -0
  298. package/dist/components/magnetic-button/index.d.ts +1 -0
  299. package/dist/components/magnetic-button/magnetic-button.d.ts +46 -0
  300. package/dist/components/magnetic-flow/index.d.ts +1 -0
  301. package/dist/components/magnetic-flow/magnetic-flow.d.ts +35 -0
  302. package/dist/components/message-composer/index.d.ts +1 -0
  303. package/dist/components/message-composer/message-composer.d.ts +79 -0
  304. package/dist/components/metal-card-stack/index.d.ts +1 -0
  305. package/dist/components/metal-card-stack/metal-card-stack.d.ts +49 -0
  306. package/dist/components/metric-split/index.d.ts +1 -0
  307. package/dist/components/metric-split/metric-split.d.ts +45 -0
  308. package/dist/components/mix-chart/index.d.ts +1 -0
  309. package/dist/components/mix-chart/mix-chart.d.ts +59 -0
  310. package/dist/components/month-calendar/index.d.ts +1 -0
  311. package/dist/components/month-calendar/month-calendar.d.ts +34 -0
  312. package/dist/components/morph-search/index.d.ts +1 -0
  313. package/dist/components/morph-search/morph-search.d.ts +33 -0
  314. package/dist/components/orbit-card/index.d.ts +1 -0
  315. package/dist/components/orbit-card/orbit-card.d.ts +50 -0
  316. package/dist/components/otp-code/index.d.ts +1 -0
  317. package/dist/components/otp-code/otp-code.d.ts +61 -0
  318. package/dist/components/particle-card/index.d.ts +1 -0
  319. package/dist/components/particle-card/particle-card.d.ts +57 -0
  320. package/dist/components/payment-form/index.d.ts +1 -0
  321. package/dist/components/payment-form/payment-form.d.ts +54 -0
  322. package/dist/components/pill-tabs/index.d.ts +1 -0
  323. package/dist/components/pill-tabs/pill-tabs.d.ts +39 -0
  324. package/dist/components/pixel-blast/index.d.ts +1 -0
  325. package/dist/components/pixel-blast/pixel-blast.d.ts +41 -0
  326. package/dist/components/pixel-feature-card/index.d.ts +1 -0
  327. package/dist/components/pixel-feature-card/pixel-feature-card.d.ts +43 -0
  328. package/dist/components/pixel-scroll/index.d.ts +1 -0
  329. package/dist/components/pixel-scroll/pixel-scroll.d.ts +64 -0
  330. package/dist/components/pricing-card/index.d.ts +1 -0
  331. package/dist/components/pricing-card/pricing-card.d.ts +60 -0
  332. package/dist/components/prism-carousel/index.d.ts +1 -0
  333. package/dist/components/prism-carousel/prism-carousel.d.ts +54 -0
  334. package/dist/components/prism-flow/index.d.ts +1 -0
  335. package/dist/components/prism-flow/prism-flow.d.ts +41 -0
  336. package/dist/components/privacy-banner/index.d.ts +1 -0
  337. package/dist/components/privacy-banner/privacy-banner.d.ts +41 -0
  338. package/dist/components/profile-card/index.d.ts +1 -0
  339. package/dist/components/profile-card/profile-card.d.ts +52 -0
  340. package/dist/components/profile-menu/index.d.ts +1 -0
  341. package/dist/components/profile-menu/profile-menu.d.ts +43 -0
  342. package/dist/components/project-index/index.d.ts +1 -0
  343. package/dist/components/project-index/project-index.d.ts +65 -0
  344. package/dist/components/prompt-input/index.d.ts +1 -0
  345. package/dist/components/prompt-input/prompt-input.d.ts +49 -0
  346. package/dist/components/quota-gauge/index.d.ts +1 -0
  347. package/dist/components/quota-gauge/quota-gauge.d.ts +30 -0
  348. package/dist/components/range-chart/index.d.ts +1 -0
  349. package/dist/components/range-chart/range-chart.d.ts +47 -0
  350. package/dist/components/reaction-card/index.d.ts +1 -0
  351. package/dist/components/reaction-card/reaction-card.d.ts +60 -0
  352. package/dist/components/recap-card/index.d.ts +1 -0
  353. package/dist/components/recap-card/recap-card.d.ts +61 -0
  354. package/dist/components/receipt-button/index.d.ts +1 -0
  355. package/dist/components/receipt-button/receipt-button.d.ts +53 -0
  356. package/dist/components/ribbon-gallery/index.d.ts +1 -0
  357. package/dist/components/ribbon-gallery/ribbon-gallery.d.ts +61 -0
  358. package/dist/components/roadmap-card/index.d.ts +1 -0
  359. package/dist/components/roadmap-card/roadmap-card.d.ts +38 -0
  360. package/dist/components/rolling-card-stack/index.d.ts +1 -0
  361. package/dist/components/rolling-card-stack/rolling-card-stack.d.ts +53 -0
  362. package/dist/components/rolling-stepper/index.d.ts +1 -0
  363. package/dist/components/rolling-stepper/rolling-stepper.d.ts +33 -0
  364. package/dist/components/rotating-text/index.d.ts +1 -0
  365. package/dist/components/rotating-text/rotating-text.d.ts +25 -0
  366. package/dist/components/score-card/index.d.ts +1 -0
  367. package/dist/components/score-card/score-card.d.ts +40 -0
  368. package/dist/components/search-modal/index.d.ts +1 -0
  369. package/dist/components/search-modal/search-modal.d.ts +62 -0
  370. package/dist/components/shimmer-text/index.d.ts +1 -0
  371. package/dist/components/shimmer-text/shimmer-text.d.ts +22 -0
  372. package/dist/components/sidebar-nav/index.d.ts +1 -0
  373. package/dist/components/sidebar-nav/sidebar-nav.d.ts +71 -0
  374. package/dist/components/slide-commit/index.d.ts +1 -0
  375. package/dist/components/slide-commit/slide-commit.d.ts +39 -0
  376. package/dist/components/spatial-gallery/index.d.ts +1 -0
  377. package/dist/components/spatial-gallery/spatial-gallery.d.ts +88 -0
  378. package/dist/components/spending-meter/index.d.ts +1 -0
  379. package/dist/components/spending-meter/spending-meter.d.ts +41 -0
  380. package/dist/components/tab-bar/index.d.ts +1 -0
  381. package/dist/components/tab-bar/tab-bar.d.ts +44 -0
  382. package/dist/components/team-member-card/index.d.ts +1 -0
  383. package/dist/components/team-member-card/team-member-card.d.ts +66 -0
  384. package/dist/components/team-morph/index.d.ts +1 -0
  385. package/dist/components/team-morph/team-morph.d.ts +38 -0
  386. package/dist/components/tilt-card/index.d.ts +1 -0
  387. package/dist/components/tilt-card/tilt-card.d.ts +27 -0
  388. package/dist/components/tilt-carousel/index.d.ts +1 -0
  389. package/dist/components/tilt-carousel/tilt-carousel.d.ts +43 -0
  390. package/dist/components/toast-stack/index.d.ts +1 -0
  391. package/dist/components/toast-stack/toast-stack.d.ts +57 -0
  392. package/dist/components/usage-ring/index.d.ts +1 -0
  393. package/dist/components/usage-ring/usage-ring.d.ts +40 -0
  394. package/dist/components/verify-flow/index.d.ts +1 -0
  395. package/dist/components/verify-flow/verify-flow.d.ts +49 -0
  396. package/dist/components/voice-prompt/index.d.ts +1 -0
  397. package/dist/components/voice-prompt/voice-prompt.d.ts +55 -0
  398. package/dist/components/wallet-card/index.d.ts +1 -0
  399. package/dist/components/wallet-card/wallet-card.d.ts +54 -0
  400. package/dist/components/wave-text/index.d.ts +1 -0
  401. package/dist/components/wave-text/wave-text.d.ts +27 -0
  402. package/dist/contact-card.d.ts +1 -0
  403. package/dist/contact-card.js +12 -0
  404. package/dist/context-menu.d.ts +1 -0
  405. package/dist/context-menu.js +17 -0
  406. package/dist/contour-feature-card.d.ts +1 -0
  407. package/dist/contour-feature-card.js +9 -0
  408. package/dist/contour-lines.d.ts +1 -0
  409. package/dist/contour-lines.js +8 -0
  410. package/dist/decay-card.d.ts +1 -0
  411. package/dist/decay-card.js +8 -0
  412. package/dist/deploy-streak.d.ts +1 -0
  413. package/dist/deploy-streak.js +9 -0
  414. package/dist/depth-carousel.d.ts +1 -0
  415. package/dist/depth-carousel.js +8 -0
  416. package/dist/device-traffic.d.ts +1 -0
  417. package/dist/device-traffic.js +12 -0
  418. package/dist/download-button.d.ts +1 -0
  419. package/dist/download-button.js +8 -0
  420. package/dist/event-card.d.ts +1 -0
  421. package/dist/event-card.js +12 -0
  422. package/dist/file-drop.d.ts +1 -0
  423. package/dist/file-drop.js +12 -0
  424. package/dist/flip-words.d.ts +1 -0
  425. package/dist/flip-words.js +8 -0
  426. package/dist/flux-card.d.ts +1 -0
  427. package/dist/flux-card.js +13 -0
  428. package/dist/fuse-button.d.ts +1 -0
  429. package/dist/fuse-button.js +9 -0
  430. package/dist/globe-card.d.ts +1 -0
  431. package/dist/globe-card.js +8 -0
  432. package/dist/goal-gauge.d.ts +1 -0
  433. package/dist/goal-gauge.js +9 -0
  434. package/dist/gradient-card.d.ts +1 -0
  435. package/dist/gradient-card.js +8 -0
  436. package/dist/gradient-text.d.ts +1 -0
  437. package/dist/gradient-text.js +8 -0
  438. package/dist/gravity-tag-pile.d.ts +1 -0
  439. package/dist/gravity-tag-pile.js +9 -0
  440. package/dist/growth-stream.d.ts +1 -0
  441. package/dist/growth-stream.js +10 -0
  442. package/dist/highlight-text.d.ts +1 -0
  443. package/dist/highlight-text.js +8 -0
  444. package/dist/hold-to-confirm.d.ts +1 -0
  445. package/dist/hold-to-confirm.js +8 -0
  446. package/dist/icons/activity.d.ts +15 -0
  447. package/dist/icons/archive.d.ts +15 -0
  448. package/dist/icons/arrow-down-right.d.ts +15 -0
  449. package/dist/icons/arrow-down.d.ts +15 -0
  450. package/dist/icons/arrow-right.d.ts +15 -0
  451. package/dist/icons/arrow-up-right.d.ts +15 -0
  452. package/dist/icons/arrow-up.d.ts +15 -0
  453. package/dist/icons/at-sign.d.ts +15 -0
  454. package/dist/icons/attach-file.d.ts +15 -0
  455. package/dist/icons/badge-alert.d.ts +15 -0
  456. package/dist/icons/bell.d.ts +15 -0
  457. package/dist/icons/bold.d.ts +15 -0
  458. package/dist/icons/bookmark.d.ts +15 -0
  459. package/dist/icons/bot.d.ts +15 -0
  460. package/dist/icons/calendar-check-2.d.ts +15 -0
  461. package/dist/icons/calendar-check.d.ts +15 -0
  462. package/dist/icons/calendar-days.d.ts +15 -0
  463. package/dist/icons/chart-line.d.ts +15 -0
  464. package/dist/icons/chart-pie.d.ts +15 -0
  465. package/dist/icons/check.d.ts +15 -0
  466. package/dist/icons/chevron-down.d.ts +15 -0
  467. package/dist/icons/chevron-left.d.ts +15 -0
  468. package/dist/icons/chevron-right.d.ts +15 -0
  469. package/dist/icons/circle-check.d.ts +15 -0
  470. package/dist/icons/circle-dollar-sign.d.ts +15 -0
  471. package/dist/icons/clipboard-check.d.ts +15 -0
  472. package/dist/icons/clock.d.ts +15 -0
  473. package/dist/icons/cloud-upload.d.ts +15 -0
  474. package/dist/icons/compass.d.ts +15 -0
  475. package/dist/icons/contrast.d.ts +15 -0
  476. package/dist/icons/copy.d.ts +15 -0
  477. package/dist/icons/credit-card.d.ts +15 -0
  478. package/dist/icons/delete.d.ts +15 -0
  479. package/dist/icons/download.d.ts +15 -0
  480. package/dist/icons/dribbble.d.ts +15 -0
  481. package/dist/icons/earth.d.ts +15 -0
  482. package/dist/icons/eye-off.d.ts +15 -0
  483. package/dist/icons/eye.d.ts +15 -0
  484. package/dist/icons/feather.d.ts +15 -0
  485. package/dist/icons/figma.d.ts +15 -0
  486. package/dist/icons/file-text.d.ts +16 -0
  487. package/dist/icons/flame.d.ts +15 -0
  488. package/dist/icons/folder-input.d.ts +15 -0
  489. package/dist/icons/folder-open.d.ts +15 -0
  490. package/dist/icons/folders.d.ts +15 -0
  491. package/dist/icons/github.d.ts +15 -0
  492. package/dist/icons/hand-coins.d.ts +15 -0
  493. package/dist/icons/heart.d.ts +15 -0
  494. package/dist/icons/history.d.ts +15 -0
  495. package/dist/icons/home.d.ts +15 -0
  496. package/dist/icons/hourglass.d.ts +15 -0
  497. package/dist/icons/instagram.d.ts +15 -0
  498. package/dist/icons/italic.d.ts +15 -0
  499. package/dist/icons/layout-grid.d.ts +15 -0
  500. package/dist/icons/link.d.ts +15 -0
  501. package/dist/icons/linkedin.d.ts +15 -0
  502. package/dist/icons/loader-circle.d.ts +15 -0
  503. package/dist/icons/lock-keyhole-open.d.ts +15 -0
  504. package/dist/icons/lock-keyhole.d.ts +15 -0
  505. package/dist/icons/lock.d.ts +15 -0
  506. package/dist/icons/logout.d.ts +15 -0
  507. package/dist/icons/mail-check.d.ts +15 -0
  508. package/dist/icons/map-pin.d.ts +15 -0
  509. package/dist/icons/message-circle.d.ts +15 -0
  510. package/dist/icons/mic.d.ts +15 -0
  511. package/dist/icons/monitor-check.d.ts +15 -0
  512. package/dist/icons/moon.d.ts +15 -0
  513. package/dist/icons/palette.d.ts +15 -0
  514. package/dist/icons/panel-left-close.d.ts +15 -0
  515. package/dist/icons/panel-left-open.d.ts +15 -0
  516. package/dist/icons/plug-zap.d.ts +15 -0
  517. package/dist/icons/plus.d.ts +15 -0
  518. package/dist/icons/radio.d.ts +15 -0
  519. package/dist/icons/receipt.d.ts +15 -0
  520. package/dist/icons/refresh-cw.d.ts +15 -0
  521. package/dist/icons/rotate-ccw.d.ts +15 -0
  522. package/dist/icons/search.d.ts +15 -0
  523. package/dist/icons/send.d.ts +15 -0
  524. package/dist/icons/settings.d.ts +15 -0
  525. package/dist/icons/shield-check.d.ts +15 -0
  526. package/dist/icons/smartphone-nfc.d.ts +15 -0
  527. package/dist/icons/smile.d.ts +15 -0
  528. package/dist/icons/sparkles.d.ts +15 -0
  529. package/dist/icons/square-pen.d.ts +15 -0
  530. package/dist/icons/sun.d.ts +15 -0
  531. package/dist/icons/terminal.d.ts +15 -0
  532. package/dist/icons/timer.d.ts +15 -0
  533. package/dist/icons/trending-up.d.ts +15 -0
  534. package/dist/icons/twitter.d.ts +15 -0
  535. package/dist/icons/underline.d.ts +15 -0
  536. package/dist/icons/undo.d.ts +15 -0
  537. package/dist/icons/user-check.d.ts +15 -0
  538. package/dist/icons/user-plus.d.ts +15 -0
  539. package/dist/icons/user-round-plus.d.ts +15 -0
  540. package/dist/icons/user.d.ts +15 -0
  541. package/dist/icons/users.d.ts +15 -0
  542. package/dist/icons/wifi.d.ts +15 -0
  543. package/dist/icons/workflow.d.ts +15 -0
  544. package/dist/icons/x.d.ts +15 -0
  545. package/dist/icons/zap.d.ts +15 -0
  546. package/dist/index.d.ts +100 -0
  547. package/dist/index.js +472 -0
  548. package/dist/infinite-gallery.d.ts +1 -0
  549. package/dist/infinite-gallery.js +9 -0
  550. package/dist/integration-hub.d.ts +1 -0
  551. package/dist/integration-hub.js +8 -0
  552. package/dist/lib/cn.d.ts +3 -0
  553. package/dist/liquid-card.d.ts +1 -0
  554. package/dist/liquid-card.js +10 -0
  555. package/dist/liquid-metal-card.d.ts +1 -0
  556. package/dist/liquid-metal-card.js +8 -0
  557. package/dist/liquid-tabs.d.ts +1 -0
  558. package/dist/liquid-tabs.js +14 -0
  559. package/dist/magnetic-button.d.ts +1 -0
  560. package/dist/magnetic-button.js +8 -0
  561. package/dist/magnetic-flow.d.ts +1 -0
  562. package/dist/magnetic-flow.js +8 -0
  563. package/dist/message-composer.d.ts +1 -0
  564. package/dist/message-composer.js +20 -0
  565. package/dist/metal-card-stack.d.ts +1 -0
  566. package/dist/metal-card-stack.js +8 -0
  567. package/dist/metric-split.d.ts +1 -0
  568. package/dist/metric-split.js +9 -0
  569. package/dist/mix-chart.d.ts +1 -0
  570. package/dist/mix-chart.js +9 -0
  571. package/dist/month-calendar.d.ts +1 -0
  572. package/dist/month-calendar.js +10 -0
  573. package/dist/morph-search.d.ts +1 -0
  574. package/dist/morph-search.js +10 -0
  575. package/dist/orbit-card.d.ts +1 -0
  576. package/dist/orbit-card.js +8 -0
  577. package/dist/otp-code.d.ts +1 -0
  578. package/dist/otp-code.js +17 -0
  579. package/dist/particle-card.d.ts +1 -0
  580. package/dist/particle-card.js +8 -0
  581. package/dist/payment-form.d.ts +1 -0
  582. package/dist/payment-form.js +8 -0
  583. package/dist/pill-tabs.d.ts +1 -0
  584. package/dist/pill-tabs.js +9 -0
  585. package/dist/pixel-blast.d.ts +1 -0
  586. package/dist/pixel-blast.js +8 -0
  587. package/dist/pixel-feature-card.d.ts +1 -0
  588. package/dist/pixel-feature-card.js +9 -0
  589. package/dist/pixel-scroll.d.ts +1 -0
  590. package/dist/pixel-scroll.js +8 -0
  591. package/dist/pricing-card.d.ts +1 -0
  592. package/dist/pricing-card.js +14 -0
  593. package/dist/prism-carousel.d.ts +1 -0
  594. package/dist/prism-carousel.js +8 -0
  595. package/dist/prism-flow.d.ts +1 -0
  596. package/dist/prism-flow.js +8 -0
  597. package/dist/privacy-banner.d.ts +1 -0
  598. package/dist/privacy-banner.js +8 -0
  599. package/dist/profile-card.d.ts +1 -0
  600. package/dist/profile-card.js +13 -0
  601. package/dist/profile-menu.d.ts +1 -0
  602. package/dist/profile-menu.js +21 -0
  603. package/dist/project-index.d.ts +1 -0
  604. package/dist/project-index.js +9 -0
  605. package/dist/prompt-input.d.ts +1 -0
  606. package/dist/prompt-input.js +14 -0
  607. package/dist/quota-gauge.d.ts +1 -0
  608. package/dist/quota-gauge.js +9 -0
  609. package/dist/range-chart.d.ts +1 -0
  610. package/dist/range-chart.js +8 -0
  611. package/dist/reaction-card.d.ts +1 -0
  612. package/dist/reaction-card.js +8 -0
  613. package/dist/recap-card.d.ts +1 -0
  614. package/dist/recap-card.js +15 -0
  615. package/dist/receipt-button.d.ts +1 -0
  616. package/dist/receipt-button.js +8 -0
  617. package/dist/ribbon-gallery.d.ts +1 -0
  618. package/dist/ribbon-gallery.js +8 -0
  619. package/dist/roadmap-card.d.ts +1 -0
  620. package/dist/roadmap-card.js +11 -0
  621. package/dist/rolling-card-stack.d.ts +1 -0
  622. package/dist/rolling-card-stack.js +8 -0
  623. package/dist/rolling-stepper.d.ts +1 -0
  624. package/dist/rolling-stepper.js +8 -0
  625. package/dist/rotating-text.d.ts +1 -0
  626. package/dist/rotating-text.js +9 -0
  627. package/dist/score-card.d.ts +1 -0
  628. package/dist/score-card.js +10 -0
  629. package/dist/search-modal.d.ts +1 -0
  630. package/dist/search-modal.js +16 -0
  631. package/dist/shimmer-text.d.ts +1 -0
  632. package/dist/shimmer-text.js +8 -0
  633. package/dist/sidebar-nav.d.ts +1 -0
  634. package/dist/sidebar-nav.js +19 -0
  635. package/dist/slide-commit.d.ts +1 -0
  636. package/dist/slide-commit.js +9 -0
  637. package/dist/spatial-gallery.d.ts +1 -0
  638. package/dist/spatial-gallery.js +8 -0
  639. package/dist/spending-meter.d.ts +1 -0
  640. package/dist/spending-meter.js +9 -0
  641. package/dist/tab-bar.d.ts +1 -0
  642. package/dist/tab-bar.js +18 -0
  643. package/dist/team-member-card.d.ts +1 -0
  644. package/dist/team-member-card.js +14 -0
  645. package/dist/team-morph.d.ts +1 -0
  646. package/dist/team-morph.js +11 -0
  647. package/dist/tilt-card.d.ts +1 -0
  648. package/dist/tilt-card.js +8 -0
  649. package/dist/tilt-carousel.d.ts +1 -0
  650. package/dist/tilt-carousel.js +8 -0
  651. package/dist/toast-stack.d.ts +1 -0
  652. package/dist/toast-stack.js +13 -0
  653. package/dist/usage-ring.d.ts +1 -0
  654. package/dist/usage-ring.js +9 -0
  655. package/dist/verify-flow.d.ts +1 -0
  656. package/dist/verify-flow.js +10 -0
  657. package/dist/voice-prompt.d.ts +1 -0
  658. package/dist/voice-prompt.js +14 -0
  659. package/dist/wallet-card.d.ts +1 -0
  660. package/dist/wallet-card.js +15 -0
  661. package/dist/wave-text.d.ts +1 -0
  662. package/dist/wave-text.js +8 -0
  663. package/package.json +111 -4
@@ -0,0 +1,406 @@
1
+ "use client";
2
+ import {
3
+ ArchiveIcon
4
+ } from "./chunk-PJ5EVDNN.js";
5
+ import {
6
+ FolderOpenIcon
7
+ } from "./chunk-MUDKP3LK.js";
8
+ import {
9
+ SparklesIcon
10
+ } from "./chunk-YGONLKWH.js";
11
+ import {
12
+ TrendingUpIcon
13
+ } from "./chunk-SSWKGVRI.js";
14
+ import {
15
+ MailCheckIcon
16
+ } from "./chunk-CEQ56RF6.js";
17
+ import {
18
+ ZapIcon
19
+ } from "./chunk-6GRDT3OE.js";
20
+ import {
21
+ cn
22
+ } from "./chunk-2TQSHVXA.js";
23
+
24
+ // src/components/pricing-card/pricing-card.tsx
25
+ import * as React from "react";
26
+ import {
27
+ AnimatePresence,
28
+ motion,
29
+ useReducedMotion
30
+ } from "motion/react";
31
+ import { ArrowRight } from "lucide-react";
32
+ import { jsx, jsxs } from "react/jsx-runtime";
33
+ var SPRING = { type: "spring", stiffness: 420, damping: 34 };
34
+ var KNOB = { type: "spring", stiffness: 600, damping: 34 };
35
+ var ROLL = { type: "spring", stiffness: 220, damping: 26 };
36
+ var EASE = [0.22, 1, 0.36, 1];
37
+ var DIGITS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
38
+ var GLOW = "linear-gradient(120deg, #e9d5ff, #c7d7fe, #fbcfe8, #fde7c2, #e9d5ff)";
39
+ var DEFAULT_PLAN = {
40
+ name: "Personal",
41
+ label: "Ideal for solo makers",
42
+ blurb: "Everything you need to ship your own projects.",
43
+ monthly: 12,
44
+ yearly: 9,
45
+ features: [
46
+ {
47
+ title: "Unlimited projects",
48
+ detail: "Start as many as you like.",
49
+ icon: FolderOpenIcon
50
+ },
51
+ {
52
+ title: "Simple analytics",
53
+ detail: "Visits, sources and top pages.",
54
+ icon: TrendingUpIcon
55
+ },
56
+ {
57
+ title: "10 GB storage",
58
+ detail: "Room for files and builds.",
59
+ icon: ArchiveIcon
60
+ },
61
+ {
62
+ title: "Email support",
63
+ detail: "Answers within a working day.",
64
+ icon: MailCheckIcon
65
+ }
66
+ ],
67
+ cta: "Get started",
68
+ footnote: "14 day free trial, no card needed",
69
+ icon: ZapIcon
70
+ };
71
+ function Digit({ digit, still }) {
72
+ return /* @__PURE__ */ jsx("span", { className: "relative inline-block h-[1em] w-[0.62em] overflow-hidden", children: /* @__PURE__ */ jsx(
73
+ motion.span,
74
+ {
75
+ className: "absolute inset-x-0 top-0 flex flex-col",
76
+ initial: false,
77
+ animate: { y: `${-digit * 10}%` },
78
+ transition: still ? { duration: 0 } : ROLL,
79
+ children: DIGITS.map((d) => /* @__PURE__ */ jsx("span", { className: "flex h-[1em] items-center justify-center", children: d }, d))
80
+ }
81
+ ) });
82
+ }
83
+ function Rolling({ value, still }) {
84
+ const chars = Array.from(String(Math.round(value)));
85
+ return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "inline-flex leading-none tabular-nums", children: chars.map((ch, i) => /* @__PURE__ */ jsx(Digit, { digit: Number(ch), still }, chars.length - i)) });
86
+ }
87
+ function Feature({
88
+ feature,
89
+ delay,
90
+ hovered,
91
+ onHover,
92
+ uid,
93
+ still
94
+ }) {
95
+ const Icon = feature.icon;
96
+ return /* @__PURE__ */ jsxs(
97
+ motion.li,
98
+ {
99
+ initial: still ? { opacity: 0 } : { opacity: 0, y: 6 },
100
+ whileInView: { opacity: 1, y: 0 },
101
+ viewport: { once: true },
102
+ transition: {
103
+ duration: still ? 0 : 0.45,
104
+ delay: still ? 0 : delay,
105
+ ease: EASE
106
+ },
107
+ onPointerEnter: () => onHover(true),
108
+ onPointerLeave: () => onHover(false),
109
+ className: "relative -mx-2.5 flex gap-3 rounded-2xl px-2.5 py-2.5",
110
+ children: [
111
+ hovered && /* @__PURE__ */ jsx(
112
+ motion.span,
113
+ {
114
+ layoutId: `${uid}-row`,
115
+ transition: still ? { duration: 0 } : { type: "spring", stiffness: 500, damping: 38 },
116
+ className: "absolute inset-0 rounded-2xl bg-[#242423]/[0.045]"
117
+ }
118
+ ),
119
+ /* @__PURE__ */ jsx(
120
+ motion.span,
121
+ {
122
+ animate: { scale: hovered && !still ? 1.12 : 1 },
123
+ transition: { type: "spring", stiffness: 500, damping: 26 },
124
+ className: "relative mt-0.5 grid size-4 shrink-0 place-items-center text-zinc-600",
125
+ children: Icon ? /* @__PURE__ */ jsx(
126
+ Icon,
127
+ {
128
+ className: "size-4",
129
+ strokeWidth: 2.25,
130
+ active: hovered && !still ? true : void 0
131
+ }
132
+ ) : /* @__PURE__ */ jsx("span", { className: "size-1.5 rounded-full bg-current" })
133
+ }
134
+ ),
135
+ /* @__PURE__ */ jsxs("span", { className: "relative min-w-0", children: [
136
+ /* @__PURE__ */ jsx("span", { className: "block text-sm font-medium leading-5", children: feature.title }),
137
+ feature.detail && /* @__PURE__ */ jsx("span", { className: "mt-1 block text-xs leading-4 text-zinc-500", children: feature.detail })
138
+ ] })
139
+ ]
140
+ }
141
+ );
142
+ }
143
+ var PricingCard = React.forwardRef(
144
+ function PricingCard2({
145
+ plan = DEFAULT_PLAN,
146
+ defaultBilling = "monthly",
147
+ note = "Recommended for you",
148
+ onSelect,
149
+ className
150
+ }, ref) {
151
+ const still = !!useReducedMotion();
152
+ const [billing, setBilling] = React.useState(
153
+ defaultBilling
154
+ );
155
+ const [lit, setLit] = React.useState(false);
156
+ const [intro, setIntro] = React.useState(false);
157
+ const [row, setRow] = React.useState(null);
158
+ const uid = React.useId();
159
+ const yearly = billing === "yearly";
160
+ const price = yearly ? plan.yearly : plan.monthly;
161
+ const save = plan.monthly > 0 ? Math.round((1 - plan.yearly / plan.monthly) * 100) : 0;
162
+ const Icon = plan.icon;
163
+ return /* @__PURE__ */ jsx(
164
+ motion.div,
165
+ {
166
+ ref,
167
+ initial: still ? { opacity: 0 } : { opacity: 0, y: 32, filter: "blur(8px)" },
168
+ whileInView: { opacity: 1, y: 0, filter: "blur(0px)" },
169
+ viewport: { once: true, amount: 0.25 },
170
+ transition: { duration: still ? 0 : 0.75, ease: EASE },
171
+ onViewportEnter: () => {
172
+ setIntro(true);
173
+ window.setTimeout(() => setIntro(false), 1200);
174
+ },
175
+ className: cn("w-[360px] max-w-full", className),
176
+ children: /* @__PURE__ */ jsxs(
177
+ motion.div,
178
+ {
179
+ tabIndex: 0,
180
+ "aria-label": `${plan.name}, $${price} a month`,
181
+ onPointerEnter: (e) => e.pointerType === "mouse" && setLit(true),
182
+ onPointerLeave: (e) => e.pointerType === "mouse" && setLit(false),
183
+ onFocus: () => setLit(true),
184
+ onBlur: (e) => {
185
+ if (!e.currentTarget.contains(e.relatedTarget))
186
+ setLit(false);
187
+ },
188
+ animate: {
189
+ y: lit && !still ? -6 : 0,
190
+ boxShadow: lit ? "0 1px 2px rgba(0,0,0,0.04), 0 28px 56px -28px rgba(80,60,160,0.35)" : "0 1px 2px rgba(0,0,0,0.03), 0 12px 32px -20px rgba(0,0,0,0.16)"
191
+ },
192
+ transition: SPRING,
193
+ className: "relative overflow-hidden rounded-[30px] bg-[#f1f1ef] p-1.5 text-[#242423] outline-none focus-visible:ring-2 focus-visible:ring-zinc-400",
194
+ children: [
195
+ /* @__PURE__ */ jsx(
196
+ motion.span,
197
+ {
198
+ "aria-hidden": true,
199
+ className: "pointer-events-none absolute inset-0",
200
+ style: { background: GLOW, backgroundSize: "300% 300%" },
201
+ initial: false,
202
+ animate: {
203
+ opacity: lit ? 1 : 0,
204
+ backgroundPosition: still ? "0% 50%" : ["0% 50%", "100% 50%", "0% 50%"]
205
+ },
206
+ transition: {
207
+ opacity: { duration: 0.5, ease: EASE },
208
+ backgroundPosition: {
209
+ duration: 10,
210
+ repeat: Infinity,
211
+ ease: "linear"
212
+ }
213
+ }
214
+ }
215
+ ),
216
+ /* @__PURE__ */ jsx("div", { className: "relative flex h-9 items-center overflow-hidden px-4", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children: /* @__PURE__ */ jsxs(
217
+ motion.span,
218
+ {
219
+ initial: still ? { opacity: 0 } : { opacity: 0, y: 16, filter: "blur(4px)" },
220
+ animate: { opacity: 1, y: 0, filter: "blur(0px)" },
221
+ exit: still ? { opacity: 0 } : { opacity: 0, y: -16, filter: "blur(4px)" },
222
+ transition: { duration: 0.35, ease: EASE },
223
+ className: cn(
224
+ "flex items-center gap-1.5 truncate text-xs font-medium",
225
+ lit ? "text-[#242423]" : "text-zinc-500"
226
+ ),
227
+ children: [
228
+ lit && /* @__PURE__ */ jsx(
229
+ SparklesIcon,
230
+ {
231
+ className: "size-3.5",
232
+ strokeWidth: 2,
233
+ active: !still
234
+ }
235
+ ),
236
+ lit ? note : plan.label
237
+ ]
238
+ },
239
+ lit ? "note" : "label"
240
+ ) }) }),
241
+ /* @__PURE__ */ jsxs(
242
+ motion.div,
243
+ {
244
+ initial: still ? false : { y: 14, opacity: 0 },
245
+ whileInView: { y: 0, opacity: 1 },
246
+ viewport: { once: true },
247
+ transition: {
248
+ duration: still ? 0 : 0.6,
249
+ delay: still ? 0 : 0.15,
250
+ ease: EASE
251
+ },
252
+ className: "relative rounded-3xl bg-white p-5 shadow-[0_1px_2px_rgba(0,0,0,0.04),0_8px_24px_-14px_rgba(0,0,0,0.16)]",
253
+ children: [
254
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
255
+ Icon && /* @__PURE__ */ jsx(
256
+ "span",
257
+ {
258
+ className: cn(
259
+ "grid size-10 shrink-0 place-items-center rounded-2xl transition-colors duration-300",
260
+ lit ? "bg-[#242423] text-white" : "bg-[#242423]/[0.06] text-[#242423]"
261
+ ),
262
+ children: /* @__PURE__ */ jsx(
263
+ Icon,
264
+ {
265
+ className: "size-[18px]",
266
+ strokeWidth: 2,
267
+ active: (lit || intro) && !still ? true : void 0
268
+ }
269
+ )
270
+ }
271
+ ),
272
+ /* @__PURE__ */ jsx("p", { className: "text-lg font-semibold tracking-tight", children: plan.name })
273
+ ] }),
274
+ /* @__PURE__ */ jsx("p", { className: "mt-3 text-sm leading-5 text-zinc-500", children: plan.blurb }),
275
+ /* @__PURE__ */ jsxs("div", { className: "mt-6 flex items-end justify-between gap-3", children: [
276
+ /* @__PURE__ */ jsxs("div", { children: [
277
+ /* @__PURE__ */ jsxs("span", { className: "flex items-baseline gap-1", children: [
278
+ /* @__PURE__ */ jsxs("span", { className: "flex items-start text-[48px] font-semibold leading-none tracking-tight", children: [
279
+ /* @__PURE__ */ jsx("span", { className: "mt-1 text-2xl text-zinc-400", children: "$" }),
280
+ /* @__PURE__ */ jsx(Rolling, { value: price, still })
281
+ ] }),
282
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-zinc-500", children: "/ month" })
283
+ ] }),
284
+ /* @__PURE__ */ jsx("span", { className: "relative mt-2 inline-grid h-4 overflow-hidden text-xs text-zinc-500", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children: /* @__PURE__ */ jsx(
285
+ motion.span,
286
+ {
287
+ initial: still ? { opacity: 0 } : { opacity: 0, y: 8, filter: "blur(3px)" },
288
+ animate: { opacity: 1, y: 0, filter: "blur(0px)" },
289
+ exit: still ? { opacity: 0 } : { opacity: 0, y: -8, filter: "blur(3px)" },
290
+ transition: { duration: 0.3, ease: EASE },
291
+ className: "leading-4",
292
+ children: yearly ? `$${plan.yearly * 12} billed once a year` : "Billed monthly, cancel any time"
293
+ },
294
+ billing
295
+ ) }) })
296
+ ] }),
297
+ /* @__PURE__ */ jsxs(
298
+ "button",
299
+ {
300
+ type: "button",
301
+ role: "switch",
302
+ "aria-checked": yearly,
303
+ onClick: () => setBilling(yearly ? "monthly" : "yearly"),
304
+ className: "mb-5 flex shrink-0 cursor-pointer flex-col items-end gap-1.5 outline-none focus-visible:rounded-lg focus-visible:ring-2 focus-visible:ring-zinc-400",
305
+ children: [
306
+ /* @__PURE__ */ jsx("span", { className: "relative inline-grid h-4 overflow-hidden text-xs", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children: /* @__PURE__ */ jsx(
307
+ motion.span,
308
+ {
309
+ initial: still ? { opacity: 0 } : { opacity: 0, y: 8, scale: 0.9 },
310
+ animate: { opacity: 1, y: 0, scale: 1 },
311
+ exit: still ? { opacity: 0 } : { opacity: 0, y: -8, scale: 0.9 },
312
+ transition: { duration: 0.25, ease: EASE },
313
+ className: cn(
314
+ "leading-4 font-medium",
315
+ yearly ? "text-[#269a5a]" : "text-zinc-500"
316
+ ),
317
+ children: yearly ? `Saving ${save}%` : "Pay yearly"
318
+ },
319
+ yearly ? "save" : "plain"
320
+ ) }) }),
321
+ /* @__PURE__ */ jsx(
322
+ "span",
323
+ {
324
+ className: cn(
325
+ "relative flex h-6 w-10 items-center rounded-full p-0.5 transition-colors duration-300",
326
+ yearly ? "bg-[#242423]" : "bg-[#242423]/[0.12]"
327
+ ),
328
+ children: /* @__PURE__ */ jsx(
329
+ motion.span,
330
+ {
331
+ className: "size-5 rounded-full bg-white shadow-[0_1px_3px_rgba(0,0,0,0.25)]",
332
+ animate: { x: yearly ? 16 : 0 },
333
+ transition: still ? { duration: 0 } : KNOB
334
+ }
335
+ )
336
+ }
337
+ )
338
+ ]
339
+ }
340
+ )
341
+ ] }),
342
+ /* @__PURE__ */ jsxs(
343
+ "button",
344
+ {
345
+ type: "button",
346
+ onClick: () => onSelect?.(billing),
347
+ className: cn(
348
+ "group/cta mt-5 flex h-11 w-full cursor-pointer items-center justify-center gap-2 rounded-full text-sm font-medium outline-none transition-[background-color,color,box-shadow] duration-300 focus-visible:ring-2 focus-visible:ring-zinc-400 active:scale-[0.98]",
349
+ lit ? "bg-[#242423] text-white shadow-[0_8px_20px_-10px_rgba(0,0,0,0.5)]" : "bg-[#242423]/[0.06] text-[#242423] hover:bg-[#242423]/[0.1]"
350
+ ),
351
+ children: [
352
+ plan.cta,
353
+ /* @__PURE__ */ jsxs("span", { className: "relative grid size-4 overflow-hidden", children: [
354
+ /* @__PURE__ */ jsx(
355
+ ArrowRight,
356
+ {
357
+ className: "size-4 transition-transform duration-300 ease-out group-hover/cta:translate-x-5",
358
+ strokeWidth: 2.25
359
+ }
360
+ ),
361
+ /* @__PURE__ */ jsx(
362
+ ArrowRight,
363
+ {
364
+ className: "absolute inset-0 size-4 -translate-x-5 transition-transform duration-300 ease-out group-hover/cta:translate-x-0",
365
+ strokeWidth: 2.25
366
+ }
367
+ )
368
+ ] })
369
+ ]
370
+ }
371
+ ),
372
+ plan.footnote && /* @__PURE__ */ jsx("p", { className: "mt-2.5 text-center text-xs text-zinc-500", children: plan.footnote }),
373
+ /* @__PURE__ */ jsx("div", { className: "mb-3 mt-5 h-px bg-[#242423]/[0.06]" }),
374
+ /* @__PURE__ */ jsx(
375
+ "ul",
376
+ {
377
+ className: "flex flex-col gap-0.5",
378
+ onPointerLeave: () => setRow(null),
379
+ children: plan.features.map((f, k) => /* @__PURE__ */ jsx(
380
+ Feature,
381
+ {
382
+ feature: f,
383
+ delay: 0.45 + k * 0.06,
384
+ hovered: row === k,
385
+ onHover: (on) => setRow(on ? k : null),
386
+ uid,
387
+ still
388
+ },
389
+ f.title
390
+ ))
391
+ }
392
+ )
393
+ ]
394
+ }
395
+ )
396
+ ]
397
+ }
398
+ )
399
+ }
400
+ );
401
+ }
402
+ );
403
+
404
+ export {
405
+ PricingCard
406
+ };
@@ -0,0 +1,213 @@
1
+ "use client";
2
+ import {
3
+ cn
4
+ } from "./chunk-2TQSHVXA.js";
5
+
6
+ // src/components/magnetic-flow/magnetic-flow.tsx
7
+ import * as React from "react";
8
+ import gsap from "gsap";
9
+ import { useGSAP } from "@gsap/react";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ gsap.registerPlugin(useGSAP);
12
+ var face = "relative h-full w-full overflow-hidden";
13
+ var BARS = [55, 30, 70, 42, 85, 38, 64, 48, 76];
14
+ var PIXELS = Array.from({ length: 42 }, (_, i) => (i * 37 + 11) % 10 / 10);
15
+ var DEFAULT_CARDS = [
16
+ /* @__PURE__ */ jsxs("div", { className: cn(face, "bg-[#d4392e] p-[9cqw] text-white"), children: [
17
+ /* @__PURE__ */ jsx("p", { className: "text-[11cqw] font-medium uppercase tracking-[0.2em] opacity-80", children: "magnetic" }),
18
+ /* @__PURE__ */ jsx("p", { className: "absolute bottom-[6cqw] left-[7cqw] text-[38cqw] font-black leading-[0.8] tracking-tighter", children: "FLOW" })
19
+ ] }, "flow"),
20
+ /* @__PURE__ */ jsx("div", { className: cn(face, "grid place-items-center bg-[#ec9a74]"), children: /* @__PURE__ */ jsx("div", { className: "size-[72cqw] rounded-full bg-[repeating-radial-gradient(circle,#1b1b1b_0_2.6cqw,transparent_2.6cqw_6.4cqw)]" }) }, "rings"),
21
+ /* @__PURE__ */ jsx("div", { className: cn(face, "flex items-end justify-center gap-[3.2cqw] bg-[#f2c94c] pb-[14cqw]"), children: BARS.map((h, i) => /* @__PURE__ */ jsx("span", { className: "w-[5.5cqw] rounded-full bg-[#141414]", style: { height: `${h * 0.62}cqw` } }, i)) }, "bars"),
22
+ /* @__PURE__ */ jsx("div", { className: cn(face, "grid place-items-center bg-[#3563e9]"), children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-7 gap-[2.4cqw]", children: PIXELS.map((o, i) => /* @__PURE__ */ jsx("span", { className: "size-[6.5cqw] rounded-[1cqw] bg-white", style: { opacity: 0.18 + o * 0.6 } }, i)) }) }, "pixels"),
23
+ /* @__PURE__ */ jsxs("div", { className: cn(face, "flex flex-col justify-between bg-[#8fd6c7] p-[9cqw] text-[#141414]"), children: [
24
+ /* @__PURE__ */ jsx("p", { className: "text-[10cqw] font-bold tracking-[0.3em]", children: "\xD7 \u25CB \u25B3" }),
25
+ /* @__PURE__ */ jsxs("div", { children: [
26
+ /* @__PURE__ */ jsx("p", { className: "text-[13cqw] font-extrabold tracking-tight", children: "Loading" }),
27
+ /* @__PURE__ */ jsx("div", { className: "mt-[4cqw] h-[3cqw] rounded-full bg-black/15", children: /* @__PURE__ */ jsx("div", { className: "h-full w-[36%] rounded-full bg-[#141414]" }) })
28
+ ] })
29
+ ] }, "loading"),
30
+ /* @__PURE__ */ jsx("div", { className: cn(face, "grid place-items-center bg-[#1e1f23]"), children: /* @__PURE__ */ jsx("div", { className: "size-[62cqw] rounded-full bg-[conic-gradient(from_200deg,#f4f4f5,#71717a,#e4e4e7,#52525b,#f4f4f5)] p-[11cqw]", children: /* @__PURE__ */ jsx("div", { className: "size-full rounded-full bg-[#1e1f23]" }) }) }, "ring"),
31
+ /* @__PURE__ */ jsx(
32
+ "div",
33
+ {
34
+ className: cn(face, "bg-[#e8643b] bg-[radial-gradient(circle_at_50%_78%,#ffe2b3_0%,#ffad6b_22%,transparent_58%)]"),
35
+ children: /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 bottom-[20cqw] h-px bg-white/40" })
36
+ },
37
+ "sun"
38
+ ),
39
+ /* @__PURE__ */ jsx("div", { className: cn(face, "bg-[#e4e7ec] p-[8cqw] text-[#111]"), children: /* @__PURE__ */ jsxs("p", { className: "text-[18cqw] font-black uppercase leading-[0.88] tracking-tight", children: [
40
+ "Move",
41
+ /* @__PURE__ */ jsx("br", {}),
42
+ "with",
43
+ /* @__PURE__ */ jsx("br", {}),
44
+ "the",
45
+ /* @__PURE__ */ jsx("br", {}),
46
+ "flow"
47
+ ] }) }, "words")
48
+ ];
49
+ var MagneticFlow = React.forwardRef(function MagneticFlow2({
50
+ cards = DEFAULT_CARDS,
51
+ cardSize = 140,
52
+ follow = 0.16,
53
+ spacing = 7,
54
+ burstRadius = 150,
55
+ burstHold = 2400,
56
+ autoplay = true,
57
+ onBurst,
58
+ className
59
+ }, forwardedRef) {
60
+ const root = React.useRef(null);
61
+ React.useImperativeHandle(forwardedRef, () => root.current);
62
+ const mode = React.useRef("flow");
63
+ const pointer = React.useRef(null);
64
+ const pos = React.useRef([]);
65
+ const holdTimer = React.useRef(null);
66
+ const [burst, setBurst] = React.useState(false);
67
+ const chain = () => gsap.utils.toArray("[data-card]", root.current).reverse();
68
+ const center = () => {
69
+ const el = root.current;
70
+ return { x: el.clientWidth / 2, y: el.clientHeight / 2 };
71
+ };
72
+ const { contextSafe } = useGSAP(
73
+ () => {
74
+ const els = chain();
75
+ const c = center();
76
+ const reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
77
+ pos.current = els.map((_, i) => ({ x: c.x - i * spacing, y: c.y - i * spacing, r: 0 }));
78
+ gsap.set(els, { xPercent: -50, yPercent: -50, x: (i) => pos.current[i].x, y: (i) => pos.current[i].y });
79
+ if (reduce) return;
80
+ const setX = els.map((el) => gsap.quickSetter(el, "x", "px"));
81
+ const setY = els.map((el) => gsap.quickSetter(el, "y", "px"));
82
+ const setR = els.map((el) => gsap.quickSetter(el, "rotation", "deg"));
83
+ const tick = (time, delta) => {
84
+ if (mode.current !== "flow") return;
85
+ const el = root.current;
86
+ if (!el) return;
87
+ const w = el.clientWidth;
88
+ const h = el.clientHeight;
89
+ const target = pointer.current ?? (autoplay ? { x: w / 2 + 14 * Math.sin(time * 0.9), y: h / 2 + 10 * Math.sin(time * 1.4 + 1) } : { x: w / 2, y: h / 2 });
90
+ const k = 1 - Math.pow(1 - follow, delta / 16.67);
91
+ pos.current.forEach((p, i) => {
92
+ const ahead = i === 0 ? target : { x: pos.current[i - 1].x - spacing, y: pos.current[i - 1].y - spacing };
93
+ const ease = i === 0 ? Math.min(1, k * 1.5) : k;
94
+ const vx = (ahead.x - p.x) * ease;
95
+ p.x += vx;
96
+ p.y += (ahead.y - p.y) * ease;
97
+ p.r += (gsap.utils.clamp(-16, 16, vx * 1.6) - p.r) * 0.12;
98
+ setX[i](p.x);
99
+ setY[i](p.y);
100
+ setR[i](p.r);
101
+ });
102
+ };
103
+ gsap.ticker.add(tick);
104
+ return () => gsap.ticker.remove(tick);
105
+ },
106
+ { scope: root, dependencies: [cards.length, follow, spacing, autoplay] }
107
+ );
108
+ React.useEffect(() => () => void (holdTimer.current && clearTimeout(holdTimer.current)), []);
109
+ const fold = contextSafe(() => {
110
+ if (mode.current !== "burst") return;
111
+ if (holdTimer.current) clearTimeout(holdTimer.current);
112
+ mode.current = "busy";
113
+ setBurst(false);
114
+ const els = chain();
115
+ const c = center();
116
+ gsap.to(els, {
117
+ x: (i) => c.x - i * spacing,
118
+ y: (i) => c.y - i * spacing,
119
+ rotation: 0,
120
+ scale: 1,
121
+ duration: 0.7,
122
+ ease: "power3.inOut",
123
+ stagger: { each: 0.03, from: "end" },
124
+ onComplete: () => {
125
+ pos.current = els.map((el) => ({
126
+ x: gsap.getProperty(el, "x"),
127
+ y: gsap.getProperty(el, "y"),
128
+ r: 0
129
+ }));
130
+ mode.current = "flow";
131
+ }
132
+ });
133
+ });
134
+ const open = contextSafe(() => {
135
+ if (mode.current !== "flow") return;
136
+ mode.current = "busy";
137
+ setBurst(true);
138
+ onBurst?.();
139
+ const els = chain();
140
+ const el = root.current;
141
+ const c = center();
142
+ const scale = 0.82;
143
+ const fit = (Math.min(el.clientWidth, el.clientHeight) - cardSize * scale * 1.2) / 2;
144
+ const radius = Math.max(cardSize * 0.4, Math.min(burstRadius, fit));
145
+ const step = 360 / els.length;
146
+ const reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
147
+ gsap.timeline({
148
+ onComplete: () => {
149
+ mode.current = "burst";
150
+ if (burstHold !== null) holdTimer.current = setTimeout(fold, burstHold);
151
+ }
152
+ }).to(els, {
153
+ x: c.x,
154
+ y: c.y,
155
+ rotation: 0,
156
+ scale: 0.9,
157
+ duration: reduce ? 0 : 0.35,
158
+ ease: "power2.in",
159
+ stagger: { each: 0.015, from: "end" }
160
+ }).to(els, {
161
+ x: (i) => c.x + Math.cos((i * step - 90) * Math.PI / 180) * radius,
162
+ y: (i) => c.y + Math.sin((i * step - 90) * Math.PI / 180) * radius,
163
+ rotation: (i) => i * step,
164
+ scale,
165
+ duration: reduce ? 0 : 1.1,
166
+ ease: "elastic.out(1, 0.65)",
167
+ stagger: 0.035
168
+ });
169
+ });
170
+ const toggle = () => mode.current === "burst" ? fold() : open();
171
+ return /* @__PURE__ */ jsx(
172
+ "div",
173
+ {
174
+ ref: root,
175
+ role: "button",
176
+ tabIndex: 0,
177
+ "aria-pressed": burst,
178
+ "aria-label": burst ? "Fold the cards back" : "Burst the cards open",
179
+ onPointerMove: (e) => {
180
+ if (e.pointerType !== "mouse") return;
181
+ const rect = e.currentTarget.getBoundingClientRect();
182
+ pointer.current = { x: e.clientX - rect.left, y: e.clientY - rect.top };
183
+ },
184
+ onPointerLeave: () => pointer.current = null,
185
+ onClick: toggle,
186
+ onKeyDown: (e) => {
187
+ if (e.key === "Enter" || e.key === " ") {
188
+ e.preventDefault();
189
+ toggle();
190
+ }
191
+ },
192
+ className: cn(
193
+ "relative h-[440px] w-[400px] max-w-full cursor-pointer touch-none select-none overflow-hidden rounded-3xl outline-none focus-visible:ring-2 focus-visible:ring-zinc-400",
194
+ className
195
+ ),
196
+ children: cards.map((card, i) => /* @__PURE__ */ jsx(
197
+ "div",
198
+ {
199
+ "data-card": true,
200
+ "aria-hidden": true,
201
+ className: "@container absolute left-0 top-0 overflow-hidden rounded-[11%] shadow-[0_10px_24px_-12px_rgba(0,0,0,0.45)] will-change-transform",
202
+ style: { width: cardSize, height: cardSize },
203
+ children: card
204
+ },
205
+ i
206
+ ))
207
+ }
208
+ );
209
+ });
210
+
211
+ export {
212
+ MagneticFlow
213
+ };