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,33 +0,0 @@
1
- /*!
2
- * Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license (Commercial License)
4
- * Copyright 2024 Fonticons, Inc.
5
- */
6
- const c = {
7
- prefix: "fal",
8
- iconName: "circle-exclamation",
9
- icon: [512, 512, ["exclamation-circle"], "f06a", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-8.8 0-16 7.2-16 16l0 128c0 8.8 7.2 16 16 16s16-7.2 16-16l0-128c0-8.8-7.2-16-16-16zm24 224a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]
10
- }, a = {
11
- prefix: "fal",
12
- iconName: "circle-check",
13
- icon: [512, 512, [61533, "check-circle"], "f058", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]
14
- }, l = {
15
- prefix: "fal",
16
- iconName: "circle-info",
17
- icon: [512, 512, ["info-circle"], "f05a", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l24 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]
18
- }, i = {
19
- prefix: "fal",
20
- iconName: "xmark",
21
- icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]
22
- }, e = {
23
- prefix: "fal",
24
- iconName: "triangle-exclamation",
25
- icon: [512, 512, [9888, "exclamation-triangle", "warning"], "f071", "M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4l411.2 0c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4L50.4 480C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16l0 128c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]
26
- };
27
- export {
28
- a as faCircleCheck,
29
- c as faCircleExclamation,
30
- l as faCircleInfo,
31
- e as faTriangleExclamation,
32
- i as faXmark
33
- };
@@ -1,266 +0,0 @@
1
- import { parse as A, icon as _ } from "../fontawesome-svg-core/index.js";
2
- import n from "../../../_virtual/index.js";
3
- import C from "react";
4
- function E(t, r) {
5
- var e = Object.keys(t);
6
- if (Object.getOwnPropertySymbols) {
7
- var o = Object.getOwnPropertySymbols(t);
8
- r && (o = o.filter(function(a) {
9
- return Object.getOwnPropertyDescriptor(t, a).enumerable;
10
- })), e.push.apply(e, o);
11
- }
12
- return e;
13
- }
14
- function f(t) {
15
- for (var r = 1; r < arguments.length; r++) {
16
- var e = arguments[r] != null ? arguments[r] : {};
17
- r % 2 ? E(Object(e), !0).forEach(function(o) {
18
- b(t, o, e[o]);
19
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : E(Object(e)).forEach(function(o) {
20
- Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(e, o));
21
- });
22
- }
23
- return t;
24
- }
25
- function h(t) {
26
- "@babel/helpers - typeof";
27
- return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
28
- return typeof r;
29
- } : function(r) {
30
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
31
- }, h(t);
32
- }
33
- function b(t, r, e) {
34
- return r in t ? Object.defineProperty(t, r, {
35
- value: e,
36
- enumerable: !0,
37
- configurable: !0,
38
- writable: !0
39
- }) : t[r] = e, t;
40
- }
41
- function U(t, r) {
42
- if (t == null) return {};
43
- var e = {}, o = Object.keys(t), a, i;
44
- for (i = 0; i < o.length; i++)
45
- a = o[i], !(r.indexOf(a) >= 0) && (e[a] = t[a]);
46
- return e;
47
- }
48
- function L(t, r) {
49
- if (t == null) return {};
50
- var e = U(t, r), o, a;
51
- if (Object.getOwnPropertySymbols) {
52
- var i = Object.getOwnPropertySymbols(t);
53
- for (a = 0; a < i.length; a++)
54
- o = i[a], !(r.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (e[o] = t[o]);
55
- }
56
- return e;
57
- }
58
- function P(t) {
59
- return q(t) || K(t) || M(t) || V();
60
- }
61
- function q(t) {
62
- if (Array.isArray(t)) return S(t);
63
- }
64
- function K(t) {
65
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
66
- }
67
- function M(t, r) {
68
- if (t) {
69
- if (typeof t == "string") return S(t, r);
70
- var e = Object.prototype.toString.call(t).slice(8, -1);
71
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
72
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return S(t, r);
73
- }
74
- }
75
- function S(t, r) {
76
- (r == null || r > t.length) && (r = t.length);
77
- for (var e = 0, o = new Array(r); e < r; e++) o[e] = t[e];
78
- return o;
79
- }
80
- function V() {
81
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
82
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
83
- }
84
- function $(t) {
85
- var r, e = t.beat, o = t.fade, a = t.beatFade, i = t.bounce, y = t.shake, m = t.flash, s = t.spin, l = t.spinPulse, u = t.spinReverse, v = t.pulse, x = t.fixedWidth, j = t.inverse, d = t.border, w = t.listItem, c = t.flip, p = t.size, O = t.rotation, k = t.pull, N = (r = {
86
- "fa-beat": e,
87
- "fa-fade": o,
88
- "fa-beat-fade": a,
89
- "fa-bounce": i,
90
- "fa-shake": y,
91
- "fa-flash": m,
92
- "fa-spin": s,
93
- "fa-spin-reverse": u,
94
- "fa-spin-pulse": l,
95
- "fa-pulse": v,
96
- "fa-fw": x,
97
- "fa-inverse": j,
98
- "fa-border": d,
99
- "fa-li": w,
100
- "fa-flip": c === !0,
101
- "fa-flip-horizontal": c === "horizontal" || c === "both",
102
- "fa-flip-vertical": c === "vertical" || c === "both"
103
- }, b(r, "fa-".concat(p), typeof p < "u" && p !== null), b(r, "fa-rotate-".concat(O), typeof O < "u" && O !== null && O !== 0), b(r, "fa-pull-".concat(k), typeof k < "u" && k !== null), b(r, "fa-swap-opacity", t.swapOpacity), r);
104
- return Object.keys(N).map(function(g) {
105
- return N[g] ? g : null;
106
- }).filter(function(g) {
107
- return g;
108
- });
109
- }
110
- function B(t) {
111
- return t = t - 0, t === t;
112
- }
113
- function D(t) {
114
- return B(t) ? t : (t = t.replace(/[\-_\s]+(.)?/g, function(r, e) {
115
- return e ? e.toUpperCase() : "";
116
- }), t.substr(0, 1).toLowerCase() + t.substr(1));
117
- }
118
- var G = ["style"];
119
- function H(t) {
120
- return t.charAt(0).toUpperCase() + t.slice(1);
121
- }
122
- function J(t) {
123
- return t.split(";").map(function(r) {
124
- return r.trim();
125
- }).filter(function(r) {
126
- return r;
127
- }).reduce(function(r, e) {
128
- var o = e.indexOf(":"), a = D(e.slice(0, o)), i = e.slice(o + 1).trim();
129
- return a.startsWith("webkit") ? r[H(a)] = i : r[a] = i, r;
130
- }, {});
131
- }
132
- function R(t, r) {
133
- var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
134
- if (typeof r == "string")
135
- return r;
136
- var o = (r.children || []).map(function(s) {
137
- return R(t, s);
138
- }), a = Object.keys(r.attributes || {}).reduce(function(s, l) {
139
- var u = r.attributes[l];
140
- switch (l) {
141
- case "class":
142
- s.attrs.className = u, delete r.attributes.class;
143
- break;
144
- case "style":
145
- s.attrs.style = J(u);
146
- break;
147
- default:
148
- l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? s.attrs[l.toLowerCase()] = u : s.attrs[D(l)] = u;
149
- }
150
- return s;
151
- }, {
152
- attrs: {}
153
- }), i = e.style, y = i === void 0 ? {} : i, m = L(e, G);
154
- return a.attrs.style = f(f({}, a.attrs.style), y), t.apply(void 0, [r.tag, f(f({}, a.attrs), m)].concat(P(o)));
155
- }
156
- var F = !1;
157
- try {
158
- F = process.env.NODE_ENV === "production";
159
- } catch {
160
- }
161
- function Q() {
162
- if (!F && console && typeof console.error == "function") {
163
- var t;
164
- (t = console).error.apply(t, arguments);
165
- }
166
- }
167
- function z(t) {
168
- if (t && h(t) === "object" && t.prefix && t.iconName && t.icon)
169
- return t;
170
- if (A.icon)
171
- return A.icon(t);
172
- if (t === null)
173
- return null;
174
- if (t && h(t) === "object" && t.prefix && t.iconName)
175
- return t;
176
- if (Array.isArray(t) && t.length === 2)
177
- return {
178
- prefix: t[0],
179
- iconName: t[1]
180
- };
181
- if (typeof t == "string")
182
- return {
183
- prefix: "fas",
184
- iconName: t
185
- };
186
- }
187
- function I(t, r) {
188
- return Array.isArray(r) && r.length > 0 || !Array.isArray(r) && r ? b({}, t, r) : {};
189
- }
190
- var T = {
191
- border: !1,
192
- className: "",
193
- mask: null,
194
- maskId: null,
195
- fixedWidth: !1,
196
- inverse: !1,
197
- flip: !1,
198
- icon: null,
199
- listItem: !1,
200
- pull: null,
201
- pulse: !1,
202
- rotation: null,
203
- size: null,
204
- spin: !1,
205
- spinPulse: !1,
206
- spinReverse: !1,
207
- beat: !1,
208
- fade: !1,
209
- beatFade: !1,
210
- bounce: !1,
211
- shake: !1,
212
- symbol: !1,
213
- title: "",
214
- titleId: null,
215
- transform: null,
216
- swapOpacity: !1
217
- }, W = /* @__PURE__ */ C.forwardRef(function(t, r) {
218
- var e = f(f({}, T), t), o = e.icon, a = e.mask, i = e.symbol, y = e.className, m = e.title, s = e.titleId, l = e.maskId, u = z(o), v = I("classes", [].concat(P($(e)), P((y || "").split(" ")))), x = I("transform", typeof e.transform == "string" ? A.transform(e.transform) : e.transform), j = I("mask", z(a)), d = _(u, f(f(f(f({}, v), x), j), {}, {
219
- symbol: i,
220
- title: m,
221
- titleId: s,
222
- maskId: l
223
- }));
224
- if (!d)
225
- return Q("Could not find icon", u), null;
226
- var w = d.abstract, c = {
227
- ref: r
228
- };
229
- return Object.keys(e).forEach(function(p) {
230
- T.hasOwnProperty(p) || (c[p] = e[p]);
231
- }), X(w[0], c);
232
- });
233
- W.displayName = "FontAwesomeIcon";
234
- W.propTypes = {
235
- beat: n.bool,
236
- border: n.bool,
237
- beatFade: n.bool,
238
- bounce: n.bool,
239
- className: n.string,
240
- fade: n.bool,
241
- flash: n.bool,
242
- mask: n.oneOfType([n.object, n.array, n.string]),
243
- maskId: n.string,
244
- fixedWidth: n.bool,
245
- inverse: n.bool,
246
- flip: n.oneOf([!0, !1, "horizontal", "vertical", "both"]),
247
- icon: n.oneOfType([n.object, n.array, n.string]),
248
- listItem: n.bool,
249
- pull: n.oneOf(["right", "left"]),
250
- pulse: n.bool,
251
- rotation: n.oneOf([0, 90, 180, 270]),
252
- shake: n.bool,
253
- size: n.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
254
- spin: n.bool,
255
- spinPulse: n.bool,
256
- spinReverse: n.bool,
257
- symbol: n.oneOfType([n.bool, n.string]),
258
- title: n.string,
259
- titleId: n.string,
260
- transform: n.oneOfType([n.string, n.object]),
261
- swapOpacity: n.bool
262
- };
263
- var X = R.bind(null, C.createElement);
264
- export {
265
- W as FontAwesomeIcon
266
- };
@@ -1,11 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { motionValue as n } from "../../../../../motion-dom/dist/es/value/index.js";
3
- import { isMotionValue as m } from "../../value/utils/is-motion-value.js";
4
- import { animateMotionValue as r } from "../interfaces/motion-value.js";
5
- function l(t, o, i) {
6
- const a = m(t) ? t : n(t);
7
- return a.start(r("", a, o, i)), a.animation;
8
- }
9
- export {
10
- l as animateSingleValue
11
- };
@@ -1,205 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { noop as v } from "../../../../../motion-utils/dist/es/noop.js";
3
- import { millisecondsToSeconds as T, secondsToMilliseconds as g } from "../../../../../motion-utils/dist/es/time-conversion.js";
4
- import { isGenerator as P } from "../../../../../motion-dom/dist/es/animation/generators/utils/is-generator.js";
5
- import { attachTimeline as k } from "../../../../../motion-dom/dist/es/animation/waapi/utils/attach-timeline.js";
6
- import { isWaapiSupportedEasing as A } from "../../../../../motion-dom/dist/es/animation/waapi/utils/easing.js";
7
- import { supportsLinearEasing as V } from "../../../../../motion-dom/dist/es/utils/supports/linear-easing.js";
8
- import { anticipate as O } from "../../easing/anticipate.js";
9
- import { backInOut as b } from "../../easing/back.js";
10
- import { circInOut as F } from "../../easing/circ.js";
11
- import { DOMKeyframesResolver as I } from "../../render/dom/DOMKeyframesResolver.js";
12
- import { BaseAnimation as R } from "./BaseAnimation.js";
13
- import { MainThreadAnimation as S } from "./MainThreadAnimation.js";
14
- import { acceleratedValues as G } from "./utils/accelerated-values.js";
15
- import { startWaapiAnimation as M } from "./waapi/index.js";
16
- import { getFinalKeyframe as W } from "./waapi/utils/get-final-keyframe.js";
17
- import { supportsWaapi as C } from "./waapi/utils/supports-waapi.js";
18
- const f = 10, E = 2e4;
19
- function K(r) {
20
- return P(r.type) || r.type === "spring" || !A(r.ease);
21
- }
22
- function U(r, e) {
23
- const t = new S({
24
- ...e,
25
- keyframes: r,
26
- repeat: 0,
27
- delay: 0,
28
- isGenerator: !0
29
- });
30
- let i = { done: !1, value: r[0] };
31
- const n = [];
32
- let s = 0;
33
- for (; !i.done && s < E; )
34
- i = t.sample(s), n.push(i.value), s += f;
35
- return {
36
- times: void 0,
37
- keyframes: n,
38
- duration: s - f,
39
- ease: "linear"
40
- };
41
- }
42
- const $ = {
43
- anticipate: O,
44
- backInOut: b,
45
- circInOut: F
46
- };
47
- function x(r) {
48
- return r in $;
49
- }
50
- class se extends R {
51
- constructor(e) {
52
- super(e);
53
- const { name: t, motionValue: i, element: n, keyframes: s } = this.options;
54
- this.resolver = new I(s, (a, o) => this.onKeyframesResolved(a, o), t, i, n), this.resolver.scheduleResolve();
55
- }
56
- initPlayback(e, t) {
57
- let { duration: i = 300, times: n, ease: s, type: a, motionValue: o, name: m, startTime: p } = this.options;
58
- if (!o.owner || !o.owner.current)
59
- return !1;
60
- if (typeof s == "string" && V() && x(s) && (s = $[s]), K(this.options)) {
61
- const { onComplete: c, onUpdate: w, motionValue: y, element: h, ...u } = this.options, d = U(e, u);
62
- e = d.keyframes, e.length === 1 && (e[1] = e[0]), i = d.duration, n = d.times, s = d.ease, a = "keyframes";
63
- }
64
- const l = M(o.owner.current, m, e, { ...this.options, duration: i, times: n, ease: s });
65
- return l.startTime = p ?? this.calcStartTime(), this.pendingTimeline ? (k(l, this.pendingTimeline), this.pendingTimeline = void 0) : l.onfinish = () => {
66
- const { onComplete: c } = this.options;
67
- o.set(W(e, this.options, t)), c && c(), this.cancel(), this.resolveFinishedPromise();
68
- }, {
69
- animation: l,
70
- duration: i,
71
- times: n,
72
- type: a,
73
- ease: s,
74
- keyframes: e
75
- };
76
- }
77
- get duration() {
78
- const { resolved: e } = this;
79
- if (!e)
80
- return 0;
81
- const { duration: t } = e;
82
- return T(t);
83
- }
84
- get time() {
85
- const { resolved: e } = this;
86
- if (!e)
87
- return 0;
88
- const { animation: t } = e;
89
- return T(t.currentTime || 0);
90
- }
91
- set time(e) {
92
- const { resolved: t } = this;
93
- if (!t)
94
- return;
95
- const { animation: i } = t;
96
- i.currentTime = g(e);
97
- }
98
- get speed() {
99
- const { resolved: e } = this;
100
- if (!e)
101
- return 1;
102
- const { animation: t } = e;
103
- return t.playbackRate;
104
- }
105
- set speed(e) {
106
- const { resolved: t } = this;
107
- if (!t)
108
- return;
109
- const { animation: i } = t;
110
- i.playbackRate = e;
111
- }
112
- get state() {
113
- const { resolved: e } = this;
114
- if (!e)
115
- return "idle";
116
- const { animation: t } = e;
117
- return t.playState;
118
- }
119
- get startTime() {
120
- const { resolved: e } = this;
121
- if (!e)
122
- return null;
123
- const { animation: t } = e;
124
- return t.startTime;
125
- }
126
- /**
127
- * Replace the default DocumentTimeline with another AnimationTimeline.
128
- * Currently used for scroll animations.
129
- */
130
- attachTimeline(e) {
131
- if (!this._resolved)
132
- this.pendingTimeline = e;
133
- else {
134
- const { resolved: t } = this;
135
- if (!t)
136
- return v;
137
- const { animation: i } = t;
138
- k(i, e);
139
- }
140
- return v;
141
- }
142
- play() {
143
- if (this.isStopped)
144
- return;
145
- const { resolved: e } = this;
146
- if (!e)
147
- return;
148
- const { animation: t } = e;
149
- t.playState === "finished" && this.updateFinishedPromise(), t.play();
150
- }
151
- pause() {
152
- const { resolved: e } = this;
153
- if (!e)
154
- return;
155
- const { animation: t } = e;
156
- t.pause();
157
- }
158
- stop() {
159
- if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
160
- return;
161
- this.resolveFinishedPromise(), this.updateFinishedPromise();
162
- const { resolved: e } = this;
163
- if (!e)
164
- return;
165
- const { animation: t, keyframes: i, duration: n, type: s, ease: a, times: o } = e;
166
- if (t.playState === "idle" || t.playState === "finished")
167
- return;
168
- if (this.time) {
169
- const { motionValue: p, onUpdate: l, onComplete: c, element: w, ...y } = this.options, h = new S({
170
- ...y,
171
- keyframes: i,
172
- duration: n,
173
- type: s,
174
- ease: a,
175
- times: o,
176
- isGenerator: !0
177
- }), u = g(this.time);
178
- p.setWithVelocity(h.sample(u - f).value, h.sample(u).value, f);
179
- }
180
- const { onStop: m } = this.options;
181
- m && m(), this.cancel();
182
- }
183
- complete() {
184
- const { resolved: e } = this;
185
- e && e.animation.finish();
186
- }
187
- cancel() {
188
- const { resolved: e } = this;
189
- e && e.animation.cancel();
190
- }
191
- static supports(e) {
192
- const { motionValue: t, name: i, repeatDelay: n, repeatType: s, damping: a, type: o } = e;
193
- if (!t || !t.owner || !(t.owner.current instanceof HTMLElement))
194
- return !1;
195
- const { onUpdate: m, transformTemplate: p } = t.owner.getProps();
196
- return C() && i && G.has(i) && (i !== "transform" || !p) && /**
197
- * If we're outputting values to onUpdate then we can't use WAAPI as there's
198
- * no way to read the value from WAAPI every frame.
199
- */
200
- !m && !n && s !== "mirror" && a !== 0 && o !== "inertia";
201
- }
202
- }
203
- export {
204
- se as AcceleratedAnimation
205
- };
@@ -1,83 +0,0 @@
1
- import "../../../../../motion-utils/dist/es/errors.js";
2
- import { time as l } from "../../../../../motion-dom/dist/es/frameloop/sync-time.js";
3
- import { flushKeyframeResolvers as d } from "../../render/utils/KeyframesResolver.js";
4
- import { canAnimate as m } from "./utils/can-animate.js";
5
- import { getFinalKeyframe as y } from "./waapi/utils/get-final-keyframe.js";
6
- const f = 40;
7
- class R {
8
- constructor({ autoplay: e = !0, delay: t = 0, type: i = "keyframes", repeat: o = 0, repeatDelay: r = 0, repeatType: a = "loop", ...s }) {
9
- this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = l.now(), this.options = {
10
- autoplay: e,
11
- delay: t,
12
- type: i,
13
- repeat: o,
14
- repeatDelay: r,
15
- repeatType: a,
16
- ...s
17
- }, this.updateFinishedPromise();
18
- }
19
- /**
20
- * This method uses the createdAt and resolvedAt to calculate the
21
- * animation startTime. *Ideally*, we would use the createdAt time as t=0
22
- * as the following frame would then be the first frame of the animation in
23
- * progress, which would feel snappier.
24
- *
25
- * However, if there's a delay (main thread work) between the creation of
26
- * the animation and the first commited frame, we prefer to use resolvedAt
27
- * to avoid a sudden jump into the animation.
28
- */
29
- calcStartTime() {
30
- return this.resolvedAt ? this.resolvedAt - this.createdAt > f ? this.resolvedAt : this.createdAt : this.createdAt;
31
- }
32
- /**
33
- * A getter for resolved data. If keyframes are not yet resolved, accessing
34
- * this.resolved will synchronously flush all pending keyframe resolvers.
35
- * This is a deoptimisation, but at its worst still batches read/writes.
36
- */
37
- get resolved() {
38
- return !this._resolved && !this.hasAttemptedResolve && d(), this._resolved;
39
- }
40
- /**
41
- * A method to be called when the keyframes resolver completes. This method
42
- * will check if its possible to run the animation and, if not, skip it.
43
- * Otherwise, it will call initPlayback on the implementing class.
44
- */
45
- onKeyframesResolved(e, t) {
46
- this.resolvedAt = l.now(), this.hasAttemptedResolve = !0;
47
- const { name: i, type: o, velocity: r, delay: a, onComplete: s, onUpdate: n, isGenerator: p } = this.options;
48
- if (!p && !m(e, i, o, r))
49
- if (a)
50
- this.options.duration = 0;
51
- else {
52
- n && n(y(e, this.options, t)), s && s(), this.resolveFinishedPromise();
53
- return;
54
- }
55
- const h = this.initPlayback(e, t);
56
- h !== !1 && (this._resolved = {
57
- keyframes: e,
58
- finalKeyframe: t,
59
- ...h
60
- }, this.onPostResolved());
61
- }
62
- onPostResolved() {
63
- }
64
- /**
65
- * Allows the returned animation to be awaited or promise-chained. Currently
66
- * resolves when the animation finishes at all but in a future update could/should
67
- * reject if its cancels.
68
- */
69
- then(e, t) {
70
- return this.currentFinishedPromise.then(e, t);
71
- }
72
- flatten() {
73
- this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear");
74
- }
75
- updateFinishedPromise() {
76
- this.currentFinishedPromise = new Promise((e) => {
77
- this.resolveFinishedPromise = e;
78
- });
79
- }
80
- }
81
- export {
82
- R as BaseAnimation
83
- };