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,5 +1,5 @@
1
- import { invariant } from "../node_modules/.pnpm/hey-listen@1.0.8/node_modules/hey-listen/dist/hey-listen.es.mjs";
2
- import { visualElementStore } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/store.mjs";
1
+ import { invariant } from "../external/.pnpm/hey-listen@1.0.8/external/hey-listen/dist/hey-listen.es.mjs";
2
+ import { visualElementStore } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/store.mjs";
3
3
  import { resolveVariant, getOptions, hasChanged, noop } from "./utils.mjs";
4
4
  import { FeatureManager } from "../features/feature-manager.mjs";
5
5
  import { style } from "./style.mjs";
@@ -7,10 +7,12 @@ import { transformResetValue } from "./transform.mjs";
7
7
  import { scheduleAnimation, unscheduleAnimation } from "./schedule.mjs";
8
8
  import { motionEvent } from "./event.mjs";
9
9
  import { createVisualElement } from "./create-visual-element.mjs";
10
- import { animate } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/animate/index.mjs";
11
- import { isDef } from "../node_modules/.pnpm/@vueuse_shared@12.0.0_typescript@5.5.4/node_modules/@vueuse/shared/index.mjs";
10
+ import { animateVariantsChildren } from "./animate-variants-children.mjs";
11
+ import { animate } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/animate/index.mjs";
12
+ import { isDef } from "../external/.pnpm/@vueuse_shared@12.0.0_typescript@5.7.2/external/@vueuse/shared/index.mjs";
12
13
  const STATE_TYPES = ["initial", "animate", "inView", "hover", "press", "exit", "drag"];
13
14
  const mountedStates = /* @__PURE__ */ new WeakMap();
