@betterinternship/components 2.9.7 → 3.0.0

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 (750) hide show
  1. package/README.md +45 -50
  2. package/dist/components/{ui/accordion.d.ts → accordion.d.ts} +7 -1
  3. package/dist/components/accordion.js +23 -0
  4. package/dist/components/accordion.js.map +1 -0
  5. package/dist/components/{ui/animated-count.d.ts → animated-count.d.ts} +1 -4
  6. package/dist/components/animated-count.js +19 -0
  7. package/dist/components/animated-count.js.map +1 -0
  8. package/dist/components/animated-shiny-text.d.ts +5 -0
  9. package/dist/components/{ui/app-header.d.ts → app-header.d.ts} +3 -1
  10. package/dist/components/app-header.js +72 -0
  11. package/dist/components/app-header.js.map +1 -0
  12. package/dist/components/autocomplete.d.ts +34 -0
  13. package/dist/components/{ui/avatar.js → avatar.js} +1 -1
  14. package/dist/components/avatar.js.map +1 -0
  15. package/dist/components/badge.d.ts +13 -0
  16. package/dist/components/{ui/badge.js → badge.js} +54 -31
  17. package/dist/components/badge.js.map +1 -0
  18. package/dist/components/banner.d.ts +17 -0
  19. package/dist/components/banner.js +41 -0
  20. package/dist/components/banner.js.map +1 -0
  21. package/dist/components/button.d.ts +56 -0
  22. package/dist/components/button.js +53 -0
  23. package/dist/components/button.js.map +1 -0
  24. package/dist/components/calendar.d.ts +10 -0
  25. package/dist/components/calendar.js +56 -0
  26. package/dist/components/calendar.js.map +1 -0
  27. package/dist/components/{ui/card.d.ts → card.d.ts} +7 -1
  28. package/dist/components/{ui/card.js → card.js} +10 -4
  29. package/dist/components/card.js.map +1 -0
  30. package/dist/components/carousel.d.ts +40 -0
  31. package/dist/components/checkbox.d.ts +8 -0
  32. package/dist/components/checkbox.js +20 -0
  33. package/dist/components/checkbox.js.map +1 -0
  34. package/dist/components/chip-select.d.ts +18 -0
  35. package/dist/components/collapsible.d.ts +18 -0
  36. package/dist/components/context-menu.d.ts +27 -0
  37. package/dist/components/{ui/dialog.d.ts → dialog.d.ts} +5 -2
  38. package/dist/components/dialog.js +44 -0
  39. package/dist/components/dialog.js.map +1 -0
  40. package/dist/components/divider.d.ts +3 -0
  41. package/dist/components/divider.js +10 -0
  42. package/dist/components/divider.js.map +1 -0
  43. package/dist/components/dot-matrix.d.ts +21 -0
  44. package/dist/components/dropdown-menu.js +61 -0
  45. package/dist/components/dropdown-menu.js.map +1 -0
  46. package/dist/components/dropdown.d.ts +65 -0
  47. package/dist/components/error.d.ts +8 -0
  48. package/dist/components/file-upload.d.ts +16 -0
  49. package/dist/components/file-upload.js +29 -0
  50. package/dist/components/file-upload.js.map +1 -0
  51. package/dist/components/filter-chip.d.ts +21 -0
  52. package/dist/components/filter-chip.js +28 -0
  53. package/dist/components/filter-chip.js.map +1 -0
  54. package/dist/components/form-checkbox-group.d.ts +31 -0
  55. package/dist/components/form-checkbox-group.js +29 -0
  56. package/dist/components/form-checkbox-group.js.map +1 -0
  57. package/dist/components/form-checkbox.d.ts +15 -0
  58. package/dist/components/form-checkbox.js +14 -0
  59. package/dist/components/form-checkbox.js.map +1 -0
  60. package/dist/components/form-date-picker.d.ts +47 -0
  61. package/dist/components/form-date-picker.js +55 -0
  62. package/dist/components/form-date-picker.js.map +1 -0
  63. package/dist/components/form-field.d.ts +14 -0
  64. package/dist/components/form-field.js +10 -0
  65. package/dist/components/form-field.js.map +1 -0
  66. package/dist/components/form-input.d.ts +11 -0
  67. package/dist/components/form-input.js +12 -0
  68. package/dist/components/form-input.js.map +1 -0
  69. package/dist/components/form-month-picker.d.ts +26 -0
  70. package/dist/components/form-month-picker.js +55 -0
  71. package/dist/components/form-month-picker.js.map +1 -0
  72. package/dist/components/form-radio.d.ts +15 -0
  73. package/dist/components/form-radio.js +20 -0
  74. package/dist/components/form-radio.js.map +1 -0
  75. package/dist/components/form-textarea.d.ts +11 -0
  76. package/dist/components/form-textarea.js +11 -0
  77. package/dist/components/form-textarea.js.map +1 -0
  78. package/dist/components/form.d.ts +24 -0
  79. package/dist/components/hover-card.d.ts +6 -0
  80. package/dist/components/input-otp.d.ts +39 -0
  81. package/dist/components/input.js +30 -0
  82. package/dist/components/input.js.map +1 -0
  83. package/dist/components/label.d.ts +15 -0
  84. package/dist/components/label.js +19 -0
  85. package/dist/components/label.js.map +1 -0
  86. package/dist/components/loader.d.ts +20 -0
  87. package/dist/components/loader.js +14 -0
  88. package/dist/components/loader.js.map +1 -0
  89. package/dist/components/magnetic-button.d.ts +5 -0
  90. package/dist/components/messages.d.ts +6 -0
  91. package/dist/components/mobile-sheet-portal.d.ts +9 -0
  92. package/dist/components/page-header.d.ts +6 -0
  93. package/dist/components/page-header.js +9 -0
  94. package/dist/components/page-header.js.map +1 -0
  95. package/dist/components/paginator.d.ts +9 -0
  96. package/dist/components/{ui/popover.js → popover.js} +2 -2
  97. package/dist/components/popover.js.map +1 -0
  98. package/dist/components/progress.d.ts +4 -0
  99. package/dist/components/radio-group.d.ts +5 -0
  100. package/dist/components/radio-group.js +17 -0
  101. package/dist/components/radio-group.js.map +1 -0
  102. package/dist/components/select.d.ts +15 -0
  103. package/dist/components/select.js +50 -0
  104. package/dist/components/select.js.map +1 -0
  105. package/dist/components/sheet.d.ts +27 -0
  106. package/dist/components/{ui/skeleton.js → skeleton.js} +2 -2
  107. package/dist/components/skeleton.js.map +1 -0
  108. package/dist/components/slider.d.ts +4 -0
  109. package/dist/components/sonner-toast.d.ts +106 -0
  110. package/dist/components/stepper.d.ts +9 -0
  111. package/dist/components/stepper.js +14 -0
  112. package/dist/components/stepper.js.map +1 -0
  113. package/dist/components/switch.js +10 -0
  114. package/dist/components/switch.js.map +1 -0
  115. package/dist/components/table.d.ts +33 -0
  116. package/dist/components/table.js +88 -0
  117. package/dist/components/table.js.map +1 -0
  118. package/dist/components/tabs.d.ts +22 -0
  119. package/dist/components/textarea.d.ts +3 -0
  120. package/dist/components/textarea.js +11 -0
  121. package/dist/components/textarea.js.map +1 -0
  122. package/dist/components/time-input-native.d.ts +14 -0
  123. package/dist/components/time-input-native.js +61 -0
  124. package/dist/components/time-input-native.js.map +1 -0
  125. package/dist/components/timeline.d.ts +17 -0
  126. package/dist/components/toggle.d.ts +5 -0
  127. package/dist/components/{ui/tooltip.js → tooltip.js} +2 -2
  128. package/dist/components/tooltip.js.map +1 -0
  129. package/dist/design-tokens.d.ts +69 -0
  130. package/dist/hooks/use-detect-click-outside.d.ts +4 -0
  131. package/dist/hooks/use-field-focus.d.ts +37 -0
  132. package/dist/hooks/use-field-focus.js +57 -0
  133. package/dist/hooks/use-field-focus.js.map +1 -0
  134. package/dist/hooks/use-mobile-sheet-viewport.d.ts +6 -0
  135. package/dist/hooks/use-mobile-sheet-viewport.js +60 -0
  136. package/dist/hooks/use-mobile-sheet-viewport.js.map +1 -0
  137. package/dist/hooks/use-mobile.d.ts +1 -0
  138. package/dist/hooks/use-mobile.js +16 -0
  139. package/dist/hooks/use-mobile.js.map +1 -0
  140. package/dist/hooks/use-resource-table.d.ts +141 -0
  141. package/dist/hooks/useMQJob.d.ts +2 -2
  142. package/dist/hooks/useMQJob.js.map +1 -1
  143. package/dist/index.d.ts +36 -22
  144. package/dist/index.js +34 -22
  145. package/dist/index.js.map +1 -1
  146. package/dist/lib/interaction-styles.d.ts +10 -0
  147. package/dist/lib/interaction-styles.js +15 -0
  148. package/dist/lib/interaction-styles.js.map +1 -0
  149. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +118 -0
  150. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  151. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +77 -0
  152. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  153. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +190 -0
  154. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  155. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +46 -0
  156. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  157. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
  158. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  159. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +7 -0
  160. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  161. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +7 -0
  162. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  163. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +14 -0
  164. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  165. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +15 -0
  166. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  167. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +7 -0
  168. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  169. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +18 -0
  170. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  171. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +11 -0
  172. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  173. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +10 -0
  174. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  175. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
  176. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  177. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
  178. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  179. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +586 -0
  180. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  181. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +51 -0
  182. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  183. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +130 -0
  184. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  185. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +42 -0
  186. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  187. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +31 -0
  188. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  189. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +285 -0
  190. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  191. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +51 -0
  192. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  193. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +38 -0
  194. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  195. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +71 -0
  196. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  197. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +41 -0
  198. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  199. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
  200. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  201. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +49 -0
  202. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  203. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
  204. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  205. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
  206. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  207. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +138 -0
  208. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  209. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
  210. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  211. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +16 -0
  212. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  213. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +77 -0
  214. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  215. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +50 -0
  216. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  217. package/dist/node_modules/framer-motion/dist/es/motion/index.js +113 -0
  218. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  219. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
  220. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  221. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +52 -0
  222. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  223. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +166 -0
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  225. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +81 -0
  226. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  227. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +59 -0
  228. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  229. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +46 -0
  230. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  231. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +14 -0
  232. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
  233. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +8 -0
  234. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  235. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +19 -0
  236. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  237. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +28 -0
  238. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  239. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +37 -0
  240. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  241. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +31 -0
  242. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  243. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +12 -0
  244. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
  245. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +59 -0
  246. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  247. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
  248. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  249. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +34 -0
  250. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  251. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +26 -0
  252. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  253. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +12 -0
  254. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
  255. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
  256. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  257. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  258. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  259. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
  260. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  261. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
  262. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  263. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  264. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  265. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +49 -0
  266. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
  267. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +61 -0
  268. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
  269. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +20 -0
  270. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  271. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +8 -0
  272. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  273. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +200 -0
  274. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
  275. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +386 -0
  276. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
  277. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +181 -0
  278. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
  279. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +88 -0
  280. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
  281. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
  282. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
  283. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +18 -0
  284. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
  285. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +88 -0
  286. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
  287. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +52 -0
  288. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
  289. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +331 -0
  290. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
  291. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +18 -0
  292. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  293. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +20 -0
  294. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
  295. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
  296. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  297. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +10 -0
  298. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
  299. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +106 -0
  300. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
  301. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +109 -0
  302. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  303. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +60 -0
  304. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  305. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +27 -0
  306. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
  307. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +142 -0
  308. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
  309. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +148 -0
  310. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
  311. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +12 -0
  312. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
  313. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
  314. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
  315. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +13 -0
  316. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
  317. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
  318. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
  319. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
  320. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
  321. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +16 -0
  322. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
  323. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +31 -0
  324. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
  325. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +47 -0
  326. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
  327. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +7 -0
  328. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  329. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
  330. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  331. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
  332. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
  333. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +16 -0
  334. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
  335. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +44 -0
  336. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
  337. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +43 -0
  338. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
  339. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +41 -0
  340. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
  341. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +14 -0
  342. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  343. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +31 -0
  344. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
  345. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +27 -0
  346. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
  347. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +27 -0
  348. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  349. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +7 -0
  350. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
  351. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +19 -0
  352. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
  353. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
  354. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
  355. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
  356. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
  357. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +29 -0
  358. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
  359. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +16 -0
  360. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
  361. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +29 -0
  362. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
  363. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +55 -0
  364. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
  365. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +13 -0
  366. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
  367. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +16 -0
  368. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
  369. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +13 -0
  370. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
  371. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +13 -0
  372. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  373. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +21 -0
  374. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
  375. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +7 -0
  376. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
  377. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +73 -0
  378. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
  379. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +7 -0
  380. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
  381. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
  382. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
  383. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +13 -0
  384. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
  385. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +84 -0
  386. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
  387. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +32 -0
  388. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
  389. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +10 -0
  390. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  391. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +29 -0
  392. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  393. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +70 -0
  394. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  395. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +97 -0
  396. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  397. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +34 -0
  398. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  399. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +39 -0
  400. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  401. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
  402. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  403. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +21 -0
  404. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  405. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +19 -0
  406. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  407. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
  408. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  409. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +69 -0
  410. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
  411. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +34 -0
  412. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
  413. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +32 -0
  414. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
  415. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +125 -0
  416. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
  417. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +59 -0
  418. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
  419. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +55 -0
  420. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
  421. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
  422. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
  423. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +32 -0
  424. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
  425. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +14 -0
  426. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  427. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +28 -0
  428. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  429. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1660 -0
  430. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
  431. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +20 -0
  432. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
  433. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +85 -0
  434. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
  435. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +42 -0
  436. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  437. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +36 -0
  438. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  439. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +18 -0
  440. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
  441. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +53 -0
  442. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
  443. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
  444. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
  445. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
  446. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
  447. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +25 -0
  448. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
  449. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +27 -0
  450. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
  451. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +18 -0
  452. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
  453. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +15 -0
  454. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
  455. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +564 -0
  456. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
  457. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +43 -0
  458. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  459. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
  460. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
  461. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +84 -0
  462. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
  463. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +10 -0
  464. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
  465. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  466. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  467. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +55 -0
  468. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  469. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +66 -0
  470. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
  471. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +72 -0
  472. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
  473. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +18 -0
  474. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
  475. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +22 -0
  476. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  477. package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
  478. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
  479. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +52 -0
  480. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  481. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +64 -0
  482. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  483. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +31 -0
  484. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  485. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
  486. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  487. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +32 -0
  488. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
  489. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +13 -0
  490. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
  491. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +20 -0
  492. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  493. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +387 -0
  494. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
  495. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +33 -0
  496. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
  497. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
  498. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
  499. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
  500. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  501. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +12 -0
  502. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
  503. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
  504. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
  505. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +9 -0
  506. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
  507. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +14 -0
  508. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
  509. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +36 -0
  510. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
  511. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +56 -0
  512. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
  513. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +20 -0
  514. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
  515. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
  516. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
  517. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
  518. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  519. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +37 -0
  520. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
  521. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +32 -0
  522. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
  523. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +15 -0
  524. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
  525. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
  526. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
  527. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +64 -0
  528. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
  529. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +32 -0
  530. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
  531. package/dist/node_modules/motion-dom/dist/es/resize/index.js +9 -0
  532. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
  533. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +15 -0
  534. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
  535. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +21 -0
  536. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
  537. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +80 -0
  538. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
  539. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +14 -0
  540. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
  541. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +12 -0
  542. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
  543. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +12 -0
  544. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
  545. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +48 -0
  546. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
  547. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +94 -0
  548. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
  549. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
  550. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
  551. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +15 -0
  552. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
  553. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +27 -0
  554. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
  555. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +17 -0
  556. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
  557. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +18 -0
  558. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  559. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +8 -0
  560. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  561. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +16 -0
  562. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  563. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +10 -0
  564. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  565. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
  566. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  567. package/dist/node_modules/motion-dom/dist/es/value/index.js +320 -0
  568. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
  569. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +10 -0
  570. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
  571. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +41 -0
  572. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
  573. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +43 -0
  574. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
  575. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +23 -0
  576. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
  577. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +33 -0
  578. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
  579. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +26 -0
  580. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
  581. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +30 -0
  582. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
  583. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +31 -0
  584. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
  585. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +114 -0
  586. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
  587. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +13 -0
  588. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
  589. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +16 -0
  590. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
  591. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +9 -0
  592. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
  593. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +34 -0
  594. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
  595. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +71 -0
  596. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
  597. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +38 -0
  598. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
  599. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +18 -0
  600. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
  601. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +19 -0
  602. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
  603. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +7 -0
  604. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
  605. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +18 -0
  606. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
  607. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
  608. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
  609. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +16 -0
  610. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
  611. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
  612. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
  613. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +11 -0
  614. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
  615. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
  616. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
  617. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
  618. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
  619. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
  620. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  621. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
  622. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
  623. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +11 -0
  624. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  625. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +21 -0
  626. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
  627. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +8 -0
  628. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
  629. package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
  630. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
  631. package/dist/node_modules/motion-utils/dist/es/clamp.js +10 -0
  632. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
  633. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +10 -0
  634. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
  635. package/dist/node_modules/motion-utils/dist/es/easing/back.js +10 -0
  636. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
  637. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +9 -0
  638. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
  639. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +53 -0
  640. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
  641. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +8 -0
  642. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
  643. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +7 -0
  644. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
  645. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +7 -0
  646. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
  647. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
  648. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
  649. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
  650. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
  651. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +42 -0
  652. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
  653. package/dist/node_modules/motion-utils/dist/es/errors.js +20 -0
  654. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  655. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
  656. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
  657. package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
  658. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
  659. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +7 -0
  660. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
  661. package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
  662. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
  663. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +7 -0
  664. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
  665. package/dist/node_modules/motion-utils/dist/es/memo.js +12 -0
  666. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  667. package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
  668. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  669. package/dist/node_modules/motion-utils/dist/es/pipe.js +11 -0
  670. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
  671. package/dist/node_modules/motion-utils/dist/es/progress.js +15 -0
  672. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  673. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +41 -0
  674. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
  675. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +13 -0
  676. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  677. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +8 -0
  678. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
  679. package/dist/node_modules/motion-utils/dist/es/warn-once.js +12 -0
  680. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
  681. package/dist/utils.js.map +1 -1
  682. package/package.json +285 -249
  683. package/theme.css +355 -228
  684. package/theme.legacy.css +84 -0
  685. package/dist/components/ui/accordion.js +0 -20
  686. package/dist/components/ui/accordion.js.map +0 -1
  687. package/dist/components/ui/animated-count.js +0 -22
  688. package/dist/components/ui/animated-count.js.map +0 -1
  689. package/dist/components/ui/app-header.js +0 -72
  690. package/dist/components/ui/app-header.js.map +0 -1
  691. package/dist/components/ui/avatar.js.map +0 -1
  692. package/dist/components/ui/badge.d.ts +0 -22
  693. package/dist/components/ui/badge.js.map +0 -1
  694. package/dist/components/ui/button.d.ts +0 -13
  695. package/dist/components/ui/button.js +0 -88
  696. package/dist/components/ui/button.js.map +0 -1
  697. package/dist/components/ui/button.test.d.ts +0 -1
  698. package/dist/components/ui/calendar.d.ts +0 -7
  699. package/dist/components/ui/card.js.map +0 -1
  700. package/dist/components/ui/checkbox.d.ts +0 -4
  701. package/dist/components/ui/checkbox.js +0 -11
  702. package/dist/components/ui/checkbox.js.map +0 -1
  703. package/dist/components/ui/dialog.js +0 -41
  704. package/dist/components/ui/dialog.js.map +0 -1
  705. package/dist/components/ui/dropdown-menu.js +0 -61
  706. package/dist/components/ui/dropdown-menu.js.map +0 -1
  707. package/dist/components/ui/fab.js +0 -9
  708. package/dist/components/ui/fab.js.map +0 -1
  709. package/dist/components/ui/icons.d.ts +0 -10
  710. package/dist/components/ui/icons.js +0 -39
  711. package/dist/components/ui/icons.js.map +0 -1
  712. package/dist/components/ui/input.js +0 -17
  713. package/dist/components/ui/input.js.map +0 -1
  714. package/dist/components/ui/label.d.ts +0 -4
  715. package/dist/components/ui/label.js +0 -10
  716. package/dist/components/ui/label.js.map +0 -1
  717. package/dist/components/ui/page-header.d.ts +0 -18
  718. package/dist/components/ui/page-header.js +0 -17
  719. package/dist/components/ui/page-header.js.map +0 -1
  720. package/dist/components/ui/popover.js.map +0 -1
  721. package/dist/components/ui/separator.d.ts +0 -4
  722. package/dist/components/ui/separator.js +0 -10
  723. package/dist/components/ui/separator.js.map +0 -1
  724. package/dist/components/ui/skeleton.js.map +0 -1
  725. package/dist/components/ui/status-notice.d.ts +0 -14
  726. package/dist/components/ui/status-notice.js +0 -30
  727. package/dist/components/ui/status-notice.js.map +0 -1
  728. package/dist/components/ui/switch.js +0 -10
  729. package/dist/components/ui/switch.js.map +0 -1
  730. package/dist/components/ui/table.d.ts +0 -10
  731. package/dist/components/ui/table.js +0 -30
  732. package/dist/components/ui/table.js.map +0 -1
  733. package/dist/components/ui/textarea.d.ts +0 -3
  734. package/dist/components/ui/textarea.js +0 -9
  735. package/dist/components/ui/textarea.js.map +0 -1
  736. package/dist/components/ui/tooltip.js.map +0 -1
  737. package/dist/config.d.ts +0 -6
  738. package/dist/config.js +0 -9
  739. package/dist/config.js.map +0 -1
  740. package/dist/hooks/useClientProcess.d.ts +0 -69
  741. package/dist/hooks/useClientProcess.js +0 -255
  742. package/dist/hooks/useClientProcess.js.map +0 -1
  743. /package/dist/components/{ui/avatar.d.ts → avatar.d.ts} +0 -0
  744. /package/dist/components/{ui/dropdown-menu.d.ts → dropdown-menu.d.ts} +0 -0
  745. /package/dist/components/{ui/fab.d.ts → fab.d.ts} +0 -0
  746. /package/dist/components/{ui/input.d.ts → input.d.ts} +0 -0
  747. /package/dist/components/{ui/popover.d.ts → popover.d.ts} +0 -0
  748. /package/dist/components/{ui/skeleton.d.ts → skeleton.d.ts} +0 -0
  749. /package/dist/components/{ui/switch.d.ts → switch.d.ts} +0 -0
  750. /package/dist/components/{ui/tooltip.d.ts → tooltip.d.ts} +0 -0
