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,30 +0,0 @@
|
|
|
1
|
-
const e = [
|
|
2
|
-
"animate",
|
|
3
|
-
"circle",
|
|
4
|
-
"defs",
|
|
5
|
-
"desc",
|
|
6
|
-
"ellipse",
|
|
7
|
-
"g",
|
|
8
|
-
"image",
|
|
9
|
-
"line",
|
|
10
|
-
"filter",
|
|
11
|
-
"marker",
|
|
12
|
-
"mask",
|
|
13
|
-
"metadata",
|
|
14
|
-
"path",
|
|
15
|
-
"pattern",
|
|
16
|
-
"polygon",
|
|
17
|
-
"polyline",
|
|
18
|
-
"rect",
|
|
19
|
-
"stop",
|
|
20
|
-
"switch",
|
|
21
|
-
"symbol",
|
|
22
|
-
"svg",
|
|
23
|
-
"text",
|
|
24
|
-
"tspan",
|
|
25
|
-
"use",
|
|
26
|
-
"view"
|
|
27
|
-
];
|
|
28
|
-
export {
|
|
29
|
-
e as lowercaseSVGElements
|
|
30
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { useMemo as a } from "react";
|
|
2
|
-
import { copyRawValuesOnly as m } from "../html/use-props.js";
|
|
3
|
-
import { buildSVGAttrs as l } from "./utils/build-attrs.js";
|
|
4
|
-
import { createSvgRenderState as n } from "./utils/create-render-state.js";
|
|
5
|
-
import { isSVGTag as i } from "./utils/is-svg-tag.js";
|
|
6
|
-
function V(r, o, p, e) {
|
|
7
|
-
const s = a(() => {
|
|
8
|
-
const t = n();
|
|
9
|
-
return l(t, o, i(e), r.transformTemplate), {
|
|
10
|
-
...t.attrs,
|
|
11
|
-
style: { ...t.style }
|
|
12
|
-
};
|
|
13
|
-
}, [o]);
|
|
14
|
-
if (r.style) {
|
|
15
|
-
const t = {};
|
|
16
|
-
m(t, r.style, r), s.style = { ...t, ...s.style };
|
|
17
|
-
}
|
|
18
|
-
return s;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
V as useSVGProps
|
|
22
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { buildHTMLStyles as c } from "../../html/utils/build-styles.js";
|
|
2
|
-
import { buildSVGPath as y } from "./path.js";
|
|
3
|
-
import { calcSVGTransformOrigin as g } from "./transform-origin.js";
|
|
4
|
-
function b(t, {
|
|
5
|
-
attrX: n,
|
|
6
|
-
attrY: e,
|
|
7
|
-
attrScale: d,
|
|
8
|
-
originX: o,
|
|
9
|
-
originY: i,
|
|
10
|
-
pathLength: l,
|
|
11
|
-
pathSpacing: m = 1,
|
|
12
|
-
pathOffset: v = 0,
|
|
13
|
-
// This is object creation, which we try to avoid per-frame.
|
|
14
|
-
...f
|
|
15
|
-
}, p, S) {
|
|
16
|
-
if (c(t, f, S), p) {
|
|
17
|
-
t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
t.attrs = t.style, t.style = {};
|
|
21
|
-
const { attrs: r, style: a, dimensions: s } = t;
|
|
22
|
-
r.transform && (s && (a.transform = r.transform), delete r.transform), s && (o !== void 0 || i !== void 0 || a.transform) && (a.transformOrigin = g(s, o !== void 0 ? o : 0.5, i !== void 0 ? i : 0.5)), n !== void 0 && (r.x = n), e !== void 0 && (r.y = e), d !== void 0 && (r.scale = d), l !== void 0 && y(r, l, m, v, !1);
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
b as buildSVGAttrs
|
|
26
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const e = /* @__PURE__ */ new Set([
|
|
2
|
-
"baseFrequency",
|
|
3
|
-
"diffuseConstant",
|
|
4
|
-
"kernelMatrix",
|
|
5
|
-
"kernelUnitLength",
|
|
6
|
-
"keySplines",
|
|
7
|
-
"keyTimes",
|
|
8
|
-
"limitingConeAngle",
|
|
9
|
-
"markerHeight",
|
|
10
|
-
"markerWidth",
|
|
11
|
-
"numOctaves",
|
|
12
|
-
"targetX",
|
|
13
|
-
"targetY",
|
|
14
|
-
"surfaceScale",
|
|
15
|
-
"specularConstant",
|
|
16
|
-
"specularExponent",
|
|
17
|
-
"stdDeviation",
|
|
18
|
-
"tableValues",
|
|
19
|
-
"viewBox",
|
|
20
|
-
"gradientTransform",
|
|
21
|
-
"pathLength",
|
|
22
|
-
"startOffset",
|
|
23
|
-
"textLength",
|
|
24
|
-
"lengthAdjust"
|
|
25
|
-
]);
|
|
26
|
-
export {
|
|
27
|
-
e as camelCaseAttributes
|
|
28
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { px as a } from "../../../value/types/numbers/units.js";
|
|
2
|
-
const m = {
|
|
3
|
-
offset: "stroke-dashoffset",
|
|
4
|
-
array: "stroke-dasharray"
|
|
5
|
-
}, y = {
|
|
6
|
-
offset: "strokeDashoffset",
|
|
7
|
-
array: "strokeDasharray"
|
|
8
|
-
};
|
|
9
|
-
function k(r, o, s = 1, f = 0, e = !0) {
|
|
10
|
-
r.pathLength = 1;
|
|
11
|
-
const t = e ? m : y;
|
|
12
|
-
r[t.offset] = a.transform(-f);
|
|
13
|
-
const n = a.transform(o), h = a.transform(s);
|
|
14
|
-
r[t.array] = `${n} ${h}`;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
k as buildSVGPath
|
|
18
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { camelToDash as s } from "../../dom/utils/camel-to-dash.js";
|
|
2
|
-
import { renderHTML as o } from "../../html/utils/render.js";
|
|
3
|
-
import { camelCaseAttributes as i } from "./camel-case-attrs.js";
|
|
4
|
-
function p(a, t, m, e) {
|
|
5
|
-
o(a, t, void 0, e);
|
|
6
|
-
for (const r in t.attrs)
|
|
7
|
-
a.setAttribute(i.has(r) ? r : s(r), t.attrs[r]);
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
p as renderSVG
|
|
11
|
-
};
|
package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { isMotionValue as a } from "../../../value/utils/is-motion-value.js";
|
|
2
|
-
import { transformPropOrder as i } from "../../html/utils/keys-transform.js";
|
|
3
|
-
import { scrapeMotionValuesFromProps as p } from "../../html/utils/scrape-motion-values.js";
|
|
4
|
-
function u(r, t, n) {
|
|
5
|
-
const s = p(r, t, n);
|
|
6
|
-
for (const o in r)
|
|
7
|
-
if (a(r[o]) || a(t[o])) {
|
|
8
|
-
const e = i.indexOf(o) !== -1 ? "attr" + o.charAt(0).toUpperCase() + o.substring(1) : o;
|
|
9
|
-
s[e] = r[o];
|
|
10
|
-
}
|
|
11
|
-
return s;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
u as scrapeMotionValuesFromProps
|
|
15
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { px as a } from "../../../value/types/numbers/units.js";
|
|
2
|
-
function i(n, t, o) {
|
|
3
|
-
return typeof n == "string" ? n : a.transform(t + o * n);
|
|
4
|
-
}
|
|
5
|
-
function c(n, t, o) {
|
|
6
|
-
const r = i(t, n.x, n.width), f = i(o, n.y, n.height);
|
|
7
|
-
return `${r} ${f}`;
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
c as calcSVGTransformOrigin
|
|
11
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { frame as d } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
3
|
-
import { removeNonTranslationalTransform as p } from "../dom/utils/unit-conversion.js";
|
|
4
|
-
const i = /* @__PURE__ */ new Set();
|
|
5
|
-
let f = !1, m = !1;
|
|
6
|
-
function c() {
|
|
7
|
-
if (m) {
|
|
8
|
-
const l = Array.from(i).filter((e) => e.needsMeasurement), s = new Set(l.map((e) => e.element)), r = /* @__PURE__ */ new Map();
|
|
9
|
-
s.forEach((e) => {
|
|
10
|
-
const t = p(e);
|
|
11
|
-
t.length && (r.set(e, t), e.render());
|
|
12
|
-
}), l.forEach((e) => e.measureInitialState()), s.forEach((e) => {
|
|
13
|
-
e.render();
|
|
14
|
-
const t = r.get(e);
|
|
15
|
-
t && t.forEach(([a, o]) => {
|
|
16
|
-
var n;
|
|
17
|
-
(n = e.getValue(a)) === null || n === void 0 || n.set(o);
|
|
18
|
-
});
|
|
19
|
-
}), l.forEach((e) => e.measureEndState()), l.forEach((e) => {
|
|
20
|
-
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
m = !1, f = !1, i.forEach((l) => l.complete()), i.clear();
|
|
24
|
-
}
|
|
25
|
-
function u() {
|
|
26
|
-
i.forEach((l) => {
|
|
27
|
-
l.readKeyframes(), l.needsMeasurement && (m = !0);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function E() {
|
|
31
|
-
u(), c();
|
|
32
|
-
}
|
|
33
|
-
class K {
|
|
34
|
-
constructor(s, r, e, t, a, o = !1) {
|
|
35
|
-
this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...s], this.onComplete = r, this.name = e, this.motionValue = t, this.element = a, this.isAsync = o;
|
|
36
|
-
}
|
|
37
|
-
scheduleResolve() {
|
|
38
|
-
this.isScheduled = !0, this.isAsync ? (i.add(this), f || (f = !0, d.read(u), d.resolveKeyframes(c))) : (this.readKeyframes(), this.complete());
|
|
39
|
-
}
|
|
40
|
-
readKeyframes() {
|
|
41
|
-
const { unresolvedKeyframes: s, name: r, element: e, motionValue: t } = this;
|
|
42
|
-
for (let a = 0; a < s.length; a++)
|
|
43
|
-
if (s[a] === null)
|
|
44
|
-
if (a === 0) {
|
|
45
|
-
const o = t == null ? void 0 : t.get(), n = s[s.length - 1];
|
|
46
|
-
if (o !== void 0)
|
|
47
|
-
s[0] = o;
|
|
48
|
-
else if (e && r) {
|
|
49
|
-
const h = e.readValue(r, n);
|
|
50
|
-
h != null && (s[0] = h);
|
|
51
|
-
}
|
|
52
|
-
s[0] === void 0 && (s[0] = n), t && o === void 0 && t.set(s[0]);
|
|
53
|
-
} else
|
|
54
|
-
s[a] = s[a - 1];
|
|
55
|
-
}
|
|
56
|
-
setFinalKeyframe() {
|
|
57
|
-
}
|
|
58
|
-
measureInitialState() {
|
|
59
|
-
}
|
|
60
|
-
renderEndStyles() {
|
|
61
|
-
}
|
|
62
|
-
measureEndState() {
|
|
63
|
-
}
|
|
64
|
-
complete() {
|
|
65
|
-
this.isComplete = !0, this.onComplete(this.unresolvedKeyframes, this.finalKeyframe), i.delete(this);
|
|
66
|
-
}
|
|
67
|
-
cancel() {
|
|
68
|
-
this.isComplete || (this.isScheduled = !1, i.delete(this));
|
|
69
|
-
}
|
|
70
|
-
resume() {
|
|
71
|
-
this.isComplete || this.scheduleResolve();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export {
|
|
75
|
-
K as KeyframeResolver,
|
|
76
|
-
E as flushKeyframeResolvers
|
|
77
|
-
};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { animateVisualElement as N } from "../../animation/interfaces/visual-element.js";
|
|
2
|
-
import { isAnimationControls as Q } from "../../animation/utils/is-animation-controls.js";
|
|
3
|
-
import { isKeyframesTarget as F } from "../../animation/utils/is-keyframes-target.js";
|
|
4
|
-
import { shallowCompare as k } from "../../utils/shallow-compare.js";
|
|
5
|
-
import { getVariantContext as U } from "./get-variant-context.js";
|
|
6
|
-
import { isVariantLabel as W } from "./is-variant-label.js";
|
|
7
|
-
import { resolveVariant as I } from "./resolve-dynamic-variants.js";
|
|
8
|
-
import { variantPriorityOrder as z } from "./variant-props.js";
|
|
9
|
-
const _ = [...z].reverse(), j = z.length;
|
|
10
|
-
function q(t) {
|
|
11
|
-
return (u) => Promise.all(u.map(({ animation: c, options: d }) => N(t, c, d)));
|
|
12
|
-
}
|
|
13
|
-
function nt(t) {
|
|
14
|
-
let u = q(t), c = M(), d = !0;
|
|
15
|
-
const D = (s) => (e, p) => {
|
|
16
|
-
var l;
|
|
17
|
-
const a = I(t, p, s === "exit" ? (l = t.presenceContext) === null || l === void 0 ? void 0 : l.custom : void 0);
|
|
18
|
-
if (a) {
|
|
19
|
-
const { transition: m, transitionEnd: h, ...g } = a;
|
|
20
|
-
e = { ...e, ...g, ...h };
|
|
21
|
-
}
|
|
22
|
-
return e;
|
|
23
|
-
};
|
|
24
|
-
function H(s) {
|
|
25
|
-
u = s(t);
|
|
26
|
-
}
|
|
27
|
-
function K(s) {
|
|
28
|
-
const { props: e } = t, p = U(t.parent) || {}, l = [], a = /* @__PURE__ */ new Set();
|
|
29
|
-
let m = {}, h = 1 / 0;
|
|
30
|
-
for (let f = 0; f < j; f++) {
|
|
31
|
-
const i = _[f], r = c[i], o = e[i] !== void 0 ? e[i] : p[i], w = W(o), P = i === s ? r.isActive : null;
|
|
32
|
-
P === !1 && (h = f);
|
|
33
|
-
let V = o === p[i] && o !== e[i] && w;
|
|
34
|
-
if (V && d && t.manuallyAnimateOnMount && (V = !1), r.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
|
|
35
|
-
!r.isActive && P === null || // If we didn't and don't have any defined prop for this animation type
|
|
36
|
-
!o && !r.prevProp || // Or if the prop doesn't define an animation
|
|
37
|
-
Q(o) || typeof o == "boolean")
|
|
38
|
-
continue;
|
|
39
|
-
const b = G(r.prevProp, o);
|
|
40
|
-
let C = b || // If we're making this variant active, we want to always make it active
|
|
41
|
-
i === s && r.isActive && !V && w || // If we removed a higher-priority variant (i is in reverse order)
|
|
42
|
-
f > h && w, O = !1;
|
|
43
|
-
const E = Array.isArray(o) ? o : [o];
|
|
44
|
-
let y = E.reduce(D(i), {});
|
|
45
|
-
P === !1 && (y = {});
|
|
46
|
-
const { prevResolvedValues: R = {} } = r, L = {
|
|
47
|
-
...R,
|
|
48
|
-
...y
|
|
49
|
-
}, T = (n) => {
|
|
50
|
-
C = !0, a.has(n) && (O = !0, a.delete(n)), r.needsAnimating[n] = !0;
|
|
51
|
-
const v = t.getValue(n);
|
|
52
|
-
v && (v.liveStyle = !1);
|
|
53
|
-
};
|
|
54
|
-
for (const n in L) {
|
|
55
|
-
const v = y[n], S = R[n];
|
|
56
|
-
if (m.hasOwnProperty(n))
|
|
57
|
-
continue;
|
|
58
|
-
let x = !1;
|
|
59
|
-
F(v) && F(S) ? x = !k(v, S) : x = v !== S, x ? v != null ? T(n) : a.add(n) : v !== void 0 && a.has(n) ? T(n) : r.protectedKeys[n] = !0;
|
|
60
|
-
}
|
|
61
|
-
r.prevProp = o, r.prevResolvedValues = y, r.isActive && (m = { ...m, ...y }), d && t.blockInitialAnimation && (C = !1), C && (!(V && b) || O) && l.push(...E.map((n) => ({
|
|
62
|
-
animation: n,
|
|
63
|
-
options: { type: i }
|
|
64
|
-
})));
|
|
65
|
-
}
|
|
66
|
-
if (a.size) {
|
|
67
|
-
const f = {};
|
|
68
|
-
if (typeof e.initial != "boolean") {
|
|
69
|
-
const i = I(t, Array.isArray(e.initial) ? e.initial[0] : e.initial);
|
|
70
|
-
i && i.transition && (f.transition = i.transition);
|
|
71
|
-
}
|
|
72
|
-
a.forEach((i) => {
|
|
73
|
-
const r = t.getBaseTarget(i), o = t.getValue(i);
|
|
74
|
-
o && (o.liveStyle = !0), f[i] = r ?? null;
|
|
75
|
-
}), l.push({ animation: f });
|
|
76
|
-
}
|
|
77
|
-
let g = !!l.length;
|
|
78
|
-
return d && (e.initial === !1 || e.initial === e.animate) && !t.manuallyAnimateOnMount && (g = !1), d = !1, g ? u(l) : Promise.resolve();
|
|
79
|
-
}
|
|
80
|
-
function B(s, e) {
|
|
81
|
-
var p;
|
|
82
|
-
if (c[s].isActive === e)
|
|
83
|
-
return Promise.resolve();
|
|
84
|
-
(p = t.variantChildren) === null || p === void 0 || p.forEach((a) => {
|
|
85
|
-
var m;
|
|
86
|
-
return (m = a.animationState) === null || m === void 0 ? void 0 : m.setActive(s, e);
|
|
87
|
-
}), c[s].isActive = e;
|
|
88
|
-
const l = K(s);
|
|
89
|
-
for (const a in c)
|
|
90
|
-
c[a].protectedKeys = {};
|
|
91
|
-
return l;
|
|
92
|
-
}
|
|
93
|
-
return {
|
|
94
|
-
animateChanges: K,
|
|
95
|
-
setActive: B,
|
|
96
|
-
setAnimateFunction: H,
|
|
97
|
-
getState: () => c,
|
|
98
|
-
reset: () => {
|
|
99
|
-
c = M(), d = !0;
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function G(t, u) {
|
|
104
|
-
return typeof u == "string" ? u !== t : Array.isArray(u) ? !k(u, t) : !1;
|
|
105
|
-
}
|
|
106
|
-
function A(t = !1) {
|
|
107
|
-
return {
|
|
108
|
-
isActive: t,
|
|
109
|
-
protectedKeys: {},
|
|
110
|
-
needsAnimating: {},
|
|
111
|
-
prevResolvedValues: {}
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
function M() {
|
|
115
|
-
return {
|
|
116
|
-
animate: A(!0),
|
|
117
|
-
whileInView: A(),
|
|
118
|
-
whileHover: A(),
|
|
119
|
-
whileTap: A(),
|
|
120
|
-
whileDrag: A(),
|
|
121
|
-
whileFocus: A(),
|
|
122
|
-
exit: A()
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
G as checkVariantsDidChange,
|
|
127
|
-
nt as createAnimationState
|
|
128
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { addUniqueItem as t, removeItem as r } from "../../../../../motion-utils/dist/es/array.js";
|
|
2
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
3
|
-
import { compareByDepth as s } from "./compare-by-depth.js";
|
|
4
|
-
class c {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.children = [], this.isDirty = !1;
|
|
7
|
-
}
|
|
8
|
-
add(i) {
|
|
9
|
-
t(this.children, i), this.isDirty = !0;
|
|
10
|
-
}
|
|
11
|
-
remove(i) {
|
|
12
|
-
r(this.children, i), this.isDirty = !0;
|
|
13
|
-
}
|
|
14
|
-
forEach(i) {
|
|
15
|
-
this.isDirty && this.children.sort(s), this.isDirty = !1, this.children.forEach(i);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
c as FlatTree
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { isVariantLabel as s } from "./is-variant-label.js";
|
|
2
|
-
import { variantProps as n } from "./variant-props.js";
|
|
3
|
-
const e = n.length;
|
|
4
|
-
function p(t) {
|
|
5
|
-
if (!t)
|
|
6
|
-
return;
|
|
7
|
-
if (!t.isControllingVariants) {
|
|
8
|
-
const r = t.parent ? p(t.parent) || {} : {};
|
|
9
|
-
return t.props.initial !== void 0 && (r.initial = t.props.initial), r;
|
|
10
|
-
}
|
|
11
|
-
const o = {};
|
|
12
|
-
for (let r = 0; r < e; r++) {
|
|
13
|
-
const a = n[r], i = t.props[a];
|
|
14
|
-
(s(i) || i === !1) && (o[a] = i);
|
|
15
|
-
}
|
|
16
|
-
return o;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
p as getVariantContext
|
|
20
|
-
};
|
package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isAnimationControls as n } from "../../animation/utils/is-animation-controls.js";
|
|
2
|
-
import { isVariantLabel as t } from "./is-variant-label.js";
|
|
3
|
-
import { variantProps as o } from "./variant-props.js";
|
|
4
|
-
function i(a) {
|
|
5
|
-
return n(a.animate) || o.some((r) => t(a[r]));
|
|
6
|
-
}
|
|
7
|
-
function f(a) {
|
|
8
|
-
return !!(i(a) || a.variants);
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
i as isControllingVariants,
|
|
12
|
-
f as isVariantNode
|
|
13
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { warnOnce as m } from "../../../../../motion-utils/dist/es/warn-once.js";
|
|
3
|
-
import { motionValue as i } from "../../../../../motion-dom/dist/es/value/index.js";
|
|
4
|
-
import { isMotionValue as l } from "../../value/utils/is-motion-value.js";
|
|
5
|
-
function V(o, r, s) {
|
|
6
|
-
for (const e in r) {
|
|
7
|
-
const t = r[e], a = s[e];
|
|
8
|
-
if (l(t))
|
|
9
|
-
o.addValue(e, t), process.env.NODE_ENV === "development" && m(t.version === "12.6.2", `Attempting to mix Motion versions ${t.version} with 12.6.2 may not work as expected.`);
|
|
10
|
-
else if (l(a))
|
|
11
|
-
o.addValue(e, i(t, { owner: o }));
|
|
12
|
-
else if (a !== t)
|
|
13
|
-
if (o.hasValue(e)) {
|
|
14
|
-
const n = o.getValue(e);
|
|
15
|
-
n.liveStyle === !0 ? n.jump(t) : n.hasAnimated || n.set(t);
|
|
16
|
-
} else {
|
|
17
|
-
const n = o.getStaticValue(e);
|
|
18
|
-
o.addValue(e, i(n !== void 0 ? n : t, { owner: o }));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
for (const e in s)
|
|
22
|
-
r[e] === void 0 && o.removeValue(e);
|
|
23
|
-
return r;
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
V as updateMotionValuesFromProps
|
|
27
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
function a(n) {
|
|
2
|
-
const o = [{}, {}];
|
|
3
|
-
return n == null || n.values.forEach((e, t) => {
|
|
4
|
-
o[0][t] = e.get(), o[1][t] = e.getVelocity();
|
|
5
|
-
}), o;
|
|
6
|
-
}
|
|
7
|
-
function f(n, o, e, t) {
|
|
8
|
-
if (typeof o == "function") {
|
|
9
|
-
const [i, s] = a(t);
|
|
10
|
-
o = o(e !== void 0 ? e : n.custom, i, s);
|
|
11
|
-
}
|
|
12
|
-
if (typeof o == "string" && (o = n.variants && n.variants[o]), typeof o == "function") {
|
|
13
|
-
const [i, s] = a(t);
|
|
14
|
-
o = o(e !== void 0 ? e : n.custom, i, s);
|
|
15
|
-
}
|
|
16
|
-
return o;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
f as resolveVariantFromProps
|
|
20
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { motionValue as i } from "../../../../../motion-dom/dist/es/value/index.js";
|
|
3
|
-
import { resolveFinalValueInKeyframes as l } from "../../utils/resolve-value.js";
|
|
4
|
-
import { resolveVariant as m } from "./resolve-dynamic-variants.js";
|
|
5
|
-
function f(a, t, e) {
|
|
6
|
-
a.hasValue(t) ? a.getValue(t).set(e) : a.addValue(t, i(e));
|
|
7
|
-
}
|
|
8
|
-
function d(a, t) {
|
|
9
|
-
const e = m(a, t);
|
|
10
|
-
let { transitionEnd: r = {}, transition: u = {}, ...n } = e || {};
|
|
11
|
-
n = { ...n, ...r };
|
|
12
|
-
for (const o in n) {
|
|
13
|
-
const s = l(n[o]);
|
|
14
|
-
f(a, o, s);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
d as setTarget
|
|
19
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { cancelFrame as a, frame as s } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
3
|
-
import { time as c } from "../../../../motion-dom/dist/es/frameloop/sync-time.js";
|
|
4
|
-
function d(m, t) {
|
|
5
|
-
const e = c.now(), r = ({ timestamp: n }) => {
|
|
6
|
-
const o = n - e;
|
|
7
|
-
o >= t && (a(r), m(o - t));
|
|
8
|
-
};
|
|
9
|
-
return s.read(r, !0), () => a(r);
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
d as delay
|
|
13
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
function d(t, a, n) {
|
|
2
|
-
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (a - t) * 6 * n : n < 1 / 2 ? a : n < 2 / 3 ? t + (a - t) * (2 / 3 - n) * 6 : t;
|
|
3
|
-
}
|
|
4
|
-
function i({ hue: t, saturation: a, lightness: n, alpha: e }) {
|
|
5
|
-
t /= 360, a /= 100, n /= 100;
|
|
6
|
-
let o = 0, h = 0, l = 0;
|
|
7
|
-
if (!a)
|
|
8
|
-
o = h = l = n;
|
|
9
|
-
else {
|
|
10
|
-
const u = n < 0.5 ? n * (1 + a) : n + a - n * a, s = 2 * n - u;
|
|
11
|
-
o = d(s, u, t + 1 / 3), h = d(s, u, t), l = d(s, u, t - 1 / 3);
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
red: Math.round(o * 255),
|
|
15
|
-
green: Math.round(h * 255),
|
|
16
|
-
blue: Math.round(l * 255),
|
|
17
|
-
alpha: e
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
i as hslaToRgba
|
|
22
|
-
};
|