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 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineBadge } from 'motionary/components/ui'` then `defineBadge();`
|
|
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`, `dot`, `label`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.2
|
|
8
8
|
- **Import:** `import { defineBarChart } from 'motionary/components/widgets'` then `defineBarChart();`
|
|
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:** `horizontal`, `unit`, `max`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.3
|
|
8
8
|
- **Import:** `import { defineBgGenerator } from 'motionary/components/widgets'` then `defineBgGenerator();`
|
|
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`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineBlobs } from 'motionary/components/background'` then `defineBlobs();`
|
|
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 @@ A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineBottomSheet } from 'motionary/components/ui'` then `defineBottomSheet();`
|
|
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:** `open`, `snap`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Spring-driven button click deformation: squash & stretch, elastic border-radius
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineButton } from 'motionary/components/click'` then `defineButton();`
|
|
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:** `deform`, `state`, `shape`, `disabled`
|
|
11
11
|
- **Events:** `usa:submit`, `usa:state`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
6
6
|
|
|
7
7
|
- **Category:** cards
|
|
8
8
|
- **Import:** `import { defineCardStack } from 'motionary/components/cards'` then `defineCardStack();`
|
|
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:** `visible`, `offset`, `disabled`
|
|
11
11
|
- **Events:** `usa:swipe`, `usa:empty`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/
|
|
|
6
6
|
|
|
7
7
|
- **Category:** cards
|
|
8
8
|
- **Import:** `import { defineCard } from 'motionary/components/cards'` then `defineCard();`
|
|
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`, `trigger`, `disabled`
|
|
11
11
|
- **Events:** `usa:flip`, `usa:expand`, `usa:collapse`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
6
6
|
|
|
7
7
|
- **Category:** cards
|
|
8
8
|
- **Import:** `import { defineCarousel3d } from 'motionary/components/cards'` then `defineCarousel3d();`
|
|
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:** `radius`, `perspective`, `autoplay`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.2
|
|
8
8
|
- **Import:** `import { defineCarousel } from 'motionary/components/widgets'` then `defineCarousel();`
|
|
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`, `autoplay`, `loop`, `no-controls`, `no-dots`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.3
|
|
8
8
|
- **Import:** `import { defineCartDrawer } from 'motionary/components/widgets'` then `defineCartDrawer();`
|
|
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:open`, `usa:close`, `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.1
|
|
8
8
|
- **Import:** `import { defineChapterNav } from 'motionary/components/widgets'` then `defineChapterNav();`
|
|
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`, `orientation`, `label`
|
|
11
11
|
- **Events:** `usa:chapter`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.8
|
|
8
8
|
- **Import:** `import { defineChatComposer } from 'motionary/components/widgets'` then `defineChatComposer();`
|
|
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:** `placeholder`, `label`, `rows`, `busy`
|
|
11
11
|
- **Events:** `usa:stop`, `usa:send`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ The circle draws itself, then a check, cross or exclamation strokes in with a po
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback
|
|
8
8
|
- **Import:** `import { defineCheck } from 'motionary/components/feedback'` then `defineCheck();`
|
|
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:** `kind`, `size`, `label`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Form-associated checkbox: the box springs and the check draws itself; indetermin
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineCheckbox } from 'motionary/components/click'` then `defineCheckbox();`
|
|
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:** `checked`, `indeterminate`, `disabled`, `label`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, pre
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineClick } from 'motionary/components/click'` then `defineClick();`
|
|
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`, `disabled`
|
|
11
11
|
- **Events:** `usa:click-effect`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.0
|
|
8
8
|
- **Import:** `import { defineClockControl } from 'motionary/components/widgets'` then `defineClockControl();`
|
|
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:** `speeds`, `label`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.9
|
|
8
8
|
- **Import:** `import { defineCodeExport } from 'motionary/components/widgets'` then `defineCodeExport();`
|
|
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`, `formats`
|
|
11
11
|
- **Events:** `usa:copy`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.9
|
|
8
8
|
- **Import:** `import { defineColorPicker } from 'motionary/components/widgets'` then `defineColorPicker();`
|
|
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:** `swatches`
|
|
11
11
|
- **Events:** `usa:change`, `usa:input`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.9
|
|
8
8
|
- **Import:** `import { defineCommandPalette } from 'motionary/components/widgets'` then `defineCommandPalette();`
|
|
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:** `placeholder`, `label`, `hotkey`, `inline`
|
|
11
11
|
- **Events:** `usa:run`, `usa:open`, `usa:close`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** interaction · **since** 6.5
|
|
8
8
|
- **Import:** `import { defineCompare } from 'motionary/components/widgets'` then `defineCompare();`
|
|
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:** `orientation`, `labels`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.3
|
|
8
8
|
- **Import:** `import { defineCountdown } from 'motionary/components/widgets'` then `defineCountdown();`
|
|
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:** `to`, `seconds`
|
|
11
11
|
- **Events:** `usa:tick`, `usa:done`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Counts up to a number when visible, locale-formatted with tabular digits. Set .v
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineCounter } from 'motionary/components/text'` then `defineCounter();`
|
|
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:** `to`, `decimals`, `locale`, `prefix`, `suffix`, `grouping`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** cards · **since** 6.5
|
|
8
8
|
- **Import:** `import { defineCubeGallery } from 'motionary/components/widgets'` then `defineCubeGallery();`
|
|
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:** `axis`, `autoplay`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
6
6
|
|
|
7
7
|
- **Category:** depth
|
|
8
8
|
- **Import:** `import { defineCube } from 'motionary/components/depth'` then `defineCube();`
|
|
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:** `size`, `autoplay`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
6
6
|
|
|
7
7
|
- **Category:** page
|
|
8
8
|
- **Import:** `import { defineCursor } from 'motionary/components/page'` then `defineCursor();`
|
|
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`, `size`, `color`, `hide-native`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.9
|
|
8
8
|
- **Import:** `import { defineDatePicker } from 'motionary/components/widgets'` then `defineDatePicker();`
|
|
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:** `min`, `max`, `first-day`, `locale`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, t
|
|
|
6
6
|
|
|
7
7
|
- **Category:** depth
|
|
8
8
|
- **Import:** `import { defineDepth } from 'motionary/components/depth'` then `defineDepth();`
|
|
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:** `source`, `strength`, `rotate`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
6
6
|
|
|
7
7
|
- **Category:** transitions
|
|
8
8
|
- **Import:** `import { defineDialog } from 'motionary/components/transitions'` then `defineDialog();`
|
|
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:** `open`, `kind`, `label`
|
|
11
11
|
- **Events:** `usa:open`, `usa:beforeclose`, `usa:close`
|
|
12
12
|
- **Slots:** default
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** transitions · **since** 6.2
|
|
8
8
|
- **Import:** `import { defineDisclosure } from 'motionary/components/widgets'` then `defineDisclosure();`
|
|
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:toggle`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
6
6
|
|
|
7
7
|
- **Category:** webgl
|
|
8
8
|
- **Import:** `import { defineDistort } from 'motionary/components/webgl'` then `defineDistort();`
|
|
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** 6.6
|
|
8
8
|
- **Import:** `import { defineDock } from 'motionary/components/widgets'` then `defineDock();`
|
|
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:** `orientation`, `magnify`, `range`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A dot grid that swells and links up with lines around the pointer.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineDotNetwork } from 'motionary/components/background'` then `defineDotNetwork();`
|
|
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.9
|
|
8
8
|
- **Import:** `import { defineDotLottie } from 'motionary/components/dotlottie'` then `defineDotLottie();`
|
|
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:** `theme`, `state-machine`
|
|
11
11
|
- **Events:** `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -31,12 +31,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
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/vector.iife.js"></script>
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.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 @@ Double tap or double click a photo to pop a heart (or any emoji) at the tap poin
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineDoubleTap } from 'motionary/components/click'` then `defineDoubleTap();`
|
|
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:double-tap`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobbl
|
|
|
6
6
|
|
|
7
7
|
- **Category:** physics
|
|
8
8
|
- **Import:** `import { defineDraggable } from 'motionary/components/physics'` then `defineDraggable();`
|
|
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:** `axis`, `disabled`, `preset`
|
|
11
11
|
- **Events:** `usa:settle`, `usa:drag-start`, `usa:drag`, `usa:drag-end`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Every stroke of the SVG inside draws itself — on view, hover, click or scrubbe
|
|
|
6
6
|
|
|
7
7
|
- **Category:** svg
|
|
8
8
|
- **Import:** `import { defineDraw } from 'motionary/components/svg'` then `defineDraw();`
|
|
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:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineDrawer } from 'motionary/components/ui'` then `defineDrawer();`
|
|
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:** interaction · **since** 7.1
|
|
8
8
|
- **Import:** `import { defineEqualizer } from 'motionary/components/widgets'` then `defineEqualizer();`
|
|
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:** `bands`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineFab } from 'motionary/components/ui'` then `defineFab();`
|
|
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:** `direction`, `gap`
|
|
11
11
|
- **Events:** `usa:toggle`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.1
|
|
8
8
|
- **Import:** `import { defineFestivalBanner } from 'motionary/components/widgets'` then `defineFestivalBanner();`
|
|
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:** `theme`, `label`, `dismissible`
|
|
11
11
|
- **Events:** `usa:dismiss`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.7
|
|
8
8
|
- **Import:** `import { defineField } from 'motionary/components/widgets'` then `defineField();`
|
|
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`, `hint`, `error`, `strength`
|
|
11
11
|
- **Events:** `usa:invalid`, `usa:valid`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** feedback · **since** 6.9
|
|
8
8
|
- **Import:** `import { defineFileDrop } from 'motionary/components/widgets'` then `defineFileDrop();`
|
|
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:files`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
6
6
|
|
|
7
7
|
- **Category:** page
|
|
8
8
|
- **Import:** `import { defineFullpage } from 'motionary/components/page'` then `defineFullpage();`
|
|
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:section`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** fx
|
|
8
8
|
- **Import:** `import { defineFx } from 'motionary/components/fx'` then `defineFx();`
|
|
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`, `trigger`, `options`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.2
|
|
8
8
|
- **Import:** `import { defineGauge } from 'motionary/components/widgets'` then `defineGauge();`
|
|
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:** `min`, `max`, `zones`, `unit`, `label`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.3
|
|
8
8
|
- **Import:** `import { defineGenArt } from 'motionary/components/widgets'` then `defineGenArt();`
|
|
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:** `art`, `seed`, `palette`, `label`
|
|
11
11
|
- **Events:** `usa:generate`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** fx
|
|
8
8
|
- **Import:** `import { defineGestureFx } from 'motionary/components/effects'` then `defineGestureFx();`
|
|
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:** `gesture`, `effect`, `options`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.7
|
|
8
8
|
- **Import:** `import { defineGestureSticker } from 'motionary/components/widgets'` then `defineGestureSticker();`
|
|
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:** `min`, `max`, `label`
|
|
11
11
|
- **Events:** `usa:transform`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.9
|
|
8
8
|
- **Import:** `import { defineGlModel } from 'motionary/components/gl-model'` then `defineGlModel();`
|
|
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:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -35,15 +35,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
35
35
|
3. **CDN:**
|
|
36
36
|
|
|
37
37
|
```html
|
|
38
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
39
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
40
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
41
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
39
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
40
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
41
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.iife.js"></script>
|
|
42
42
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
43
43
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
44
44
|
<!-- then the component bundles -->
|
|
45
|
-
<script src="https://unpkg.com/motionary@
|
|
46
|
-
<script src="https://unpkg.com/motionary@
|
|
45
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
46
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
## Minimal example
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
> Generated from the source and the gallery catalog by `scripts/gen-component-docs.mjs` (same data as [components.json](https://harrisoncn.github.io/Motionary/components.json) and [llms-full.txt](https://harrisoncn.github.io/Motionary/llms-full.txt)).
|
|
4
4
|
|
|
5
|
-
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
5
|
+
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.5
|
|
8
8
|
- **Import:** `import { defineGlScene } from 'motionary/components/widgets'` then `defineGlScene();`
|
|
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`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
11
11
|
- **Events:** `usa:error`, `usa:load`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -33,14 +33,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
33
33
|
3. **CDN:**
|
|
34
34
|
|
|
35
35
|
```html
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
37
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
38
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
39
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
40
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
37
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
39
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-obj.iife.js"></script>
|
|
40
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.iife.js"></script>
|
|
41
41
|
<!-- then the component bundles -->
|
|
42
|
-
<script src="https://unpkg.com/motionary@
|
|
43
|
-
<script src="https://unpkg.com/motionary@
|
|
42
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
43
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Minimal example
|
|
@@ -72,7 +72,7 @@ defineGlScene(); // registers <usa-gl-scene>
|
|
|
72
72
|
|
|
73
73
|
### 3D scene (glTF / OBJ)
|
|
74
74
|
|
|
75
|
-
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
75
|
+
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
76
76
|
|
|
77
77
|
```html
|
|
78
78
|
<usa-gl-scene src="/models/chair.glb" controls auto-rotate="20" label="Chair"></usa-gl-scene>
|