@@ -0,0 +1,285 @@
1
+ import { addPointerEvent } from '../../events/add-pointer-event.js';
2
+ import { extractEventInfo } from '../../events/event-info.js';
3
+ import { distance2D } from '../../utils/distance.js';
4
+ import { frameData, frame, cancelFrame } from '../../../../../motion-dom/dist/es/frameloop/frame.js';
5
+ import { isPrimaryPointer } from '../../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js';
6
+ import { pipe } from '../../../../../motion-utils/dist/es/pipe.js';
7
+ import { secondsToMilliseconds, millisecondsToSeconds } from '../../../../../motion-utils/dist/es/time-conversion.js';
8
+
9
+ const overflowStyles = /*#__PURE__*/ new Set(["auto", "scroll"]);
10
+ /**
11
+ * @internal
12
+ */
13
+ class PanSession {
14
+ constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, element, } = {}) {
15
+ /**
16
+ * @internal
17
+ */
18
+ this.startEvent = null;
19
+ /**
20
+ * @internal
21
+ */
22
+ this.lastMoveEvent = null;
23
+ /**
24
+ * @internal
25
+ */
26
+ this.lastMoveEventInfo = null;
27
+ /**
28
+ * Raw (untransformed) event info, re-transformed each frame
29
+ * so transformPagePoint sees the current parent matrix.
30
+ * @internal
31
+ */
32
+ this.lastRawMoveEventInfo = null;
33
+ /**
34
+ * @internal
35
+ */
36
+ this.handlers = {};
37
+ /**
38
+ * @internal
39
+ */
40
+ this.contextWindow = window;
41
+ /**
42
+ * Scroll positions of scrollable ancestors and window.
43
+ * @internal
44
+ */
45
+ this.scrollPositions = new Map();
46
+ /**
47
+ * Cleanup function for scroll listeners.
48
+ * @internal
49
+ */
50
+ this.removeScrollListeners = null;
51
+ this.onElementScroll = (event) => {
52
+ this.handleScroll(event.target);
53
+ };
54
+ this.onWindowScroll = () => {
55
+ this.handleScroll(window);
56
+ };
57
+ this.updatePoint = () => {
58
+ if (!(this.lastMoveEvent && this.lastMoveEventInfo))
59
+ return;
60
+ // Re-transform raw point through current transformPagePoint so
61
+ // animated parent transforms (e.g. rotation) are picked up each frame
62
+ if (this.lastRawMoveEventInfo) {
63
+ this.lastMoveEventInfo = transformPoint(this.lastRawMoveEventInfo, this.transformPagePoint);
64
+ }
65
+ const info = getPanInfo(this.lastMoveEventInfo, this.history);
66
+ const isPanStarted = this.startEvent !== null;
67
+ // Only start panning if the offset is larger than 3 pixels. If we make it
68
+ // any larger than this we'll want to reset the pointer history
69
+ // on the first update to avoid visual snapping to the cursor.
70
+ const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
71
+ if (!isPanStarted && !isDistancePastThreshold)
72
+ return;
73
+ const { point } = info;
74
+ const { timestamp } = frameData;
75
+ this.history.push({ ...point, timestamp });
76
+ const { onStart, onMove } = this.handlers;
77
+ if (!isPanStarted) {
78
+ onStart && onStart(this.lastMoveEvent, info);
79
+ this.startEvent = this.lastMoveEvent;
80
+ }
81
+ onMove && onMove(this.lastMoveEvent, info);
82
+ };
83
+ this.handlePointerMove = (event, info) => {
84
+ this.lastMoveEvent = event;
85
+ this.lastRawMoveEventInfo = info;
86
+ this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);
87
+ // Throttle mouse move event to once per frame
88
+ frame.update(this.updatePoint, true);
89
+ };
90
+ this.handlePointerUp = (event, info) => {
91
+ this.end();
92
+ const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;
93
+ // Resume animation if dragSnapToOrigin is set OR if no drag started (user just clicked)
94
+ // This ensures constraint animations continue when interrupted by a click
95
+ if (this.dragSnapToOrigin || !this.startEvent) {
96
+ resumeAnimation && resumeAnimation();
97
+ }
98
+ if (!(this.lastMoveEvent && this.lastMoveEventInfo))
99
+ return;
100
+ const panInfo = getPanInfo(event.type === "pointercancel"
101
+ ? this.lastMoveEventInfo
102
+ : transformPoint(info, this.transformPagePoint), this.history);
103
+ if (this.startEvent && onEnd) {
104
+ onEnd(event, panInfo);
105
+ }
106
+ onSessionEnd && onSessionEnd(event, panInfo);
107
+ };
108
+ // If we have more than one touch, don't start detecting this gesture
109
+ if (!isPrimaryPointer(event))
110
+ return;
111
+ this.dragSnapToOrigin = dragSnapToOrigin;
112
+ this.handlers = handlers;
113
+ this.transformPagePoint = transformPagePoint;
114
+ this.distanceThreshold = distanceThreshold;
115
+ this.contextWindow = contextWindow || window;
116
+ const info = extractEventInfo(event);
117
+ const initialInfo = transformPoint(info, this.transformPagePoint);
118
+ const { point } = initialInfo;
119
+ const { timestamp } = frameData;
120
+ this.history = [{ ...point, timestamp }];
121
+ const { onSessionStart } = handlers;
122
+ onSessionStart &&
123
+ onSessionStart(event, getPanInfo(initialInfo, this.history));
124
+ // Listen in the capture phase so a descendant calling
125
+ // stopPropagation() (e.g. in its own pointerup handler) can't
126
+ // prevent the gesture from ending. See #2794.
127
+ const eventOptions = { passive: true, capture: true };
128
+ this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove, eventOptions), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp, eventOptions), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp, eventOptions));
129
+ // Start scroll tracking if element provided
130
+ if (element) {
131
+ this.startScrollTracking(element);
132
+ }
133
+ }
134
+ /**
135
+ * Start tracking scroll on ancestors and window.
136
+ */
137
+ startScrollTracking(element) {
138
+ // Store initial scroll positions for scrollable ancestors
139
+ let current = element.parentElement;
140
+ while (current) {
141
+ const style = getComputedStyle(current);
142
+ if (overflowStyles.has(style.overflowX) ||
143
+ overflowStyles.has(style.overflowY)) {
144
+ this.scrollPositions.set(current, {
145
+ x: current.scrollLeft,
146
+ y: current.scrollTop,
147
+ });
148
+ }
149
+ current = current.parentElement;
150
+ }
151
+ // Track window scroll
152
+ this.scrollPositions.set(window, {
153
+ x: window.scrollX,
154
+ y: window.scrollY,
155
+ });
156
+ // Capture listener catches element scroll events as they bubble
157
+ window.addEventListener("scroll", this.onElementScroll, {
158
+ capture: true,
159
+ });
160
+ // Direct window scroll listener (window scroll doesn't bubble)
161
+ window.addEventListener("scroll", this.onWindowScroll);
162
+ this.removeScrollListeners = () => {
163
+ window.removeEventListener("scroll", this.onElementScroll, {
164
+ capture: true,
165
+ });
166
+ window.removeEventListener("scroll", this.onWindowScroll);
167
+ };
168
+ }
169
+ /**
170
+ * Handle scroll compensation during drag.
171
+ *
172
+ * For element scroll: adjusts history origin since pageX/pageY doesn't change.
173
+ * For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.
174
+ */
175
+ handleScroll(target) {
176
+ const initial = this.scrollPositions.get(target);
177
+ if (!initial)
178
+ return;
179
+ const isWindow = target === window;
180
+ const current = isWindow
181
+ ? { x: window.scrollX, y: window.scrollY }
182
+ : {
183
+ x: target.scrollLeft,
184
+ y: target.scrollTop,
185
+ };
186
+ const delta = { x: current.x - initial.x, y: current.y - initial.y };
187
+ if (delta.x === 0 && delta.y === 0)
188
+ return;
189
+ if (isWindow) {
190
+ // Window scroll: pageX/pageY changes, so update lastMoveEventInfo
191
+ if (this.lastMoveEventInfo) {
192
+ this.lastMoveEventInfo.point.x += delta.x;
193
+ this.lastMoveEventInfo.point.y += delta.y;
194
+ }
195
+ }
196
+ else {
197
+ // Element scroll: pageX/pageY unchanged, so adjust history origin
198
+ if (this.history.length > 0) {
199
+ this.history[0].x -= delta.x;
200
+ this.history[0].y -= delta.y;
201
+ }
202
+ }
203
+ this.scrollPositions.set(target, current);
204
+ frame.update(this.updatePoint, true);
205
+ }
206
+ updateHandlers(handlers) {
207
+ this.handlers = handlers;
208
+ }
209
+ end() {
210
+ this.removeListeners && this.removeListeners();
211
+ this.removeScrollListeners && this.removeScrollListeners();
212
+ this.scrollPositions.clear();
213
+ cancelFrame(this.updatePoint);
214
+ }
215
+ }
216
+ function transformPoint(info, transformPagePoint) {
217
+ return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
218
+ }
219
+ function subtractPoint(a, b) {
220
+ return { x: a.x - b.x, y: a.y - b.y };
221
+ }
222
+ function getPanInfo({ point }, history) {
223
+ return {
224
+ point,
225
+ delta: subtractPoint(point, lastDevicePoint(history)),
226
+ offset: subtractPoint(point, startDevicePoint(history)),
227
+ velocity: getVelocity(history, 0.1),
228
+ };
229
+ }
230
+ function startDevicePoint(history) {
231
+ return history[0];
232
+ }
233
+ function lastDevicePoint(history) {
234
+ return history[history.length - 1];
235
+ }
236
+ function getVelocity(history, timeDelta) {
237
+ if (history.length < 2) {
238
+ return { x: 0, y: 0 };
239
+ }
240
+ let i = history.length - 1;
241
+ let timestampedPoint = null;
242
+ const lastPoint = lastDevicePoint(history);
243
+ while (i >= 0) {
244
+ timestampedPoint = history[i];
245
+ if (lastPoint.timestamp - timestampedPoint.timestamp >
246
+ secondsToMilliseconds(timeDelta)) {
247
+ break;
248
+ }
249
+ i--;
250
+ }
251
+ if (!timestampedPoint) {
252
+ return { x: 0, y: 0 };
253
+ }
254
+ /**
255
+ * If the selected point is the pointer-down origin (history[0]),
256
+ * there are better movement points available, and the time gap
257
+ * is suspiciously large (>2x timeDelta), use the next point instead.
258
+ * This prevents stale pointer-down points from diluting velocity
259
+ * in hold-then-flick gestures.
260
+ */
261
+ if (timestampedPoint === history[0] &&
262
+ history.length > 2 &&
263
+ lastPoint.timestamp - timestampedPoint.timestamp >
264
+ secondsToMilliseconds(timeDelta) * 2) {
265
+ timestampedPoint = history[1];
266
+ }
267
+ const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);
268
+ if (time === 0) {
269
+ return { x: 0, y: 0 };
270
+ }
271
+ const currentVelocity = {
272
+ x: (lastPoint.x - timestampedPoint.x) / time,
273
+ y: (lastPoint.y - timestampedPoint.y) / time,
274
+ };
275
+ if (currentVelocity.x === Infinity) {
276
+ currentVelocity.x = 0;
277
+ }
278
+ if (currentVelocity.y === Infinity) {
279
+ currentVelocity.y = 0;
280
+ }
281
+ return currentVelocity;
282
+ }
283
+
284
+ export { PanSession };
285
+ //# sourceMappingURL=PanSession.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanSession.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs"],"sourcesContent":["import { frameData, frame, isPrimaryPointer, cancelFrame } from 'motion-dom';\nimport { pipe, secondsToMilliseconds, millisecondsToSeconds } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { distance2D } from '../../utils/distance.mjs';\n\nconst overflowStyles = /*#__PURE__*/ new Set([\"auto\", \"scroll\"]);\n/**\n * @internal\n */\nclass PanSession {\n constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, element, } = {}) {\n /**\n * @internal\n */\n this.startEvent = null;\n /**\n * @internal\n */\n this.lastMoveEvent = null;\n /**\n * @internal\n */\n this.lastMoveEventInfo = null;\n /**\n * Raw (untransformed) event info, re-transformed each frame\n * so transformPagePoint sees the current parent matrix.\n * @internal\n */\n this.lastRawMoveEventInfo = null;\n /**\n * @internal\n */\n this.handlers = {};\n /**\n * @internal\n */\n this.contextWindow = window;\n /**\n * Scroll positions of scrollable ancestors and window.\n * @internal\n */\n this.scrollPositions = new Map();\n /**\n * Cleanup function for scroll listeners.\n * @internal\n */\n this.removeScrollListeners = null;\n this.onElementScroll = (event) => {\n this.handleScroll(event.target);\n };\n this.onWindowScroll = () => {\n this.handleScroll(window);\n };\n this.updatePoint = () => {\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n // Re-transform raw point through current transformPagePoint so\n // animated parent transforms (e.g. rotation) are picked up each frame\n if (this.lastRawMoveEventInfo) {\n this.lastMoveEventInfo = transformPoint(this.lastRawMoveEventInfo, this.transformPagePoint);\n }\n const info = getPanInfo(this.lastMoveEventInfo, this.history);\n const isPanStarted = this.startEvent !== null;\n // Only start panning if the offset is larger than 3 pixels. If we make it\n // any larger than this we'll want to reset the pointer history\n // on the first update to avoid visual snapping to the cursor.\n const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= this.distanceThreshold;\n if (!isPanStarted && !isDistancePastThreshold)\n return;\n const { point } = info;\n const { timestamp } = frameData;\n this.history.push({ ...point, timestamp });\n const { onStart, onMove } = this.handlers;\n if (!isPanStarted) {\n onStart && onStart(this.lastMoveEvent, info);\n this.startEvent = this.lastMoveEvent;\n }\n onMove && onMove(this.lastMoveEvent, info);\n };\n this.handlePointerMove = (event, info) => {\n this.lastMoveEvent = event;\n this.lastRawMoveEventInfo = info;\n this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);\n // Throttle mouse move event to once per frame\n frame.update(this.updatePoint, true);\n };\n this.handlePointerUp = (event, info) => {\n this.end();\n const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;\n // Resume animation if dragSnapToOrigin is set OR if no drag started (user just clicked)\n // This ensures constraint animations continue when interrupted by a click\n if (this.dragSnapToOrigin || !this.startEvent) {\n resumeAnimation && resumeAnimation();\n }\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n const panInfo = getPanInfo(event.type === \"pointercancel\"\n ? this.lastMoveEventInfo\n : transformPoint(info, this.transformPagePoint), this.history);\n if (this.startEvent && onEnd) {\n onEnd(event, panInfo);\n }\n onSessionEnd && onSessionEnd(event, panInfo);\n };\n // If we have more than one touch, don't start detecting this gesture\n if (!isPrimaryPointer(event))\n return;\n this.dragSnapToOrigin = dragSnapToOrigin;\n this.handlers = handlers;\n this.transformPagePoint = transformPagePoint;\n this.distanceThreshold = distanceThreshold;\n this.contextWindow = contextWindow || window;\n const info = extractEventInfo(event);\n const initialInfo = transformPoint(info, this.transformPagePoint);\n const { point } = initialInfo;\n const { timestamp } = frameData;\n this.history = [{ ...point, timestamp }];\n const { onSessionStart } = handlers;\n onSessionStart &&\n onSessionStart(event, getPanInfo(initialInfo, this.history));\n // Listen in the capture phase so a descendant calling\n // stopPropagation() (e.g. in its own pointerup handler) can't\n // prevent the gesture from ending. See #2794.\n const eventOptions = { passive: true, capture: true };\n this.removeListeners = pipe(addPointerEvent(this.contextWindow, \"pointermove\", this.handlePointerMove, eventOptions), addPointerEvent(this.contextWindow, \"pointerup\", this.handlePointerUp, eventOptions), addPointerEvent(this.contextWindow, \"pointercancel\", this.handlePointerUp, eventOptions));\n // Start scroll tracking if element provided\n if (element) {\n this.startScrollTracking(element);\n }\n }\n /**\n * Start tracking scroll on ancestors and window.\n */\n startScrollTracking(element) {\n // Store initial scroll positions for scrollable ancestors\n let current = element.parentElement;\n while (current) {\n const style = getComputedStyle(current);\n if (overflowStyles.has(style.overflowX) ||\n overflowStyles.has(style.overflowY)) {\n this.scrollPositions.set(current, {\n x: current.scrollLeft,\n y: current.scrollTop,\n });\n }\n current = current.parentElement;\n }\n // Track window scroll\n this.scrollPositions.set(window, {\n x: window.scrollX,\n y: window.scrollY,\n });\n // Capture listener catches element scroll events as they bubble\n window.addEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n // Direct window scroll listener (window scroll doesn't bubble)\n window.addEventListener(\"scroll\", this.onWindowScroll);\n this.removeScrollListeners = () => {\n window.removeEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n window.removeEventListener(\"scroll\", this.onWindowScroll);\n };\n }\n /**\n * Handle scroll compensation during drag.\n *\n * For element scroll: adjusts history origin since pageX/pageY doesn't change.\n * For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.\n */\n handleScroll(target) {\n const initial = this.scrollPositions.get(target);\n if (!initial)\n return;\n const isWindow = target === window;\n const current = isWindow\n ? { x: window.scrollX, y: window.scrollY }\n : {\n x: target.scrollLeft,\n y: target.scrollTop,\n };\n const delta = { x: current.x - initial.x, y: current.y - initial.y };\n if (delta.x === 0 && delta.y === 0)\n return;\n if (isWindow) {\n // Window scroll: pageX/pageY changes, so update lastMoveEventInfo\n if (this.lastMoveEventInfo) {\n this.lastMoveEventInfo.point.x += delta.x;\n this.lastMoveEventInfo.point.y += delta.y;\n }\n }\n else {\n // Element scroll: pageX/pageY unchanged, so adjust history origin\n if (this.history.length > 0) {\n this.history[0].x -= delta.x;\n this.history[0].y -= delta.y;\n }\n }\n this.scrollPositions.set(target, current);\n frame.update(this.updatePoint, true);\n }\n updateHandlers(handlers) {\n this.handlers = handlers;\n }\n end() {\n this.removeListeners && this.removeListeners();\n this.removeScrollListeners && this.removeScrollListeners();\n this.scrollPositions.clear();\n cancelFrame(this.updatePoint);\n }\n}\nfunction transformPoint(info, transformPagePoint) {\n return transformPagePoint ? { point: transformPagePoint(info.point) } : info;\n}\nfunction subtractPoint(a, b) {\n return { x: a.x - b.x, y: a.y - b.y };\n}\nfunction getPanInfo({ point }, history) {\n return {\n point,\n delta: subtractPoint(point, lastDevicePoint(history)),\n offset: subtractPoint(point, startDevicePoint(history)),\n velocity: getVelocity(history, 0.1),\n };\n}\nfunction startDevicePoint(history) {\n return history[0];\n}\nfunction lastDevicePoint(history) {\n return history[history.length - 1];\n}\nfunction getVelocity(history, timeDelta) {\n if (history.length < 2) {\n return { x: 0, y: 0 };\n }\n let i = history.length - 1;\n let timestampedPoint = null;\n const lastPoint = lastDevicePoint(history);\n while (i >= 0) {\n timestampedPoint = history[i];\n if (lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta)) {\n break;\n }\n i--;\n }\n if (!timestampedPoint) {\n return { x: 0, y: 0 };\n }\n /**\n * If the selected point is the pointer-down origin (history[0]),\n * there are better movement points available, and the time gap\n * is suspiciously large (>2x timeDelta), use the next point instead.\n * This prevents stale pointer-down points from diluting velocity\n * in hold-then-flick gestures.\n */\n if (timestampedPoint === history[0] &&\n history.length > 2 &&\n lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta) * 2) {\n timestampedPoint = history[1];\n }\n const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);\n if (time === 0) {\n return { x: 0, y: 0 };\n }\n const currentVelocity = {\n x: (lastPoint.x - timestampedPoint.x) / time,\n y: (lastPoint.y - timestampedPoint.y) / time,\n };\n if (currentVelocity.x === Infinity) {\n currentVelocity.x = 0;\n }\n if (currentVelocity.y === Infinity) {\n currentVelocity.y = 0;\n }\n return currentVelocity;\n}\n\nexport { PanSession };\n//# sourceMappingURL=PanSession.mjs.map\n"],"names":[],"mappings":";;;;;;;;AAMA,MAAM,cAAc,iBAA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OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAC7B,IAAI;AACJ,IAAI,MAAM,eAAe,GAAG;AAC5B,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,IAAI,IAAI;AACpD,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,IAAI,IAAI;AACpD,KAAK;AACL,IAAI,IAAI,eAAe,CAAC,CAAC,KAAK,QAAQ,EAAE;AACxC,QAAQ,eAAe,CAAC,CAAC,GAAG,CAAC;AAC7B,IAAI;AACJ,IAAI,IAAI,eAAe,CAAC,CAAC,KAAK,QAAQ,EAAE;AACxC,QAAQ,eAAe,CAAC,CAAC,GAAG,CAAC;AAC7B,IAAI;AACJ,IAAI,OAAO,eAAe;AAC1B;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,51 @@
1
+ import { addPointerEvent } from '../../events/add-pointer-event.js';
2
+ import { getContextWindow } from '../../utils/get-context-window.js';
3
+ import { PanSession } from './PanSession.js';
4
+ import { Feature } from '../../../../../motion-dom/dist/es/render/Feature.js';
5
+ import { noop } from '../../../../../motion-utils/dist/es/noop.js';
6
+ import { frame } from '../../../../../motion-dom/dist/es/frameloop/frame.js';
7
+
8
+ const asyncHandler = (handler) => (event, info) => {
9
+ if (handler) {
10
+ frame.update(() => handler(event, info), false, true);
11
+ }
12
+ };
13
+ class PanGesture extends Feature {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.removePointerDownListener = noop;
17
+ }
18
+ onPointerDown(pointerDownEvent) {
19
+ this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {
20
+ transformPagePoint: this.node.getTransformPagePoint(),
21
+ contextWindow: getContextWindow(this.node),
22
+ });
23
+ }
24
+ createPanHandlers() {
25
+ const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();
26
+ return {
27
+ onSessionStart: asyncHandler(onPanSessionStart),
28
+ onStart: asyncHandler(onPanStart),
29
+ onMove: asyncHandler(onPan),
30
+ onEnd: (event, info) => {
31
+ delete this.session;
32
+ if (onPanEnd) {
33
+ frame.postRender(() => onPanEnd(event, info));
34
+ }
35
+ },
36
+ };
37
+ }
38
+ mount() {
39
+ this.removePointerDownListener = addPointerEvent(this.node.current, "pointerdown", (event) => this.onPointerDown(event));
40
+ }
41
+ update() {
42
+ this.session && this.session.updateHandlers(this.createPanHandlers());
43
+ }
44
+ unmount() {
45
+ this.removePointerDownListener();
46
+ this.session && this.session.end();
47
+ }
48
+ }
49
+
50
+ export { PanGesture };
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { Feature, frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { PanSession } from './PanSession.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n if (handler) {\n frame.update(() => handler(event, info), false, true);\n }\n};\nclass PanGesture extends Feature {\n constructor() {\n super(...arguments);\n this.removePointerDownListener = noop;\n }\n onPointerDown(pointerDownEvent) {\n this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n transformPagePoint: this.node.getTransformPagePoint(),\n contextWindow: getContextWindow(this.node),\n });\n }\n createPanHandlers() {\n const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n return {\n onSessionStart: asyncHandler(onPanSessionStart),\n onStart: asyncHandler(onPanStart),\n onMove: asyncHandler(onPan),\n onEnd: (event, info) => {\n delete this.session;\n if (onPanEnd) {\n frame.postRender(() => onPanEnd(event, info));\n }\n },\n };\n }\n mount() {\n this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n }\n update() {\n this.session && this.session.updateHandlers(this.createPanHandlers());\n }\n unmount() {\n this.removePointerDownListener();\n this.session && this.session.end();\n }\n}\n\nexport { PanGesture };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;;;AAMA,MAAM,YAAY,GAAG,CAAC,OAAO,KAAK,CAAC,KAAK,EAAE,IAAI,KAAK;AACnD,IAAI,IAAI,OAAO,EAAE;AACjB,QAAQ,KAAK,CAAC,MAAM,CAAC,MAAM,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC;AAC7D,IAAI;AACJ,CAAC;AACD,MAAM,UAAU,SAAS,OAAO,CAAC;AACjC,IAAI,WAAW,GAAG;AAClB,QAAQ,KAAK,CAAC,GAAG,SAAS,CAAC;AAC3B,QAAQ,IAAI,CAAC,yBAAyB,GAAG,IAAI;AAC7C,IAAI;AACJ,IAAI,aAAa,CAAC,gBAAgB,EAAE;AACpC,QAAQ,IAAI,CAAC,OAAO,GAAG,IAAI,UAAU,CAAC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAE;AAClF,YAAY,kBAAkB,EAAE,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE;AACjE,YAAY,aAAa,EAAE,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;AACtD,SAAS,CAAC;AACV,IAAI;AACJ,IAAI,iBAAiB,GAAG;AACxB,QAAQ,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AACvF,QAAQ,OAAO;AACf,YAAY,cAAc,EAAE,YAAY,CAAC,iBAAiB,CAAC;AAC3D,YAAY,OAAO,EAAE,YAAY,CAAC,UAAU,CAAC;AAC7C,YAAY,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC;AACvC,YAAY,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK;AACpC,gBAAgB,OAAO,IAAI,CAAC,OAAO;AACnC,gBAAgB,IAAI,QAAQ,EAAE;AAC9B,oBAAoB,KAAK,CAAC,UAAU,CAAC,MAAM,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACjE,gBAAgB;AAChB,YAAY,CAAC;AACb,SAAS;AACT,IAAI;AACJ,IAAI,KAAK,GAAG;AACZ,QAAQ,IAAI,CAAC,yBAAyB,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAChI,IAAI;AACJ,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;AAC7E,IAAI;AACJ,IAAI,OAAO,GAAG;AACd,QAAQ,IAAI,CAAC,yBAAyB,EAAE;AACxC,QAAQ,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE;AAC1C,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,38 @@
1
+ import { extractEventInfo } from '../events/event-info.js';
2
+ import { Feature } from '../../../../motion-dom/dist/es/render/Feature.js';
3
+ import { press } from '../../../../motion-dom/dist/es/gestures/press/index.js';
4
+ import { frame } from '../../../../motion-dom/dist/es/frameloop/frame.js';
5
+
6
+ function handlePressEvent(node, event, lifecycle) {
7
+ const { props } = node;
8
+ if (node.current instanceof HTMLButtonElement && node.current.disabled) {
9
+ return;
10
+ }
11
+ if (node.animationState && props.whileTap) {
12
+ node.animationState.setActive("whileTap", lifecycle === "Start");
13
+ }
14
+ const eventName = ("onTap" + (lifecycle === "End" ? "" : lifecycle));
15
+ const callback = props[eventName];
16
+ if (callback) {
17
+ frame.postRender(() => callback(event, extractEventInfo(event)));
18
+ }
19
+ }
20
+ class PressGesture extends Feature {
21
+ mount() {
22
+ const { current } = this.node;
23
+ if (!current)
24
+ return;
25
+ const { globalTapTarget, propagate } = this.node.props;
26
+ this.unmount = press(current, (_element, startEvent) => {
27
+ handlePressEvent(this.node, startEvent, "Start");
28
+ return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? "End" : "Cancel");
29
+ }, {
30
+ useGlobalTarget: globalTapTarget,
31
+ stopPropagation: propagate?.tap === false,
32
+ });
33
+ }
34
+ unmount() { }
35
+ }
36
+
37
+ export { PressGesture };
38
+ //# sourceMappingURL=press.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"press.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { Feature, press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.current instanceof HTMLButtonElement && node.current.disabled) {\n return;\n }\n if (node.animationState && props.whileTap) {\n node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n }\n const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass PressGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n const { globalTapTarget, propagate } = this.node.props;\n this.unmount = press(current, (_element, startEvent) => {\n handlePressEvent(this.node, startEvent, \"Start\");\n return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n }, {\n useGlobalTarget: globalTapTarget,\n stopPropagation: propagate?.tap === false,\n });\n }\n unmount() { }\n}\n\nexport { PressGesture };\n//# sourceMappingURL=press.mjs.map\n"],"names":[],"mappings":";;;;;AAGA,SAAS,gBAAgB,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;AAClD,IAAI,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI;AAC1B,IAAI,IAAI,IAAI,CAAC,OAAO,YAAY,iBAAiB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ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,GAAG,EAAE;AAChB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,71 @@
1
+ import { Feature } from '../../../../../../motion-dom/dist/es/render/Feature.js';
2
+ import { resolveVariant } from '../../../../../../motion-dom/dist/es/render/utils/resolve-dynamic-variants.js';
3
+
4
+ let id = 0;
5
+ class ExitAnimationFeature extends Feature {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.id = id++;
9
+ this.isExitComplete = false;
10
+ }
11
+ update() {
12
+ if (!this.node.presenceContext)
13
+ return;
14
+ const { isPresent, onExitComplete } = this.node.presenceContext;
15
+ const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};
16
+ if (!this.node.animationState || isPresent === prevIsPresent) {
17
+ return;
18
+ }
19
+ if (isPresent && prevIsPresent === false) {
20
+ /**
21
+ * When re-entering, if the exit animation already completed
22
+ * (element is at rest), reset to initial values so the enter
23
+ * animation replays from the correct position.
24
+ */
25
+ if (this.isExitComplete) {
26
+ const { initial, custom } = this.node.getProps();
27
+ if (typeof initial === "string" ||
28
+ (typeof initial === "object" &&
29
+ initial !== null &&
30
+ !Array.isArray(initial))) {
31
+ const resolved = resolveVariant(this.node, initial, custom);
32
+ if (resolved) {
33
+ const { transition, transitionEnd, ...target } = resolved;
34
+ for (const key in target) {
35
+ this.node
36
+ .getValue(key)
37
+ ?.jump(target[key]);
38
+ }
39
+ }
40
+ }
41
+ this.node.animationState.reset();
42
+ this.node.animationState.animateChanges();
43
+ }
44
+ else {
45
+ this.node.animationState.setActive("exit", false);
46
+ }
47
+ this.isExitComplete = false;
48
+ return;
49
+ }
50
+ const exitAnimation = this.node.animationState.setActive("exit", !isPresent);
51
+ if (onExitComplete && !isPresent) {
52
+ exitAnimation.then(() => {
53
+ this.isExitComplete = true;
54
+ onExitComplete(this.id);
55
+ });
56
+ }
57
+ }
58
+ mount() {
59
+ const { register, onExitComplete } = this.node.presenceContext || {};
60
+ if (onExitComplete) {
61
+ onExitComplete(this.id);
62
+ }
63
+ if (register) {
64
+ this.unmount = register(this.id);
65
+ }
66
+ }
67
+ unmount() { }
68
+ }
69
+
70
+ export { ExitAnimationFeature };
71
+ //# sourceMappingURL=exit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exit.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature, resolveVariant } from 'motion-dom';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n this.isExitComplete = false;\n }\n update() {\n if (!this.node.presenceContext)\n return;\n const { isPresent, onExitComplete } = this.node.presenceContext;\n const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n if (!this.node.animationState || isPresent === prevIsPresent) {\n return;\n }\n if (isPresent && prevIsPresent === false) {\n /**\n * When re-entering, if the exit animation already completed\n * (element is at rest), reset to initial values so the enter\n * animation replays from the correct position.\n */\n if (this.isExitComplete) {\n const { initial, custom } = this.node.getProps();\n if (typeof initial === \"string\" ||\n (typeof initial === \"object\" &&\n initial !== null &&\n !Array.isArray(initial))) {\n const resolved = resolveVariant(this.node, initial, custom);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n for (const key in target) {\n this.node\n .getValue(key)\n ?.jump(target[key]);\n }\n }\n }\n this.node.animationState.reset();\n this.node.animationState.animateChanges();\n }\n else {\n this.node.animationState.setActive(\"exit\", false);\n }\n this.isExitComplete = false;\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n this.isExitComplete = true;\n onExitComplete(this.id);\n });\n }\n }\n mount() {\n const { register, onExitComplete } = this.node.presenceContext || {};\n if (onExitComplete) {\n onExitComplete(this.id);\n }\n if (register) {\n this.unmount = register(this.id);\n }\n }\n unmount() { }\n}\n\nexport { ExitAnimationFeature };\n//# sourceMappingURL=exit.mjs.map\n"],"names":[],"mappings":";;;AAEA,IAAI,EAAE,GAAG,CAAC;AACV,MAAM,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google_ignoreList":[0]}
@@ -0,0 +1,41 @@
1
+ import { Feature } from '../../../../../../motion-dom/dist/es/render/Feature.js';
2
+ import { createAnimationState } from '../../../../../../motion-dom/dist/es/render/utils/animation-state.js';
3
+ import { isAnimationControls } from '../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js';
4
+
5
+ class AnimationFeature extends Feature {
6
+ /**
7
+ * We dynamically generate the AnimationState manager as it contains a reference
8
+ * to the underlying animation library. We only want to load that if we load this,
9
+ * so people can optionally code split it out using the `m` component.
10
+ */
11
+ constructor(node) {
12
+ super(node);
13
+ node.animationState || (node.animationState = createAnimationState(node));
14
+ }
15
+ updateAnimationControlsSubscription() {
16
+ const { animate } = this.node.getProps();
17
+ if (isAnimationControls(animate)) {
18
+ this.unmountControls = animate.subscribe(this.node);
19
+ }
20
+ }
21
+ /**
22
+ * Subscribe any provided AnimationControls to the component's VisualElement
23
+ */
24
+ mount() {
25
+ this.updateAnimationControlsSubscription();
26
+ }
27
+ update() {
28
+ const { animate } = this.node.getProps();
29
+ const { animate: prevAnimate } = this.node.prevProps || {};
30
+ if (animate !== prevAnimate) {
31
+ this.updateAnimationControlsSubscription();
32
+ }
33
+ }
34
+ unmount() {
35
+ this.node.animationState.reset();
36
+ this.unmountControls?.();
37
+ }
38
+ }
39
+
40
+ export { AnimationFeature };
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import { Feature, createAnimationState, isAnimationControls } from 'motion-dom';\n\nclass AnimationFeature extends Feature {\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n constructor(node) {\n super(node);\n node.animationState || (node.animationState = createAnimationState(node));\n }\n updateAnimationControlsSubscription() {\n const { animate } = this.node.getProps();\n if (isAnimationControls(animate)) {\n this.unmountControls = animate.subscribe(this.node);\n }\n }\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n mount() {\n this.updateAnimationControlsSubscription();\n }\n update() {\n const { animate } = this.node.getProps();\n const { animate: prevAnimate } = this.node.prevProps || {};\n if (animate !== prevAnimate) {\n this.updateAnimationControlsSubscription();\n }\n }\n unmount() {\n this.node.animationState.reset();\n this.unmountControls?.();\n }\n}\n\nexport { AnimationFeature };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAEA,MAAM,gBAAgB,SAAS,OAAO,CAAC;AACvC;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,IAAI,EAAE;AACtB,QAAQ,KAAK,CAAC,IAAI,CAAC;AACnB,QAAQ,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,cAAc,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;AACjF,IAAI;AACJ,IAAI,mCAAmC,GAAG;AAC1C,QAAQ,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAChD,QAAQ,IAAI,mBAAmB,CAAC,OAAO,CAAC,EAAE;AAC1C,YAAY,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AAC/D,QAAQ;AACR,IAAI;AACJ;AACA;AACA;AACA,IAAI,KAAK,GAAG;AACZ,QAAQ,IAAI,CAAC,mCAAmC,EAAE;AAClD,IAAI;AACJ,IAAI,MAAM,GAAG;AACb,QAAQ,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAChD,QAAQ,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE;AAClE,QAAQ,IAAI,OAAO,KAAK,WAAW,EAAE;AACrC,YAAY,IAAI,CAAC,mCAAmC,EAAE;AACtD,QAAQ;AACR,IAAI;AACJ,IAAI,OAAO,GAAG;AACd,QAAQ,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;AACxC,QAAQ,IAAI,CAAC,eAAe,IAAI;AAChC,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ import { AnimationFeature } from './animation/index.js';
2
+ import { ExitAnimationFeature } from './animation/exit.js';
3
+
4
+ const animations = {
5
+ animation: {
6
+ Feature: AnimationFeature,
7
+ },
8
+ exit: {
9
+ Feature: ExitAnimationFeature,
10
+ },
11
+ };
12
+
13
+ export { animations };
14
+ //# sourceMappingURL=animations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animations.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n//# sourceMappingURL=animations.mjs.map\n"],"names":[],"mappings":";;;AAGK,MAAC,UAAU,GAAG;AACnB,IAAI,SAAS,EAAE;AACf,QAAQ,OAAO,EAAE,gBAAgB;AACjC,KAAK;AACL,IAAI,IAAI,EAAE;AACV,QAAQ,OAAO,EAAE,oBAAoB;AACrC,KAAK;AACL;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,49 @@
1
+ import { getFeatureDefinitions, setFeatureDefinitions } from '../../../../../motion-dom/dist/es/render/VisualElement.js';
2
+
3
+ const featureProps = {
4
+ animation: [
5
+ "animate",
6
+ "variants",
7
+ "whileHover",
8
+ "whileTap",
9
+ "exit",
10
+ "whileInView",
11
+ "whileFocus",
12
+ "whileDrag",
13
+ ],
14
+ exit: ["exit"],
15
+ drag: ["drag", "dragControls"],
16
+ focus: ["whileFocus"],
17
+ hover: ["whileHover", "onHoverStart", "onHoverEnd"],
18
+ tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
19
+ pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
20
+ inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
21
+ layout: ["layout", "layoutId"],
22
+ };
23
+ let isInitialized = false;
24
+ /**
25
+ * Initialize feature definitions with isEnabled checks.
26
+ * This must be called before any motion components are rendered.
27
+ */
28
+ function initFeatureDefinitions() {
29
+ if (isInitialized)
30
+ return;
31
+ const initialFeatureDefinitions = {};
32
+ for (const key in featureProps) {
33
+ initialFeatureDefinitions[key] = {
34
+ isEnabled: (props) => featureProps[key].some((name) => !!props[name]),
35
+ };
36
+ }
37
+ setFeatureDefinitions(initialFeatureDefinitions);
38
+ isInitialized = true;
39
+ }
40
+ /**
41
+ * Get the current feature definitions, initializing if needed.
42
+ */
43
+ function getInitializedFeatureDefinitions() {
44
+ initFeatureDefinitions();
45
+ return getFeatureDefinitions();
46
+ }
47
+
48
+ export { getInitializedFeatureDefinitions, initFeatureDefinitions };
49
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/definitions.mjs"],"sourcesContent":["import { getFeatureDefinitions, setFeatureDefinitions } from 'motion-dom';\n\nconst featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nlet isInitialized = false;\n/**\n * Initialize feature definitions with isEnabled checks.\n * This must be called before any motion components are rendered.\n */\nfunction initFeatureDefinitions() {\n if (isInitialized)\n return;\n const initialFeatureDefinitions = {};\n for (const key in featureProps) {\n initialFeatureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n }\n setFeatureDefinitions(initialFeatureDefinitions);\n isInitialized = true;\n}\n/**\n * Get the current feature definitions, initializing if needed.\n */\nfunction getInitializedFeatureDefinitions() {\n initFeatureDefinitions();\n return getFeatureDefinitions();\n}\n\nexport { getInitializedFeatureDefinitions, initFeatureDefinitions };\n//# sourceMappingURL=definitions.mjs.map\n"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG;AACrB,IAAI,SAAS,EAAE;AACf,QAAQ,SAAS;AACjB,QAAQ,UAAU;AAClB,QAAQ,YAAY;AACpB,QAAQ,UAAU;AAClB,QAAQ,MAAM;AACd,QAAQ,aAAa;AACrB,QAAQ,YAAY;AACpB,QAAQ,WAAW;AACnB,KAAK;AACL,IAAI,IAAI,EAAE,CAAC,MAAM,CAAC;AAClB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;AAClC,IAAI,KAAK,EAAE,CAAC,YAAY,CAAC;AACzB,IAAI,KAAK,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY,CAAC;AACvD,IAAI,GAAG,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,CAAC;AAC3D,IAAI,GAAG,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,UAAU,CAAC;AACjE,IAAI,MAAM,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;AACjE,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;AAClC,CAAC;AACD,IAAI,aAAa,GAAG,KAAK;AACzB;AACA;AACA;AACA;AACA,SAAS,sBAAsB,GAAG;AAClC,IAAI,IAAI,aAAa;AACrB,QAAQ;AACR,IAAI,MAAM,yBAAyB,GAAG,EAAE;AACxC,IAAI,KAAK,MAAM,GA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