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,7 +0,0 @@
1
- import { optimizedAppearDataAttribute as e } from "./data-id.js";
2
- function r(t) {
3
- return t.props[e];
4
- }
5
- export {
6
- r as getOptimisedAppearId
7
- };
@@ -1,22 +0,0 @@
1
- import { transformProps as t } from "../../render/html/utils/keys-transform.js";
2
- const r = {
3
- type: "spring",
4
- stiffness: 500,
5
- damping: 25,
6
- restSpeed: 10
7
- }, a = (e) => ({
8
- type: "spring",
9
- stiffness: 550,
10
- damping: e === 0 ? 2 * Math.sqrt(550) : 30,
11
- restSpeed: 10
12
- }), n = {
13
- type: "keyframes",
14
- duration: 0.8
15
- }, i = {
16
- type: "keyframes",
17
- ease: [0.25, 0.1, 0.35, 1],
18
- duration: 0.3
19
- }, f = (e, { keyframes: s }) => s.length > 2 ? n : t.has(e) ? e.startsWith("scale") ? a(s[1]) : r : i;
20
- export {
21
- f as getDefaultTransition
22
- };
@@ -1,7 +0,0 @@
1
- import { complex as e } from "../../value/types/complex/index.js";
2
- const o = (t, s) => s === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
3
- (e.test(t) || t === "0") && // And it contains numbers and/or colors
4
- !t.startsWith("url("));
5
- export {
6
- o as isAnimatable
7
- };
@@ -1,6 +0,0 @@
1
- function o(n) {
2
- return n !== null && typeof n == "object" && typeof n.start == "function";
3
- }
4
- export {
5
- o as isAnimationControls
6
- };
@@ -1,4 +0,0 @@
1
- const a = (r) => Array.isArray(r);
2
- export {
3
- a as isKeyframesTarget
4
- };
@@ -1,7 +0,0 @@
1
- import { isZeroValueString as n } from "../../utils/is-zero-value-string.js";
2
- function t(e) {
3
- return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || n(e) : !0;
4
- }
5
- export {
6
- t as isNone
7
- };
@@ -1,6 +0,0 @@
1
- function y({ when: r, delay: t, delayChildren: a, staggerChildren: n, staggerDirection: i, repeat: l, repeatType: s, repeatDelay: d, from: p, elapsed: g, ...e }) {
2
- return !!Object.keys(e).length;
3
- }
4
- export {
5
- y as isTransitionDefined
6
- };
@@ -1,53 +0,0 @@
1
- import { j as g } from "../../../../../../_virtual/jsx-runtime.js";
2
- import * as c from "react";
3
- import { useId as x, useRef as d, useContext as C, useInsertionEffect as P } from "react";
4
- import { MotionConfigContext as R } from "../../context/MotionConfigContext.js";
5
- class w extends c.Component {
6
- getSnapshotBeforeUpdate(n) {
7
- const e = this.props.childRef.current;
8
- if (e && n.isPresent && !this.props.isPresent) {
9
- const i = e.offsetParent, o = i instanceof HTMLElement && i.offsetWidth || 0, t = this.props.sizeRef.current;
10
- t.height = e.offsetHeight || 0, t.width = e.offsetWidth || 0, t.top = e.offsetTop, t.left = e.offsetLeft, t.right = o - t.width - t.left;
11
- }
12
- return null;
13
- }
14
- /**
15
- * Required with getSnapshotBeforeUpdate to stop React complaining.
16
- */
17
- componentDidUpdate() {
18
- }
19
- render() {
20
- return this.props.children;
21
- }
22
- }
23
- function I({ children: s, isPresent: n, anchorX: e }) {
24
- const i = x(), o = d(null), t = d({
25
- width: 0,
26
- height: 0,
27
- top: 0,
28
- left: 0,
29
- right: 0
30
- }), { nonce: p } = C(R);
31
- return P(() => {
32
- const { width: h, height: f, top: a, left: l, right: m } = t.current;
33
- if (n || !o.current || !h || !f)
34
- return;
35
- const u = e === "left" ? `left: ${l}` : `right: ${m}`;
36
- o.current.dataset.motionPopId = i;
37
- const r = document.createElement("style");
38
- return p && (r.nonce = p), document.head.appendChild(r), r.sheet && r.sheet.insertRule(`
39
- [data-motion-pop-id="${i}"] {
40
- position: absolute !important;
41
- width: ${h}px !important;
42
- height: ${f}px !important;
43
- ${u}px !important;
44
- top: ${a}px !important;
45
- }
46
- `), () => {
47
- document.head.removeChild(r);
48
- };
49
- }, [n]), g.jsx(w, { isPresent: n, childRef: o, sizeRef: t, children: c.cloneElement(s, { ref: o }) });
50
- }
51
- export {
52
- I as PopChild
53
- };
@@ -1,41 +0,0 @@
1
- import { j as a } from "../../../../../../_virtual/jsx-runtime.js";
2
- import * as C from "react";
3
- import { useId as P, useCallback as x, useMemo as c } from "react";
4
- import { PresenceContext as E } from "../../context/PresenceContext.js";
5
- import { useConstant as j } from "../../utils/use-constant.js";
6
- import { PopChild as v } from "./PopChild.js";
7
- const g = ({ children: r, initial: m, isPresent: t, onExitComplete: o, custom: f, presenceAffectsLayout: u, mode: l, anchorX: p }) => {
8
- const e = j(M), d = P(), i = x((s) => {
9
- e.set(s, !0);
10
- for (const n of e.values())
11
- if (!n)
12
- return;
13
- o && o();
14
- }, [e, o]), h = c(
15
- () => ({
16
- id: d,
17
- initial: m,
18
- isPresent: t,
19
- custom: f,
20
- onExitComplete: i,
21
- register: (s) => (e.set(s, !1), () => e.delete(s))
22
- }),
23
- /**
24
- * If the presence of a child affects the layout of the components around it,
25
- * we want to make a new context value to ensure they get re-rendered
26
- * so they can detect that layout change.
27
- */
28
- u ? [Math.random(), i] : [t, i]
29
- );
30
- return c(() => {
31
- e.forEach((s, n) => e.set(n, !1));
32
- }, [t]), C.useEffect(() => {
33
- !t && !e.size && o && o();
34
- }, [t]), l === "popLayout" && (r = a.jsx(v, { isPresent: t, anchorX: p, children: r })), a.jsx(E.Provider, { value: h, children: r });
35
- };
36
- function M() {
37
- return /* @__PURE__ */ new Map();
38
- }
39
- export {
40
- g as PresenceChild
41
- };
@@ -1,45 +0,0 @@
1
- import { j as f } from "../../../../../../_virtual/jsx-runtime.js";
2
- import { useMemo as X, useRef as C, useState as P, useContext as F } from "react";
3
- import { LayoutGroupContext as G } from "../../context/LayoutGroupContext.js";
4
- import { useConstant as H } from "../../utils/use-constant.js";
5
- import { useIsomorphicLayoutEffect as I } from "../../utils/use-isomorphic-effect.js";
6
- import { PresenceChild as K } from "./PresenceChild.js";
7
- import { usePresence as O } from "./use-presence.js";
8
- import { onlyElements as j, getChildKey as l } from "./utils.js";
9
- const B = ({ children: p, custom: A, initial: L = !0, onExitComplete: d, presenceAffectsLayout: b = !0, mode: u = "sync", propagate: a = !1, anchorX: D = "left" }) => {
10
- const [h, g] = O(a), r = X(() => j(p), [p]), i = a && !h ? [] : r.map(l), E = C(!0), x = C(r), s = H(() => /* @__PURE__ */ new Map()), [M, N] = P(r), [o, y] = P(r);
11
- I(() => {
12
- E.current = !1, x.current = r;
13
- for (let t = 0; t < o.length; t++) {
14
- const e = l(o[t]);
15
- i.includes(e) ? s.delete(e) : s.get(e) !== !0 && s.set(e, !1);
16
- }
17
- }, [o, i.length, i.join("-")]);
18
- const c = [];
19
- if (r !== M) {
20
- let t = [...r];
21
- for (let e = 0; e < o.length; e++) {
22
- const n = o[e], m = l(n);
23
- i.includes(m) || (t.splice(e, 0, n), c.push(n));
24
- }
25
- return u === "wait" && c.length && (t = c), y(j(t)), N(r), null;
26
- }
27
- process.env.NODE_ENV !== "production" && u === "wait" && o.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
28
- const { forceRender: w } = F(G);
29
- return f.jsx(f.Fragment, { children: o.map((t) => {
30
- const e = l(t), n = a && !h ? !1 : r === o || i.includes(e), m = () => {
31
- if (s.has(e))
32
- s.set(e, !0);
33
- else
34
- return;
35
- let v = !0;
36
- s.forEach((R) => {
37
- R || (v = !1);
38
- }), v && (w == null || w(), y(x.current), a && (g == null || g()), d && d());
39
- };
40
- return f.jsx(K, { isPresent: n, initial: !E.current || L ? void 0 : !1, custom: A, presenceAffectsLayout: b, mode: u, onExitComplete: n ? void 0 : m, anchorX: D, children: t }, e);
41
- }) });
42
- };
43
- export {
44
- B as AnimatePresence
45
- };
@@ -1,17 +0,0 @@
1
- import { useContext as c, useId as f, useEffect as i, useCallback as l } from "react";
2
- import { PresenceContext as a } from "../../context/PresenceContext.js";
3
- function x(e = !0) {
4
- const n = c(a);
5
- if (n === null)
6
- return [!0, null];
7
- const { isPresent: s, onExitComplete: t, register: o } = n, r = f();
8
- i(() => {
9
- if (e)
10
- return o(r);
11
- }, [e]);
12
- const u = l(() => e && t && t(r), [r, t, e]);
13
- return !s && t ? [!1, u] : [!0];
14
- }
15
- export {
16
- x as usePresence
17
- };
@@ -1,12 +0,0 @@
1
- import { Children as o, isValidElement as l } from "react";
2
- const s = (e) => e.key || "";
3
- function i(e) {
4
- const t = [];
5
- return o.forEach(e, (n) => {
6
- l(n) && t.push(n);
7
- }), t;
8
- }
9
- export {
10
- s as getChildKey,
11
- i as onlyElements
12
- };
@@ -1,5 +0,0 @@
1
- import { createContext as t } from "react";
2
- const e = t({});
3
- export {
4
- e as LayoutGroupContext
5
- };
@@ -1,5 +0,0 @@
1
- import { createContext as t } from "react";
2
- const e = t({ strict: !1 });
3
- export {
4
- e as LazyContext
5
- };
@@ -1,9 +0,0 @@
1
- import { createContext as o } from "react";
2
- const n = o({
3
- transformPagePoint: (t) => t,
4
- isStatic: !1,
5
- reducedMotion: "never"
6
- });
7
- export {
8
- n as MotionConfigContext
9
- };
@@ -1,13 +0,0 @@
1
- import { useContext as o, useMemo as i } from "react";
2
- import { MotionContext as a } from "./index.js";
3
- import { getCurrentTreeVariants as m } from "./utils.js";
4
- function f(t) {
5
- const { initial: r, animate: e } = m(t, o(a));
6
- return i(() => ({ initial: r, animate: e }), [n(r), n(e)]);
7
- }
8
- function n(t) {
9
- return Array.isArray(t) ? t.join(" ") : t;
10
- }
11
- export {
12
- f as useCreateMotionContext
13
- };
@@ -1,5 +0,0 @@
1
- import { createContext as t } from "react";
2
- const e = /* @__PURE__ */ t({});
3
- export {
4
- e as MotionContext
5
- };
@@ -1,15 +0,0 @@
1
- import { isControllingVariants as e } from "../../render/utils/is-controlling-variants.js";
2
- import { isVariantLabel as n } from "../../render/utils/is-variant-label.js";
3
- function l(i, r) {
4
- if (e(i)) {
5
- const { initial: t, animate: a } = i;
6
- return {
7
- initial: t === !1 || n(t) ? t : void 0,
8
- animate: n(a) ? a : void 0
9
- };
10
- }
11
- return i.inherit !== !1 ? r : {};
12
- }
13
- export {
14
- l as getCurrentTreeVariants
15
- };
@@ -1,5 +0,0 @@
1
- import { createContext as e } from "react";
2
- const o = /* @__PURE__ */ e(null);
3
- export {
4
- o as PresenceContext
5
- };
@@ -1,5 +0,0 @@
1
- import { createContext as t } from "react";
2
- const e = t({});
3
- export {
4
- e as SwitchLayoutGroupContext
5
- };
@@ -1,5 +0,0 @@
1
- import { backIn as o } from "./back.js";
2
- const i = (a) => (a *= 2) < 1 ? 0.5 * o(a) : 0.5 * (2 - Math.pow(2, -10 * (a - 1)));
3
- export {
4
- i as anticipate
5
- };
@@ -1,9 +0,0 @@
1
- import { cubicBezier as r } from "./cubic-bezier.js";
2
- import { mirrorEasing as s } from "./modifiers/mirror.js";
3
- import { reverseEasing as a } from "./modifiers/reverse.js";
4
- const i = /* @__PURE__ */ r(0.33, 1.53, 0.69, 0.99), o = /* @__PURE__ */ a(i), e = /* @__PURE__ */ s(o);
5
- export {
6
- o as backIn,
7
- e as backInOut,
8
- i as backOut
9
- };
@@ -1,8 +0,0 @@
1
- import { mirrorEasing as a } from "./modifiers/mirror.js";
2
- import { reverseEasing as i } from "./modifiers/reverse.js";
3
- const r = (s) => 1 - Math.sin(Math.acos(s)), o = i(r), n = a(r);
4
- export {
5
- r as circIn,
6
- n as circInOut,
7
- o as circOut
8
- };
@@ -1,19 +0,0 @@
1
- import "../../../../motion-utils/dist/es/errors.js";
2
- import { noop as f } from "../../../../motion-utils/dist/es/noop.js";
3
- const a = (n, t, r) => (((1 - 3 * r + 3 * t) * n + (3 * r - 6 * t)) * n + 3 * t) * n, p = 1e-7, h = 12;
4
- function i(n, t, r, u, s) {
5
- let o, e, c = 0;
6
- do
7
- e = t + (r - t) / 2, o = a(e, u, s) - n, o > 0 ? r = e : t = e;
8
- while (Math.abs(o) > p && ++c < h);
9
- return e;
10
- }
11
- function b(n, t, r, u) {
12
- if (n === t && r === u)
13
- return f;
14
- const s = (o) => i(o, 0, 1, n, r);
15
- return (o) => o === 0 || o === 1 ? o : a(s(o), t, u);
16
- }
17
- export {
18
- b as cubicBezier
19
- };
@@ -1,7 +0,0 @@
1
- import { cubicBezier as e } from "./cubic-bezier.js";
2
- const a = /* @__PURE__ */ e(0.42, 0, 1, 1), o = /* @__PURE__ */ e(0, 0, 0.58, 1), t = /* @__PURE__ */ e(0.42, 0, 0.58, 1);
3
- export {
4
- a as easeIn,
5
- t as easeInOut,
6
- o as easeOut
7
- };
@@ -1,4 +0,0 @@
1
- const a = (t) => (s) => s <= 0.5 ? t(2 * s) / 2 : (2 - t(2 * (1 - s))) / 2;
2
- export {
3
- a as mirrorEasing
4
- };
@@ -1,4 +0,0 @@
1
- const r = (s) => (e) => 1 - s(1 - e);
2
- export {
3
- r as reverseEasing
4
- };
@@ -1,4 +0,0 @@
1
- const a = (r) => Array.isArray(r) && typeof r[0] != "number";
2
- export {
3
- a as isEasingArray
4
- };
@@ -1,32 +0,0 @@
1
- import { invariant as a } from "../../../../../motion-utils/dist/es/errors.js";
2
- import { noop as c } from "../../../../../motion-utils/dist/es/noop.js";
3
- import { isBezierDefinition as o } from "../../../../../motion-dom/dist/es/utils/is-bezier-definition.js";
4
- import { anticipate as u } from "../anticipate.js";
5
- import { backOut as m, backInOut as f, backIn as p } from "../back.js";
6
- import { circOut as I, circInOut as O, circIn as b } from "../circ.js";
7
- import { cubicBezier as $ } from "../cubic-bezier.js";
8
- import { easeOut as k, easeInOut as l, easeIn as g } from "../ease.js";
9
- const t = {
10
- linear: c,
11
- easeIn: g,
12
- easeInOut: l,
13
- easeOut: k,
14
- circIn: b,
15
- circInOut: O,
16
- circOut: I,
17
- backIn: p,
18
- backInOut: f,
19
- backOut: m,
20
- anticipate: u
21
- }, C = (i) => {
22
- if (o(i)) {
23
- a(i.length === 4, "Cubic bezier arrays must contain four numerical values.");
24
- const [n, e, s, r] = i;
25
- return $(n, e, s, r);
26
- } else if (typeof i == "string")
27
- return a(t[i] !== void 0, `Invalid easing type '${i}'`), t[i];
28
- return i;
29
- };
30
- export {
31
- C as easingDefinitionToFunction
32
- };
@@ -1,6 +0,0 @@
1
- function i(e, t, n, r = { passive: !0 }) {
2
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n);
3
- }
4
- export {
5
- i as addDomEvent
6
- };
@@ -1,8 +0,0 @@
1
- import { addDomEvent as a } from "./add-dom-event.js";
2
- import { addPointerInfo as d } from "./event-info.js";
3
- function f(o, r, t, n) {
4
- return a(o, r, d(t), n);
5
- }
6
- export {
7
- f as addPointerEvent
8
- };
@@ -1,15 +0,0 @@
1
- import "../../../../motion-utils/dist/es/errors.js";
2
- import { isPrimaryPointer as o } from "../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
3
- function r(t) {
4
- return {
5
- point: {
6
- x: t.pageX,
7
- y: t.pageY
8
- }
9
- };
10
- }
11
- const e = (t) => (n) => o(n) && t(n, r(n));
12
- export {
13
- e as addPointerInfo,
14
- r as extractEventInfo
15
- };