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,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ActionMenu
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press, then hover. A dropdown of actions and links. Opening springs
|
|
5
|
+
* the panel out of its trigger while the items cascade in. A soft highlight
|
|
6
|
+
* slides between items as you hover or arrow through them. Copy actions shrink
|
|
7
|
+
* their icon away and draw a check while the label swaps to "Copied"; download
|
|
8
|
+
* actions bounce their arrow while a light gray water fill washes across the
|
|
9
|
+
* row, then draw the check. Link items nudge their arrow. Escape or a click outside closes it and
|
|
10
|
+
* focus returns to the trigger.
|
|
11
|
+
*
|
|
12
|
+
* Engine: motion/react + gsap (Motion for the panel spring, sliding highlight,
|
|
13
|
+
* label swaps and arrow nudges; gsap + @gsap/react for the item cascade and
|
|
14
|
+
* the icon timelines).
|
|
15
|
+
*/
|
|
16
|
+
import * as React from "react";
|
|
17
|
+
export type ActionMenuItem = {
|
|
18
|
+
kind: "copy" | "download";
|
|
19
|
+
label: string;
|
|
20
|
+
/** Label while the action confirms. Default "Copied" or "Downloaded". */
|
|
21
|
+
doneLabel?: string;
|
|
22
|
+
/** Text written to the clipboard for copy items. */
|
|
23
|
+
copyText?: string;
|
|
24
|
+
/** Runs when chosen. Download items wait for it before showing the check. */
|
|
25
|
+
onSelect?: () => void | Promise<void>;
|
|
26
|
+
} | {
|
|
27
|
+
kind: "link";
|
|
28
|
+
label: string;
|
|
29
|
+
href?: string;
|
|
30
|
+
onSelect?: () => void;
|
|
31
|
+
} | {
|
|
32
|
+
kind: "separator";
|
|
33
|
+
};
|
|
34
|
+
export interface ActionMenuProps {
|
|
35
|
+
/** Trigger button label. Default `"Brand assets"`. */
|
|
36
|
+
label?: React.ReactNode;
|
|
37
|
+
/** Menu items, top to bottom. Default a brand-asset menu. */
|
|
38
|
+
items?: ActionMenuItem[];
|
|
39
|
+
/** Start open. Default `false`. */
|
|
40
|
+
defaultOpen?: boolean;
|
|
41
|
+
/** How long a confirmed action shows its check, in ms. Default `1400`. */
|
|
42
|
+
confirmFor?: number;
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare const ActionMenu: React.ForwardRefExoticComponent<ActionMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionMenu, type ActionMenuProps, type ActionMenuItem } from "./action-menu";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ActivityGrid
|
|
3
|
+
*
|
|
4
|
+
* Trigger: in view, then hover, keys and resize. A white card with a year of
|
|
5
|
+
* daily activity as a heatmap: one column per week, one square per day, in
|
|
6
|
+
* tints and shades of one colour, dark ink by default. When the card scrolls into view the squares sweep
|
|
7
|
+
* in as a diagonal wave from the oldest week to today while the total counts
|
|
8
|
+
* up beside a change chip. Hover a day and its row and column stay lit while
|
|
9
|
+
* the rest dims, with a tooltip naming the day and its count; hover a step of
|
|
10
|
+
* the legend and only the days at that level stay lit. The grid measures its
|
|
11
|
+
* own width and shows as many recent weeks as fit, so it sits in a small card
|
|
12
|
+
* and stretches to the full year on a wide one; the total, the streak tiles
|
|
13
|
+
* and the period chip count to the new numbers when the width changes. The
|
|
14
|
+
* arrow keys move through the days. Reduced motion shows the final state at
|
|
15
|
+
* once.
|
|
16
|
+
*
|
|
17
|
+
* Engine: motion/react (motion values counting the numbers, AnimatePresence
|
|
18
|
+
* for the tooltip) with CSS transitions staggering the squares, a
|
|
19
|
+
* ResizeObserver fitting the weeks, and animated icons from lucide-animated
|
|
20
|
+
* (MIT), vendored in src/icons.
|
|
21
|
+
*/
|
|
22
|
+
import * as React from "react";
|
|
23
|
+
/**
|
|
24
|
+
* Ready made ramps: one colour each, from a light tint on quiet days to a
|
|
25
|
+
* deep shade on the busiest.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ACTIVITY_PALETTES: {
|
|
28
|
+
readonly ink: readonly ["#dcdcda", "#a6a6a3", "#6e6e6b", "#242423"];
|
|
29
|
+
readonly green: readonly ["#c9f2d5", "#7ddc96", "#2fbf5c", "#17803a"];
|
|
30
|
+
readonly violet: readonly ["#ddd6ff", "#ad9bff", "#7b61ff", "#4a2fd1"];
|
|
31
|
+
readonly mint: readonly ["#c6f4e3", "#6fe0b8", "#16c79a", "#0b8a6a"];
|
|
32
|
+
readonly amber: readonly ["#ffe7b3", "#ffc85c", "#ffad1f", "#d98200"];
|
|
33
|
+
readonly sky: readonly ["#cbeaff", "#7cc8ff", "#2aa8f2", "#0a72b8"];
|
|
34
|
+
};
|
|
35
|
+
export interface ActivityGridProps {
|
|
36
|
+
/** Card title. Default `"Focus sessions"`. */
|
|
37
|
+
title?: string;
|
|
38
|
+
/** One value per day, oldest first, the last one is today. Default a year of sample sessions. */
|
|
39
|
+
data?: number[];
|
|
40
|
+
/** The last day in `data`. Default today. */
|
|
41
|
+
endDate?: Date;
|
|
42
|
+
/** What is counted, singular. Default `"session"`. */
|
|
43
|
+
unit?: string;
|
|
44
|
+
/** A ready made colour, in tints and shades. Default `"ink"`, which turns light in dark mode. */
|
|
45
|
+
palette?: keyof typeof ACTIVITY_PALETTES;
|
|
46
|
+
/** Four colours for the activity levels, quietest to busiest; overrides `palette`. */
|
|
47
|
+
colors?: readonly [string, string, string, string];
|
|
48
|
+
/** Preferred square size in px; squares grow up to 16px when the whole year fits. Default `11`. */
|
|
49
|
+
cellSize?: number;
|
|
50
|
+
/** Show the three streak tiles. Default `true`. */
|
|
51
|
+
showStats?: boolean;
|
|
52
|
+
className?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare const ActivityGrid: React.ForwardRefExoticComponent<ActivityGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActivityGrid, ACTIVITY_PALETTES, type ActivityGridProps } from "./activity-grid";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AddCard
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press (plus hover). An empty state for payments: a white card that
|
|
5
|
+
* asks for a first payment card. Above the copy, a dark card floats over a
|
|
6
|
+
* dashed slot, tipped and waiting. Hovering it tilts it toward the cursor with
|
|
7
|
+
* a glare that follows, and the plus in the button turns on hover. Pressing
|
|
8
|
+
* the button types the card in: the last four digits roll in one by one, the
|
|
9
|
+
* name and expiry fill, then the card drops into its slot with a bounce, the
|
|
10
|
+
* dashes fade, a check pops on the card and the button turns green and rolls
|
|
11
|
+
* to its done label. Changes are announced, and reduced motion swaps the
|
|
12
|
+
* movement for fades. When the card scrolls into view, the stage fades up,
|
|
13
|
+
* the payment card swings in from above and settles into its float, the
|
|
14
|
+
* title and line rise out of a soft blur, and the button follows.
|
|
15
|
+
*
|
|
16
|
+
* Engine: motion/react (springs for the float, tilt and drop; AnimatePresence
|
|
17
|
+
* for the rolling text and icon swaps).
|
|
18
|
+
*/
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
export interface AddCardProps {
|
|
21
|
+
/** Card title. Default `"Add your first card"`. */
|
|
22
|
+
title?: string;
|
|
23
|
+
/** Line under the title. */
|
|
24
|
+
subtitle?: string;
|
|
25
|
+
/** Button label. Default `"Add card"`. */
|
|
26
|
+
cta?: string;
|
|
27
|
+
/** Button label once the card is in. Default `"Card added"`. */
|
|
28
|
+
doneLabel?: string;
|
|
29
|
+
/** Small line under the button. Pass an empty string to hide it. */
|
|
30
|
+
note?: string;
|
|
31
|
+
/** Last four digits shown once added. Default `"4242"`. */
|
|
32
|
+
last4?: string;
|
|
33
|
+
/** Name shown once added. Default `"Alex Morgan"`. */
|
|
34
|
+
holder?: string;
|
|
35
|
+
/** Expiry shown once added. Default `"08/29"`. */
|
|
36
|
+
expiry?: string;
|
|
37
|
+
/** Called on press. Return a promise to hold the card until it settles; a rejection puts it back. */
|
|
38
|
+
onAdd?: () => void | Promise<unknown>;
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const AddCard: React.ForwardRefExoticComponent<AddCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddCard, type AddCardProps } from "./add-card";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AmountSlider
|
|
3
|
+
*
|
|
4
|
+
* Trigger: drag (plus press and keys). A white card for picking an amount: a
|
|
5
|
+
* label, a big amount whose digits roll like an odometer as it changes, a
|
|
6
|
+
* slider with an ink fill and a white grip thumb, and a soft gray row that
|
|
7
|
+
* works out the monthly payment as you go. Grabbing the thumb swells it and
|
|
8
|
+
* spreads its grip lines; dragging past either end stretches it a little like
|
|
9
|
+
* rubber before it springs back. Pressing the track glides the thumb there on
|
|
10
|
+
* a spring, and the arrow, Page and Home/End keys step it. The ink button's
|
|
11
|
+
* arrow slides through on hover. Reduced motion swaps the rolls and springs
|
|
12
|
+
* for plain changes.
|
|
13
|
+
*
|
|
14
|
+
* Engine: motion/react (a motion value for the thumb position, springs for
|
|
15
|
+
* track presses and the stretch, odometer digit columns).
|
|
16
|
+
*/
|
|
17
|
+
import * as React from "react";
|
|
18
|
+
export interface AmountSliderProps {
|
|
19
|
+
/** Label above the amount. Default `"How much do you need?"`. */
|
|
20
|
+
label?: string;
|
|
21
|
+
/** Lowest amount. Default `5000`. */
|
|
22
|
+
min?: number;
|
|
23
|
+
/** Highest amount. Default `500000`. */
|
|
24
|
+
max?: number;
|
|
25
|
+
/** Amounts snap to this step. Default `1000`. */
|
|
26
|
+
step?: number;
|
|
27
|
+
/** Starting amount. Default `75000`. */
|
|
28
|
+
defaultValue?: number;
|
|
29
|
+
/** ISO currency code. Default `"USD"`. */
|
|
30
|
+
currency?: string;
|
|
31
|
+
/** Yearly interest rate in percent, for the monthly estimate. Default `7.5`. */
|
|
32
|
+
rate?: number;
|
|
33
|
+
/** Term in months, for the monthly estimate. Default `60`. */
|
|
34
|
+
months?: number;
|
|
35
|
+
/** Button label. Default `"Continue"`. */
|
|
36
|
+
cta?: string;
|
|
37
|
+
/** Called as the amount changes. */
|
|
38
|
+
onChange?: (value: number) => void;
|
|
39
|
+
/** Called when the button is pressed. */
|
|
40
|
+
onSubmit?: (value: number) => void;
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const AmountSlider: React.ForwardRefExoticComponent<AmountSliderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AmountSlider, type AmountSliderProps } from "./amount-slider";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AnnotationText
|
|
3
|
+
*
|
|
4
|
+
* Trigger: in view. Hand-drawn pen marks draw themselves around words when they
|
|
5
|
+
* scroll into view: an underline, a circle, a box or a strike-through, each with
|
|
6
|
+
* a slightly wobbly stroke so it reads as drawn, not ruled. Chain several with
|
|
7
|
+
* `delay`. Reduced motion shows the marks already drawn.
|
|
8
|
+
*
|
|
9
|
+
* Engine: motion/react (pathLength on SVG paths sized to the measured word).
|
|
10
|
+
*/
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
export type AnnotationType = "underline" | "circle" | "box" | "strike";
|
|
13
|
+
export interface AnnotationTextProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
/** Mark to draw. Default `"underline"`. */
|
|
16
|
+
type?: AnnotationType;
|
|
17
|
+
/** Pen color. Default a warm red. */
|
|
18
|
+
color?: string;
|
|
19
|
+
/** Stroke width, px. Default `2.5`. */
|
|
20
|
+
strokeWidth?: number;
|
|
21
|
+
/** Seconds to wait before drawing, for chaining marks. Default `0`. */
|
|
22
|
+
delay?: number;
|
|
23
|
+
/** Seconds the stroke takes. Default `0.7`. */
|
|
24
|
+
duration?: number;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function AnnotationText({ children, type, color, strokeWidth, delay, duration, className, }: AnnotationTextProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AnnotationText, type AnnotationTextProps, type AnnotationType } from "./annotation-text";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AuraCard
|
|
3
|
+
*
|
|
4
|
+
* Trigger: in view and timeline, plus hover and press. A feature card on a
|
|
5
|
+
* live two colour gradient: a main pool flows in the lower left and a second
|
|
6
|
+
* colour drifts in from the lower right, blending into it under a moving
|
|
7
|
+
* film grain that sits on the colour only while the top stays clear for the title and copy. The pool leans
|
|
8
|
+
* toward the pointer, soft rings ripple out from it, and a press anywhere on
|
|
9
|
+
* the card sends a wave through the colour. Four controls shape it: grain,
|
|
10
|
+
* noise (how much the flow warps), speed and ripple. In front, two glass
|
|
11
|
+
* keycaps press ⌘ and K, and a frosted command palette plays a loop: a
|
|
12
|
+
* command types itself, matching results blur in with the typed letters in
|
|
13
|
+
* bold, a highlight glides down the rows as the arrow key flashes, and Enter
|
|
14
|
+
* runs the chosen row: its icon plays, the return key turns into a check and
|
|
15
|
+
* the gradient ripples out from the row. Pointing at the palette pauses the
|
|
16
|
+
* loop so you can move the highlight yourself and click a row to run it.
|
|
17
|
+
* Everything pauses off screen and in a hidden tab. Reduced motion keeps a
|
|
18
|
+
* still frame of the gradient and the first command.
|
|
19
|
+
*
|
|
20
|
+
* Engine: motion/react (entrances, keycaps, the palette loop, a layoutId
|
|
21
|
+
* highlight) and a WebGL fragment shader (domain warped noise, ripples and
|
|
22
|
+
* grain), drawn on requestAnimationFrame only while the card is visible.
|
|
23
|
+
*/
|
|
24
|
+
import * as React from "react";
|
|
25
|
+
export type AuraCommandIcon = "card" | "history" | "download" | "deploy" | "undo" | "file" | "invite" | "team" | "mail";
|
|
26
|
+
export interface AuraCommand {
|
|
27
|
+
label: string;
|
|
28
|
+
icon: AuraCommandIcon;
|
|
29
|
+
/** Shortcut shown on the right while the row is not highlighted, like "G B". */
|
|
30
|
+
hint?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface AuraScene {
|
|
33
|
+
/** What gets typed into the palette. */
|
|
34
|
+
query: string;
|
|
35
|
+
/** Results shown under it, up to four. */
|
|
36
|
+
results: AuraCommand[];
|
|
37
|
+
/** Which result the loop runs. Default the first. */
|
|
38
|
+
pick?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface AuraCardProps {
|
|
41
|
+
/** Card title. Default `"Everything, one keystroke away"`. */
|
|
42
|
+
title?: React.ReactNode;
|
|
43
|
+
/** Line under the title. */
|
|
44
|
+
description?: React.ReactNode;
|
|
45
|
+
/** The palette plays these one after another. */
|
|
46
|
+
scenes?: AuraScene[];
|
|
47
|
+
/** Keys on the two keycaps. Default `["⌘", "K"]`. */
|
|
48
|
+
keys?: [string, string];
|
|
49
|
+
/** Four colors for the main pool in the lower left, deepest first. Default a blue to periwinkle ramp. */
|
|
50
|
+
colors?: [string, string, string, string];
|
|
51
|
+
/** The second pool's color, drifting in the lower right and blending into the first. Default `"#ff86c8"`. */
|
|
52
|
+
accent?: string;
|
|
53
|
+
/** Film grain over the gradient, 0 to 3. Default `1`. */
|
|
54
|
+
grain?: number;
|
|
55
|
+
/** How much the flow warps, 0 to 1. Default `0.5`. */
|
|
56
|
+
noise?: number;
|
|
57
|
+
/** Flow speed, 0 (still) to 2. Default `0.6`. */
|
|
58
|
+
speed?: number;
|
|
59
|
+
/** Strength of the rings and press waves, 0 to 1. Default `0.5`. */
|
|
60
|
+
ripple?: number;
|
|
61
|
+
className?: string;
|
|
62
|
+
}
|
|
63
|
+
export declare const AuraCard: React.ForwardRefExoticComponent<AuraCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuraCard, type AuraCardProps } from "./aura-card";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AuthCard
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press and type (plus focus, hover and in view). One white card
|
|
5
|
+
* for signing in and signing up. Sign in asks for email and password, with
|
|
6
|
+
* a forgot password link, a Get started button, and Google, Apple and
|
|
7
|
+
* GitHub below. The line at the bottom switches modes, and the card changes
|
|
8
|
+
* in place instead of swapping pages: a name field grows in above the email,
|
|
9
|
+
* the forgot link folds away, a password strength meter fills in under the
|
|
10
|
+
* password, and the title, the button and the bottom line roll to their new
|
|
11
|
+
* words while the logo turns once. Email and password keep what was
|
|
12
|
+
* typed. Fields are full pills that wake on focus: the surface turns white,
|
|
13
|
+
* a soft ring grows and the field's icon plays, and once filled they stay
|
|
14
|
+
* white with a thin stroke to show they are done; a valid email earns a green check, the eye
|
|
15
|
+
* shows or hides the password, and fields that need fixing shake and explain
|
|
16
|
+
* why. Get started presses in; while it works a light sweeps across it, an
|
|
17
|
+
* arc spins and dots wave; when done it turns green with a ripple and the
|
|
18
|
+
* lock opens (sign in) or a check lands (sign up). Social buttons lift, wiggle their logo and show a spinner
|
|
19
|
+
* when pressed. Reduced motion keeps every state without movement.
|
|
20
|
+
*
|
|
21
|
+
* Engine: motion/react (height reveals with AnimatePresence, rolling text,
|
|
22
|
+
* keyframe shakes, springs) with animated icons from lucide-animated (MIT),
|
|
23
|
+
* vendored in src/icons.
|
|
24
|
+
*/
|
|
25
|
+
import * as React from "react";
|
|
26
|
+
export type AuthMode = "signin" | "signup";
|
|
27
|
+
export type AuthProvider = "google" | "apple" | "github";
|
|
28
|
+
export interface AuthDetails {
|
|
29
|
+
mode: AuthMode;
|
|
30
|
+
email: string;
|
|
31
|
+
password: string;
|
|
32
|
+
/** Only when signing up. */
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface AuthCardProps {
|
|
36
|
+
/** Mode shown first. Default `"signin"`. */
|
|
37
|
+
defaultMode?: AuthMode;
|
|
38
|
+
/** Mode (controlled). */
|
|
39
|
+
mode?: AuthMode;
|
|
40
|
+
onModeChange?: (mode: AuthMode) => void;
|
|
41
|
+
/** Called with the details once they pass the checks. Return a promise to keep the button spinning until it settles; throw to show an error. */
|
|
42
|
+
onSubmit?: (details: AuthDetails) => void | Promise<void>;
|
|
43
|
+
/** Called by the Google, Apple and GitHub buttons. */
|
|
44
|
+
onSocial?: (provider: AuthProvider) => void | Promise<void>;
|
|
45
|
+
/** Called by the forgot password link. */
|
|
46
|
+
onForgotPassword?: (email: string) => void;
|
|
47
|
+
/** Your logo for the top of the card. Default a placeholder gradient mark. */
|
|
48
|
+
logo?: React.ReactNode;
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare const AuthCard: React.ForwardRefExoticComponent<AuthCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuthCard, type AuthCardProps, type AuthMode, type AuthProvider, type AuthDetails } from "./auth-card";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AvatarTestimonial
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press (plus a timeline). A testimonial card driven by a row of
|
|
5
|
+
* avatars. The quote reveals word by word, each word rising out of a soft blur,
|
|
6
|
+
* and blurs away before the next one comes in. The card's height glides to fit.
|
|
7
|
+
* The name and role roll in, the stars pop in one after another, and the active
|
|
8
|
+
* avatar wears a ring that fills as time runs down to the next testimonial.
|
|
9
|
+
* The other avatars sit back in gray and come back to color on hover. Click an avatar or use
|
|
10
|
+
* the arrow keys to switch; autoplay pauses while the card is hovered or
|
|
11
|
+
* focused. The avatars are real tabs. Reduced motion swaps quotes with a fade.
|
|
12
|
+
*
|
|
13
|
+
* Engine: motion/react (word blur reveal, height glide, progress ring driven by
|
|
14
|
+
* a pausable animation, rolling captions and staggered stars).
|
|
15
|
+
*/
|
|
16
|
+
import * as React from "react";
|
|
17
|
+
export interface Testimonial {
|
|
18
|
+
quote: string;
|
|
19
|
+
name: string;
|
|
20
|
+
role: string;
|
|
21
|
+
/** Photo URL. Without it the avatar shows initials on `color`. */
|
|
22
|
+
avatar?: string;
|
|
23
|
+
/** Avatar color behind the initials. */
|
|
24
|
+
color?: string;
|
|
25
|
+
/** Stars out of five. Default `5`. */
|
|
26
|
+
rating?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface AvatarTestimonialProps {
|
|
29
|
+
/** Testimonials, one per avatar. Default three. */
|
|
30
|
+
items?: Testimonial[];
|
|
31
|
+
/** Milliseconds each testimonial stays. `0` turns autoplay off. Default `6500`. */
|
|
32
|
+
interval?: number;
|
|
33
|
+
/** Show the star rating. Default `true`. */
|
|
34
|
+
stars?: boolean;
|
|
35
|
+
/** Called with the index when the testimonial changes. */
|
|
36
|
+
onChange?: (index: number) => void;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const AvatarTestimonial: React.ForwardRefExoticComponent<AvatarTestimonialProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AvatarTestimonial, type AvatarTestimonialProps, type Testimonial } from "./avatar-testimonial";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BackspaceText
|
|
3
|
+
*
|
|
4
|
+
* Trigger: timeline. Types a word, holds, backspaces it letter by letter and
|
|
5
|
+
* types the next, on a loop, with a blinking caret. New letters pop in with a
|
|
6
|
+
* tiny rise. Screen readers get the full list once. Reduced motion shows the
|
|
7
|
+
* first word, still.
|
|
8
|
+
*
|
|
9
|
+
* Engine: motion/react (letter pop-ins and a blinking caret; plain timers pace the typing).
|
|
10
|
+
*/
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
export interface BackspaceTextProps {
|
|
13
|
+
/** Fixed text before the typed word. Default `"We design for"`. */
|
|
14
|
+
before?: string;
|
|
15
|
+
/** Words to type in turn. Default `["people.", "speed.", "delight."]`. */
|
|
16
|
+
words?: string[];
|
|
17
|
+
/** Milliseconds per typed letter. Default `75`. */
|
|
18
|
+
typeSpeed?: number;
|
|
19
|
+
/** Milliseconds per deleted letter. Default `40`. */
|
|
20
|
+
deleteSpeed?: number;
|
|
21
|
+
/** Milliseconds a finished word stays before deleting. Default `1400`. */
|
|
22
|
+
pause?: number;
|
|
23
|
+
/** Classes for the typed word. Default a violet tone. */
|
|
24
|
+
wordClassName?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const BackspaceText: React.ForwardRefExoticComponent<BackspaceTextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BackspaceText, type BackspaceTextProps } from "./backspace-text";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BellToggle
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press. A pill toggle for notifications. Off, it is a soft gray
|
|
5
|
+
* pill with a muted bell crossed by a slash. Pressing it turns it on: the
|
|
6
|
+
* pill unfurls wider and turns white, the slash draws itself away, the
|
|
7
|
+
* bell rings (it swings on its hanger while the clapper swings the other way
|
|
8
|
+
* a beat behind, and two sound waves draw out on each side and fade), and the
|
|
9
|
+
* label crossfades to the on text. Pressing again turns it off: the slash
|
|
10
|
+
* strokes back across the bell, the bell gives a small droop, the label
|
|
11
|
+
* crossfades back and the pill folds down to its gray rest. Hovering the on
|
|
12
|
+
* pill gives the bell a little nudge. It is a real switch for screen readers,
|
|
13
|
+
* and reduced motion keeps the changes but drops the swinging.
|
|
14
|
+
*
|
|
15
|
+
* Engine: gsap + @gsap/react for the bell (swing, clapper, waves and slash,
|
|
16
|
+
* scoped with useGSAP), with motion/react for the pill's layout unfurl and
|
|
17
|
+
* the label crossfade.
|
|
18
|
+
*/
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
export interface BellToggleProps {
|
|
21
|
+
/** Whether it is on. Leave out to let the toggle keep its own state. */
|
|
22
|
+
on?: boolean;
|
|
23
|
+
/** Whether it starts on. Default `false`. */
|
|
24
|
+
defaultOn?: boolean;
|
|
25
|
+
/** Called with the new state. */
|
|
26
|
+
onChange?: (on: boolean) => void;
|
|
27
|
+
/** Label while off. Default `"Notify me"`. */
|
|
28
|
+
label?: string;
|
|
29
|
+
/** Label while on. Default `"Notifications on"`. */
|
|
30
|
+
onLabel?: string;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const BellToggle: React.ForwardRefExoticComponent<BellToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BellToggle, type BellToggleProps } from "./bell-toggle";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BillList
|
|
3
|
+
*
|
|
4
|
+
* Trigger: in view, then hover, press and keys. A white card of upcoming bills
|
|
5
|
+
* and subscriptions. When it scrolls into view it builds one piece at a time:
|
|
6
|
+
* the title, the amount due counting up, the filter pill popping in, then each
|
|
7
|
+
* row on its own beat, its icon disc and amount landing just after it. Each row shows an icon in a soft
|
|
8
|
+
* disc, when it is due (an amber chip with a breathing dot when it is close)
|
|
9
|
+
* and its amount. Hover or focus a row and it tints, its icon plays and the
|
|
10
|
+
* amount gives way to a Pay button; press it and a spinner turns into a check,
|
|
11
|
+
* the row turns paid where it stands, and the total counts down. A filter
|
|
12
|
+
* pill opens a small menu; picking a filter reflows the list, rows gliding to
|
|
13
|
+
* their places and blurring in and out. Escape and a click outside close the
|
|
14
|
+
* menu, and reduced motion shows every state at once.
|
|
15
|
+
*
|
|
16
|
+
* Engine: motion/react (layout animations and AnimatePresence for the rows,
|
|
17
|
+
* the menu and the pay button, a motion value counting the total) with
|
|
18
|
+
* animated icons from lucide-animated (MIT), vendored in src/icons.
|
|
19
|
+
*/
|
|
20
|
+
import * as React from "react";
|
|
21
|
+
/** The animated icons a bill can carry. */
|
|
22
|
+
export type BillIcon = "wifi" | "power" | "phone" | "cloud" | "health";
|
|
23
|
+
export interface Bill {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
amount: number;
|
|
27
|
+
/** When it is due. */
|
|
28
|
+
due: Date;
|
|
29
|
+
icon: BillIcon;
|
|
30
|
+
/** Which filter it belongs to, as in `"Bills"` or `"Subscriptions"`. */
|
|
31
|
+
kind: string;
|
|
32
|
+
/** Paid automatically; shown as a small tag. */
|
|
33
|
+
autopay?: boolean;
|
|
34
|
+
paid?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface BillListProps {
|
|
37
|
+
/** Card title. Default `"Coming up"`. */
|
|
38
|
+
title?: string;
|
|
39
|
+
/** The bills. Default five household bills and subscriptions, due over the next two weeks. */
|
|
40
|
+
bills?: Bill[];
|
|
41
|
+
/** Currency code for the amounts. Default `"USD"`. */
|
|
42
|
+
currency?: string;
|
|
43
|
+
/** Days ahead that count as due soon, with an amber chip. Default `3`. */
|
|
44
|
+
soonDays?: number;
|
|
45
|
+
/** Called after a bill is paid. */
|
|
46
|
+
onPay?: (bill: Bill) => void;
|
|
47
|
+
className?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const BillList: React.ForwardRefExoticComponent<BillListProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BillList, type BillListProps, type Bill, type BillIcon } from "./bill-list";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BinaryText
|
|
3
|
+
*
|
|
4
|
+
* Trigger: hover (and in view). The text scrambles into 0s and 1s, then decodes
|
|
5
|
+
* left to right back into the real characters. It plays when it first scrolls
|
|
6
|
+
* into view and again on every hover or focus. A monospace face keeps widths
|
|
7
|
+
* steady while it churns. Screen readers only ever get the real text.
|
|
8
|
+
*
|
|
9
|
+
* Engine: motion/react (one animated progress value drives the decode; letters
|
|
10
|
+
* left of it are settled, the rest flicker).
|
|
11
|
+
*/
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
export interface BinaryTextProps {
|
|
14
|
+
/** The text to decode. Default `"Access granted"`. */
|
|
15
|
+
text?: string;
|
|
16
|
+
/** Seconds for the full decode. Default `1.1`. */
|
|
17
|
+
duration?: number;
|
|
18
|
+
/** Characters used while scrambling. Default `"01"`. */
|
|
19
|
+
charset?: string;
|
|
20
|
+
/** Element to render. Default `"p"`. */
|
|
21
|
+
as?: "h1" | "h2" | "h3" | "p" | "span";
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const BinaryText: React.ForwardRefExoticComponent<BinaryTextProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BinaryText, type BinaryTextProps } from "./binary-text";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BlurAccordion
|
|
3
|
+
*
|
|
4
|
+
* Trigger: press. An accordion whose panels open on a spring and smear with a
|
|
5
|
+
* vertical motion blur while they move, scaled by how fast the height changes,
|
|
6
|
+
* so the blur peaks mid-travel and clears as the panel settles. The plus icon
|
|
7
|
+
* folds into a minus, the open row picks up a soft tint, and the content rises
|
|
8
|
+
* out of a light blur. Arrow keys, Home and End move between headers. Reduced
|
|
9
|
+
* motion opens and closes instantly with no blur.
|
|
10
|
+
*
|
|
11
|
+
* Engine: motion/react (spring-driven height motion value, useVelocity feeding
|
|
12
|
+
* an SVG vertical blur, variants on the icon and content).
|
|
13
|
+
*/
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
export interface BlurAccordionItem {
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
content: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export interface BlurAccordionProps {
|
|
21
|
+
/** Rows, top to bottom. Default a short FAQ. */
|
|
22
|
+
items?: BlurAccordionItem[];
|
|
23
|
+
/** Let several panels stay open at once. Default `false`. */
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
/** Ids open on first render. Default the first item. */
|
|
26
|
+
defaultOpen?: string[];
|
|
27
|
+
/** Strongest vertical blur mid-travel, in px. `0` turns it off. Default `6`. */
|
|
28
|
+
blur?: number;
|
|
29
|
+
/** Spring stiffness for the height. Higher is snappier. Default `380`. */
|
|
30
|
+
stiffness?: number;
|
|
31
|
+
/** Called with the open ids whenever they change. */
|
|
32
|
+
onOpenChange?: (open: string[]) => void;
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const BlurAccordion: React.ForwardRefExoticComponent<BlurAccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BlurAccordion, type BlurAccordionItem, type BlurAccordionProps } from "./blur-accordion";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BlurText
|
|
3
|
+
*
|
|
4
|
+
* Trigger: in view (or on mount). Words (or letters) rise out of a blur one
|
|
5
|
+
* after another when the text scrolls into view, settling sharp and in place. Screen readers
|
|
6
|
+
* get the plain sentence once. Reduced motion shows the text at once.
|
|
7
|
+
*
|
|
8
|
+
* Engine: motion/react (useInView plus staggered variants on transform, opacity
|
|
9
|
+
* and filter).
|
|
10
|
+
*/
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
export interface BlurTextProps {
|
|
13
|
+
/** The text to reveal. Default `"Every word drifts out of the blur and settles into sharp focus"`. */
|
|
14
|
+
text?: string;
|
|
15
|
+
/** Element to render. Default `"p"`. */
|
|
16
|
+
as?: "h1" | "h2" | "h3" | "p" | "span";
|
|
17
|
+
/** Animate each `"word"` or each `"letter"`. Default `"word"`. */
|
|
18
|
+
by?: "word" | "letter";
|
|
19
|
+
/** Seconds between pieces. Default `0.08`. */
|
|
20
|
+
stagger?: number;
|
|
21
|
+
/** Seconds each piece takes. Default `0.7`. */
|
|
22
|
+
duration?: number;
|
|
23
|
+
/** Starting blur, px. Default `12`. */
|
|
24
|
+
blur?: number;
|
|
25
|
+
/** Pieces rise `"up"` or drop `"down"` into place. Default `"up"`. */
|
|
26
|
+
direction?: "up" | "down";
|
|
27
|
+
/** Seconds to wait before starting. Default `0`. */
|
|
28
|
+
delay?: number;
|
|
29
|
+
/** Start when it scrolls into view (`"inView"`) or right away (`"mount"`). Default `"inView"`. */
|
|
30
|
+
trigger?: "inView" | "mount";
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const BlurText: React.ForwardRefExoticComponent<BlurTextProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BlurText, type BlurTextProps } from "./blur-text";
|