[pull] main from motiondivision:main#186
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )