motionary 17.5.0 → 17.7.0
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/AGENTS.md +4 -0
- package/CHANGELOG.md +17 -0
- package/README.md +12 -8
- package/README_ja.md +11 -7
- package/README_zh.md +11 -7
- package/bin/public-paths.mjs +2 -0
- package/dist/chunks/activity-G3K6LHEP.js +1 -1
- package/dist/chunks/activity-XCjQREWy.cjs +1 -1
- package/dist/chunks/{anim-image-Cl4pA1jG.cjs → anim-image-04e2kxjK.cjs} +2 -2
- package/dist/chunks/{anim-image-COjVmaP1.js → anim-image-BTVdF7jp.js} +2 -2
- package/dist/chunks/audio-BYC54FVb.cjs +1 -1
- package/dist/chunks/audio-BiO_x6I0.js +1 -1
- package/dist/chunks/badge-wall-BIYTO_47.js +1 -1
- package/dist/chunks/badge-wall-nHmls1DJ.cjs +1 -1
- package/dist/chunks/base-DzZEJhQB.cjs +1 -1
- package/dist/chunks/base-SPDwWyB1.js +1 -1
- package/dist/chunks/bg-generator-BjUrAeO1.js +1 -1
- package/dist/chunks/bg-generator-D4ssmvZk.cjs +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-Cp5v4424.cjs +1 -1
- package/dist/chunks/builtins-J8Y5msT6.js +1 -1
- package/dist/chunks/carousel--_KvZQq3.js +1 -1
- package/dist/chunks/carousel-CtzI1LxO.cjs +1 -1
- package/dist/chunks/cart-drawer-BJ3pFiI7.js +1 -1
- package/dist/chunks/cart-drawer-DSPlj8F4.cjs +1 -1
- package/dist/chunks/category-for-tag-D_QJPwpZ.cjs +1 -1
- package/dist/chunks/category-for-tag-WK7MtB-K.js +1 -1
- package/dist/chunks/code-export-ZWiwLw-H.cjs +1 -1
- package/dist/chunks/code-export-bfSRtSqB.js +1 -1
- package/dist/chunks/color-picker-8N-NOvcQ.cjs +1 -1
- package/dist/chunks/color-picker-CtpYpnpE.js +1 -1
- package/dist/chunks/command-palette-CF3b-53a.cjs +1 -1
- package/dist/chunks/command-palette-DEwU0apn.js +1 -1
- package/dist/chunks/core-Bj5_9QHr.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-C0-LxgXr.js +1 -1
- package/dist/chunks/core-CLKnlWY8.cjs +1 -1
- package/dist/chunks/core-D6--jjZC.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/countdown-B3c7zXfX.cjs +1 -1
- package/dist/chunks/countdown-BK14w5ux.js +1 -1
- package/dist/chunks/date-picker-DBlxYEY6.cjs +1 -1
- package/dist/chunks/date-picker-DLwN_P_R.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/engine-CUOpaIK4.js +314 -0
- package/dist/chunks/engine-D89D-YmJ.cjs +319 -0
- package/dist/chunks/equalizer-BJCGaGnx.js +1 -1
- package/dist/chunks/equalizer-DbABxC9W.cjs +1 -1
- package/dist/chunks/festival-banner-DOMDAkz8.cjs +1 -1
- package/dist/chunks/festival-banner-DhYr1Z4b.js +1 -1
- package/dist/chunks/field-Br3yLOwe.js +1 -1
- package/dist/chunks/field-C_ODaCJ5.cjs +1 -1
- package/dist/chunks/form-craft-CGsmJjVw.js +55 -0
- package/dist/chunks/form-craft-i3CaepYO.cjs +62 -0
- package/dist/chunks/form-options-e_FWVRvi.js +19 -0
- package/dist/chunks/form-options-lnCyapKT.cjs +22 -0
- package/dist/chunks/format-C6AKrjTW.js +1 -1
- package/dist/chunks/format-CcfR6-Jx.cjs +1 -1
- package/dist/chunks/fx-BLAi-SpO.cjs +1 -1
- package/dist/chunks/fx-sAOJVpyC.js +1 -1
- package/dist/chunks/generative-Cppu_oFN.js +1 -1
- package/dist/chunks/generative-DkuaIgER.cjs +1 -1
- package/dist/chunks/{gl-scene-EbbBygNv.js → gl-scene-9uhMddjN.js} +2 -2
- package/dist/chunks/{gl-scene-B2RmKWlP.cjs → gl-scene-lG0HvTr5.cjs} +2 -2
- package/dist/chunks/globe-BMVmAz1A.cjs +1 -1
- package/dist/chunks/globe-DbofB7xF.js +1 -1
- package/dist/chunks/gpu-B7egA-fl.cjs +1 -1
- package/dist/chunks/gpu-CJnu4Ty1.js +1 -1
- package/dist/chunks/gpu-particles-D1H4dnJY.js +1 -1
- package/dist/chunks/gpu-particles-DGwFsyz_.cjs +1 -1
- package/dist/chunks/history-C-nky56A.js +1 -1
- package/dist/chunks/history-rim_8RCX.cjs +1 -1
- package/dist/chunks/index-1R6Lie-l.js +1 -1
- package/dist/chunks/index-Ci8k-y1X.cjs +1 -1
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-DOp8WcNT.js → keyframes-CiwQ9xWF.js} +2 -2
- package/dist/chunks/{keyframes-D60feZJH.cjs → keyframes-DQXX31yd.cjs} +2 -2
- package/dist/chunks/leaderboard-Bm9JPPkX.js +1 -1
- package/dist/chunks/leaderboard-DAxGz-Bv.cjs +1 -1
- package/dist/chunks/location-card-ChfmioKU.cjs +1 -1
- package/dist/chunks/location-card-DlVRckSa.js +1 -1
- package/dist/chunks/lottie-icon-DYVkUCf7.js +1 -1
- package/dist/chunks/lottie-icon-tbOmn1bQ.cjs +1 -1
- package/dist/chunks/{lottie-player-C0iHgRFB.cjs → lottie-player-CY5npFg0.cjs} +2 -2
- package/dist/chunks/{lottie-player-CnXnrjV1.js → lottie-player-D-nae5je.js} +2 -2
- package/dist/chunks/luminous-B_-9G2GO.cjs +1 -1
- package/dist/chunks/luminous-iQ0lxR6o.js +1 -1
- package/dist/chunks/lyrics-BGUZPoYa.js +1 -1
- package/dist/chunks/lyrics-CchUHmvY.cjs +1 -1
- package/dist/chunks/manifest-D9SNkSNr.js +1 -1
- package/dist/chunks/manifest-DWZv7bHQ.cjs +1 -1
- package/dist/chunks/matter-CeAHN-RP.cjs +244 -0
- package/dist/chunks/matter-s1ApmJnh.js +240 -0
- package/dist/chunks/matter-text-CjPBzmSX.cjs +118 -0
- package/dist/chunks/matter-text-DCeZNAkM.js +116 -0
- package/dist/chunks/matter-tools-c9BnIwSX.cjs +183 -0
- package/dist/chunks/matter-tools-vu63cR1E.js +181 -0
- package/dist/chunks/menu-7-UBhICx.js +1 -1
- package/dist/chunks/menu-9GcThZZr.cjs +1 -1
- package/dist/chunks/menu-toggle-C4AUDeBM.js +1 -1
- package/dist/chunks/menu-toggle-DcMQeRDt.cjs +1 -1
- package/dist/chunks/mo-name-DR9ysd5S.cjs +1 -1
- package/dist/chunks/mo-name-DT5wwaGR.js +1 -1
- package/dist/chunks/nav-flyout-BlxMtN4W.js +1 -1
- package/dist/chunks/nav-flyout-CrLUC54W.cjs +1 -1
- package/dist/chunks/nav-morph-BPpHX9Ez.js +1 -1
- package/dist/chunks/nav-morph-DuNCH5WQ.cjs +1 -1
- package/dist/chunks/otp-BIrDvGU8.js +1 -1
- package/dist/chunks/otp-W5drE539.cjs +1 -1
- package/dist/chunks/pagination-BH2ngIJB.cjs +1 -1
- package/dist/chunks/pagination-CiU78ftj.js +1 -1
- package/dist/chunks/{physics-playground-D5D31FVw.cjs → physics-playground-CT29Alyt.cjs} +2 -2
- package/dist/chunks/{physics-playground-XYnXmRJY.js → physics-playground-D22g5Nus.js} +2 -2
- package/dist/chunks/play-CTz93Nas.cjs +1 -1
- package/dist/chunks/play-KU8T1oaZ.js +1 -1
- package/dist/chunks/player-core-BtZTI0Fz.js +1 -1
- package/dist/chunks/player-core-CqR6WVaL.cjs +1 -1
- package/dist/chunks/presence-DKDktgSJ.cjs +1 -1
- package/dist/chunks/presence-qE-_AKeD.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/preview-BNOUoHr9.js +1 -1
- package/dist/chunks/preview-DGpXA2hJ.cjs +1 -1
- package/dist/chunks/prize-wheel-DTpQnQ23.js +1 -1
- package/dist/chunks/prize-wheel-W_4Wvldc.cjs +1 -1
- package/dist/chunks/product-gallery-B5ra4XHf.cjs +1 -1
- package/dist/chunks/product-gallery-DUr6hkuf.js +1 -1
- package/dist/chunks/progress-ring-BS7OogLs.js +1 -1
- package/dist/chunks/progress-ring-YtKPU2jM.cjs +1 -1
- package/dist/chunks/project-D8KHFDHI.js +1 -1
- package/dist/chunks/project-DIZ0UqvG.cjs +1 -1
- package/dist/chunks/prop-panel-C65BHNBP.js +1 -1
- package/dist/chunks/prop-panel-CaR91ZOI.cjs +1 -1
- package/dist/chunks/radar-BIU0Yz3_.js +1 -1
- package/dist/chunks/radar-CGKx_0Ug.cjs +1 -1
- package/dist/chunks/reactions-C8aoxmBM.cjs +1 -1
- package/dist/chunks/reactions-hF5fzYX_.js +1 -1
- package/dist/chunks/{registry-Csnu-ewY.cjs → registry-CvzRzv5N.cjs} +2 -2
- package/dist/chunks/{registry-DKFddqVT.js → registry-DFWqcv5h.js} +2 -2
- package/dist/chunks/registry-DmYdTtl4.js +1 -1
- package/dist/chunks/registry-_XKU28ZC.cjs +1 -1
- package/dist/chunks/retro-button-CFu0VcvW.cjs +1 -1
- package/dist/chunks/retro-button-W7RR6wC5.js +1 -1
- package/dist/chunks/rive-D7DZNUuN.js +1 -1
- package/dist/chunks/rive-xzduMxFp.cjs +1 -1
- package/dist/chunks/{runtime-link-BgPnBmfW.js → runtime-link-BOSHJim4.js} +2 -2
- package/dist/chunks/{runtime-link-NKGqkpVc.cjs → runtime-link-CqOMmWDV.cjs} +2 -2
- package/dist/chunks/scene-COP9gX_F.js +1 -1
- package/dist/chunks/scene-C_jNHfn4.cjs +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-Baap9oeC.js → scroll-scene-Di3Qy51Y.js} +3 -3
- package/dist/chunks/{scroll-scene-DpZTdaej.cjs → scroll-scene-bhKJefLg.cjs} +3 -3
- package/dist/chunks/segmented-C4QWn3G2.js +1 -1
- package/dist/chunks/segmented-JA4E5-4e.cjs +1 -1
- package/dist/chunks/shader-backdrop-BjSIcvSf.js +1 -1
- package/dist/chunks/shader-backdrop-Ct8UIKNL.cjs +1 -1
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/sheet-BzJEwGbk.cjs +1 -1
- package/dist/chunks/sheet-DZd011Pc.js +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-04UV72HA.cjs +1 -1
- package/dist/chunks/skeleton-reveal-C1w5G0dG.js +1 -1
- package/dist/chunks/sparkline-CjKGcnI4.js +1 -1
- package/dist/chunks/sparkline-b6jIA0JR.cjs +1 -1
- package/dist/chunks/spring-Bu3AwUgu.js +1 -1
- package/dist/chunks/spring-DoapHVAk.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BEes6d7i.js +1 -1
- package/dist/chunks/suggestion-chips-a0-diVWW.cjs +1 -1
- package/dist/chunks/switch-BRHtlbGk.js +1 -1
- package/dist/chunks/switch-Cs6mszUY.cjs +1 -1
- package/dist/chunks/tab-bar-Bl0c_Z2L.js +1 -1
- package/dist/chunks/tab-bar-BvRhwu_Z.cjs +1 -1
- package/dist/chunks/{ticker-CrRtm74P.js → ticker-BfzQhvom.js} +2 -2
- package/dist/chunks/{ticker-DR53lOL5.cjs → ticker-DtWc0kyT.cjs} +2 -2
- package/dist/chunks/tip-BVeq5Vl_.js +1 -1
- package/dist/chunks/tip-C4ZmZX3u.cjs +1 -1
- package/dist/chunks/toast-stack-CMgOdocD.js +1 -1
- package/dist/chunks/toast-stack-DOE1cHRn.cjs +1 -1
- package/dist/chunks/{tween-CjkLm_rv.cjs → tween-CSQ2EFBm.cjs} +2 -2
- package/dist/chunks/{tween-ChOA_6__.js → tween-ltfzzNhy.js} +2 -2
- package/dist/chunks/upload-progress-Cxbh9qV2.js +1 -1
- package/dist/chunks/upload-progress-Dw3IXtf8.cjs +1 -1
- package/dist/chunks/v2-BRjQxrf_.js +1 -1
- package/dist/chunks/v2-Z2M3Ef0Y.cjs +1 -1
- package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
- package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
- package/dist/chunks/variants-D_Vmflhf.js +1 -1
- package/dist/chunks/variants-OGnKHKwT.cjs +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-CjB9Skfp.cjs +1 -1
- package/dist/chunks/voice-button-DsvWmYoO.js +1 -1
- package/dist/chunks/weather-card-DjTGZGrl.cjs +1 -1
- package/dist/chunks/weather-card-Dszcrytm.js +1 -1
- package/dist/chunks/worker-canvas-Cob4mssI.js +1 -1
- package/dist/chunks/worker-canvas-DgGkosGe.cjs +1 -1
- package/dist/chunks/xp-bar-BnKM8ws2.js +1 -1
- package/dist/chunks/xp-bar-CgH7Z424.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.d.cts +344 -0
- package/dist/components/angular.d.ts +344 -0
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-draw.cjs +83 -0
- package/dist/components/fx-draw.d.cts +47 -0
- package/dist/components/fx-draw.d.ts +47 -0
- package/dist/components/fx-draw.js +80 -0
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-hover.cjs +1 -1
- package/dist/components/fx-hover.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-matter.cjs +109 -0
- package/dist/components/fx-matter.d.cts +48 -0
- package/dist/components/fx-matter.d.ts +48 -0
- package/dist/components/fx-matter.js +106 -0
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +11 -1
- package/dist/components/fx2.d.cts +8 -1
- package/dist/components/fx2.d.ts +8 -1
- package/dist/components/fx2.js +8 -2
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +3 -3
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.d.cts +344 -0
- package/dist/components/jsx.d.ts +344 -0
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +2 -2
- package/dist/components/lite.js +2 -2
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/mo.cjs +2 -2
- package/dist/components/mo.d.cts +240 -0
- package/dist/components/mo.d.ts +240 -0
- package/dist/components/mo.js +2 -2
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +1 -1
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +1 -1
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +10 -2
- package/dist/components/plugins.d.cts +5 -1
- package/dist/components/plugins.d.ts +5 -1
- package/dist/components/plugins.js +9 -3
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +1 -1
- package/dist/components/scene-v3.cjs +1 -1
- package/dist/components/scene-v3.js +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.d.cts +240 -0
- package/dist/components/solid.d.ts +240 -0
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +1 -1
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +1 -1
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +1 -1
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +1 -1
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +1 -1
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +1 -1
- package/dist/components/studio-plugins.cjs +1 -1
- package/dist/components/studio-plugins.js +1 -1
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +1 -1
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.d.cts +344 -0
- package/dist/components/svelte.d.ts +344 -0
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.d.cts +344 -0
- package/dist/components/vue.d.ts +344 -0
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +57 -18
- package/dist/components/widgets.d.cts +336 -16
- package/dist/components/widgets.d.ts +336 -16
- package/dist/components/widgets.js +35 -21
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/check-orbit.cjs +18 -0
- package/dist/effects/check-orbit.d.cts +4 -0
- package/dist/effects/check-orbit.d.ts +4 -0
- package/dist/effects/check-orbit.js +14 -0
- package/dist/effects/chemical-bloom.cjs +18 -0
- package/dist/effects/chemical-bloom.d.cts +4 -0
- package/dist/effects/chemical-bloom.d.ts +4 -0
- package/dist/effects/chemical-bloom.js +14 -0
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/dust-vortex.cjs +18 -0
- package/dist/effects/dust-vortex.d.cts +4 -0
- package/dist/effects/dust-vortex.d.ts +4 -0
- package/dist/effects/dust-vortex.js +14 -0
- package/dist/effects/elastic-ripple.cjs +18 -0
- package/dist/effects/elastic-ripple.d.cts +4 -0
- package/dist/effects/elastic-ripple.d.ts +4 -0
- package/dist/effects/elastic-ripple.js +14 -0
- package/dist/effects/error-underline.cjs +18 -0
- package/dist/effects/error-underline.d.cts +4 -0
- package/dist/effects/error-underline.d.ts +4 -0
- package/dist/effects/error-underline.js +14 -0
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-brackets.cjs +18 -0
- package/dist/effects/focus-brackets.d.cts +4 -0
- package/dist/effects/focus-brackets.d.ts +4 -0
- package/dist/effects/focus-brackets.js +14 -0
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/focus-reveal.cjs +1 -1
- package/dist/effects/focus-reveal.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/googly-eyes.cjs +1 -1
- package/dist/effects/googly-eyes.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/grid-warp.cjs +1 -1
- package/dist/effects/grid-warp.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/image-swap.cjs +1 -1
- package/dist/effects/image-swap.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-level.cjs +18 -0
- package/dist/effects/liquid-level.d.cts +4 -0
- package/dist/effects/liquid-level.d.ts +4 -0
- package/dist/effects/liquid-level.js +14 -0
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/magnetic-align.cjs +18 -0
- package/dist/effects/magnetic-align.d.cts +4 -0
- package/dist/effects/magnetic-align.d.ts +4 -0
- package/dist/effects/magnetic-align.js +14 -0
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mercury-morph.cjs +18 -0
- package/dist/effects/mercury-morph.d.cts +4 -0
- package/dist/effects/mercury-morph.d.ts +4 -0
- package/dist/effects/mercury-morph.js +14 -0
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/submit-trail.cjs +18 -0
- package/dist/effects/submit-trail.d.cts +4 -0
- package/dist/effects/submit-trail.d.ts +4 -0
- package/dist/effects/submit-trail.js +14 -0
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-roll.cjs +1 -1
- package/dist/effects/text-roll.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +27 -2
- package/dist/manifest.json +1 -1
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/activity-wall.cjs +1 -1
- package/dist/widgets/activity-wall.js +1 -1
- package/dist/widgets/add-to-cart.cjs +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bezier-lab.cjs +26 -0
- package/dist/widgets/bezier-lab.d.cts +2 -0
- package/dist/widgets/bezier-lab.d.ts +2 -0
- package/dist/widgets/bezier-lab.js +24 -0
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/breadcrumbs.cjs +1 -1
- package/dist/widgets/breadcrumbs.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/coffee-timer.cjs +1 -1
- package/dist/widgets/coffee-timer.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/combobox.cjs +131 -0
- package/dist/widgets/combobox.d.cts +2 -0
- package/dist/widgets/combobox.d.ts +2 -0
- package/dist/widgets/combobox.js +129 -0
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/consent.cjs +51 -0
- package/dist/widgets/consent.d.cts +2 -0
- package/dist/widgets/consent.d.ts +2 -0
- package/dist/widgets/consent.js +49 -0
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cta-popup.cjs +85 -0
- package/dist/widgets/cta-popup.d.cts +2 -0
- package/dist/widgets/cta-popup.d.ts +2 -0
- package/dist/widgets/cta-popup.js +83 -0
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/delivery-tracker.cjs +1 -1
- package/dist/widgets/delivery-tracker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/download-menu.cjs +1 -1
- package/dist/widgets/download-menu.js +1 -1
- package/dist/widgets/elastic-mesh.cjs +25 -0
- package/dist/widgets/elastic-mesh.d.cts +2 -0
- package/dist/widgets/elastic-mesh.d.ts +2 -0
- package/dist/widgets/elastic-mesh.js +23 -0
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/file-tree.cjs +1 -1
- package/dist/widgets/file-tree.js +1 -1
- package/dist/widgets/flight-status.cjs +1 -1
- package/dist/widgets/flight-status.js +1 -1
- package/dist/widgets/fluid-type.cjs +25 -0
- package/dist/widgets/fluid-type.d.cts +2 -0
- package/dist/widgets/fluid-type.d.ts +2 -0
- package/dist/widgets/fluid-type.js +23 -0
- package/dist/widgets/form-stepper.cjs +167 -0
- package/dist/widgets/form-stepper.d.cts +2 -0
- package/dist/widgets/form-stepper.d.ts +2 -0
- package/dist/widgets/form-stepper.js +165 -0
- package/dist/widgets/fullscreen-menu.cjs +1 -1
- package/dist/widgets/fullscreen-menu.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/glucose-sparkline.cjs +1 -1
- package/dist/widgets/glucose-sparkline.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gravity-well.cjs +25 -0
- package/dist/widgets/gravity-well.d.cts +2 -0
- package/dist/widgets/gravity-well.d.ts +2 -0
- package/dist/widgets/gravity-well.js +23 -0
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/halo-segmented.cjs +1 -1
- package/dist/widgets/halo-segmented.js +1 -1
- package/dist/widgets/halo-slider.cjs +1 -1
- package/dist/widgets/halo-slider.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hold-action.cjs +118 -0
- package/dist/widgets/hold-action.d.cts +2 -0
- package/dist/widgets/hold-action.d.ts +2 -0
- package/dist/widgets/hold-action.js +116 -0
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/ink-flow.cjs +25 -0
- package/dist/widgets/ink-flow.d.cts +2 -0
- package/dist/widgets/ink-flow.d.ts +2 -0
- package/dist/widgets/ink-flow.js +23 -0
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-metal.cjs +25 -0
- package/dist/widgets/liquid-metal.d.cts +2 -0
- package/dist/widgets/liquid-metal.d.ts +2 -0
- package/dist/widgets/liquid-metal.js +23 -0
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/luminous-switch.cjs +1 -1
- package/dist/widgets/luminous-switch.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/magnetic-field.cjs +25 -0
- package/dist/widgets/magnetic-field.d.cts +2 -0
- package/dist/widgets/magnetic-field.d.ts +2 -0
- package/dist/widgets/magnetic-field.js +23 -0
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/mega-menu.cjs +1 -1
- package/dist/widgets/mega-menu.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/meter-countdown.cjs +1 -1
- package/dist/widgets/meter-countdown.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/multi-select.cjs +63 -0
- package/dist/widgets/multi-select.d.cts +2 -0
- package/dist/widgets/multi-select.d.ts +2 -0
- package/dist/widgets/multi-select.js +61 -0
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-flyout.cjs +1 -1
- package/dist/widgets/nav-flyout.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/number-stepper.cjs +54 -0
- package/dist/widgets/number-stepper.d.cts +2 -0
- package/dist/widgets/number-stepper.d.ts +2 -0
- package/dist/widgets/number-stepper.js +52 -0
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/orbit-pass.cjs +1 -1
- package/dist/widgets/orbit-pass.js +1 -1
- package/dist/widgets/orbit-progress.cjs +1 -1
- package/dist/widgets/orbit-progress.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/particle-button.cjs +1 -1
- package/dist/widgets/particle-button.js +1 -1
- package/dist/widgets/particle-icon.cjs +1 -1
- package/dist/widgets/particle-icon.js +1 -1
- package/dist/widgets/password.cjs +58 -0
- package/dist/widgets/password.d.cts +2 -0
- package/dist/widgets/password.d.ts +2 -0
- package/dist/widgets/password.js +56 -0
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/race-telemetry.cjs +1 -1
- package/dist/widgets/race-telemetry.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/range-slider.cjs +61 -0
- package/dist/widgets/range-slider.d.cts +2 -0
- package/dist/widgets/range-slider.d.ts +2 -0
- package/dist/widgets/range-slider.js +59 -0
- package/dist/widgets/reaction-field.cjs +25 -0
- package/dist/widgets/reaction-field.d.cts +2 -0
- package/dist/widgets/reaction-field.d.ts +2 -0
- package/dist/widgets/reaction-field.js +23 -0
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/revision-reveal.cjs +26 -0
- package/dist/widgets/revision-reveal.d.cts +2 -0
- package/dist/widgets/revision-reveal.d.ts +2 -0
- package/dist/widgets/revision-reveal.js +24 -0
- package/dist/widgets/ride-status.cjs +1 -1
- package/dist/widgets/ride-status.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-sparkline.cjs +1 -1
- package/dist/widgets/route-sparkline.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/scrub-number.cjs +125 -0
- package/dist/widgets/scrub-number.d.cts +2 -0
- package/dist/widgets/scrub-number.d.ts +2 -0
- package/dist/widgets/scrub-number.js +123 -0
- package/dist/widgets/search-field.cjs +136 -0
- package/dist/widgets/search-field.d.cts +2 -0
- package/dist/widgets/search-field.d.ts +2 -0
- package/dist/widgets/search-field.js +134 -0
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/select.cjs +65 -0
- package/dist/widgets/select.d.cts +2 -0
- package/dist/widgets/select.d.ts +2 -0
- package/dist/widgets/select.js +63 -0
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/spring-lab.cjs +26 -0
- package/dist/widgets/spring-lab.d.cts +2 -0
- package/dist/widgets/spring-lab.d.ts +2 -0
- package/dist/widgets/spring-lab.js +24 -0
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/status-pill.cjs +1 -1
- package/dist/widgets/status-pill.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/sun-timeline.cjs +1 -1
- package/dist/widgets/sun-timeline.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-loupe.cjs +26 -0
- package/dist/widgets/text-loupe.d.cts +2 -0
- package/dist/widgets/text-loupe.d.ts +2 -0
- package/dist/widgets/text-loupe.js +24 -0
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/textarea.cjs +79 -0
- package/dist/widgets/textarea.d.cts +2 -0
- package/dist/widgets/textarea.d.ts +2 -0
- package/dist/widgets/textarea.js +77 -0
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/title-sequence.cjs +1 -1
- package/dist/widgets/title-sequence.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/transit-progress.cjs +1 -1
- package/dist/widgets/transit-progress.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/validation-summary.cjs +66 -0
- package/dist/widgets/validation-summary.d.cts +2 -0
- package/dist/widgets/validation-summary.d.ts +2 -0
- package/dist/widgets/validation-summary.js +64 -0
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/vital-wave.cjs +1 -1
- package/dist/widgets/vital-wave.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/workout-player.cjs +1 -1
- package/dist/widgets/workout-player.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/components/README.md +32 -7
- package/docs/components/usa-bezier-lab.md +36 -0
- package/docs/components/usa-combobox.md +36 -0
- package/docs/components/usa-consent.md +36 -0
- package/docs/components/usa-cta-popup.md +36 -0
- package/docs/components/usa-elastic-mesh.md +36 -0
- package/docs/components/usa-fluid-type.md +36 -0
- package/docs/components/usa-form-stepper.md +36 -0
- package/docs/components/usa-fx.md +80 -0
- package/docs/components/usa-gravity-well.md +36 -0
- package/docs/components/usa-hold-action.md +36 -0
- package/docs/components/usa-ink-flow.md +36 -0
- package/docs/components/usa-liquid-metal.md +36 -0
- package/docs/components/usa-magnetic-field.md +36 -0
- package/docs/components/usa-multi-select.md +36 -0
- package/docs/components/usa-number-stepper.md +36 -0
- package/docs/components/usa-password.md +36 -0
- package/docs/components/usa-range-slider.md +36 -0
- package/docs/components/usa-reaction-field.md +36 -0
- package/docs/components/usa-revision-reveal.md +36 -0
- package/docs/components/usa-scrub-number.md +36 -0
- package/docs/components/usa-search-field.md +36 -0
- package/docs/components/usa-select.md +36 -0
- package/docs/components/usa-spring-lab.md +36 -0
- package/docs/components/usa-text-loupe.md +36 -0
- package/docs/components/usa-textarea.md +36 -0
- package/docs/components/usa-validation-summary.md +36 -0
- package/docs/components.md +5 -5
- package/docs/coverage-roadmap.md +48 -0
- package/docs/entry-points.md +37 -2
- package/docs/form-atelier.md +120 -0
- package/docs/matter-motion.md +68 -0
- package/docs/versions.md +1 -1
- package/figma-plugin/code.js +1 -1
- package/package.json +392 -2
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('./base-DzZEJhQB.cjs');
|
|
4
|
+
var engine = require('./engine-D89D-YmJ.cjs');
|
|
5
|
+
|
|
6
|
+
function setMatterData(el, data) {
|
|
7
|
+
const allowed = el.constructor.observedAttributes;
|
|
8
|
+
for (const [key, value] of Object.entries(data))
|
|
9
|
+
if (allowed.includes(key)) {
|
|
10
|
+
if (value === false || value === null)
|
|
11
|
+
el.removeAttribute(key);
|
|
12
|
+
else
|
|
13
|
+
el.setAttribute(key, value === true ? '' : String(value));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const matterOptions = (el) => ({
|
|
17
|
+
seed: el.num('seed', 1), count: el.num('count', 900), color: el.str('color', '#e7e8df'), accent: el.str('accent', '#74aaff'),
|
|
18
|
+
text: el.str('text', 'flow'), fill: el.num('fill', .5), feed: el.num('feed', .037), kill: el.num('kill', .06),
|
|
19
|
+
strength: el.num('strength', 1), mode: el.str('mode', 'dots'), shape: el.str('shape', 'square'),
|
|
20
|
+
});
|
|
21
|
+
/** One owned canvas, no cloned content. All observers, captures and frame callbacks are released. */
|
|
22
|
+
function matterClass(Base, kind) {
|
|
23
|
+
return class Matter extends Base {
|
|
24
|
+
notify(type, detail) { this.emit(type, detail); }
|
|
25
|
+
play() { if (!this.flag('disabled')) {
|
|
26
|
+
this.setFlag('animated', true);
|
|
27
|
+
this.setFlag('paused', false);
|
|
28
|
+
} }
|
|
29
|
+
pause() { this.setFlag('paused', true); }
|
|
30
|
+
reset() { this._reset?.(); }
|
|
31
|
+
activate() { this._engage?.(true); }
|
|
32
|
+
deactivate() { this._engage?.(false); }
|
|
33
|
+
update(data) { setMatterData(this, data); }
|
|
34
|
+
changed(name) { this._sync?.(!['label', 'disabled', 'animated', 'paused'].includes(name)); }
|
|
35
|
+
mount() {
|
|
36
|
+
this.classList.add('usa-matter');
|
|
37
|
+
this.dataset.matter = kind;
|
|
38
|
+
this.setAttribute('role', 'group');
|
|
39
|
+
const shell = document.createElement('div');
|
|
40
|
+
shell.className = 'usa-matter-shell';
|
|
41
|
+
const canvas = document.createElement('canvas');
|
|
42
|
+
canvas.className = 'usa-matter-canvas';
|
|
43
|
+
canvas.setAttribute('role', 'img');
|
|
44
|
+
const bar = document.createElement('div');
|
|
45
|
+
bar.className = 'usa-matter-bar';
|
|
46
|
+
const hint = document.createElement('span');
|
|
47
|
+
hint.textContent = 'Drag to explore · arrows move · Space holds';
|
|
48
|
+
const engage = document.createElement('button');
|
|
49
|
+
engage.type = 'button';
|
|
50
|
+
engage.textContent = 'Interact';
|
|
51
|
+
const reset = document.createElement('button');
|
|
52
|
+
reset.type = 'button';
|
|
53
|
+
reset.textContent = 'Reset';
|
|
54
|
+
bar.append(hint, engage, reset);
|
|
55
|
+
shell.append(canvas, bar);
|
|
56
|
+
this.prepend(shell);
|
|
57
|
+
let ctx = null;
|
|
58
|
+
try {
|
|
59
|
+
ctx = canvas.getContext('2d');
|
|
60
|
+
}
|
|
61
|
+
catch { /* an accessible fallback remains usable */ }
|
|
62
|
+
let engine$1 = engine.createMatterEngine(kind, matterOptions(this)), id = 0, last = 0, time = 0, until = 0;
|
|
63
|
+
let visible = typeof IntersectionObserver === 'undefined', engaged = false, pointer;
|
|
64
|
+
const point = { x: .5, y: .5, active: false, pressed: false };
|
|
65
|
+
const calm = () => this.reduced || base.getMotionSensitivity() !== 'full';
|
|
66
|
+
const stop = () => { if (id)
|
|
67
|
+
base.caf(id); id = 0; last = 0; };
|
|
68
|
+
const release = () => {
|
|
69
|
+
const held = pointer;
|
|
70
|
+
pointer = undefined;
|
|
71
|
+
point.pressed = false;
|
|
72
|
+
if (held !== undefined) {
|
|
73
|
+
try {
|
|
74
|
+
if (canvas.hasPointerCapture?.(held))
|
|
75
|
+
canvas.releasePointerCapture(held);
|
|
76
|
+
}
|
|
77
|
+
catch { /* already cancelled */ }
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const paint = (dt = 0) => {
|
|
81
|
+
if (!ctx)
|
|
82
|
+
return;
|
|
83
|
+
const box = canvas.getBoundingClientRect(), width = Math.max(1, box.width || 560), height = Math.max(1, box.height || 340);
|
|
84
|
+
const dpr = engine.finite(typeof devicePixelRatio === 'number' ? devicePixelRatio : 1, 1, 1, 2);
|
|
85
|
+
const pw = Math.round(width * dpr), ph = Math.round(height * dpr);
|
|
86
|
+
if (canvas.width !== pw || canvas.height !== ph) {
|
|
87
|
+
canvas.width = pw;
|
|
88
|
+
canvas.height = ph;
|
|
89
|
+
}
|
|
90
|
+
point.instant = calm();
|
|
91
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
92
|
+
engine$1.draw(ctx, width, height, time, dt, point);
|
|
93
|
+
};
|
|
94
|
+
const active = () => visible && !document.hidden && !this.flag('disabled') && !this.flag('paused') && !calm() && (this.flag('animated') || performance.now() < until);
|
|
95
|
+
const frame = (now) => {
|
|
96
|
+
id = 0;
|
|
97
|
+
if (!active()) {
|
|
98
|
+
stop();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const dt = last ? Math.min(.04, Math.max(0, (now - last) / 1000)) : 0;
|
|
102
|
+
last = now;
|
|
103
|
+
time += dt;
|
|
104
|
+
paint(dt);
|
|
105
|
+
id = base.raf(frame, this);
|
|
106
|
+
};
|
|
107
|
+
const wake = () => { if (active() && !id)
|
|
108
|
+
id = base.raf(frame, this);
|
|
109
|
+
else if (!active())
|
|
110
|
+
stop(); };
|
|
111
|
+
const sync = (rebuild = false) => {
|
|
112
|
+
if (rebuild)
|
|
113
|
+
engine$1 = engine.createMatterEngine(kind, matterOptions(this));
|
|
114
|
+
const disabled = this.flag('disabled'), label = this.str('label', kind.replace(/-/g, ' '));
|
|
115
|
+
this.setAttribute('aria-label', label);
|
|
116
|
+
canvas.setAttribute('aria-label', `${label}. Arrow keys move, Space holds, Enter resets, Escape exits.`);
|
|
117
|
+
canvas.tabIndex = disabled ? -1 : 0;
|
|
118
|
+
canvas.setAttribute('aria-disabled', String(disabled));
|
|
119
|
+
reset.disabled = engage.disabled = disabled;
|
|
120
|
+
this.toggleAttribute('data-matter-calm', calm());
|
|
121
|
+
if (disabled || document.hidden || !visible || this.flag('paused')) {
|
|
122
|
+
release();
|
|
123
|
+
until = 0;
|
|
124
|
+
}
|
|
125
|
+
if (!ctx)
|
|
126
|
+
hint.textContent = 'Canvas 2D is unavailable in this browser';
|
|
127
|
+
paint();
|
|
128
|
+
wake();
|
|
129
|
+
};
|
|
130
|
+
this._sync = sync;
|
|
131
|
+
this._engage = on => {
|
|
132
|
+
if (this.flag('disabled'))
|
|
133
|
+
return;
|
|
134
|
+
engaged = on;
|
|
135
|
+
shell.toggleAttribute('data-engaged', on);
|
|
136
|
+
engage.textContent = on ? 'Done' : 'Interact';
|
|
137
|
+
engage.setAttribute('aria-pressed', String(on));
|
|
138
|
+
if (on)
|
|
139
|
+
canvas.focus();
|
|
140
|
+
else {
|
|
141
|
+
release();
|
|
142
|
+
point.active = false;
|
|
143
|
+
engage.focus();
|
|
144
|
+
}
|
|
145
|
+
this.notify('action', { action: on ? 'activate' : 'deactivate' });
|
|
146
|
+
sync();
|
|
147
|
+
};
|
|
148
|
+
this._reset = () => { release(); point.x = point.y = .5; point.active = false; time = 0; until = 0; engine$1 = engine.createMatterEngine(kind, matterOptions(this)); paint(); this.notify('action', { action: 'reset' }); };
|
|
149
|
+
const move = (event) => {
|
|
150
|
+
const r = canvas.getBoundingClientRect();
|
|
151
|
+
point.x = engine.finite((event.clientX - r.left) / Math.max(1, r.width), .5, 0, 1);
|
|
152
|
+
point.y = engine.finite((event.clientY - r.top) / Math.max(1, r.height), .5, 0, 1);
|
|
153
|
+
point.active = true;
|
|
154
|
+
until = performance.now() + 1600;
|
|
155
|
+
paint();
|
|
156
|
+
wake();
|
|
157
|
+
};
|
|
158
|
+
this.listen(canvas, 'pointerdown', (e) => {
|
|
159
|
+
if (pointer !== undefined || this.flag('disabled') || e.button !== 0 || (e.pointerType === 'touch' && !engaged))
|
|
160
|
+
return;
|
|
161
|
+
pointer = e.pointerId;
|
|
162
|
+
move(e);
|
|
163
|
+
point.pressed = true;
|
|
164
|
+
try {
|
|
165
|
+
canvas.setPointerCapture(e.pointerId);
|
|
166
|
+
}
|
|
167
|
+
catch { /* synthetic input */ }
|
|
168
|
+
canvas.focus();
|
|
169
|
+
this.notify('action', { action: 'press', x: point.x, y: point.y });
|
|
170
|
+
paint();
|
|
171
|
+
});
|
|
172
|
+
this.listen(canvas, 'pointermove', (e) => { if (!this.flag('disabled') && (pointer === undefined || pointer === e.pointerId) && (e.pointerType !== 'touch' || engaged))
|
|
173
|
+
move(e); });
|
|
174
|
+
const end = (event) => { if (pointer === undefined || event.pointerId !== pointer)
|
|
175
|
+
return; release(); until = performance.now() + 1200; this.notify('change', { x: point.x, y: point.y, pressed: false }); paint(); wake(); };
|
|
176
|
+
for (const type of ['pointerup', 'pointercancel', 'lostpointercapture'])
|
|
177
|
+
this.listen(canvas, type, end);
|
|
178
|
+
this.listen(canvas, 'pointerleave', () => { if (!point.pressed) {
|
|
179
|
+
point.active = false;
|
|
180
|
+
until = performance.now() + 1000;
|
|
181
|
+
paint();
|
|
182
|
+
wake();
|
|
183
|
+
} });
|
|
184
|
+
this.listen(canvas, 'keydown', (e) => {
|
|
185
|
+
if (this.flag('disabled') || !['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', ' ', 'Enter', 'Escape', '0'].includes(e.key))
|
|
186
|
+
return;
|
|
187
|
+
e.preventDefault();
|
|
188
|
+
if (e.repeat && e.key === ' ')
|
|
189
|
+
return;
|
|
190
|
+
if (e.key === 'Escape') {
|
|
191
|
+
this.deactivate();
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
if (e.key === 'Enter' || e.key === '0') {
|
|
195
|
+
this.reset();
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
point.active = true;
|
|
199
|
+
if (e.key === ' ')
|
|
200
|
+
point.pressed = !point.pressed;
|
|
201
|
+
if (e.key === 'ArrowLeft')
|
|
202
|
+
point.x = Math.max(0, point.x - .05);
|
|
203
|
+
if (e.key === 'ArrowRight')
|
|
204
|
+
point.x = Math.min(1, point.x + .05);
|
|
205
|
+
if (e.key === 'ArrowUp')
|
|
206
|
+
point.y = Math.max(0, point.y - .05);
|
|
207
|
+
if (e.key === 'ArrowDown')
|
|
208
|
+
point.y = Math.min(1, point.y + .05);
|
|
209
|
+
until = performance.now() + 1600;
|
|
210
|
+
paint();
|
|
211
|
+
wake();
|
|
212
|
+
this.notify('change', { x: point.x, y: point.y, pressed: point.pressed });
|
|
213
|
+
});
|
|
214
|
+
this.listen(canvas, 'blur', () => { release(); point.active = false; });
|
|
215
|
+
this.listen(engage, 'click', () => engaged ? this.deactivate() : this.activate());
|
|
216
|
+
this.listen(reset, 'click', () => this.reset());
|
|
217
|
+
this.listen(document, 'visibilitychange', () => { if (document.hidden) {
|
|
218
|
+
release();
|
|
219
|
+
point.active = false;
|
|
220
|
+
until = 0;
|
|
221
|
+
} sync(); });
|
|
222
|
+
if (typeof matchMedia === 'function')
|
|
223
|
+
this.listen(matchMedia('(prefers-reduced-motion: reduce)'), 'change', () => sync());
|
|
224
|
+
const sensitivity = new MutationObserver(() => sync());
|
|
225
|
+
sensitivity.observe(document.documentElement, { attributes: true, attributeFilter: ['data-usa-sensitivity', 'data-usa-motion'] });
|
|
226
|
+
this.onCleanup(() => sensitivity.disconnect());
|
|
227
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
228
|
+
const ro = new ResizeObserver(() => paint());
|
|
229
|
+
ro.observe(canvas);
|
|
230
|
+
this.onCleanup(() => ro.disconnect());
|
|
231
|
+
}
|
|
232
|
+
this.inView(v => { visible = v; sync(); });
|
|
233
|
+
this.onCleanup(() => { stop(); release(); this._sync = this._reset = this._engage = undefined; shell.remove(); });
|
|
234
|
+
sync();
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
var css = ".usa-matter{display:block;min-width:0;color:var(--usa-matter-fg,#e7e8df);font-family:system-ui,sans-serif;--usa-matter-accent:#74aaff}.usa-matter-shell,.usa-matter-tool{position:relative;overflow:hidden;border:1px solid #ffffff12;border-radius:18px;background:var(--usa-matter-bg,#10131a)}.usa-matter-canvas{display:block;width:100%;height:auto;aspect-ratio:28/17;touch-action:pan-y;outline-offset:-4px}.usa-matter-shell[data-engaged] .usa-matter-canvas{touch-action:none;cursor:crosshair}.usa-matter-bar{display:flex;align-items:center;gap:8px;padding:12px 15px;border-top:1px solid #ffffff0d;font:10px ui-monospace,monospace;color:#8b94a5;flex-wrap:wrap}.usa-matter-bar>span{flex:1;min-width:120px}.usa-matter button,.usa-matter input{font:inherit;color:inherit}.usa-matter button{border:1px solid #ffffff20;background:#ffffff08;border-radius:8px;padding:7px 11px;cursor:pointer;font-size:11px;touch-action:manipulation;user-select:none;-webkit-touch-callout:none}.usa-matter button:hover{background:#ffffff12}.usa-matter button:disabled,.usa-matter input:disabled{opacity:.4;cursor:default}.usa-matter :focus-visible{outline:2px solid var(--usa-matter-accent);outline-offset:3px}.usa-matter-canvas:focus-visible{outline-offset:-4px}.usa-matter-tool{padding:22px}.usa-matter-params{display:grid;gap:12px}.usa-matter-param{display:grid;grid-template-columns:78px 1fr 54px;gap:10px;align-items:center;font:11px ui-monospace,monospace;color:#a5acbc}.usa-matter-param input{width:100%;min-width:0;accent-color:var(--usa-matter-accent)}.usa-matter-param output{text-align:right;color:var(--usa-matter-accent);font-variant-numeric:tabular-nums}.usa-matter-plot{display:block;width:100%;height:auto;aspect-ratio:17/9;margin:20px 0 10px;overflow:visible}.usa-matter-code{white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0;color:#a1b9e1;font:11px/1.7 ui-monospace,monospace}.usa-matter-preview{position:relative;height:66px;overflow:hidden;border:1px solid #ffffff12;border-radius:10px;margin-top:12px;background:#080b10}.usa-matter-mass{position:absolute;left:10%;top:18px;width:30px;height:30px;border-radius:7px;background:var(--usa-matter-accent);box-shadow:0 0 28px #74aaff25}.usa-matter-tool[data-lab=bezier] .usa-matter-mass{left:calc(50% - 45px);top:9px;width:90px;height:60px;border-radius:12px 12px 0 0;background:linear-gradient(#d5dce8,#748198)}.usa-matter-text{position:relative;padding:25px;min-height:220px;font:15px/1.85 ui-monospace,monospace;overflow:hidden;touch-action:pan-y;white-space:pre-wrap;overflow-wrap:anywhere}.usa-matter-text p{margin:0}.usa-matter-lens{position:absolute;inset:0;pointer-events:none;clip-path:circle(65px at var(--mx,50%) var(--my,50%));background:#17202f;color:#e9f2ff;transition:opacity .15s;opacity:0;padding:25px}.usa-matter-lens p{transform:scale(1.8);transform-origin:var(--mx,50%) var(--my,50%)}.usa-matter-text[data-active] .usa-matter-lens{opacity:1}.usa-matter-draft{color:#6e7686}.usa-matter-final{position:absolute;inset:25px;color:#e8edf7;clip-path:inset(0 var(--cut,50%) 0 0)}.usa-matter-sr{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.usa-hold{position:relative;width:100%;min-height:60px!important;overflow:hidden;isolation:isolate;font-size:14px!important}.usa-hold::before{content:\"\";position:absolute;inset:0;background:var(--usa-matter-accent);opacity:.2;transform:scaleX(var(--hold,0));transform-origin:left;z-index:-1}.usa-hold[data-confirmed]{color:#b8efd4!important;border-color:#7ddbb15c!important}.usa-hold-status{min-height:18px;margin-top:12px;font:11px ui-monospace,monospace;color:#8b94a5}.usa-scrub{display:flex;align-items:center;gap:12px}.usa-scrub input{width:100%;min-width:60px;border:0;border-bottom:1px solid #ffffff26;background:transparent;font-size:32px;font-variant-numeric:tabular-nums;padding:10px;outline-offset:1px}.usa-scrub button{cursor:ew-resize;touch-action:pan-y;min-width:44px;min-height:44px}.usa-matter-unit{color:#8996ac;font-size:12px}[data-usa-sensitivity=minimal] .usa-matter *,[data-usa-sensitivity=static] .usa-matter *,.usa-matter[data-matter-calm] *{transition:none!important}@media(prefers-reduced-motion:reduce){.usa-matter *{transition:none!important;animation:none!important}}@media(max-width:480px){.usa-matter-tool{padding:16px}.usa-matter-param{grid-template-columns:68px 1fr 42px;font-size:10px}.usa-matter-text{padding:18px;font-size:12px}.usa-matter-lens{padding:18px}.usa-matter-final{inset:18px}}";
|
|
240
|
+
|
|
241
|
+
exports.css = css;
|
|
242
|
+
exports.matterClass = matterClass;
|
|
243
|
+
exports.setMatterData = setMatterData;
|
|
244
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/chunks/matter-CeAHN-RP.cjs.map
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { r as raf, g as getMotionSensitivity, b as caf } from './base-SPDwWyB1.js';
|
|
2
|
+
import { c as createMatterEngine, f as finite } from './engine-CUOpaIK4.js';
|
|
3
|
+
|
|
4
|
+
function setMatterData(el, data) {
|
|
5
|
+
const allowed = el.constructor.observedAttributes;
|
|
6
|
+
for (const [key, value] of Object.entries(data))
|
|
7
|
+
if (allowed.includes(key)) {
|
|
8
|
+
if (value === false || value === null)
|
|
9
|
+
el.removeAttribute(key);
|
|
10
|
+
else
|
|
11
|
+
el.setAttribute(key, value === true ? '' : String(value));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
const matterOptions = (el) => ({
|
|
15
|
+
seed: el.num('seed', 1), count: el.num('count', 900), color: el.str('color', '#e7e8df'), accent: el.str('accent', '#74aaff'),
|
|
16
|
+
text: el.str('text', 'flow'), fill: el.num('fill', .5), feed: el.num('feed', .037), kill: el.num('kill', .06),
|
|
17
|
+
strength: el.num('strength', 1), mode: el.str('mode', 'dots'), shape: el.str('shape', 'square'),
|
|
18
|
+
});
|
|
19
|
+
/** One owned canvas, no cloned content. All observers, captures and frame callbacks are released. */
|
|
20
|
+
function matterClass(Base, kind) {
|
|
21
|
+
return class Matter extends Base {
|
|
22
|
+
notify(type, detail) { this.emit(type, detail); }
|
|
23
|
+
play() { if (!this.flag('disabled')) {
|
|
24
|
+
this.setFlag('animated', true);
|
|
25
|
+
this.setFlag('paused', false);
|
|
26
|
+
} }
|
|
27
|
+
pause() { this.setFlag('paused', true); }
|
|
28
|
+
reset() { this._reset?.(); }
|
|
29
|
+
activate() { this._engage?.(true); }
|
|
30
|
+
deactivate() { this._engage?.(false); }
|
|
31
|
+
update(data) { setMatterData(this, data); }
|
|
32
|
+
changed(name) { this._sync?.(!['label', 'disabled', 'animated', 'paused'].includes(name)); }
|
|
33
|
+
mount() {
|
|
34
|
+
this.classList.add('usa-matter');
|
|
35
|
+
this.dataset.matter = kind;
|
|
36
|
+
this.setAttribute('role', 'group');
|
|
37
|
+
const shell = document.createElement('div');
|
|
38
|
+
shell.className = 'usa-matter-shell';
|
|
39
|
+
const canvas = document.createElement('canvas');
|
|
40
|
+
canvas.className = 'usa-matter-canvas';
|
|
41
|
+
canvas.setAttribute('role', 'img');
|
|
42
|
+
const bar = document.createElement('div');
|
|
43
|
+
bar.className = 'usa-matter-bar';
|
|
44
|
+
const hint = document.createElement('span');
|
|
45
|
+
hint.textContent = 'Drag to explore · arrows move · Space holds';
|
|
46
|
+
const engage = document.createElement('button');
|
|
47
|
+
engage.type = 'button';
|
|
48
|
+
engage.textContent = 'Interact';
|
|
49
|
+
const reset = document.createElement('button');
|
|
50
|
+
reset.type = 'button';
|
|
51
|
+
reset.textContent = 'Reset';
|
|
52
|
+
bar.append(hint, engage, reset);
|
|
53
|
+
shell.append(canvas, bar);
|
|
54
|
+
this.prepend(shell);
|
|
55
|
+
let ctx = null;
|
|
56
|
+
try {
|
|
57
|
+
ctx = canvas.getContext('2d');
|
|
58
|
+
}
|
|
59
|
+
catch { /* an accessible fallback remains usable */ }
|
|
60
|
+
let engine = createMatterEngine(kind, matterOptions(this)), id = 0, last = 0, time = 0, until = 0;
|
|
61
|
+
let visible = typeof IntersectionObserver === 'undefined', engaged = false, pointer;
|
|
62
|
+
const point = { x: .5, y: .5, active: false, pressed: false };
|
|
63
|
+
const calm = () => this.reduced || getMotionSensitivity() !== 'full';
|
|
64
|
+
const stop = () => { if (id)
|
|
65
|
+
caf(id); id = 0; last = 0; };
|
|
66
|
+
const release = () => {
|
|
67
|
+
const held = pointer;
|
|
68
|
+
pointer = undefined;
|
|
69
|
+
point.pressed = false;
|
|
70
|
+
if (held !== undefined) {
|
|
71
|
+
try {
|
|
72
|
+
if (canvas.hasPointerCapture?.(held))
|
|
73
|
+
canvas.releasePointerCapture(held);
|
|
74
|
+
}
|
|
75
|
+
catch { /* already cancelled */ }
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const paint = (dt = 0) => {
|
|
79
|
+
if (!ctx)
|
|
80
|
+
return;
|
|
81
|
+
const box = canvas.getBoundingClientRect(), width = Math.max(1, box.width || 560), height = Math.max(1, box.height || 340);
|
|
82
|
+
const dpr = finite(typeof devicePixelRatio === 'number' ? devicePixelRatio : 1, 1, 1, 2);
|
|
83
|
+
const pw = Math.round(width * dpr), ph = Math.round(height * dpr);
|
|
84
|
+
if (canvas.width !== pw || canvas.height !== ph) {
|
|
85
|
+
canvas.width = pw;
|
|
86
|
+
canvas.height = ph;
|
|
87
|
+
}
|
|
88
|
+
point.instant = calm();
|
|
89
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
90
|
+
engine.draw(ctx, width, height, time, dt, point);
|
|
91
|
+
};
|
|
92
|
+
const active = () => visible && !document.hidden && !this.flag('disabled') && !this.flag('paused') && !calm() && (this.flag('animated') || performance.now() < until);
|
|
93
|
+
const frame = (now) => {
|
|
94
|
+
id = 0;
|
|
95
|
+
if (!active()) {
|
|
96
|
+
stop();
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const dt = last ? Math.min(.04, Math.max(0, (now - last) / 1000)) : 0;
|
|
100
|
+
last = now;
|
|
101
|
+
time += dt;
|
|
102
|
+
paint(dt);
|
|
103
|
+
id = raf(frame, this);
|
|
104
|
+
};
|
|
105
|
+
const wake = () => { if (active() && !id)
|
|
106
|
+
id = raf(frame, this);
|
|
107
|
+
else if (!active())
|
|
108
|
+
stop(); };
|
|
109
|
+
const sync = (rebuild = false) => {
|
|
110
|
+
if (rebuild)
|
|
111
|
+
engine = createMatterEngine(kind, matterOptions(this));
|
|
112
|
+
const disabled = this.flag('disabled'), label = this.str('label', kind.replace(/-/g, ' '));
|
|
113
|
+
this.setAttribute('aria-label', label);
|
|
114
|
+
canvas.setAttribute('aria-label', `${label}. Arrow keys move, Space holds, Enter resets, Escape exits.`);
|
|
115
|
+
canvas.tabIndex = disabled ? -1 : 0;
|
|
116
|
+
canvas.setAttribute('aria-disabled', String(disabled));
|
|
117
|
+
reset.disabled = engage.disabled = disabled;
|
|
118
|
+
this.toggleAttribute('data-matter-calm', calm());
|
|
119
|
+
if (disabled || document.hidden || !visible || this.flag('paused')) {
|
|
120
|
+
release();
|
|
121
|
+
until = 0;
|
|
122
|
+
}
|
|
123
|
+
if (!ctx)
|
|
124
|
+
hint.textContent = 'Canvas 2D is unavailable in this browser';
|
|
125
|
+
paint();
|
|
126
|
+
wake();
|
|
127
|
+
};
|
|
128
|
+
this._sync = sync;
|
|
129
|
+
this._engage = on => {
|
|
130
|
+
if (this.flag('disabled'))
|
|
131
|
+
return;
|
|
132
|
+
engaged = on;
|
|
133
|
+
shell.toggleAttribute('data-engaged', on);
|
|
134
|
+
engage.textContent = on ? 'Done' : 'Interact';
|
|
135
|
+
engage.setAttribute('aria-pressed', String(on));
|
|
136
|
+
if (on)
|
|
137
|
+
canvas.focus();
|
|
138
|
+
else {
|
|
139
|
+
release();
|
|
140
|
+
point.active = false;
|
|
141
|
+
engage.focus();
|
|
142
|
+
}
|
|
143
|
+
this.notify('action', { action: on ? 'activate' : 'deactivate' });
|
|
144
|
+
sync();
|
|
145
|
+
};
|
|
146
|
+
this._reset = () => { release(); point.x = point.y = .5; point.active = false; time = 0; until = 0; engine = createMatterEngine(kind, matterOptions(this)); paint(); this.notify('action', { action: 'reset' }); };
|
|
147
|
+
const move = (event) => {
|
|
148
|
+
const r = canvas.getBoundingClientRect();
|
|
149
|
+
point.x = finite((event.clientX - r.left) / Math.max(1, r.width), .5, 0, 1);
|
|
150
|
+
point.y = finite((event.clientY - r.top) / Math.max(1, r.height), .5, 0, 1);
|
|
151
|
+
point.active = true;
|
|
152
|
+
until = performance.now() + 1600;
|
|
153
|
+
paint();
|
|
154
|
+
wake();
|
|
155
|
+
};
|
|
156
|
+
this.listen(canvas, 'pointerdown', (e) => {
|
|
157
|
+
if (pointer !== undefined || this.flag('disabled') || e.button !== 0 || (e.pointerType === 'touch' && !engaged))
|
|
158
|
+
return;
|
|
159
|
+
pointer = e.pointerId;
|
|
160
|
+
move(e);
|
|
161
|
+
point.pressed = true;
|
|
162
|
+
try {
|
|
163
|
+
canvas.setPointerCapture(e.pointerId);
|
|
164
|
+
}
|
|
165
|
+
catch { /* synthetic input */ }
|
|
166
|
+
canvas.focus();
|
|
167
|
+
this.notify('action', { action: 'press', x: point.x, y: point.y });
|
|
168
|
+
paint();
|
|
169
|
+
});
|
|
170
|
+
this.listen(canvas, 'pointermove', (e) => { if (!this.flag('disabled') && (pointer === undefined || pointer === e.pointerId) && (e.pointerType !== 'touch' || engaged))
|
|
171
|
+
move(e); });
|
|
172
|
+
const end = (event) => { if (pointer === undefined || event.pointerId !== pointer)
|
|
173
|
+
return; release(); until = performance.now() + 1200; this.notify('change', { x: point.x, y: point.y, pressed: false }); paint(); wake(); };
|
|
174
|
+
for (const type of ['pointerup', 'pointercancel', 'lostpointercapture'])
|
|
175
|
+
this.listen(canvas, type, end);
|
|
176
|
+
this.listen(canvas, 'pointerleave', () => { if (!point.pressed) {
|
|
177
|
+
point.active = false;
|
|
178
|
+
until = performance.now() + 1000;
|
|
179
|
+
paint();
|
|
180
|
+
wake();
|
|
181
|
+
} });
|
|
182
|
+
this.listen(canvas, 'keydown', (e) => {
|
|
183
|
+
if (this.flag('disabled') || !['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', ' ', 'Enter', 'Escape', '0'].includes(e.key))
|
|
184
|
+
return;
|
|
185
|
+
e.preventDefault();
|
|
186
|
+
if (e.repeat && e.key === ' ')
|
|
187
|
+
return;
|
|
188
|
+
if (e.key === 'Escape') {
|
|
189
|
+
this.deactivate();
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
if (e.key === 'Enter' || e.key === '0') {
|
|
193
|
+
this.reset();
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
point.active = true;
|
|
197
|
+
if (e.key === ' ')
|
|
198
|
+
point.pressed = !point.pressed;
|
|
199
|
+
if (e.key === 'ArrowLeft')
|
|
200
|
+
point.x = Math.max(0, point.x - .05);
|
|
201
|
+
if (e.key === 'ArrowRight')
|
|
202
|
+
point.x = Math.min(1, point.x + .05);
|
|
203
|
+
if (e.key === 'ArrowUp')
|
|
204
|
+
point.y = Math.max(0, point.y - .05);
|
|
205
|
+
if (e.key === 'ArrowDown')
|
|
206
|
+
point.y = Math.min(1, point.y + .05);
|
|
207
|
+
until = performance.now() + 1600;
|
|
208
|
+
paint();
|
|
209
|
+
wake();
|
|
210
|
+
this.notify('change', { x: point.x, y: point.y, pressed: point.pressed });
|
|
211
|
+
});
|
|
212
|
+
this.listen(canvas, 'blur', () => { release(); point.active = false; });
|
|
213
|
+
this.listen(engage, 'click', () => engaged ? this.deactivate() : this.activate());
|
|
214
|
+
this.listen(reset, 'click', () => this.reset());
|
|
215
|
+
this.listen(document, 'visibilitychange', () => { if (document.hidden) {
|
|
216
|
+
release();
|
|
217
|
+
point.active = false;
|
|
218
|
+
until = 0;
|
|
219
|
+
} sync(); });
|
|
220
|
+
if (typeof matchMedia === 'function')
|
|
221
|
+
this.listen(matchMedia('(prefers-reduced-motion: reduce)'), 'change', () => sync());
|
|
222
|
+
const sensitivity = new MutationObserver(() => sync());
|
|
223
|
+
sensitivity.observe(document.documentElement, { attributes: true, attributeFilter: ['data-usa-sensitivity', 'data-usa-motion'] });
|
|
224
|
+
this.onCleanup(() => sensitivity.disconnect());
|
|
225
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
226
|
+
const ro = new ResizeObserver(() => paint());
|
|
227
|
+
ro.observe(canvas);
|
|
228
|
+
this.onCleanup(() => ro.disconnect());
|
|
229
|
+
}
|
|
230
|
+
this.inView(v => { visible = v; sync(); });
|
|
231
|
+
this.onCleanup(() => { stop(); release(); this._sync = this._reset = this._engage = undefined; shell.remove(); });
|
|
232
|
+
sync();
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
var css = ".usa-matter{display:block;min-width:0;color:var(--usa-matter-fg,#e7e8df);font-family:system-ui,sans-serif;--usa-matter-accent:#74aaff}.usa-matter-shell,.usa-matter-tool{position:relative;overflow:hidden;border:1px solid #ffffff12;border-radius:18px;background:var(--usa-matter-bg,#10131a)}.usa-matter-canvas{display:block;width:100%;height:auto;aspect-ratio:28/17;touch-action:pan-y;outline-offset:-4px}.usa-matter-shell[data-engaged] .usa-matter-canvas{touch-action:none;cursor:crosshair}.usa-matter-bar{display:flex;align-items:center;gap:8px;padding:12px 15px;border-top:1px solid #ffffff0d;font:10px ui-monospace,monospace;color:#8b94a5;flex-wrap:wrap}.usa-matter-bar>span{flex:1;min-width:120px}.usa-matter button,.usa-matter input{font:inherit;color:inherit}.usa-matter button{border:1px solid #ffffff20;background:#ffffff08;border-radius:8px;padding:7px 11px;cursor:pointer;font-size:11px;touch-action:manipulation;user-select:none;-webkit-touch-callout:none}.usa-matter button:hover{background:#ffffff12}.usa-matter button:disabled,.usa-matter input:disabled{opacity:.4;cursor:default}.usa-matter :focus-visible{outline:2px solid var(--usa-matter-accent);outline-offset:3px}.usa-matter-canvas:focus-visible{outline-offset:-4px}.usa-matter-tool{padding:22px}.usa-matter-params{display:grid;gap:12px}.usa-matter-param{display:grid;grid-template-columns:78px 1fr 54px;gap:10px;align-items:center;font:11px ui-monospace,monospace;color:#a5acbc}.usa-matter-param input{width:100%;min-width:0;accent-color:var(--usa-matter-accent)}.usa-matter-param output{text-align:right;color:var(--usa-matter-accent);font-variant-numeric:tabular-nums}.usa-matter-plot{display:block;width:100%;height:auto;aspect-ratio:17/9;margin:20px 0 10px;overflow:visible}.usa-matter-code{white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0;color:#a1b9e1;font:11px/1.7 ui-monospace,monospace}.usa-matter-preview{position:relative;height:66px;overflow:hidden;border:1px solid #ffffff12;border-radius:10px;margin-top:12px;background:#080b10}.usa-matter-mass{position:absolute;left:10%;top:18px;width:30px;height:30px;border-radius:7px;background:var(--usa-matter-accent);box-shadow:0 0 28px #74aaff25}.usa-matter-tool[data-lab=bezier] .usa-matter-mass{left:calc(50% - 45px);top:9px;width:90px;height:60px;border-radius:12px 12px 0 0;background:linear-gradient(#d5dce8,#748198)}.usa-matter-text{position:relative;padding:25px;min-height:220px;font:15px/1.85 ui-monospace,monospace;overflow:hidden;touch-action:pan-y;white-space:pre-wrap;overflow-wrap:anywhere}.usa-matter-text p{margin:0}.usa-matter-lens{position:absolute;inset:0;pointer-events:none;clip-path:circle(65px at var(--mx,50%) var(--my,50%));background:#17202f;color:#e9f2ff;transition:opacity .15s;opacity:0;padding:25px}.usa-matter-lens p{transform:scale(1.8);transform-origin:var(--mx,50%) var(--my,50%)}.usa-matter-text[data-active] .usa-matter-lens{opacity:1}.usa-matter-draft{color:#6e7686}.usa-matter-final{position:absolute;inset:25px;color:#e8edf7;clip-path:inset(0 var(--cut,50%) 0 0)}.usa-matter-sr{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.usa-hold{position:relative;width:100%;min-height:60px!important;overflow:hidden;isolation:isolate;font-size:14px!important}.usa-hold::before{content:\"\";position:absolute;inset:0;background:var(--usa-matter-accent);opacity:.2;transform:scaleX(var(--hold,0));transform-origin:left;z-index:-1}.usa-hold[data-confirmed]{color:#b8efd4!important;border-color:#7ddbb15c!important}.usa-hold-status{min-height:18px;margin-top:12px;font:11px ui-monospace,monospace;color:#8b94a5}.usa-scrub{display:flex;align-items:center;gap:12px}.usa-scrub input{width:100%;min-width:60px;border:0;border-bottom:1px solid #ffffff26;background:transparent;font-size:32px;font-variant-numeric:tabular-nums;padding:10px;outline-offset:1px}.usa-scrub button{cursor:ew-resize;touch-action:pan-y;min-width:44px;min-height:44px}.usa-matter-unit{color:#8996ac;font-size:12px}[data-usa-sensitivity=minimal] .usa-matter *,[data-usa-sensitivity=static] .usa-matter *,.usa-matter[data-matter-calm] *{transition:none!important}@media(prefers-reduced-motion:reduce){.usa-matter *{transition:none!important;animation:none!important}}@media(max-width:480px){.usa-matter-tool{padding:16px}.usa-matter-param{grid-template-columns:68px 1fr 42px;font-size:10px}.usa-matter-text{padding:18px;font-size:12px}.usa-matter-lens{padding:18px}.usa-matter-final{inset:18px}}";
|
|
238
|
+
|
|
239
|
+
export { css as c, matterClass as m, setMatterData as s };
|
|
240
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/chunks/matter-s1ApmJnh.js.map
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var engine = require('./engine-D89D-YmJ.cjs');
|
|
4
|
+
var matter = require('./matter-CeAHN-RP.cjs');
|
|
5
|
+
|
|
6
|
+
const SAMPLE = 'Small details make an interface feel considered. Move slowly, read closely, and let each interaction explain what it can do.';
|
|
7
|
+
function matterTextClass(Base, kind) {
|
|
8
|
+
return class MatterText extends Base {
|
|
9
|
+
get value() { return engine.finite(this.num('value', 50), 50, 0, 100); }
|
|
10
|
+
set value(v) { this.setAttribute('value', String(engine.finite(v, 50, 0, 100))); }
|
|
11
|
+
update(data) { matter.setMatterData(this, data); }
|
|
12
|
+
reset() { if (kind === 'revision')
|
|
13
|
+
this.value = 50;
|
|
14
|
+
else
|
|
15
|
+
this._focus?.(.5, .5, false); }
|
|
16
|
+
focusAt(x, y) { if (!this.flag('disabled'))
|
|
17
|
+
this._focus?.(engine.finite(x, .5, 0, 1), engine.finite(y, .5, 0, 1), true); }
|
|
18
|
+
notify(type, detail) { this.emit(type, detail); }
|
|
19
|
+
changed() { this._sync?.(); }
|
|
20
|
+
mount() {
|
|
21
|
+
this.classList.add('usa-matter');
|
|
22
|
+
this.setAttribute('role', 'group');
|
|
23
|
+
const root = document.createElement('div');
|
|
24
|
+
root.className = 'usa-matter-shell';
|
|
25
|
+
const stage = document.createElement('div');
|
|
26
|
+
stage.className = 'usa-matter-text';
|
|
27
|
+
const primary = document.createElement('p');
|
|
28
|
+
stage.append(primary);
|
|
29
|
+
const overlay = document.createElement('div');
|
|
30
|
+
overlay.className = kind === 'loupe' ? 'usa-matter-lens' : 'usa-matter-final';
|
|
31
|
+
overlay.setAttribute('aria-hidden', 'true');
|
|
32
|
+
const copy = document.createElement('p');
|
|
33
|
+
overlay.append(copy);
|
|
34
|
+
stage.append(overlay);
|
|
35
|
+
const accessible = document.createElement('p');
|
|
36
|
+
accessible.className = 'usa-matter-sr';
|
|
37
|
+
const bar = document.createElement('div');
|
|
38
|
+
bar.className = 'usa-matter-bar';
|
|
39
|
+
const hint = document.createElement('span');
|
|
40
|
+
hint.textContent = kind === 'loupe' ? 'Move · focus · arrows · Space zooms' : 'Draft → final';
|
|
41
|
+
const slider = document.createElement('input');
|
|
42
|
+
slider.type = 'range';
|
|
43
|
+
slider.min = '0';
|
|
44
|
+
slider.max = '100';
|
|
45
|
+
slider.setAttribute('aria-label', 'Revision reveal');
|
|
46
|
+
const reset = document.createElement('button');
|
|
47
|
+
reset.type = 'button';
|
|
48
|
+
reset.textContent = 'Reset';
|
|
49
|
+
bar.append(hint);
|
|
50
|
+
if (kind === 'revision')
|
|
51
|
+
bar.append(slider);
|
|
52
|
+
bar.append(reset);
|
|
53
|
+
root.append(stage, accessible, bar);
|
|
54
|
+
this.prepend(root);
|
|
55
|
+
let x = .5, y = .5;
|
|
56
|
+
this._focus = (xx, yy, active) => { x = xx; y = yy; stage.style.setProperty('--mx', `${xx * 100}%`); stage.style.setProperty('--my', `${yy * 100}%`); stage.toggleAttribute('data-active', active); };
|
|
57
|
+
const sync = () => {
|
|
58
|
+
const text = this.str('text', SAMPLE), disabled = this.flag('disabled');
|
|
59
|
+
this.setAttribute('aria-label', this.str('label', kind === 'loupe' ? 'Text loupe' : 'Revision reveal'));
|
|
60
|
+
primary.textContent = kind === 'revision' ? this.str('draft', 'An early idea becomes clearer when every detail has a purpose.') : text;
|
|
61
|
+
copy.textContent = text;
|
|
62
|
+
primary.className = kind === 'revision' ? 'usa-matter-draft' : '';
|
|
63
|
+
if (kind === 'revision') {
|
|
64
|
+
primary.setAttribute('aria-hidden', 'true');
|
|
65
|
+
accessible.textContent = `Draft: ${primary.textContent}\nFinal: ${text}`;
|
|
66
|
+
stage.style.setProperty('--cut', `${100 - this.value}%`);
|
|
67
|
+
slider.value = String(this.value);
|
|
68
|
+
slider.disabled = disabled;
|
|
69
|
+
}
|
|
70
|
+
stage.tabIndex = kind === 'loupe' && !disabled ? 0 : -1;
|
|
71
|
+
reset.disabled = disabled;
|
|
72
|
+
if (disabled)
|
|
73
|
+
this._focus?.(.5, .5, false);
|
|
74
|
+
};
|
|
75
|
+
this._sync = sync;
|
|
76
|
+
this.listen(stage, 'pointermove', (e) => { if (kind !== 'loupe' || this.flag('disabled'))
|
|
77
|
+
return; const r = stage.getBoundingClientRect(); this.focusAt((e.clientX - r.left) / Math.max(1, r.width), (e.clientY - r.top) / Math.max(1, r.height)); });
|
|
78
|
+
this.listen(stage, 'pointerleave', () => { if (document.activeElement !== stage)
|
|
79
|
+
this._focus?.(x, y, false); });
|
|
80
|
+
this.listen(stage, 'focus', () => { if (kind === 'loupe')
|
|
81
|
+
this.focusAt(x, y); });
|
|
82
|
+
this.listen(stage, 'blur', () => this._focus?.(x, y, false));
|
|
83
|
+
this.listen(stage, 'keydown', (e) => {
|
|
84
|
+
if (kind !== 'loupe' || this.flag('disabled') || !['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', ' ', 'Escape'].includes(e.key))
|
|
85
|
+
return;
|
|
86
|
+
e.preventDefault();
|
|
87
|
+
if (e.key === 'Escape') {
|
|
88
|
+
this.reset();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (e.key === ' ') {
|
|
92
|
+
stage.toggleAttribute('data-active');
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
this.focusAt(x + (e.key === 'ArrowLeft' ? -0.05 : e.key === 'ArrowRight' ? .05 : 0), y + (e.key === 'ArrowUp' ? -0.05 : e.key === 'ArrowDown' ? .05 : 0));
|
|
96
|
+
this.notify('change', { x, y });
|
|
97
|
+
});
|
|
98
|
+
this.listen(slider, 'input', () => { if (!this.flag('disabled')) {
|
|
99
|
+
this.value = slider.valueAsNumber;
|
|
100
|
+
this.notify('change', { value: this.value });
|
|
101
|
+
} });
|
|
102
|
+
this.listen(reset, 'click', () => { this.reset(); this.notify('action', { action: 'reset' }); });
|
|
103
|
+
if (kind === 'revision' && typeof ResizeObserver !== 'undefined') {
|
|
104
|
+
const fit = () => { stage.style.minHeight = `${Math.max(170, primary.scrollHeight, copy.scrollHeight) + 50}px`; };
|
|
105
|
+
const ro = new ResizeObserver(fit);
|
|
106
|
+
ro.observe(primary);
|
|
107
|
+
ro.observe(copy);
|
|
108
|
+
this.onCleanup(() => ro.disconnect());
|
|
109
|
+
fit();
|
|
110
|
+
}
|
|
111
|
+
this.onCleanup(() => { this._focus = this._sync = undefined; root.remove(); });
|
|
112
|
+
sync();
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
exports.matterTextClass = matterTextClass;
|
|
118
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.7.0/dist/chunks/matter-text-CjPBzmSX.cjs.map
|