framer-motion 12.17.0 → 12.17.1

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var create = require('./create-DflTeyPc.js');
5
+ var create = require('./create-C1GSKRVD.js');
6
6
  require('motion-dom');
7
7
  require('motion-utils');
8
8
  require('react/jsx-runtime');
@@ -3531,7 +3531,7 @@ function isValidMotionProp(key) {
3531
3531
 
3532
3532
  let shouldForward = (key) => !isValidMotionProp(key);
3533
3533
  function loadExternalIsValidProp(isValidProp) {
3534
- if (!isValidProp)
3534
+ if (typeof isValidProp !== "function")
3535
3535
  return;
3536
3536
  // Explicitly filter our events
3537
3537
  shouldForward = (key) => key.startsWith("on") ? !isValidMotionProp(key) : isValidProp(key);
package/dist/cjs/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
- var create = require('./create-DflTeyPc.js');
7
+ var create = require('./create-C1GSKRVD.js');
8
8
  var motionDom = require('motion-dom');
9
9
  var motionUtils = require('motion-utils');
10
10
 
package/dist/cjs/m.js CHANGED
@@ -726,7 +726,7 @@ function isValidMotionProp(key) {
726
726
 
727
727
  let shouldForward = (key) => !isValidMotionProp(key);
728
728
  function loadExternalIsValidProp(isValidProp) {
729
- if (!isValidProp)
729
+ if (typeof isValidProp !== "function")
730
730
  return;
731
731
  // Explicitly filter our events
732
732
  shouldForward = (key) => key.startsWith("on") ? !isValidMotionProp(key) : isValidProp(key);
@@ -2,7 +2,7 @@ import { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';
2
2
 
3
3
  let shouldForward = (key) => !isValidMotionProp(key);
4
4
  function loadExternalIsValidProp(isValidProp) {
5
- if (!isValidProp)
5
+ if (typeof isValidProp !== "function")
6
6
  return;
7
7
  // Explicitly filter our events
8
8
  shouldForward = (key) => key.startsWith("on") ? !isValidMotionProp(key) : isValidProp(key);
@@ -8922,7 +8922,7 @@
8922
8922
 
8923
8923
  let shouldForward = (key) => !isValidMotionProp(key);
8924
8924
  function loadExternalIsValidProp(isValidProp) {
8925
- if (!isValidProp)
8925
+ if (typeof isValidProp !== "function")
8926
8926
  return;
8927
8927
  // Explicitly filter our events
8928
8928
  shouldForward = (key) => key.startsWith("on") ? !isValidMotionProp(key) : isValidProp(key);