framer-motion 6.3.12 → 6.3.13

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/dist/cjs/index.js CHANGED
@@ -472,7 +472,7 @@ var MotionValue = /** @class */ (function () {
472
472
  * This will be replaced by the build step with the latest version number.
473
473
  * When MotionValues are provided to motion components, warn if versions are mixed.
474
474
  */
475
- this.version = "6.3.12";
475
+ this.version = "6.3.13";
476
476
  /**
477
477
  * Duration, in milliseconds, since last updating frame.
478
478
  *
@@ -599,7 +599,7 @@ var MotionValue = /** @class */ (function () {
599
599
  * }
600
600
  * ```
601
601
  *
602
- * @internalremarks
602
+ * @privateRemarks
603
603
  *
604
604
  * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.
605
605
  *
@@ -3444,7 +3444,7 @@ function useHTMLProps(props, visualState, isStatic) {
3444
3444
  /**
3445
3445
  * A list of all valid MotionProps.
3446
3446
  *
3447
- * @internalremarks
3447
+ * @privateRemarks
3448
3448
  * This doesn't throw if a `MotionProp` name is missing - it should.
3449
3449
  */
3450
3450
  var validMotionProps = new Set([
@@ -5864,7 +5864,7 @@ function useDrag(props) {
5864
5864
  * @param handlers -
5865
5865
  * @param ref -
5866
5866
  *
5867
- * @internalremarks
5867
+ * @privateRemarks
5868
5868
  * Currently this sets new pan gesture functions every render. The memo route has been explored
5869
5869
  * in the past but ultimately we're still creating new functions every render. An optimisation
5870
5870
  * to explore is creating the pan gestures and loading them into a `ref`.
@@ -5966,7 +5966,7 @@ function updateMotionValuesFromProps(element, next, prev) {
5966
5966
  * and warn against mismatches.
5967
5967
  */
5968
5968
  if (process.env.NODE_ENV === "development") {
5969
- warnOnce(nextValue.version === "6.3.12", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.12 may not work as expected."));
5969
+ warnOnce(nextValue.version === "6.3.13", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.13 may not work as expected."));
5970
5970
  }
5971
5971
  }
5972
5972
  else if (isMotionValue(prevValue)) {
@@ -9,7 +9,7 @@ import { PanSession } from './PanSession.mjs';
9
9
  * @param handlers -
10
10
  * @param ref -
11
11
  *
12
- * @internalremarks
12
+ * @privateRemarks
13
13
  * Currently this sets new pan gesture functions every render. The memo route has been explored
14
14
  * in the past but ultimately we're still creating new functions every render. An optimisation
15
15
  * to explore is creating the pan gestures and loading them into a `ref`.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * A list of all valid MotionProps.
3
3
  *
4
- * @internalremarks
4
+ * @privateRemarks
5
5
  * This doesn't throw if a `MotionProp` name is missing - it should.
6
6
  */
7
7
  var validMotionProps = new Set([
@@ -18,7 +18,7 @@ function updateMotionValuesFromProps(element, next, prev) {
18
18
  * and warn against mismatches.
19
19
  */
20
20
  if (process.env.NODE_ENV === "development") {
21
- warnOnce(nextValue.version === "6.3.12", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.12 may not work as expected."));
21
+ warnOnce(nextValue.version === "6.3.13", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.13 may not work as expected."));
22
22
  }
23
23
  }
24
24
  else if (isMotionValue(prevValue)) {
@@ -25,7 +25,7 @@ var MotionValue = /** @class */ (function () {
25
25
  * This will be replaced by the build step with the latest version number.
26
26
  * When MotionValues are provided to motion components, warn if versions are mixed.
27
27
  */
28
- this.version = "6.3.12";
28
+ this.version = "6.3.13";
29
29
  /**
30
30
  * Duration, in milliseconds, since last updating frame.
31
31
  *
@@ -152,7 +152,7 @@ var MotionValue = /** @class */ (function () {
152
152
  * }
153
153
  * ```
154
154
  *
155
- * @internalremarks
155
+ * @privateRemarks
156
156
  *
157
157
  * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.
158
158
  *
@@ -1706,7 +1706,7 @@
1706
1706
  * This will be replaced by the build step with the latest version number.
1707
1707
  * When MotionValues are provided to motion components, warn if versions are mixed.
1708
1708
  */
1709
- this.version = "6.3.12";
1709
+ this.version = "6.3.13";
1710
1710
  /**
1711
1711
  * Duration, in milliseconds, since last updating frame.
1712
1712
  *
@@ -1833,7 +1833,7 @@
1833
1833
  * }
1834
1834
  * ```
1835
1835
  *
1836
- * @internalremarks
1836
+ * @privateRemarks
1837
1837
  *
1838
1838
  * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.
1839
1839
  *
@@ -4678,7 +4678,7 @@
4678
4678
  /**
4679
4679
  * A list of all valid MotionProps.
4680
4680
  *
4681
- * @internalremarks
4681
+ * @privateRemarks
4682
4682
  * This doesn't throw if a `MotionProp` name is missing - it should.
4683
4683
  */
4684
4684
  var validMotionProps = new Set([
@@ -7098,7 +7098,7 @@
7098
7098
  * @param handlers -
7099
7099
  * @param ref -
7100
7100
  *
7101
- * @internalremarks
7101
+ * @privateRemarks
7102
7102
  * Currently this sets new pan gesture functions every render. The memo route has been explored
7103
7103
  * in the past but ultimately we're still creating new functions every render. An optimisation
7104
7104
  * to explore is creating the pan gestures and loading them into a `ref`.
@@ -7200,7 +7200,7 @@
7200
7200
  * and warn against mismatches.
7201
7201
  */
7202
7202
  {
7203
- warnOnce(nextValue.version === "6.3.12", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.12 may not work as expected."));
7203
+ warnOnce(nextValue.version === "6.3.13", "Attempting to mix Framer Motion versions ".concat(nextValue.version, " with 6.3.13 may not work as expected."));
7204
7204
  }
7205
7205
  }
7206
7206
  else if (isMotionValue(prevValue)) {