motionary 9.9.0 → 10.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/CHANGELOG.md +19 -0
- package/dist/chunks/{audio-C1uFaOKQ.js → audio-D95jwlOh.js} +3 -3
- package/dist/chunks/{audio-C1uFaOKQ.js.map → audio-D95jwlOh.js.map} +1 -1
- package/dist/chunks/{base-DWYNLg6P.js → base-BnRyfuyM.js} +2 -2
- package/dist/chunks/{base-DWYNLg6P.js.map → base-BnRyfuyM.js.map} +1 -1
- package/dist/chunks/{builtins-DoCY96r9.js → builtins-CqIq1zBv.js} +3 -3
- package/dist/chunks/{builtins-DoCY96r9.js.map → builtins-CqIq1zBv.js.map} +1 -1
- package/dist/chunks/{core-DoR4w-E4.js → core-DsGoL9EY.js} +2 -2
- package/dist/chunks/{core-DoR4w-E4.js.map → core-DsGoL9EY.js.map} +1 -1
- package/dist/chunks/{core-BhuojMcL.js → core-XA2yhn1b.js} +2 -2
- package/dist/chunks/{core-BhuojMcL.js.map → core-XA2yhn1b.js.map} +1 -1
- package/dist/chunks/{fx-XBDr7-dH.js → fx-CtnrFEg9.js} +2 -2
- package/dist/chunks/{fx-XBDr7-dH.js.map → fx-CtnrFEg9.js.map} +1 -1
- package/dist/chunks/{gpu-DvLHwLxy.js → gpu-CDcXiNA8.js} +2 -2
- package/dist/chunks/{gpu-DvLHwLxy.js.map → gpu-CDcXiNA8.js.map} +1 -1
- package/dist/chunks/{manifest-BDpbuI-9.js → manifest-D58HXVY-.js} +2 -2
- package/dist/chunks/{manifest-BDpbuI-9.js.map → manifest-D58HXVY-.js.map} +1 -1
- package/dist/chunks/{player-CYGvna09.js → player-48Zy_NBG.js} +4 -4
- package/dist/chunks/{player-CYGvna09.js.map → player-48Zy_NBG.js.map} +1 -1
- package/dist/chunks/{registry-BRM2BRRY.js → registry-gFJRpPES.js} +2 -2
- package/dist/chunks/{registry-BRM2BRRY.js.map → registry-gFJRpPES.js.map} +1 -1
- package/dist/chunks/{spring-CAlkc1co.js → spring-CZDNyqWp.js} +2 -2
- package/dist/chunks/{spring-CAlkc1co.js.map → spring-CZDNyqWp.js.map} +1 -1
- package/dist/chunks/{variants-BBfyVPYm.js → variants-GU3yIL4F.js} +2 -2
- package/dist/chunks/{variants-BBfyVPYm.js.map → variants-GU3yIL4F.js.map} +1 -1
- package/dist/components/a11y.js +2 -2
- package/dist/components/angular.js +8 -8
- package/dist/components/background.js +2 -2
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.js +2 -2
- package/dist/components/click.js +3 -3
- package/dist/components/core.cjs +219 -0
- package/dist/components/core.cjs.map +1 -0
- package/dist/components/core.d.cts +81 -0
- package/dist/components/core.d.ts +81 -0
- package/dist/components/core.js +214 -0
- package/dist/components/core.js.map +1 -0
- package/dist/components/depth.js +3 -3
- package/dist/components/design.js +3 -3
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.js +9 -9
- package/dist/components/engine.js +2 -2
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.js +2 -2
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.js +3 -3
- package/dist/components/fx-light.js +2 -2
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.js +3 -3
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.js +2 -2
- package/dist/components/fx-physics.js +2 -2
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.js +2 -2
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.js +2 -2
- package/dist/components/fx-transitions.js +3 -3
- package/dist/components/fx-video.js +2 -2
- package/dist/components/fx-weather.js +2 -2
- package/dist/components/fx.js +6 -6
- package/dist/components/fx2.cjs +1 -10
- package/dist/components/fx2.cjs.map +1 -1
- package/dist/components/fx2.d.cts +1 -6
- package/dist/components/fx2.d.ts +1 -6
- package/dist/components/fx2.js +7 -15
- package/dist/components/fx2.js.map +1 -1
- package/dist/components/gesture.js +4 -4
- package/dist/components/interaction.js +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/marketplace.js +4 -4
- package/dist/components/native.js +3 -3
- package/dist/components/packs.js +1 -1
- package/dist/components/page.js +3 -3
- package/dist/components/perf.js +2 -2
- package/dist/components/physics.js +3 -3
- package/dist/components/plugins.cjs +138 -0
- package/dist/components/plugins.cjs.map +1 -0
- package/dist/components/plugins.d.cts +120 -0
- package/dist/components/plugins.d.ts +120 -0
- package/dist/components/plugins.js +105 -0
- package/dist/components/plugins.js.map +1 -0
- package/dist/components/reveal.js +1 -1
- package/dist/components/solid.js +8 -8
- package/dist/components/svelte.js +8 -8
- package/dist/components/svg.js +1 -1
- package/dist/components/text.js +2 -2
- package/dist/components/timeline.js +3 -3
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.js +4 -4
- package/dist/components/vue.js +8 -8
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.js +8 -8
- package/dist/components.js +10 -10
- package/dist/index.js +2 -2
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +54 -14
- package/docs/components.md +11 -0
- package/docs/core.md +47 -0
- package/docs/deprecations.md +1 -1
- package/docs/upgrading-10.md +1 -1
- package/package.json +41 -1
package/dist/components/ui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as defineElement, k as clamp, l as caf, r as raf } from '../chunks/base-
|
|
2
|
-
import { d as springEasing, c as createSpring, p as projectInertia, s as snapTo, a as rubberBand } from '../chunks/spring-
|
|
3
|
-
import { a as adoptVariants } from '../chunks/variants-
|
|
4
|
-
export { V as VARIANTS, s as setVariant } from '../chunks/variants-
|
|
1
|
+
import { u as defineElement, k as clamp, l as caf, r as raf } from '../chunks/base-BnRyfuyM.js';
|
|
2
|
+
import { d as springEasing, c as createSpring, p as projectInertia, s as snapTo, a as rubberBand } from '../chunks/spring-CZDNyqWp.js';
|
|
3
|
+
import { a as adoptVariants } from '../chunks/variants-GU3yIL4F.js';
|
|
4
|
+
export { V as VARIANTS, s as setVariant } from '../chunks/variants-GU3yIL4F.js';
|
|
5
5
|
|
|
6
6
|
/** Position a fixed `floating` element next to `anchor`, flipping when it would leave the viewport. */
|
|
7
7
|
function place(floating, anchor, placement = 'top', gap = 8) {
|
package/dist/components/vue.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponents } from '../components.js';
|
|
2
2
|
import './reveal.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
4
4
|
import './text.js';
|
|
5
|
-
import '../chunks/core-
|
|
5
|
+
import '../chunks/core-DsGoL9EY.js';
|
|
6
6
|
import './tokens.js';
|
|
7
7
|
import './interaction.js';
|
|
8
8
|
import './feedback.js';
|
|
9
9
|
import './background.js';
|
|
10
|
-
import '../chunks/variants-
|
|
10
|
+
import '../chunks/variants-GU3yIL4F.js';
|
|
11
11
|
import './transitions.js';
|
|
12
12
|
import './physics.js';
|
|
13
|
-
import '../chunks/spring-
|
|
13
|
+
import '../chunks/spring-CZDNyqWp.js';
|
|
14
14
|
import './cards.js';
|
|
15
15
|
import './click.js';
|
|
16
|
-
import '../chunks/fx-
|
|
16
|
+
import '../chunks/fx-CtnrFEg9.js';
|
|
17
17
|
import './ui.js';
|
|
18
18
|
import './page.js';
|
|
19
19
|
import './timeline.js';
|
|
20
20
|
import './gesture.js';
|
|
21
|
-
import '../chunks/core-
|
|
21
|
+
import '../chunks/core-XA2yhn1b.js';
|
|
22
22
|
import './svg.js';
|
|
23
23
|
import './webgl.js';
|
|
24
24
|
import './depth.js';
|
|
25
25
|
import './layout.js';
|
|
26
26
|
import './packs.js';
|
|
27
27
|
import './fx.js';
|
|
28
|
-
import '../chunks/registry-
|
|
29
|
-
import '../chunks/builtins-
|
|
28
|
+
import '../chunks/registry-gFJRpPES.js';
|
|
29
|
+
import '../chunks/builtins-CqIq1zBv.js';
|
|
30
30
|
import './a11y.js';
|
|
31
31
|
import '../chunks/index-tags-B-JBecYg.js';
|
|
32
32
|
import './perf.js';
|
package/dist/components/webgl.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as defineElement, q as now, k as clamp, l as caf, r as raf } from '../chunks/base-
|
|
1
|
+
import { u as defineElement, q as now, k as clamp, l as caf, r as raf } from '../chunks/base-BnRyfuyM.js';
|
|
2
2
|
|
|
3
3
|
/** Minimal WebGL runner: one full-canvas quad, one fragment shader, optional image texture. */
|
|
4
4
|
const VERTEX = 'attribute vec2 p;varying vec2 v_uv;void main(){v_uv=p*.5+.5;gl_Position=vec4(p,0.,1.);}';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as defineElement, k as clamp, y as getClock, x as setClock, v as onClockChange, o as onFrame, s as schedulerStats, b as activeAnimations } from '../chunks/base-
|
|
2
|
-
import { d as springEasing } from '../chunks/spring-
|
|
3
|
-
import { A as ANIMATION_FORMAT, c as createPlayer } from '../chunks/player-
|
|
4
|
-
import { getEffect, playEffect } from '../chunks/registry-
|
|
5
|
-
import '../chunks/builtins-
|
|
1
|
+
import { u as defineElement, k as clamp, y as getClock, x as setClock, v as onClockChange, o as onFrame, s as schedulerStats, b as activeAnimations } from '../chunks/base-BnRyfuyM.js';
|
|
2
|
+
import { d as springEasing } from '../chunks/spring-CZDNyqWp.js';
|
|
3
|
+
import { A as ANIMATION_FORMAT, c as createPlayer } from '../chunks/player-48Zy_NBG.js';
|
|
4
|
+
import { getEffect, playEffect } from '../chunks/registry-gFJRpPES.js';
|
|
5
|
+
import '../chunks/builtins-CqIq1zBv.js';
|
|
6
6
|
import { registerShopPack } from './fx-shop.js';
|
|
7
7
|
import { HYDRATE_PRESETS, createTimeline } from './engine.js';
|
|
8
8
|
import { blobRadius } from './fx-organic.js';
|
|
@@ -20,10 +20,10 @@ import { loadMotionPreferences, applyMotionPreferences } from './fx-safe.js';
|
|
|
20
20
|
import { fpsMeter, offscreenRender } from './fx-perf.js';
|
|
21
21
|
import { motionToCss, easingPoints } from './design.js';
|
|
22
22
|
import { toFlutter, toReactNative, entranceFrom } from './native.js';
|
|
23
|
-
import '../chunks/core-
|
|
23
|
+
import '../chunks/core-DsGoL9EY.js';
|
|
24
24
|
import './tokens.js';
|
|
25
|
-
import '../chunks/fx-
|
|
26
|
-
import '../chunks/manifest-
|
|
25
|
+
import '../chunks/fx-CtnrFEg9.js';
|
|
26
|
+
import '../chunks/manifest-D58HXVY-.js';
|
|
27
27
|
|
|
28
28
|
/** Helpers shared by the 6.x widgets (`motionary/components/widgets`). */
|
|
29
29
|
const clampN = (v, a, b) => Math.min(b, Math.max(a, v));
|
package/dist/components.js
CHANGED
|
@@ -36,21 +36,21 @@ import { definePacksComponents } from './components/packs.js';
|
|
|
36
36
|
export { PACKS, PACK_PRIMITIVES, applyPack, countUp, definePack, flyToCart } from './components/packs.js';
|
|
37
37
|
import { defineFxComponents } from './components/fx.js';
|
|
38
38
|
export { defineFx, registerBuiltinEffects } from './components/fx.js';
|
|
39
|
-
import { a as adoptVariants } from './chunks/variants-
|
|
40
|
-
export { V as VARIANTS, s as setVariant } from './chunks/variants-
|
|
41
|
-
import { c as canDefine } from './chunks/base-
|
|
42
|
-
export { M as MOTION_SCALE, a as MOTION_SENSITIVITY_LEVELS, b as activeAnimations, d as adaptKeyframes, e as animateWithMotion, f as animationBudget, g as configureComponents, h as getMotionIntensity, i as getMotionSensitivity, m as motionScale, o as onFrame, p as prefersReducedMotion, s as schedulerStats, j as setAnimationBudget, w as withoutDeprecations } from './chunks/base-
|
|
39
|
+
import { a as adoptVariants } from './chunks/variants-GU3yIL4F.js';
|
|
40
|
+
export { V as VARIANTS, s as setVariant } from './chunks/variants-GU3yIL4F.js';
|
|
41
|
+
import { c as canDefine } from './chunks/base-BnRyfuyM.js';
|
|
42
|
+
export { M as MOTION_SCALE, a as MOTION_SENSITIVITY_LEVELS, b as activeAnimations, d as adaptKeyframes, e as animateWithMotion, f as animationBudget, g as configureComponents, h as getMotionIntensity, i as getMotionSensitivity, m as motionScale, o as onFrame, p as prefersReducedMotion, s as schedulerStats, j as setAnimationBudget, w as withoutDeprecations } from './chunks/base-BnRyfuyM.js';
|
|
43
43
|
export { MOTION_TOKENS, applyMotionTokens, getMotionTokens, importMotionTokens, mergeMotionTokens, motionToken, motionTokensToCss, motionTokensToJSON, motionTokensToVars, motionVar, parseDuration, parseEasing, resolveDurationToken, resolveEasingToken } from './components/tokens.js';
|
|
44
44
|
export { ALL_TAGS, LIVE_REGION_IDS, MOTION_SENSITIVITY, SENSITIVITY_CSS, STATIC_ALTERNATIVES, announce, auditMotionA11y, baselineReport, liveRegion, motionAllowed, restoreMotionSensitivity, setMotionSensitivity, staticAlternative, warnBaseline } from './components/a11y.js';
|
|
45
45
|
export { autoDegrade, categoryOf, loadCategoryStyles, loadedStyles, onDemandStyles } from './components/perf.js';
|
|
46
46
|
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, parseNativeSettings, postToNative } from './components/bridge.js';
|
|
47
47
|
export { C as COMPONENT_CATEGORIES } from './chunks/index-tags-B-JBecYg.js';
|
|
48
|
-
export { B as BUILTIN_EFFECTS } from './chunks/builtins-
|
|
49
|
-
export { EFFECT_KINDS, EFFECT_TRIGGERS, bindEffect, getEffect, hasEffect, listEffects, playEffect, registerEffect, registerEffects } from './chunks/registry-
|
|
50
|
-
export { S as SPRING_PRESETS, c as createSpring, l as linearEasing, p as projectInertia, r as resolveSpring, a as rubberBand, s as snapTo, b as spring, d as springEasing, e as springSamples, f as stepSpring, g as supportsLinearEasing } from './chunks/spring-
|
|
51
|
-
export { T as TIMELINE_PRESETS, r as resolvePosition, s as supportsNativeScrub, t as timeline } from './chunks/core-
|
|
52
|
-
export { g as gesture, p as pinchScale, s as swipeDirection } from './chunks/core-
|
|
53
|
-
export { h as haptic } from './chunks/fx-
|
|
48
|
+
export { B as BUILTIN_EFFECTS } from './chunks/builtins-CqIq1zBv.js';
|
|
49
|
+
export { EFFECT_KINDS, EFFECT_TRIGGERS, bindEffect, getEffect, hasEffect, listEffects, playEffect, registerEffect, registerEffects } from './chunks/registry-gFJRpPES.js';
|
|
50
|
+
export { S as SPRING_PRESETS, c as createSpring, l as linearEasing, p as projectInertia, r as resolveSpring, a as rubberBand, s as snapTo, b as spring, d as springEasing, e as springSamples, f as stepSpring, g as supportsLinearEasing } from './chunks/spring-CZDNyqWp.js';
|
|
51
|
+
export { T as TIMELINE_PRESETS, r as resolvePosition, s as supportsNativeScrub, t as timeline } from './chunks/core-DsGoL9EY.js';
|
|
52
|
+
export { g as gesture, p as pinchScale, s as swipeDirection } from './chunks/core-XA2yhn1b.js';
|
|
53
|
+
export { h as haptic } from './chunks/fx-CtnrFEg9.js';
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* motionary/components
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as resolveTargets, h as hasDOM, s as supportsObserver, g as getScrollProgress, d as prefersReducedMotion, c as createScrollAnimate } from './chunks/core-D7cVumUu.js';
|
|
2
2
|
export { e as supportsScrollTimeline } from './chunks/core-D7cVumUu.js';
|
|
3
3
|
export { s as staggerChildren } from './chunks/stagger-DtMKo2SK.js';
|
|
4
|
-
export { T as TIMELINE_PRESETS, r as resolvePosition, s as supportsNativeScrub, t as timeline } from './chunks/core-
|
|
4
|
+
export { T as TIMELINE_PRESETS, r as resolvePosition, s as supportsNativeScrub, t as timeline } from './chunks/core-DsGoL9EY.js';
|
|
5
5
|
export { E as EASING_MAP, P as PRESETS, c as registerPresets, a as resolveEasing, r as resolvePreset, b as reversePreset } from './chunks/presets-BYBVJVeP.js';
|
|
6
|
-
import './chunks/base-
|
|
6
|
+
import './chunks/base-BnRyfuyM.js';
|
|
7
7
|
import './components/tokens.js';
|
|
8
8
|
|
|
9
9
|
/**
|