lawgic-dev-kit 0.12.8 → 0.12.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/dist/_virtual/client.js +22 -3
  2. package/dist/_virtual/index5.js +2 -2
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/components/atoms/Avatar/Avatar.js +31 -73
  5. package/dist/components/atoms/UploadContainer/UploadContainer.js +47 -89
  6. package/dist/components/molecules/AlertModal/AlertModal.js +26 -68
  7. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +45 -87
  8. package/dist/components/molecules/DialogModal/DialogModal.js +37 -79
  9. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +25 -67
  10. package/dist/components/molecules/Tabs/Tabs.js +41 -83
  11. package/dist/lawgic-dev-kit.umd.js +243 -884
  12. package/dist/node_modules/prop-types/index.js +1 -1
  13. package/dist/node_modules/scheduler/index.js +1 -1
  14. package/dist/utils/modal.js +59 -101
  15. package/dist/utils/toast.js +73 -106
  16. package/package.json +1 -1
  17. package/dist/dist/_virtual/_commonjsHelpers.js +0 -8
  18. package/dist/dist/_virtual/index.js +0 -7
  19. package/dist/dist/_virtual/index3.js +0 -5
  20. package/dist/dist/_virtual/index4.js +0 -5
  21. package/dist/dist/_virtual/index5.js +0 -7
  22. package/dist/dist/_virtual/index6.js +0 -4
  23. package/dist/dist/_virtual/index7.js +0 -4
  24. package/dist/dist/_virtual/index8.js +0 -4
  25. package/dist/dist/_virtual/jsx-runtime.js +0 -5
  26. package/dist/dist/_virtual/jsx-runtime2.js +0 -4
  27. package/dist/dist/_virtual/lodash.js +0 -2
  28. package/dist/dist/_virtual/lodash2.js +0 -4
  29. package/dist/dist/_virtual/react-is.development.js +0 -4
  30. package/dist/dist/_virtual/react-is.production.min.js +0 -4
  31. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -4
  32. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -4
  33. package/dist/dist/components/atoms/AsyncToast/index.js +0 -33
  34. package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +0 -5
  35. package/dist/dist/components/atoms/Toast/Toast.js +0 -113
  36. package/dist/dist/constants/countries.js +0 -8
  37. package/dist/dist/contexts/themeContext.js +0 -3
  38. package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -4
  39. package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -2661
  40. package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +0 -33
  41. package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -266
  42. package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  43. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -205
  44. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  45. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -147
  46. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  47. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -12
  48. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -23
  49. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -18
  50. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
  51. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -6
  52. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -37
  53. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -30
  54. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -32
  55. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -52
  56. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -92
  57. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  58. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -47
  59. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -46
  60. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -33
  61. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -22
  62. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  63. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  64. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -22
  65. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -7
  66. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -6
  67. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -4
  68. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -7
  69. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -6
  70. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -53
  71. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -41
  72. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -45
  73. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  74. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  75. package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  76. package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  77. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  78. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  79. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  80. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  81. package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  82. package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  83. package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
  84. package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -9
  85. package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
  86. package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -19
  87. package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
  88. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -4
  89. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -4
  90. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -4
  91. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -32
  92. package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
  93. package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  94. package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
  95. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
  96. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -19
  97. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -68
  98. package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  99. package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
  100. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -85
  101. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
  102. package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
  103. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -10
  104. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  105. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  106. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  107. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -27
  108. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  109. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  110. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  111. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  112. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
  113. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  114. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  115. package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -59
  116. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  117. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  118. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -18
  119. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  120. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -53
  121. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  122. package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -31
  123. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -25
  124. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -14
  125. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -52
  126. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -36
  127. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -25
  128. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -18
  129. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -34
  130. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
  131. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  132. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -608
  133. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -15
  134. package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  135. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -21
  136. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -16
  137. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  138. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -13
  139. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -6
  140. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -20
  141. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -13
  142. package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -229
  143. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -20
  144. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  145. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -15
  146. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -6
  147. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -66
  148. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -27
  149. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  150. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -18
  151. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  152. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -31
  153. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  154. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -5
  155. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  156. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -6
  157. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -31
  158. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -10
  159. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -24
  160. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -9
  161. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -8
  162. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -4
  163. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -41
  164. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -18
  165. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -4
  166. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -31
  167. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -7
  168. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
  169. package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -37
  170. package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
  171. package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  172. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  173. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  174. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  175. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -13
  176. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  177. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -16
  178. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +0 -64
  179. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -8
  180. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  181. package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +0 -4
  182. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -48
  183. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -44
  184. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  185. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  186. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -26
  187. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  188. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  189. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  190. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +0 -15
  191. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  192. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -11
  193. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  194. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -11
  195. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  196. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -128
  197. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -4
  198. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  199. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -20
  200. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
  201. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -6
  202. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  203. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  204. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -20
  205. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  206. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -13
  207. package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -4
  208. package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -13
  209. package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  210. package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  211. package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -22
  212. package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -41
  213. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  214. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -4
  215. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  216. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -4
  217. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -29
  218. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -52
  219. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -6
  220. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -8
  221. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -4
  222. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -8
  223. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -8
  224. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -13
  225. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -6
  226. package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -4
  227. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  228. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
  229. package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -6
  230. package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
  231. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  232. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  233. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -19
  234. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  235. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -11
  236. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  237. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -18
  238. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -24
  239. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -49
  240. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
  241. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -17
  242. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  243. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  244. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  245. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  246. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  247. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -9
  248. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  249. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -4
  250. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -9
  251. package/dist/dist/node_modules/lodash/lodash.js +0 -3677
  252. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  253. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
  254. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +0 -2
  255. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +0 -6
  256. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
  257. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +0 -12
  258. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  259. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -9
  260. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -5
  261. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -4
  262. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  263. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +0 -4
  264. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +0 -19
  265. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  266. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +0 -11
  267. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  268. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +0 -18
  269. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +0 -4
  270. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +0 -49
  271. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +0 -16
  272. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +0 -11
  273. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  274. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  275. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  276. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  277. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  278. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +0 -1
  279. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +0 -4
  280. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -74
  281. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -9
  282. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  283. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  284. package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  285. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -6
  286. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -27
  287. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
  288. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  289. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
  290. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  291. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -17
  292. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  293. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -16
  294. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  295. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  296. package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  297. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -32
  298. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  299. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  300. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  301. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  302. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  303. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  304. package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -4
  305. package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
  306. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
  307. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  308. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -13
  309. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  310. package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +0 -202
  311. package/dist/dist/node_modules/motion-utils/dist/es/array.js +0 -11
  312. package/dist/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
  313. package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
  314. package/dist/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  315. package/dist/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  316. package/dist/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  317. package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  318. package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  319. package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  320. package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -7
  321. package/dist/dist/node_modules/object-assign/index.js +0 -54
  322. package/dist/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  323. package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  324. package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  325. package/dist/dist/node_modules/prop-types/index.js +0 -17
  326. package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  327. package/dist/dist/node_modules/prop-types/lib/has.js +0 -7
  328. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  329. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  330. package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  331. package/dist/dist/node_modules/property-expr/index.js +0 -82
  332. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  333. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  334. package/dist/dist/node_modules/react/jsx-runtime.js +0 -10
  335. package/dist/dist/node_modules/tiny-case/index.js +0 -22
  336. package/dist/dist/node_modules/toposort/index.js +0 -66
  337. package/dist/dist/node_modules/yup/index.esm.js +0 -1359
  338. package/dist/dist/themes/default.js +0 -9
  339. package/dist/src/utils/toast.d.ts +0 -15
