motionary 13.1.0 → 13.3.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 +84 -0
- package/README.md +23 -20
- package/README_ja.md +21 -19
- package/README_zh.md +21 -19
- package/bin/motionary-mcp.mjs +4 -1
- package/dist/chunks/{anim-image-BZChGN-Q.cjs → anim-image-B68xnlYD.cjs} +2 -2
- package/dist/chunks/{anim-image-XoPuTpOe.js → anim-image-teDgsATS.js} +2 -2
- package/dist/chunks/audio-5FOqrAxu.js +1 -1
- package/dist/chunks/audio-DhgfWYZ_.cjs +1 -1
- package/dist/chunks/badge-wall-Bd2dP3J7.js +1 -1
- package/dist/chunks/badge-wall-Q7x5HSe_.cjs +1 -1
- package/dist/chunks/base-nzeN_ux7.js +1 -1
- package/dist/chunks/base-vu_KhBiv.cjs +1 -1
- package/dist/chunks/bg-generator-Dncd000D.cjs +1 -1
- package/dist/chunks/bg-generator-Dxx3s2zQ.js +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-A9ihuDwy.cjs +1 -1
- package/dist/chunks/builtins-hBOeCPXL.js +1 -1
- package/dist/chunks/carousel-Blko8aKV.cjs +1 -1
- package/dist/chunks/carousel-DkQKWBK3.js +1 -1
- package/dist/chunks/cart-drawer-CtX6EQRa.js +1 -1
- package/dist/chunks/cart-drawer-kyj9TlQC.cjs +1 -1
- package/dist/chunks/code-export-B6b27ZiI.js +1 -1
- package/dist/chunks/code-export-DOioRmM9.cjs +1 -1
- package/dist/chunks/color-picker-B6YXJdur.cjs +1 -1
- package/dist/chunks/color-picker-DNTzNylo.js +1 -1
- package/dist/chunks/command-palette-C6XV1glX.js +1 -1
- package/dist/chunks/command-palette-DAQQ_bkg.cjs +1 -1
- package/dist/chunks/core-Bar7NFx7.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-DVGtPabi.js +1 -1
- package/dist/chunks/core-DfkeC4s-.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-E18xla6s.cjs +1 -1
- package/dist/chunks/countdown-Cvef0Kb1.cjs +1 -1
- package/dist/chunks/countdown-Dhp9G96N.js +1 -1
- package/dist/chunks/date-picker-C9iVZUP3.cjs +1 -1
- package/dist/chunks/date-picker-M7n1jZw9.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-6uhO-yfZ.cjs +1 -1
- package/dist/chunks/equalizer-CN6AkBtT.js +1 -1
- package/dist/chunks/festival-banner-ByYX1Oy6.cjs +1 -1
- package/dist/chunks/festival-banner-Dsu53in5.js +1 -1
- package/dist/chunks/field-DcC_zJBH.cjs +1 -1
- package/dist/chunks/field-DeTgNf7K.js +1 -1
- package/dist/chunks/fx-lszndeFU.cjs +1 -1
- package/dist/chunks/fx-qAVpKs8e.js +1 -1
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-_Ure0n-p.js → gl-scene-CUTsZPTZ.js} +3 -3
- package/dist/chunks/{gl-scene-DqD4O5Se.cjs → gl-scene-DwcPxX2X.cjs} +3 -3
- package/dist/chunks/globe-CzQ6nQ-o.js +1 -1
- package/dist/chunks/globe-Dms25CB5.cjs +1 -1
- package/dist/chunks/gpu-BREsvJpT.cjs +1 -1
- package/dist/chunks/gpu-DdiOOXTP.js +1 -1
- package/dist/chunks/gpu-particles-CbBJ_tIZ.js +1 -1
- package/dist/chunks/gpu-particles-DrjYuSVR.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-CKk8j3zA.js → keyframes-BBke3wIL.js} +2 -2
- package/dist/chunks/{keyframes-CmruOcyD.cjs → keyframes-dsAcxcJv.cjs} +2 -2
- package/dist/chunks/leaderboard-D2Xb0lqP.js +1 -1
- package/dist/chunks/leaderboard-wF-UnLbY.cjs +1 -1
- package/dist/chunks/location-card-BJsN6s34.cjs +1 -1
- package/dist/chunks/location-card-GrQnXfwp.js +1 -1
- package/dist/chunks/lottie-icon-D3fdgfNU.js +1 -1
- package/dist/chunks/lottie-icon-DMkTeHCL.cjs +1 -1
- package/dist/chunks/{lottie-player-B5O7Q-pI.js → lottie-player-CkdMUN-D.js} +2 -2
- package/dist/chunks/{lottie-player-hYzOu799.cjs → lottie-player-hYycf5lY.cjs} +2 -2
- package/dist/chunks/lyrics-CBRdLBDw.cjs +1 -1
- package/dist/chunks/lyrics-jTQwzX9m.js +1 -1
- package/dist/chunks/manifest-Rxf1Mumb.cjs +1 -1
- package/dist/chunks/manifest-pVzW6oyg.js +1 -1
- package/dist/chunks/menu-Bc2M8HMJ.cjs +1 -1
- package/dist/chunks/menu-Ydg47TQx.js +1 -1
- package/dist/chunks/menu-toggle-B1YBlbdJ.cjs +1 -1
- package/dist/chunks/menu-toggle-C-_dv_TN.js +1 -1
- package/dist/chunks/nav-morph-DA-Q4xec.js +1 -1
- package/dist/chunks/nav-morph-kKmG_ocG.cjs +1 -1
- package/dist/chunks/otp-CVUw78Mr.js +1 -1
- package/dist/chunks/otp-Cxz5uFb_.cjs +1 -1
- package/dist/chunks/{pagination-CFAzm6M7.js → pagination-0fuULrSB.js} +4 -1
- package/dist/chunks/{pagination-6RdXWwsW.cjs → pagination-DbqyUpxV.cjs} +4 -1
- package/dist/chunks/{physics-playground-BlCJK3AZ.cjs → physics-playground-5lihsTyh.cjs} +2 -2
- package/dist/chunks/{physics-playground-GegzqXvt.js → physics-playground-_5_slxtj.js} +2 -2
- package/dist/chunks/player-DIwSjUFR.cjs +1 -1
- package/dist/chunks/player-DqUZJ0d_.js +1 -1
- package/dist/chunks/presence-CRfWmNWz.cjs +1 -1
- package/dist/chunks/presence-DfTxVIEf.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/prize-wheel-MOZOrI-p.cjs +1 -1
- package/dist/chunks/prize-wheel-tgpOsdDA.js +1 -1
- package/dist/chunks/product-gallery-BcGA35Ie.js +1 -1
- package/dist/chunks/product-gallery-Bi6I6x1o.cjs +1 -1
- package/dist/chunks/progress-ring-6kTzB49S.js +1 -1
- package/dist/chunks/progress-ring-BO9a3Q24.cjs +1 -1
- package/dist/chunks/prop-panel-DGm8VM4Z.js +1 -1
- package/dist/chunks/prop-panel-_kA6mvB9.cjs +1 -1
- package/dist/chunks/radar-DT93Se3Y.cjs +1 -1
- package/dist/chunks/radar-sKiciNsS.js +1 -1
- package/dist/chunks/reactions-B4xogsDd.js +1 -1
- package/dist/chunks/reactions-BASnlqck.cjs +1 -1
- package/dist/chunks/{registry-CeBi49cV.cjs → registry-BfiEkviv.cjs} +2 -2
- package/dist/chunks/{registry-DG7d_uS7.js → registry-C8rYCsXx.js} +2 -2
- package/dist/chunks/registry-EziiQiWO.cjs +1 -1
- package/dist/chunks/registry-PxXkPc1Q.js +1 -1
- package/dist/chunks/retro-button-BxCv-ybi.js +1 -1
- package/dist/chunks/retro-button-DfuSdfWj.cjs +1 -1
- package/dist/chunks/rive-BHdln8XJ.js +1 -1
- package/dist/chunks/rive-cR-Q9Quh.cjs +1 -1
- package/dist/chunks/{runtime-link-BqIicT9E.js → runtime-link-CeVpMlOJ.js} +2 -2
- package/dist/chunks/{runtime-link-BmkNOjwB.cjs → runtime-link-MABGYSmW.cjs} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-DLfQdq1I.js → scroll-scene-Bn2EQiJd.js} +3 -3
- package/dist/chunks/{scroll-scene-DBAckZVP.cjs → scroll-scene-CmbLFA1m.cjs} +3 -3
- package/dist/chunks/segmented-CbZtwChW.cjs +1 -1
- package/dist/chunks/segmented-DHBqMcAF.js +1 -1
- package/dist/chunks/shader-backdrop-DT1h5Zoc.cjs +1 -1
- package/dist/chunks/shader-backdrop-rrssjdMI.js +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-NsPexafP.cjs → sheet-7UwF69TQ.cjs} +9 -2
- package/dist/chunks/{sheet-YRq-IOIr.js → sheet-C63sKkKn.js} +9 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-DfH6IiUG.cjs +1 -1
- package/dist/chunks/skeleton-reveal-yj2lioib.js +1 -1
- package/dist/chunks/sparkline-CCV_wZ9j.cjs +1 -1
- package/dist/chunks/sparkline-kl8sJ7cP.js +1 -1
- package/dist/chunks/spring-BX7EJst7.js +1 -1
- package/dist/chunks/spring-Q3Y-pHuP.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-D9i2FGGX.cjs +1 -1
- package/dist/chunks/suggestion-chips-fmrwI2Da.js +1 -1
- package/dist/chunks/switch-Db4uTUcj.cjs +1 -1
- package/dist/chunks/switch-DnwGGeZj.js +1 -1
- package/dist/chunks/tab-bar-CSx4fTC9.js +1 -1
- package/dist/chunks/tab-bar-DqzNvlDc.cjs +1 -1
- package/dist/chunks/{ticker-DIuv8agN.js → ticker-DaMSl3Kd.js} +2 -2
- package/dist/chunks/{ticker-D9DzTlll.cjs → ticker-j_dmsse0.cjs} +2 -2
- package/dist/chunks/tip-C8T1SdOJ.js +1 -1
- package/dist/chunks/tip-CIh4O-DZ.cjs +1 -1
- package/dist/chunks/{toast-stack-BIdkYWob.js → toast-stack-COXQ3IOx.js} +5 -3
- package/dist/chunks/{toast-stack-Cs42sjr6.cjs → toast-stack-kHQdNZDv.cjs} +5 -3
- package/dist/chunks/{tween-DbF_MjRO.js → tween-BqIL1A7u.js} +2 -2
- package/dist/chunks/{tween-CDewrfuy.cjs → tween-DQzuHdMx.cjs} +2 -2
- package/dist/chunks/upload-progress-BhyFjwb6.cjs +1 -1
- package/dist/chunks/upload-progress-CXfoNUhm.js +1 -1
- package/dist/chunks/variants-DY08myqK.js +1 -1
- package/dist/chunks/variants-Dk-FItCT.cjs +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +61 -0
- package/dist/chunks/viewport-EFYGqMNa.cjs +65 -0
- package/dist/chunks/voice-button-DdKxtavP.js +1 -1
- package/dist/chunks/voice-button-DudPeVqK.cjs +1 -1
- package/dist/chunks/weather-card-DfXFesfY.cjs +1 -1
- package/dist/chunks/weather-card-Ecgk-JQd.js +1 -1
- package/dist/chunks/worker-canvas-BIuesniy.js +1 -1
- package/dist/chunks/worker-canvas-CEbqBgK5.cjs +1 -1
- package/dist/chunks/xp-bar-BC8UnCHG.cjs +1 -1
- package/dist/chunks/xp-bar-Cx-dMEMT.js +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 +2 -1
- package/dist/components/angular.js +2 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +23 -4
- package/dist/components/bridge.d.cts +19 -1
- package/dist/components/bridge.d.ts +19 -1
- package/dist/components/bridge.js +23 -5
- 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 +4 -4
- package/dist/components/dotlottie.js +4 -4
- 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-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-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 +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +4 -4
- package/dist/components/gl-model.js +4 -4
- 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.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 +105 -12
- package/dist/components/lite.js +105 -13
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.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.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 +1 -1
- package/dist/components/plugins.js +1 -1
- 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/snap-carousel.cjs +3 -3
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +2 -1
- package/dist/components/solid.js +2 -1
- package/dist/components/svelte.cjs +2 -1
- package/dist/components/svelte.js +2 -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.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 +24 -8
- package/dist/components/ui.css +1 -1
- package/dist/components/ui.js +24 -8
- package/dist/components/vue.cjs +2 -1
- package/dist/components/vue.js +2 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +13 -10
- package/dist/components/widgets.d.cts +18 -1
- package/dist/components/widgets.d.ts +18 -1
- package/dist/components/widgets.js +16 -15
- package/dist/components.cjs +5 -3
- package/dist/components.css +1 -1
- package/dist/components.d.cts +19 -1
- package/dist/components.d.ts +19 -1
- package/dist/components.js +5 -4
- package/dist/components.umd.js +4 -23
- 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/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/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/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/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/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/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-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/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/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-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-full.txt +4 -4
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +29 -14
- 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 +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- 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 +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- 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 +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- 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 +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- 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/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/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.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/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/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 +4 -4
- package/dist/widgets/dotlottie.js +4 -4
- 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/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 +4 -4
- package/dist/widgets/gl-model.js +4 -4
- package/dist/widgets/gl-scene.cjs +4 -4
- package/dist/widgets/gl-scene.js +4 -4
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- 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/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-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 +4 -4
- package/dist/widgets/lottie-player.js +4 -4
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.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/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +3 -2
- package/dist/widgets/modal.js +3 -2
- 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-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/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 +3 -2
- package/dist/widgets/pagination.js +3 -2
- 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/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 +4 -4
- package/dist/widgets/physics-playground.js +4 -4
- 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/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- 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/rive.cjs +1 -1
- package/dist/widgets/rive.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 +4 -4
- package/dist/widgets/scroll-scene.js +4 -4
- 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 +3 -2
- package/dist/widgets/sheet.js +3 -2
- 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 +3 -3
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +3 -3
- package/dist/widgets/snap-carousel.js +3 -3
- 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/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.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/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-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/toast-stack.cjs +4 -3
- package/dist/widgets/toast-stack.js +4 -3
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.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/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/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.md +1 -1
- package/docs/browser-matrix.md +1 -0
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-dotlottie.md +2 -2
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-gl-model.md +2 -2
- package/docs/components/usa-gl-scene.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-snap-carousel.md +2 -2
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components.md +18 -2
- package/docs/hybrid-apps.md +3 -0
- package/docs/mobile.md +134 -0
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/release-gate.md +58 -0
- package/docs/versions.md +6 -0
- package/figma-plugin/code.js +5 -3
- package/figma-plugin/plugin-src.js +4 -2
- package/figma-plugin/ui.html +5 -2
- package/package.json +6 -3
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { f as defineElement } from './base-nzeN_ux7.js';
|
|
2
|
+
import { w as watchViewport } from './viewport-BAXHhZLV.js';
|
|
2
3
|
import { p as part } from './shared-o9CtwHmi.js';
|
|
3
|
-
import { b as delegateTriggers } from './sheet-
|
|
4
|
+
import { b as delegateTriggers } from './sheet-C63sKkKn.js';
|
|
4
5
|
|
|
5
|
-
var css = "usa-toast-stack{position:fixed;z-index:2147482000;width:min(360px,calc(100vw - 24px));pointer-events:none;--usa-tstack-bg:#111827;--usa-tstack-fg:#f9fafb}usa-toast-stack[contained]{position:absolute;width:min(360px,calc(100% - 24px))}usa-toast-stack[data-position^=\"bottom\"]{bottom:12px}usa-toast-stack[data-position^=\"top\"]{top:12px}usa-toast-stack[data-position$=\"right\"]{right:12px}usa-toast-stack[data-position$=\"left\"]{left:12px}usa-toast-stack[data-position$=\"center\"]{left:50%;transform:translateX(-50%)}.usa-tstack-list{position:relative;list-style:none;margin:0;padding:0;min-height:1px;transition:height .3s}.usa-tstack{position:absolute;left:0;right:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;padding:12px 12px 12px 14px;border-radius:14px;background:var(--usa-tstack-bg);color:var(--usa-tstack-fg);box-shadow:0 12px 32px -10px rgba(0,0,0,.45);font:500 14px/1.35 system-ui,sans-serif;pointer-events:auto;touch-action:pan-y;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .3s;user-select:none}usa-toast-stack[data-position^=\"bottom\"] .usa-tstack{bottom:0;transform-origin:50% 100%}usa-toast-stack[data-position^=\"top\"] .usa-tstack{top:0;transform-origin:50% 0}.usa-tstack-icon{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;background:#3b82f6;color:#fff}.usa-tstack-success .usa-tstack-icon{background:#22c55e}.usa-tstack-warning .usa-tstack-icon{background:#f59e0b}.usa-tstack-error .usa-tstack-icon{background:#ef4444}.usa-tstack-text{flex:1;min-width:0;display:flex;flex-direction:column}.usa-tstack-text strong{font-weight:700}.usa-tstack-action{border:0;border-radius:8px;padding:6px 10px;background:rgba(255,255,255,.14);color:inherit;font:600 13px system-ui,sans-serif;cursor:pointer}.usa-tstack-close{border:0;background:none;color:inherit;opacity:.6;font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}.usa-tstack-close:hover{opacity:1}@media (prefers-reduced-motion:reduce){.usa-tstack,.usa-tstack-list{transition:none}}";
|
|
6
|
+
var css = "usa-toast-stack{position:fixed;z-index:2147482000;width:min(360px,calc(100vw - 24px));pointer-events:none;--usa-tstack-bg:#111827;--usa-tstack-fg:#f9fafb}usa-toast-stack[contained]{position:absolute;width:min(360px,calc(100% - 24px))}usa-toast-stack[data-position^=\"bottom\"]{bottom:calc(12px + var(--usa-kb,0px))}usa-toast-stack[data-position^=\"top\"]{top:12px}usa-toast-stack[data-position$=\"right\"]{right:12px}usa-toast-stack[data-position$=\"left\"]{left:12px}usa-toast-stack[data-position$=\"center\"]{left:50%;transform:translateX(-50%)}.usa-tstack-list{position:relative;list-style:none;margin:0;padding:0;min-height:1px;transition:height .3s}.usa-tstack{position:absolute;left:0;right:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;padding:12px 12px 12px 14px;border-radius:14px;background:var(--usa-tstack-bg);color:var(--usa-tstack-fg);box-shadow:0 12px 32px -10px rgba(0,0,0,.45);font:500 14px/1.35 system-ui,sans-serif;pointer-events:auto;touch-action:pan-y;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .3s;user-select:none}usa-toast-stack[data-position^=\"bottom\"] .usa-tstack{bottom:0;transform-origin:50% 100%}usa-toast-stack[data-position^=\"top\"] .usa-tstack{top:0;transform-origin:50% 0}.usa-tstack-icon{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;background:#3b82f6;color:#fff}.usa-tstack-success .usa-tstack-icon{background:#22c55e}.usa-tstack-warning .usa-tstack-icon{background:#f59e0b}.usa-tstack-error .usa-tstack-icon{background:#ef4444}.usa-tstack-text{flex:1;min-width:0;display:flex;flex-direction:column}.usa-tstack-text strong{font-weight:700}.usa-tstack-action{border:0;border-radius:8px;padding:6px 10px;background:rgba(255,255,255,.14);color:inherit;font:600 13px system-ui,sans-serif;cursor:pointer}.usa-tstack-close{border:0;background:none;color:inherit;opacity:.6;font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}.usa-tstack-close:hover{opacity:1}@media (prefers-reduced-motion:reduce){.usa-tstack,.usa-tstack-list{transition:none}}";
|
|
6
7
|
|
|
7
8
|
const TOAST_POSITIONS = ['bottom-right', 'bottom-left', 'bottom-center', 'top-right', 'top-left', 'top-center'];
|
|
8
9
|
const ICONS = { info: 'ℹ', success: '✓', warning: '!', error: '✕' };
|
|
@@ -44,6 +45,7 @@ function defineToastStack(tag = 'usa-toast-stack') {
|
|
|
44
45
|
this.listen(this, 'focusin', () => expand(true));
|
|
45
46
|
this.listen(this, 'focusout', (e) => !this.contains(e.relatedTarget) && expand(false));
|
|
46
47
|
this.onCleanup(() => this._timers.forEach((t) => t.h && clearTimeout(t.h)));
|
|
48
|
+
this.onCleanup(watchViewport()); // 13.3.0: bottom stacks sit above the soft keyboard (--usa-kb)
|
|
47
49
|
}
|
|
48
50
|
pause(_id, t) {
|
|
49
51
|
if (!t.h)
|
|
@@ -203,4 +205,4 @@ function installToastTriggers() {
|
|
|
203
205
|
}
|
|
204
206
|
|
|
205
207
|
export { TOAST_POSITIONS as T, defineToastStack as d, stackToast as s };
|
|
206
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
208
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/toast-stack-COXQ3IOx.js.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('./base-vu_KhBiv.cjs');
|
|
4
|
+
var viewport = require('./viewport-EFYGqMNa.cjs');
|
|
4
5
|
var shared = require('./shared-Bf72wLyt.cjs');
|
|
5
|
-
var widgets_modal = require('./sheet-
|
|
6
|
+
var widgets_modal = require('./sheet-7UwF69TQ.cjs');
|
|
6
7
|
|
|
7
|
-
var css = "usa-toast-stack{position:fixed;z-index:2147482000;width:min(360px,calc(100vw - 24px));pointer-events:none;--usa-tstack-bg:#111827;--usa-tstack-fg:#f9fafb}usa-toast-stack[contained]{position:absolute;width:min(360px,calc(100% - 24px))}usa-toast-stack[data-position^=\"bottom\"]{bottom:12px}usa-toast-stack[data-position^=\"top\"]{top:12px}usa-toast-stack[data-position$=\"right\"]{right:12px}usa-toast-stack[data-position$=\"left\"]{left:12px}usa-toast-stack[data-position$=\"center\"]{left:50%;transform:translateX(-50%)}.usa-tstack-list{position:relative;list-style:none;margin:0;padding:0;min-height:1px;transition:height .3s}.usa-tstack{position:absolute;left:0;right:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;padding:12px 12px 12px 14px;border-radius:14px;background:var(--usa-tstack-bg);color:var(--usa-tstack-fg);box-shadow:0 12px 32px -10px rgba(0,0,0,.45);font:500 14px/1.35 system-ui,sans-serif;pointer-events:auto;touch-action:pan-y;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .3s;user-select:none}usa-toast-stack[data-position^=\"bottom\"] .usa-tstack{bottom:0;transform-origin:50% 100%}usa-toast-stack[data-position^=\"top\"] .usa-tstack{top:0;transform-origin:50% 0}.usa-tstack-icon{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;background:#3b82f6;color:#fff}.usa-tstack-success .usa-tstack-icon{background:#22c55e}.usa-tstack-warning .usa-tstack-icon{background:#f59e0b}.usa-tstack-error .usa-tstack-icon{background:#ef4444}.usa-tstack-text{flex:1;min-width:0;display:flex;flex-direction:column}.usa-tstack-text strong{font-weight:700}.usa-tstack-action{border:0;border-radius:8px;padding:6px 10px;background:rgba(255,255,255,.14);color:inherit;font:600 13px system-ui,sans-serif;cursor:pointer}.usa-tstack-close{border:0;background:none;color:inherit;opacity:.6;font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}.usa-tstack-close:hover{opacity:1}@media (prefers-reduced-motion:reduce){.usa-tstack,.usa-tstack-list{transition:none}}";
|
|
8
|
+
var css = "usa-toast-stack{position:fixed;z-index:2147482000;width:min(360px,calc(100vw - 24px));pointer-events:none;--usa-tstack-bg:#111827;--usa-tstack-fg:#f9fafb}usa-toast-stack[contained]{position:absolute;width:min(360px,calc(100% - 24px))}usa-toast-stack[data-position^=\"bottom\"]{bottom:calc(12px + var(--usa-kb,0px))}usa-toast-stack[data-position^=\"top\"]{top:12px}usa-toast-stack[data-position$=\"right\"]{right:12px}usa-toast-stack[data-position$=\"left\"]{left:12px}usa-toast-stack[data-position$=\"center\"]{left:50%;transform:translateX(-50%)}.usa-tstack-list{position:relative;list-style:none;margin:0;padding:0;min-height:1px;transition:height .3s}.usa-tstack{position:absolute;left:0;right:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;padding:12px 12px 12px 14px;border-radius:14px;background:var(--usa-tstack-bg);color:var(--usa-tstack-fg);box-shadow:0 12px 32px -10px rgba(0,0,0,.45);font:500 14px/1.35 system-ui,sans-serif;pointer-events:auto;touch-action:pan-y;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .3s;user-select:none}usa-toast-stack[data-position^=\"bottom\"] .usa-tstack{bottom:0;transform-origin:50% 100%}usa-toast-stack[data-position^=\"top\"] .usa-tstack{top:0;transform-origin:50% 0}.usa-tstack-icon{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;background:#3b82f6;color:#fff}.usa-tstack-success .usa-tstack-icon{background:#22c55e}.usa-tstack-warning .usa-tstack-icon{background:#f59e0b}.usa-tstack-error .usa-tstack-icon{background:#ef4444}.usa-tstack-text{flex:1;min-width:0;display:flex;flex-direction:column}.usa-tstack-text strong{font-weight:700}.usa-tstack-action{border:0;border-radius:8px;padding:6px 10px;background:rgba(255,255,255,.14);color:inherit;font:600 13px system-ui,sans-serif;cursor:pointer}.usa-tstack-close{border:0;background:none;color:inherit;opacity:.6;font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}.usa-tstack-close:hover{opacity:1}@media (prefers-reduced-motion:reduce){.usa-tstack,.usa-tstack-list{transition:none}}";
|
|
8
9
|
|
|
9
10
|
const TOAST_POSITIONS = ['bottom-right', 'bottom-left', 'bottom-center', 'top-right', 'top-left', 'top-center'];
|
|
10
11
|
const ICONS = { info: 'ℹ', success: '✓', warning: '!', error: '✕' };
|
|
@@ -46,6 +47,7 @@ function defineToastStack(tag = 'usa-toast-stack') {
|
|
|
46
47
|
this.listen(this, 'focusin', () => expand(true));
|
|
47
48
|
this.listen(this, 'focusout', (e) => !this.contains(e.relatedTarget) && expand(false));
|
|
48
49
|
this.onCleanup(() => this._timers.forEach((t) => t.h && clearTimeout(t.h)));
|
|
50
|
+
this.onCleanup(viewport.watchViewport()); // 13.3.0: bottom stacks sit above the soft keyboard (--usa-kb)
|
|
49
51
|
}
|
|
50
52
|
pause(_id, t) {
|
|
51
53
|
if (!t.h)
|
|
@@ -207,4 +209,4 @@ function installToastTriggers() {
|
|
|
207
209
|
exports.TOAST_POSITIONS = TOAST_POSITIONS;
|
|
208
210
|
exports.defineToastStack = defineToastStack;
|
|
209
211
|
exports.stackToast = stackToast;
|
|
210
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
212
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/toast-stack-kHQdNZDv.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getTicker } from './ticker-
|
|
1
|
+
import { g as getTicker } from './ticker-DaMSl3Kd.js';
|
|
2
2
|
import { p as parseEase } from './ease-XN8_0sXu.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -397,4 +397,4 @@ function timeline(o = {}) {
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
export { Playable as P, Timeline as T, Tween as a, tween as b, parseValue as p, timeline as t };
|
|
400
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
400
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/tween-BqIL1A7u.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var ticker = require('./ticker-
|
|
3
|
+
var ticker = require('./ticker-j_dmsse0.cjs');
|
|
4
4
|
var ease = require('./ease-HwYZnZat.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -404,4 +404,4 @@ exports.Tween = Tween;
|
|
|
404
404
|
exports.parseValue = parseValue;
|
|
405
405
|
exports.timeline = timeline;
|
|
406
406
|
exports.tween = tween;
|
|
407
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
407
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/tween-DQzuHdMx.cjs.map
|
|
@@ -90,4 +90,4 @@ function defineUploadProgress(tag = 'usa-upload-progress') {
|
|
|
90
90
|
|
|
91
91
|
exports.defineUploadProgress = defineUploadProgress;
|
|
92
92
|
exports.formatBytes = formatBytes;
|
|
93
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
93
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/upload-progress-BhyFjwb6.cjs.map
|
|
@@ -87,4 +87,4 @@ function defineUploadProgress(tag = 'usa-upload-progress') {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export { defineUploadProgress as d, formatBytes as f };
|
|
90
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
90
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/upload-progress-CXfoNUhm.js.map
|
|
@@ -32,4 +32,4 @@ function setVariant(variant, root = typeof document !== 'undefined' ? document.d
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export { VARIANTS as V, adoptVariants as a, setVariant as s };
|
|
35
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
35
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/variants-DY08myqK.js.map
|
|
@@ -36,4 +36,4 @@ function setVariant(variant, root = typeof document !== 'undefined' ? document.d
|
|
|
36
36
|
exports.VARIANTS = VARIANTS;
|
|
37
37
|
exports.adoptVariants = adoptVariants;
|
|
38
38
|
exports.setVariant = setVariant;
|
|
39
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
39
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/variants-Dk-FItCT.cjs.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// While anything watches, <html> carries --usa-vvh (visible height) and --usa-kb (the height the keyboard covers at
|
|
2
|
+
// the bottom of the layout viewport).
|
|
3
|
+
let vpSubs = null;
|
|
4
|
+
const vpSet = (k, v) => {
|
|
5
|
+
const s = document.documentElement.style;
|
|
6
|
+
v === undefined ? s.removeProperty(k) : s.setProperty(k, v + 'px');
|
|
7
|
+
};
|
|
8
|
+
const vpUpdate = (e) => {
|
|
9
|
+
const v = window.visualViewport, h = viewportHeight();
|
|
10
|
+
vpSet('--usa-vvh', h);
|
|
11
|
+
// a pinch-zoom (scale > 1) shrinks the visual viewport too: that is not a keyboard
|
|
12
|
+
vpSet('--usa-kb', v && v.scale < 1.01 ? Math.max(0, Math.round(innerHeight - h - v.offsetTop)) : 0);
|
|
13
|
+
if (e)
|
|
14
|
+
vpSubs?.forEach((f) => f());
|
|
15
|
+
};
|
|
16
|
+
const vpOn = (m, v = window.visualViewport) => {
|
|
17
|
+
window[m]('resize', vpUpdate);
|
|
18
|
+
window[m]('orientationchange', vpUpdate);
|
|
19
|
+
v?.[m]('resize', vpUpdate);
|
|
20
|
+
v?.[m]('scroll', vpUpdate);
|
|
21
|
+
};
|
|
22
|
+
/** The visible viewport height: the layout height minus what the soft keyboard covers (13.3.0). */
|
|
23
|
+
const viewportHeight = () => window.visualViewport?.height || innerHeight;
|
|
24
|
+
/**
|
|
25
|
+
* Watch the visible viewport on phones (13.3.0): `fn` runs when the soft keyboard opens or closes
|
|
26
|
+
* (`visualViewport` resize / scroll), on window resize and on `orientationchange`. While at least one
|
|
27
|
+
* watcher is active, `<html>` has `--usa-vvh` and `--usa-kb` (px). Returns the unsubscribe function;
|
|
28
|
+
* the last one removes every listener and both variables.
|
|
29
|
+
*/
|
|
30
|
+
function watchViewport(fn) {
|
|
31
|
+
const f = () => fn?.();
|
|
32
|
+
if (!vpSubs)
|
|
33
|
+
vpOn('addEventListener'), (vpSubs = new Set());
|
|
34
|
+
vpSubs.add(f);
|
|
35
|
+
vpUpdate();
|
|
36
|
+
return () => {
|
|
37
|
+
if (!vpSubs?.delete(f) || vpSubs.size)
|
|
38
|
+
return;
|
|
39
|
+
vpOn('removeEventListener');
|
|
40
|
+
vpSubs = null;
|
|
41
|
+
vpSet('--usa-vvh');
|
|
42
|
+
vpSet('--usa-kb');
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Keep an open panel on its snap point through rotation and the soft keyboard, and let long content scroll with a
|
|
47
|
+
* finger (`data-scrollable` → `touch-action: pan-y`; short content keeps drag-anywhere). Returns the unsubscribe.
|
|
48
|
+
*/
|
|
49
|
+
function followPanel(p) {
|
|
50
|
+
const fit = () => p.toggleAttribute('data-scrollable', p.scrollHeight > p.clientHeight + 1);
|
|
51
|
+
fit();
|
|
52
|
+
return watchViewport(() => {
|
|
53
|
+
if (p._drag || !p.open)
|
|
54
|
+
return;
|
|
55
|
+
p._pos.jump(p.stops()[p._si] ?? 0);
|
|
56
|
+
fit();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { followPanel as f, viewportHeight as v, watchViewport as w };
|
|
61
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/viewport-BAXHhZLV.js.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// While anything watches, <html> carries --usa-vvh (visible height) and --usa-kb (the height the keyboard covers at
|
|
4
|
+
// the bottom of the layout viewport).
|
|
5
|
+
let vpSubs = null;
|
|
6
|
+
const vpSet = (k, v) => {
|
|
7
|
+
const s = document.documentElement.style;
|
|
8
|
+
v === undefined ? s.removeProperty(k) : s.setProperty(k, v + 'px');
|
|
9
|
+
};
|
|
10
|
+
const vpUpdate = (e) => {
|
|
11
|
+
const v = window.visualViewport, h = viewportHeight();
|
|
12
|
+
vpSet('--usa-vvh', h);
|
|
13
|
+
// a pinch-zoom (scale > 1) shrinks the visual viewport too: that is not a keyboard
|
|
14
|
+
vpSet('--usa-kb', v && v.scale < 1.01 ? Math.max(0, Math.round(innerHeight - h - v.offsetTop)) : 0);
|
|
15
|
+
if (e)
|
|
16
|
+
vpSubs?.forEach((f) => f());
|
|
17
|
+
};
|
|
18
|
+
const vpOn = (m, v = window.visualViewport) => {
|
|
19
|
+
window[m]('resize', vpUpdate);
|
|
20
|
+
window[m]('orientationchange', vpUpdate);
|
|
21
|
+
v?.[m]('resize', vpUpdate);
|
|
22
|
+
v?.[m]('scroll', vpUpdate);
|
|
23
|
+
};
|
|
24
|
+
/** The visible viewport height: the layout height minus what the soft keyboard covers (13.3.0). */
|
|
25
|
+
const viewportHeight = () => window.visualViewport?.height || innerHeight;
|
|
26
|
+
/**
|
|
27
|
+
* Watch the visible viewport on phones (13.3.0): `fn` runs when the soft keyboard opens or closes
|
|
28
|
+
* (`visualViewport` resize / scroll), on window resize and on `orientationchange`. While at least one
|
|
29
|
+
* watcher is active, `<html>` has `--usa-vvh` and `--usa-kb` (px). Returns the unsubscribe function;
|
|
30
|
+
* the last one removes every listener and both variables.
|
|
31
|
+
*/
|
|
32
|
+
function watchViewport(fn) {
|
|
33
|
+
const f = () => fn?.();
|
|
34
|
+
if (!vpSubs)
|
|
35
|
+
vpOn('addEventListener'), (vpSubs = new Set());
|
|
36
|
+
vpSubs.add(f);
|
|
37
|
+
vpUpdate();
|
|
38
|
+
return () => {
|
|
39
|
+
if (!vpSubs?.delete(f) || vpSubs.size)
|
|
40
|
+
return;
|
|
41
|
+
vpOn('removeEventListener');
|
|
42
|
+
vpSubs = null;
|
|
43
|
+
vpSet('--usa-vvh');
|
|
44
|
+
vpSet('--usa-kb');
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Keep an open panel on its snap point through rotation and the soft keyboard, and let long content scroll with a
|
|
49
|
+
* finger (`data-scrollable` → `touch-action: pan-y`; short content keeps drag-anywhere). Returns the unsubscribe.
|
|
50
|
+
*/
|
|
51
|
+
function followPanel(p) {
|
|
52
|
+
const fit = () => p.toggleAttribute('data-scrollable', p.scrollHeight > p.clientHeight + 1);
|
|
53
|
+
fit();
|
|
54
|
+
return watchViewport(() => {
|
|
55
|
+
if (p._drag || !p.open)
|
|
56
|
+
return;
|
|
57
|
+
p._pos.jump(p.stops()[p._si] ?? 0);
|
|
58
|
+
fit();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
exports.followPanel = followPanel;
|
|
63
|
+
exports.viewportHeight = viewportHeight;
|
|
64
|
+
exports.watchViewport = watchViewport;
|
|
65
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/viewport-EFYGqMNa.cjs.map
|
|
@@ -76,4 +76,4 @@ function defineVoiceButton(tag = 'usa-voice-button') {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export { defineVoiceButton as d, waveBars as w };
|
|
79
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
79
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/voice-button-DdKxtavP.js.map
|
|
@@ -79,4 +79,4 @@ function defineVoiceButton(tag = 'usa-voice-button') {
|
|
|
79
79
|
|
|
80
80
|
exports.defineVoiceButton = defineVoiceButton;
|
|
81
81
|
exports.waveBars = waveBars;
|
|
82
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
82
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/voice-button-DudPeVqK.cjs.map
|
|
@@ -88,4 +88,4 @@ function defineWeatherCard(tag = 'usa-weather-card') {
|
|
|
88
88
|
|
|
89
89
|
exports.WEATHER_CONDITIONS = WEATHER_CONDITIONS;
|
|
90
90
|
exports.defineWeatherCard = defineWeatherCard;
|
|
91
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
91
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/weather-card-DfXFesfY.cjs.map
|
|
@@ -85,4 +85,4 @@ function defineWeatherCard(tag = 'usa-weather-card') {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export { WEATHER_CONDITIONS as W, defineWeatherCard as d };
|
|
88
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
88
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/weather-card-Ecgk-JQd.js.map
|
|
@@ -99,4 +99,4 @@ function defineWorkerCanvas(tag = 'usa-worker-canvas') {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
export { WORKER_SCENES as W, WORKER_SCENE_FNS as a, defineWorkerCanvas as d };
|
|
102
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
102
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/worker-canvas-BIuesniy.js.map
|
|
@@ -103,4 +103,4 @@ function defineWorkerCanvas(tag = 'usa-worker-canvas') {
|
|
|
103
103
|
exports.WORKER_SCENES = WORKER_SCENES;
|
|
104
104
|
exports.WORKER_SCENE_FNS = WORKER_SCENE_FNS;
|
|
105
105
|
exports.defineWorkerCanvas = defineWorkerCanvas;
|
|
106
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
106
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/worker-canvas-CEbqBgK5.cjs.map
|
|
@@ -104,4 +104,4 @@ function defineXpBar(tag = 'usa-xp-bar') {
|
|
|
104
104
|
|
|
105
105
|
exports.defineXpBar = defineXpBar;
|
|
106
106
|
exports.levelFor = levelFor;
|
|
107
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
107
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/xp-bar-BC8UnCHG.cjs.map
|
|
@@ -101,4 +101,4 @@ function defineXpBar(tag = 'usa-xp-bar') {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
export { defineXpBar as d, levelFor as l };
|
|
104
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
104
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/chunks/xp-bar-Cx-dMEMT.js.map
|
package/dist/components/a11y.cjs
CHANGED
|
@@ -272,4 +272,4 @@ exports.restoreMotionSensitivity = restoreMotionSensitivity;
|
|
|
272
272
|
exports.setMotionSensitivity = setMotionSensitivity;
|
|
273
273
|
exports.staticAlternative = staticAlternative;
|
|
274
274
|
exports.warnBaseline = warnBaseline;
|
|
275
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
275
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/a11y.cjs.map
|
package/dist/components/a11y.js
CHANGED
|
@@ -255,4 +255,4 @@ function auditMotionA11y(root) {
|
|
|
255
255
|
const ALL_TAGS = Object.values(COMPONENT_CATEGORIES).flat();
|
|
256
256
|
|
|
257
257
|
export { ALL_TAGS, LIVE_REGION_IDS, MOTION_SENSITIVITY, MOTION_SENSITIVITY_LEVELS, SENSITIVITY_CSS, STATIC_ALTERNATIVES, announce, auditMotionA11y, baselineReport, getMotionSensitivity, liveRegion, motionAllowed, restoreMotionSensitivity, setMotionSensitivity, staticAlternative, warnBaseline };
|
|
258
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
258
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/a11y.js.map
|
package/dist/components/ai.cjs
CHANGED
|
@@ -475,4 +475,4 @@ exports.motionSnippet = motionSnippet;
|
|
|
475
475
|
exports.specOf = specOf;
|
|
476
476
|
exports.suggestMotion = suggestMotion;
|
|
477
477
|
exports.validateMotionSpec = validateMotionSpec;
|
|
478
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
478
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/ai.cjs.map
|
package/dist/components/ai.js
CHANGED
|
@@ -464,4 +464,4 @@ async function suggestMotion(text, options = {}) {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
export { MOTION_EFFECTS, MOTION_SPEC_SCHEMA, MOTION_SYSTEM_PROMPT, MOTION_TRIGGERS, describeMotion, intentFromSpec, motionSnippet, specOf, suggestMotion, validateMotionSpec };
|
|
467
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
467
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/ai.js.map
|
|
@@ -19,6 +19,7 @@ require('./cards.cjs');
|
|
|
19
19
|
require('./click.cjs');
|
|
20
20
|
require('../chunks/fx-lszndeFU.cjs');
|
|
21
21
|
require('./ui.cjs');
|
|
22
|
+
require('../chunks/viewport-EFYGqMNa.cjs');
|
|
22
23
|
require('./page.cjs');
|
|
23
24
|
require('./timeline.cjs');
|
|
24
25
|
require('./gesture.cjs');
|
|
@@ -88,4 +89,4 @@ exports.isUsaElement = isUsaElement;
|
|
|
88
89
|
exports.provideUsa = provideUsa;
|
|
89
90
|
exports.usaDetail = usaDetail;
|
|
90
91
|
exports.usaInitializer = usaInitializer;
|
|
91
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
92
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/angular.cjs.map
|
|
@@ -17,6 +17,7 @@ import './cards.js';
|
|
|
17
17
|
import './click.js';
|
|
18
18
|
import '../chunks/fx-qAVpKs8e.js';
|
|
19
19
|
import './ui.js';
|
|
20
|
+
import '../chunks/viewport-BAXHhZLV.js';
|
|
20
21
|
import './page.js';
|
|
21
22
|
import './timeline.js';
|
|
22
23
|
import './gesture.js';
|
|
@@ -79,4 +80,4 @@ function defineUsa(categories) {
|
|
|
79
80
|
const usaDetail = (e) => e.detail;
|
|
80
81
|
|
|
81
82
|
export { USA_TAGS, defineUsa, isUsaElement, provideUsa, usaDetail, usaInitializer };
|
|
82
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
83
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/angular.js.map
|
|
@@ -669,4 +669,4 @@ exports.defineMarquee = defineMarquee;
|
|
|
669
669
|
exports.defineParticles = defineParticles;
|
|
670
670
|
exports.defineWaterRipple = defineWaterRipple;
|
|
671
671
|
exports.fluentPreset = fluentPreset;
|
|
672
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
672
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/background.cjs.map
|
|
@@ -657,4 +657,4 @@ function defineBackgroundComponents() {
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
export { defineAcrylic, defineAurora, defineBackgroundComponents, defineBlobs, defineDotNetwork, defineGrain, defineGridGlow, defineMarquee, defineParticles, defineWaterRipple, fluentPreset };
|
|
660
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
660
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/background.js.map
|
|
@@ -17,7 +17,21 @@ var base = require('../chunks/base-vu_KhBiv.cjs');
|
|
|
17
17
|
*
|
|
18
18
|
* Hosts that can only run script call `window.usaNative.apply({...})`.
|
|
19
19
|
* Samples: examples/native/{winui3,maui,flutter}.
|
|
20
|
+
*
|
|
21
|
+
* Security (13.3.0): `window` messages are accepted only from the page itself
|
|
22
|
+
* (host-injected script) or from native code (no source window). Messages from
|
|
23
|
+
* any other window — an iframe, the opener, an embedding parent — are dropped
|
|
24
|
+
* unless their exact origin is listed in `allowedOrigins`. `isTrustedMessage()`
|
|
25
|
+
* applies the same rule to your own listeners.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Whether a `message` event may drive the bridge (13.3.0): sent by this window itself (host-injected
|
|
29
|
+
* `window.postMessage`) or by native code (no source window), or by a window whose exact origin is in
|
|
30
|
+
* `allowedOrigins`. Use it in your own `message` listeners too.
|
|
20
31
|
*/
|
|
32
|
+
function isTrustedMessage(e, allowedOrigins = []) {
|
|
33
|
+
return !e.source || e.source === win() || (e.origin !== 'null' && [e.origin, '*'].some((o) => allowedOrigins.includes(o)));
|
|
34
|
+
}
|
|
21
35
|
const BRIDGE_PROTOCOL_VERSION = 1;
|
|
22
36
|
const win = () => (typeof window === 'undefined' ? null : window);
|
|
23
37
|
/** Which native shell (if any) hosts this page. */
|
|
@@ -66,6 +80,8 @@ const COLOR = /^(#[0-9a-f]{3,8}|rgba?\([\d\s.,%]+\)|hsla?\([\d\s.,%deg]+\))$/i;
|
|
|
66
80
|
function parseNativeSettings(data) {
|
|
67
81
|
let d = data;
|
|
68
82
|
if (typeof d === 'string') {
|
|
83
|
+
if (d.length > 8192)
|
|
84
|
+
return null; // 13.3.0: settings are tiny — never parse an oversized payload
|
|
69
85
|
try {
|
|
70
86
|
d = JSON.parse(d);
|
|
71
87
|
}
|
|
@@ -128,8 +144,10 @@ function connectNativeShell(options = {}) {
|
|
|
128
144
|
applyNativeSettings(s, options.root);
|
|
129
145
|
options.onSettings?.(s, host);
|
|
130
146
|
};
|
|
131
|
-
|
|
132
|
-
|
|
147
|
+
// WebView2 delivers host messages on chrome.webview only; window messages must pass the origin check (13.3.0)
|
|
148
|
+
const onHost = (e) => handle(e.data);
|
|
149
|
+
const onMessage = (e) => isTrustedMessage(e, options.allowedOrigins) && handle(e.data);
|
|
150
|
+
w.chrome?.webview?.addEventListener?.('message', onHost);
|
|
133
151
|
w.addEventListener?.('message', onMessage);
|
|
134
152
|
const prev = w.usaNative;
|
|
135
153
|
w.usaNative = { apply: (s) => handle({ ...s, type: 'usa:settings' }), version: BRIDGE_PROTOCOL_VERSION, host };
|
|
@@ -138,7 +156,7 @@ function connectNativeShell(options = {}) {
|
|
|
138
156
|
return {
|
|
139
157
|
host,
|
|
140
158
|
disconnect: () => {
|
|
141
|
-
w.chrome?.webview?.removeEventListener?.('message',
|
|
159
|
+
w.chrome?.webview?.removeEventListener?.('message', onHost);
|
|
142
160
|
w.removeEventListener?.('message', onMessage);
|
|
143
161
|
w.usaNative = prev;
|
|
144
162
|
},
|
|
@@ -149,6 +167,7 @@ exports.BRIDGE_PROTOCOL_VERSION = BRIDGE_PROTOCOL_VERSION;
|
|
|
149
167
|
exports.applyNativeSettings = applyNativeSettings;
|
|
150
168
|
exports.connectNativeShell = connectNativeShell;
|
|
151
169
|
exports.detectNativeHost = detectNativeHost;
|
|
170
|
+
exports.isTrustedMessage = isTrustedMessage;
|
|
152
171
|
exports.parseNativeSettings = parseNativeSettings;
|
|
153
172
|
exports.postToNative = postToNative;
|
|
154
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
173
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/bridge.cjs.map
|
|
@@ -15,6 +15,12 @@ type MotionSensitivity = 'full' | 'gentle' | 'minimal' | 'static';
|
|
|
15
15
|
*
|
|
16
16
|
* Hosts that can only run script call `window.usaNative.apply({...})`.
|
|
17
17
|
* Samples: examples/native/{winui3,maui,flutter}.
|
|
18
|
+
*
|
|
19
|
+
* Security (13.3.0): `window` messages are accepted only from the page itself
|
|
20
|
+
* (host-injected script) or from native code (no source window). Messages from
|
|
21
|
+
* any other window — an iframe, the opener, an embedding parent — are dropped
|
|
22
|
+
* unless their exact origin is listed in `allowedOrigins`. `isTrustedMessage()`
|
|
23
|
+
* applies the same rule to your own listeners.
|
|
18
24
|
*/
|
|
19
25
|
|
|
20
26
|
type NativeHost = 'webview2' | 'maui' | 'flutter' | 'electron' | 'tauri' | 'browser';
|
|
@@ -34,7 +40,19 @@ interface NativeShellOptions {
|
|
|
34
40
|
channel?: string;
|
|
35
41
|
/** Called after settings are applied. */
|
|
36
42
|
onSettings?: (settings: NativeSettings, host: NativeHost) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Exact origins (`https://app.example`) of other windows allowed to send `usa:settings`
|
|
45
|
+
* through `window.postMessage` — e.g. the page that embeds this one in an iframe (13.3.0).
|
|
46
|
+
* Default: none. `'*'` trusts every window (not recommended); opaque `"null"` origins never match.
|
|
47
|
+
*/
|
|
48
|
+
allowedOrigins?: string[];
|
|
37
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Whether a `message` event may drive the bridge (13.3.0): sent by this window itself (host-injected
|
|
52
|
+
* `window.postMessage`) or by native code (no source window), or by a window whose exact origin is in
|
|
53
|
+
* `allowedOrigins`. Use it in your own `message` listeners too.
|
|
54
|
+
*/
|
|
55
|
+
declare function isTrustedMessage(e: MessageEvent, allowedOrigins?: string[]): boolean;
|
|
38
56
|
declare const BRIDGE_PROTOCOL_VERSION = 1;
|
|
39
57
|
/** Which native shell (if any) hosts this page. */
|
|
40
58
|
declare function detectNativeHost(channel?: string): NativeHost;
|
|
@@ -59,5 +77,5 @@ declare function connectNativeShell(options?: NativeShellOptions): {
|
|
|
59
77
|
disconnect: () => void;
|
|
60
78
|
};
|
|
61
79
|
|
|
62
|
-
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, parseNativeSettings, postToNative };
|
|
80
|
+
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, isTrustedMessage, parseNativeSettings, postToNative };
|
|
63
81
|
export type { NativeHost, NativeSettings, NativeShellOptions, NativeTheme };
|
|
@@ -15,6 +15,12 @@ type MotionSensitivity = 'full' | 'gentle' | 'minimal' | 'static';
|
|
|
15
15
|
*
|
|
16
16
|
* Hosts that can only run script call `window.usaNative.apply({...})`.
|
|
17
17
|
* Samples: examples/native/{winui3,maui,flutter}.
|
|
18
|
+
*
|
|
19
|
+
* Security (13.3.0): `window` messages are accepted only from the page itself
|
|
20
|
+
* (host-injected script) or from native code (no source window). Messages from
|
|
21
|
+
* any other window — an iframe, the opener, an embedding parent — are dropped
|
|
22
|
+
* unless their exact origin is listed in `allowedOrigins`. `isTrustedMessage()`
|
|
23
|
+
* applies the same rule to your own listeners.
|
|
18
24
|
*/
|
|
19
25
|
|
|
20
26
|
type NativeHost = 'webview2' | 'maui' | 'flutter' | 'electron' | 'tauri' | 'browser';
|
|
@@ -34,7 +40,19 @@ interface NativeShellOptions {
|
|
|
34
40
|
channel?: string;
|
|
35
41
|
/** Called after settings are applied. */
|
|
36
42
|
onSettings?: (settings: NativeSettings, host: NativeHost) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Exact origins (`https://app.example`) of other windows allowed to send `usa:settings`
|
|
45
|
+
* through `window.postMessage` — e.g. the page that embeds this one in an iframe (13.3.0).
|
|
46
|
+
* Default: none. `'*'` trusts every window (not recommended); opaque `"null"` origins never match.
|
|
47
|
+
*/
|
|
48
|
+
allowedOrigins?: string[];
|
|
37
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Whether a `message` event may drive the bridge (13.3.0): sent by this window itself (host-injected
|
|
52
|
+
* `window.postMessage`) or by native code (no source window), or by a window whose exact origin is in
|
|
53
|
+
* `allowedOrigins`. Use it in your own `message` listeners too.
|
|
54
|
+
*/
|
|
55
|
+
declare function isTrustedMessage(e: MessageEvent, allowedOrigins?: string[]): boolean;
|
|
38
56
|
declare const BRIDGE_PROTOCOL_VERSION = 1;
|
|
39
57
|
/** Which native shell (if any) hosts this page. */
|
|
40
58
|
declare function detectNativeHost(channel?: string): NativeHost;
|
|
@@ -59,5 +77,5 @@ declare function connectNativeShell(options?: NativeShellOptions): {
|
|
|
59
77
|
disconnect: () => void;
|
|
60
78
|
};
|
|
61
79
|
|
|
62
|
-
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, parseNativeSettings, postToNative };
|
|
80
|
+
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, isTrustedMessage, parseNativeSettings, postToNative };
|
|
63
81
|
export type { NativeHost, NativeSettings, NativeShellOptions, NativeTheme };
|
|
@@ -15,7 +15,21 @@ import { c as configureComponents, M as MOTION_SENSITIVITY_LEVELS } from '../chu
|
|
|
15
15
|
*
|
|
16
16
|
* Hosts that can only run script call `window.usaNative.apply({...})`.
|
|
17
17
|
* Samples: examples/native/{winui3,maui,flutter}.
|
|
18
|
+
*
|
|
19
|
+
* Security (13.3.0): `window` messages are accepted only from the page itself
|
|
20
|
+
* (host-injected script) or from native code (no source window). Messages from
|
|
21
|
+
* any other window — an iframe, the opener, an embedding parent — are dropped
|
|
22
|
+
* unless their exact origin is listed in `allowedOrigins`. `isTrustedMessage()`
|
|
23
|
+
* applies the same rule to your own listeners.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Whether a `message` event may drive the bridge (13.3.0): sent by this window itself (host-injected
|
|
27
|
+
* `window.postMessage`) or by native code (no source window), or by a window whose exact origin is in
|
|
28
|
+
* `allowedOrigins`. Use it in your own `message` listeners too.
|
|
18
29
|
*/
|
|
30
|
+
function isTrustedMessage(e, allowedOrigins = []) {
|
|
31
|
+
return !e.source || e.source === win() || (e.origin !== 'null' && [e.origin, '*'].some((o) => allowedOrigins.includes(o)));
|
|
32
|
+
}
|
|
19
33
|
const BRIDGE_PROTOCOL_VERSION = 1;
|
|
20
34
|
const win = () => (typeof window === 'undefined' ? null : window);
|
|
21
35
|
/** Which native shell (if any) hosts this page. */
|
|
@@ -64,6 +78,8 @@ const COLOR = /^(#[0-9a-f]{3,8}|rgba?\([\d\s.,%]+\)|hsla?\([\d\s.,%deg]+\))$/i;
|
|
|
64
78
|
function parseNativeSettings(data) {
|
|
65
79
|
let d = data;
|
|
66
80
|
if (typeof d === 'string') {
|
|
81
|
+
if (d.length > 8192)
|
|
82
|
+
return null; // 13.3.0: settings are tiny — never parse an oversized payload
|
|
67
83
|
try {
|
|
68
84
|
d = JSON.parse(d);
|
|
69
85
|
}
|
|
@@ -126,8 +142,10 @@ function connectNativeShell(options = {}) {
|
|
|
126
142
|
applyNativeSettings(s, options.root);
|
|
127
143
|
options.onSettings?.(s, host);
|
|
128
144
|
};
|
|
129
|
-
|
|
130
|
-
|
|
145
|
+
// WebView2 delivers host messages on chrome.webview only; window messages must pass the origin check (13.3.0)
|
|
146
|
+
const onHost = (e) => handle(e.data);
|
|
147
|
+
const onMessage = (e) => isTrustedMessage(e, options.allowedOrigins) && handle(e.data);
|
|
148
|
+
w.chrome?.webview?.addEventListener?.('message', onHost);
|
|
131
149
|
w.addEventListener?.('message', onMessage);
|
|
132
150
|
const prev = w.usaNative;
|
|
133
151
|
w.usaNative = { apply: (s) => handle({ ...s, type: 'usa:settings' }), version: BRIDGE_PROTOCOL_VERSION, host };
|
|
@@ -136,12 +154,12 @@ function connectNativeShell(options = {}) {
|
|
|
136
154
|
return {
|
|
137
155
|
host,
|
|
138
156
|
disconnect: () => {
|
|
139
|
-
w.chrome?.webview?.removeEventListener?.('message',
|
|
157
|
+
w.chrome?.webview?.removeEventListener?.('message', onHost);
|
|
140
158
|
w.removeEventListener?.('message', onMessage);
|
|
141
159
|
w.usaNative = prev;
|
|
142
160
|
},
|
|
143
161
|
};
|
|
144
162
|
}
|
|
145
163
|
|
|
146
|
-
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, parseNativeSettings, postToNative };
|
|
147
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
164
|
+
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, isTrustedMessage, parseNativeSettings, postToNative };
|
|
165
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/bridge.js.map
|
|
@@ -559,4 +559,4 @@ exports.defineCardComponents = defineCardComponents;
|
|
|
559
559
|
exports.defineCardStack = defineCardStack;
|
|
560
560
|
exports.defineCarousel3d = defineCarousel3d;
|
|
561
561
|
exports.defineStickyStack = defineStickyStack;
|
|
562
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
562
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/cards.cjs.map
|
package/dist/components/cards.js
CHANGED
|
@@ -552,4 +552,4 @@ function defineCardComponents() {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
export { CARD_EFFECTS, defineCard, defineCardComponents, defineCardStack, defineCarousel3d, defineStickyStack };
|
|
555
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
555
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/cards.js.map
|
|
@@ -878,4 +878,4 @@ exports.defineHold = defineHold;
|
|
|
878
878
|
exports.defineIconMorph = defineIconMorph;
|
|
879
879
|
exports.defineLike = defineLike;
|
|
880
880
|
exports.morphPath = morphPath;
|
|
881
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
881
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/click.cjs.map
|
package/dist/components/click.js
CHANGED
|
@@ -864,4 +864,4 @@ function defineClickComponents() {
|
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
export { BUTTON_DEFORMS, CLICK_EFFECTS, MORPH_ICONS, defineButton, defineCheckbox, defineClick, defineClickComponents, defineDoubleTap, defineHold, defineIconMorph, defineLike, haptic, morphPath };
|
|
867
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
867
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.3.0/dist/components/click.js.map
|