motionary 10.9.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +32 -0
- package/README.md +119 -74
- package/README_ja.md +4 -4
- package/README_zh.md +4 -4
- package/dist/chunks/{anim-image-CnZDYmtv.js → anim-image-Btw3j5Qb.js} +2 -2
- package/dist/chunks/{anim-image-CnZDYmtv.js.map → anim-image-Btw3j5Qb.js.map} +1 -1
- package/dist/chunks/{anim-image-D1JZ7wOU.cjs → anim-image-DVv_vtbG.cjs} +2 -2
- package/dist/chunks/{anim-image-D1JZ7wOU.cjs.map → anim-image-DVv_vtbG.cjs.map} +1 -1
- package/dist/chunks/{three-scene-DibsZUID.js → gl-scene-BDA6FlGQ.js} +5 -11
- package/dist/chunks/gl-scene-BDA6FlGQ.js.map +1 -0
- package/dist/chunks/{three-scene-BFZnZuqp.cjs → gl-scene-SO5UU93S.cjs} +3 -10
- package/dist/chunks/gl-scene-SO5UU93S.cjs.map +1 -0
- package/dist/chunks/{keyframes-uYSI-do7.cjs → keyframes-4rb2WShh.cjs} +2 -2
- package/dist/chunks/{keyframes-uYSI-do7.cjs.map → keyframes-4rb2WShh.cjs.map} +1 -1
- package/dist/chunks/{keyframes-CLoYRGjR.js → keyframes-C9poRyzF.js} +2 -2
- package/dist/chunks/{keyframes-CLoYRGjR.js.map → keyframes-C9poRyzF.js.map} +1 -1
- package/dist/chunks/{lottie-player-UJHOl-8L.js → lottie-player-CPdwHhqe.js} +2 -2
- package/dist/chunks/{lottie-player-UJHOl-8L.js.map → lottie-player-CPdwHhqe.js.map} +1 -1
- package/dist/chunks/{lottie-player-Mcpt1H5w.cjs → lottie-player-DD1pnLN2.cjs} +2 -2
- package/dist/chunks/{lottie-player-Mcpt1H5w.cjs.map → lottie-player-DD1pnLN2.cjs.map} +1 -1
- package/dist/chunks/{physics-playground-BxnQyZ_V.cjs → physics-playground-B00t13Nz.cjs} +2 -2
- package/dist/chunks/{physics-playground-BxnQyZ_V.cjs.map → physics-playground-B00t13Nz.cjs.map} +1 -1
- package/dist/chunks/{physics-playground-B19qANJs.js → physics-playground-CluT_Nj9.js} +2 -2
- package/dist/chunks/{physics-playground-B19qANJs.js.map → physics-playground-CluT_Nj9.js.map} +1 -1
- package/dist/chunks/{registry-RJYrdUTF.js → registry-W7pXOwju.js} +3 -3
- package/dist/chunks/{registry-RJYrdUTF.js.map → registry-W7pXOwju.js.map} +1 -1
- package/dist/chunks/{registry-xGDPpmX2.cjs → registry-uaO8pDKn.cjs} +3 -3
- package/dist/chunks/{registry-xGDPpmX2.cjs.map → registry-uaO8pDKn.cjs.map} +1 -1
- package/dist/chunks/{runtime-link-GD9ayzxH.cjs → runtime-link-Bz3rGMsh.cjs} +2 -2
- package/dist/chunks/{runtime-link-GD9ayzxH.cjs.map → runtime-link-Bz3rGMsh.cjs.map} +1 -1
- package/dist/chunks/{runtime-link-CQyKFwE1.js → runtime-link-CP3qaRja.js} +2 -2
- package/dist/chunks/{runtime-link-CQyKFwE1.js.map → runtime-link-CP3qaRja.js.map} +1 -1
- package/dist/chunks/{scroll-scene-C-6sdMtR.cjs → scroll-scene-CeIosbEs.cjs} +3 -3
- package/dist/chunks/{scroll-scene-C-6sdMtR.cjs.map → scroll-scene-CeIosbEs.cjs.map} +1 -1
- package/dist/chunks/{scroll-scene-DtAaP0Aa.js → scroll-scene-eHhGcoDQ.js} +3 -3
- package/dist/chunks/{scroll-scene-DtAaP0Aa.js.map → scroll-scene-eHhGcoDQ.js.map} +1 -1
- package/dist/chunks/{ticker-C4VkAL4Y.js → ticker-D0qF_rV_.js} +2 -2
- package/dist/chunks/{ticker-C4VkAL4Y.js.map → ticker-D0qF_rV_.js.map} +1 -1
- package/dist/chunks/{ticker-DJuzcy1_.cjs → ticker-nshSbZ-Q.cjs} +2 -2
- package/dist/chunks/{ticker-DJuzcy1_.cjs.map → ticker-nshSbZ-Q.cjs.map} +1 -1
- package/dist/chunks/{tween-BHbiOBWO.cjs → tween-Df87h-1G.cjs} +2 -2
- package/dist/chunks/{tween-BHbiOBWO.cjs.map → tween-Df87h-1G.cjs.map} +1 -1
- package/dist/chunks/{tween-CrnzMeOU.js → tween-WepVA7id.js} +2 -2
- package/dist/chunks/{tween-CrnzMeOU.js.map → tween-WepVA7id.js.map} +1 -1
- package/dist/chunks/{worker-canvas-Bkwd1euX.js → worker-canvas-BZNHRLcu.js} +50 -3
- package/dist/chunks/worker-canvas-BZNHRLcu.js.map +1 -0
- package/dist/chunks/{worker-canvas-Ckc3R2Ye.cjs → worker-canvas-DW3VgtxO.cjs} +50 -2
- package/dist/chunks/worker-canvas-DW3VgtxO.cjs.map +1 -0
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.d.cts +2 -1
- package/dist/components/dotlottie.d.ts +2 -1
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/fx-perf.cjs +10 -5
- package/dist/components/fx-perf.cjs.map +1 -1
- package/dist/components/fx-perf.d.cts +6 -1
- package/dist/components/fx-perf.d.ts +6 -1
- package/dist/components/fx-perf.js +11 -6
- package/dist/components/fx-perf.js.map +1 -1
- package/dist/components/fx2.d.cts +6 -1
- package/dist/components/fx2.d.ts +6 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.d.cts +1 -1
- package/dist/components/gl-model.d.ts +1 -1
- package/dist/components/gl-model.js +3 -3
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/widgets.cjs +9 -9
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +10 -9
- package/dist/components/widgets.d.ts +10 -9
- package/dist/components/widgets.js +12 -12
- package/dist/components/widgets.js.map +1 -1
- package/dist/llms-full.txt +301 -312
- package/dist/llms.txt +3 -4
- package/dist/manifest.json +271 -299
- package/dist/runtime/drag-snap.cjs +1 -1
- package/dist/runtime/drag-snap.js +1 -1
- package/dist/runtime/format-apng.cjs +4 -4
- package/dist/runtime/format-apng.js +4 -4
- package/dist/runtime/format-css.cjs +4 -4
- package/dist/runtime/format-css.js +4 -4
- package/dist/runtime/format-gif.cjs +4 -4
- package/dist/runtime/format-gif.js +4 -4
- package/dist/runtime/format-gltf.cjs +1 -1
- package/dist/runtime/format-gltf.js +1 -1
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +1 -1
- package/dist/runtime/format-obj.js +1 -1
- package/dist/runtime/format-scene.cjs +1 -1
- package/dist/runtime/format-scene.js +1 -1
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +4 -4
- package/dist/runtime/format-webp.js +4 -4
- package/dist/runtime/gl.cjs +1 -1
- package/dist/runtime/gl.js +1 -1
- package/dist/runtime/gltf-anim.cjs +1 -1
- package/dist/runtime/gltf-anim.js +1 -1
- package/dist/runtime/gltf-decoders.cjs +1 -1
- package/dist/runtime/gltf-decoders.js +1 -1
- package/dist/runtime/lottie-state.cjs +1 -1
- package/dist/runtime/lottie-state.js +1 -1
- package/dist/runtime/physics.cjs +1 -1
- package/dist/runtime/physics.js +1 -1
- package/dist/runtime/scroll.cjs +2 -2
- package/dist/runtime/scroll.js +2 -2
- package/dist/runtime/smooth.cjs +1 -1
- package/dist/runtime/smooth.js +1 -1
- package/dist/runtime/text.cjs +1 -1
- package/dist/runtime/text.js +1 -1
- package/dist/runtime/vector.cjs +66 -17
- package/dist/runtime/vector.cjs.map +1 -1
- package/dist/runtime/vector.d.cts +30 -6
- package/dist/runtime/vector.d.ts +30 -6
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.iife.js.map +1 -1
- package/dist/runtime/vector.js +65 -18
- package/dist/runtime/vector.js.map +1 -1
- package/dist/runtime.cjs +3 -3
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +1 -1
- package/dist/runtime.iife.js.map +1 -1
- package/dist/runtime.js +5 -5
- package/dist/widgets/dotlottie.cjs +3 -3
- package/dist/widgets/dotlottie.js +3 -3
- package/dist/widgets/gl-model.cjs +3 -3
- package/dist/widgets/gl-model.js +3 -3
- package/dist/widgets/gl-scene.cjs +3 -3
- package/dist/widgets/gl-scene.js +3 -3
- package/dist/widgets/install-button.cjs.map +1 -1
- package/dist/widgets/install-button.js.map +1 -1
- package/dist/widgets/lottie-player.cjs +3 -3
- package/dist/widgets/lottie-player.js +3 -3
- package/dist/widgets/motion-inspector.cjs +1 -1
- package/dist/widgets/motion-inspector.js +1 -1
- package/dist/widgets/physics-playground.cjs +3 -3
- package/dist/widgets/physics-playground.js +3 -3
- package/dist/widgets/plugin-card.cjs +2 -2
- package/dist/widgets/plugin-card.js +2 -2
- package/dist/widgets/scroll-scene.cjs +3 -3
- package/dist/widgets/scroll-scene.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +2 -2
- package/dist/widgets/snap-carousel.js +2 -2
- package/dist/widgets/text-splitter.cjs +2 -2
- package/dist/widgets/text-splitter.js +2 -2
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +44 -4
- package/docs/architecture.md +78 -0
- package/docs/compat-matrix.md +340 -0
- package/docs/components/README.md +1 -5
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +10 -10
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +49 -49
- package/docs/deprecations.md +2 -0
- package/docs/entry-points.md +1 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/upgrading-11.md +2 -2
- package/package.json +1 -11
- package/dist/chunks/three-scene-BFZnZuqp.cjs.map +0 -1
- package/dist/chunks/three-scene-DibsZUID.js.map +0 -1
- package/dist/chunks/worker-canvas-Bkwd1euX.js.map +0 -1
- package/dist/chunks/worker-canvas-Ckc3R2Ye.cjs.map +0 -1
- package/dist/widgets/three-scene.cjs +0 -11
- package/dist/widgets/three-scene.cjs.map +0 -1
- package/dist/widgets/three-scene.d.cts +0 -2
- package/dist/widgets/three-scene.d.ts +0 -2
- package/dist/widgets/three-scene.js +0 -5
- package/dist/widgets/three-scene.js.map +0 -1
- package/docs/components/usa-three-scene.md +0 -20
package/docs/components.md
CHANGED
|
@@ -1329,7 +1329,7 @@ motion.bind(button, 'vhs-glitch', { trigger: 'click' });
|
|
|
1329
1329
|
<usa-plugin-card name="retro" title="Retro" version="1.2.0" author="Motionary" engine="^10.0.0" downloads="12400">
|
|
1330
1330
|
<p>Pixel, CRT, VHS and Y2K effects.</p>
|
|
1331
1331
|
</usa-plugin-card>
|
|
1332
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
1332
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></usa-install-button>
|
|
1333
1333
|
```
|
|
1334
1334
|
|
|
1335
1335
|
| Element | Attributes | Methods / events |
|
|
@@ -1360,10 +1360,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
1360
1360
|
- **CDN:**
|
|
1361
1361
|
|
|
1362
1362
|
```html
|
|
1363
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1363
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1364
1364
|
<!-- then the component bundles -->
|
|
1365
|
-
<script src="https://unpkg.com/motionary@
|
|
1366
|
-
<script src="https://unpkg.com/motionary@
|
|
1365
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1366
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1367
1367
|
```
|
|
1368
1368
|
|
|
1369
1369
|
- **Minimal example:**
|
|
@@ -1391,11 +1391,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
1391
1391
|
- **CDN:**
|
|
1392
1392
|
|
|
1393
1393
|
```html
|
|
1394
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1395
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1394
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1395
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/scroll.iife.js"></script>
|
|
1396
1396
|
<!-- then the component bundles -->
|
|
1397
|
-
<script src="https://unpkg.com/motionary@
|
|
1398
|
-
<script src="https://unpkg.com/motionary@
|
|
1397
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1398
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1399
1399
|
```
|
|
1400
1400
|
|
|
1401
1401
|
- **Minimal example:**
|
|
@@ -1424,11 +1424,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
1424
1424
|
- **CDN:**
|
|
1425
1425
|
|
|
1426
1426
|
```html
|
|
1427
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1428
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1427
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1428
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/text.iife.js"></script>
|
|
1429
1429
|
<!-- then the component bundles -->
|
|
1430
|
-
<script src="https://unpkg.com/motionary@
|
|
1431
|
-
<script src="https://unpkg.com/motionary@
|
|
1430
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1431
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1432
1432
|
```
|
|
1433
1433
|
|
|
1434
1434
|
- **Minimal example:**
|
|
@@ -1454,11 +1454,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
1454
1454
|
- **CDN:**
|
|
1455
1455
|
|
|
1456
1456
|
```html
|
|
1457
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1458
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1457
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1458
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/smooth.iife.js"></script>
|
|
1459
1459
|
<!-- then the component bundles -->
|
|
1460
|
-
<script src="https://unpkg.com/motionary@
|
|
1461
|
-
<script src="https://unpkg.com/motionary@
|
|
1460
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1461
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1462
1462
|
```
|
|
1463
1463
|
|
|
1464
1464
|
- **Minimal example:**
|
|
@@ -1487,14 +1487,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1487
1487
|
- **CDN:**
|
|
1488
1488
|
|
|
1489
1489
|
```html
|
|
1490
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1491
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1492
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1493
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1494
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1490
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1491
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
1492
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
1493
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-obj.iife.js"></script>
|
|
1494
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.iife.js"></script>
|
|
1495
1495
|
<!-- then the component bundles -->
|
|
1496
|
-
<script src="https://unpkg.com/motionary@
|
|
1497
|
-
<script src="https://unpkg.com/motionary@
|
|
1496
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1497
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1498
1498
|
```
|
|
1499
1499
|
|
|
1500
1500
|
- **Minimal example:**
|
|
@@ -1520,11 +1520,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
1520
1520
|
- **CDN:**
|
|
1521
1521
|
|
|
1522
1522
|
```html
|
|
1523
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1524
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1523
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1524
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.iife.js"></script>
|
|
1525
1525
|
<!-- then the component bundles -->
|
|
1526
|
-
<script src="https://unpkg.com/motionary@
|
|
1527
|
-
<script src="https://unpkg.com/motionary@
|
|
1526
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1527
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1528
1528
|
```
|
|
1529
1529
|
|
|
1530
1530
|
- **Minimal example:**
|
|
@@ -1551,8 +1551,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
1551
1551
|
```html
|
|
1552
1552
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
1553
1553
|
<!-- then the component bundles -->
|
|
1554
|
-
<script src="https://unpkg.com/motionary@
|
|
1555
|
-
<script src="https://unpkg.com/motionary@
|
|
1554
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1555
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1556
1556
|
```
|
|
1557
1557
|
|
|
1558
1558
|
- **Minimal example:**
|
|
@@ -1579,12 +1579,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
1579
1579
|
- **CDN:**
|
|
1580
1580
|
|
|
1581
1581
|
```html
|
|
1582
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1583
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1584
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1582
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1583
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/physics.iife.js"></script>
|
|
1584
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-scene.iife.js"></script>
|
|
1585
1585
|
<!-- then the component bundles -->
|
|
1586
|
-
<script src="https://unpkg.com/motionary@
|
|
1587
|
-
<script src="https://unpkg.com/motionary@
|
|
1586
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1587
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1588
1588
|
```
|
|
1589
1589
|
|
|
1590
1590
|
- **Minimal example:**
|
|
@@ -1610,11 +1610,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
1610
1610
|
- **CDN:**
|
|
1611
1611
|
|
|
1612
1612
|
```html
|
|
1613
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1614
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1613
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1614
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/drag-snap.iife.js"></script>
|
|
1615
1615
|
<!-- then the component bundles -->
|
|
1616
|
-
<script src="https://unpkg.com/motionary@
|
|
1617
|
-
<script src="https://unpkg.com/motionary@
|
|
1616
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1617
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1618
1618
|
```
|
|
1619
1619
|
|
|
1620
1620
|
- **Minimal example:**
|
|
@@ -1645,12 +1645,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1645
1645
|
- **CDN:**
|
|
1646
1646
|
|
|
1647
1647
|
```html
|
|
1648
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1649
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1650
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1648
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1649
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.iife.js"></script>
|
|
1650
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.iife.js"></script>
|
|
1651
1651
|
<!-- then the component bundles -->
|
|
1652
|
-
<script src="https://unpkg.com/motionary@
|
|
1653
|
-
<script src="https://unpkg.com/motionary@
|
|
1652
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1653
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1654
1654
|
```
|
|
1655
1655
|
|
|
1656
1656
|
- **Minimal example:**
|
|
@@ -1681,15 +1681,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1681
1681
|
- **CDN:**
|
|
1682
1682
|
|
|
1683
1683
|
```html
|
|
1684
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1685
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1686
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1687
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1684
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1685
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
1686
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
1687
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.iife.js"></script>
|
|
1688
1688
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
1689
1689
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
1690
1690
|
<!-- then the component bundles -->
|
|
1691
|
-
<script src="https://unpkg.com/motionary@
|
|
1692
|
-
<script src="https://unpkg.com/motionary@
|
|
1691
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1692
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1693
1693
|
```
|
|
1694
1694
|
|
|
1695
1695
|
- **Minimal example:**
|
package/docs/deprecations.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Deprecated in 10.9, removed in 11.0
|
|
4
4
|
|
|
5
|
+
**Removed in 11.0.0.** `<usa-three-scene>` / `defineThreeScene()` / `motionary/widgets/three-scene` no longer exist, and a string program that cannot run in a worker is refused (no `new Function` on the main thread).
|
|
6
|
+
|
|
5
7
|
See [upgrading-11.md](./upgrading-11.md) — `<usa-three-scene>` / `defineThreeScene()` (use `<usa-gl-scene>` / `defineGlScene()`, same API), string programs for `offscreenRender()` / `<usa-worker-canvas>` that fall back to the main thread (pass a function). Run `npx usa-codemod-11 --write src`.
|
|
6
8
|
|
|
7
9
|
## Deprecated in 9.9, removed in 10.0 (released)
|
package/docs/entry-points.md
CHANGED
|
@@ -12,7 +12,7 @@ registerPearlescent(); defineFx(); // <usa-fx effect="pearlescent">
|
|
|
12
12
|
|
|
13
13
|
Notes: an effect entry imports its pack file (the effects of a pack share helpers), so its size is the pack’s, not the whole 6.x set. Runtime-powered widgets still need their prerequisites (`use(…)`, see the Requires badge). The group entries (`motionary/components/widgets`, `/fx2`, `/lite`) are unchanged.
|
|
14
14
|
|
|
15
|
-
## Widgets (
|
|
15
|
+
## Widgets (118)
|
|
16
16
|
|
|
17
17
|
| Tag | Import | Define |
|
|
18
18
|
|---|---|---|
|
|
@@ -124,7 +124,6 @@ Notes: an effect entry imports its pack file (the effects of a pack share helper
|
|
|
124
124
|
| `<usa-parallax-layers>` | `motionary/widgets/parallax-layers` | `defineParallaxLayers()` |
|
|
125
125
|
| `<usa-smooth-scroll>` | `motionary/widgets/smooth-scroll` | `defineSmoothScroll()` |
|
|
126
126
|
| `<usa-gl-scene>` | `motionary/widgets/gl-scene` | `defineGlScene()` |
|
|
127
|
-
| `<usa-three-scene>` | `motionary/widgets/three-scene` | `defineThreeScene()` |
|
|
128
127
|
| `<usa-gpu-particles>` | `motionary/widgets/gpu-particles` | `defineGpuParticles()` |
|
|
129
128
|
| `<usa-shader-backdrop>` | `motionary/widgets/shader-backdrop` | `defineShaderBackdrop()` |
|
|
130
129
|
| `<usa-lottie-player>` | `motionary/widgets/lottie-player` | `defineLottiePlayer()` |
|
package/docs/runtime/core.md
CHANGED
|
@@ -13,10 +13,10 @@ Part of Motionary's own zero-dependency runtime. Size budget: **5.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
19
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.js`
|
|
20
20
|
|
|
21
21
|
4. **Import order & registration:** Import motionary/runtime and call use() once at start-up, before any runtime-powered component mounts. CDN: the IIFE registers itself (window.MotionaryRuntime).
|
|
22
22
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **4.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/drag-snap.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/drag-snap.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(dragSnap) also registers the core. CDN: load runtime.iife.js, then runtime/drag-snap.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-apng.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-apng.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatApng) also registers the core. CDN: load runtime.iife.js, then runtime/format-apng.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **2.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-css.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-css.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatCss) also registers the core. CDN: load runtime.iife.js, then runtime/format-css.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gif.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gif.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatGif) also registers the core. CDN: load runtime.iife.js, then runtime/format-gif.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **6.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatGltf) also registers the core. CDN: load runtime.iife.js, then runtime/format-gltf.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **2.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-motion.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-motion.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatMotion) also registers the core. CDN: load runtime.iife.js, then runtime/format-motion.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-obj.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-obj.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatObj) also registers the core. CDN: load runtime.iife.js, then runtime/format-obj.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-scene.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-scene.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatScene) also registers the core. CDN: load runtime.iife.js, then runtime/format-scene.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-sprite.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-sprite.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatSprite) also registers the core. CDN: load runtime.iife.js, then runtime/format-sprite.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **5.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-svg.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-svg.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatSvg) also registers the core. CDN: load runtime.iife.js, then runtime/format-svg.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-webp.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-webp.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(formatWebp) also registers the core. CDN: load runtime.iife.js, then runtime/format-webp.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/gl.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **9.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(gl) also registers the core. CDN: load runtime.iife.js, then runtime/gl.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **4.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(gltfAnim) also registers the core. CDN: load runtime.iife.js, then runtime/gltf-anim.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.0 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(gltfDecoders) also registers the core. CDN: load runtime.iife.js, then runtime/gltf-decoders.iife.js (it registers itself).
|
|
23
23
|
|
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(lottieState) also registers the core. CDN: load runtime.iife.js, then runtime/lottie-state.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/physics.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **10.0 KB gzip** (
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/physics.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/physics.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(physics) also registers the core. CDN: load runtime.iife.js, then runtime/physics.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/scroll.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **4.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/scroll.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/scroll.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(scroll) also registers the core. CDN: load runtime.iife.js, then runtime/scroll.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/smooth.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **3.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/smooth.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/smooth.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(smooth) also registers the core. CDN: load runtime.iife.js, then runtime/smooth.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/text.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **2.5 KB gzip** (e
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/text.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/text.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(text) also registers the core. CDN: load runtime.iife.js, then runtime/text.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/runtime/vector.md
CHANGED
|
@@ -13,11 +13,11 @@ Part of Motionary's own zero-dependency runtime. Size budget: **12.0 KB gzip** (
|
|
|
13
13
|
3. **CDN:**
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@
|
|
20
|
+
ESM from a CDN: `https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.js`
|
|
21
21
|
|
|
22
22
|
4. **Import order & registration:** Register the core first, then the module: use(vector) also registers the core. CDN: load runtime.iife.js, then runtime/vector.iife.js (it registers itself).
|
|
23
23
|
|
package/docs/upgrading-11.md
CHANGED
|
@@ -17,6 +17,6 @@ Stable from 11.0 (semver-protected until 12.0):
|
|
|
17
17
|
- `motionary/runtime` and every `motionary/runtime/<module>` export and module id;
|
|
18
18
|
- the AI manifest **schema v2** (`components.json`, `dist/manifest.json`) and the `motionary-scene@1` format;
|
|
19
19
|
- `motionary-mcp` **2.x** tool names and result shapes (the server has reported 2.0.0 since 10.7; the roadmap's "1.0" label is retired);
|
|
20
|
-
- the compatibility matrix in the README (format × feature,
|
|
20
|
+
- the compatibility matrix — [docs/compat-matrix.md](./compat-matrix.md), summarised in the README (format × feature, generated from the tested module data; a ✅ row is not removed before 12.0).
|
|
21
21
|
|
|
22
|
-
Not changed: npm package names (`motionary`, alias `use-scroll-animate`), CDN paths, the fixed gzip budgets, the individual entry points of 10.8+ components.
|
|
22
|
+
Not changed: npm package names (`motionary`, alias `use-scroll-animate`), CDN paths (only the major moves: `motionary@10` → `motionary@11`), the fixed gzip budgets, the individual entry points of 10.8+ components.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motionary",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Motionary (formerly use-scroll-animate): dependency-free scroll animations + 94 animated Web Components — 214 scroll-reveal presets, card/click/button morphs, physics, page transitions, generative & sound-reactive backgrounds, cursor/gesture effects, themes, micro-interactions, <usa-player>, WebGL. React, Vue, Svelte, Solid, Angular or plain HTML.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -2538,16 +2538,6 @@
|
|
|
2538
2538
|
"default": "./dist/widgets/gl-scene.cjs"
|
|
2539
2539
|
}
|
|
2540
2540
|
},
|
|
2541
|
-
"./widgets/three-scene": {
|
|
2542
|
-
"import": {
|
|
2543
|
-
"types": "./dist/widgets/three-scene.d.ts",
|
|
2544
|
-
"default": "./dist/widgets/three-scene.js"
|
|
2545
|
-
},
|
|
2546
|
-
"require": {
|
|
2547
|
-
"types": "./dist/widgets/three-scene.d.cts",
|
|
2548
|
-
"default": "./dist/widgets/three-scene.cjs"
|
|
2549
|
-
}
|
|
2550
|
-
},
|
|
2551
2541
|
"./widgets/gpu-particles": {
|
|
2552
2542
|
"import": {
|
|
2553
2543
|
"types": "./dist/widgets/gpu-particles.d.ts",
|