@@ -1,30 +0,0 @@
1
- const e = [
2
- "animate",
3
- "circle",
4
- "defs",
5
- "desc",
6
- "ellipse",
7
- "g",
8
- "image",
9
- "line",
10
- "filter",
11
- "marker",
12
- "mask",
13
- "metadata",
14
- "path",
15
- "pattern",
16
- "polygon",
17
- "polyline",
18
- "rect",
19
- "stop",
20
- "switch",
21
- "symbol",
22
- "svg",
23
- "text",
24
- "tspan",
25
- "use",
26
- "view"
27
- ];
28
- export {
29
- e as lowercaseSVGElements
30
- };
@@ -1,22 +0,0 @@
1
- import { useMemo as a } from "react";
2
- import { copyRawValuesOnly as m } from "../html/use-props.js";
3
- import { buildSVGAttrs as l } from "./utils/build-attrs.js";
4
- import { createSvgRenderState as n } from "./utils/create-render-state.js";
5
- import { isSVGTag as i } from "./utils/is-svg-tag.js";
6
- function V(r, o, p, e) {
7
- const s = a(() => {
8
- const t = n();
9
- return l(t, o, i(e), r.transformTemplate), {
10
- ...t.attrs,
11
- style: { ...t.style }
12
- };
13
- }, [o]);
14
- if (r.style) {
15
- const t = {};
16
- m(t, r.style, r), s.style = { ...t, ...s.style };
17
- }
18
- return s;
19
- }
20
- export {
21
- V as useSVGProps
22
- };
@@ -1,26 +0,0 @@
1
- import { buildHTMLStyles as c } from "../../html/utils/build-styles.js";
2
- import { buildSVGPath as y } from "./path.js";
3
- import { calcSVGTransformOrigin as g } from "./transform-origin.js";
4
- function b(t, {
5
- attrX: n,
6
- attrY: e,
7
- attrScale: d,
8
- originX: o,
9
- originY: i,
10
- pathLength: l,
11
- pathSpacing: m = 1,
12
- pathOffset: v = 0,
13
- // This is object creation, which we try to avoid per-frame.
14
- ...f
15
- }, p, S) {
16
- if (c(t, f, S), p) {
17
- t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
18
- return;
19
- }
20
- t.attrs = t.style, t.style = {};
21
- const { attrs: r, style: a, dimensions: s } = t;
22
- r.transform && (s && (a.transform = r.transform), delete r.transform), s && (o !== void 0 || i !== void 0 || a.transform) && (a.transformOrigin = g(s, o !== void 0 ? o : 0.5, i !== void 0 ? i : 0.5)), n !== void 0 && (r.x = n), e !== void 0 && (r.y = e), d !== void 0 && (r.scale = d), l !== void 0 && y(r, l, m, v, !1);
23
- }
24
- export {
25
- b as buildSVGAttrs
26
- };
@@ -1,28 +0,0 @@
1
- const e = /* @__PURE__ */ new Set([
2
- "baseFrequency",
3
- "diffuseConstant",
4
- "kernelMatrix",
5
- "kernelUnitLength",
6
- "keySplines",
7
- "keyTimes",
8
- "limitingConeAngle",
9
- "markerHeight",
10
- "markerWidth",
11
- "numOctaves",
12
- "targetX",
13
- "targetY",
14
- "surfaceScale",
15
- "specularConstant",
16
- "specularExponent",
17
- "stdDeviation",
18
- "tableValues",
19
- "viewBox",
20
- "gradientTransform",
21
- "pathLength",
22
- "startOffset",
23
- "textLength",
24
- "lengthAdjust"
25
- ]);
26
- export {
27
- e as camelCaseAttributes
28
- };
@@ -1,8 +0,0 @@
1
- import { createHtmlRenderState as t } from "../../html/utils/create-render-state.js";
2
- const r = () => ({
3
- ...t(),
4
- attrs: {}
5
- });
6
- export {
7
- r as createSvgRenderState
8
- };
@@ -1,4 +0,0 @@
1
- const t = (s) => typeof s == "string" && s.toLowerCase() === "svg";
2
- export {
3
- t as isSVGTag
4
- };
@@ -1,15 +0,0 @@
1
- function n(t, e) {
2
- try {
3
- e.dimensions = typeof t.getBBox == "function" ? t.getBBox() : t.getBoundingClientRect();
4
- } catch {
5
- e.dimensions = {
6
- x: 0,
7
- y: 0,
8
- width: 0,
9
- height: 0
10
- };
11
- }
12
- }
13
- export {
14
- n as updateSVGDimensions
15
- };
@@ -1,18 +0,0 @@
1
- import { px as a } from "../../../value/types/numbers/units.js";
2
- const m = {
3
- offset: "stroke-dashoffset",
4
- array: "stroke-dasharray"
5
- }, y = {
6
- offset: "strokeDashoffset",
7
- array: "strokeDasharray"
8
- };
9
- function k(r, o, s = 1, f = 0, e = !0) {
10
- r.pathLength = 1;
11
- const t = e ? m : y;
12
- r[t.offset] = a.transform(-f);
13
- const n = a.transform(o), h = a.transform(s);
14
- r[t.array] = `${n} ${h}`;
15
- }
16
- export {
17
- k as buildSVGPath
18
- };
@@ -1,11 +0,0 @@
1
- import { camelToDash as s } from "../../dom/utils/camel-to-dash.js";
2
- import { renderHTML as o } from "../../html/utils/render.js";
3
- import { camelCaseAttributes as i } from "./camel-case-attrs.js";
4
- function p(a, t, m, e) {
5
- o(a, t, void 0, e);
6
- for (const r in t.attrs)
7
- a.setAttribute(i.has(r) ? r : s(r), t.attrs[r]);
8
- }
9
- export {
10
- p as renderSVG
11
- };
@@ -1,15 +0,0 @@
1
- import { isMotionValue as a } from "../../../value/utils/is-motion-value.js";
2
- import { transformPropOrder as i } from "../../html/utils/keys-transform.js";
3
- import { scrapeMotionValuesFromProps as p } from "../../html/utils/scrape-motion-values.js";
4
- function u(r, t, n) {
5
- const s = p(r, t, n);
6
- for (const o in r)
7
- if (a(r[o]) || a(t[o])) {
8
- const e = i.indexOf(o) !== -1 ? "attr" + o.charAt(0).toUpperCase() + o.substring(1) : o;
9
- s[e] = r[o];
10
- }
11
- return s;
12
- }
13
- export {
14
- u as scrapeMotionValuesFromProps
15
- };
@@ -1,11 +0,0 @@
1
- import { px as a } from "../../../value/types/numbers/units.js";
2
- function i(n, t, o) {
3
- return typeof n == "string" ? n : a.transform(t + o * n);
4
- }
5
- function c(n, t, o) {
6
- const r = i(t, n.x, n.width), f = i(o, n.y, n.height);
7
- return `${r} ${f}`;
8
- }
9
- export {
10
- c as calcSVGTransformOrigin
11
- };
@@ -1,77 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { frame as d } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
3
- import { removeNonTranslationalTransform as p } from "../dom/utils/unit-conversion.js";
4
- const i = /* @__PURE__ */ new Set();
5
- let f = !1, m = !1;
6
- function c() {
7
- if (m) {
8
- const l = Array.from(i).filter((e) => e.needsMeasurement), s = new Set(l.map((e) => e.element)), r = /* @__PURE__ */ new Map();
9
- s.forEach((e) => {
10
- const t = p(e);
11
- t.length && (r.set(e, t), e.render());
12
- }), l.forEach((e) => e.measureInitialState()), s.forEach((e) => {
13
- e.render();
14
- const t = r.get(e);
15
- t && t.forEach(([a, o]) => {
16
- var n;
17
- (n = e.getValue(a)) === null || n === void 0 || n.set(o);
18
- });
19
- }), l.forEach((e) => e.measureEndState()), l.forEach((e) => {
20
- e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
21
- });
22
- }
23
- m = !1, f = !1, i.forEach((l) => l.complete()), i.clear();
24
- }
25
- function u() {
26
- i.forEach((l) => {
27
- l.readKeyframes(), l.needsMeasurement && (m = !0);
28
- });
29
- }
30
- function E() {
31
- u(), c();
32
- }
33
- class K {
34
- constructor(s, r, e, t, a, o = !1) {
35
- this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...s], this.onComplete = r, this.name = e, this.motionValue = t, this.element = a, this.isAsync = o;
36
- }
37
- scheduleResolve() {
38
- this.isScheduled = !0, this.isAsync ? (i.add(this), f || (f = !0, d.read(u), d.resolveKeyframes(c))) : (this.readKeyframes(), this.complete());
39
- }
40
- readKeyframes() {
41
- const { unresolvedKeyframes: s, name: r, element: e, motionValue: t } = this;
42
- for (let a = 0; a < s.length; a++)
43
- if (s[a] === null)
44
- if (a === 0) {
45
- const o = t == null ? void 0 : t.get(), n = s[s.length - 1];
46
- if (o !== void 0)
47
- s[0] = o;
48
- else if (e && r) {
49
- const h = e.readValue(r, n);
50
- h != null && (s[0] = h);
51
- }
52
- s[0] === void 0 && (s[0] = n), t && o === void 0 && t.set(s[0]);
53
- } else
54
- s[a] = s[a - 1];
55
- }
56
- setFinalKeyframe() {
57
- }
58
- measureInitialState() {
59
- }
60
- renderEndStyles() {
61
- }
62
- measureEndState() {
63
- }
64
- complete() {
65
- this.isComplete = !0, this.onComplete(this.unresolvedKeyframes, this.finalKeyframe), i.delete(this);
66
- }
67
- cancel() {
68
- this.isComplete || (this.isScheduled = !1, i.delete(this));
69
- }
70
- resume() {
71
- this.isComplete || this.scheduleResolve();
72
- }
73
- }
74
- export {
75
- K as KeyframeResolver,
76
- E as flushKeyframeResolvers
77
- };
@@ -1,128 +0,0 @@
1
- import { animateVisualElement as N } from "../../animation/interfaces/visual-element.js";
2
- import { isAnimationControls as Q } from "../../animation/utils/is-animation-controls.js";
3
- import { isKeyframesTarget as F } from "../../animation/utils/is-keyframes-target.js";
4
- import { shallowCompare as k } from "../../utils/shallow-compare.js";
5
- import { getVariantContext as U } from "./get-variant-context.js";
6
- import { isVariantLabel as W } from "./is-variant-label.js";
7
- import { resolveVariant as I } from "./resolve-dynamic-variants.js";
8
- import { variantPriorityOrder as z } from "./variant-props.js";
9
- const _ = [...z].reverse(), j = z.length;
10
- function q(t) {
11
- return (u) => Promise.all(u.map(({ animation: c, options: d }) => N(t, c, d)));
12
- }
13
- function nt(t) {
14
- let u = q(t), c = M(), d = !0;
15
- const D = (s) => (e, p) => {
16
- var l;
17
- const a = I(t, p, s === "exit" ? (l = t.presenceContext) === null || l === void 0 ? void 0 : l.custom : void 0);
18
- if (a) {
19
- const { transition: m, transitionEnd: h, ...g } = a;
20
- e = { ...e, ...g, ...h };
21
- }
22
- return e;
23
- };
24
- function H(s) {
25
- u = s(t);
26
- }
27
- function K(s) {
28
- const { props: e } = t, p = U(t.parent) || {}, l = [], a = /* @__PURE__ */ new Set();
29
- let m = {}, h = 1 / 0;
30
- for (let f = 0; f < j; f++) {
31
- const i = _[f], r = c[i], o = e[i] !== void 0 ? e[i] : p[i], w = W(o), P = i === s ? r.isActive : null;
32
- P === !1 && (h = f);
33
- let V = o === p[i] && o !== e[i] && w;
34
- if (V && d && t.manuallyAnimateOnMount && (V = !1), r.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
35
- !r.isActive && P === null || // If we didn't and don't have any defined prop for this animation type
36
- !o && !r.prevProp || // Or if the prop doesn't define an animation
37
- Q(o) || typeof o == "boolean")
38
- continue;
39
- const b = G(r.prevProp, o);
40
- let C = b || // If we're making this variant active, we want to always make it active
41
- i === s && r.isActive && !V && w || // If we removed a higher-priority variant (i is in reverse order)
42
- f > h && w, O = !1;
43
- const E = Array.isArray(o) ? o : [o];
44
- let y = E.reduce(D(i), {});
45
- P === !1 && (y = {});
46
- const { prevResolvedValues: R = {} } = r, L = {
47
- ...R,
48
- ...y
49
- }, T = (n) => {
50
- C = !0, a.has(n) && (O = !0, a.delete(n)), r.needsAnimating[n] = !0;
51
- const v = t.getValue(n);
52
- v && (v.liveStyle = !1);
53
- };
54
- for (const n in L) {
55
- const v = y[n], S = R[n];
56
- if (m.hasOwnProperty(n))
57
- continue;
58
- let x = !1;
59
- F(v) && F(S) ? x = !k(v, S) : x = v !== S, x ? v != null ? T(n) : a.add(n) : v !== void 0 && a.has(n) ? T(n) : r.protectedKeys[n] = !0;
60
- }
61
- r.prevProp = o, r.prevResolvedValues = y, r.isActive && (m = { ...m, ...y }), d && t.blockInitialAnimation && (C = !1), C && (!(V && b) || O) && l.push(...E.map((n) => ({
62
- animation: n,
63
- options: { type: i }
64
- })));
65
- }
66
- if (a.size) {
67
- const f = {};
68
- if (typeof e.initial != "boolean") {
69
- const i = I(t, Array.isArray(e.initial) ? e.initial[0] : e.initial);
70
- i && i.transition && (f.transition = i.transition);
71
- }
72
- a.forEach((i) => {
73
- const r = t.getBaseTarget(i), o = t.getValue(i);
74
- o && (o.liveStyle = !0), f[i] = r ?? null;
75
- }), l.push({ animation: f });
76
- }
77
- let g = !!l.length;
78
- return d && (e.initial === !1 || e.initial === e.animate) && !t.manuallyAnimateOnMount && (g = !1), d = !1, g ? u(l) : Promise.resolve();
79
- }
80
- function B(s, e) {
81
- var p;
82
- if (c[s].isActive === e)
83
- return Promise.resolve();
84
- (p = t.variantChildren) === null || p === void 0 || p.forEach((a) => {
85
- var m;
86
- return (m = a.animationState) === null || m === void 0 ? void 0 : m.setActive(s, e);
87
- }), c[s].isActive = e;
88
- const l = K(s);
89
- for (const a in c)
90
- c[a].protectedKeys = {};
91
- return l;
92
- }
93
- return {
94
- animateChanges: K,
95
- setActive: B,
96
- setAnimateFunction: H,
97
- getState: () => c,
98
- reset: () => {
99
- c = M(), d = !0;
100
- }
101
- };
102
- }
103
- function G(t, u) {
104
- return typeof u == "string" ? u !== t : Array.isArray(u) ? !k(u, t) : !1;
105
- }
106
- function A(t = !1) {
107
- return {
108
- isActive: t,
109
- protectedKeys: {},
110
- needsAnimating: {},
111
- prevResolvedValues: {}
112
- };
113
- }
114
- function M() {
115
- return {
116
- animate: A(!0),
117
- whileInView: A(),
118
- whileHover: A(),
119
- whileTap: A(),
120
- whileDrag: A(),
121
- whileFocus: A(),
122
- exit: A()
123
- };
124
- }
125
- export {
126
- G as checkVariantsDidChange,
127
- nt as createAnimationState
128
- };
@@ -1,4 +0,0 @@
1
- const p = (t, e) => t.depth - e.depth;
2
- export {
3
- p as compareByDepth
4
- };
@@ -1,20 +0,0 @@
1
- import { addUniqueItem as t, removeItem as r } from "../../../../../motion-utils/dist/es/array.js";
2
- import "../../../../../motion-utils/dist/es/errors.js";
3
- import { compareByDepth as s } from "./compare-by-depth.js";
4
- class c {
5
- constructor() {
6
- this.children = [], this.isDirty = !1;
7
- }
8
- add(i) {
9
- t(this.children, i), this.isDirty = !0;
10
- }
11
- remove(i) {
12
- r(this.children, i), this.isDirty = !0;
13
- }
14
- forEach(i) {
15
- this.isDirty && this.children.sort(s), this.isDirty = !1, this.children.forEach(i);
16
- }
17
- }
18
- export {
19
- c as FlatTree
20
- };
@@ -1,20 +0,0 @@
1
- import { isVariantLabel as s } from "./is-variant-label.js";
2
- import { variantProps as n } from "./variant-props.js";
3
- const e = n.length;
4
- function p(t) {
5
- if (!t)
6
- return;
7
- if (!t.isControllingVariants) {
8
- const r = t.parent ? p(t.parent) || {} : {};
9
- return t.props.initial !== void 0 && (r.initial = t.props.initial), r;
10
- }
11
- const o = {};
12
- for (let r = 0; r < e; r++) {
13
- const a = n[r], i = t.props[a];
14
- (s(i) || i === !1) && (o[a] = i);
15
- }
16
- return o;
17
- }
18
- export {
19
- p as getVariantContext
20
- };
@@ -1,13 +0,0 @@
1
- import { isAnimationControls as n } from "../../animation/utils/is-animation-controls.js";
2
- import { isVariantLabel as t } from "./is-variant-label.js";
3
- import { variantProps as o } from "./variant-props.js";
4
- function i(a) {
5
- return n(a.animate) || o.some((r) => t(a[r]));
6
- }
7
- function f(a) {
8
- return !!(i(a) || a.variants);
9
- }
10
- export {
11
- i as isControllingVariants,
12
- f as isVariantNode
13
- };
@@ -1,6 +0,0 @@
1
- function t(r) {
2
- return typeof r == "string" || Array.isArray(r);
3
- }
4
- export {
5
- t as isVariantLabel
6
- };
@@ -1,27 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { warnOnce as m } from "../../../../../motion-utils/dist/es/warn-once.js";
3
- import { motionValue as i } from "../../../../../motion-dom/dist/es/value/index.js";
4
- import { isMotionValue as l } from "../../value/utils/is-motion-value.js";
5
- function V(o, r, s) {
6
- for (const e in r) {
7
- const t = r[e], a = s[e];
8
- if (l(t))
9
- o.addValue(e, t), process.env.NODE_ENV === "development" && m(t.version === "12.6.2", `Attempting to mix Motion versions ${t.version} with 12.6.2 may not work as expected.`);
10
- else if (l(a))
11
- o.addValue(e, i(t, { owner: o }));
12
- else if (a !== t)
13
- if (o.hasValue(e)) {
14
- const n = o.getValue(e);
15
- n.liveStyle === !0 ? n.jump(t) : n.hasAnimated || n.set(t);
16
- } else {
17
- const n = o.getStaticValue(e);
18
- o.addValue(e, i(n !== void 0 ? n : t, { owner: o }));
19
- }
20
- }
21
- for (const e in s)
22
- r[e] === void 0 && o.removeValue(e);
23
- return r;
24
- }
25
- export {
26
- V as updateMotionValuesFromProps
27
- };
@@ -1,8 +0,0 @@
1
- import { resolveVariantFromProps as e } from "./resolve-variants.js";
2
- function n(o, t, r) {
3
- const s = o.getProps();
4
- return e(s, t, r !== void 0 ? r : s.custom, o);
5
- }
6
- export {
7
- n as resolveVariant
8
- };
@@ -1,20 +0,0 @@
1
- function a(n) {
2
- const o = [{}, {}];
3
- return n == null || n.values.forEach((e, t) => {
4
- o[0][t] = e.get(), o[1][t] = e.getVelocity();
5
- }), o;
6
- }
7
- function f(n, o, e, t) {
8
- if (typeof o == "function") {
9
- const [i, s] = a(t);
10
- o = o(e !== void 0 ? e : n.custom, i, s);
11
- }
12
- if (typeof o == "string" && (o = n.variants && n.variants[o]), typeof o == "function") {
13
- const [i, s] = a(t);
14
- o = o(e !== void 0 ? e : n.custom, i, s);
15
- }
16
- return o;
17
- }
18
- export {
19
- f as resolveVariantFromProps
20
- };
@@ -1,19 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { motionValue as i } from "../../../../../motion-dom/dist/es/value/index.js";
3
- import { resolveFinalValueInKeyframes as l } from "../../utils/resolve-value.js";
4
- import { resolveVariant as m } from "./resolve-dynamic-variants.js";
5
- function f(a, t, e) {
6
- a.hasValue(t) ? a.getValue(t).set(e) : a.addValue(t, i(e));
7
- }
8
- function d(a, t) {
9
- const e = m(a, t);
10
- let { transitionEnd: r = {}, transition: u = {}, ...n } = e || {};
11
- n = { ...n, ...r };
12
- for (const o in n) {
13
- const s = l(n[o]);
14
- f(a, o, s);
15
- }
16
- }
17
- export {
18
- d as setTarget
19
- };
@@ -1,13 +0,0 @@
1
- const i = [
2
- "animate",
3
- "whileInView",
4
- "whileFocus",
5
- "whileHover",
6
- "whileTap",
7
- "whileDrag",
8
- "exit"
9
- ], e = ["initial", ...i];
10
- export {
11
- i as variantPriorityOrder,
12
- e as variantProps
13
- };
@@ -1,4 +0,0 @@
1
- const o = (c, n, a) => a > n ? n : a < c ? c : a;
2
- export {
3
- o as clamp
4
- };
@@ -1,13 +0,0 @@
1
- import "../../../../motion-utils/dist/es/errors.js";
2
- import { cancelFrame as a, frame as s } from "../../../../motion-dom/dist/es/frameloop/frame.js";
3
- import { time as c } from "../../../../motion-dom/dist/es/frameloop/sync-time.js";
4
- function d(m, t) {
5
- const e = c.now(), r = ({ timestamp: n }) => {
6
- const o = n - e;
7
- o >= t && (a(r), m(o - t));
8
- };
9
- return s.read(r, !0), () => a(r);
10
- }
11
- export {
12
- d as delay
13
- };
@@ -1,9 +0,0 @@
1
- const a = (s, t) => Math.abs(s - t);
2
- function e(s, t) {
3
- const c = a(s.x, t.x), n = a(s.y, t.y);
4
- return Math.sqrt(c ** 2 + n ** 2);
5
- }
6
- export {
7
- a as distance,
8
- e as distance2D
9
- };
@@ -1,4 +0,0 @@
1
- const e = ({ current: t }) => t ? t.ownerDocument.defaultView : null;
2
- export {
3
- e as getContextWindow
4
- };
@@ -1,22 +0,0 @@
1
- function d(t, a, n) {
2
- return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (a - t) * 6 * n : n < 1 / 2 ? a : n < 2 / 3 ? t + (a - t) * (2 / 3 - n) * 6 : t;
3
- }
4
- function i({ hue: t, saturation: a, lightness: n, alpha: e }) {
5
- t /= 360, a /= 100, n /= 100;
6
- let o = 0, h = 0, l = 0;
7
- if (!a)
8
- o = h = l = n;
9
- else {
10
- const u = n < 0.5 ? n * (1 + a) : n + a - n * a, s = 2 * n - u;
11
- o = d(s, u, t + 1 / 3), h = d(s, u, t), l = d(s, u, t - 1 / 3);
12
- }
13
- return {
14
- red: Math.round(o * 255),
15
- green: Math.round(h * 255),
16
- blue: Math.round(l * 255),
17
- alpha: e
18
- };
19
- }
20
- export {
21
- i as hslaToRgba
22
- };