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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.8
|
|
8
8
|
- **Import:** `import { definePanorama } from 'motionary/components/widgets'` then `definePanorama();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `src`, `autorotate`, `label`
|
|
11
11
|
- **Events:** `usa:xr`, `usa:xr-request`, `usa:look`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal · **since** 10.4
|
|
8
8
|
- **Import:** `import { defineParallaxLayers } from 'motionary/components/widgets'` then `defineParallaxLayers();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
|
|
11
11
|
- **Events:** `usa:progress`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineParticles } from 'motionary/components/background'` then `defineParticles();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `count`, `color`, `size`, `speed`, `links`, `interactive`, `paused`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.5
|
|
8
8
|
- **Import:** `import { definePauseAll } from 'motionary/components/widgets'` then `definePauseAll();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `label`, `scope`, `resume-label`
|
|
11
11
|
- **Events:** `usa:pause-all`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.6
|
|
8
8
|
- **Import:** `import { definePerfMonitor } from 'motionary/components/widgets'` then `definePerfMonitor();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `corner`, `warn`
|
|
11
11
|
- **Events:** `usa:jank`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.7
|
|
8
8
|
- **Import:** `import { definePhysicsPlayground } from 'motionary/components/widgets'` then `definePhysicsPlayground();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `preset`, `src`, `gravity`, `spawn`, `label`
|
|
11
11
|
- **Events:** `usa:collision`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -31,12 +31,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
31
31
|
3. **CDN:**
|
|
32
32
|
|
|
33
33
|
```html
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
35
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
34
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
35
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/physics.iife.js"></script>
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-scene.iife.js"></script>
|
|
37
37
|
<!-- then the component bundles -->
|
|
38
|
-
<script src="https://unpkg.com/motionary@
|
|
39
|
-
<script src="https://unpkg.com/motionary@
|
|
38
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
39
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
## Minimal example
|
|
@@ -6,7 +6,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
6
6
|
|
|
7
7
|
- **Category:** gesture
|
|
8
8
|
- **Import:** `import { definePinchZoom } from 'motionary/components/gesture'` then `definePinchZoom();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:zoom`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** fx
|
|
8
8
|
- **Import:** `import { definePlayer } from 'motionary/components/effects'` then `definePlayer();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `src`, `trigger`, `loop`, `rate`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.1
|
|
8
8
|
- **Import:** `import { definePluginCard } from 'motionary/components/widgets'` then `definePluginCard();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `name`, `title`, `version`, `author`, `engine`, `downloads`, `integrity`, `src`
|
|
11
11
|
- **Events:** `usa:toggle`, `usa:verified`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -29,10 +29,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
29
29
|
3. **CDN:**
|
|
30
30
|
|
|
31
31
|
```html
|
|
32
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
32
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
33
33
|
<!-- then the component bundles -->
|
|
34
|
-
<script src="https://unpkg.com/motionary@
|
|
35
|
-
<script src="https://unpkg.com/motionary@
|
|
34
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
35
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Minimal example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.0
|
|
8
8
|
- **Import:** `import { definePluginStore } from 'motionary/components/widgets'` then `definePluginStore();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `query`, `label`
|
|
11
11
|
- **Events:** `usa:install`, `usa:install-error`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Click-to-open panel that springs from its trigger; Esc / outside click closes, f
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { definePopover } from 'motionary/components/ui'` then `definePopover();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
6
6
|
|
|
7
7
|
- **Category:** webgl
|
|
8
8
|
- **Import:** `import { definePostFx } from 'motionary/components/webgl'` then `definePostFx();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.4
|
|
8
8
|
- **Import:** `import { definePresence } from 'motionary/components/widgets'` then `definePresence();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `status`, `speaking`, `name`, `src`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** interaction
|
|
8
8
|
- **Import:** `import { definePress } from 'motionary/components/interaction'` then `definePress();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `disabled`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.5
|
|
8
8
|
- **Import:** `import { definePrizeWheel } from 'motionary/components/widgets'` then `definePrizeWheel();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:result`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.3
|
|
8
8
|
- **Import:** `import { defineProductGallery } from 'motionary/components/widgets'` then `defineProductGallery();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `index`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback · **since** 6.4
|
|
8
8
|
- **Import:** `import { defineProgressRing } from 'motionary/components/widgets'` then `defineProgressRing();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `value`, `max`, `gradient`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback
|
|
8
8
|
- **Import:** `import { defineProgress } from 'motionary/components/feedback'` then `defineProgress();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `value`, `max`, `indeterminate`, `label`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.9
|
|
8
8
|
- **Import:** `import { definePropPanel } from 'motionary/components/widgets'` then `definePropPanel();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `for`, `props`, `label`
|
|
11
11
|
- **Events:** `usa:prop`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click · **since** 6.8
|
|
8
8
|
- **Import:** `import { definePullCord } from 'motionary/components/widgets'` then `definePullCord();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { definePullRefresh } from 'motionary/components/ui'` then `definePullRefresh();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.4
|
|
8
8
|
- **Import:** `import { defineRadar } from 'motionary/components/widgets'` then `defineRadar();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `targets`, `rings`, `speed`, `label`
|
|
11
11
|
- **Events:** `usa:ping`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.4
|
|
8
8
|
- **Import:** `import { defineReactions } from 'motionary/components/widgets'` then `defineReactions();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:react`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.1
|
|
8
8
|
- **Import:** `import { defineRedEnvelope } from 'motionary/components/widgets'` then `defineRedEnvelope();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `amount`, `currency`, `message`, `from`
|
|
11
11
|
- **Events:** `usa:open`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.2
|
|
8
8
|
- **Import:** `import { defineRetroButton } from 'motionary/components/widgets'` then `defineRetroButton();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `disabled`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal
|
|
8
8
|
- **Import:** `import { defineReveal } from 'motionary/components/reveal'` then `defineReveal();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `effect`, `distance`, `repeat`, `threshold`, `root-margin`
|
|
11
11
|
- **Events:** `usa:enter`, `usa:leave`, `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Ink ripple from the pointer — or from the centre for Space/Enter — on any bu
|
|
|
6
6
|
|
|
7
7
|
- **Category:** interaction
|
|
8
8
|
- **Import:** `import { defineRipple } from 'motionary/components/interaction'` then `defineRipple();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.6
|
|
8
8
|
- **Import:** `import { defineRive } from 'motionary/components/widgets'` then `defineRive();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `src`, `artboard`, `animation`, `state-machine`, `autoplay`, `fit`, `label`, `runtime-src`
|
|
11
11
|
- **Events:** `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -31,8 +31,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
31
31
|
```html
|
|
32
32
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
33
33
|
<!-- then the component bundles -->
|
|
34
|
-
<script src="https://unpkg.com/motionary@
|
|
35
|
-
<script src="https://unpkg.com/motionary@
|
|
34
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
35
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Minimal example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** transitions · **since** 10.3
|
|
8
8
|
- **Import:** `import { defineRouteTransition } from 'motionary/components/widgets'` then `defineRouteTransition();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `effect`, `engine`, `cross-document`
|
|
11
11
|
- **Events:** `usa:navigate`, `usa:navigated`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.1
|
|
8
8
|
- **Import:** `import { defineScene } from 'motionary/components/widgets'` then `defineScene();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `camera`, `strength`, `autoplay`
|
|
11
11
|
- **Events:** `usa:shot`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Decodes text out of random glyphs, left to right. Trigger on view, hover/focus o
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineScramble } from 'motionary/components/text'` then `defineScramble();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `text`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Words light up one by one as you read down the page, or a highlighter marker swe
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineScrollHighlight } from 'motionary/components/text'` then `defineScrollHighlight();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `mode`, `text`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal
|
|
8
8
|
- **Import:** `import { defineScrollProgress } from 'motionary/components/reveal'` then `defineScrollProgress();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `target`, `label`
|
|
11
11
|
- **Events:** `usa:progress`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal · **since** 10.4
|
|
8
8
|
- **Import:** `import { defineScrollRing } from 'motionary/components/widgets'` then `defineScrollRing();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
11
11
|
- **Events:** `usa:progress`, `usa:top`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal · **since** 10.2
|
|
8
8
|
- **Import:** `import { defineScrollScene } from 'motionary/components/widgets'` then `defineScrollScene();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
11
11
|
- **Events:** `usa:enter`, `usa:leave`, `usa:progress`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -30,11 +30,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
30
30
|
3. **CDN:**
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
33
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
34
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/scroll.iife.js"></script>
|
|
35
35
|
<!-- then the component bundles -->
|
|
36
|
-
<script src="https://unpkg.com/motionary@
|
|
37
|
-
<script src="https://unpkg.com/motionary@
|
|
36
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
37
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Minimal example
|
|
@@ -6,7 +6,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
6
6
|
|
|
7
7
|
- **Category:** reveal
|
|
8
8
|
- **Import:** `import { defineScrolly } from 'motionary/components/reveal'` then `defineScrolly();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `offset`
|
|
11
11
|
- **Events:** `usa:step`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.7
|
|
8
8
|
- **Import:** `import { defineSegmented } from 'motionary/components/widgets'` then `defineSegmented();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.5
|
|
8
8
|
- **Import:** `import { defineShaderBackdrop } from 'motionary/components/widgets'` then `defineShaderBackdrop();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `preset`, `post`, `colors`, `speed`, `intensity`, `label`
|
|
11
11
|
- **Events:** `usa:backend`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
6
6
|
|
|
7
7
|
- **Category:** webgl
|
|
8
8
|
- **Import:** `import { defineShader } from 'motionary/components/webgl'` then `defineShader();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** transitions · **since** 6.3
|
|
8
8
|
- **Import:** `import { defineSheet } from 'motionary/components/widgets'` then `defineSheet();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineShimmerText } from 'motionary/components/text'` then `defineShimmerText();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `duration`, `color`, `shine`, `angle`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.9
|
|
8
8
|
- **Import:** `import { defineShortcut } from 'motionary/components/widgets'` then `defineShortcut();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `keys`, `label`, `listen`, `for`
|
|
11
11
|
- **Events:** `usa:trigger`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback · **since** 6.4
|
|
8
8
|
- **Import:** `import { defineSkeletonReveal } from 'motionary/components/widgets'` then `defineSkeletonReveal();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `loading`, `variant`
|
|
11
11
|
- **Events:** `usa:reveal`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback
|
|
8
8
|
- **Import:** `import { defineSkeleton } from 'motionary/components/feedback'` then `defineSkeleton();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `loading`, `lines`, `width`, `height`, `circle`, `avatar`, `radius`
|
|
11
11
|
- **Events:** `usa:loaded`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.5
|
|
8
8
|
- **Import:** `import { defineSketchChart } from 'motionary/components/widgets'` then `defineSketchChart();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `values`, `labels`, `type`, `color`, `label`
|
|
11
11
|
- **Events:** `usa:drawn`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineSlider } from 'motionary/components/ui'` then `defineSlider();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `min`, `max`, `disabled`, `label`
|
|
11
11
|
- **Events:** `usa:input`, `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** interaction · **since** 10.4
|
|
8
8
|
- **Import:** `import { defineSmoothScroll } from 'motionary/components/widgets'` then `defineSmoothScroll();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
|
|
11
11
|
- **Events:** `usa:scroll`, `usa:ready`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -30,11 +30,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
30
30
|
3. **CDN:**
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
33
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
34
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/smooth.iife.js"></script>
|
|
35
35
|
<!-- then the component bundles -->
|
|
36
|
-
<script src="https://unpkg.com/motionary@
|
|
37
|
-
<script src="https://unpkg.com/motionary@
|
|
36
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
37
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Minimal example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.8
|
|
8
8
|
- **Import:** `import { defineSnapCarousel } from 'motionary/components/snap-carousel'` then `defineSnapCarousel();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`
|
|
11
11
|
- **Events:** `usa:change`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -30,11 +30,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
30
30
|
3. **CDN:**
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
33
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
34
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/drag-snap.iife.js"></script>
|
|
35
35
|
<!-- then the component bundles -->
|
|
36
|
-
<script src="https://unpkg.com/motionary@
|
|
37
|
-
<script src="https://unpkg.com/motionary@
|
|
36
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
37
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Minimal example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.2
|
|
8
8
|
- **Import:** `import { defineSparkline } from 'motionary/components/widgets'` then `defineSparkline();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `color`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.8
|
|
8
8
|
- **Import:** `import { defineSpatialCard } from 'motionary/components/widgets'` then `defineSpatialCard();`
|
|
9
|
-
- **CDN:** `<script src="https://unpkg.com/motionary@
|
|
9
|
+
- **CDN:** `<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:focus-depth`
|
|
12
12
|
- **Slots:** —
|