15
+ let id = 0;
14
16
  class MotionState {
15
17
  constructor(options, parent) {
16
18
  this.element = null;
@@ -19,6 +21,7 @@ class MotionState {
19
21
  animate: true
20
22
  };
21
23
  this._context = null;
24
+ this.id = `motion-state-${id++}`;
22
25
  this.options = options;
23
26
  this.parent = parent;
24
27
  this.depth = (parent == null ? void 0 : parent.depth) + 1 || 0;
@@ -26,7 +29,10 @@ class MotionState {
26
29
  presenceContext: null,
27
30
  parent: parent == null ? void 0 : parent.visualElement,
28
31
  props: {
29
- ...this.options
32
+ ...this.options,
33
+ whileHover: this.options.hover,
34
+ whileTap: this.options.press,
35
+ whileInView: this.options.inView
30
36
  },
31
37
  visualState: {
32
38
  renderState: {
@@ -62,19 +68,29 @@ class MotionState {
62
68
  get initial() {
63
69
  return isDef(this.options.initial) ? this.options.initial : this.context.initial;
64
70
  }
65
- mount(element) {
71
+ updateOptions() {
66
72
  var _a;
73
+ this.visualElement.update({
74
+ ...this.options,
75
+ whileHover: this.options.hover,
76
+ whileTap: this.options.press,
77
+ whileInView: this.options.inView
78
+ }, (_a = this.parent) == null ? void 0 : _a.context);
79
+ }
80
+ mount(element, options) {
67
81
  invariant(
68
82
  Boolean(element),
69
83
  "Animation state must be mounted with valid Element"
70
84
  );
71
85
  this.element = element;
86
+ this.options = options;
72
87
  mountedStates.set(element, this);
73
88
  if (!visualElementStore.get(element)) {
74
89
  this.visualElement.mount(element);
75
90
  visualElementStore.set(element, this.visualElement);
76
91
  }
77
- this.visualElement.update(this.options, (_a = this.parent) == null ? void 0 : _a.context);
92
+ this.visualElement.state = this;
93
+ this.updateOptions();
78
94
  if (typeof this.initial === "object") {
79
95
  for (const key in this.initial) {
80
96
  this.visualElement.setStaticValue(key, this.initial[key]);
@@ -85,6 +101,7 @@ class MotionState {
85
101
  }
86
102
  }
87
103
  this.featureManager.mount();
104
+ scheduleAnimation(this);
88
105
  }
89
106
  unmount() {
90
107
  var _a;
@@ -94,14 +111,13 @@ class MotionState {
94
111
  this.featureManager.unmount();
95
112
  }
96
113
  update(options) {
97
- var _a;
98
114
  this.options = options;
99
- this.visualElement.update(this.options, (_a = this.parent) == null ? void 0 : _a.context);
115
+ this.updateOptions();
100
116
  this.featureManager.update();
101
117
  scheduleAnimation(this);
102
118
  }
103
119
  setActive(name, isActive) {
104
- if (!this.element)
120
+ if (!this.element || this.activeStates[name] === isActive)
105
121
  return;
106
122
  this.activeStates[name] = isActive;
107
123
  scheduleAnimation(this);
@@ -109,15 +125,25 @@ class MotionState {
109
125
  *animateUpdates() {
110
126
  const prevTarget = this.target;
111
127
  this.target = {};
128
+ const activeState = {};
112
129
  const animationOptions = {};
130
+ let transition;
113
131
  for (const name of STATE_TYPES) {
114
132
  if (!this.activeStates[name])
115
133
  continue;
134
+ const definition = isDef(this.options[name]) ? this.options[name] : this.context[name];
116
135
  const variant = resolveVariant(
117
- isDef(this.options[name]) ? this.options[name] : this.context[name],
136
+ definition,
118
137
  this.options.variants,
119
138
  this.options.custom
120
139
  );
140
+ transition = Object.assign({}, this.options.transition, variant == null ? void 0 : variant.transition);
141
+ if (typeof definition === "string") {
142
+ activeState[name] = {
143
+ definition,
144
+ transition
145
+ };
146
+ }
121
147
  if (!variant)
122
148
  continue;
123
149
  const allTarget = { ...prevTarget, ...variant };
@@ -126,7 +152,7 @@ class MotionState {
126
152
  continue;
127
153
  this.target[key] = variant[key];
128
154
  animationOptions[key] = getOptions(
129
- variant.transition ?? this.options.transition ?? {},
155
+ transition,
130
156
  key
131
157
  );
132
158
  }
@@ -143,12 +169,13 @@ class MotionState {
143
169
  }
144
170
  if (hasChanged(prevTarget[key], this.target[key])) {
145
171
  (_a = this.baseTarget)[key] ?? (_a[key] = style.get(this.element, key));
172
+ const keyValue = this.target[key] === "none" ? transformResetValue[key] : this.target[key];
146
173
  animationFactories.push(
147
174
  () => {
148
175
  return animate(
149
176
  this.element,
150
177
  {
151
- [key]: this.target[key] === "none" ? transformResetValue[key] : this.target[key]
178
+ [key]: keyValue
152
179
  },
153
180
  animationOptions[key] || {}
154
181
  );
@@ -156,14 +183,40 @@ class MotionState {
156
183
  );
157
184
  }
158
185
  });
186
+ let getChildAnimations = () => Promise.resolve();
187
+ let childAnimations = [];
188
+ if (Object.keys(activeState).length) {
189
+ const { getAnimations, animations: animations2 } = animateVariantsChildren(this, activeState);
190
+ getChildAnimations = getAnimations;
191
+ childAnimations = animations2;
192
+ }
159
193
  yield;
160
- const animations = animationFactories.map((factory) => factory()).filter(Boolean);
161
- if (!animations.length)
194
+ let animations;
195
+ const getAnimation = () => {
196
+ animations = animationFactories.map((factory) => factory()).filter(Boolean);
197
+ return Promise.all(animations);
198
+ };
199
+ const { when } = transition;
200
+ let animationPromise;
201
+ if (when) {
202
+ const [first, last] = when === "beforeChildren" ? [getAnimation, getChildAnimations] : [getChildAnimations, getAnimation];
203
+ animationPromise = first().then(() => last());
204
+ } else {
205
+ animationPromise = Promise.all([getAnimation(), getChildAnimations()]);
206
+ }
207
+ const isExit = this.activeStates.exit;
208
+ if (!(animations == null ? void 0 : animations.length) && !childAnimations.length) {
209
+ if (isExit) {
210
+ this.element.dispatchEvent(motionEvent("motionstart", this.target));
211
+ this.element.dispatchEvent(motionEvent("motioncomplete", {
212
+ ...this.target
213
+ }, isExit));
214
+ }
162
215
  return;
216
+ }
163
217
  const animationTarget = this.target;
164
218
  this.element.dispatchEvent(motionEvent("motionstart", animationTarget));
165
- const isExit = this.activeStates.exit;
166
- Promise.all(animations).then(() => {
219
+ animationPromise.then(() => {
167
220
  this.element.dispatchEvent(motionEvent("motioncomplete", {
168
221
  ...animationTarget
169
222
  }, isExit));
@@ -172,15 +225,9 @@ class MotionState {
172
225
  isMounted() {
173
226
  return Boolean(this.element);
174
227
  }
175
- getDepth() {
176
- return this.depth;
177
- }
178
228
  getOptions() {
179
229
  return this.options;
180
230
  }
181
- getTarget() {
182
- return this.target;
183
- }
184
231
  }
185
232
  export {
186
233
  MotionState,
@@ -22,7 +22,7 @@ function unscheduleAnimation(state) {
22
22
  scheduled && removeItem(scheduled, state);
23
23
  }
24
24
  function compareByDepth(a, b) {
25
- return a.getDepth() - b.getDepth();
25
+ return a.depth - b.depth;
26
26
  }
27
27
  export {
28
28
  scheduleAnimation,
@@ -1,5 +1,5 @@
1
1
  import { onBeforeUpdate, onUnmounted } from "vue";
2
- import { frame, cancelFrame } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame, cancelFrame } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
3
3
  function useAnimationFrame(callback) {
4
4
  let initialTimestamp = 0;
5
5
  const provideTimeSinceStart = ({ timestamp, delta }) => {
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, isRef, unref } from "vue";
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
  function useInView(domRef, options) {
4
4
  const isInView = ref(false);
5
5
  watch([domRef, () => isRef(options) ? options.value : options], (_v1, _v2) => {
@@ -1,6 +1,6 @@
1
1
  import { onUnmounted } from "vue";
2
- import { motionValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
3
- import { cancelFrame, frame } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
3
+ import { cancelFrame, frame } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
4
4
  function useCombineMotionValues(combineValues) {
5
5
  const value = motionValue(combineValues());
6
6
  const updateValue = () => value.set(combineValues());
@@ -1,5 +1,5 @@
1
1
  import { useCombineMotionValues } from "./use-combine-values.mjs";
2
- import { collectMotionValues } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
2
+ import { collectMotionValues } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
3
3
  import { onBeforeUpdate } from "vue";
4
4
  function useComputed(computed) {
5
5
  collectMotionValues.current = [];
@@ -1,7 +1,7 @@
1
1
  import { onMounted, onUnmounted, watch } from "vue";
2
- import { warning } from "../node_modules/.pnpm/hey-listen@1.0.8/node_modules/hey-listen/dist/hey-listen.es.mjs";
3
- import { motionValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
4
- import { scroll } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs";
2
+ import { warning } from "../external/.pnpm/hey-listen@1.0.8/external/hey-listen/dist/hey-listen.es.mjs";
3
+ import { motionValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
4
+ import { scroll } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
5
5
  function refWarning(name, ref) {
6
6
  warning(
7
7
  Boolean(!ref || ref.value),
@@ -1,7 +1,7 @@
1
1
  import { watch, onBeforeUnmount } from "vue";
2
- import { animateValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs";
3
- import { motionValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
4
- import { frame, frameData } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { animateValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs";
3
+ import { motionValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
4
+ import { frame, frameData } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
5
5
  import { isMotionValue } from "../utils/motion-value.mjs";
6
6
  function toNumber(v) {
7
7
  if (typeof v === "number")
@@ -1,5 +1,5 @@
1
1
  import { useAnimationFrame } from "../utils/use-animation-frame.mjs";
2
- import { motionValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
3
3
  function useTime() {
4
4
  const time = motionValue(0);
5
5
  useAnimationFrame((t) => time.set(t));
@@ -1,6 +1,6 @@
1
1
  import { useComputed } from "./use-computed.mjs";
2
2
  import { useCombineMotionValues } from "./use-combine-values.mjs";
3
- import { transform } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/utils/transform.mjs";
3
+ import { transform } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/utils/transform.mjs";
4
4
  function useTransform(input, inputRangeOrTransformer, outputRange, options) {
5
5
  if (typeof input === "function") {
6
6
  return useComputed(input);
@@ -1,6 +1,6 @@
1
1
  import { useMotionValueEvent } from "./use-motion-value-event.mjs";
2
- import { motionValue } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/value/index.mjs";
3
- import { frame } from "../node_modules/.pnpm/framer-motion@11.11.11/node_modules/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/value/index.mjs";
3
+ import { frame } from "../external/.pnpm/framer-motion@11.11.11/external/framer-motion/dist/es/frameloop/frame.mjs";
4
4
  function useVelocity(value) {
5
5
  const velocity = motionValue(value.getVelocity());
6
6
  const updateVelocity = () => {
@@ -1,9 +1,4 @@
1
- export interface AnimatePresenceProps {
2
- mode?: 'wait' | 'sync';
3
- initial?: boolean;
4
- multiple?: boolean;
5
- as?: string;
6
- }
1
+ import { AnimatePresenceProps } from './type';
7
2
  declare function __VLS_template(): {
8
3
  slots: {
9
4
  default?(_: {}): any;
@@ -21,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
21
16
  initial: boolean;
22
17
  multiple: boolean;
23
18
  }>>>, {
24
- mode: "wait" | "sync";
19
+ mode: "wait" | "popLayout" | "sync";
25
20
  initial: boolean;
26
21
  multiple: boolean;
27
22
  }, {}>;
@@ -1,8 +1,4 @@
1
- import { InheritOption } from './context';
2
- export interface LayoutGroupProps {
3
- id?: string;
4
- inherit?: InheritOption;
5
- }
1
+ import { LayoutGroupProps } from './use-layout-group';
6
2
  declare function __VLS_template(): {
7
3
  slots: {
8
4
  default?(_: {}): any;
@@ -12,9 +12,7 @@ declare const _default: <T extends ElementType = "div", K = unknown>(__VLS_props
12
12
  default?(_: {}): any;
13
13
  };
14
14
  emit: {};
15
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
16
- [key: string]: any;
17
- }> & {
15
+ }>) => import('vue').VNode & {
18
16
  __ctx?: Awaited<typeof __VLS_setup>;
19
17
  };
20
18
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { Ref } from 'vue';
2
- export declare const doneCallbacks: Map<Element, VoidFunction>;
2
+ export declare const doneCallbacks: WeakMap<Element, VoidFunction>;
3
+ export declare const unPresenceDom: Ref<WeakMap<Element, boolean> & Omit<WeakMap<Element, boolean>, keyof WeakMap<any, any>>>;
3
4
  export declare function removeDoneCallback(element: Element): void;
4
5
  export interface PresenceContext {
5
6
  initial: Ref<boolean>;
@@ -1,25 +1,6 @@
1
- interface SVGRenderState {
2
- style: Record<string, any>;
3
- transform: Record<string, any>;
4
- transformOrigin: {
5
- originX?: string | number;
6
- originY?: string | number;
7
- originZ?: string | number;
8
- };
9
- attrs: Record<string, any>;
10
- dimensions?: {
11
- x: number;
12
- y: number;
13
- width: number;
14
- height: number;
15
- };
16
- }
17
- interface SVGProps {
18
- attrX?: number;
19
- attrY?: number;
20
- attrScale?: number;
21
- pathLength?: number;
22
- pathSpacing?: number;
23
- pathOffset?: number;
24
- [key: string]: any;
1
+ export interface AnimatePresenceProps {
2
+ mode?: 'wait' | 'popLayout' | 'sync';
3
+ initial?: boolean;
4
+ multiple?: boolean;
5
+ as?: string;
25
6
  }
@@ -0,0 +1,20 @@
1
+ import { LayoutGroupState } from './context';
2
+ /**
3
+ * Props for configuring layout group behavior
4
+ */
5
+ export interface LayoutGroupProps {
6
+ /** Optional ID for the layout group */
7
+ id?: string;
8
+ /**
9
+ * Controls inheritance of parent group properties:
10
+ * - true: Inherit both id and group
11
+ * - 'id': Only inherit id
12
+ * - 'group': Only inherit group
13
+ */
14
+ inherit?: boolean | 'id' | 'group';
15
+ }
16
+ /**
17
+ * Hook to create and manage a layout group
18
+ * Handles group inheritance, force updates, and context management
19
+ */
20
+ export declare function useLayoutGroup(props: LayoutGroupProps): LayoutGroupState;
@@ -0,0 +1,6 @@
1
+ import { AnimatePresenceProps } from './type';
2
+ import { MotionState } from '../state';
3
+ export declare function usePopLayout(props: AnimatePresenceProps): {
4
+ addPopStyle: (state: MotionState) => void;
5
+ removePopStyle: (state: MotionState) => void;
6
+ };
@@ -0,0 +1 @@
1
+ export declare function getMotionElement(el: HTMLElement): HTMLElement;
@@ -1,5 +1,5 @@
1
1
  export interface LayoutOptions {
2
- 'layout'?: boolean;
2
+ 'layout'?: boolean | 'position' | 'size' | 'preserve-aspect';
3
3
  'layoutId'?: string;
4
4
  'layoutScroll'?: boolean;
5
5
  'layoutRoot'?: boolean;
@@ -1,11 +1,13 @@
1
1
  export * from 'framer-motion/dom';
2
2
  export { motionValue as useMotionValue } from 'framer-motion/dom';
3
3
  export { default as Motion, type MotionProps } from './components/Motion';
4
- export { default as AnimatePresence, type AnimatePresenceProps } from './components/AnimatePresence';
5
- export { default as LayoutGroup, type LayoutGroupProps } from './components/LayoutGroup';
4
+ export { default as AnimatePresence } from './components/AnimatePresence';
5
+ export type { AnimatePresenceProps } from './components/type';
6
+ export { default as LayoutGroup } from './components/LayoutGroup';
7
+ export type { LayoutGroupProps } from './components/use-layout-group';
6
8
  export * from './components/context';
7
9
  export * from './value';
8
10
  export * from './constants';
9
- export type { Variant, Options } from './types';
11
+ export * from './types';
10
12
  export * from './animation';
11
13
  export * from './utils';
@@ -0,0 +1,15 @@
1
+ import { MotionState } from './motion-state';
2
+ import { AnimateOptions, AnimationFactory } from '../types';
3
+ export type ActiveVariant = {
4
+ [key: string]: {
5
+ definition: string;
6
+ transition: AnimateOptions;
7
+ };
8
+ };
9
+ export declare function animateVariantsChildren(state: MotionState, activeState: ActiveVariant): {
10
+ animations: any[];
11
+ getAnimations: () => Promise<void>;
12
+ } | {
13
+ animations: AnimationFactory[];
14
+ getAnimations: () => Promise<unknown[]>;
15
+ };
@@ -4,13 +4,14 @@ declare const STATE_TYPES: readonly ["initial", "animate", "inView", "hover", "p
4
4
  type StateType = typeof STATE_TYPES[number];
5
5
  export declare const mountedStates: WeakMap<Element, MotionState>;
6
6
  export declare class MotionState {
7
+ readonly id: string;
7
8
  element: HTMLElement | null;
8
9
  private parent?;
9
10
  private options;
10
- private activeStates;
11
- private depth;
12
- private baseTarget;
13
- private target;
11
+ activeStates: Partial<Record<StateType, boolean>>;
12
+ depth: number;
13
+ baseTarget: DOMKeyframesDefinition;
14
+ target: DOMKeyframesDefinition;
14
15
  private featureManager;
15
16
  visualElement: VisualElement;
16
17
  constructor(options: Options, parent?: MotionState);
@@ -18,14 +19,13 @@ export declare class MotionState {
18
19
  get context(): MotionStateContext;
19
20
  private initTarget;
20
21
  get initial(): string | boolean | import('../types').Variant;
21
- mount(element: HTMLElement): void;
22
+ updateOptions(): void;
23
+ mount(element: HTMLElement, options: Options): void;
22
24
  unmount(): void;
23
25
  update(options: Options): void;
24
26
  setActive(name: StateType, isActive: boolean): void;
25
27
  animateUpdates(): Generator<any, void, unknown>;
26
28
  isMounted(): boolean;
27
- getDepth(): number;
28
29
  getOptions(): Options<any>;
29
- getTarget(): DOMKeyframesDefinition;
30
30
  }
31
31
  export {};
@@ -4,8 +4,17 @@ import { IntrinsicElementAttributes } from 'vue';
4
4
  import { TransformProperties } from './transform';
5
5
  import { LayoutOptions } from '../features/layout/types';
6
6
  type AnimationPlaybackControls = ReturnType<typeof animate>;
7
+ export interface Orchestration {
8
+ delay?: number;
9
+ when?: false | 'beforeChildren' | 'afterChildren' | string;
10
+ delayChildren?: number;
11
+ staggerChildren?: number;
12
+ staggerDirection?: number;
13
+ }
14
+ export interface AnimateOptions extends Omit<Orchestration, 'delay'>, DynamicAnimationOptions {
15
+ }
7
16
  export interface Variant extends DOMKeyframesDefinition {
8
- transition?: DynamicAnimationOptions;
17
+ transition?: AnimateOptions;
9
18
  }
10
19
  export type VariantLabels = string | Variant;
11
20
  type MarginValue = `${number}${'px' | '%'}`;
@@ -46,7 +55,7 @@ export interface Options<T = any> extends LayoutOptions {
46
55
  };
47
56
  style?: MotionStyle;
48
57
  transformTemplate?: (transform: TransformProperties, generatedTransform: string) => string;
49
- transition?: DynamicAnimationOptions;
58
+ transition?: AnimateOptions;
50
59
  onMotionStart?: (target: DOMKeyframesDefinition) => void;
51
60
  onMotionComplete?: (target: DOMKeyframesDefinition) => void;
52
61
  onHoverStart?: (e: PointerEvent) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-v",
3
- "version": "0.4.0",
3
+ "version": "0.5.0-beta.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",