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.
- package/dist/_virtual/client.js +22 -3
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/components/atoms/Avatar/Avatar.js +31 -73
- package/dist/components/atoms/UploadContainer/UploadContainer.js +47 -89
- package/dist/components/molecules/AlertModal/AlertModal.js +26 -68
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +45 -87
- package/dist/components/molecules/DialogModal/DialogModal.js +37 -79
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +25 -67
- package/dist/components/molecules/Tabs/Tabs.js +41 -83
- package/dist/lawgic-dev-kit.umd.js +243 -884
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/dist/utils/modal.js +59 -101
- package/dist/utils/toast.js +73 -106
- package/package.json +1 -1
- package/dist/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/dist/_virtual/index.js +0 -7
- package/dist/dist/_virtual/index3.js +0 -5
- package/dist/dist/_virtual/index4.js +0 -5
- package/dist/dist/_virtual/index5.js +0 -7
- package/dist/dist/_virtual/index6.js +0 -4
- package/dist/dist/_virtual/index7.js +0 -4
- package/dist/dist/_virtual/index8.js +0 -4
- package/dist/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/dist/_virtual/lodash.js +0 -2
- package/dist/dist/_virtual/lodash2.js +0 -4
- package/dist/dist/_virtual/react-is.development.js +0 -4
- package/dist/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -4
- package/dist/dist/components/atoms/AsyncToast/index.js +0 -33
- package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +0 -5
- package/dist/dist/components/atoms/Toast/Toast.js +0 -113
- package/dist/dist/constants/countries.js +0 -8
- package/dist/dist/contexts/themeContext.js +0 -3
- package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -4
- package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -2661
- package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +0 -33
- package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -266
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -205
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -147
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -23
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -37
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -92
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -47
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -46
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -33
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -53
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -45
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -32
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -68
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -85
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -59
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -53
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -14
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -34
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -608
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -229
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -66
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +0 -64
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -48
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -26
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -128
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -29
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -49
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -9
- package/dist/dist/node_modules/lodash/lodash.js +0 -3677
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +0 -12
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -9
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -5
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +0 -19
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +0 -12
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +0 -11
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +0 -16
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +0 -18
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +0 -49
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +0 -16
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +0 -11
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +0 -1
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -74
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -9
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -17
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -16
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -32
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +0 -202
- package/dist/dist/node_modules/motion-utils/dist/es/array.js +0 -11
- package/dist/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
- package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
- package/dist/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -7
- package/dist/dist/node_modules/object-assign/index.js +0 -54
- package/dist/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/dist/node_modules/prop-types/index.js +0 -17
- package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/dist/node_modules/property-expr/index.js +0 -82
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
- package/dist/dist/node_modules/react/jsx-runtime.js +0 -10
- package/dist/dist/node_modules/tiny-case/index.js +0 -22
- package/dist/dist/node_modules/toposort/index.js +0 -66
- package/dist/dist/node_modules/yup/index.esm.js +0 -1359
- package/dist/dist/themes/default.js +0 -9
- package/dist/src/utils/toast.d.ts +0 -15
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
-
import { faCircleInfo as c, faXmark as p, faCircleExclamation as y, faTriangleExclamation as h, faCircleCheck as w } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
3
|
-
import { FontAwesomeIcon as d } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
|
-
import { useState as j, useEffect as x } from "react";
|
|
5
|
-
import { AnimatePresence as k } from "../../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
6
|
-
import { motion as C } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
7
|
-
const N = 500, I = ({
|
|
8
|
-
id: f,
|
|
9
|
-
content: u,
|
|
10
|
-
type: b = "info",
|
|
11
|
-
duration: s = 0,
|
|
12
|
-
onClose: n
|
|
13
|
-
}) => {
|
|
14
|
-
const [o, m] = j(!0);
|
|
15
|
-
let t = c, a, r, i;
|
|
16
|
-
switch (b) {
|
|
17
|
-
case "success":
|
|
18
|
-
a = "text-green-500", r = "bg-green-50", i = "border-green-500", t = w;
|
|
19
|
-
break;
|
|
20
|
-
case "error":
|
|
21
|
-
a = "text-red-500", r = "bg-red-50", i = "border-red-500", t = h;
|
|
22
|
-
break;
|
|
23
|
-
case "warning":
|
|
24
|
-
a = "text-yellow-500", r = "bg-yellow-50", i = "border-yellow-500", t = y;
|
|
25
|
-
break;
|
|
26
|
-
case "loading":
|
|
27
|
-
a = "text-gray-500", r = "bg-gray-50", i = "border-gray-500", t = c;
|
|
28
|
-
break;
|
|
29
|
-
case "info":
|
|
30
|
-
default:
|
|
31
|
-
a = "text-blue-500", r = "bg-blue-50", i = "border-blue-500", t = c;
|
|
32
|
-
}
|
|
33
|
-
x(() => {
|
|
34
|
-
if (s === 0) return;
|
|
35
|
-
const l = setTimeout(() => {
|
|
36
|
-
m(!1);
|
|
37
|
-
}, s);
|
|
38
|
-
return () => clearTimeout(l);
|
|
39
|
-
}, [s]), x(() => {
|
|
40
|
-
if (!o) {
|
|
41
|
-
const l = setTimeout(n, N);
|
|
42
|
-
return () => clearTimeout(l);
|
|
43
|
-
}
|
|
44
|
-
}, [o, n]);
|
|
45
|
-
const g = {
|
|
46
|
-
initial: {
|
|
47
|
-
opacity: 0,
|
|
48
|
-
y: 50,
|
|
49
|
-
scale: 0.9
|
|
50
|
-
},
|
|
51
|
-
animate: {
|
|
52
|
-
opacity: 1,
|
|
53
|
-
y: 0,
|
|
54
|
-
scale: 1,
|
|
55
|
-
transition: {
|
|
56
|
-
duration: 0.3,
|
|
57
|
-
type: "spring",
|
|
58
|
-
stiffness: 300,
|
|
59
|
-
damping: 20
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
exit: {
|
|
63
|
-
opacity: 0,
|
|
64
|
-
y: 20,
|
|
65
|
-
scale: 0.95,
|
|
66
|
-
transition: {
|
|
67
|
-
duration: 0.2,
|
|
68
|
-
ease: "easeOut"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
return /* @__PURE__ */ e.jsx(k, { onExitComplete: n, children: o && /* @__PURE__ */ e.jsx(
|
|
73
|
-
C.div,
|
|
74
|
-
{
|
|
75
|
-
id: f,
|
|
76
|
-
className: `toast w-[320px] rounded-xl border-[1.5px] p-8 shadow-md ${r} ${i}`,
|
|
77
|
-
initial: "initial",
|
|
78
|
-
animate: "animate",
|
|
79
|
-
exit: "exit",
|
|
80
|
-
variants: g,
|
|
81
|
-
layout: !0,
|
|
82
|
-
children: /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center p-3", children: [
|
|
83
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
84
|
-
/* @__PURE__ */ e.jsx(
|
|
85
|
-
d,
|
|
86
|
-
{
|
|
87
|
-
icon: t,
|
|
88
|
-
className: `w-20 h-20 min-h-20 min-w-20 ${a}`
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-gray-800 font-medium text-base", children: u })
|
|
92
|
-
] }),
|
|
93
|
-
/* @__PURE__ */ e.jsx(
|
|
94
|
-
"button",
|
|
95
|
-
{
|
|
96
|
-
onClick: () => m(!1),
|
|
97
|
-
className: "text-gray-500 transition-all hover:text-gray-700 flex items-center",
|
|
98
|
-
children: /* @__PURE__ */ e.jsx(
|
|
99
|
-
d,
|
|
100
|
-
{
|
|
101
|
-
icon: p,
|
|
102
|
-
className: "w-20 h-20 min-h-20 min-w-20"
|
|
103
|
-
}
|
|
104
|
-
)
|
|
105
|
-
}
|
|
106
|
-
)
|
|
107
|
-
] })
|
|
108
|
-
}
|
|
109
|
-
) });
|
|
110
|
-
};
|
|
111
|
-
export {
|
|
112
|
-
I as default
|
|
113
|
-
};
|