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.
- package/LICENSE +21 -0
- package/README.md +106 -2
- package/dist/account-menu.d.ts +1 -0
- package/dist/account-menu.js +16 -0
- package/dist/action-menu.d.ts +1 -0
- package/dist/action-menu.js +10 -0
- package/dist/activity-grid.d.ts +1 -0
- package/dist/activity-grid.js +14 -0
- package/dist/add-card.d.ts +1 -0
- package/dist/add-card.js +11 -0
- package/dist/amount-slider.d.ts +1 -0
- package/dist/amount-slider.js +10 -0
- package/dist/annotation-text.d.ts +1 -0
- package/dist/annotation-text.js +8 -0
- package/dist/aura-card.d.ts +1 -0
- package/dist/aura-card.js +19 -0
- package/dist/auth-card.d.ts +1 -0
- package/dist/auth-card.js +15 -0
- package/dist/avatar-testimonial.d.ts +1 -0
- package/dist/avatar-testimonial.js +8 -0
- package/dist/backspace-text.d.ts +1 -0
- package/dist/backspace-text.js +8 -0
- package/dist/bell-toggle.d.ts +1 -0
- package/dist/bell-toggle.js +8 -0
- package/dist/bill-list.d.ts +1 -0
- package/dist/bill-list.js +15 -0
- package/dist/binary-text.d.ts +1 -0
- package/dist/binary-text.js +8 -0
- package/dist/blur-accordion.d.ts +1 -0
- package/dist/blur-accordion.js +8 -0
- package/dist/blur-text.d.ts +1 -0
- package/dist/blur-text.js +8 -0
- package/dist/booking-card.d.ts +1 -0
- package/dist/booking-card.js +11 -0
- package/dist/brand-bridge.d.ts +1 -0
- package/dist/brand-bridge.js +12 -0
- package/dist/calendar-agenda.d.ts +1 -0
- package/dist/calendar-agenda.js +12 -0
- package/dist/channel-mix.d.ts +1 -0
- package/dist/channel-mix.js +11 -0
- package/dist/chunk-25254AZA.js +141 -0
- package/dist/chunk-2CIJ5TVW.js +59 -0
- package/dist/chunk-2GXY54MP.js +247 -0
- package/dist/chunk-2IMPUH4H.js +135 -0
- package/dist/chunk-2NRXP4HM.js +371 -0
- package/dist/chunk-2QCWELWT.js +120 -0
- package/dist/chunk-2TQSHVXA.js +12 -0
- package/dist/chunk-327TGRS5.js +75 -0
- package/dist/chunk-3B2RYSTL.js +867 -0
- package/dist/chunk-3RKCLFY5.js +634 -0
- package/dist/chunk-4BVCRIR4.js +51 -0
- package/dist/chunk-4CKKTOJK.js +366 -0
- package/dist/chunk-4IGMH34C.js +319 -0
- package/dist/chunk-4PI6UNIZ.js +464 -0
- package/dist/chunk-4RHQKP2P.js +664 -0
- package/dist/chunk-5MP5QNFG.js +560 -0
- package/dist/chunk-62RBYLIN.js +128 -0
- package/dist/chunk-6GAKTS3D.js +329 -0
- package/dist/chunk-6GRDT3OE.js +124 -0
- package/dist/chunk-6JQY7AX5.js +307 -0
- package/dist/chunk-6LOUA6XB.js +237 -0
- package/dist/chunk-6V6OTHNE.js +299 -0
- package/dist/chunk-6VZIT62Q.js +142 -0
- package/dist/chunk-6WSY725U.js +387 -0
- package/dist/chunk-6XSJC7M7.js +764 -0
- package/dist/chunk-75DEIDBX.js +129 -0
- package/dist/chunk-7FQ4XU7E.js +127 -0
- package/dist/chunk-7IL5WRJR.js +615 -0
- package/dist/chunk-7MPC3RUE.js +1462 -0
- package/dist/chunk-7PS2W7PU.js +112 -0
- package/dist/chunk-AATJOPNH.js +86 -0
- package/dist/chunk-ADXWPWJR.js +209 -0
- package/dist/chunk-ANNDITUM.js +47 -0
- package/dist/chunk-AQN6BHWC.js +325 -0
- package/dist/chunk-AVOS73MR.js +537 -0
- package/dist/chunk-B4LNE6YK.js +473 -0
- package/dist/chunk-BHUNLG6S.js +142 -0
- package/dist/chunk-BN4MA5UY.js +127 -0
- package/dist/chunk-BPE43MTT.js +183 -0
- package/dist/chunk-BPF3FQRS.js +590 -0
- package/dist/chunk-BRTZFUFR.js +503 -0
- package/dist/chunk-BS4ZFJKW.js +121 -0
- package/dist/chunk-BXAKCY6X.js +86 -0
- package/dist/chunk-CEQ56RF6.js +129 -0
- package/dist/chunk-CGDKH6BB.js +902 -0
- package/dist/chunk-CMTGYFT7.js +395 -0
- package/dist/chunk-COKBF5PG.js +3291 -0
- package/dist/chunk-DD55JZOI.js +257 -0
- package/dist/chunk-DQUXBNSH.js +412 -0
- package/dist/chunk-DR4DUSNF.js +265 -0
- package/dist/chunk-EDPCK6VU.js +419 -0
- package/dist/chunk-EEQ2WHTN.js +142 -0
- package/dist/chunk-ERVE5RSN.js +793 -0
- package/dist/chunk-FFUBTMDC.js +303 -0
- package/dist/chunk-FK4TZ5OW.js +29 -0
- package/dist/chunk-FXI6NHNR.js +1033 -0
- package/dist/chunk-G3XH7YT2.js +122 -0
- package/dist/chunk-G7KDH7ME.js +559 -0
- package/dist/chunk-GRUDTDLX.js +534 -0
- package/dist/chunk-GUQINNWS.js +770 -0
- package/dist/chunk-GV3Q4D2N.js +320 -0
- package/dist/chunk-GVWOJJ3T.js +129 -0
- package/dist/chunk-GYDTIVOY.js +934 -0
- package/dist/chunk-H2JOCJWM.js +125 -0
- package/dist/chunk-H7XKIWHA.js +135 -0
- package/dist/chunk-HHXK3NAH.js +1382 -0
- package/dist/chunk-HK34LPY6.js +112 -0
- package/dist/chunk-HLJXNSMM.js +320 -0
- package/dist/chunk-HPJJAQ5L.js +406 -0
- package/dist/chunk-HYSXVKZB.js +213 -0
- package/dist/chunk-I45D4XV4.js +124 -0
- package/dist/chunk-I7KTTOOJ.js +113 -0
- package/dist/chunk-IDJOKV6S.js +67 -0
- package/dist/chunk-IGI6OLRX.js +138 -0
- package/dist/chunk-IKM7EEYN.js +117 -0
- package/dist/chunk-INV5FI6O.js +394 -0
- package/dist/chunk-IUBUAIQZ.js +321 -0
- package/dist/chunk-IYZOANPX.js +159 -0
- package/dist/chunk-JFTD3YAL.js +163 -0
- package/dist/chunk-JGEV462J.js +235 -0
- package/dist/chunk-JHT6RCGY.js +127 -0
- package/dist/chunk-JJEWOQYQ.js +141 -0
- package/dist/chunk-JT2EIO5M.js +129 -0
- package/dist/chunk-K3HQEHJ6.js +663 -0
- package/dist/chunk-K6ET254T.js +398 -0
- package/dist/chunk-KE563QS4.js +425 -0
- package/dist/chunk-LBRMNY72.js +159 -0
- package/dist/chunk-LNBTWX4J.js +114 -0
- package/dist/chunk-LS4FP6SI.js +37 -0
- package/dist/chunk-M22UY764.js +135 -0
- package/dist/chunk-M4YMNHPI.js +204 -0
- package/dist/chunk-MGBS5LRY.js +412 -0
- package/dist/chunk-MKJOBHPQ.js +215 -0
- package/dist/chunk-MQDOFNKI.js +818 -0
- package/dist/chunk-MUDKP3LK.js +120 -0
- package/dist/chunk-N4ZNBWKO.js +118 -0
- package/dist/chunk-NB5CB65C.js +137 -0
- package/dist/chunk-NCEAUODT.js +172 -0
- package/dist/chunk-NGX34WJO.js +335 -0
- package/dist/chunk-NIQFSLPC.js +114 -0
- package/dist/chunk-NJWTPRGJ.js +806 -0
- package/dist/chunk-NNKC6NEH.js +128 -0
- package/dist/chunk-NY7M42KC.js +112 -0
- package/dist/chunk-O7G4ISAC.js +277 -0
- package/dist/chunk-O7QYPA6X.js +700 -0
- package/dist/chunk-OEDHLZ4T.js +651 -0
- package/dist/chunk-OGQQ2FZZ.js +114 -0
- package/dist/chunk-OINRQUYT.js +186 -0
- package/dist/chunk-OMJBDFEW.js +506 -0
- package/dist/chunk-ONUWTWKP.js +345 -0
- package/dist/chunk-OS6REIBR.js +154 -0
- package/dist/chunk-OUVP5VKH.js +702 -0
- package/dist/chunk-OVEBMZHA.js +573 -0
- package/dist/chunk-PFEHD3A2.js +409 -0
- package/dist/chunk-PJ5EVDNN.js +157 -0
- package/dist/chunk-PKM6B4JJ.js +108 -0
- package/dist/chunk-PV3OYTMT.js +596 -0
- package/dist/chunk-RBSLSNMW.js +444 -0
- package/dist/chunk-RE74K7KI.js +370 -0
- package/dist/chunk-RP22J4NX.js +247 -0
- package/dist/chunk-RU2Q2XVP.js +287 -0
- package/dist/chunk-RWUARRFZ.js +267 -0
- package/dist/chunk-RZ2UCZ3C.js +212 -0
- package/dist/chunk-SBDTC4UY.js +367 -0
- package/dist/chunk-SKEE23KW.js +137 -0
- package/dist/chunk-SOW7S7ET.js +1103 -0
- package/dist/chunk-SQ7F3VBU.js +1069 -0
- package/dist/chunk-SSWKGVRI.js +172 -0
- package/dist/chunk-T2TSMDP3.js +1022 -0
- package/dist/chunk-TAFVHTWV.js +607 -0
- package/dist/chunk-TNLY4CSA.js +523 -0
- package/dist/chunk-TP3XIHL5.js +787 -0
- package/dist/chunk-TQ6KSDDE.js +682 -0
- package/dist/chunk-TRWXLGL7.js +885 -0
- package/dist/chunk-TTNORJF5.js +908 -0
- package/dist/chunk-UD5OQ2T3.js +117 -0
- package/dist/chunk-UDFBQWUH.js +333 -0
- package/dist/chunk-USRMXCZD.js +625 -0
- package/dist/chunk-VAPHE4G4.js +442 -0
- package/dist/chunk-VEC5QAOY.js +104 -0
- package/dist/chunk-VIR5NV5W.js +118 -0
- package/dist/chunk-VT2FNWQF.js +240 -0
- package/dist/chunk-VX4XEYQN.js +837 -0
- package/dist/chunk-WE7VCUOA.js +130 -0
- package/dist/chunk-WFWO2EIW.js +120 -0
- package/dist/chunk-WGIT4MMH.js +350 -0
- package/dist/chunk-WOR2GMMN.js +114 -0
- package/dist/chunk-WTTDB475.js +54 -0
- package/dist/chunk-WWWKMU4Y.js +184 -0
- package/dist/chunk-XDR4FO6Q.js +124 -0
- package/dist/chunk-XH6YNONO.js +112 -0
- package/dist/chunk-XL4L2J6N.js +129 -0
- package/dist/chunk-Y6MTC46Q.js +684 -0
- package/dist/chunk-YFLQ4HPJ.js +119 -0
- package/dist/chunk-YGONLKWH.js +180 -0
- package/dist/chunk-YLSWBUDC.js +373 -0
- package/dist/chunk-YU6B7YRO.js +128 -0
- package/dist/chunk-YURGXJSP.js +102 -0
- package/dist/chunk-YVYYDPE2.js +124 -0
- package/dist/chunk-ZPGAMYOQ.js +1 -0
- package/dist/chunk-ZWGOAY27.js +234 -0
- package/dist/column-card.d.ts +1 -0
- package/dist/column-card.js +8 -0
- package/dist/components/account-menu/account-menu.d.ts +56 -0
- package/dist/components/account-menu/index.d.ts +1 -0
- package/dist/components/action-menu/action-menu.d.ts +45 -0
- package/dist/components/action-menu/index.d.ts +1 -0
- package/dist/components/activity-grid/activity-grid.d.ts +54 -0
- package/dist/components/activity-grid/index.d.ts +1 -0
- package/dist/components/add-card/add-card.d.ts +41 -0
- package/dist/components/add-card/index.d.ts +1 -0
- package/dist/components/amount-slider/amount-slider.d.ts +43 -0
- package/dist/components/amount-slider/index.d.ts +1 -0
- package/dist/components/annotation-text/annotation-text.d.ts +27 -0
- package/dist/components/annotation-text/index.d.ts +1 -0
- package/dist/components/aura-card/aura-card.d.ts +63 -0
- package/dist/components/aura-card/index.d.ts +1 -0
- package/dist/components/auth-card/auth-card.d.ts +51 -0
- package/dist/components/auth-card/index.d.ts +1 -0
- package/dist/components/avatar-testimonial/avatar-testimonial.d.ts +39 -0
- package/dist/components/avatar-testimonial/index.d.ts +1 -0
- package/dist/components/backspace-text/backspace-text.d.ts +27 -0
- package/dist/components/backspace-text/index.d.ts +1 -0
- package/dist/components/bell-toggle/bell-toggle.d.ts +33 -0
- package/dist/components/bell-toggle/index.d.ts +1 -0
- package/dist/components/bill-list/bill-list.d.ts +49 -0
- package/dist/components/bill-list/index.d.ts +1 -0
- package/dist/components/binary-text/binary-text.d.ts +24 -0
- package/dist/components/binary-text/index.d.ts +1 -0
- package/dist/components/blur-accordion/blur-accordion.d.ts +35 -0
- package/dist/components/blur-accordion/index.d.ts +1 -0
- package/dist/components/blur-text/blur-text.d.ts +33 -0
- package/dist/components/blur-text/index.d.ts +1 -0
- package/dist/components/booking-card/booking-card.d.ts +56 -0
- package/dist/components/booking-card/index.d.ts +1 -0
- package/dist/components/brand-bridge/brand-bridge.d.ts +63 -0
- package/dist/components/brand-bridge/index.d.ts +1 -0
- package/dist/components/calendar-agenda/calendar-agenda.d.ts +64 -0
- package/dist/components/calendar-agenda/index.d.ts +1 -0
- package/dist/components/channel-mix/channel-mix.d.ts +63 -0
- package/dist/components/channel-mix/index.d.ts +1 -0
- package/dist/components/column-card/column-card.d.ts +39 -0
- package/dist/components/column-card/index.d.ts +1 -0
- package/dist/components/contact-card/contact-card.d.ts +44 -0
- package/dist/components/contact-card/index.d.ts +1 -0
- package/dist/components/context-menu/context-menu.d.ts +59 -0
- package/dist/components/context-menu/index.d.ts +1 -0
- package/dist/components/contour-feature-card/contour-feature-card.d.ts +36 -0
- package/dist/components/contour-feature-card/index.d.ts +1 -0
- package/dist/components/contour-lines/contour-lines.d.ts +34 -0
- package/dist/components/contour-lines/index.d.ts +1 -0
- package/dist/components/decay-card/decay-card.d.ts +44 -0
- package/dist/components/decay-card/index.d.ts +1 -0
- package/dist/components/deploy-streak/deploy-streak.d.ts +30 -0
- package/dist/components/deploy-streak/index.d.ts +1 -0
- package/dist/components/depth-carousel/depth-carousel.d.ts +42 -0
- package/dist/components/depth-carousel/index.d.ts +1 -0
- package/dist/components/device-traffic/device-traffic.d.ts +59 -0
- package/dist/components/device-traffic/index.d.ts +1 -0
- package/dist/components/download-button/download-button.d.ts +36 -0
- package/dist/components/download-button/index.d.ts +1 -0
- package/dist/components/event-card/event-card.d.ts +55 -0
- package/dist/components/event-card/index.d.ts +1 -0
- package/dist/components/file-drop/file-drop.d.ts +46 -0
- package/dist/components/file-drop/index.d.ts +1 -0
- package/dist/components/flip-words/flip-words.d.ts +26 -0
- package/dist/components/flip-words/index.d.ts +1 -0
- package/dist/components/flux-card/flux-card.d.ts +56 -0
- package/dist/components/flux-card/index.d.ts +1 -0
- package/dist/components/fuse-button/fuse-button.d.ts +75 -0
- package/dist/components/fuse-button/index.d.ts +1 -0
- package/dist/components/globe-card/globe-card.d.ts +46 -0
- package/dist/components/globe-card/index.d.ts +1 -0
- package/dist/components/goal-gauge/goal-gauge.d.ts +47 -0
- package/dist/components/goal-gauge/index.d.ts +1 -0
- package/dist/components/gradient-card/gradient-card.d.ts +56 -0
- package/dist/components/gradient-card/index.d.ts +1 -0
- package/dist/components/gradient-text/gradient-text.d.ts +22 -0
- package/dist/components/gradient-text/index.d.ts +1 -0
- package/dist/components/gravity-tag-pile/gravity-tag-pile.d.ts +69 -0
- package/dist/components/gravity-tag-pile/index.d.ts +1 -0
- package/dist/components/growth-stream/growth-stream.d.ts +47 -0
- package/dist/components/growth-stream/index.d.ts +1 -0
- package/dist/components/highlight-text/highlight-text.d.ts +22 -0
- package/dist/components/highlight-text/index.d.ts +1 -0
- package/dist/components/hold-to-confirm/hold-to-confirm.d.ts +32 -0
- package/dist/components/hold-to-confirm/index.d.ts +1 -0
- package/dist/components/infinite-gallery/index.d.ts +1 -0
- package/dist/components/infinite-gallery/infinite-gallery.d.ts +73 -0
- package/dist/components/integration-hub/index.d.ts +1 -0
- package/dist/components/integration-hub/integration-hub.d.ts +40 -0
- package/dist/components/liquid-card/index.d.ts +1 -0
- package/dist/components/liquid-card/liquid-card.d.ts +66 -0
- package/dist/components/liquid-metal-card/index.d.ts +1 -0
- package/dist/components/liquid-metal-card/liquid-metal-card.d.ts +45 -0
- package/dist/components/liquid-tabs/index.d.ts +1 -0
- package/dist/components/liquid-tabs/liquid-tabs.d.ts +47 -0
- package/dist/components/magnetic-button/index.d.ts +1 -0
- package/dist/components/magnetic-button/magnetic-button.d.ts +46 -0
- package/dist/components/magnetic-flow/index.d.ts +1 -0
- package/dist/components/magnetic-flow/magnetic-flow.d.ts +35 -0
- package/dist/components/message-composer/index.d.ts +1 -0
- package/dist/components/message-composer/message-composer.d.ts +79 -0
- package/dist/components/metal-card-stack/index.d.ts +1 -0
- package/dist/components/metal-card-stack/metal-card-stack.d.ts +49 -0
- package/dist/components/metric-split/index.d.ts +1 -0
- package/dist/components/metric-split/metric-split.d.ts +45 -0
- package/dist/components/mix-chart/index.d.ts +1 -0
- package/dist/components/mix-chart/mix-chart.d.ts +59 -0
- package/dist/components/month-calendar/index.d.ts +1 -0
- package/dist/components/month-calendar/month-calendar.d.ts +34 -0
- package/dist/components/morph-search/index.d.ts +1 -0
- package/dist/components/morph-search/morph-search.d.ts +33 -0
- package/dist/components/orbit-card/index.d.ts +1 -0
- package/dist/components/orbit-card/orbit-card.d.ts +50 -0
- package/dist/components/otp-code/index.d.ts +1 -0
- package/dist/components/otp-code/otp-code.d.ts +61 -0
- package/dist/components/particle-card/index.d.ts +1 -0
- package/dist/components/particle-card/particle-card.d.ts +57 -0
- package/dist/components/payment-form/index.d.ts +1 -0
- package/dist/components/payment-form/payment-form.d.ts +54 -0
- package/dist/components/pill-tabs/index.d.ts +1 -0
- package/dist/components/pill-tabs/pill-tabs.d.ts +39 -0
- package/dist/components/pixel-blast/index.d.ts +1 -0
- package/dist/components/pixel-blast/pixel-blast.d.ts +41 -0
- package/dist/components/pixel-feature-card/index.d.ts +1 -0
- package/dist/components/pixel-feature-card/pixel-feature-card.d.ts +43 -0
- package/dist/components/pixel-scroll/index.d.ts +1 -0
- package/dist/components/pixel-scroll/pixel-scroll.d.ts +64 -0
- package/dist/components/pricing-card/index.d.ts +1 -0
- package/dist/components/pricing-card/pricing-card.d.ts +60 -0
- package/dist/components/prism-carousel/index.d.ts +1 -0
- package/dist/components/prism-carousel/prism-carousel.d.ts +54 -0
- package/dist/components/prism-flow/index.d.ts +1 -0
- package/dist/components/prism-flow/prism-flow.d.ts +41 -0
- package/dist/components/privacy-banner/index.d.ts +1 -0
- package/dist/components/privacy-banner/privacy-banner.d.ts +41 -0
- package/dist/components/profile-card/index.d.ts +1 -0
- package/dist/components/profile-card/profile-card.d.ts +52 -0
- package/dist/components/profile-menu/index.d.ts +1 -0
- package/dist/components/profile-menu/profile-menu.d.ts +43 -0
- package/dist/components/project-index/index.d.ts +1 -0
- package/dist/components/project-index/project-index.d.ts +65 -0
- package/dist/components/prompt-input/index.d.ts +1 -0
- package/dist/components/prompt-input/prompt-input.d.ts +49 -0
- package/dist/components/quota-gauge/index.d.ts +1 -0
- package/dist/components/quota-gauge/quota-gauge.d.ts +30 -0
- package/dist/components/range-chart/index.d.ts +1 -0
- package/dist/components/range-chart/range-chart.d.ts +47 -0
- package/dist/components/reaction-card/index.d.ts +1 -0
- package/dist/components/reaction-card/reaction-card.d.ts +60 -0
- package/dist/components/recap-card/index.d.ts +1 -0
- package/dist/components/recap-card/recap-card.d.ts +61 -0
- package/dist/components/receipt-button/index.d.ts +1 -0
- package/dist/components/receipt-button/receipt-button.d.ts +53 -0
- package/dist/components/ribbon-gallery/index.d.ts +1 -0
- package/dist/components/ribbon-gallery/ribbon-gallery.d.ts +61 -0
- package/dist/components/roadmap-card/index.d.ts +1 -0
- package/dist/components/roadmap-card/roadmap-card.d.ts +38 -0
- package/dist/components/rolling-card-stack/index.d.ts +1 -0
- package/dist/components/rolling-card-stack/rolling-card-stack.d.ts +53 -0
- package/dist/components/rolling-stepper/index.d.ts +1 -0
- package/dist/components/rolling-stepper/rolling-stepper.d.ts +33 -0
- package/dist/components/rotating-text/index.d.ts +1 -0
- package/dist/components/rotating-text/rotating-text.d.ts +25 -0
- package/dist/components/score-card/index.d.ts +1 -0
- package/dist/components/score-card/score-card.d.ts +40 -0
- package/dist/components/search-modal/index.d.ts +1 -0
- package/dist/components/search-modal/search-modal.d.ts +62 -0
- package/dist/components/shimmer-text/index.d.ts +1 -0
- package/dist/components/shimmer-text/shimmer-text.d.ts +22 -0
- package/dist/components/sidebar-nav/index.d.ts +1 -0
- package/dist/components/sidebar-nav/sidebar-nav.d.ts +71 -0
- package/dist/components/slide-commit/index.d.ts +1 -0
- package/dist/components/slide-commit/slide-commit.d.ts +39 -0
- package/dist/components/spatial-gallery/index.d.ts +1 -0
- package/dist/components/spatial-gallery/spatial-gallery.d.ts +88 -0
- package/dist/components/spending-meter/index.d.ts +1 -0
- package/dist/components/spending-meter/spending-meter.d.ts +41 -0
- package/dist/components/tab-bar/index.d.ts +1 -0
- package/dist/components/tab-bar/tab-bar.d.ts +44 -0
- package/dist/components/team-member-card/index.d.ts +1 -0
- package/dist/components/team-member-card/team-member-card.d.ts +66 -0
- package/dist/components/team-morph/index.d.ts +1 -0
- package/dist/components/team-morph/team-morph.d.ts +38 -0
- package/dist/components/tilt-card/index.d.ts +1 -0
- package/dist/components/tilt-card/tilt-card.d.ts +27 -0
- package/dist/components/tilt-carousel/index.d.ts +1 -0
- package/dist/components/tilt-carousel/tilt-carousel.d.ts +43 -0
- package/dist/components/toast-stack/index.d.ts +1 -0
- package/dist/components/toast-stack/toast-stack.d.ts +57 -0
- package/dist/components/usage-ring/index.d.ts +1 -0
- package/dist/components/usage-ring/usage-ring.d.ts +40 -0
- package/dist/components/verify-flow/index.d.ts +1 -0
- package/dist/components/verify-flow/verify-flow.d.ts +49 -0
- package/dist/components/voice-prompt/index.d.ts +1 -0
- package/dist/components/voice-prompt/voice-prompt.d.ts +55 -0
- package/dist/components/wallet-card/index.d.ts +1 -0
- package/dist/components/wallet-card/wallet-card.d.ts +54 -0
- package/dist/components/wave-text/index.d.ts +1 -0
- package/dist/components/wave-text/wave-text.d.ts +27 -0
- package/dist/contact-card.d.ts +1 -0
- package/dist/contact-card.js +12 -0
- package/dist/context-menu.d.ts +1 -0
- package/dist/context-menu.js +17 -0
- package/dist/contour-feature-card.d.ts +1 -0
- package/dist/contour-feature-card.js +9 -0
- package/dist/contour-lines.d.ts +1 -0
- package/dist/contour-lines.js +8 -0
- package/dist/decay-card.d.ts +1 -0
- package/dist/decay-card.js +8 -0
- package/dist/deploy-streak.d.ts +1 -0
- package/dist/deploy-streak.js +9 -0
- package/dist/depth-carousel.d.ts +1 -0
- package/dist/depth-carousel.js +8 -0
- package/dist/device-traffic.d.ts +1 -0
- package/dist/device-traffic.js +12 -0
- package/dist/download-button.d.ts +1 -0
- package/dist/download-button.js +8 -0
- package/dist/event-card.d.ts +1 -0
- package/dist/event-card.js +12 -0
- package/dist/file-drop.d.ts +1 -0
- package/dist/file-drop.js +12 -0
- package/dist/flip-words.d.ts +1 -0
- package/dist/flip-words.js +8 -0
- package/dist/flux-card.d.ts +1 -0
- package/dist/flux-card.js +13 -0
- package/dist/fuse-button.d.ts +1 -0
- package/dist/fuse-button.js +9 -0
- package/dist/globe-card.d.ts +1 -0
- package/dist/globe-card.js +8 -0
- package/dist/goal-gauge.d.ts +1 -0
- package/dist/goal-gauge.js +9 -0
- package/dist/gradient-card.d.ts +1 -0
- package/dist/gradient-card.js +8 -0
- package/dist/gradient-text.d.ts +1 -0
- package/dist/gradient-text.js +8 -0
- package/dist/gravity-tag-pile.d.ts +1 -0
- package/dist/gravity-tag-pile.js +9 -0
- package/dist/growth-stream.d.ts +1 -0
- package/dist/growth-stream.js +10 -0
- package/dist/highlight-text.d.ts +1 -0
- package/dist/highlight-text.js +8 -0
- package/dist/hold-to-confirm.d.ts +1 -0
- package/dist/hold-to-confirm.js +8 -0
- package/dist/icons/activity.d.ts +15 -0
- package/dist/icons/archive.d.ts +15 -0
- package/dist/icons/arrow-down-right.d.ts +15 -0
- package/dist/icons/arrow-down.d.ts +15 -0
- package/dist/icons/arrow-right.d.ts +15 -0
- package/dist/icons/arrow-up-right.d.ts +15 -0
- package/dist/icons/arrow-up.d.ts +15 -0
- package/dist/icons/at-sign.d.ts +15 -0
- package/dist/icons/attach-file.d.ts +15 -0
- package/dist/icons/badge-alert.d.ts +15 -0
- package/dist/icons/bell.d.ts +15 -0
- package/dist/icons/bold.d.ts +15 -0
- package/dist/icons/bookmark.d.ts +15 -0
- package/dist/icons/bot.d.ts +15 -0
- package/dist/icons/calendar-check-2.d.ts +15 -0
- package/dist/icons/calendar-check.d.ts +15 -0
- package/dist/icons/calendar-days.d.ts +15 -0
- package/dist/icons/chart-line.d.ts +15 -0
- package/dist/icons/chart-pie.d.ts +15 -0
- package/dist/icons/check.d.ts +15 -0
- package/dist/icons/chevron-down.d.ts +15 -0
- package/dist/icons/chevron-left.d.ts +15 -0
- package/dist/icons/chevron-right.d.ts +15 -0
- package/dist/icons/circle-check.d.ts +15 -0
- package/dist/icons/circle-dollar-sign.d.ts +15 -0
- package/dist/icons/clipboard-check.d.ts +15 -0
- package/dist/icons/clock.d.ts +15 -0
- package/dist/icons/cloud-upload.d.ts +15 -0
- package/dist/icons/compass.d.ts +15 -0
- package/dist/icons/contrast.d.ts +15 -0
- package/dist/icons/copy.d.ts +15 -0
- package/dist/icons/credit-card.d.ts +15 -0
- package/dist/icons/delete.d.ts +15 -0
- package/dist/icons/download.d.ts +15 -0
- package/dist/icons/dribbble.d.ts +15 -0
- package/dist/icons/earth.d.ts +15 -0
- package/dist/icons/eye-off.d.ts +15 -0
- package/dist/icons/eye.d.ts +15 -0
- package/dist/icons/feather.d.ts +15 -0
- package/dist/icons/figma.d.ts +15 -0
- package/dist/icons/file-text.d.ts +16 -0
- package/dist/icons/flame.d.ts +15 -0
- package/dist/icons/folder-input.d.ts +15 -0
- package/dist/icons/folder-open.d.ts +15 -0
- package/dist/icons/folders.d.ts +15 -0
- package/dist/icons/github.d.ts +15 -0
- package/dist/icons/hand-coins.d.ts +15 -0
- package/dist/icons/heart.d.ts +15 -0
- package/dist/icons/history.d.ts +15 -0
- package/dist/icons/home.d.ts +15 -0
- package/dist/icons/hourglass.d.ts +15 -0
- package/dist/icons/instagram.d.ts +15 -0
- package/dist/icons/italic.d.ts +15 -0
- package/dist/icons/layout-grid.d.ts +15 -0
- package/dist/icons/link.d.ts +15 -0
- package/dist/icons/linkedin.d.ts +15 -0
- package/dist/icons/loader-circle.d.ts +15 -0
- package/dist/icons/lock-keyhole-open.d.ts +15 -0
- package/dist/icons/lock-keyhole.d.ts +15 -0
- package/dist/icons/lock.d.ts +15 -0
- package/dist/icons/logout.d.ts +15 -0
- package/dist/icons/mail-check.d.ts +15 -0
- package/dist/icons/map-pin.d.ts +15 -0
- package/dist/icons/message-circle.d.ts +15 -0
- package/dist/icons/mic.d.ts +15 -0
- package/dist/icons/monitor-check.d.ts +15 -0
- package/dist/icons/moon.d.ts +15 -0
- package/dist/icons/palette.d.ts +15 -0
- package/dist/icons/panel-left-close.d.ts +15 -0
- package/dist/icons/panel-left-open.d.ts +15 -0
- package/dist/icons/plug-zap.d.ts +15 -0
- package/dist/icons/plus.d.ts +15 -0
- package/dist/icons/radio.d.ts +15 -0
- package/dist/icons/receipt.d.ts +15 -0
- package/dist/icons/refresh-cw.d.ts +15 -0
- package/dist/icons/rotate-ccw.d.ts +15 -0
- package/dist/icons/search.d.ts +15 -0
- package/dist/icons/send.d.ts +15 -0
- package/dist/icons/settings.d.ts +15 -0
- package/dist/icons/shield-check.d.ts +15 -0
- package/dist/icons/smartphone-nfc.d.ts +15 -0
- package/dist/icons/smile.d.ts +15 -0
- package/dist/icons/sparkles.d.ts +15 -0
- package/dist/icons/square-pen.d.ts +15 -0
- package/dist/icons/sun.d.ts +15 -0
- package/dist/icons/terminal.d.ts +15 -0
- package/dist/icons/timer.d.ts +15 -0
- package/dist/icons/trending-up.d.ts +15 -0
- package/dist/icons/twitter.d.ts +15 -0
- package/dist/icons/underline.d.ts +15 -0
- package/dist/icons/undo.d.ts +15 -0
- package/dist/icons/user-check.d.ts +15 -0
- package/dist/icons/user-plus.d.ts +15 -0
- package/dist/icons/user-round-plus.d.ts +15 -0
- package/dist/icons/user.d.ts +15 -0
- package/dist/icons/users.d.ts +15 -0
- package/dist/icons/wifi.d.ts +15 -0
- package/dist/icons/workflow.d.ts +15 -0
- package/dist/icons/x.d.ts +15 -0
- package/dist/icons/zap.d.ts +15 -0
- package/dist/index.d.ts +100 -0
- package/dist/index.js +472 -0
- package/dist/infinite-gallery.d.ts +1 -0
- package/dist/infinite-gallery.js +9 -0
- package/dist/integration-hub.d.ts +1 -0
- package/dist/integration-hub.js +8 -0
- package/dist/lib/cn.d.ts +3 -0
- package/dist/liquid-card.d.ts +1 -0
- package/dist/liquid-card.js +10 -0
- package/dist/liquid-metal-card.d.ts +1 -0
- package/dist/liquid-metal-card.js +8 -0
- package/dist/liquid-tabs.d.ts +1 -0
- package/dist/liquid-tabs.js +14 -0
- package/dist/magnetic-button.d.ts +1 -0
- package/dist/magnetic-button.js +8 -0
- package/dist/magnetic-flow.d.ts +1 -0
- package/dist/magnetic-flow.js +8 -0
- package/dist/message-composer.d.ts +1 -0
- package/dist/message-composer.js +20 -0
- package/dist/metal-card-stack.d.ts +1 -0
- package/dist/metal-card-stack.js +8 -0
- package/dist/metric-split.d.ts +1 -0
- package/dist/metric-split.js +9 -0
- package/dist/mix-chart.d.ts +1 -0
- package/dist/mix-chart.js +9 -0
- package/dist/month-calendar.d.ts +1 -0
- package/dist/month-calendar.js +10 -0
- package/dist/morph-search.d.ts +1 -0
- package/dist/morph-search.js +10 -0
- package/dist/orbit-card.d.ts +1 -0
- package/dist/orbit-card.js +8 -0
- package/dist/otp-code.d.ts +1 -0
- package/dist/otp-code.js +17 -0
- package/dist/particle-card.d.ts +1 -0
- package/dist/particle-card.js +8 -0
- package/dist/payment-form.d.ts +1 -0
- package/dist/payment-form.js +8 -0
- package/dist/pill-tabs.d.ts +1 -0
- package/dist/pill-tabs.js +9 -0
- package/dist/pixel-blast.d.ts +1 -0
- package/dist/pixel-blast.js +8 -0
- package/dist/pixel-feature-card.d.ts +1 -0
- package/dist/pixel-feature-card.js +9 -0
- package/dist/pixel-scroll.d.ts +1 -0
- package/dist/pixel-scroll.js +8 -0
- package/dist/pricing-card.d.ts +1 -0
- package/dist/pricing-card.js +14 -0
- package/dist/prism-carousel.d.ts +1 -0
- package/dist/prism-carousel.js +8 -0
- package/dist/prism-flow.d.ts +1 -0
- package/dist/prism-flow.js +8 -0
- package/dist/privacy-banner.d.ts +1 -0
- package/dist/privacy-banner.js +8 -0
- package/dist/profile-card.d.ts +1 -0
- package/dist/profile-card.js +13 -0
- package/dist/profile-menu.d.ts +1 -0
- package/dist/profile-menu.js +21 -0
- package/dist/project-index.d.ts +1 -0
- package/dist/project-index.js +9 -0
- package/dist/prompt-input.d.ts +1 -0
- package/dist/prompt-input.js +14 -0
- package/dist/quota-gauge.d.ts +1 -0
- package/dist/quota-gauge.js +9 -0
- package/dist/range-chart.d.ts +1 -0
- package/dist/range-chart.js +8 -0
- package/dist/reaction-card.d.ts +1 -0
- package/dist/reaction-card.js +8 -0
- package/dist/recap-card.d.ts +1 -0
- package/dist/recap-card.js +15 -0
- package/dist/receipt-button.d.ts +1 -0
- package/dist/receipt-button.js +8 -0
- package/dist/ribbon-gallery.d.ts +1 -0
- package/dist/ribbon-gallery.js +8 -0
- package/dist/roadmap-card.d.ts +1 -0
- package/dist/roadmap-card.js +11 -0
- package/dist/rolling-card-stack.d.ts +1 -0
- package/dist/rolling-card-stack.js +8 -0
- package/dist/rolling-stepper.d.ts +1 -0
- package/dist/rolling-stepper.js +8 -0
- package/dist/rotating-text.d.ts +1 -0
- package/dist/rotating-text.js +9 -0
- package/dist/score-card.d.ts +1 -0
- package/dist/score-card.js +10 -0
- package/dist/search-modal.d.ts +1 -0
- package/dist/search-modal.js +16 -0
- package/dist/shimmer-text.d.ts +1 -0
- package/dist/shimmer-text.js +8 -0
- package/dist/sidebar-nav.d.ts +1 -0
- package/dist/sidebar-nav.js +19 -0
- package/dist/slide-commit.d.ts +1 -0
- package/dist/slide-commit.js +9 -0
- package/dist/spatial-gallery.d.ts +1 -0
- package/dist/spatial-gallery.js +8 -0
- package/dist/spending-meter.d.ts +1 -0
- package/dist/spending-meter.js +9 -0
- package/dist/tab-bar.d.ts +1 -0
- package/dist/tab-bar.js +18 -0
- package/dist/team-member-card.d.ts +1 -0
- package/dist/team-member-card.js +14 -0
- package/dist/team-morph.d.ts +1 -0
- package/dist/team-morph.js +11 -0
- package/dist/tilt-card.d.ts +1 -0
- package/dist/tilt-card.js +8 -0
- package/dist/tilt-carousel.d.ts +1 -0
- package/dist/tilt-carousel.js +8 -0
- package/dist/toast-stack.d.ts +1 -0
- package/dist/toast-stack.js +13 -0
- package/dist/usage-ring.d.ts +1 -0
- package/dist/usage-ring.js +9 -0
- package/dist/verify-flow.d.ts +1 -0
- package/dist/verify-flow.js +10 -0
- package/dist/voice-prompt.d.ts +1 -0
- package/dist/voice-prompt.js +14 -0
- package/dist/wallet-card.d.ts +1 -0
- package/dist/wallet-card.js +15 -0
- package/dist/wave-text.d.ts +1 -0
- package/dist/wave-text.js +8 -0
- package/package.json +111 -4
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
LinkedinIcon
|
|
4
|
+
} from "./chunk-ADXWPWJR.js";
|
|
5
|
+
import {
|
|
6
|
+
CalendarDaysIcon
|
|
7
|
+
} from "./chunk-JJEWOQYQ.js";
|
|
8
|
+
import {
|
|
9
|
+
CopyIcon
|
|
10
|
+
} from "./chunk-M22UY764.js";
|
|
11
|
+
import {
|
|
12
|
+
CheckIcon
|
|
13
|
+
} from "./chunk-JHT6RCGY.js";
|
|
14
|
+
import {
|
|
15
|
+
cn
|
|
16
|
+
} from "./chunk-2TQSHVXA.js";
|
|
17
|
+
|
|
18
|
+
// src/components/contact-card/contact-card.tsx
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
21
|
+
import { ArrowRight, ArrowUpRight, Mail } from "lucide-react";
|
|
22
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
|
+
var GLIDE = [0.22, 1, 0.36, 1];
|
|
24
|
+
var CLOSE_DELAY = 220;
|
|
25
|
+
var STAGGER = {
|
|
26
|
+
shut: {},
|
|
27
|
+
open: { transition: { staggerChildren: 0.05, delayChildren: 0.06 } }
|
|
28
|
+
};
|
|
29
|
+
var RISE = {
|
|
30
|
+
shut: { opacity: 0, y: 8, filter: "blur(4px)" },
|
|
31
|
+
open: {
|
|
32
|
+
opacity: 1,
|
|
33
|
+
y: 0,
|
|
34
|
+
filter: "blur(0px)",
|
|
35
|
+
transition: { duration: 0.35, ease: GLIDE }
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
function Through({ still, className }) {
|
|
39
|
+
const arrow = "absolute inset-0 size-4 transition-transform duration-[420ms] ease-[cubic-bezier(0.22,1,0.36,1)]";
|
|
40
|
+
return /* @__PURE__ */ jsxs(
|
|
41
|
+
"span",
|
|
42
|
+
{
|
|
43
|
+
"aria-hidden": true,
|
|
44
|
+
className: cn("relative size-4 shrink-0 overflow-hidden", className),
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
ArrowRight,
|
|
48
|
+
{
|
|
49
|
+
className: cn(arrow, !still && "group-hover/row:translate-x-[140%]"),
|
|
50
|
+
strokeWidth: 2.25
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
ArrowRight,
|
|
55
|
+
{
|
|
56
|
+
className: cn(
|
|
57
|
+
arrow,
|
|
58
|
+
"-translate-x-[140%]",
|
|
59
|
+
!still && "group-hover/row:translate-x-0 group-hover/row:delay-75"
|
|
60
|
+
),
|
|
61
|
+
strokeWidth: 2.25
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
var ContactCard = React.forwardRef(
|
|
69
|
+
function ContactCard2({
|
|
70
|
+
label = "Contact",
|
|
71
|
+
name = "Maya Lindqvist",
|
|
72
|
+
role = "Design lead",
|
|
73
|
+
avatar = "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=120&h=120&fit=crop&crop=faces",
|
|
74
|
+
email = "maya@studio.co",
|
|
75
|
+
linkedin = "https://www.linkedin.com/",
|
|
76
|
+
bookHref,
|
|
77
|
+
onBook,
|
|
78
|
+
bookLabel = "Book a call",
|
|
79
|
+
available = true,
|
|
80
|
+
className
|
|
81
|
+
}, ref) {
|
|
82
|
+
const still = !!useReducedMotion();
|
|
83
|
+
const id = React.useId();
|
|
84
|
+
const root = React.useRef(null);
|
|
85
|
+
React.useImperativeHandle(ref, () => root.current);
|
|
86
|
+
const [open, setOpen] = React.useState(false);
|
|
87
|
+
const [copied, setCopied] = React.useState(false);
|
|
88
|
+
const timer = React.useRef(0);
|
|
89
|
+
const first = React.useRef(null);
|
|
90
|
+
const fromKeys = React.useRef(false);
|
|
91
|
+
React.useEffect(() => {
|
|
92
|
+
if (!open || !fromKeys.current) return;
|
|
93
|
+
fromKeys.current = false;
|
|
94
|
+
requestAnimationFrame(() => first.current?.focus());
|
|
95
|
+
}, [open]);
|
|
96
|
+
const show = () => {
|
|
97
|
+
window.clearTimeout(timer.current);
|
|
98
|
+
setOpen(true);
|
|
99
|
+
};
|
|
100
|
+
const hideSoon = () => {
|
|
101
|
+
window.clearTimeout(timer.current);
|
|
102
|
+
timer.current = window.setTimeout(() => setOpen(false), CLOSE_DELAY);
|
|
103
|
+
};
|
|
104
|
+
React.useEffect(() => {
|
|
105
|
+
if (!open) return;
|
|
106
|
+
const away = (e) => {
|
|
107
|
+
if (!root.current?.contains(e.target)) setOpen(false);
|
|
108
|
+
};
|
|
109
|
+
const esc = (e) => e.key === "Escape" && setOpen(false);
|
|
110
|
+
document.addEventListener("pointerdown", away);
|
|
111
|
+
document.addEventListener("keydown", esc);
|
|
112
|
+
return () => {
|
|
113
|
+
document.removeEventListener("pointerdown", away);
|
|
114
|
+
document.removeEventListener("keydown", esc);
|
|
115
|
+
};
|
|
116
|
+
}, [open]);
|
|
117
|
+
React.useEffect(() => () => window.clearTimeout(timer.current), []);
|
|
118
|
+
const copy = async () => {
|
|
119
|
+
try {
|
|
120
|
+
await navigator.clipboard?.writeText(email);
|
|
121
|
+
} catch {
|
|
122
|
+
}
|
|
123
|
+
setCopied(true);
|
|
124
|
+
window.setTimeout(() => setCopied(false), 1600);
|
|
125
|
+
};
|
|
126
|
+
const tile = "group/row flex w-full cursor-pointer items-center gap-3 rounded-xl px-3 py-2.5 text-left outline-none transition-colors hover:bg-white/70 focus-visible:ring-2 focus-visible:ring-zinc-400 dark:hover:bg-white/6";
|
|
127
|
+
const disc = "grid size-9 shrink-0 place-items-center rounded-full bg-white text-zinc-700 shadow-[0_1px_2px_rgba(0,0,0,0.06)] dark:bg-zinc-800 dark:text-zinc-200";
|
|
128
|
+
const action = "grid size-8 shrink-0 place-items-center rounded-full text-zinc-500 transition-colors group-hover/row:bg-white group-hover/row:text-zinc-900 dark:group-hover/row:bg-zinc-800 dark:group-hover/row:text-zinc-100";
|
|
129
|
+
const Book = bookHref ? "a" : "button";
|
|
130
|
+
const dot = (size) => available && /* @__PURE__ */ jsxs(
|
|
131
|
+
"span",
|
|
132
|
+
{
|
|
133
|
+
className: cn(
|
|
134
|
+
"absolute bottom-0 right-0 grid place-items-center rounded-full bg-white dark:bg-zinc-900",
|
|
135
|
+
size
|
|
136
|
+
),
|
|
137
|
+
children: [
|
|
138
|
+
!still && /* @__PURE__ */ jsx(
|
|
139
|
+
motion.span,
|
|
140
|
+
{
|
|
141
|
+
className: "absolute size-[70%] rounded-full bg-[#269a5a]",
|
|
142
|
+
animate: { scale: [1, 2], opacity: [0.5, 0] },
|
|
143
|
+
transition: { duration: 1.6, repeat: Infinity, ease: "easeOut" }
|
|
144
|
+
}
|
|
145
|
+
),
|
|
146
|
+
/* @__PURE__ */ jsx("span", { className: "relative size-[70%] rounded-full bg-[#269a5a]" })
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
return /* @__PURE__ */ jsxs(
|
|
151
|
+
"div",
|
|
152
|
+
{
|
|
153
|
+
ref: root,
|
|
154
|
+
className: cn("relative inline-flex", className),
|
|
155
|
+
onPointerEnter: (e) => e.pointerType === "mouse" && show(),
|
|
156
|
+
onPointerLeave: (e) => e.pointerType === "mouse" && hideSoon(),
|
|
157
|
+
onBlur: (e) => {
|
|
158
|
+
const to = e.relatedTarget;
|
|
159
|
+
if (to && !root.current?.contains(to)) hideSoon();
|
|
160
|
+
},
|
|
161
|
+
children: [
|
|
162
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsx(
|
|
163
|
+
motion.div,
|
|
164
|
+
{
|
|
165
|
+
id: `${id}-card`,
|
|
166
|
+
role: "dialog",
|
|
167
|
+
"aria-label": `Contact ${name}`,
|
|
168
|
+
initial: still ? { opacity: 0 } : { opacity: 0, y: 10, scale: 0.94, filter: "blur(6px)" },
|
|
169
|
+
animate: { opacity: 1, y: 0, scale: 1, filter: "blur(0px)" },
|
|
170
|
+
exit: still ? { opacity: 0 } : { opacity: 0, y: 8, scale: 0.97, filter: "blur(4px)" },
|
|
171
|
+
transition: { type: "spring", stiffness: 420, damping: 32 },
|
|
172
|
+
style: { transformOrigin: "50% 100%" },
|
|
173
|
+
className: "absolute bottom-full left-1/2 z-30 w-[340px] -translate-x-1/2 pb-3",
|
|
174
|
+
children: /* @__PURE__ */ jsxs(
|
|
175
|
+
motion.div,
|
|
176
|
+
{
|
|
177
|
+
variants: still ? void 0 : STAGGER,
|
|
178
|
+
initial: "shut",
|
|
179
|
+
animate: "open",
|
|
180
|
+
className: "rounded-3xl bg-white p-5 text-left text-base font-normal leading-normal tracking-normal text-zinc-900 shadow-[0_1px_2px_rgba(0,0,0,0.06),0_20px_44px_-16px_rgba(0,0,0,0.3)] ring-1 ring-black/5 dark:bg-zinc-900 dark:text-zinc-100 dark:ring-white/10",
|
|
181
|
+
children: [
|
|
182
|
+
/* @__PURE__ */ jsxs(
|
|
183
|
+
motion.div,
|
|
184
|
+
{
|
|
185
|
+
variants: still ? void 0 : RISE,
|
|
186
|
+
className: "flex items-center gap-3",
|
|
187
|
+
children: [
|
|
188
|
+
/* @__PURE__ */ jsxs("span", { className: "relative shrink-0", children: [
|
|
189
|
+
/* @__PURE__ */ jsx(
|
|
190
|
+
"img",
|
|
191
|
+
{
|
|
192
|
+
src: avatar,
|
|
193
|
+
alt: "",
|
|
194
|
+
draggable: false,
|
|
195
|
+
className: "size-12 rounded-full bg-zinc-200 object-cover"
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
dot("size-3.5")
|
|
199
|
+
] }),
|
|
200
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
201
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-lg font-semibold leading-6 tracking-tight", children: name }),
|
|
202
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-sm text-zinc-500 dark:text-zinc-400", children: role })
|
|
203
|
+
] }),
|
|
204
|
+
available && /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-full bg-[#269a5a]/10 px-2.5 py-1 text-xs font-medium text-[#1f7a48] dark:text-[#5fd394]", children: "Available" })
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
/* @__PURE__ */ jsxs(
|
|
209
|
+
motion.div,
|
|
210
|
+
{
|
|
211
|
+
variants: still ? void 0 : RISE,
|
|
212
|
+
className: "mt-4 rounded-2xl bg-zinc-100 p-1 dark:bg-white/6",
|
|
213
|
+
children: [
|
|
214
|
+
/* @__PURE__ */ jsxs(
|
|
215
|
+
"button",
|
|
216
|
+
{
|
|
217
|
+
ref: first,
|
|
218
|
+
type: "button",
|
|
219
|
+
onClick: copy,
|
|
220
|
+
"aria-label": copied ? "Email copied" : `Copy ${email}`,
|
|
221
|
+
className: tile,
|
|
222
|
+
children: [
|
|
223
|
+
/* @__PURE__ */ jsx("span", { className: disc, children: /* @__PURE__ */ jsx(Mail, { className: "size-4", strokeWidth: 2, "aria-hidden": true }) }),
|
|
224
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
225
|
+
/* @__PURE__ */ jsx("span", { className: "block text-xs text-zinc-500 dark:text-zinc-400", children: "Email" }),
|
|
226
|
+
/* @__PURE__ */ jsx("span", { className: "relative block h-5 overflow-hidden", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children: /* @__PURE__ */ jsx(
|
|
227
|
+
motion.span,
|
|
228
|
+
{
|
|
229
|
+
className: "block truncate text-sm font-medium leading-5",
|
|
230
|
+
initial: still ? { opacity: 0 } : { opacity: 0, y: "70%" },
|
|
231
|
+
animate: { opacity: 1, y: 0 },
|
|
232
|
+
exit: still ? { opacity: 0 } : { opacity: 0, y: "-70%" },
|
|
233
|
+
transition: { duration: 0.25, ease: GLIDE },
|
|
234
|
+
children: copied ? "Copied to clipboard" : email
|
|
235
|
+
},
|
|
236
|
+
copied ? "copied" : "email"
|
|
237
|
+
) }) })
|
|
238
|
+
] }),
|
|
239
|
+
/* @__PURE__ */ jsx("span", { className: action, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", initial: false, children: /* @__PURE__ */ jsx(
|
|
240
|
+
motion.span,
|
|
241
|
+
{
|
|
242
|
+
className: cn("grid", copied && "text-[#269a5a]"),
|
|
243
|
+
initial: still ? { opacity: 0 } : { opacity: 0, scale: 0.4, rotate: -45 },
|
|
244
|
+
animate: { opacity: 1, scale: 1, rotate: 0 },
|
|
245
|
+
exit: still ? { opacity: 0 } : { opacity: 0, scale: 0.4 },
|
|
246
|
+
transition: {
|
|
247
|
+
type: "spring",
|
|
248
|
+
stiffness: 520,
|
|
249
|
+
damping: 24
|
|
250
|
+
},
|
|
251
|
+
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { className: "size-4", strokeWidth: 2.5 }) : /* @__PURE__ */ jsx(CopyIcon, { className: "size-4", strokeWidth: 2 })
|
|
252
|
+
},
|
|
253
|
+
copied ? "ok" : "copy"
|
|
254
|
+
) }) })
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
),
|
|
258
|
+
/* @__PURE__ */ jsx("div", { className: "mx-3 h-px bg-zinc-200/80 dark:bg-white/8" }),
|
|
259
|
+
/* @__PURE__ */ jsxs(
|
|
260
|
+
"a",
|
|
261
|
+
{
|
|
262
|
+
href: linkedin,
|
|
263
|
+
target: "_blank",
|
|
264
|
+
rel: "noreferrer",
|
|
265
|
+
className: tile,
|
|
266
|
+
children: [
|
|
267
|
+
/* @__PURE__ */ jsx("span", { className: disc, children: /* @__PURE__ */ jsx(
|
|
268
|
+
LinkedinIcon,
|
|
269
|
+
{
|
|
270
|
+
className: "size-4",
|
|
271
|
+
strokeWidth: 2,
|
|
272
|
+
"aria-hidden": true
|
|
273
|
+
}
|
|
274
|
+
) }),
|
|
275
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
276
|
+
/* @__PURE__ */ jsx("span", { className: "block text-xs text-zinc-500 dark:text-zinc-400", children: "LinkedIn" }),
|
|
277
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-sm font-medium leading-5", children: linkedin.replace(/^https?:\/\/(www\.)?/, "").replace(/\/$/, "") })
|
|
278
|
+
] }),
|
|
279
|
+
/* @__PURE__ */ jsx("span", { className: action, children: /* @__PURE__ */ jsx(
|
|
280
|
+
ArrowUpRight,
|
|
281
|
+
{
|
|
282
|
+
className: "size-4 transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] group-hover/row:rotate-45",
|
|
283
|
+
strokeWidth: 2.25,
|
|
284
|
+
"aria-hidden": true
|
|
285
|
+
}
|
|
286
|
+
) })
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
)
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
),
|
|
293
|
+
/* @__PURE__ */ jsx(
|
|
294
|
+
motion.div,
|
|
295
|
+
{
|
|
296
|
+
variants: still ? void 0 : RISE,
|
|
297
|
+
className: "mt-4",
|
|
298
|
+
children: /* @__PURE__ */ jsxs(
|
|
299
|
+
Book,
|
|
300
|
+
{
|
|
301
|
+
...bookHref ? { href: bookHref } : { type: "button", onClick: onBook },
|
|
302
|
+
className: "group/row flex h-12 w-full cursor-pointer items-center justify-center gap-2 rounded-full bg-[#242423] text-sm font-medium text-white outline-none transition-transform focus-visible:ring-2 focus-visible:ring-zinc-400 focus-visible:ring-offset-2 active:scale-[0.98] dark:bg-white dark:text-zinc-900 dark:focus-visible:ring-offset-zinc-900",
|
|
303
|
+
children: [
|
|
304
|
+
/* @__PURE__ */ jsx(
|
|
305
|
+
CalendarDaysIcon,
|
|
306
|
+
{
|
|
307
|
+
className: "size-4",
|
|
308
|
+
strokeWidth: 2,
|
|
309
|
+
"aria-hidden": true
|
|
310
|
+
}
|
|
311
|
+
),
|
|
312
|
+
bookLabel,
|
|
313
|
+
/* @__PURE__ */ jsx(Through, { still })
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
)
|
|
317
|
+
}
|
|
318
|
+
)
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
)
|
|
322
|
+
}
|
|
323
|
+
) }),
|
|
324
|
+
/* @__PURE__ */ jsxs(
|
|
325
|
+
motion.button,
|
|
326
|
+
{
|
|
327
|
+
type: "button",
|
|
328
|
+
"aria-expanded": open,
|
|
329
|
+
"aria-controls": open ? `${id}-card` : void 0,
|
|
330
|
+
onClick: () => open ? setOpen(false) : show(),
|
|
331
|
+
onFocus: () => {
|
|
332
|
+
fromKeys.current = true;
|
|
333
|
+
show();
|
|
334
|
+
},
|
|
335
|
+
whileTap: still ? void 0 : { scale: 0.97 },
|
|
336
|
+
className: "group relative inline-flex cursor-pointer items-baseline gap-[0.12em] rounded-md text-inherit outline-none [font:inherit] [letter-spacing:inherit] focus-visible:ring-2 focus-visible:ring-zinc-400 focus-visible:ring-offset-4 dark:focus-visible:ring-offset-zinc-900",
|
|
337
|
+
children: [
|
|
338
|
+
/* @__PURE__ */ jsxs("span", { className: "relative", children: [
|
|
339
|
+
label,
|
|
340
|
+
/* @__PURE__ */ jsx(
|
|
341
|
+
"span",
|
|
342
|
+
{
|
|
343
|
+
"aria-hidden": true,
|
|
344
|
+
className: cn(
|
|
345
|
+
"absolute inset-x-0 -bottom-[0.06em] h-[0.07em] origin-left rounded-full bg-current transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
346
|
+
open ? "scale-x-100" : "scale-x-0 group-hover:scale-x-100"
|
|
347
|
+
)
|
|
348
|
+
}
|
|
349
|
+
)
|
|
350
|
+
] }),
|
|
351
|
+
/* @__PURE__ */ jsx(
|
|
352
|
+
motion.span,
|
|
353
|
+
{
|
|
354
|
+
className: "grid self-center",
|
|
355
|
+
animate: { rotate: open && !still ? -45 : 0 },
|
|
356
|
+
transition: { type: "spring", stiffness: 420, damping: 24 },
|
|
357
|
+
children: /* @__PURE__ */ jsx(ArrowUpRight, { className: "size-[0.8em]", strokeWidth: 2.5 })
|
|
358
|
+
}
|
|
359
|
+
)
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
)
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
);
|
|
368
|
+
|
|
369
|
+
export {
|
|
370
|
+
ContactCard
|
|
371
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cn
|
|
4
|
+
} from "./chunk-2TQSHVXA.js";
|
|
5
|
+
|
|
6
|
+
// src/icons/cloud-upload.tsx
|
|
7
|
+
import { motion, useAnimation, useReducedMotion } from "motion/react";
|
|
8
|
+
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var CLOUD_VARIANTS = {
|
|
11
|
+
initial: { y: -2 },
|
|
12
|
+
active: { y: 0 }
|
|
13
|
+
};
|
|
14
|
+
var CloudUploadIcon = forwardRef(
|
|
15
|
+
({ onMouseEnter, onMouseLeave, className, size, active, style, strokeWidth, ...props }, ref) => {
|
|
16
|
+
const controls = useAnimation();
|
|
17
|
+
const isControlledRef = useRef(false);
|
|
18
|
+
useImperativeHandle(ref, () => {
|
|
19
|
+
isControlledRef.current = true;
|
|
20
|
+
return {
|
|
21
|
+
startAnimation: () => controls.start("initial"),
|
|
22
|
+
stopAnimation: () => controls.start("active")
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
const handleMouseEnter = useCallback(
|
|
26
|
+
(e) => {
|
|
27
|
+
if (isControlledRef.current) {
|
|
28
|
+
onMouseEnter?.(e);
|
|
29
|
+
} else {
|
|
30
|
+
controls.start("initial");
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
[controls, onMouseEnter]
|
|
34
|
+
);
|
|
35
|
+
const handleMouseLeave = useCallback(
|
|
36
|
+
(e) => {
|
|
37
|
+
if (isControlledRef.current) {
|
|
38
|
+
onMouseLeave?.(e);
|
|
39
|
+
} else {
|
|
40
|
+
controls.start("active");
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
[controls, onMouseLeave]
|
|
44
|
+
);
|
|
45
|
+
const wrap = useRef(null);
|
|
46
|
+
const reduced = useReducedMotion();
|
|
47
|
+
const [hosted, setHosted] = useState(false);
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
const fake = {};
|
|
50
|
+
if (reduced) {
|
|
51
|
+
setHosted(true);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (active !== void 0) {
|
|
55
|
+
setHosted(true);
|
|
56
|
+
(active ? handleMouseEnter : handleMouseLeave)(fake);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const host = wrap.current?.parentElement?.closest("button, a, [role=button], [role=menuitem], [role=tab], [role=switch], [role=radio], label");
|
|
60
|
+
setHosted(!!host);
|
|
61
|
+
if (!host) return;
|
|
62
|
+
const on = () => handleMouseEnter(fake);
|
|
63
|
+
const off = () => handleMouseLeave(fake);
|
|
64
|
+
host.addEventListener("pointerenter", on);
|
|
65
|
+
host.addEventListener("pointerleave", off);
|
|
66
|
+
return () => {
|
|
67
|
+
host.removeEventListener("pointerenter", on);
|
|
68
|
+
host.removeEventListener("pointerleave", off);
|
|
69
|
+
};
|
|
70
|
+
}, [active, reduced, handleMouseEnter, handleMouseLeave]);
|
|
71
|
+
return /* @__PURE__ */ jsx(
|
|
72
|
+
"span",
|
|
73
|
+
{
|
|
74
|
+
ref: wrap,
|
|
75
|
+
className: cn("inline-grid size-6 shrink-0 place-items-center align-middle [&>svg]:size-full", className),
|
|
76
|
+
style: size ? { width: size, height: size, ...style } : style,
|
|
77
|
+
onMouseEnter: hosted ? void 0 : handleMouseEnter,
|
|
78
|
+
onMouseLeave: hosted ? void 0 : handleMouseLeave,
|
|
79
|
+
...props,
|
|
80
|
+
children: /* @__PURE__ */ jsxs(
|
|
81
|
+
"svg",
|
|
82
|
+
{
|
|
83
|
+
fill: "none",
|
|
84
|
+
height: size,
|
|
85
|
+
stroke: "currentColor",
|
|
86
|
+
strokeLinecap: "round",
|
|
87
|
+
strokeLinejoin: "round",
|
|
88
|
+
strokeWidth: strokeWidth ?? 2,
|
|
89
|
+
viewBox: "0 0 24 24",
|
|
90
|
+
width: size,
|
|
91
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ jsx("path", { d: "M4.2 15.1A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2" }),
|
|
94
|
+
/* @__PURE__ */ jsxs(
|
|
95
|
+
motion.g,
|
|
96
|
+
{
|
|
97
|
+
animate: controls,
|
|
98
|
+
transition: {
|
|
99
|
+
duration: 0.3,
|
|
100
|
+
ease: [0.68, -0.6, 0.32, 1.6]
|
|
101
|
+
},
|
|
102
|
+
variants: CLOUD_VARIANTS,
|
|
103
|
+
children: [
|
|
104
|
+
/* @__PURE__ */ jsx("path", { d: "M12 13v8" }),
|
|
105
|
+
/* @__PURE__ */ jsx("path", { d: "m8 17 4-4 4 4" })
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
CloudUploadIcon.displayName = "CloudUploadIcon";
|
|
117
|
+
|
|
118
|
+
export {
|
|
119
|
+
CloudUploadIcon
|
|
120
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cn
|
|
4
|
+
} from "./chunk-2TQSHVXA.js";
|
|
5
|
+
|
|
6
|
+
// src/components/backspace-text/backspace-text.tsx
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var BackspaceText = React.forwardRef(function BackspaceText2({
|
|
11
|
+
before = "We design for",
|
|
12
|
+
words = ["people.", "speed.", "delight."],
|
|
13
|
+
typeSpeed = 75,
|
|
14
|
+
deleteSpeed = 40,
|
|
15
|
+
pause = 1400,
|
|
16
|
+
wordClassName = "text-violet-600 dark:text-violet-400",
|
|
17
|
+
className
|
|
18
|
+
}, ref) {
|
|
19
|
+
const still = useReducedMotion();
|
|
20
|
+
const [index, setIndex] = React.useState(0);
|
|
21
|
+
const [count, setCount] = React.useState(0);
|
|
22
|
+
const [deleting, setDeleting] = React.useState(false);
|
|
23
|
+
const word = words[index % words.length] ?? "";
|
|
24
|
+
React.useEffect(() => {
|
|
25
|
+
if (still) return;
|
|
26
|
+
let delay = deleting ? deleteSpeed : typeSpeed;
|
|
27
|
+
if (!deleting && count === word.length) delay = pause;
|
|
28
|
+
if (deleting && count === 0) delay = 300;
|
|
29
|
+
const id = window.setTimeout(() => {
|
|
30
|
+
if (!deleting && count < word.length) setCount(count + 1);
|
|
31
|
+
else if (!deleting) setDeleting(true);
|
|
32
|
+
else if (count > 0) setCount(count - 1);
|
|
33
|
+
else {
|
|
34
|
+
setDeleting(false);
|
|
35
|
+
setIndex((i) => (i + 1) % words.length);
|
|
36
|
+
}
|
|
37
|
+
}, delay);
|
|
38
|
+
return () => window.clearTimeout(id);
|
|
39
|
+
}, [count, deleting, word, words.length, typeSpeed, deleteSpeed, pause, still]);
|
|
40
|
+
const shown = still ? word : word.slice(0, count);
|
|
41
|
+
return /* @__PURE__ */ jsxs("p", { ref, className: cn(className), children: [
|
|
42
|
+
/* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
|
|
43
|
+
before,
|
|
44
|
+
" ",
|
|
45
|
+
words.join(" ")
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ jsxs("span", { "aria-hidden": true, children: [
|
|
48
|
+
before,
|
|
49
|
+
" ",
|
|
50
|
+
/* @__PURE__ */ jsx("span", { className: cn("whitespace-pre", wordClassName), children: Array.from(shown).map((ch, i) => /* @__PURE__ */ jsx(
|
|
51
|
+
motion.span,
|
|
52
|
+
{
|
|
53
|
+
className: "inline-block",
|
|
54
|
+
initial: { opacity: 0, y: "0.15em" },
|
|
55
|
+
animate: { opacity: 1, y: 0 },
|
|
56
|
+
transition: { duration: 0.12 },
|
|
57
|
+
children: ch
|
|
58
|
+
},
|
|
59
|
+
`${index}-${i}`
|
|
60
|
+
)) }),
|
|
61
|
+
/* @__PURE__ */ jsx(
|
|
62
|
+
motion.span,
|
|
63
|
+
{
|
|
64
|
+
className: "ml-[0.06em] inline-block h-[0.95em] w-[0.08em] translate-y-[0.12em] rounded-full bg-current align-baseline",
|
|
65
|
+
animate: still ? void 0 : { opacity: [1, 1, 0, 0] },
|
|
66
|
+
transition: { duration: 1, repeat: Infinity, times: [0, 0.5, 0.5, 1] }
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
] })
|
|
70
|
+
] });
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
BackspaceText
|
|
75
|
+
};
|