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 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineGlitch } from 'motionary/components/text'` then `defineGlitch();`
|
|
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`, `intensity`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.6
|
|
8
8
|
- **Import:** `import { defineGlobe } from 'motionary/components/widgets'` then `defineGlobe();`
|
|
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:** `markers`, `speed`, `tilt`
|
|
11
11
|
- **Events:** `usa:focus`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.5
|
|
8
8
|
- **Import:** `import { defineGpuParticles } from 'motionary/components/widgets'` then `defineGpuParticles();`
|
|
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:** `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
|
|
11
11
|
- **Events:** `usa:backend`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Text filled with a multi-colour gradient that keeps flowing.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineGradientText } from 'motionary/components/text'` then `defineGradientText();`
|
|
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:** `colors`, `speed`, `angle`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ An SVG-noise grain overlay — no image to ship. animated makes it jitter like f
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineGrain } from 'motionary/components/background'` then `defineGrain();`
|
|
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:** `opacity`, `blend`, `scale`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineGridGlow } from 'motionary/components/background'` then `defineGridGlow();`
|
|
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.7
|
|
8
8
|
- **Import:** `import { defineGyroCard } from 'motionary/components/widgets'` then `defineGyroCard();`
|
|
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:** `max`, `glare`
|
|
11
11
|
- **Events:** `usa:tilt`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text
|
|
8
8
|
- **Import:** `import { defineHandwriting } from 'motionary/components/text'` then `defineHandwriting();`
|
|
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`, `size`, `font`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.4
|
|
8
8
|
- **Import:** `import { defineHeroVideo } from 'motionary/components/widgets'` then `defineHeroVideo();`
|
|
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`, `scrub`, `poster`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineHold } from 'motionary/components/click'` then `defineHold();`
|
|
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`, `disabled`
|
|
11
11
|
- **Events:** `usa:progress`, `usa:confirm`, `usa:cancel`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.4
|
|
8
8
|
- **Import:** `import { defineHudPanel } from 'motionary/components/widgets'` then `defineHudPanel();`
|
|
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:** `title`, `status`, `color`
|
|
11
11
|
- **Events:** `usa:boot`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.0
|
|
8
8
|
- **Import:** `import { defineHydrate } from 'motionary/components/widgets'` then `defineHydrate();`
|
|
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`, `stagger`, `duration`
|
|
11
11
|
- **Events:** `usa:hydrated`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineIconMorph } from 'motionary/components/click'` then `defineIconMorph();`
|
|
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:** `icons`, `size`, `toggle`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.1
|
|
8
8
|
- **Import:** `import { defineInstallButton } from 'motionary/components/widgets'` then `defineInstallButton();`
|
|
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:** `package`, `managers`, `cdn`, `dev`, `manager`
|
|
11
11
|
- **Events:** `usa:copy`
|
|
12
12
|
- **Slots:** —
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
## Minimal example
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
19
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></usa-install-button>
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## ES module
|
|
@@ -27,6 +27,6 @@ import { defineInstallButton } from 'motionary/components/widgets';
|
|
|
27
27
|
defineInstallButton(); // registers <usa-install-button>
|
|
28
28
|
|
|
29
29
|
/* then use it in your HTML:
|
|
30
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
30
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></usa-install-button>
|
|
31
31
|
*/
|
|
32
32
|
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** layout · **since** 6.8
|
|
8
8
|
- **Import:** `import { defineKanban } from 'motionary/components/widgets'` then `defineKanban();`
|
|
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:move`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** timeline · **since** 6.9
|
|
8
8
|
- **Import:** `import { defineKeyframeEditor } from 'motionary/components/widgets'` then `defineKeyframeEditor();`
|
|
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 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.2
|
|
8
8
|
- **Import:** `import { defineKpi } from 'motionary/components/widgets'` then `defineKpi();`
|
|
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`, `delta`, `caption`, `trend`, `invert`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.5
|
|
8
8
|
- **Import:** `import { defineLeaderboard } from 'motionary/components/widgets'` then `defineLeaderboard();`
|
|
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:rank`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A heart that pops with a spring and bursts into particles; aria-pressed, optiona
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click
|
|
8
8
|
- **Import:** `import { defineLike } from 'motionary/components/click'` then `defineLike();`
|
|
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:** `liked`, `count`, `label`, `disabled`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.3
|
|
8
8
|
- **Import:** `import { defineLiquidNav } from 'motionary/components/widgets'` then `defineLiquidNav();`
|
|
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 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
6
6
|
|
|
7
7
|
- **Category:** webgl
|
|
8
8
|
- **Import:** `import { defineLiquid } from 'motionary/components/webgl'` then `defineLiquid();`
|
|
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 slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
6
6
|
|
|
7
7
|
- **Category:** page
|
|
8
8
|
- **Import:** `import { defineLoadingBar } from 'motionary/components/page'` then `defineLoadingBar();`
|
|
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.6
|
|
8
8
|
- **Import:** `import { defineLocationCard } from 'motionary/components/widgets'` then `defineLocationCard();`
|
|
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`, `address`, `lat`, `lon`, `from-lat`, `from-lon`, `distance`, `href`, `unit`
|
|
11
11
|
- **Events:** `usa:arrive`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.2
|
|
8
8
|
- **Import:** `import { defineLottieIcon } from 'motionary/components/widgets'` then `defineLottieIcon();`
|
|
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`, `size`, `color`, `label`, `trigger`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.6
|
|
8
8
|
- **Import:** `import { defineLottiePlayer } from 'motionary/components/widgets'` then `defineLottiePlayer();`
|
|
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`, `animation`, `autoplay`, `loop`, `speed`, `mode`, `segment`, `hover`, `scrub`, `fit`, `background`, `label`
|
|
11
11
|
- **Events:** `usa:complete`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -30,11 +30,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — 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/vector.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** 9.2
|
|
8
8
|
- **Import:** `import { defineLottie } from 'motionary/components/widgets'` then `defineLottie();`
|
|
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`, `loop`, `speed`, `label`
|
|
11
11
|
- **Events:** `usa:error`, `usa:load`, `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text · **since** 7.1
|
|
8
8
|
- **Import:** `import { defineLyrics } from 'motionary/components/widgets'` then `defineLyrics();`
|
|
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:seek`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Content leans toward the pointer when it comes near and springs back. Fine point
|
|
|
6
6
|
|
|
7
7
|
- **Category:** interaction
|
|
8
8
|
- **Import:** `import { defineMagnetic } from 'motionary/components/interaction'` then `defineMagnetic();`
|
|
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:** `strength`, `radius`, `disabled`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A seamless infinite ticker with constant speed, pause on hover, soft edges and v
|
|
|
6
6
|
|
|
7
7
|
- **Category:** background
|
|
8
8
|
- **Import:** `import { defineMarquee } from 'motionary/components/background'` then `defineMarquee();`
|
|
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:** `speed`, `direction`, `gap`, `paused`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Reveal images or sections through a growing mask: circle, diamond, star, iris or
|
|
|
6
6
|
|
|
7
7
|
- **Category:** svg
|
|
8
8
|
- **Import:** `import { defineMaskReveal } from 'motionary/components/svg'` then `defineMaskReveal();`
|
|
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 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** layout · **since** 6.5
|
|
8
8
|
- **Import:** `import { defineMasonryFlow } from 'motionary/components/widgets'` then `defineMasonryFlow();`
|
|
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`, `gap`
|
|
11
11
|
- **Events:** `usa:layout`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
6
6
|
|
|
7
7
|
- **Category:** layout
|
|
8
8
|
- **Import:** `import { defineMasonry } from 'motionary/components/layout'` then `defineMasonry();`
|
|
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:** `columns`, `min`, `gap`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** click · **since** 6.6
|
|
8
8
|
- **Import:** `import { defineMenuToggle } from 'motionary/components/widgets'` then `defineMenuToggle();`
|
|
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:toggle`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.3
|
|
8
8
|
- **Import:** `import { defineMenu } from 'motionary/components/widgets'` then `defineMenu();`
|
|
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:** `placement`, `effect`
|
|
11
11
|
- **Events:** `usa:select`, `usa:open`, `usa:close`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.4
|
|
8
8
|
- **Import:** `import { defineMessageList } from 'motionary/components/widgets'` then `defineMessageList();`
|
|
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:message`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** timeline · **since** 6.5
|
|
8
8
|
- **Import:** `import { defineMilestones } from 'motionary/components/widgets'` then `defineMilestones();`
|
|
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:** `layout`
|
|
11
11
|
- **Events:** `usa:reach`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** transitions · **since** 6.3
|
|
8
8
|
- **Import:** `import { defineModal } from 'motionary/components/widgets'` then `defineModal();`
|
|
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 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
6
6
|
|
|
7
7
|
- **Category:** svg
|
|
8
8
|
- **Import:** `import { defineMorph } from 'motionary/components/svg'` then `defineMorph();`
|
|
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:** `paths`, `trigger`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.2
|
|
8
8
|
- **Import:** `import { defineMotionInspector } from 'motionary/components/widgets'` then `defineMotionInspector();`
|
|
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:** `scope`, `interval`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.5
|
|
8
8
|
- **Import:** `import { defineMotionPrefs } from 'motionary/components/widgets'` then `defineMotionPrefs();`
|
|
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 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 10.7
|
|
8
8
|
- **Import:** `import { defineMotionPrompt } from 'motionary/components/widgets'` then `defineMotionPrompt();`
|
|
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:** `value`, `format`, `placeholder`, `label`
|
|
11
11
|
- **Events:** `usa:suggest`, `usa:copy`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.7
|
|
8
8
|
- **Import:** `import { defineMotionSpec } from 'motionary/components/widgets'` then `defineMotionSpec();`
|
|
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:** `rules`, `label`
|
|
11
11
|
- **Events:** `usa:copy`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
6
6
|
|
|
7
7
|
- **Category:** page
|
|
8
8
|
- **Import:** `import { defineMotionSwitch } from 'motionary/components/page'` then `defineMotionSwitch();`
|
|
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:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** fx
|
|
8
8
|
- **Import:** `import { defineMotionTheme } from 'motionary/components/effects'` then `defineMotionTheme();`
|
|
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:** `name`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.0
|
|
8
8
|
- **Import:** `import { defineMotion } from 'motionary/components/widgets'` then `defineMotion();`
|
|
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:** `rules`
|
|
11
11
|
- **Events:** `usa:motion-error`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.1
|
|
8
8
|
- **Import:** `import { defineMusicPlayer } from 'motionary/components/widgets'` then `defineMusicPlayer();`
|
|
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:** `title`, `artist`, `cover`, `src`
|
|
11
11
|
- **Events:** `usa:play`, `usa:pause`, `usa:seek`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 9.8
|
|
8
8
|
- **Import:** `import { defineNativePreview } from 'motionary/components/widgets'` then `defineNativePreview();`
|
|
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:** `rules`, `platform`, `name`
|
|
11
11
|
- **Events:** `usa:replay`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.6
|
|
8
8
|
- **Import:** `import { defineNavMorph } from 'motionary/components/widgets'` then `defineNavMorph();`
|
|
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:** `indicator`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui
|
|
8
8
|
- **Import:** `import { defineNavbar } from 'motionary/components/ui'` then `defineNavbar();`
|
|
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:hide`, `usa:show`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.4
|
|
8
8
|
- **Import:** `import { defineNotificationBell } from 'motionary/components/widgets'` then `defineNotificationBell();`
|
|
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:notify`, `usa:read`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** text · **since** 6.4
|
|
8
8
|
- **Import:** `import { defineOdometer } from 'motionary/components/widgets'` then `defineOdometer();`
|
|
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:** `value`, `locale`, `decimals`, `prefix`, `suffix`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 8.3
|
|
8
8
|
- **Import:** `import { defineOrganicCard } from 'motionary/components/widgets'` then `defineOrganicCard();`
|
|
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:** `tint`, `seed`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 7.7
|
|
8
8
|
- **Import:** `import { defineOtp } from 'motionary/components/widgets'` then `defineOtp();`
|
|
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:** `length`, `mode`, `label`
|
|
11
11
|
- **Events:** `usa:complete`
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ A scroll container whose edges stretch with iOS-style rubber-band resistance and
|
|
|
6
6
|
|
|
7
7
|
- **Category:** physics
|
|
8
8
|
- **Import:** `import { defineOverscroll } from 'motionary/components/physics'` then `defineOverscroll();`
|
|
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`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
6
6
|
|
|
7
7
|
- **Category:** packs
|
|
8
8
|
- **Import:** `import { definePack } from 'motionary/components/packs'` then `definePack();`
|
|
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:** `name`
|
|
11
11
|
- **Events:** —
|
|
12
12
|
- **Slots:** —
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **Category:** ui · **since** 6.7
|
|
8
8
|
- **Import:** `import { definePagination } from 'motionary/components/widgets'` then `definePagination();`
|
|
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:** `total`, `siblings`
|
|
11
11
|
- **Events:** `usa:change`
|
|
12
12
|
- **Slots:** —
|