Skip to content

Comments

[pull] main from motiondivision:main#186

Merged
pull[bot] merged 31 commits intocode:mainfrom
motiondivision:main
Jan 5, 2026
Merged

[pull] main from motiondivision:main#186
pull[bot] merged 31 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 5, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

fxnm and others added 30 commits September 28, 2025 14:02
Signed-off-by: tinyfoolish <tinyfoolish@outlook.com>
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Guard process.env.NODE_ENV access in errors.ts to prevent ReferenceError
when importing motion-utils as a native ES module in browsers without
bundlers. This adds a typeof check for process before accessing
process.env.NODE_ENV.

Fixes #3417
Tests cover warning and invariant functions exported from errors.ts,
including verification that error code links are properly formatted.
Fix ReferenceError: process is not defined in native browser ESM
docs: fix a large number of spelling issues
Fixes #1177 - viewBox animations now work when wrapping custom SVG
components using motion.create(CustomSVGComponent, { type: "svg" })

Changes:
- Add `type?: "html" | "svg"` option to MotionComponentOptions
- Update createMotionComponent to use explicit type over auto-detection
- Pass isSVG through useVisualElement and useRender
- Update createDomVisualElement to respect isSVG option in VisualElementOptions
The DragGesture class was missing an update() method that other gesture
features (like PanGesture) implement. This meant that when props changed
during a drag operation, the gesture feature wasn't notified.

This fix adds the update() method which handles dragControls prop changes,
ensuring that when the dragControls prop is updated, the old subscription
is removed and a new one is created with the updated controls.

Fixes #1185
…-Wc3de

Add type option to motion.create() for SVG support
…-properties

fix: support numeric values for CSS logical properties in useTransform
…-LixiH

Add update() method to DragGesture to handle prop changes
Added new features and fixed issues in version 12.24.0.
added missing JSX import to fixe namespace 'JSX' not found error
…js-yaml-3.14.2

Bump js-yaml from 3.14.1 to 3.14.2
@pull pull bot locked and limited conversation to collaborators Jan 5, 2026
@pull pull bot added the ⤵️ pull label Jan 5, 2026
@pull pull bot merged commit 2d76bdc into code:main Jan 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants