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,32 +0,0 @@
1
- import { isDragActive as E } from "../drag/state/is-active.js";
2
- import { isNodeOrChild as b } from "../utils/is-node-or-child.js";
3
- import { isPrimaryPointer as L } from "../utils/is-primary-pointer.js";
4
- import { setupGesture as g } from "../utils/setup.js";
5
- import { isElementKeyboardAccessible as h } from "./utils/is-keyboard-accessible.js";
6
- import { enableKeyboardPress as y } from "./utils/keyboard.js";
7
- import { isPressing as o } from "./utils/state.js";
8
- function p(s) {
9
- return L(s) && !E();
10
- }
11
- function C(s, u, i = {}) {
12
- const [f, r, l] = g(s, i), w = (e) => {
13
- const t = e.currentTarget;
14
- if (!p(e) || o.has(t))
15
- return;
16
- o.add(t);
17
- const a = u(t, e), d = (n, v) => {
18
- window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", m), !(!p(n) || !o.has(t)) && (o.delete(t), typeof a == "function" && a(n, { success: v }));
19
- }, c = (n) => {
20
- d(n, t === window || t === document || i.useGlobalTarget || b(t, n.target));
21
- }, m = (n) => {
22
- d(n, !1);
23
- };
24
- window.addEventListener("pointerup", c, r), window.addEventListener("pointercancel", m, r);
25
- };
26
- return f.forEach((e) => {
27
- (i.useGlobalTarget ? window : e).addEventListener("pointerdown", w, r), e instanceof HTMLElement && (e.addEventListener("focus", (t) => y(t, r)), !h(e) && e.tabIndex === null && (e.tabIndex = 0));
28
- }), l;
29
- }
30
- export {
31
- C as press
32
- };
@@ -1,13 +0,0 @@
1
- const t = /* @__PURE__ */ new Set([
2
- "BUTTON",
3
- "INPUT",
4
- "SELECT",
5
- "TEXTAREA",
6
- "A"
7
- ]);
8
- function n(e) {
9
- return t.has(e.tagName) || e.tabIndex !== -1;
10
- }
11
- export {
12
- n as isElementKeyboardAccessible
13
- };
@@ -1,27 +0,0 @@
1
- import { isPressing as a } from "./state.js";
2
- function i(n) {
3
- return (t) => {
4
- t.key === "Enter" && n(t);
5
- };
6
- }
7
- function r(n, t) {
8
- n.dispatchEvent(new PointerEvent("pointer" + t, { isPrimary: !0, bubbles: !0 }));
9
- }
10
- const c = (n, t) => {
11
- const e = n.currentTarget;
12
- if (!e)
13
- return;
14
- const s = i(() => {
15
- if (a.has(e))
16
- return;
17
- r(e, "down");
18
- const o = i(() => {
19
- r(e, "up");
20
- }), d = () => r(e, "cancel");
21
- e.addEventListener("keyup", o, t), e.addEventListener("blur", d, t);
22
- });
23
- e.addEventListener("keydown", s, t), e.addEventListener("blur", () => e.removeEventListener("keydown", s), t);
24
- };
25
- export {
26
- c as enableKeyboardPress
27
- };
@@ -1,4 +0,0 @@
1
- const e = /* @__PURE__ */ new WeakSet();
2
- export {
3
- e as isPressing
4
- };
@@ -1,4 +0,0 @@
1
- const s = (e, t) => t ? e === t ? !0 : s(e, t.parentElement) : !1;
2
- export {
3
- s as isNodeOrChild
4
- };
@@ -1,4 +0,0 @@
1
- const t = (o) => o.pointerType === "mouse" ? typeof o.button != "number" || o.button <= 0 : o.isPrimary !== !1;
2
- export {
3
- t as isPrimaryPointer
4
- };
@@ -1,12 +0,0 @@
1
- import { resolveElements as n } from "../../utils/resolve-elements.js";
2
- function l(r, t) {
3
- const o = n(r), e = new AbortController(), s = {
4
- passive: !0,
5
- ...t,
6
- signal: e.signal
7
- };
8
- return [o, s, () => e.abort()];
9
- }
10
- export {
11
- l as setupGesture
12
- };
@@ -1,4 +0,0 @@
1
- const i = (e) => Array.isArray(e) && typeof e[0] == "number";
2
- export {
3
- i as isBezierDefinition
4
- };
@@ -1,14 +0,0 @@
1
- function l(e, o, f) {
2
- var t;
3
- if (e instanceof EventTarget)
4
- return [e];
5
- if (typeof e == "string") {
6
- let n = document;
7
- const r = (t = void 0) !== null && t !== void 0 ? t : n.querySelectorAll(e);
8
- return r ? Array.from(r) : [];
9
- }
10
- return Array.from(e);
11
- }
12
- export {
13
- l as resolveElements
14
- };
@@ -1,6 +0,0 @@
1
- const s = {
2
- linearEasing: void 0
3
- };
4
- export {
5
- s as supportsFlags
6
- };
@@ -1,12 +0,0 @@
1
- import { memoSupports as e } from "./memo.js";
2
- const r = /* @__PURE__ */ e(() => {
3
- try {
4
- document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
5
- } catch {
6
- return !1;
7
- }
8
- return !0;
9
- }, "linearEasing");
10
- export {
11
- r as supportsLinearEasing
12
- };
@@ -1,13 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { memo as s } from "../../../../../motion-utils/dist/es/memo.js";
3
- import { supportsFlags as p } from "./flags.js";
4
- function e(r, t) {
5
- const m = s(r);
6
- return () => {
7
- var o;
8
- return (o = p[t]) !== null && o !== void 0 ? o : m();
9
- };
10
- }
11
- export {
12
- e as memoSupports
13
- };
@@ -1,6 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { memo as o } from "../../../../../motion-utils/dist/es/memo.js";
3
- const r = /* @__PURE__ */ o(() => window.ScrollTimeline !== void 0);
4
- export {
5
- r as supportsScrollTimeline
6
- };
@@ -1,202 +0,0 @@
1
- import "../../../../motion-utils/dist/es/errors.js";
2
- import { SubscriptionManager as o } from "../../../../motion-utils/dist/es/subscription-manager.js";
3
- import { velocityPerSecond as c } from "../../../../motion-utils/dist/es/velocity-per-second.js";
4
- import { warnOnce as p } from "../../../../motion-utils/dist/es/warn-once.js";
5
- import { frame as u } from "../frameloop/frame.js";
6
- import { time as n } from "../frameloop/sync-time.js";
7
- const a = 30, v = (i) => !isNaN(parseFloat(i));
8
- class d {
9
- /**
10
- * @param init - The initiating value
11
- * @param config - Optional configuration options
12
- *
13
- * - `transformer`: A function to transform incoming values with.
14
- */
15
- constructor(t, e = {}) {
16
- this.version = "12.6.1", this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (s, r = !0) => {
17
- const h = n.now();
18
- this.updatedAt !== h && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(s), this.current !== this.prev && this.events.change && this.events.change.notify(this.current), r && this.events.renderRequest && this.events.renderRequest.notify(this.current);
19
- }, this.hasAnimated = !1, this.setCurrent(t), this.owner = e.owner;
20
- }
21
- setCurrent(t) {
22
- this.current = t, this.updatedAt = n.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = v(this.current));
23
- }
24
- setPrevFrameValue(t = this.current) {
25
- this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
26
- }
27
- /**
28
- * Adds a function that will be notified when the `MotionValue` is updated.
29
- *
30
- * It returns a function that, when called, will cancel the subscription.
31
- *
32
- * When calling `onChange` inside a React component, it should be wrapped with the
33
- * `useEffect` hook. As it returns an unsubscribe function, this should be returned
34
- * from the `useEffect` function to ensure you don't add duplicate subscribers..
35
- *
36
- * ```jsx
37
- * export const MyComponent = () => {
38
- * const x = useMotionValue(0)
39
- * const y = useMotionValue(0)
40
- * const opacity = useMotionValue(1)
41
- *
42
- * useEffect(() => {
43
- * function updateOpacity() {
44
- * const maxXY = Math.max(x.get(), y.get())
45
- * const newOpacity = transform(maxXY, [0, 100], [1, 0])
46
- * opacity.set(newOpacity)
47
- * }
48
- *
49
- * const unsubscribeX = x.on("change", updateOpacity)
50
- * const unsubscribeY = y.on("change", updateOpacity)
51
- *
52
- * return () => {
53
- * unsubscribeX()
54
- * unsubscribeY()
55
- * }
56
- * }, [])
57
- *
58
- * return <motion.div style={{ x }} />
59
- * }
60
- * ```
61
- *
62
- * @param subscriber - A function that receives the latest value.
63
- * @returns A function that, when called, will cancel this subscription.
64
- *
65
- * @deprecated
66
- */
67
- onChange(t) {
68
- return process.env.NODE_ENV !== "production" && p(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
69
- }
70
- on(t, e) {
71
- this.events[t] || (this.events[t] = new o());
72
- const s = this.events[t].add(e);
73
- return t === "change" ? () => {
74
- s(), u.read(() => {
75
- this.events.change.getSize() || this.stop();
76
- });
77
- } : s;
78
- }
79
- clearListeners() {
80
- for (const t in this.events)
81
- this.events[t].clear();
82
- }
83
- /**
84
- * Attaches a passive effect to the `MotionValue`.
85
- */
86
- attach(t, e) {
87
- this.passiveEffect = t, this.stopPassiveEffect = e;
88
- }
89
- /**
90
- * Sets the state of the `MotionValue`.
91
- *
92
- * @remarks
93
- *
94
- * ```jsx
95
- * const x = useMotionValue(0)
96
- * x.set(10)
97
- * ```
98
- *
99
- * @param latest - Latest value to set.
100
- * @param render - Whether to notify render subscribers. Defaults to `true`
101
- *
102
- * @public
103
- */
104
- set(t, e = !0) {
105
- !e || !this.passiveEffect ? this.updateAndNotify(t, e) : this.passiveEffect(t, this.updateAndNotify);
106
- }
107
- setWithVelocity(t, e, s) {
108
- this.set(e), this.prev = void 0, this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt - s;
109
- }
110
- /**
111
- * Set the state of the `MotionValue`, stopping any active animations,
112
- * effects, and resets velocity to `0`.
113
- */
114
- jump(t, e = !0) {
115
- this.updateAndNotify(t), this.prev = t, this.prevUpdatedAt = this.prevFrameValue = void 0, e && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
116
- }
117
- /**
118
- * Returns the latest state of `MotionValue`
119
- *
120
- * @returns - The latest state of `MotionValue`
121
- *
122
- * @public
123
- */
124
- get() {
125
- return this.current;
126
- }
127
- /**
128
- * @public
129
- */
130
- getPrevious() {
131
- return this.prev;
132
- }
133
- /**
134
- * Returns the latest velocity of `MotionValue`
135
- *
136
- * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
137
- *
138
- * @public
139
- */
140
- getVelocity() {
141
- const t = n.now();
142
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > a)
143
- return 0;
144
- const e = Math.min(this.updatedAt - this.prevUpdatedAt, a);
145
- return c(parseFloat(this.current) - parseFloat(this.prevFrameValue), e);
146
- }
147
- /**
148
- * Registers a new animation to control this `MotionValue`. Only one
149
- * animation can drive a `MotionValue` at one time.
150
- *
151
- * ```jsx
152
- * value.start()
153
- * ```
154
- *
155
- * @param animation - A function that starts the provided animation
156
- */
157
- start(t) {
158
- return this.stop(), new Promise((e) => {
159
- this.hasAnimated = !0, this.animation = t(e), this.events.animationStart && this.events.animationStart.notify();
160
- }).then(() => {
161
- this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();
162
- });
163
- }
164
- /**
165
- * Stop the currently active animation.
166
- *
167
- * @public
168
- */
169
- stop() {
170
- this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
171
- }
172
- /**
173
- * Returns `true` if this value is currently animating.
174
- *
175
- * @public
176
- */
177
- isAnimating() {
178
- return !!this.animation;
179
- }
180
- clearAnimation() {
181
- delete this.animation;
182
- }
183
- /**
184
- * Destroy and clean up subscribers to this `MotionValue`.
185
- *
186
- * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
187
- * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
188
- * created a `MotionValue` via the `motionValue` function.
189
- *
190
- * @public
191
- */
192
- destroy() {
193
- this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
194
- }
195
- }
196
- function g(i, t) {
197
- return new d(i, t);
198
- }
199
- export {
200
- d as MotionValue,
201
- g as motionValue
202
- };
@@ -1,11 +0,0 @@
1
- function t(e, i) {
2
- e.indexOf(i) === -1 && e.push(i);
3
- }
4
- function d(e, i) {
5
- const n = e.indexOf(i);
6
- n > -1 && e.splice(n, 1);
7
- }
8
- export {
9
- t as addUniqueItem,
10
- d as removeItem
11
- };
@@ -1,12 +0,0 @@
1
- import { noop as r } from "./noop.js";
2
- let e = r, a = r;
3
- process.env.NODE_ENV !== "production" && (e = (o, n) => {
4
- !o && typeof console < "u" && console.warn(n);
5
- }, a = (o, n) => {
6
- if (!o)
7
- throw new Error(n);
8
- });
9
- export {
10
- a as invariant,
11
- e as warning
12
- };
@@ -1,6 +0,0 @@
1
- const o = {
2
- useManualTiming: !1
3
- };
4
- export {
5
- o as MotionGlobalConfig
6
- };
@@ -1,8 +0,0 @@
1
- // @__NO_SIDE_EFFECTS__
2
- function r(o) {
3
- let e;
4
- return () => (e === void 0 && (e = o()), e);
5
- }
6
- export {
7
- r as memo
8
- };
@@ -1,4 +0,0 @@
1
- const n = /* @__NO_SIDE_EFFECTS__ */ (o) => o;
2
- export {
3
- n as noop
4
- };
@@ -1,7 +0,0 @@
1
- const t = /* @__NO_SIDE_EFFECTS__ */ (r, n, o) => {
2
- const s = n - r;
3
- return s === 0 ? 1 : (o - r) / s;
4
- };
5
- export {
6
- t as progress
7
- };
@@ -1,29 +0,0 @@
1
- import { removeItem as e, addUniqueItem as c } from "./array.js";
2
- class p {
3
- constructor() {
4
- this.subscriptions = [];
5
- }
6
- add(s) {
7
- return c(this.subscriptions, s), () => e(this.subscriptions, s);
8
- }
9
- notify(s, r, o) {
10
- const t = this.subscriptions.length;
11
- if (t)
12
- if (t === 1)
13
- this.subscriptions[0](s, r, o);
14
- else
15
- for (let i = 0; i < t; i++) {
16
- const n = this.subscriptions[i];
17
- n && n(s, r, o);
18
- }
19
- }
20
- getSize() {
21
- return this.subscriptions.length;
22
- }
23
- clear() {
24
- this.subscriptions.length = 0;
25
- }
26
- }
27
- export {
28
- p as SubscriptionManager
29
- };
@@ -1,5 +0,0 @@
1
- const o = /* @__NO_SIDE_EFFECTS__ */ (s) => s * 1e3, e = /* @__NO_SIDE_EFFECTS__ */ (s) => s / 1e3;
2
- export {
3
- e as millisecondsToSeconds,
4
- o as secondsToMilliseconds
5
- };
@@ -1,6 +0,0 @@
1
- function o(n, e) {
2
- return e ? n * (1e3 / e) : 0;
3
- }
4
- export {
5
- o as velocityPerSecond
6
- };
@@ -1,7 +0,0 @@
1
- const n = /* @__PURE__ */ new Set();
2
- function t(o, e, a) {
3
- o || n.has(e) || (console.warn(e), n.add(e));
4
- }
5
- export {
6
- t as warnOnce
7
- };
@@ -1,54 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
- var u, s;
7
- function O() {
8
- if (s) return u;
9
- s = 1;
10
- var f = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
11
- function j(n) {
12
- if (n == null)
13
- throw new TypeError("Object.assign cannot be called with null or undefined");
14
- return Object(n);
15
- }
16
- function p() {
17
- try {
18
- if (!Object.assign)
19
- return !1;
20
- var n = new String("abc");
21
- if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
22
- return !1;
23
- for (var o = {}, r = 0; r < 10; r++)
24
- o["_" + String.fromCharCode(r)] = r;
25
- var a = Object.getOwnPropertyNames(o).map(function(t) {
26
- return o[t];
27
- });
28
- if (a.join("") !== "0123456789")
29
- return !1;
30
- var e = {};
31
- return "abcdefghijklmnopqrst".split("").forEach(function(t) {
32
- e[t] = t;
33
- }), Object.keys(Object.assign({}, e)).join("") === "abcdefghijklmnopqrst";
34
- } catch {
35
- return !1;
36
- }
37
- }
38
- return u = p() ? Object.assign : function(n, o) {
39
- for (var r, a = j(n), e, t = 1; t < arguments.length; t++) {
40
- r = Object(arguments[t]);
41
- for (var c in r)
42
- b.call(r, c) && (a[c] = r[c]);
43
- if (f) {
44
- e = f(r);
45
- for (var i = 0; i < e.length; i++)
46
- l.call(r, e[i]) && (a[e[i]] = r[e[i]]);
47
- }
48
- }
49
- return a;
50
- }, u;
51
- }
52
- export {
53
- O as __require
54
- };
@@ -1,54 +0,0 @@
1
- import { __require as E } from "./lib/ReactPropTypesSecret.js";
2
- import { __require as d } from "./lib/has.js";
3
- var c, y;
4
- function O() {
5
- if (y) return c;
6
- y = 1;
7
- var a = function() {
8
- };
9
- if (process.env.NODE_ENV !== "production") {
10
- var l = /* @__PURE__ */ E(), i = {}, v = /* @__PURE__ */ d();
11
- a = function(r) {
12
- var t = "Warning: " + r;
13
- typeof console < "u" && console.error(t);
14
- try {
15
- throw new Error(t);
16
- } catch {
17
- }
18
- };
19
- }
20
- function f(r, t, n, s, u) {
21
- if (process.env.NODE_ENV !== "production") {
22
- for (var o in r)
23
- if (v(r, o)) {
24
- var e;
25
- try {
26
- if (typeof r[o] != "function") {
27
- var p = Error(
28
- (s || "React class") + ": " + n + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
29
- );
30
- throw p.name = "Invariant Violation", p;
31
- }
32
- e = r[o](t, o, s, n, null, l);
33
- } catch (m) {
34
- e = m;
35
- }
36
- if (e && !(e instanceof Error) && a(
37
- (s || "React class") + ": type specification of " + n + " `" + o + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof e + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
38
- ), e instanceof Error && !(e.message in i)) {
39
- i[e.message] = !0;
40
- var h = u ? u() : "";
41
- a(
42
- "Failed " + n + " type: " + e.message + (h ?? "")
43
- );
44
- }
45
- }
46
- }
47
- }
48
- return f.resetWarningCache = function() {
49
- process.env.NODE_ENV !== "production" && (i = {});
50
- }, c = f, c;
51
- }
52
- export {
53
- O as __require
54
- };
@@ -1,52 +0,0 @@
1
- import { __require as f } from "./lib/ReactPropTypesSecret.js";
2
- var t, p;
3
- function g() {
4
- if (p) return t;
5
- p = 1;
6
- var c = /* @__PURE__ */ f();
7
- function o() {
8
- }
9
- function a() {
10
- }
11
- return a.resetWarningCache = o, t = function() {
12
- function e(u, y, l, h, m, s) {
13
- if (s !== c) {
14
- var i = new Error(
15
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
16
- );
17
- throw i.name = "Invariant Violation", i;
18
- }
19
- }
20
- e.isRequired = e;
21
- function r() {
22
- return e;
23
- }
24
- var n = {
25
- array: e,
26
- bigint: e,
27
- bool: e,
28
- func: e,
29
- number: e,
30
- object: e,
31
- string: e,
32
- symbol: e,
33
- any: e,
34
- arrayOf: r,
35
- element: e,
36
- elementType: e,
37
- instanceOf: r,
38
- node: e,
39
- objectOf: r,
40
- oneOf: r,
41
- oneOfType: r,
42
- shape: r,
43
- exact: r,
44
- checkPropTypes: a,
45
- resetWarningCache: o
46
- };
47
- return n.PropTypes = n, n;
48
- }, t;
49
- }
50
- export {
51
- g as __require
52
- };