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,12 +0,0 @@
|
|
|
1
|
-
import { noop as r } from "../../../../../motion-utils/dist/es/noop.js";
|
|
2
|
-
import "../../render/html/utils/keys-transform.js";
|
|
3
|
-
import "../../value/types/color/rgba.js";
|
|
4
|
-
import "../../value/types/numbers/index.js";
|
|
5
|
-
import "../../value/types/numbers/units.js";
|
|
6
|
-
import "../../value/types/complex/filter.js";
|
|
7
|
-
import "../../render/dom/value-types/type-int.js";
|
|
8
|
-
import "../../render/dom/utils/unit-conversion.js";
|
|
9
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
10
|
-
import "../../animation/optimized-appear/data-id.js";
|
|
11
|
-
const o = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t);
|
|
12
|
-
o("applewebkit/") && !o("chrome/") || r;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const t = [
|
|
2
|
-
"transformPerspective",
|
|
3
|
-
"x",
|
|
4
|
-
"y",
|
|
5
|
-
"z",
|
|
6
|
-
"translateX",
|
|
7
|
-
"translateY",
|
|
8
|
-
"translateZ",
|
|
9
|
-
"scale",
|
|
10
|
-
"scaleX",
|
|
11
|
-
"scaleY",
|
|
12
|
-
"rotate",
|
|
13
|
-
"rotateX",
|
|
14
|
-
"rotateY",
|
|
15
|
-
"rotateZ",
|
|
16
|
-
"skew",
|
|
17
|
-
"skewX",
|
|
18
|
-
"skewY"
|
|
19
|
-
];
|
|
20
|
-
new Set(t);
|
|
21
|
-
export {
|
|
22
|
-
t as transformPropOrder
|
|
23
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { rgba as a } from "./rgba.js";
|
|
2
|
-
import { isColorString as i } from "./utils.js";
|
|
3
|
-
function g(s) {
|
|
4
|
-
let n = "", r = "", e = "", t = "";
|
|
5
|
-
return s.length > 5 ? (n = s.substring(1, 3), r = s.substring(3, 5), e = s.substring(5, 7), t = s.substring(7, 9)) : (n = s.substring(1, 2), r = s.substring(2, 3), e = s.substring(3, 4), t = s.substring(4, 5), n += n, r += r, e += e, t += t), {
|
|
6
|
-
red: parseInt(n, 16),
|
|
7
|
-
green: parseInt(r, 16),
|
|
8
|
-
blue: parseInt(e, 16),
|
|
9
|
-
alpha: t ? parseInt(t, 16) / 255 : 1
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
const b = {
|
|
13
|
-
test: /* @__PURE__ */ i("#"),
|
|
14
|
-
parse: g,
|
|
15
|
-
transform: a.transform
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
b as hex
|
|
19
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { alpha as i } from "../numbers/index.js";
|
|
2
|
-
import { percent as s } from "../numbers/units.js";
|
|
3
|
-
import { sanitize as r } from "../utils/sanitize.js";
|
|
4
|
-
import { splitColor as e, isColorString as h } from "./utils.js";
|
|
5
|
-
const u = {
|
|
6
|
-
test: /* @__PURE__ */ h("hsl", "hue"),
|
|
7
|
-
parse: /* @__PURE__ */ e("hue", "saturation", "lightness"),
|
|
8
|
-
transform: ({ hue: a, saturation: t, lightness: o, alpha: n = 1 }) => "hsla(" + Math.round(a) + ", " + s.transform(r(t)) + ", " + s.transform(r(o)) + ", " + r(i.transform(n)) + ")"
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
u as hsla
|
|
12
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { hex as o } from "./hex.js";
|
|
2
|
-
import { hsla as s } from "./hsla.js";
|
|
3
|
-
import { rgba as e } from "./rgba.js";
|
|
4
|
-
const m = {
|
|
5
|
-
test: (t) => e.test(t) || o.test(t) || s.test(t),
|
|
6
|
-
parse: (t) => e.test(t) ? e.parse(t) : s.test(t) ? s.parse(t) : o.parse(t),
|
|
7
|
-
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? e.transform(t) : s.transform(t)
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
m as color
|
|
11
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { clamp as m } from "../../../utils/clamp.js";
|
|
2
|
-
import { number as n, alpha as e } from "../numbers/index.js";
|
|
3
|
-
import { sanitize as f } from "../utils/sanitize.js";
|
|
4
|
-
import { splitColor as i, isColorString as p } from "./utils.js";
|
|
5
|
-
const l = (r) => m(0, 255, r), a = {
|
|
6
|
-
...n,
|
|
7
|
-
transform: (r) => Math.round(l(r))
|
|
8
|
-
}, d = {
|
|
9
|
-
test: /* @__PURE__ */ p("rgb", "red"),
|
|
10
|
-
parse: /* @__PURE__ */ i("red", "green", "blue"),
|
|
11
|
-
transform: ({ red: r, green: o, blue: s, alpha: t = 1 }) => "rgba(" + a.transform(r) + ", " + a.transform(o) + ", " + a.transform(s) + ", " + f(e.transform(t)) + ")"
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
a as rgbUnit,
|
|
15
|
-
d as rgba
|
|
16
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { floatRegex as i } from "../utils/float-regex.js";
|
|
2
|
-
import { isNullish as n } from "../utils/is-nullish.js";
|
|
3
|
-
import { singleColorRegex as f } from "../utils/single-color-regex.js";
|
|
4
|
-
const c = (t, r) => (o) => !!(typeof o == "string" && f.test(o) && o.startsWith(t) || r && !n(o) && Object.prototype.hasOwnProperty.call(o, r)), u = (t, r, o) => (s) => {
|
|
5
|
-
if (typeof s != "string")
|
|
6
|
-
return s;
|
|
7
|
-
const [e, l, p, a] = s.match(i);
|
|
8
|
-
return {
|
|
9
|
-
[t]: parseFloat(e),
|
|
10
|
-
[r]: parseFloat(l),
|
|
11
|
-
[o]: parseFloat(p),
|
|
12
|
-
alpha: a !== void 0 ? parseFloat(a) : 1
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
c as isColorString,
|
|
17
|
-
u as splitColor
|
|
18
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { color as p } from "../color/index.js";
|
|
2
|
-
import { colorRegex as h } from "../utils/color-regex.js";
|
|
3
|
-
import { floatRegex as v } from "../utils/float-regex.js";
|
|
4
|
-
import { sanitize as g } from "../utils/sanitize.js";
|
|
5
|
-
function b(s) {
|
|
6
|
-
var r, e;
|
|
7
|
-
return isNaN(s) && typeof s == "string" && (((r = s.match(v)) === null || r === void 0 ? void 0 : r.length) || 0) + (((e = s.match(h)) === null || e === void 0 ? void 0 : e.length) || 0) > 0;
|
|
8
|
-
}
|
|
9
|
-
const i = "number", m = "color", x = "var", y = "var(", u = "${}", N = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
10
|
-
function c(s) {
|
|
11
|
-
const r = s.toString(), e = [], l = {
|
|
12
|
-
color: [],
|
|
13
|
-
number: [],
|
|
14
|
-
var: []
|
|
15
|
-
}, n = [];
|
|
16
|
-
let o = 0;
|
|
17
|
-
const t = r.replace(N, (a) => (p.test(a) ? (l.color.push(o), n.push(m), e.push(p.parse(a))) : a.startsWith(y) ? (l.var.push(o), n.push(x), e.push(a)) : (l.number.push(o), n.push(i), e.push(parseFloat(a))), ++o, u)).split(u);
|
|
18
|
-
return { values: e, split: t, indexes: l, types: n };
|
|
19
|
-
}
|
|
20
|
-
function d(s) {
|
|
21
|
-
return c(s).values;
|
|
22
|
-
}
|
|
23
|
-
function f(s) {
|
|
24
|
-
const { split: r, types: e } = c(s), l = r.length;
|
|
25
|
-
return (n) => {
|
|
26
|
-
let o = "";
|
|
27
|
-
for (let t = 0; t < l; t++)
|
|
28
|
-
if (o += r[t], n[t] !== void 0) {
|
|
29
|
-
const a = e[t];
|
|
30
|
-
a === i ? o += g(n[t]) : a === m ? o += p.transform(n[t]) : o += n[t];
|
|
31
|
-
}
|
|
32
|
-
return o;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
const R = (s) => typeof s == "number" ? 0 : s;
|
|
36
|
-
function w(s) {
|
|
37
|
-
const r = d(s);
|
|
38
|
-
return f(s)(r.map(R));
|
|
39
|
-
}
|
|
40
|
-
const F = {
|
|
41
|
-
test: b,
|
|
42
|
-
parse: d,
|
|
43
|
-
createTransformer: f,
|
|
44
|
-
getAnimatableNone: w
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
c as analyseComplexValue,
|
|
48
|
-
F as complex
|
|
49
|
-
};
|
package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { clamp as s } from "../../../utils/clamp.js";
|
|
2
|
-
const a = {
|
|
3
|
-
test: (r) => typeof r == "number",
|
|
4
|
-
parse: parseFloat,
|
|
5
|
-
transform: (r) => r
|
|
6
|
-
}, e = {
|
|
7
|
-
...a,
|
|
8
|
-
transform: (r) => s(0, 1, r)
|
|
9
|
-
};
|
|
10
|
-
({
|
|
11
|
-
...a
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
e as alpha,
|
|
15
|
-
a as number
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
process.env.NODE_ENV;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { supportsScrollTimeline as l } from "../../utils/supports/scroll-timeline.js";
|
|
2
|
-
class o {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
|
|
5
|
-
}
|
|
6
|
-
get finished() {
|
|
7
|
-
return Promise.all(this.animations.map((t) => "finished" in t ? t.finished : t));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* TODO: Filter out cancelled or stopped animations before returning
|
|
11
|
-
*/
|
|
12
|
-
getAll(t) {
|
|
13
|
-
return this.animations[0][t];
|
|
14
|
-
}
|
|
15
|
-
setAll(t, e) {
|
|
16
|
-
for (let s = 0; s < this.animations.length; s++)
|
|
17
|
-
this.animations[s][t] = e;
|
|
18
|
-
}
|
|
19
|
-
attachTimeline(t, e) {
|
|
20
|
-
const s = this.animations.map((i) => {
|
|
21
|
-
if (l() && i.attachTimeline)
|
|
22
|
-
return i.attachTimeline(t);
|
|
23
|
-
if (typeof e == "function")
|
|
24
|
-
return e(i);
|
|
25
|
-
});
|
|
26
|
-
return () => {
|
|
27
|
-
s.forEach((i, n) => {
|
|
28
|
-
i && i(), this.animations[n].stop();
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
get time() {
|
|
33
|
-
return this.getAll("time");
|
|
34
|
-
}
|
|
35
|
-
set time(t) {
|
|
36
|
-
this.setAll("time", t);
|
|
37
|
-
}
|
|
38
|
-
get speed() {
|
|
39
|
-
return this.getAll("speed");
|
|
40
|
-
}
|
|
41
|
-
set speed(t) {
|
|
42
|
-
this.setAll("speed", t);
|
|
43
|
-
}
|
|
44
|
-
get startTime() {
|
|
45
|
-
return this.getAll("startTime");
|
|
46
|
-
}
|
|
47
|
-
get duration() {
|
|
48
|
-
let t = 0;
|
|
49
|
-
for (let e = 0; e < this.animations.length; e++)
|
|
50
|
-
t = Math.max(t, this.animations[e].duration);
|
|
51
|
-
return t;
|
|
52
|
-
}
|
|
53
|
-
runAll(t) {
|
|
54
|
-
this.animations.forEach((e) => e[t]());
|
|
55
|
-
}
|
|
56
|
-
flatten() {
|
|
57
|
-
this.runAll("flatten");
|
|
58
|
-
}
|
|
59
|
-
play() {
|
|
60
|
-
this.runAll("play");
|
|
61
|
-
}
|
|
62
|
-
pause() {
|
|
63
|
-
this.runAll("pause");
|
|
64
|
-
}
|
|
65
|
-
cancel() {
|
|
66
|
-
this.runAll("cancel");
|
|
67
|
-
}
|
|
68
|
-
complete() {
|
|
69
|
-
this.runAll("complete");
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
o as BaseGroupPlaybackControls
|
|
74
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { isBezierDefinition as t } from "../../../utils/is-bezier-definition.js";
|
|
2
|
-
import { supportsLinearEasing as s } from "../../../utils/supports/linear-easing.js";
|
|
3
|
-
import { generateLinearEasing as u } from "./linear.js";
|
|
4
|
-
function p(a) {
|
|
5
|
-
return !!(typeof a == "function" && s() || !a || typeof a == "string" && (a in e || s()) || t(a) || Array.isArray(a) && a.every(p));
|
|
6
|
-
}
|
|
7
|
-
const i = ([a, r, n, o]) => `cubic-bezier(${a}, ${r}, ${n}, ${o})`, e = {
|
|
8
|
-
linear: "linear",
|
|
9
|
-
ease: "ease",
|
|
10
|
-
easeIn: "ease-in",
|
|
11
|
-
easeOut: "ease-out",
|
|
12
|
-
easeInOut: "ease-in-out",
|
|
13
|
-
circIn: /* @__PURE__ */ i([0, 0.65, 0.55, 1]),
|
|
14
|
-
circOut: /* @__PURE__ */ i([0.55, 0, 1, 0.45]),
|
|
15
|
-
backIn: /* @__PURE__ */ i([0.31, 0.01, 0.66, -0.59]),
|
|
16
|
-
backOut: /* @__PURE__ */ i([0.33, 1.53, 0.69, 0.99])
|
|
17
|
-
};
|
|
18
|
-
function c(a, r) {
|
|
19
|
-
if (a)
|
|
20
|
-
return typeof a == "function" && s() ? u(a, r) : t(a) ? i(a) : Array.isArray(a) ? a.map((n) => c(n, r) || e.easeOut) : e[a];
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
i as cubicBezierAsString,
|
|
24
|
-
p as isWaapiSupportedEasing,
|
|
25
|
-
c as mapEasingToNativeEasing,
|
|
26
|
-
e as supportedWaapiEasing
|
|
27
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "../../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { progress as s } from "../../../../../../motion-utils/dist/es/progress.js";
|
|
3
|
-
const m = (e, a, o = 10) => {
|
|
4
|
-
let r = "";
|
|
5
|
-
const n = Math.max(Math.round(a / o), 2);
|
|
6
|
-
for (let t = 0; t < n; t++)
|
|
7
|
-
r += e(s(0, n - 1, t)) + ", ";
|
|
8
|
-
return `linear(${r.substring(0, r.length - 2)})`;
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
m as generateLinearEasing
|
|
12
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import "../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { stepsOrder as c } from "./order.js";
|
|
3
|
-
import { createRenderStep as b } from "./render-step.js";
|
|
4
|
-
const v = 40;
|
|
5
|
-
function K(n, l) {
|
|
6
|
-
let t = !1, o = !0;
|
|
7
|
-
const e = {
|
|
8
|
-
delta: 0,
|
|
9
|
-
timestamp: 0,
|
|
10
|
-
isProcessing: !1
|
|
11
|
-
}, i = () => t = !0, a = c.reduce((s, r) => (s[r] = b(i), s), {}), { read: m, resolveKeyframes: d, update: f, preRender: u, render: h, postRender: g } = a, p = () => {
|
|
12
|
-
const s = performance.now();
|
|
13
|
-
t = !1, e.delta = o ? 1e3 / 60 : Math.max(Math.min(s - e.timestamp, v), 1), e.timestamp = s, e.isProcessing = !0, m.process(e), d.process(e), f.process(e), u.process(e), h.process(e), g.process(e), e.isProcessing = !1, t && l && (o = !1, n(p));
|
|
14
|
-
}, R = () => {
|
|
15
|
-
t = !0, o = !0, e.isProcessing || n(p);
|
|
16
|
-
};
|
|
17
|
-
return { schedule: c.reduce((s, r) => {
|
|
18
|
-
const P = a[r];
|
|
19
|
-
return s[r] = (x, w = !1, M = !1) => (t || R(), P.schedule(x, w, M)), s;
|
|
20
|
-
}, {}), cancel: (s) => {
|
|
21
|
-
for (let r = 0; r < c.length; r++)
|
|
22
|
-
a[c[r]].cancel(s);
|
|
23
|
-
}, state: e, steps: a };
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
K as createRenderBatcher
|
|
27
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { noop as e } from "../../../../motion-utils/dist/es/noop.js";
|
|
3
|
-
import { createRenderBatcher as a } from "./batcher.js";
|
|
4
|
-
const { schedule: m, cancel: o, state: n, steps: c } = /* @__PURE__ */ a(typeof requestAnimationFrame < "u" ? requestAnimationFrame : e, !0);
|
|
5
|
-
export {
|
|
6
|
-
o as cancelFrame,
|
|
7
|
-
m as frame,
|
|
8
|
-
n as frameData,
|
|
9
|
-
c as frameSteps
|
|
10
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
function h(o, p) {
|
|
2
|
-
let s = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set(), a = !1, l = !1;
|
|
3
|
-
const n = /* @__PURE__ */ new WeakSet();
|
|
4
|
-
let c = {
|
|
5
|
-
delta: 0,
|
|
6
|
-
timestamp: 0,
|
|
7
|
-
isProcessing: !1
|
|
8
|
-
};
|
|
9
|
-
function d(e) {
|
|
10
|
-
n.has(e) && (r.schedule(e), o()), e(c);
|
|
11
|
-
}
|
|
12
|
-
const r = {
|
|
13
|
-
/**
|
|
14
|
-
* Schedule a process to run on the next frame.
|
|
15
|
-
*/
|
|
16
|
-
schedule: (e, u = !1, i = !1) => {
|
|
17
|
-
const f = i && a ? s : t;
|
|
18
|
-
return u && n.add(e), f.has(e) || f.add(e), e;
|
|
19
|
-
},
|
|
20
|
-
/**
|
|
21
|
-
* Cancel the provided callback from running on the next frame.
|
|
22
|
-
*/
|
|
23
|
-
cancel: (e) => {
|
|
24
|
-
t.delete(e), n.delete(e);
|
|
25
|
-
},
|
|
26
|
-
/**
|
|
27
|
-
* Execute all schedule callbacks.
|
|
28
|
-
*/
|
|
29
|
-
process: (e) => {
|
|
30
|
-
if (c = e, a) {
|
|
31
|
-
l = !0;
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
a = !0, [s, t] = [t, s], s.forEach(d), s.clear(), a = !1, l && (l = !1, r.process(e));
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
return r;
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
h as createRenderStep
|
|
41
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import "../../../../motion-utils/dist/es/errors.js";
|
|
2
|
-
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config.js";
|
|
3
|
-
import { frameData as t } from "./frame.js";
|
|
4
|
-
let o;
|
|
5
|
-
function a() {
|
|
6
|
-
o = void 0;
|
|
7
|
-
}
|
|
8
|
-
const r = {
|
|
9
|
-
now: () => (o === void 0 && r.set(t.isProcessing || e.useManualTiming ? t.timestamp : performance.now()), o),
|
|
10
|
-
set: (i) => {
|
|
11
|
-
o = i, queueMicrotask(a);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
r as time
|
|
16
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { isDragging as e } from "./is-active.js";
|
|
2
|
-
function a(l) {
|
|
3
|
-
return l === "x" || l === "y" ? e[l] ? null : (e[l] = !0, () => {
|
|
4
|
-
e[l] = !1;
|
|
5
|
-
}) : e.x || e.y ? null : (e.x = e.y = !0, () => {
|
|
6
|
-
e.x = e.y = !1;
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
a as setDragLock
|
|
11
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { isDragActive as m } from "./drag/state/is-active.js";
|
|
2
|
-
import { setupGesture as d } from "./utils/setup.js";
|
|
3
|
-
function s(r) {
|
|
4
|
-
return !(r.pointerType === "touch" || m());
|
|
5
|
-
}
|
|
6
|
-
function L(r, c, f = {}) {
|
|
7
|
-
const [p, n, u] = d(r, f), v = (e) => {
|
|
8
|
-
if (!s(e))
|
|
9
|
-
return;
|
|
10
|
-
const { target: t } = e, o = c(t, e);
|
|
11
|
-
if (typeof o != "function" || !t)
|
|
12
|
-
return;
|
|
13
|
-
const i = (a) => {
|
|
14
|
-
s(a) && (o(a), t.removeEventListener("pointerleave", i));
|
|
15
|
-
};
|
|
16
|
-
t.addEventListener("pointerleave", i, n);
|
|
17
|
-
};
|
|
18
|
-
return p.forEach((e) => {
|
|
19
|
-
e.addEventListener("pointerenter", v, n);
|
|
20
|
-
}), u;
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
L as hover
|
|
24
|
-
};
|