@vkzstudio/muza-ui 1.0.8 → 1.0.9

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.
Files changed (143) hide show
  1. package/dist/components/Button/Button.js +19 -19
  2. package/dist/components/Button/ButtonLoader.d.ts +7 -0
  3. package/dist/components/Button/ButtonLoader.d.ts.map +1 -0
  4. package/dist/components/Button/ButtonLoader.js +40 -0
  5. package/dist/components/Icons/CustomIcons.js +1 -1
  6. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  7. package/dist/components/SwipeButton/SwipeButton.js +1 -1
  8. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +4 -4
  9. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +24 -24
  10. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +61 -56
  11. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +8 -8
  12. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +32 -30
  13. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +22 -22
  14. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +34 -32
  15. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +34 -26
  16. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +30 -25
  17. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +64 -0
  18. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +2 -2
  19. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +3 -3
  20. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +100 -89
  21. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +11 -7
  22. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +4 -4
  23. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +2 -2
  24. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +1 -1
  25. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +106 -59
  26. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +6 -6
  27. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +1 -1
  28. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +1 -1
  29. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +5 -5
  30. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +18 -6
  31. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +1 -1
  32. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +27 -42
  33. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +4 -4
  34. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +10 -7
  35. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -4
  36. package/dist/node_modules/framer-motion/dist/es/motion/index.js +49 -49
  37. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -13
  38. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +41 -40
  39. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +13 -13
  40. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +6 -6
  41. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +12 -12
  42. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +3 -3
  43. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +7 -7
  44. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +5 -5
  45. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +1 -1
  46. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +26 -18
  47. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +33 -30
  48. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -17
  49. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +20 -19
  50. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
  51. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/motion-value.js +13 -13
  52. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-target.js +11 -11
  53. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +24 -20
  54. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/default-transitions.js +1 -1
  55. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +7 -3
  56. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +1 -1
  57. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/animation/mix-values.js +2 -2
  58. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-apply.js +4 -4
  59. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-calc.js +1 -1
  60. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-remove.js +6 -6
  61. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/DocumentProjectionNode.js +7 -4
  62. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/create-projection-node.js +149 -149
  63. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +60 -0
  64. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-border-radius.js +1 -1
  65. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-box-shadow.js +2 -2
  66. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
  67. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/VisualElement.js +58 -50
  68. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/dom/DOMVisualElement.js +7 -6
  69. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  70. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +38 -0
  71. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
  72. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +37 -0
  73. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +14 -0
  74. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
  75. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
  76. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
  77. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
  78. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/animation-state.js +31 -31
  79. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-controlling-variants.js +1 -1
  80. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
  81. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/motion-values.js +6 -6
  82. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
  83. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/setters.js +4 -4
  84. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/utils/delay.js +2 -2
  85. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +8 -6
  86. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +62 -42
  87. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
  88. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
  89. package/dist/node_modules/motion-utils/dist/es/errors.js +10 -9
  90. package/package.json +1 -1
  91. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -10
  92. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  93. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -58
  94. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  95. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  96. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -38
  97. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  98. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  99. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  100. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -40
  101. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -23
  102. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  103. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  104. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  105. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  106. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -7
  107. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-variant.js +0 -0
  108. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.js +0 -0
  109. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.js +0 -0
  110. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
  111. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/calc-child-stagger.js +0 -0
  112. /package/dist/node_modules/{framer-motion/dist/es/animation/animators/waapi → motion-dom/dist/es/animation}/utils/get-final-keyframe.js +0 -0
  113. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/is-transition-defined.js +0 -0
  114. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.js +0 -0
  115. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js +0 -0
  116. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js +0 -0
  117. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js +0 -0
  118. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js +0 -0
  119. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.js +0 -0
  120. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js +0 -0
  121. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.js +0 -0
  122. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.js +0 -0
  123. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js +0 -0
  124. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.js +0 -0
  125. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js +0 -0
  126. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js +0 -0
  127. /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.js +0 -0
  128. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js +0 -0
  129. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/object/ObjectVisualElement.js +0 -0
  130. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.js +0 -0
  131. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
  132. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js +0 -0
  133. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js +0 -0
  134. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js +0 -0
  135. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.js +0 -0
  136. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.js +0 -0
  137. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js +0 -0
  138. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.js +0 -0
  139. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
  140. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js +0 -0
  141. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.js +0 -0
  142. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js +0 -0
  143. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { extractEventInfo as i } from "../events/event-info.js";
2
- import { Feature as m } from "../motion/features/Feature.js";
2
+ import { Feature as m } from "../../../../motion-dom/dist/es/render/Feature.js";
3
3
  import { press as u } from "../../../../motion-dom/dist/es/gestures/press/index.js";
