motionary 17.5.0 → 17.6.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/CHANGELOG.md +7 -0
- package/README.md +10 -8
- package/README_ja.md +9 -7
- package/README_zh.md +9 -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-4YJ2ToP0.cjs} +2 -2
- package/dist/chunks/{anim-image-COjVmaP1.js → anim-image-CgY8mttn.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/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-CA_CWr1F.js} +2 -2
- package/dist/chunks/{gl-scene-B2RmKWlP.cjs → gl-scene-DpCAWWkJ.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-BOqLumJm.js} +2 -2
- package/dist/chunks/{keyframes-D60feZJH.cjs → keyframes-BctLO_7h.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-CnXnrjV1.js → lottie-player-6rxodeWA.js} +2 -2
- package/dist/chunks/{lottie-player-C0iHgRFB.cjs → lottie-player-BOy1LqLV.cjs} +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-BcjqkdDG.cjs} +2 -2
- package/dist/chunks/{physics-playground-XYnXmRJY.js → physics-playground-DldXE6d4.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-DKFddqVT.js → registry-CeEFBxw8.js} +2 -2
- package/dist/chunks/registry-DmYdTtl4.js +1 -1
- package/dist/chunks/{registry-Csnu-ewY.cjs → registry-HSe7clPM.cjs} +2 -2
- 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-NKGqkpVc.cjs → runtime-link-BK67DHRd.cjs} +2 -2
- package/dist/chunks/{runtime-link-BgPnBmfW.js → runtime-link-DAZ2_Us4.js} +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-DpZTdaej.cjs → scroll-scene-B3bkzocQ.cjs} +3 -3
- package/dist/chunks/{scroll-scene-Baap9oeC.js → scroll-scene-Cb-qW9iD.js} +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-CDY_1pXK.js} +2 -2
- package/dist/chunks/{ticker-DR53lOL5.cjs → ticker-E0ys82ss.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-BENWOCyd.cjs} +2 -2
- package/dist/chunks/{tween-ChOA_6__.js → tween-NYQu20Qn.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 +169 -0
- package/dist/components/angular.d.ts +169 -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-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 +6 -1
- package/dist/components/fx2.d.cts +5 -1
- package/dist/components/fx2.d.ts +5 -1
- package/dist/components/fx2.js +5 -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 +169 -0
- package/dist/components/jsx.d.ts +169 -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 +116 -0
- package/dist/components/mo.d.ts +116 -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 +6 -2
- package/dist/components/plugins.d.cts +3 -1
- package/dist/components/plugins.d.ts +3 -1
- package/dist/components/plugins.js +6 -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 +116 -0
- package/dist/components/solid.d.ts +116 -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 +169 -0
- package/dist/components/svelte.d.ts +169 -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 +169 -0
- package/dist/components/vue.d.ts +169 -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 +32 -6
- package/dist/components/widgets.d.cts +182 -3
- package/dist/components/widgets.d.ts +182 -3
- package/dist/components/widgets.js +22 -9
- 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/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/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-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/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 +15 -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/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/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- 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/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/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/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/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/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/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- 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/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/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 +20 -7
- package/docs/components/usa-bezier-lab.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-fx.md +48 -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-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-spring-lab.md +36 -0
- package/docs/components/usa-text-loupe.md +36 -0
- package/docs/components.md +5 -5
- package/docs/entry-points.md +21 -2
- package/docs/matter-motion.md +68 -0
- package/docs/versions.md +1 -1
- package/figma-plugin/code.js +1 -1
- package/package.json +212 -2
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var engine = require('./engine-D89D-YmJ.cjs');
|
|
4
|
+
var matter = require('./matter-CeAHN-RP.cjs');
|
|
5
|
+
|
|
6
|
+
function matterToolClass(Base, kind) {
|
|
7
|
+
const specs = kind === 'spring'
|
|
8
|
+
? [['stiffness', 'Stiffness', 180, 1, 800, 1], ['damping', 'Damping', 12, 0, 100, .1], ['mass', 'Mass', 1, .1, 5, .1]]
|
|
9
|
+
: [['x1', 'Control 1 X', .32, 0, 1, .01], ['y1', 'Control 1 Y', .72, 0, 1, .01], ['x2', 'Control 2 X', 0, 0, 1, .01], ['y2', 'Control 2 Y', 1, 0, 1, .01], ['duration', 'Duration', 500, 100, 3000, 10]];
|
|
10
|
+
return class MatterTool extends Base {
|
|
11
|
+
get params() { return Object.fromEntries(specs.map(([key, , fallback, min, max]) => [key, engine.finite(this.num(key, fallback), fallback, min, max)])); }
|
|
12
|
+
notify(type, detail) { this.emit(type, detail); }
|
|
13
|
+
update(data) { matter.setMatterData(this, data); }
|
|
14
|
+
play() { this._play?.(); }
|
|
15
|
+
pause() { this._stop?.(); }
|
|
16
|
+
reset() { this.pause(); this.update(this._initial || {}); this._sync?.(); this.notify('action', { action: 'reset', params: this.params }); }
|
|
17
|
+
changed() { this._sync?.(); }
|
|
18
|
+
mount() {
|
|
19
|
+
this._initial ?? (this._initial = this.params);
|
|
20
|
+
this.classList.add('usa-matter');
|
|
21
|
+
this.setAttribute('role', 'group');
|
|
22
|
+
const root = document.createElement('div');
|
|
23
|
+
root.className = 'usa-matter-tool';
|
|
24
|
+
root.dataset.lab = kind;
|
|
25
|
+
const form = document.createElement('div');
|
|
26
|
+
form.className = 'usa-matter-params';
|
|
27
|
+
const controls = new Map();
|
|
28
|
+
for (const [key, label, , min, max, step] of specs) {
|
|
29
|
+
const row = document.createElement('label');
|
|
30
|
+
row.className = 'usa-matter-param';
|
|
31
|
+
const text = document.createElement('span');
|
|
32
|
+
text.textContent = label;
|
|
33
|
+
const input = document.createElement('input');
|
|
34
|
+
input.type = 'range';
|
|
35
|
+
input.min = String(min);
|
|
36
|
+
input.max = String(max);
|
|
37
|
+
input.step = String(step);
|
|
38
|
+
input.setAttribute('aria-label', label);
|
|
39
|
+
input.dataset.param = key;
|
|
40
|
+
const out = document.createElement('output');
|
|
41
|
+
out.setAttribute('aria-hidden', 'true');
|
|
42
|
+
row.append(text, input, out);
|
|
43
|
+
form.append(row);
|
|
44
|
+
controls.set(key, { input, out });
|
|
45
|
+
}
|
|
46
|
+
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
47
|
+
svg.classList.add('usa-matter-plot');
|
|
48
|
+
svg.setAttribute('viewBox', '0 0 340 180');
|
|
49
|
+
svg.setAttribute('role', 'img');
|
|
50
|
+
svg.innerHTML = '<path d="M20 10V155H325M20 45H325" stroke="#ffffff18" fill="none" stroke-dasharray="3 5"/><path data-curve stroke="#74aaff" stroke-width="1.8" fill="none"/><path data-handles stroke="#9dabc066" stroke-width="1" fill="none"/><circle data-handle="0" r="4" fill="#74aaff"/><circle data-handle="1" r="4" fill="#74aaff"/>';
|
|
51
|
+
const curve = svg.querySelector('[data-curve]'), handles = svg.querySelector('[data-handles]'), dots = [...svg.querySelectorAll('[data-handle]')];
|
|
52
|
+
const code = document.createElement('pre');
|
|
53
|
+
code.className = 'usa-matter-code';
|
|
54
|
+
const preview = document.createElement('div');
|
|
55
|
+
preview.className = 'usa-matter-preview';
|
|
56
|
+
preview.setAttribute('aria-hidden', 'true');
|
|
57
|
+
const mass = document.createElement('div');
|
|
58
|
+
mass.className = 'usa-matter-mass';
|
|
59
|
+
preview.append(mass);
|
|
60
|
+
const bar = document.createElement('div');
|
|
61
|
+
bar.className = 'usa-matter-bar';
|
|
62
|
+
const hint = document.createElement('span');
|
|
63
|
+
hint.textContent = kind === 'spring' ? 'Mass · damping · stiffness' : 'CSS timing · real x inversion';
|
|
64
|
+
const play = document.createElement('button');
|
|
65
|
+
play.type = 'button';
|
|
66
|
+
play.textContent = 'Replay';
|
|
67
|
+
const reset = document.createElement('button');
|
|
68
|
+
reset.type = 'button';
|
|
69
|
+
reset.textContent = 'Reset';
|
|
70
|
+
bar.append(hint, play, reset);
|
|
71
|
+
root.append(form, svg, code, preview, bar);
|
|
72
|
+
this.prepend(root);
|
|
73
|
+
const animations = new Set();
|
|
74
|
+
let drag;
|
|
75
|
+
const release = () => { const held = drag; drag = undefined; if (held) {
|
|
76
|
+
try {
|
|
77
|
+
if (svg.hasPointerCapture?.(held.pointer))
|
|
78
|
+
svg.releasePointerCapture(held.pointer);
|
|
79
|
+
}
|
|
80
|
+
catch { /* already released */ }
|
|
81
|
+
} };
|
|
82
|
+
const stop = () => { for (const a of animations)
|
|
83
|
+
a.cancel(); animations.clear(); };
|
|
84
|
+
const sync = () => {
|
|
85
|
+
stop();
|
|
86
|
+
const p = this.params, disabled = this.flag('disabled');
|
|
87
|
+
if (disabled)
|
|
88
|
+
release();
|
|
89
|
+
this.setAttribute('aria-label', this.str('label', `${kind} laboratory`));
|
|
90
|
+
for (const [key, c] of controls) {
|
|
91
|
+
c.input.value = String(p[key]);
|
|
92
|
+
c.input.disabled = disabled;
|
|
93
|
+
c.out.value = `${p[key]}${key === 'duration' ? 'ms' : ''}`;
|
|
94
|
+
}
|
|
95
|
+
play.disabled = reset.disabled = disabled;
|
|
96
|
+
if (kind === 'spring') {
|
|
97
|
+
curve.setAttribute('d', Array.from({ length: 181 }, (_, i) => `${i ? 'L' : 'M'}${20 + i / 180 * 300},${155 - engine.springResponse(i / 90, p.stiffness, p.damping, p.mass) * 110}`).join(' '));
|
|
98
|
+
code.textContent = `spring({ stiffness: ${p.stiffness}, damping: ${p.damping}, mass: ${p.mass} })`;
|
|
99
|
+
svg.setAttribute('aria-label', `Spring step response. Stiffness ${p.stiffness}, damping ${p.damping}, mass ${p.mass}.`);
|
|
100
|
+
handles.setAttribute('d', '');
|
|
101
|
+
dots.forEach(dot => dot.setAttribute('visibility', 'hidden'));
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
curve.setAttribute('d', `M20 155C${20 + p.x1 * 300} ${155 - p.y1 * 110},${20 + p.x2 * 300} ${155 - p.y2 * 110},320 45`);
|
|
105
|
+
handles.setAttribute('d', `M20 155L${20 + p.x1 * 300} ${155 - p.y1 * 110}M320 45L${20 + p.x2 * 300} ${155 - p.y2 * 110}`);
|
|
106
|
+
dots.forEach((dot, i) => { dot.setAttribute('cx', String(20 + p[i ? 'x2' : 'x1'] * 300)); dot.setAttribute('cy', String(155 - p[i ? 'y2' : 'y1'] * 110)); });
|
|
107
|
+
code.textContent = `transition: transform ${p.duration}ms\n cubic-bezier(${p.x1}, ${p.y1}, ${p.x2}, ${p.y2});`;
|
|
108
|
+
svg.setAttribute('aria-label', `Cubic bezier timing curve ${p.x1}, ${p.y1}, ${p.x2}, ${p.y2}.`);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
this._sync = sync;
|
|
112
|
+
this._stop = stop;
|
|
113
|
+
this._play = () => {
|
|
114
|
+
if (this.flag('disabled') || document.hidden)
|
|
115
|
+
return;
|
|
116
|
+
stop();
|
|
117
|
+
const p = this.params;
|
|
118
|
+
const frames = kind === 'spring'
|
|
119
|
+
? Array.from({ length: 121 }, (_, i) => ({ transform: `translateX(${engine.springResponse(i / 60, p.stiffness, p.damping, p.mass) * (preview.clientWidth || 360) * .7}px)` }))
|
|
120
|
+
: Array.from({ length: 61 }, (_, i) => ({ transform: `translateY(${(1 - engine.cubicResponse(i / 60, p.x1, p.y1, p.x2, p.y2)) * 70}px)` }));
|
|
121
|
+
const a = this.motion(mass, frames, { duration: this.reduced ? 0 : kind === 'spring' ? 2000 : p.duration, easing: 'linear', fill: 'forwards' });
|
|
122
|
+
if (a) {
|
|
123
|
+
animations.add(a);
|
|
124
|
+
a.finished?.then(() => animations.delete(a), () => animations.delete(a));
|
|
125
|
+
}
|
|
126
|
+
this.notify('action', { action: 'play', params: p });
|
|
127
|
+
};
|
|
128
|
+
this.listen(form, 'input', (e) => { const input = e.target; if (!this.flag('disabled') && input.dataset.param) {
|
|
129
|
+
this.setAttribute(input.dataset.param, input.value);
|
|
130
|
+
this.notify('change', { params: this.params });
|
|
131
|
+
} });
|
|
132
|
+
this.listen(form, 'change', () => this.play());
|
|
133
|
+
this.listen(play, 'click', () => this.play());
|
|
134
|
+
this.listen(reset, 'click', () => this.reset());
|
|
135
|
+
if (kind === 'bezier') {
|
|
136
|
+
dots.forEach(dot => dot.setAttribute('style', 'touch-action:none;cursor:grab;stroke:transparent;stroke-width:20;paint-order:stroke'));
|
|
137
|
+
this.listen(svg, 'pointerdown', (e) => {
|
|
138
|
+
const dot = e.target.closest('[data-handle]');
|
|
139
|
+
if (!dot || this.flag('disabled') || e.button !== 0)
|
|
140
|
+
return;
|
|
141
|
+
drag = { handle: Number(dot.getAttribute('data-handle')), pointer: e.pointerId };
|
|
142
|
+
try {
|
|
143
|
+
svg.setPointerCapture(e.pointerId);
|
|
144
|
+
}
|
|
145
|
+
catch { /* synthetic */ }
|
|
146
|
+
});
|
|
147
|
+
this.listen(svg, 'pointermove', (e) => {
|
|
148
|
+
if (!drag || drag.pointer !== e.pointerId || this.flag('disabled'))
|
|
149
|
+
return;
|
|
150
|
+
const r = svg.getBoundingClientRect(), x = (e.clientX - r.left) / Math.max(1, r.width) * 340, y = (e.clientY - r.top) / Math.max(1, r.height) * 180;
|
|
151
|
+
const suffix = drag.handle ? '2' : '1';
|
|
152
|
+
this.setAttribute('x' + suffix, engine.finite((x - 20) / 300, .5, 0, 1).toFixed(2));
|
|
153
|
+
this.setAttribute('y' + suffix, engine.finite((155 - y) / 110, .5, 0, 1).toFixed(2));
|
|
154
|
+
this.notify('change', { params: this.params });
|
|
155
|
+
});
|
|
156
|
+
for (const type of ['pointerup', 'pointercancel', 'lostpointercapture'])
|
|
157
|
+
this.listen(svg, type, () => { if (drag) {
|
|
158
|
+
release();
|
|
159
|
+
this.play();
|
|
160
|
+
} });
|
|
161
|
+
}
|
|
162
|
+
this.listen(document, 'visibilitychange', () => { if (document.hidden) {
|
|
163
|
+
release();
|
|
164
|
+
stop();
|
|
165
|
+
} });
|
|
166
|
+
if (typeof matchMedia === 'function')
|
|
167
|
+
this.listen(matchMedia('(prefers-reduced-motion: reduce)'), 'change', () => { if (this.reduced)
|
|
168
|
+
stop(); });
|
|
169
|
+
this.inView(v => { if (!v) {
|
|
170
|
+
release();
|
|
171
|
+
stop();
|
|
172
|
+
} });
|
|
173
|
+
const sensitivity = new MutationObserver(() => { if (this.reduced)
|
|
174
|
+
stop(); });
|
|
175
|
+
sensitivity.observe(document.documentElement, { attributes: true, attributeFilter: ['data-usa-sensitivity'] });
|
|
176
|
+
this.onCleanup(() => { release(); stop(); sensitivity.disconnect(); this._sync = this._play = this._stop = undefined; root.remove(); });
|
|
177
|
+
sync();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
exports.matterToolClass = matterToolClass;
|
|
183
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/matter-tools-c9BnIwSX.cjs.map
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { f as finite, s as springResponse, a as cubicResponse } from './engine-CUOpaIK4.js';
|
|
2
|
+
import { s as setMatterData } from './matter-s1ApmJnh.js';
|
|
3
|
+
|
|
4
|
+
function matterToolClass(Base, kind) {
|
|
5
|
+
const specs = kind === 'spring'
|
|
6
|
+
? [['stiffness', 'Stiffness', 180, 1, 800, 1], ['damping', 'Damping', 12, 0, 100, .1], ['mass', 'Mass', 1, .1, 5, .1]]
|
|
7
|
+
: [['x1', 'Control 1 X', .32, 0, 1, .01], ['y1', 'Control 1 Y', .72, 0, 1, .01], ['x2', 'Control 2 X', 0, 0, 1, .01], ['y2', 'Control 2 Y', 1, 0, 1, .01], ['duration', 'Duration', 500, 100, 3000, 10]];
|
|
8
|
+
return class MatterTool extends Base {
|
|
9
|
+
get params() { return Object.fromEntries(specs.map(([key, , fallback, min, max]) => [key, finite(this.num(key, fallback), fallback, min, max)])); }
|
|
10
|
+
notify(type, detail) { this.emit(type, detail); }
|
|
11
|
+
update(data) { setMatterData(this, data); }
|
|
12
|
+
play() { this._play?.(); }
|
|
13
|
+
pause() { this._stop?.(); }
|
|
14
|
+
reset() { this.pause(); this.update(this._initial || {}); this._sync?.(); this.notify('action', { action: 'reset', params: this.params }); }
|
|
15
|
+
changed() { this._sync?.(); }
|
|
16
|
+
mount() {
|
|
17
|
+
this._initial ?? (this._initial = this.params);
|
|
18
|
+
this.classList.add('usa-matter');
|
|
19
|
+
this.setAttribute('role', 'group');
|
|
20
|
+
const root = document.createElement('div');
|
|
21
|
+
root.className = 'usa-matter-tool';
|
|
22
|
+
root.dataset.lab = kind;
|
|
23
|
+
const form = document.createElement('div');
|
|
24
|
+
form.className = 'usa-matter-params';
|
|
25
|
+
const controls = new Map();
|
|
26
|
+
for (const [key, label, , min, max, step] of specs) {
|
|
27
|
+
const row = document.createElement('label');
|
|
28
|
+
row.className = 'usa-matter-param';
|
|
29
|
+
const text = document.createElement('span');
|
|
30
|
+
text.textContent = label;
|
|
31
|
+
const input = document.createElement('input');
|
|
32
|
+
input.type = 'range';
|
|
33
|
+
input.min = String(min);
|
|
34
|
+
input.max = String(max);
|
|
35
|
+
input.step = String(step);
|
|
36
|
+
input.setAttribute('aria-label', label);
|
|
37
|
+
input.dataset.param = key;
|
|
38
|
+
const out = document.createElement('output');
|
|
39
|
+
out.setAttribute('aria-hidden', 'true');
|
|
40
|
+
row.append(text, input, out);
|
|
41
|
+
form.append(row);
|
|
42
|
+
controls.set(key, { input, out });
|
|
43
|
+
}
|
|
44
|
+
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
45
|
+
svg.classList.add('usa-matter-plot');
|
|
46
|
+
svg.setAttribute('viewBox', '0 0 340 180');
|
|
47
|
+
svg.setAttribute('role', 'img');
|
|
48
|
+
svg.innerHTML = '<path d="M20 10V155H325M20 45H325" stroke="#ffffff18" fill="none" stroke-dasharray="3 5"/><path data-curve stroke="#74aaff" stroke-width="1.8" fill="none"/><path data-handles stroke="#9dabc066" stroke-width="1" fill="none"/><circle data-handle="0" r="4" fill="#74aaff"/><circle data-handle="1" r="4" fill="#74aaff"/>';
|
|
49
|
+
const curve = svg.querySelector('[data-curve]'), handles = svg.querySelector('[data-handles]'), dots = [...svg.querySelectorAll('[data-handle]')];
|
|
50
|
+
const code = document.createElement('pre');
|
|
51
|
+
code.className = 'usa-matter-code';
|
|
52
|
+
const preview = document.createElement('div');
|
|
53
|
+
preview.className = 'usa-matter-preview';
|
|
54
|
+
preview.setAttribute('aria-hidden', 'true');
|
|
55
|
+
const mass = document.createElement('div');
|
|
56
|
+
mass.className = 'usa-matter-mass';
|
|
57
|
+
preview.append(mass);
|
|
58
|
+
const bar = document.createElement('div');
|
|
59
|
+
bar.className = 'usa-matter-bar';
|
|
60
|
+
const hint = document.createElement('span');
|
|
61
|
+
hint.textContent = kind === 'spring' ? 'Mass · damping · stiffness' : 'CSS timing · real x inversion';
|
|
62
|
+
const play = document.createElement('button');
|
|
63
|
+
play.type = 'button';
|
|
64
|
+
play.textContent = 'Replay';
|
|
65
|
+
const reset = document.createElement('button');
|
|
66
|
+
reset.type = 'button';
|
|
67
|
+
reset.textContent = 'Reset';
|
|
68
|
+
bar.append(hint, play, reset);
|
|
69
|
+
root.append(form, svg, code, preview, bar);
|
|
70
|
+
this.prepend(root);
|
|
71
|
+
const animations = new Set();
|
|
72
|
+
let drag;
|
|
73
|
+
const release = () => { const held = drag; drag = undefined; if (held) {
|
|
74
|
+
try {
|
|
75
|
+
if (svg.hasPointerCapture?.(held.pointer))
|
|
76
|
+
svg.releasePointerCapture(held.pointer);
|
|
77
|
+
}
|
|
78
|
+
catch { /* already released */ }
|
|
79
|
+
} };
|
|
80
|
+
const stop = () => { for (const a of animations)
|
|
81
|
+
a.cancel(); animations.clear(); };
|
|
82
|
+
const sync = () => {
|
|
83
|
+
stop();
|
|
84
|
+
const p = this.params, disabled = this.flag('disabled');
|
|
85
|
+
if (disabled)
|
|
86
|
+
release();
|
|
87
|
+
this.setAttribute('aria-label', this.str('label', `${kind} laboratory`));
|
|
88
|
+
for (const [key, c] of controls) {
|
|
89
|
+
c.input.value = String(p[key]);
|
|
90
|
+
c.input.disabled = disabled;
|
|
91
|
+
c.out.value = `${p[key]}${key === 'duration' ? 'ms' : ''}`;
|
|
92
|
+
}
|
|
93
|
+
play.disabled = reset.disabled = disabled;
|
|
94
|
+
if (kind === 'spring') {
|
|
95
|
+
curve.setAttribute('d', Array.from({ length: 181 }, (_, i) => `${i ? 'L' : 'M'}${20 + i / 180 * 300},${155 - springResponse(i / 90, p.stiffness, p.damping, p.mass) * 110}`).join(' '));
|
|
96
|
+
code.textContent = `spring({ stiffness: ${p.stiffness}, damping: ${p.damping}, mass: ${p.mass} })`;
|
|
97
|
+
svg.setAttribute('aria-label', `Spring step response. Stiffness ${p.stiffness}, damping ${p.damping}, mass ${p.mass}.`);
|
|
98
|
+
handles.setAttribute('d', '');
|
|
99
|
+
dots.forEach(dot => dot.setAttribute('visibility', 'hidden'));
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
curve.setAttribute('d', `M20 155C${20 + p.x1 * 300} ${155 - p.y1 * 110},${20 + p.x2 * 300} ${155 - p.y2 * 110},320 45`);
|
|
103
|
+
handles.setAttribute('d', `M20 155L${20 + p.x1 * 300} ${155 - p.y1 * 110}M320 45L${20 + p.x2 * 300} ${155 - p.y2 * 110}`);
|
|
104
|
+
dots.forEach((dot, i) => { dot.setAttribute('cx', String(20 + p[i ? 'x2' : 'x1'] * 300)); dot.setAttribute('cy', String(155 - p[i ? 'y2' : 'y1'] * 110)); });
|
|
105
|
+
code.textContent = `transition: transform ${p.duration}ms\n cubic-bezier(${p.x1}, ${p.y1}, ${p.x2}, ${p.y2});`;
|
|
106
|
+
svg.setAttribute('aria-label', `Cubic bezier timing curve ${p.x1}, ${p.y1}, ${p.x2}, ${p.y2}.`);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
this._sync = sync;
|
|
110
|
+
this._stop = stop;
|
|
111
|
+
this._play = () => {
|
|
112
|
+
if (this.flag('disabled') || document.hidden)
|
|
113
|
+
return;
|
|
114
|
+
stop();
|
|
115
|
+
const p = this.params;
|
|
116
|
+
const frames = kind === 'spring'
|
|
117
|
+
? Array.from({ length: 121 }, (_, i) => ({ transform: `translateX(${springResponse(i / 60, p.stiffness, p.damping, p.mass) * (preview.clientWidth || 360) * .7}px)` }))
|
|
118
|
+
: Array.from({ length: 61 }, (_, i) => ({ transform: `translateY(${(1 - cubicResponse(i / 60, p.x1, p.y1, p.x2, p.y2)) * 70}px)` }));
|
|
119
|
+
const a = this.motion(mass, frames, { duration: this.reduced ? 0 : kind === 'spring' ? 2000 : p.duration, easing: 'linear', fill: 'forwards' });
|
|
120
|
+
if (a) {
|
|
121
|
+
animations.add(a);
|
|
122
|
+
a.finished?.then(() => animations.delete(a), () => animations.delete(a));
|
|
123
|
+
}
|
|
124
|
+
this.notify('action', { action: 'play', params: p });
|
|
125
|
+
};
|
|
126
|
+
this.listen(form, 'input', (e) => { const input = e.target; if (!this.flag('disabled') && input.dataset.param) {
|
|
127
|
+
this.setAttribute(input.dataset.param, input.value);
|
|
128
|
+
this.notify('change', { params: this.params });
|
|
129
|
+
} });
|
|
130
|
+
this.listen(form, 'change', () => this.play());
|
|
131
|
+
this.listen(play, 'click', () => this.play());
|
|
132
|
+
this.listen(reset, 'click', () => this.reset());
|
|
133
|
+
if (kind === 'bezier') {
|
|
134
|
+
dots.forEach(dot => dot.setAttribute('style', 'touch-action:none;cursor:grab;stroke:transparent;stroke-width:20;paint-order:stroke'));
|
|
135
|
+
this.listen(svg, 'pointerdown', (e) => {
|
|
136
|
+
const dot = e.target.closest('[data-handle]');
|
|
137
|
+
if (!dot || this.flag('disabled') || e.button !== 0)
|
|
138
|
+
return;
|
|
139
|
+
drag = { handle: Number(dot.getAttribute('data-handle')), pointer: e.pointerId };
|
|
140
|
+
try {
|
|
141
|
+
svg.setPointerCapture(e.pointerId);
|
|
142
|
+
}
|
|
143
|
+
catch { /* synthetic */ }
|
|
144
|
+
});
|
|
145
|
+
this.listen(svg, 'pointermove', (e) => {
|
|
146
|
+
if (!drag || drag.pointer !== e.pointerId || this.flag('disabled'))
|
|
147
|
+
return;
|
|
148
|
+
const r = svg.getBoundingClientRect(), x = (e.clientX - r.left) / Math.max(1, r.width) * 340, y = (e.clientY - r.top) / Math.max(1, r.height) * 180;
|
|
149
|
+
const suffix = drag.handle ? '2' : '1';
|
|
150
|
+
this.setAttribute('x' + suffix, finite((x - 20) / 300, .5, 0, 1).toFixed(2));
|
|
151
|
+
this.setAttribute('y' + suffix, finite((155 - y) / 110, .5, 0, 1).toFixed(2));
|
|
152
|
+
this.notify('change', { params: this.params });
|
|
153
|
+
});
|
|
154
|
+
for (const type of ['pointerup', 'pointercancel', 'lostpointercapture'])
|
|
155
|
+
this.listen(svg, type, () => { if (drag) {
|
|
156
|
+
release();
|
|
157
|
+
this.play();
|
|
158
|
+
} });
|
|
159
|
+
}
|
|
160
|
+
this.listen(document, 'visibilitychange', () => { if (document.hidden) {
|
|
161
|
+
release();
|
|
162
|
+
stop();
|
|
163
|
+
} });
|
|
164
|
+
if (typeof matchMedia === 'function')
|
|
165
|
+
this.listen(matchMedia('(prefers-reduced-motion: reduce)'), 'change', () => { if (this.reduced)
|
|
166
|
+
stop(); });
|
|
167
|
+
this.inView(v => { if (!v) {
|
|
168
|
+
release();
|
|
169
|
+
stop();
|
|
170
|
+
} });
|
|
171
|
+
const sensitivity = new MutationObserver(() => { if (this.reduced)
|
|
172
|
+
stop(); });
|
|
173
|
+
sensitivity.observe(document.documentElement, { attributes: true, attributeFilter: ['data-usa-sensitivity'] });
|
|
174
|
+
this.onCleanup(() => { release(); stop(); sensitivity.disconnect(); this._sync = this._play = this._stop = undefined; root.remove(); });
|
|
175
|
+
sync();
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export { matterToolClass as m };
|
|
181
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/matter-tools-vu63cR1E.js.map
|
|
@@ -144,4 +144,4 @@ function defineMenu(tag = 'usa-menu') {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export { MENU_EFFECTS as M, defineMenu as d };
|
|
147
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
147
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/menu-7-UBhICx.js.map
|
|
@@ -147,4 +147,4 @@ function defineMenu(tag = 'usa-menu') {
|
|
|
147
147
|
|
|
148
148
|
exports.MENU_EFFECTS = MENU_EFFECTS;
|
|
149
149
|
exports.defineMenu = defineMenu;
|
|
150
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
150
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/menu-9GcThZZr.cjs.map
|
|
@@ -78,4 +78,4 @@ function defineMenuToggle(tag = 'usa-menu-toggle') {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export { TOGGLE_VARIANTS as T, defineMenuToggle as d };
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/menu-toggle-C4AUDeBM.js.map
|
|
@@ -81,4 +81,4 @@ function defineMenuToggle(tag = 'usa-menu-toggle') {
|
|
|
81
81
|
|
|
82
82
|
exports.TOGGLE_VARIANTS = TOGGLE_VARIANTS;
|
|
83
83
|
exports.defineMenuToggle = defineMenuToggle;
|
|
84
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
84
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/menu-toggle-DcMQeRDt.cjs.map
|
|
@@ -15,4 +15,4 @@ function defineMoName(tag, ctor) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
exports.defineMoName = defineMoName;
|
|
18
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
18
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/mo-name-DR9ysd5S.cjs.map
|
|
@@ -13,4 +13,4 @@ function defineMoName(tag, ctor) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export { defineMoName as d };
|
|
16
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
16
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/mo-name-DT5wwaGR.js.map
|
|
@@ -251,4 +251,4 @@ const defineMegaMenu = (tag = 'usa-mega-menu') => navPanels(tag, 'mega');
|
|
|
251
251
|
const defineNavFlyout = (tag = 'usa-nav-flyout') => navPanels(tag, 'flyout');
|
|
252
252
|
|
|
253
253
|
export { defineMegaMenu as a, defineNavFlyout as d };
|
|
254
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
254
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/nav-flyout-BlxMtN4W.js.map
|
|
@@ -254,4 +254,4 @@ const defineNavFlyout = (tag = 'usa-nav-flyout') => navPanels(tag, 'flyout');
|
|
|
254
254
|
|
|
255
255
|
exports.defineMegaMenu = defineMegaMenu;
|
|
256
256
|
exports.defineNavFlyout = defineNavFlyout;
|
|
257
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
257
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/nav-flyout-CrLUC54W.cjs.map
|
|
@@ -109,4 +109,4 @@ function defineNavMorph(tag = 'usa-nav-morph') {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export { NAV_INDICATORS as N, defineNavMorph as d };
|
|
112
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
112
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/nav-morph-BPpHX9Ez.js.map
|
|
@@ -112,4 +112,4 @@ function defineNavMorph(tag = 'usa-nav-morph') {
|
|
|
112
112
|
|
|
113
113
|
exports.NAV_INDICATORS = NAV_INDICATORS;
|
|
114
114
|
exports.defineNavMorph = defineNavMorph;
|
|
115
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
115
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/nav-morph-DuNCH5WQ.cjs.map
|
|
@@ -135,4 +135,4 @@ function defineOtp(tag = 'usa-otp') {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
export { defineOtp as d, sanitizeCode as s };
|
|
138
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
138
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/otp-BIrDvGU8.js.map
|
|
@@ -138,4 +138,4 @@ function defineOtp(tag = 'usa-otp') {
|
|
|
138
138
|
|
|
139
139
|
exports.defineOtp = defineOtp;
|
|
140
140
|
exports.sanitizeCode = sanitizeCode;
|
|
141
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
141
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/otp-W5drE539.cjs.map
|
|
@@ -134,4 +134,4 @@ function definePagination(tag = 'usa-pagination') {
|
|
|
134
134
|
|
|
135
135
|
exports.definePagination = definePagination;
|
|
136
136
|
exports.pageWindow = pageWindow;
|
|
137
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
137
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/pagination-BH2ngIJB.cjs.map
|
|
@@ -131,4 +131,4 @@ function definePagination(tag = 'usa-pagination') {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export { definePagination as d, pageWindow as p };
|
|
134
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/pagination-CiU78ftj.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('./base-DzZEJhQB.cjs');
|
|
4
|
-
var runtimeLink = require('./runtime-link-
|
|
4
|
+
var runtimeLink = require('./runtime-link-BK67DHRd.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-physics-playground{position:relative;display:block;aspect-ratio:5/3;min-height:140px;background:radial-gradient(circle at 50% 0,#1e293b,#0f172a);border-radius:12px;overflow:hidden;touch-action:none}usa-physics-playground>canvas{display:block;width:100%;height:100%;cursor:grab;outline:none}usa-physics-playground>canvas:active{cursor:grabbing}usa-physics-playground>canvas:focus-visible{box-shadow:inset 0 0 0 2px #818cf8}usa-physics-playground>script{display:none}";
|
|
7
7
|
|
|
@@ -276,4 +276,4 @@ function definePhysicsPlayground(tag = 'usa-physics-playground') {
|
|
|
276
276
|
|
|
277
277
|
exports.PHYSICS_PRESETS = PHYSICS_PRESETS;
|
|
278
278
|
exports.definePhysicsPlayground = definePhysicsPlayground;
|
|
279
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
279
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/physics-playground-BcjqkdDG.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as defineElement, r as raf } from './base-SPDwWyB1.js';
|
|
2
|
-
import { r as runtimeModule } from './runtime-link-
|
|
2
|
+
import { r as runtimeModule } from './runtime-link-DAZ2_Us4.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-physics-playground{position:relative;display:block;aspect-ratio:5/3;min-height:140px;background:radial-gradient(circle at 50% 0,#1e293b,#0f172a);border-radius:12px;overflow:hidden;touch-action:none}usa-physics-playground>canvas{display:block;width:100%;height:100%;cursor:grab;outline:none}usa-physics-playground>canvas:active{cursor:grabbing}usa-physics-playground>canvas:focus-visible{box-shadow:inset 0 0 0 2px #818cf8}usa-physics-playground>script{display:none}";
|
|
5
5
|
|
|
@@ -273,4 +273,4 @@ function definePhysicsPlayground(tag = 'usa-physics-playground') {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export { PHYSICS_PRESETS as P, definePhysicsPlayground as d };
|
|
276
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
276
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/physics-playground-DldXE6d4.js.map
|
|
@@ -82,4 +82,4 @@ function sceneToAnimation(d) {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
exports.sceneToAnimation = sceneToAnimation;
|
|
85
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
85
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/play-CTz93Nas.cjs.map
|
|
@@ -80,4 +80,4 @@ function sceneToAnimation(d) {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export { sceneToAnimation as s };
|
|
83
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
83
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/play-KU8T1oaZ.js.map
|
|
@@ -161,4 +161,4 @@ function createPlayerCore(root, animation, o = {}, scene) {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
export { ANIMATION_FORMAT as A, createPlayerCore as c };
|
|
164
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
164
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/player-core-BtZTI0Fz.js.map
|
|
@@ -164,4 +164,4 @@ function createPlayerCore(root, animation, o = {}, scene) {
|
|
|
164
164
|
|
|
165
165
|
exports.ANIMATION_FORMAT = ANIMATION_FORMAT;
|
|
166
166
|
exports.createPlayerCore = createPlayerCore;
|
|
167
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
167
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/player-core-CqR6WVaL.cjs.map
|
|
@@ -78,4 +78,4 @@ function definePresence(tag = 'usa-presence') {
|
|
|
78
78
|
exports.PRESENCE_STATES = PRESENCE_STATES;
|
|
79
79
|
exports.definePresence = definePresence;
|
|
80
80
|
exports.initials = initials;
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/presence-DKDktgSJ.cjs.map
|
|
@@ -74,4 +74,4 @@ function definePresence(tag = 'usa-presence') {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { PRESENCE_STATES as P, definePresence as d, initials as i };
|
|
77
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
77
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/presence-qE-_AKeD.js.map
|
|
@@ -223,4 +223,4 @@ function resolveEasing(easing) {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
export { EASING_MAP as E, PRESETS as P, resolveEasing as a, reversePreset as b, registerPresets as c, resolvePreset as r };
|
|
226
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
226
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/presets-BYBVJVeP.js.map
|
|
@@ -230,4 +230,4 @@ exports.registerPresets = registerPresets;
|
|
|
230
230
|
exports.resolveEasing = resolveEasing;
|
|
231
231
|
exports.resolvePreset = resolvePreset;
|
|
232
232
|
exports.reversePreset = reversePreset;
|
|
233
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
233
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/presets-CUHys3sK.cjs.map
|
|
@@ -201,4 +201,4 @@ function createTimelinePreview(root, doc, o = {}) {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
export { createFixedClock as a, createTimelinePreview as c, interpolateValue as i, sampleTimelineDoc as s };
|
|
204
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
204
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/preview-BNOUoHr9.js.map
|
|
@@ -206,4 +206,4 @@ exports.createFixedClock = createFixedClock;
|
|
|
206
206
|
exports.createTimelinePreview = createTimelinePreview;
|
|
207
207
|
exports.interpolateValue = interpolateValue;
|
|
208
208
|
exports.sampleTimelineDoc = sampleTimelineDoc;
|
|
209
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
209
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/preview-DGpXA2hJ.cjs.map
|
|
@@ -87,4 +87,4 @@ function definePrizeWheel(tag = 'usa-prize-wheel') {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export { definePrizeWheel as d, wheelAngle as w };
|
|
90
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
90
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/prize-wheel-DTpQnQ23.js.map
|
|
@@ -90,4 +90,4 @@ function definePrizeWheel(tag = 'usa-prize-wheel') {
|
|
|
90
90
|
|
|
91
91
|
exports.definePrizeWheel = definePrizeWheel;
|
|
92
92
|
exports.wheelAngle = wheelAngle;
|
|
93
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
93
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/prize-wheel-W_4Wvldc.cjs.map
|
|
@@ -126,4 +126,4 @@ function defineProductGallery(tag = 'usa-product-gallery') {
|
|
|
126
126
|
|
|
127
127
|
exports.defineProductGallery = defineProductGallery;
|
|
128
128
|
exports.wrapIndex = wrapIndex;
|
|
129
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
129
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/product-gallery-B5ra4XHf.cjs.map
|
|
@@ -123,4 +123,4 @@ function defineProductGallery(tag = 'usa-product-gallery') {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export { defineProductGallery as d, wrapIndex as w };
|
|
126
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
126
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/product-gallery-DUr6hkuf.js.map
|
|
@@ -256,4 +256,4 @@ function defineOdometer(tag = 'usa-odometer') {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
export { PROGRESS_VARIANTS as P, defineProgressRing as a, defineOdometer as d };
|
|
259
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
259
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/progress-ring-BS7OogLs.js.map
|
|
@@ -260,4 +260,4 @@ function defineOdometer(tag = 'usa-odometer') {
|
|
|
260
260
|
exports.PROGRESS_VARIANTS = PROGRESS_VARIANTS;
|
|
261
261
|
exports.defineOdometer = defineOdometer;
|
|
262
262
|
exports.defineProgressRing = defineProgressRing;
|
|
263
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.
|
|
263
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v17.6.0/dist/chunks/progress-ring-YtKPU2jM.cjs.map
|