motion-v 0.4.0 → 0.5.0-beta.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.
Files changed (252) hide show
  1. package/dist/cjs/index.js +287 -96
  2. package/dist/es/animation/use-animate.mjs +1 -1
  3. package/dist/es/components/AnimatePresence.vue.mjs +13 -2
  4. package/dist/es/components/LayoutGroup.vue.mjs +3 -23
  5. package/dist/es/components/Motion.vue.mjs +16 -15
  6. package/dist/es/components/presence.mjs +5 -2
  7. package/dist/es/components/use-layout-group.mjs +34 -0
  8. package/dist/es/components/use-pop-layout.mjs +47 -0
  9. package/dist/es/components/utils.mjs +8 -0
  10. package/dist/es/constants/index.mjs +1 -1
  11. package/dist/es/features/gestures/hover.mjs +4 -0
  12. package/dist/es/features/gestures/in-view.mjs +5 -1
  13. package/dist/es/features/layout/config.mjs +2 -2
  14. package/dist/es/features/layout/layout.mjs +10 -7
  15. package/dist/es/features/svg.mjs +1 -1
  16. package/dist/es/index.mjs +30 -30
  17. package/dist/es/state/animate-variants-children.mjs +72 -0
  18. package/dist/es/state/create-visual-element.mjs +2 -2
  19. package/dist/es/state/motion-state.mjs +70 -23
  20. package/dist/es/state/schedule.mjs +1 -1
  21. package/dist/es/utils/use-animation-frame.mjs +1 -1
  22. package/dist/es/utils/use-in-view.mjs +1 -1
  23. package/dist/es/value/use-combine-values.mjs +2 -2
  24. package/dist/es/value/use-computed.mjs +1 -1
  25. package/dist/es/value/use-scroll.mjs +3 -3
  26. package/dist/es/value/use-spring.mjs +3 -3
  27. package/dist/es/value/use-time.mjs +1 -1
  28. package/dist/es/value/use-transform.mjs +1 -1
  29. package/dist/es/value/use-velocity.mjs +2 -2
  30. package/dist/src/components/AnimatePresence.d.ts +2 -7
  31. package/dist/src/components/LayoutGroup.d.ts +1 -5
  32. package/dist/src/components/Motion.d.ts +1 -3
  33. package/dist/src/components/presence.d.ts +2 -1
  34. package/dist/src/components/type.d.ts +5 -24
  35. package/dist/src/components/use-layout-group.d.ts +20 -0
  36. package/dist/src/components/use-pop-layout.d.ts +6 -0
  37. package/dist/src/components/utils.d.ts +1 -0
  38. package/dist/src/features/layout/types.d.ts +1 -1
  39. package/dist/src/index.d.ts +5 -3
  40. package/dist/src/state/animate-variants-children.d.ts +15 -0
  41. package/dist/src/state/motion-state.d.ts +7 -7
  42. package/dist/src/types/state.d.ts +11 -2
  43. package/package.json +1 -1
  44. /package/dist/es/{node_modules/.pnpm/@vueuse_shared@12.0.0_typescript@5.5.4/node_modules → external/.pnpm/@vueuse_shared@12.0.0_typescript@5.7.2/external}/@vueuse/shared/index.mjs +0 -0
  45. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/GroupPlaybackControls.mjs +0 -0
  46. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animate/index.mjs +0 -0
  47. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +0 -0
  48. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  49. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animate/single-value.mjs +0 -0
  50. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animate/subject.mjs +0 -0
  51. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +0 -0
  52. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +0 -0
  53. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +0 -0
  54. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
  55. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  56. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +0 -0
  57. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +0 -0
  58. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +0 -0
  59. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +0 -0
  60. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/easing.mjs +0 -0
  61. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/index.mjs +0 -0
  62. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/attach-timeline.mjs +0 -0
  63. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  64. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/linear.mjs +0 -0
  65. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/memo-supports.mjs +0 -0
  66. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +0 -0
  67. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/supports-flags.mjs +0 -0
  68. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/supports-linear-easing.mjs +0 -0
  69. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +0 -0
  70. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -0
  71. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  72. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  73. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/spring/find.mjs +0 -0
  74. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/spring/index.mjs +0 -0
  75. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  76. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  77. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
  78. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/interfaces/motion-value.mjs +0 -0
  79. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +0 -0
  80. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  81. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  82. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/sequence/create.mjs +0 -0
  83. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  84. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
  85. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  86. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  87. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  88. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/get-value-transition.mjs +0 -0
  89. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  90. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  91. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  92. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  93. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  94. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  95. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  96. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  97. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/back.mjs +0 -0
  98. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/circ.mjs +0 -0
  99. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/cubic-bezier.mjs +0 -0
  100. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/ease.mjs +0 -0
  101. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  102. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  103. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/steps.mjs +0 -0
  104. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/utils/create-generator-easing.mjs +0 -0
  105. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  106. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/utils/is-bezier-definition.mjs +0 -0
  107. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  108. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/easing/utils/map.mjs +0 -0
  109. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  110. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/batcher.mjs +0 -0
  111. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/frame.mjs +0 -0
  112. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -0
  113. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
  114. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/render-step.mjs +0 -0
  115. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
  116. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  117. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  118. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/animation/mix-values.mjs +0 -0
  119. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  120. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  121. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  122. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  123. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  124. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  125. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  126. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  127. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  128. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/node/create-projection-node.mjs +0 -0
  129. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/node/state.mjs +0 -0
  130. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
  131. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  132. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  133. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -0
  134. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  135. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  136. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  137. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  138. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/VisualElement.mjs +0 -0
  139. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  140. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
  141. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/resize/handle-element.mjs +0 -0
  142. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  143. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  144. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -0
  145. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/info.mjs +0 -0
  146. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
  147. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  148. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  149. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  150. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  151. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  152. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
  153. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/supports.mjs +0 -0
  154. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
  155. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  156. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +0 -0
  157. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  158. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  159. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/resolve-element.mjs +0 -0
  160. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -0
  161. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  162. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  163. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  164. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  165. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  166. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  167. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  168. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  169. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  170. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  171. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  172. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/dom/viewport/index.mjs +0 -0
  173. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -0
  174. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  175. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  176. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  177. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  178. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  179. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/html/utils/transform.mjs +0 -0
  180. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  181. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/store.mjs +0 -0
  182. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -0
  183. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  184. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  185. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  186. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  187. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  188. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  189. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  190. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
  191. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  192. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
  193. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  194. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  195. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/motion-values.mjs +0 -0
  196. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  197. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  198. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/setters.mjs +0 -0
  199. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  200. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
  201. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/array.mjs +0 -0
  202. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/clamp.mjs +0 -0
  203. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/delay.mjs +0 -0
  204. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/distance.mjs +0 -0
  205. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/errors.mjs +0 -0
  206. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  207. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/interpolate.mjs +0 -0
  208. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  209. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  210. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  211. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/memo.mjs +0 -0
  212. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/color.mjs +0 -0
  213. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/complex.mjs +0 -0
  214. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  215. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  216. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  217. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  218. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/noop.mjs +0 -0
  219. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  220. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/offsets/fill.mjs +0 -0
  221. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  222. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/pipe.mjs +0 -0
  223. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/progress.mjs +0 -0
  224. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  225. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  226. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  227. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
  228. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/time-conversion.mjs +0 -0
  229. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/transform.mjs +0 -0
  230. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
  231. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/warn-once.mjs +0 -0
  232. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/utils/wrap.mjs +0 -0
  233. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/index.mjs +0 -0
  234. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  235. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  236. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  237. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  238. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  239. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  240. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  241. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  242. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  243. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  244. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  245. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  246. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  247. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  248. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  249. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  250. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  251. /package/dist/es/{node_modules/.pnpm/framer-motion@11.11.11/node_modules → external/.pnpm/framer-motion@11.11.11/external}/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  252. /package/dist/es/{node_modules/.pnpm/hey-listen@1.0.8/node_modules → external/.pnpm/hey-listen@1.0.8/external}/hey-listen/dist/hey-listen.es.mjs +0 -0