4
4
  import { frame as p } from "../../../../motion-dom/dist/es/frameloop/frame.js";
5
5
  function s(t, e, n) {
@@ -1,4 +1,4 @@
1
- import { Feature as s } from "../Feature.js";
1
+ import { Feature as s } from "../../../../../../motion-dom/dist/es/render/Feature.js";
2
2
  let o = 0;
3
3
  class d extends s {
4
4
  constructor() {
@@ -1,7 +1,7 @@
1
- import { isAnimationControls as o } from "../../../animation/utils/is-animation-controls.js";
2
- import { createAnimationState as i } from "../../../render/utils/animation-state.js";
3
- import { Feature as s } from "../Feature.js";
4
- class u extends s {
1
+ import { Feature as o } from "../../../../../../motion-dom/dist/es/render/Feature.js";
2
+ import { createAnimationState as i } from "../../../../../../motion-dom/dist/es/render/utils/animation-state.js";
3
+ import { isAnimationControls as s } from "../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
4
+ class u extends o {
5
5
  /**
6
6
  * We dynamically generate the AnimationState manager as it contains a reference
7
7
  * to the underlying animation library. We only want to load that if we load this,
@@ -12,7 +12,7 @@ class u extends s {
12
12
  }
13
13
  updateAnimationControlsSubscription() {
14
14
  const { animate: t } = this.node.getProps();
15
- o(t) && (this.unmountControls = t.subscribe(this.node));
15
+ s(t) && (this.unmountControls = t.subscribe(this.node));
16
16
  }
17
17
  /**
18
18
  * Subscribe any provided AnimationControls to the component's VisualElement
@@ -1,3 +1,4 @@
1
+ import { getFeatureDefinitions as r, setFeatureDefinitions as s } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
1
2
  const n = {
2
3
  animation: [
3
4
  "animate",
@@ -17,11 +18,22 @@ const n = {
17
18
  pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
18
19
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
19
20
  layout: ["layout", "layoutId"]
20
- }, t = {};
21
- for (const e in n)
22
- t[e] = {
23
- isEnabled: (o) => n[e].some((a) => !!o[a])
24
- };
21
+ };
22
+ let t = !1;
23
+ function l() {
24
+ if (t)
25
+ return;
26
+ const e = {};
27
+ for (const i in n)
28
+ e[i] = {
29
+ isEnabled: (o) => n[i].some((a) => !!o[a])
30
+ };
31
+ s(e), t = !0;
32
+ }
33
+ function w() {
34
+ return l(), r();
35
+ }
25
36
  export {
26
- t as featureDefinitions
37
+ w as getInitializedFeatureDefinitions,
38
+ l as initFeatureDefinitions
27
39
  };
@@ -1,7 +1,7 @@
1
1
  import { DragGesture as r } from "../../gestures/drag/index.js";
2
2
  import { PanGesture as o } from "../../gestures/pan/index.js";
3
3
  import { MeasureLayout as e } from "./layout/MeasureLayout.js";
4
- import { HTMLProjectionNode as t } from "../../projection/node/HTMLProjectionNode.js";
4
+ import { HTMLProjectionNode as t } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
5
5
  const u = {
6
6
  pan: {
7
7
  Feature: o
@@ -1,46 +1,47 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { useContext as d, Component as f } from "react";
3
- import { usePresence as c } from "../../../components/AnimatePresence/use-presence.js";
4
- import { LayoutGroupContext as l } from "../../../context/LayoutGroupContext.js";
5
- import { SwitchLayoutGroupContext as h } from "../../../context/SwitchLayoutGroupContext.js";
6
- import { globalProjectionState as R } from "../../../projection/node/state.js";
7
- import { correctBorderRadius as n } from "../../../projection/styles/scale-border-radius.js";
8
- import { correctBoxShadow as g } from "../../../projection/styles/scale-box-shadow.js";
9
- import { addScaleCorrector as y } from "../../../projection/styles/scale-correction.js";
10
- import { frame as T } from "../../../../../../motion-dom/dist/es/frameloop/frame.js";
11
- import { microtask as v } from "../../../../../../motion-dom/dist/es/frameloop/microtask.js";
12
- let a = !1;
13
- class L extends f {
2
+ import { useContext as u, Component as l } from "react";
3
+ import { usePresence as f } from "../../../components/AnimatePresence/use-presence.js";
4
+ import { LayoutGroupContext as c } from "../../../context/LayoutGroupContext.js";
5
+ import { SwitchLayoutGroupContext as d } from "../../../context/SwitchLayoutGroupContext.js";
6
+ import { globalProjectionState as h } from "../../../../../../motion-dom/dist/es/projection/node/state.js";
7
+ import { frame as y } from "../../../../../../motion-dom/dist/es/frameloop/frame.js";
8
+ import { microtask as g } from "../../../../../../motion-dom/dist/es/frameloop/microtask.js";
9
+ let i = !1;
10
+ class v extends l {
14
11
  /**
15
12
  * This only mounts projection nodes for components that
16
13
  * need measuring, we might want to do it for all components
17
14
  * in order to incorporate transforms
18
15
  */
19
16
  componentDidMount() {
20
- const { visualElement: e, layoutGroup: t, switchLayoutGroup: r, layoutId: s } = this.props, { projection: o } = e;
21
- y(b), o && (t.group && t.group.add(o), r && r.register && s && r.register(o), a && o.root.didUpdate(), o.addEventListener("animationComplete", () => {
17
+ const { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: s } = this.props, { projection: o } = e;
18
+ o && (t.group && t.group.add(o), n && n.register && s && n.register(o), i && o.root.didUpdate(), o.addEventListener("animationComplete", () => {
22
19
  this.safeToRemove();
23
20
  }), o.setOptions({
24
21
  ...o.options,
22
+ layoutDependency: this.props.layoutDependency,
25
23
  onExitComplete: () => this.safeToRemove()
26
- })), R.hasEverUpdated = !0;
24
+ })), h.hasEverUpdated = !0;
27
25
  }
28
26
  getSnapshotBeforeUpdate(e) {
29
- const { layoutDependency: t, visualElement: r, drag: s, isPresent: o } = this.props, { projection: i } = r;
30
- return i && (i.isPresent = o, a = !0, s || e.layoutDependency !== t || t === void 0 || e.isPresent !== o ? i.willUpdate() : this.safeToRemove(), e.isPresent !== o && (o ? i.promote() : i.relegate() || T.postRender(() => {
31
- const u = i.getStack();
32
- (!u || !u.members.length) && this.safeToRemove();
27
+ const { layoutDependency: t, visualElement: n, drag: s, isPresent: o } = this.props, { projection: r } = n;
28
+ return r && (r.isPresent = o, e.layoutDependency !== t && r.setOptions({
29
+ ...r.options,
30
+ layoutDependency: t
31
+ }), i = !0, s || e.layoutDependency !== t || t === void 0 || e.isPresent !== o ? r.willUpdate() : this.safeToRemove(), e.isPresent !== o && (o ? r.promote() : r.relegate() || y.postRender(() => {
32
+ const p = r.getStack();
33
+ (!p || !p.members.length) && this.safeToRemove();
33
34
  }))), null;
34
35
  }
35
36
  componentDidUpdate() {
36
37
  const { projection: e } = this.props.visualElement;
37
- e && (e.root.didUpdate(), v.postRender(() => {
38
+ e && (e.root.didUpdate(), g.postRender(() => {
38
39
  !e.currentAnimation && e.isLead() && this.safeToRemove();
39
40
  }));
40
41
  }
41
42
  componentWillUnmount() {
42
- const { visualElement: e, layoutGroup: t, switchLayoutGroup: r } = this.props, { projection: s } = e;
43
- a = !0, s && (s.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(s), r && r.deregister && r.deregister(s));
43
+ const { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: s } = e;
44
+ i = !0, s && (s.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(s), n && n.deregister && n.deregister(s));
44
45
  }
45
46
  safeToRemove() {
46
47
  const { safeToRemove: e } = this.props;
@@ -50,26 +51,10 @@ class L extends f {
50
51
  return null;
51
52
  }
52
53
  }
53
- function D(p) {
54
- const [e, t] = c(), r = d(l);
55
- return m(L, { ...p, layoutGroup: r, switchLayoutGroup: d(h), isPresent: e, safeToRemove: t });
54
+ function E(a) {
55
+ const [e, t] = f(), n = u(c);
56
+ return m(v, { ...a, layoutGroup: n, switchLayoutGroup: u(d), isPresent: e, safeToRemove: t });
56
57
  }
57
- const b = {
58
- borderRadius: {
59
- ...n,
60
- applyTo: [
61
- "borderTopLeftRadius",
62
- "borderTopRightRadius",
63
- "borderBottomLeftRadius",
64
- "borderBottomRightRadius"
65
- ]
66
- },
67
- borderTopLeftRadius: n,
68
- borderTopRightRadius: n,
69
- borderBottomLeftRadius: n,
70
- borderBottomRightRadius: n,
71
- boxShadow: g
72
- };
73
58
  export {
74
- D as MeasureLayout
59
+ E as MeasureLayout
75
60
  };
@@ -1,9 +1,9 @@
1
- import { HTMLProjectionNode as o } from "../../projection/node/HTMLProjectionNode.js";
2
- import { MeasureLayout as t } from "./layout/MeasureLayout.js";
1
+ import { MeasureLayout as o } from "./layout/MeasureLayout.js";
2
+ import { HTMLProjectionNode as t } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
3
3
  const a = {
4
4
  layout: {
5
- ProjectionNode: o,
6
- MeasureLayout: t
5
+ ProjectionNode: t,
6
+ MeasureLayout: o
7
7
  }
8
8
  };
9
9
  export {
@@ -1,11 +1,14 @@
1
- import { featureDefinitions as n } from "./definitions.js";
2
- function e(i) {
3
- for (const o in i)
4
- n[o] = {
5
- ...n[o],
6
- ...i[o]
1
+ import { getInitializedFeatureDefinitions as o } from "./definitions.js";
2
+ import { setFeatureDefinitions as n } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
3
+ function s(e) {
4
+ const i = o();
5
+ for (const t in e)
6
+ i[t] = {
7
+ ...i[t],
8
+ ...e[t]
7
9
  };
10
+ n(i);
8
11
  }
9
12
  export {
10
- e as loadFeatures
13
+ s as loadFeatures
11
14
  };
@@ -1,10 +1,10 @@
1
- import { Feature as m } from "../Feature.js";
2
- import { observeIntersection as f } from "./observers.js";
1
+ import { observeIntersection as m } from "./observers.js";
2
+ import { Feature as f } from "../../../../../../motion-dom/dist/es/render/Feature.js";
3
3
  const w = {
4
4
  some: 0,
5
5
  all: 1
6
6
  };
7
- class v extends m {
7
+ class v extends f {
8
8
  constructor() {
9
9
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
10
10
  }
@@ -22,7 +22,7 @@ class v extends m {
22
22
  const { onViewportEnter: p, onViewportLeave: d } = this.node.getProps(), a = e ? p : d;
23
23
  a && a(i);
24
24
  };
25
- return f(this.node.current, u, c);
25
+ return m(this.node.current, u, c);
26
26
  }
27
27
  mount() {
28
28
  this.startObserver();
@@ -1,63 +1,63 @@
1
- import { jsxs as y, jsx as v } from "react/jsx-runtime";
2
- import { forwardRef as S, useContext as c } from "react";
3
- import { LayoutGroupContext as x } from "../context/LayoutGroupContext.js";
4
- import { LazyContext as E } from "../context/LazyContext.js";
5
- import { MotionConfigContext as L } from "../context/MotionConfigContext.js";
6
- import { MotionContext as g } from "../context/MotionContext/index.js";
7
- import { useCreateMotionContext as j } from "../context/MotionContext/create.js";
8
- import { useRender as N } from "../render/dom/use-render.js";
9
- import { isSVGComponent as P } from "../render/dom/utils/is-svg-component.js";
10
- import { useHTMLVisualState as V } from "../render/html/use-html-visual-state.js";
11
- import { useSVGVisualState as w } from "../render/svg/use-svg-visual-state.js";
12
- import { isBrowser as C } from "../utils/is-browser.js";
13
- import { featureDefinitions as b } from "./features/definitions.js";
14
- import { loadFeatures as h } from "./features/load-features.js";
15
- import { motionComponentSymbol as z } from "./utils/symbol.js";
16
- import { useMotionRef as G } from "./utils/use-motion-ref.js";
17
- import { useVisualElement as R } from "./utils/use-visual-element.js";
18
- import { warning as D, invariant as k } from "../../../../motion-utils/dist/es/errors.js";
19
- function it(t, { forwardMotionProps: o = !1 } = {}, e, i) {
20
- e && h(e);
21
- const p = P(t) ? w : V;
22
- function f(n, M) {
23
- let a;
1
+ import { jsxs as S, jsx as x } from "react/jsx-runtime";
2
+ import { forwardRef as E, useContext as l } from "react";
3
+ import { LayoutGroupContext as g } from "../context/LayoutGroupContext.js";
4
+ import { LazyContext as L } from "../context/LazyContext.js";
5
+ import { MotionConfigContext as V } from "../context/MotionConfigContext.js";
6
+ import { MotionContext as j } from "../context/MotionContext/index.js";
7
+ import { useCreateMotionContext as N } from "../context/MotionContext/create.js";
8
+ import { useRender as P } from "../render/dom/use-render.js";
9
+ import { isSVGComponent as w } from "../render/dom/utils/is-svg-component.js";
10
+ import { useHTMLVisualState as C } from "../render/html/use-html-visual-state.js";
11
+ import { useSVGVisualState as b } from "../render/svg/use-svg-visual-state.js";
12
+ import { isBrowser as h } from "../utils/is-browser.js";
13
+ import { getInitializedFeatureDefinitions as z } from "./features/definitions.js";
14
+ import { loadFeatures as G } from "./features/load-features.js";
15
+ import { motionComponentSymbol as D } from "./utils/symbol.js";
16
+ import { useMotionRef as R } from "./utils/use-motion-ref.js";
17
+ import { useVisualElement as I } from "./utils/use-visual-element.js";
18
+ import { warning as k, invariant as F } from "../../../../motion-utils/dist/es/errors.js";
19
+ function rt(t, { forwardMotionProps: i = !1, type: e } = {}, o, a) {
20
+ o && G(o);
21
+ const m = e ? e === "svg" : w(t), y = m ? b : C;
22
+ function d(n, v) {
23
+ let u;
24
24
  const r = {
25
- ...c(L),
25
+ ...l(V),
26
26
  ...n,
27
- layoutId: I(n)
28
- }, { isStatic: m } = r, s = j(n), u = p(n, m);
29
- if (!m && C) {
30
- O(r, e);
31
- const d = T(r);
32
- a = d.MeasureLayout, s.visualElement = R(t, u, r, i, d.ProjectionNode);
27
+ layoutId: O(n)
28
+ }, { isStatic: c } = r, s = N(n), f = y(n, c);
29
+ if (!c && h) {
30
+ T(r, o);
31
+ const M = $(r);
32
+ u = M.MeasureLayout, s.visualElement = I(t, f, r, a, M.ProjectionNode, m);
33
33
  }
34
- return y(g.Provider, { value: s, children: [a && s.visualElement ? v(a, { visualElement: s.visualElement, ...r }) : null, N(t, n, G(u, s.visualElement, M), u, m, o)] });
34
+ return S(j.Provider, { value: s, children: [u && s.visualElement ? x(u, { visualElement: s.visualElement, ...r }) : null, P(t, n, R(f, s.visualElement, v), f, c, i, m)] });
35
35
  }
36
- f.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
37
- const l = S(f);
38
- return l[z] = t, l;
36
+ d.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
37
+ const p = E(d);
38
+ return p[D] = t, p;
39
39
  }
40
- function I({ layoutId: t }) {
41
- const o = c(x).id;
42
- return o && t !== void 0 ? o + "-" + t : t;
40
+ function O({ layoutId: t }) {
41
+ const i = l(g).id;
42
+ return i && t !== void 0 ? i + "-" + t : t;
43
43
  }
44
- function O(t, o) {
45
- const e = c(E).strict;
46
- if (process.env.NODE_ENV !== "production" && o && e) {
47
- const i = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
48
- t.ignoreStrict ? D(!1, i, "lazy-strict-mode") : k(!1, i, "lazy-strict-mode");
44
+ function T(t, i) {
45
+ const e = l(L).strict;
46
+ if (process.env.NODE_ENV !== "production" && i && e) {
47
+ const o = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
48
+ t.ignoreStrict ? k(!1, o, "lazy-strict-mode") : F(!1, o, "lazy-strict-mode");
49
49
  }
50
50
  }
51
- function T(t) {
52
- const { drag: o, layout: e } = b;
53
- if (!o && !e)
51
+ function $(t) {
52
+ const i = z(), { drag: e, layout: o } = i;
53
+ if (!e && !o)
54
54
  return {};
55
- const i = { ...o, ...e };
55
+ const a = { ...e, ...o };
56
56
  return {
57
- MeasureLayout: o != null && o.isEnabled(t) || e != null && e.isEnabled(t) ? i.MeasureLayout : void 0,
58
- ProjectionNode: i.ProjectionNode
57
+ MeasureLayout: e != null && e.isEnabled(t) || o != null && o.isEnabled(t) ? a.MeasureLayout : void 0,
58
+ ProjectionNode: a.ProjectionNode
59
59
  };
60
60
  }
61
61
  export {
62
- it as createMotionComponent
62
+ rt as createMotionComponent
63
63
  };
@@ -1,16 +1,21 @@
1
- import { useCallback as p } from "react";
2
- import { isRefObject as i } from "../../utils/is-ref-object.js";
3
- function b(r, u, f) {
4
- return p(
5
- (o) => {
6
- o && r.onMount && r.onMount(o), u && (o ? u.mount(o) : u.unmount()), f && (typeof f == "function" ? f(o) : i(f) && (f.current = o));
7
- },
8
- /**
9
- * Include externalRef in dependencies to ensure the callback updates
10
- * when the ref changes, allowing proper ref forwarding.
11
- */
12
- [u]
13
- );
1
+ import { useRef as C, useInsertionEffect as y, useCallback as M } from "react";
2
+ function b(n, f, e) {
3
+ const c = C(e);
4
+ y(() => {
5
+ c.current = e;
6
+ });
7
+ const u = C(null);
8
+ return M((r) => {
9
+ var t;
10
+ r && ((t = n.onMount) == null || t.call(n, r)), f && (r ? f.mount(r) : f.unmount());
11
+ const o = c.current;
12
+ if (typeof o == "function")
13
+ if (r) {
14
+ const p = o(r);
15
+ typeof p == "function" && (u.current = p);
16
+ } else u.current ? (u.current(), u.current = null) : o(r);
17
+ else o && (o.current = r);
18
+ }, [f]);
14
19
  }
15
20
  export {
16
21
  b as useMotionRef
@@ -1,45 +1,46 @@
1
- import { useContext as f, useRef as l, useInsertionEffect as h, useEffect as j } from "react";
2
- import { optimizedAppearDataAttribute as I } from "../../animation/optimized-appear/data-id.js";
3
- import { LazyContext as A } from "../../context/LazyContext.js";
4
- import { MotionConfigContext as S } from "../../context/MotionConfigContext.js";
5
- import { MotionContext as L } from "../../context/MotionContext/index.js";
1
+ import { useContext as u, useRef as p, useInsertionEffect as A, useEffect as I } from "react";
2
+ import { LazyContext as S } from "../../context/LazyContext.js";
3
+ import { MotionConfigContext as L } from "../../context/MotionConfigContext.js";
4
+ import { MotionContext as O } from "../../context/MotionContext/index.js";
6
5
  import { PresenceContext as R } from "../../context/PresenceContext.js";
7
6
  import { SwitchLayoutGroupContext as b } from "../../context/SwitchLayoutGroupContext.js";
8
7
  import { isRefObject as k } from "../../utils/is-ref-object.js";
9
8
  import { useIsomorphicLayoutEffect as H } from "../../utils/use-isomorphic-effect.js";
10
- function J(o, s, n, i, u) {
11
- var y, M;
12
- const { visualElement: a } = f(L), p = f(A), e = f(R), m = f(S).reducedMotion, r = l(null);
13
- i = i || p.renderer, !r.current && i && (r.current = i(o, {
14
- visualState: s,
15
- parent: a,
16
- props: n,
17
- presenceContext: e,
18
- blockInitialAnimation: e ? e.initial === !1 : !1,
19
- reducedMotionConfig: m
20
- }));
21
- const t = r.current, x = f(b);
22
- t && !t.projection && u && (t.type === "html" || t.type === "svg") && z(r.current, n, u, x);
23
- const C = l(!1);
24
- h(() => {
25
- t && C.current && t.update(n, e);
9
+ import { optimizedAppearDataAttribute as z } from "../../../../../motion-dom/dist/es/animation/optimized-appear/data-id.js";
10
+ function Q(o, f, e, r, s, a) {
11
+ var w, g;
12
+ const { visualElement: l } = u(O), c = u(S), i = u(R), C = u(L).reducedMotion, n = p(null), y = p(!1);
13
+ r = r || c.renderer, !n.current && r && (n.current = r(o, {
14
+ visualState: f,
15
+ parent: l,
16
+ props: e,
17
+ presenceContext: i,
18
+ blockInitialAnimation: i ? i.initial === !1 : !1,
19
+ reducedMotionConfig: C,
20
+ isSVG: a
21
+ }), y.current && n.current && (n.current.manuallyAnimateOnMount = !0));
22
+ const t = n.current, j = u(b);
23
+ t && !t.projection && s && (t.type === "html" || t.type === "svg") && P(n.current, e, s, j);
24
+ const M = p(!1);
25
+ A(() => {
26
+ t && M.current && t.update(e, i);
26
27
  });
27
- const c = n[I], d = l(!!c && !((y = window.MotionHandoffIsComplete) != null && y.call(window, c)) && ((M = window.MotionHasOptimisedAnimation) == null ? void 0 : M.call(window, c)));
28
+ const d = e[z], m = p(!!d && !((w = window.MotionHandoffIsComplete) != null && w.call(window, d)) && ((g = window.MotionHasOptimisedAnimation) == null ? void 0 : g.call(window, d)));
28
29
  return H(() => {
29
- t && (C.current = !0, window.MotionIsMounted = !0, t.updateFeatures(), t.scheduleRenderMicrotask(), d.current && t.animationState && t.animationState.animateChanges());
30
- }), j(() => {
31
- t && (!d.current && t.animationState && t.animationState.animateChanges(), d.current && (queueMicrotask(() => {
32
- var w;
33
- (w = window.MotionHandoffMarkAsComplete) == null || w.call(window, c);
34
- }), d.current = !1), t.enteringChildren = void 0);
30
+ y.current = !0, t && (M.current = !0, window.MotionIsMounted = !0, t.updateFeatures(), t.scheduleRenderMicrotask(), m.current && t.animationState && t.animationState.animateChanges());
31
+ }), I(() => {
32
+ t && (!m.current && t.animationState && t.animationState.animateChanges(), m.current && (queueMicrotask(() => {
33
+ var h;
34
+ (h = window.MotionHandoffMarkAsComplete) == null || h.call(window, d);
35
+ }), m.current = !1), t.enteringChildren = void 0);
35
36
  }), t;
36
37
  }
37
- function z(o, s, n, i) {
38
- const { layoutId: u, layout: a, drag: p, dragConstraints: e, layoutScroll: m, layoutRoot: r, layoutCrossfade: t } = s;
39
- o.projection = new n(o.latestValues, s["data-framer-portal-id"] ? void 0 : g(o.parent)), o.projection.setOptions({
40
- layoutId: u,
38
+ function P(o, f, e, r) {
39
+ const { layoutId: s, layout: a, drag: l, dragConstraints: c, layoutScroll: i, layoutRoot: C, layoutCrossfade: n } = f;
40
+ o.projection = new e(o.latestValues, f["data-framer-portal-id"] ? void 0 : x(o.parent)), o.projection.setOptions({
41
+ layoutId: s,
41
42
  layout: a,
42
- alwaysMeasureLayout: !!p || e && k(e),
43
+ alwaysMeasureLayout: !!l || c && k(c),
43
44
  visualElement: o,
44
45
  /**
45
46
  * TODO: Update options in an effect. This could be tricky as it'll be too late
@@ -49,16 +50,16 @@ function z(o, s, n, i) {
49
50
  *
50
51
  */
51
52
  animationType: typeof a == "string" ? a : "both",
52
- initialPromotionConfig: i,
53
- crossfade: t,
54
- layoutScroll: m,
55
- layoutRoot: r
53
+ initialPromotionConfig: r,
54
+ crossfade: n,
55
+ layoutScroll: i,
56
+ layoutRoot: C
56
57
  });
57
58
  }
58
- function g(o) {
59
+ function x(o) {
59
60
  if (o)
60
- return o.options.allowProjection !== !1 ? o.projection : g(o.parent);
61
+ return o.options.allowProjection !== !1 ? o.projection : x(o.parent);
61
62
  }
62
63
  export {
63
- J as useVisualElement
64
+ Q as useVisualElement
64
65
  };
@@ -1,11 +1,11 @@
1
1
  import { useContext as C } from "react";
2
- import { isAnimationControls as x } from "../../animation/utils/is-animation-controls.js";
3
- import { MotionContext as S } from "../../context/MotionContext/index.js";
4
- import { PresenceContext as h } from "../../context/PresenceContext.js";
5
- import { isControllingVariants as M, isVariantNode as N } from "../../render/utils/is-controlling-variants.js";
6
- import { resolveVariantFromProps as P } from "../../render/utils/resolve-variants.js";
7
- import { useConstant as T } from "../../utils/use-constant.js";
8
- import { resolveMotionValue as $ } from "../../value/utils/resolve-motion-value.js";
2
+ import { MotionContext as x } from "../../context/MotionContext/index.js";
3
+ import { PresenceContext as S } from "../../context/PresenceContext.js";
4
+ import { useConstant as h } from "../../utils/use-constant.js";
5
+ import { resolveMotionValue as M } from "../../../../../motion-dom/dist/es/value/utils/resolve-motion-value.js";
6
+ import { isControllingVariants as N, isVariantNode as P } from "../../../../../motion-dom/dist/es/render/utils/is-controlling-variants.js";
7
+ import { isAnimationControls as T } from "../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
8
+ import { resolveVariantFromProps as $ } from "../../../../../motion-dom/dist/es/render/utils/resolve-variants.js";
9
9
  function b({ scrapeMotionValuesFromProps: t, createRenderState: i }, e, s, n) {
10
10
  return {
11
11
  latestValues: p(e, s, n, t),
@@ -15,17 +15,17 @@ function b({ scrapeMotionValuesFromProps: t, createRenderState: i }, e, s, n) {
15
15
  function p(t, i, e, s) {
16
16
  const n = {}, o = s(t, {});
17
17
  for (const l in o)
18
- n[l] = $(o[l]);
18
+ n[l] = M(o[l]);
19
19
  let { initial: m, animate: u } = t;
20
- const g = M(t), v = N(t);
20
+ const g = N(t), v = P(t);
21
21
  i && v && !g && t.inherit !== !1 && (m === void 0 && (m = i.initial), u === void 0 && (u = i.animate));
22
22
  let c = e ? e.initial === !1 : !1;
23
23
  c = c || m === !1;
24
24
  const a = c ? u : m;
25
- if (a && typeof a != "boolean" && !x(a)) {
25
+ if (a && typeof a != "boolean" && !T(a)) {
26
26
  const l = Array.isArray(a) ? a : [a];
27
27
  for (let d = 0; d < l.length; d++) {
28
- const V = P(t, l[d]);
28
+ const V = $(t, l[d]);
29
29
  if (V) {
30
30
  const { transitionEnd: k, transition: B, ...y } = V;
31
31
  for (const f in y) {
@@ -44,8 +44,8 @@ function p(t, i, e, s) {
44
44
  return n;
45
45
  }
46
46
  const z = (t) => (i, e) => {
47
- const s = C(S), n = C(h), o = () => b(t, i, s, n);
48
- return e ? o() : T(o);
47
+ const s = C(x), n = C(S), o = () => b(t, i, s, n);
48
+ return e ? o() : h(o);
49
49
  };
50
50
  export {
51
51
  z as makeUseVisualState
@@ -1,10 +1,10 @@
1
1
  import { Fragment as m } from "react";
2
- import { HTMLVisualElement as o } from "../html/HTMLVisualElement.js";
3
- import { SVGVisualElement as t } from "../svg/SVGVisualElement.js";
4
- import { isSVGComponent as i } from "./utils/is-svg-component.js";
5
- const f = (e, r) => i(e) ? new t(r) : new o(r, {
6
- allowProjection: e !== m
2
+ import { isSVGComponent as t } from "./utils/is-svg-component.js";
3
+ import { SVGVisualElement as o } from "../../../../../motion-dom/dist/es/render/svg/SVGVisualElement.js";
4
+ import { HTMLVisualElement as i } from "../../../../../motion-dom/dist/es/render/html/HTMLVisualElement.js";
5
+ const G = (r, e) => e.isSVG ?? t(r) ? new o(e) : new i(e, {
6
+ allowProjection: r !== m
7
7
  });
8
8
  export {
9
- f as createDomVisualElement
9
+ G as createDomVisualElement
10
10
  };
@@ -1,16 +1,16 @@
1
- import { Fragment as c, useMemo as p, createElement as P } from "react";
2
- import { useHTMLProps as a } from "../html/use-props.js";
3
- import { useSVGProps as d } from "../svg/use-props.js";
4
- import { filterProps as V } from "./utils/filter-props.js";
5
- import { isSVGComponent as g } from "./utils/is-svg-component.js";
6
- import { isMotionValue as h } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
7
- function F(r, s, o, { latestValues: t }, i, m = !1) {
8
- const n = (g(r) ? d : a)(s, t, i, r), l = V(s, typeof r == "string", m), u = r !== c ? { ...l, ...n, ref: o } : {}, { children: e } = s, f = p(() => h(e) ? e.get() : e, [e]);
9
- return P(r, {
10
- ...u,
11
- children: f
1
+ import { Fragment as p, useMemo as P, createElement as a } from "react";
2
+ import { useHTMLProps as d } from "../html/use-props.js";
3
+ import { useSVGProps as V } from "../svg/use-props.js";
4
+ import { filterProps as g } from "./utils/filter-props.js";
5
+ import { isSVGComponent as h } from "./utils/is-svg-component.js";
6
+ import { isMotionValue as M } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
7
+ function H(r, s, o, { latestValues: t }, i, m = !1, n) {
8
+ const l = (n ?? h(r) ? V : d)(s, t, i, r), u = g(s, typeof r == "string", m), f = r !== p ? { ...u, ...l, ref: o } : {}, { children: e } = s, c = P(() => M(e) ? e.get() : e, [e]);
9
+ return a(r, {
10
+ ...f,
11
+ children: c
12
12
  });
13
13
  }
14
14
  export {
15
- F as useRender
15
+ H as useRender
16
16
  };
@@ -1,10 +1,10 @@
1
1
  import { makeUseVisualState as e } from "../../motion/utils/use-visual-state.js";
2
2
  import { createHtmlRenderState as t } from "./utils/create-render-state.js";
3
- import { scrapeMotionValuesFromProps as r } from "./utils/scrape-motion-values.js";
4
- const s = /* @__PURE__ */ e({
3
+ import { scrapeMotionValuesFromProps as r } from "../../../../../motion-dom/dist/es/render/html/utils/scrape-motion-values.js";
4
+ const m = /* @__PURE__ */ e({
5
5
  scrapeMotionValuesFromProps: r,
6
6
  createRenderState: t
7
7
  });
8
8
  export {
9
- s as useHTMLVisualState
9
+ m as useHTMLVisualState
10
10
  };