@@ -1,7 +1,5 @@
1
- import { defineComponent, watch, renderSlot } from "vue";
2
- import { injectLayoutGroup, provideLayoutGroup, shouldInheritId, shouldInheritGroup } from "./context.mjs";
3
- import { nodeGroup } from "./group.mjs";
4
- import { useForceUpdate } from "./use-force-update.mjs";
1
+ import { defineComponent, renderSlot } from "vue";
2
+ import { useLayoutGroup } from "./use-layout-group.mjs";
5
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
4
  __name: "LayoutGroup",
7
5
  props: {
@@ -10,25 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
8
  },
11
9
  setup(__props) {
12
10
  const props = __props;
13
- const layoutGroup = injectLayoutGroup(null);
14
- const [forceRender, key] = useForceUpdate();
15
- function generateId() {
16
- const upstreamId = layoutGroup == null ? void 0 : layoutGroup.id;
17
- return shouldInheritId(props.inherit) && upstreamId ? props.id ? `${upstreamId}-${props.id}` : upstreamId : props.id;
18
- }
19
- function generateGroup() {
20
- return shouldInheritGroup(props.inherit) ? (layoutGroup == null ? void 0 : layoutGroup.group) || nodeGroup() : nodeGroup();
21
- }
22
- const memoizedContext = {
23
- id: generateId(),
24
- group: generateGroup(),
25
- forceRender,
26
- key
27
- };
28
- watch(key, () => {
29
- memoizedContext.id = generateId();
30
- });
31
- provideLayoutGroup(memoizedContext);
11
+ useLayoutGroup(props);
32
12
  return (_ctx, _cache) => {
33
13
  return renderSlot(_ctx.$slots, "default");
34
14
  };
@@ -3,8 +3,8 @@ import { injectMotion, injectLayoutGroup, provideMotion } from "./context.mjs";
3
3
  import { convertSvgStyleToAttributes, createStyles } from "../state/style.mjs";
4
4
  import { Primitive } from "./Primitive.mjs";
5
5
  import { MotionState } from "../state/motion-state.mjs";
6
- import { isSVGElement } from "../state/utils.mjs";
7
6
  import { injectAnimatePresence } from "./presence.mjs";
7
+ import { getMotionElement } from "./utils.mjs";
8
8
  import { isMotionValue } from "../utils/motion-value.mjs";
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  ...{
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  onPressEnd: { type: Function },
36
36
  onViewEnter: { type: Function },
37
37
  onViewLeave: { type: Function },
38
- layout: { type: Boolean },
38
+ layout: { type: [Boolean, String] },
39
39
  layoutId: {},
40
40
  layoutScroll: { type: Boolean },
41
41
  layoutRoot: { type: Boolean },
@@ -66,16 +66,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
66
  parentState
67
67
  );
68
68
  provideMotion(state);
69
- const instance = getCurrentInstance();
69
+ const instance = getCurrentInstance().proxy;
70
70
  onMounted(() => {
71
- state.mount(instance == null ? void 0 : instance.vnode.el);
72
- state.update({
71
+ state.mount(getMotionElement(instance.$el), {
73
72
  ...attrs,
74
- ...props
73
+ ...props,
74
+ initial: presenceInitial.value === false ? presenceInitial.value : props.initial === true ? void 0 : props.initial
75
75
  });
76
76
  });
77
77
  onUnmounted(() => {
78
- if (safeUnmount(instance == null ? void 0 : instance.vnode.el))
78
+ if (safeUnmount(getMotionElement(instance.$el)))
79
79
  state.unmount();
80
80
  });
81
81
  onUpdated(() => {
@@ -86,22 +86,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
86
86
  });
87
87
  });
88
88
  function getProps() {
89
+ const isSVG = state.visualElement.type === "svg";
89
90
  const attrsProps = { ...attrs };
90
91
  Object.keys(attrs).forEach((key) => {
91
92
  if (isMotionValue(attrs[key]))
92
93
  attrsProps[key] = attrs[key].get();
93
94
  });
94
95
  let styleProps = {
95
- ...props.style
96
+ ...props.style,
97
+ ...isSVG ? {} : state.visualElement.latestValues
96
98
  };
99
+ if (isSVG) {
100
+ const { attributes, style } = convertSvgStyleToAttributes(state.target);
101
+ Object.assign(attrsProps, attributes);
102
+ Object.assign(styleProps, style, props.style);
103
+ }
97
104
  if (!state.isMounted()) {
98
- if (isSVGElement(props.as)) {
99
- const { attributes, style } = convertSvgStyleToAttributes(state.getTarget());
100
- Object.assign(attrsProps, attributes);
101
- Object.assign(styleProps, style, props.style);
102
- } else {
103
- Object.assign(styleProps, state.getTarget(), props.style);
104
- }
105
+ Object.assign(styleProps, state.target, props.style);
105
106
  }
106
107
  styleProps = createStyles(styleProps);
107
108
  attrsProps.style = styleProps;
@@ -1,5 +1,7 @@
1
+ import { ref } from "vue";
1
2
  import { createContext } from "../utils/createContext.mjs";
2
- const doneCallbacks = /* @__PURE__ */ new Map();
3
+ const doneCallbacks = /* @__PURE__ */ new WeakMap();
4
+ const unPresenceDom = ref(/* @__PURE__ */ new WeakMap());
3
5
  function removeDoneCallback(element) {
4
6
  const prevDoneCallback = doneCallbacks.get(element);
5
7
  if (prevDoneCallback) {
@@ -12,5 +14,6 @@ export {
12
14
  doneCallbacks,
13
15
  injectAnimatePresence,
14
16
  provideAnimatePresence,
15
- removeDoneCallback
17
+ removeDoneCallback,
18
+ unPresenceDom
16
19
  };
@@ -0,0 +1,34 @@
1
+ import { watch } from "vue";
2
+ import { injectLayoutGroup, provideLayoutGroup } from "./context.mjs";
3
+ import { useForceUpdate } from "./use-force-update.mjs";
4
+ import { nodeGroup } from "./group.mjs";
5
+ function useLayoutGroup(props) {
6
+ const parentGroup = injectLayoutGroup(null);
7
+ const [forceRender, key] = useForceUpdate();
8
+ const context = {
9
+ id: getGroupId(props, parentGroup),
10
+ group: getGroup(props, parentGroup),
11
+ forceRender,
12
+ key
13
+ };
14
+ watch(key, () => {
15
+ context.id = getGroupId(props, parentGroup);
16
+ });
17
+ provideLayoutGroup(context);
18
+ return context;
19
+ }
20
+ function getGroupId(props, parentGroup) {
21
+ const shouldInherit = props.inherit === true || props.inherit === "id";
22
+ const parentId = parentGroup == null ? void 0 : parentGroup.id;
23
+ if (shouldInherit && parentId) {
24
+ return props.id ? `${parentId}-${props.id}` : parentId;
25
+ }
26
+ return props.id;
27
+ }
28
+ function getGroup(props, parentGroup) {
29
+ const shouldInherit = props.inherit === true || props.inherit === "group";
30
+ return shouldInherit ? (parentGroup == null ? void 0 : parentGroup.group) || nodeGroup() : nodeGroup();
31
+ }
32
+ export {
33
+ useLayoutGroup
34
+ };
@@ -0,0 +1,47 @@
1
+ function usePopLayout(props) {
2
+ const styles = /* @__PURE__ */ new WeakMap();
3
+ function addPopStyle(state) {
4
+ if (props.mode !== "popLayout")
5
+ return;
6
+ const size = {
7
+ height: state.element.offsetHeight || 0,
8
+ width: state.element.offsetWidth || 0,
9
+ top: state.element.offsetTop,
10
+ left: state.element.offsetLeft
11
+ };
12
+ state.element.dataset.motionPopId = state.id;
13
+ const style = document.createElement("style");
14
+ styles.set(state, style);
15
+ document.head.appendChild(style);
16
+ style.textContent = `
17
+ [data-motion-pop-id="${state.id}"] {
18
+ animation: pop 0.3s ease-in-out;
19
+ }
20
+ `;
21
+ if (style.sheet) {
22
+ style.sheet.insertRule(`
23
+ [data-motion-pop-id="${state.id}"] {
24
+ position: absolute !important;
25
+ width: ${size.width}px !important;
26
+ height: ${size.height}px !important;
27
+ top: ${size.top}px !important;
28
+ left: ${size.left}px !important;
29
+ }
30
+ `);
31
+ }
32
+ }
33
+ function removePopStyle(state) {
34
+ const style = styles.get(state);
35
+ if (style) {
36
+ styles.delete(state);
37
+ document.head.removeChild(style);
38
+ }
39
+ }
40
+ return {
41
+ addPopStyle,
42
+ removePopStyle
43
+ };
44
+ }
45
+ export {
46
+ usePopLayout
47
+ };
@@ -0,0 +1,8 @@
1
+ function getMotionElement(el) {
2
+ if ((el == null ? void 0 : el.nodeType) === 3 || (el == null ? void 0 : el.nodeType) === 8)
3
+ return getMotionElement(el.nextSibling);
4
+ return el;
5
+ }
6
+ export {
7
+ getMotionElement
8
+ };
@@ -1,7 +1,7 @@
1
1
  const components = {
2
2
  motion: [
3
3
  "Motion",
4
- "MotionPresence",
4
+ "AnimatePresence",
5
5
  "LayoutGroup"
6
6
  ]
7
7
  };
@@ -20,7 +20,11 @@ class HoverGesture extends BaseGesture {
20
20
  this.state.setActive("hover", true);
21
21
  });
22
22
  const onLeave = mouseEvent(element, "hoverend", () => {
23
+ var _a;
23
24
  this.state.setActive("hover", false);
25
+ (_a = this.state.visualElement.variantChildren) == null ? void 0 : _a.forEach((child) => {
26
+ child.state.setActive("hover", false);
27
+ });
24
28
  });
25
29
  element.addEventListener("pointerenter", onEnter);
26
30
  element.addEventListener("pointerleave", onLeave);
@@ -1,5 +1,5 @@
1
1
  import { dispatchPointerEvent } from "../../utils/events.mjs";
2
- import { inView } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs";
2
+ import { inView } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
3
  import { BaseGesture } from "./base.mjs";
4
4
  class InViewGesture extends BaseGesture {
5
5
  isActive() {
@@ -12,7 +12,11 @@ class InViewGesture extends BaseGesture {
12
12
  const element = this.state.element;
13
13
  const { once, ...viewOptions } = ((_a = this.state.getOptions()) == null ? void 0 : _a.inViewOptions) || {};
14
14
  return inView(element, (enterEntry) => {
15
+ var _a2;
15
16
  this.state.setActive("inView", true);
17
+ (_a2 = this.state.visualElement.variantChildren) == null ? void 0 : _a2.forEach((child) => {
18
+ child.state.setActive("inView", true);
19
+ });
16
20
  dispatchPointerEvent(element, "viewenter", enterEntry);
17
21
  if (!once) {
18
22
  return (leaveEntry) => {
@@ -1,5 +1,5 @@
1
- import { correctBorderRadius } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
2
- import { correctBoxShadow } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs";
1
+ import { correctBorderRadius } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
2
+ import { correctBoxShadow } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs";
3
3
  const defaultScaleCorrector = {
4
4
  borderRadius: {
5
5
  ...correctBorderRadius,
@@ -1,10 +1,10 @@
1
1
  import { Feature } from "../feature.mjs";
2
- import { HTMLProjectionNode } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
2
+ import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
3
3
  import { getClosestProjectingNode } from "./utils.mjs";
4
4
  import { onBeforeMount, onBeforeUpdate, onUpdated, onBeforeUnmount } from "vue";
5
- import { addScaleCorrector } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs";
5
+ import { addScaleCorrector } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
6
6
  import { defaultScaleCorrector } from "./config.mjs";
7
- import { globalProjectionState } from "../../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/projection/node/state.mjs";
7
+ import { globalProjectionState } from "../../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/projection/node/state.mjs";
8
8
  import { injectLayoutGroup } from "../../components/context.mjs";
9
9
  class LayoutFeature extends Feature {
10
10
  constructor(state) {
@@ -40,11 +40,8 @@ class LayoutFeature extends Feature {
40
40
  (_a = visualElement.projection) == null ? void 0 : _a.root.didUpdate();
41
41
  });
42
42
  onBeforeUnmount(() => {
43
- var _a;
44
43
  if (visualElement.projection) {
45
- visualElement.projection.unmount();
46
- if ((_a = this.layoutGroup) == null ? void 0 : _a.group)
47
- this.layoutGroup.group.remove(visualElement.projection);
44
+ visualElement.projection.willUpdate();
48
45
  }
49
46
  });
50
47
  }
@@ -67,6 +64,12 @@ class LayoutFeature extends Feature {
67
64
  }
68
65
  }
69
66
  unmount() {
67
+ var _a;
68
+ if (this.state.visualElement.projection) {
69
+ this.state.visualElement.projection.unmount();
70
+ if ((_a = this.layoutGroup) == null ? void 0 : _a.group)
71
+ this.layoutGroup.group.remove(this.state.visualElement.projection);
72
+ }
70
73
  }
71
74
  }
72
75
  export {
@@ -1,5 +1,5 @@
1
1
  import { Feature } from "./feature.mjs";
2
- import { frame } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
3
3
  function isSVGElement(element) {
4
4
  return element instanceof SVGElement && element.tagName !== "svg";
5
5
  }
package/dist/es/index.mjs CHANGED
@@ -3,36 +3,36 @@ import { default as default3 } from "./components/AnimatePresence.vue.mjs";
3
3
  import { default as default4 } from "./components/LayoutGroup.vue.mjs";
4
4
  import { injectLayoutGroup, injectMotion, provideLayoutGroup, provideMotion, shouldInheritGroup, shouldInheritId } from "./components/context.mjs";
5
5
  import { components, utilities } from "./constants/index.mjs";
6
- import { MotionValue, motionValue, motionValue as motionValue2 } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
7
- import { animate, createScopedAnimate } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/animate/index.mjs";
8
- import { animateMini } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
9
- import { scroll } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs";
10
- import { scrollInfo } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs";
11
- import { inView } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs";
12
- import { anticipate } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/anticipate.mjs";
13
- import { backIn, backInOut, backOut } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/back.mjs";
14
- import { circIn, circInOut, circOut } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/circ.mjs";
15
- import { easeIn, easeInOut, easeOut } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/ease.mjs";
16
- import { cubicBezier } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs";
17
- import { steps } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/steps.mjs";
18
- import { mirrorEasing } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs";
19
- import { reverseEasing } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs";
20
- import { spring } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs";
21
- import { inertia } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/generators/inertia.mjs";
22
- import { keyframes } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/generators/keyframes.mjs";
23
- import { stagger } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/utils/stagger.mjs";
24
- import { transform } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/transform.mjs";
25
- import { clamp } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/clamp.mjs";
26
- import { delayInSeconds } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/delay.mjs";
27
- import { distance, distance2D } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/distance.mjs";
28
- import { invariant, warning } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/errors.mjs";
29
- import { interpolate } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/interpolate.mjs";
30
- import { mix } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/mix/index.mjs";
31
- import { pipe } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/pipe.mjs";
32
- import { progress } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/progress.mjs";
33
- import { wrap } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/wrap.mjs";
34
- import { cancelSync, sync } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/index-legacy.mjs";
35
- import { cancelFrame, frame, frameData, frameSteps } from "./node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
6
+ import { MotionValue, motionValue, motionValue as motionValue2 } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
7
+ import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/animate/index.mjs";
8
+ import { animateMini } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
9
+ import { scroll } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
10
+ import { scrollInfo } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
11
+ import { inView } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
12
+ import { anticipate } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/anticipate.mjs";
13
+ import { backIn, backInOut, backOut } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/back.mjs";
14
+ import { circIn, circInOut, circOut } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/circ.mjs";
15
+ import { easeIn, easeInOut, easeOut } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/ease.mjs";
16
+ import { cubicBezier } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/cubic-bezier.mjs";
17
+ import { steps } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/steps.mjs";
18
+ import { mirrorEasing } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/modifiers/mirror.mjs";
19
+ import { reverseEasing } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/easing/modifiers/reverse.mjs";
20
+ import { spring } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/generators/spring/index.mjs";
21
+ import { inertia } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/generators/inertia.mjs";
22
+ import { keyframes } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/generators/keyframes.mjs";
23
+ import { stagger } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/utils/stagger.mjs";
24
+ import { transform } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/transform.mjs";
25
+ import { clamp } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/clamp.mjs";
26
+ import { delayInSeconds } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/delay.mjs";
27
+ import { distance, distance2D } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/distance.mjs";
28
+ import { invariant, warning } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/errors.mjs";
29
+ import { interpolate } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/interpolate.mjs";
30
+ import { mix } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/mix/index.mjs";
31
+ import { pipe } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/pipe.mjs";
32
+ import { progress } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/progress.mjs";
33
+ import { wrap } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/wrap.mjs";
34
+ import { cancelSync, sync } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/index-legacy.mjs";
35
+ import { cancelFrame, frame, frameData, frameSteps } from "./external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
36
36
  import { useComputed } from "./value/use-computed.mjs";
37
37
  import { useCombineMotionValues } from "./value/use-combine-values.mjs";
38
38
  import { useTransform } from "./value/use-transform.mjs";
@@ -0,0 +1,72 @@
1
+ import { style } from "./style.mjs";
2
+ import { transformResetValue } from "./transform.mjs";
3
+ import { resolveVariant, hasChanged, getOptions } from "./utils.mjs";
4
+ import { animate } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/animate/index.mjs";
5
+ function animateVariantsChildren(state, activeState) {
6
+ const variantChildren = state.visualElement.variantChildren;
7
+ if (!(variantChildren == null ? void 0 : variantChildren.size)) {
8
+ return {
9
+ animations: [],
10
+ getAnimations: () => Promise.resolve()
11
+ };
12
+ }
13
+ const animationFactories = [];
14
+ Array.from(variantChildren).forEach((child, index) => {
15
+ var _a;
16
+ const prevTarget = child.state.target;
17
+ const childState = child.state;
18
+ childState.target = {};
19
+ for (const name in activeState) {
20
+ childState.activeStates[name] = true;
21
+ const { definition, transition } = activeState[name];
22
+ const { staggerChildren = 0, staggerDirection = 1, delayChildren = 0 } = transition;
23
+ const maxStaggerDuration = (variantChildren.size - 1) * staggerChildren;
24
+ const generateStaggerDuration = staggerDirection === 1 ? (i = 0) => i * staggerChildren : (i = 0) => maxStaggerDuration - i * staggerChildren;
25
+ const variant = resolveVariant(
26
+ definition,
27
+ child.props.variants,
28
+ child.props.custom
29
+ );
30
+ const animationOptions = {};
31
+ const allTarget = { ...prevTarget, ...variant };
32
+ for (const key in allTarget) {
33
+ if (key === "transition")
34
+ continue;
35
+ childState.target[key] = allTarget[key];
36
+ if (childState.target[key] === void 0) {
37
+ childState.target[key] = childState.baseTarget[key];
38
+ }
39
+ if (hasChanged(prevTarget[key], childState.target[key])) {
40
+ (_a = childState.baseTarget)[key] ?? (_a[key] = style.get(child.current, key));
41
+ animationOptions[key] = getOptions(
42
+ Object.assign({}, transition, allTarget.transition, child.props.transition),
43
+ key
44
+ );
45
+ const keyValue = childState.target[key] === "none" ? transformResetValue[key] : childState.target[key];
46
+ animationFactories.push(
47
+ () => {
48
+ var _a2;
49
+ return animate(
50
+ child.current,
51
+ {
52
+ [key]: keyValue
53
+ },
54
+ {
55
+ ...animationOptions[key] || {},
56
+ delay: (((_a2 = animationOptions[key]) == null ? void 0 : _a2.delay) || 0) + delayChildren + generateStaggerDuration(index)
57
+ }
58
+ );
59
+ }
60
+ );
61
+ }
62
+ }
63
+ }
64
+ });
65
+ return {
66
+ animations: animationFactories,
67
+ getAnimations: () => Promise.all(animationFactories.map((factory) => factory()))
68
+ };
69
+ }
70
+ export {
71
+ animateVariantsChildren
72
+ };
@@ -1,6 +1,6 @@
1
1
  import { isSVGElement } from "./utils.mjs";
2
- import { HTMLVisualElement } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
3
- import { SVGVisualElement } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs";
2
+ import { HTMLVisualElement } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
3
+ import { SVGVisualElement } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs";
4
4
  function createVisualElement(Component, options) {
5
5
  return isSVGElement(Component) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
6
6
  }