lawgic-dev-kit 0.2.4 → 0.3.4
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/_commonjsHelpers.js +8 -0
- package/dist/_virtual/client.js +5 -0
- package/dist/_virtual/client2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index5.js +7 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/_virtual/lodash.js +5 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/react-dom-client.development.js +4 -0
- package/dist/_virtual/react-dom-client.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.js +4 -0
- package/dist/components/atoms/ActionButton/ActionButton.js +51 -0
- package/dist/components/atoms/AsyncToast/index.js +33 -0
- package/dist/components/atoms/Avatar/Avatar.js +100 -0
- package/dist/components/atoms/BoxContainer/BoxContainer.js +18 -0
- package/dist/components/atoms/Button/Button.js +25 -0
- package/dist/components/atoms/Button/Button.styles.js +43 -0
- package/dist/components/atoms/CenterModal/CenterModal.js +79 -0
- package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +256 -0
- package/dist/components/atoms/Divider/Divider.js +5 -0
- package/dist/components/atoms/FullLogo/FullLogo.js +21 -0
- package/dist/components/atoms/IconButton/IconButton.js +35 -0
- package/dist/components/atoms/IconButton/IconButton.styles.js +34 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.js +115 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +8 -0
- package/dist/components/atoms/InfoCard/InfoCard.js +17 -0
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.js +20 -0
- package/dist/components/atoms/PasswordInput/PasswordInput.js +91 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.js +23 -0
- package/dist/components/atoms/SearchBar/index.js +44 -0
- package/dist/components/atoms/SectionButton/SectionButton.js +10 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.js +60 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.styles.js +11 -0
- package/dist/components/atoms/SectionButton/mobile/MobileSectionButton.styles.js +19 -0
- package/dist/components/atoms/SectionButton/mobile/SectionButton.js +59 -0
- package/dist/components/atoms/SelectDropdown/SelectDropdown.js +178 -0
- package/dist/components/atoms/Tab/Tab.js +23 -0
- package/dist/components/atoms/Tab/Tab.styles.js +15 -0
- package/dist/components/atoms/TextButton/TextButton.js +23 -0
- package/dist/components/atoms/TextButton/TextButton.styles.js +13 -0
- package/dist/components/atoms/TextInput/TextInput.js +81 -0
- package/dist/components/atoms/Toast/Toast.js +113 -0
- package/dist/components/atoms/UncontrolledSelector/UncontrolledSelector.js +58 -0
- package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +80 -0
- package/dist/components/atoms/UploadContainer/UploadContainer.js +115 -0
- package/dist/components/molecules/AlertModal/AlertModal.js +112 -0
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +221 -0
- package/dist/components/molecules/CalendarSelector/PeriodToggle.js +51 -0
- package/dist/components/molecules/CalendarSelector/TimeDisplay.js +16 -0
- package/dist/components/molecules/DateInput/DateInput.js +73 -0
- package/dist/components/molecules/DialogModal/DialogModal.js +125 -0
- package/dist/components/molecules/Dropdown/Dropdown.js +77 -0
- package/dist/components/molecules/FileUpload/FileUpload.js +121 -0
- package/dist/components/molecules/FileUpload/FileUpload.types.js +8 -0
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +82 -0
- package/dist/components/molecules/SearchModal/SearchModal.js +64 -0
- package/dist/components/molecules/Stepper/Stepper.js +225 -0
- package/dist/components/molecules/Tabs/Tabs.js +36 -0
- package/dist/components/organisms/index.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +106 -0
- package/dist/lawgic-dev-kit.css +1 -0
- package/dist/lawgic-dev-kit.umd.js +136 -136
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +428 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +393 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +586 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +55 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +199 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +2661 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +23 -0
- package/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +73 -0
- package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +13 -0
- package/dist/node_modules/@fortawesome/pro-solid-svg-icons/index.js +28 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +266 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/constants.js +6 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/constructNow.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfMonth.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js +13 -0
- package/dist/node_modules/date-fns/isToday.js +13 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
- package/dist/node_modules/date-fns/locale/es.js +21 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +205 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +83 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +92 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +68 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +608 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +229 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/lodash/lodash.js +3677 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +204 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/BaseAnimation.js +82 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/index.js +91 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-target.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/press.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +74 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +607 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/shared/stack.js +58 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/VisualElement.js +228 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-proxy.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/SVGVisualElement.js +47 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/config-motion.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/KeyframesResolver.js +76 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/motion-values.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/setters.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/fill.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/linear.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/batcher.js +26 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/memo.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/value/index.js +201 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +202 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-expr/index.js +82 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
- package/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.development.js +15314 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.production.js +9408 -0
- package/dist/node_modules/react-dom/client.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +203 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +236 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.js +233 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/tiny-case/index.js +22 -0
- package/dist/node_modules/toposort/index.js +66 -0
- package/dist/node_modules/yup/index.esm.js +1359 -0
- package/dist/providers/ThemeProvider.js +19 -0
- package/dist/themes/default.js +9 -0
- package/dist/utils/dates.js +14 -0
- package/dist/utils/files.js +29 -0
- package/dist/utils/images.js +4 -0
- package/dist/utils/modal.js +87 -0
- package/dist/utils/renderContentOptions.js +15 -0
- package/dist/utils/strings.js +16 -0
- package/dist/utils/toast.js +114 -0
- package/package.json +15 -14
- package/dist/lawgic-dev-kit.es.js +0 -50777
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useMemo as m } from "react";
|
|
2
|
+
import { copyRawValuesOnly as i } from "../html/use-props.js";
|
|
3
|
+
import { buildSVGAttrs as l } from "./utils/build-attrs.js";
|
|
4
|
+
import { createSvgRenderState as a } from "./utils/create-render-state.js";
|
|
5
|
+
import { isSVGTag as n } from "./utils/is-svg-tag.js";
|
|
6
|
+
function V(e, s, y, o) {
|
|
7
|
+
const r = m(() => {
|
|
8
|
+
const t = a();
|
|
9
|
+
return l(t, s, n(o), e.transformTemplate), {
|
|
10
|
+
...t.attrs,
|
|
11
|
+
style: { ...t.style }
|
|
12
|
+
};
|
|
13
|
+
}, [s]);
|
|
14
|
+
if (e.style) {
|
|
15
|
+
const t = {};
|
|
16
|
+
i(t, e.style, e), r.style = { ...t, ...r.style };
|
|
17
|
+
}
|
|
18
|
+
return r;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
V as useSVGProps
|
|
22
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { buildHTMLStyles as b } from "../../html/utils/build-styles.js";
|
|
2
|
+
import { buildSVGPath as p } from "./path.js";
|
|
3
|
+
import { calcSVGTransformOrigin as v } from "./transform-origin.js";
|
|
4
|
+
function S(f, {
|
|
5
|
+
attrX: o,
|
|
6
|
+
attrY: s,
|
|
7
|
+
attrScale: m,
|
|
8
|
+
originX: i,
|
|
9
|
+
originY: e,
|
|
10
|
+
pathLength: u,
|
|
11
|
+
pathSpacing: l = 1,
|
|
12
|
+
pathOffset: t = 0,
|
|
13
|
+
// This is object creation, which we try to avoid per-frame.
|
|
14
|
+
...y
|
|
15
|
+
}, x, c) {
|
|
16
|
+
if (b(f, y, c), x) {
|
|
17
|
+
f.style.viewBox && (f.attrs.viewBox = f.style.viewBox);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
f.attrs = f.style, f.style = {};
|
|
21
|
+
const { attrs: n, style: r, dimensions: d } = f;
|
|
22
|
+
n.transform && (d && (r.transform = n.transform), delete n.transform), d && (i !== void 0 || e !== void 0 || r.transform) && (r.transformOrigin = v(d, i !== void 0 ? i : 0.5, e !== void 0 ? e : 0.5)), o !== void 0 && (n.x = o), s !== void 0 && (n.y = s), m !== void 0 && (n.scale = m), u !== void 0 && p(n, u, l, t, !1);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
S as buildSVGAttrs
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { px as t } from "../../../value/types/numbers/units.js";
|
|
2
|
+
const c = {
|
|
3
|
+
offset: "stroke-dashoffset",
|
|
4
|
+
array: "stroke-dasharray"
|
|
5
|
+
}, y = {
|
|
6
|
+
offset: "strokeDashoffset",
|
|
7
|
+
array: "strokeDasharray"
|
|
8
|
+
};
|
|
9
|
+
function m(s, r, o = 1, e = 0, f = !0) {
|
|
10
|
+
s.pathLength = 1;
|
|
11
|
+
const a = f ? c : y;
|
|
12
|
+
s[a.offset] = t.transform(-e);
|
|
13
|
+
const n = t.transform(r), h = t.transform(o);
|
|
14
|
+
s[a.array] = `${n} ${h}`;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
m as buildSVGPath
|
|
18
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { camelToDash as i } from "../../dom/utils/camel-to-dash.js";
|
|
2
|
+
import { renderHTML as m } from "../../html/utils/render.js";
|
|
3
|
+
import { camelCaseAttributes as e } from "./camel-case-attrs.js";
|
|
4
|
+
function c(o, t, f, s) {
|
|
5
|
+
m(o, t, void 0, s);
|
|
6
|
+
for (const r in t.attrs)
|
|
7
|
+
o.setAttribute(e.has(r) ? r : i(r), t.attrs[r]);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
c as renderSVG
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isMotionValue as n } from "../../../value/utils/is-motion-value.js";
|
|
2
|
+
import { transformPropOrder as i } from "../../html/utils/keys-transform.js";
|
|
3
|
+
import { scrapeMotionValuesFromProps as m } from "../../html/utils/scrape-motion-values.js";
|
|
4
|
+
function l(r, t, s) {
|
|
5
|
+
const e = m(r, t, s);
|
|
6
|
+
for (const o in r)
|
|
7
|
+
if (n(r[o]) || n(t[o])) {
|
|
8
|
+
const a = i.indexOf(o) !== -1 ? "attr" + o.charAt(0).toUpperCase() + o.substring(1) : o;
|
|
9
|
+
e[a] = r[o];
|
|
10
|
+
}
|
|
11
|
+
return e;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
l as scrapeMotionValuesFromProps
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { px as o } from "../../../value/types/numbers/units.js";
|
|
2
|
+
function n(r, t, c) {
|
|
3
|
+
return typeof r == "string" ? r : o.transform(t + c * r);
|
|
4
|
+
}
|
|
5
|
+
function a(r, t, c) {
|
|
6
|
+
const f = n(t, r.x, r.width), p = n(c, r.y, r.height);
|
|
7
|
+
return `${f} ${p}`;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
a as calcSVGTransformOrigin
|
|
11
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
+
import { frame as u } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
3
|
+
import { removeNonTranslationalTransform as y } from "../dom/utils/unit-conversion.js";
|
|
4
|
+
const n = /* @__PURE__ */ new Set();
|
|
5
|
+
let d = !1, m = !1;
|
|
6
|
+
function h() {
|
|
7
|
+
if (m) {
|
|
8
|
+
const r = Array.from(n).filter((e) => e.needsMeasurement), s = new Set(r.map((e) => e.element)), i = /* @__PURE__ */ new Map();
|
|
9
|
+
s.forEach((e) => {
|
|
10
|
+
const t = y(e);
|
|
11
|
+
t.length && (i.set(e, t), e.render());
|
|
12
|
+
}), r.forEach((e) => e.measureInitialState()), s.forEach((e) => {
|
|
13
|
+
e.render();
|
|
14
|
+
const t = i.get(e);
|
|
15
|
+
t && t.forEach(([a, l]) => {
|
|
16
|
+
var o;
|
|
17
|
+
(o = e.getValue(a)) === null || o === void 0 || o.set(l);
|
|
18
|
+
});
|
|
19
|
+
}), r.forEach((e) => e.measureEndState()), r.forEach((e) => {
|
|
20
|
+
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
m = !1, d = !1, n.forEach((r) => r.complete()), n.clear();
|
|
24
|
+
}
|
|
25
|
+
function c() {
|
|
26
|
+
n.forEach((r) => {
|
|
27
|
+
r.readKeyframes(), r.needsMeasurement && (m = !0);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function S() {
|
|
31
|
+
c(), h();
|
|
32
|
+
}
|
|
33
|
+
class E {
|
|
34
|
+
constructor(s, i, e, t, a, l = !1) {
|
|
35
|
+
this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...s], this.onComplete = i, this.name = e, this.motionValue = t, this.element = a, this.isAsync = l;
|
|
36
|
+
}
|
|
37
|
+
scheduleResolve() {
|
|
38
|
+
this.isScheduled = !0, this.isAsync ? (n.add(this), d || (d = !0, u.read(c), u.resolveKeyframes(h))) : (this.readKeyframes(), this.complete());
|
|
39
|
+
}
|
|
40
|
+
readKeyframes() {
|
|
41
|
+
const { unresolvedKeyframes: s, name: i, 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 l = t == null ? void 0 : t.get(), o = s[s.length - 1];
|
|
46
|
+
if (l !== void 0)
|
|
47
|
+
s[0] = l;
|
|
48
|
+
else if (e && i) {
|
|
49
|
+
const f = e.readValue(i, o);
|
|
50
|
+
f != null && (s[0] = f);
|
|
51
|
+
}
|
|
52
|
+
s[0] === void 0 && (s[0] = o), t && l === 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), n.delete(this);
|
|
66
|
+
}
|
|
67
|
+
cancel() {
|
|
68
|
+
this.isComplete || (this.isScheduled = !1, n.delete(this));
|
|
69
|
+
}
|
|
70
|
+
resume() {
|
|
71
|
+
this.isComplete || this.scheduleResolve();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
E as KeyframeResolver,
|
|
76
|
+
S as flushKeyframeResolvers
|
|
77
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { animateVisualElement as j } from "../../animation/interfaces/visual-element.js";
|
|
2
|
+
import { isAnimationControls as q } from "../../animation/utils/is-animation-controls.js";
|
|
3
|
+
import { isKeyframesTarget as D } from "../../animation/utils/is-keyframes-target.js";
|
|
4
|
+
import { shallowCompare as k } from "../../utils/shallow-compare.js";
|
|
5
|
+
import { getVariantContext as G } from "./get-variant-context.js";
|
|
6
|
+
import { isVariantLabel as J } from "./is-variant-label.js";
|
|
7
|
+
import { resolveVariant as L } from "./resolve-dynamic-variants.js";
|
|
8
|
+
import { variantPriorityOrder as B } from "./variant-props.js";
|
|
9
|
+
const N = [...B].reverse(), Q = B.length;
|
|
10
|
+
function U(e) {
|
|
11
|
+
return (f) => Promise.all(f.map(({ animation: c, options: v }) => j(e, c, v)));
|
|
12
|
+
}
|
|
13
|
+
function oe(e) {
|
|
14
|
+
let f = U(e), c = _(), v = !0;
|
|
15
|
+
const F = (s) => (t, p) => {
|
|
16
|
+
var l;
|
|
17
|
+
const r = L(e, p, s === "exit" ? (l = e.presenceContext) === null || l === void 0 ? void 0 : l.custom : void 0);
|
|
18
|
+
if (r) {
|
|
19
|
+
const { transition: u, transitionEnd: y, ...g } = r;
|
|
20
|
+
t = { ...t, ...g, ...y };
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
function H(s) {
|
|
25
|
+
f = s(e);
|
|
26
|
+
}
|
|
27
|
+
function K(s) {
|
|
28
|
+
const { props: t } = e, p = G(e.parent) || {}, l = [], r = /* @__PURE__ */ new Set();
|
|
29
|
+
let u = {}, y = 1 / 0;
|
|
30
|
+
for (let d = 0; d < Q; d++) {
|
|
31
|
+
const i = N[d], n = c[i], o = t[i] !== void 0 ? t[i] : p[i], w = J(o), P = i === s ? n.isActive : null;
|
|
32
|
+
P === !1 && (y = d);
|
|
33
|
+
let V = o === p[i] && o !== t[i] && w;
|
|
34
|
+
if (V && v && e.manuallyAnimateOnMount && (V = !1), n.protectedKeys = { ...u }, // If it isn't active and hasn't *just* been set as inactive
|
|
35
|
+
!n.isActive && P === null || // If we didn't and don't have any defined prop for this animation type
|
|
36
|
+
!o && !n.prevProp || // Or if the prop doesn't define an animation
|
|
37
|
+
q(o) || typeof o == "boolean")
|
|
38
|
+
continue;
|
|
39
|
+
const b = W(n.prevProp, o);
|
|
40
|
+
let C = b || // If we're making this variant active, we want to always make it active
|
|
41
|
+
i === s && n.isActive && !V && w || // If we removed a higher-priority variant (i is in reverse order)
|
|
42
|
+
d > y && w, I = !1;
|
|
43
|
+
const R = Array.isArray(o) ? o : [o];
|
|
44
|
+
let h = R.reduce(F(i), {});
|
|
45
|
+
P === !1 && (h = {});
|
|
46
|
+
const { prevResolvedValues: x = {} } = n, z = {
|
|
47
|
+
...x,
|
|
48
|
+
...h
|
|
49
|
+
}, O = (a) => {
|
|
50
|
+
C = !0, r.has(a) && (I = !0, r.delete(a)), n.needsAnimating[a] = !0;
|
|
51
|
+
const m = e.getValue(a);
|
|
52
|
+
m && (m.liveStyle = !1);
|
|
53
|
+
};
|
|
54
|
+
for (const a in z) {
|
|
55
|
+
const m = h[a], S = x[a];
|
|
56
|
+
if (u.hasOwnProperty(a))
|
|
57
|
+
continue;
|
|
58
|
+
let T = !1;
|
|
59
|
+
D(m) && D(S) ? T = !k(m, S) : T = m !== S, T ? m != null ? O(a) : r.add(a) : m !== void 0 && r.has(a) ? O(a) : n.protectedKeys[a] = !0;
|
|
60
|
+
}
|
|
61
|
+
n.prevProp = o, n.prevResolvedValues = h, n.isActive && (u = { ...u, ...h }), v && e.blockInitialAnimation && (C = !1), C && (!(V && b) || I) && l.push(...R.map((a) => ({
|
|
62
|
+
animation: a,
|
|
63
|
+
options: { type: i }
|
|
64
|
+
})));
|
|
65
|
+
}
|
|
66
|
+
if (r.size) {
|
|
67
|
+
const d = {};
|
|
68
|
+
if (typeof t.initial != "boolean") {
|
|
69
|
+
const i = L(e, Array.isArray(t.initial) ? t.initial[0] : t.initial);
|
|
70
|
+
i && i.transition && (d.transition = i.transition);
|
|
71
|
+
}
|
|
72
|
+
r.forEach((i) => {
|
|
73
|
+
const n = e.getBaseTarget(i), o = e.getValue(i);
|
|
74
|
+
o && (o.liveStyle = !0), d[i] = n ?? null;
|
|
75
|
+
}), l.push({ animation: d });
|
|
76
|
+
}
|
|
77
|
+
let g = !!l.length;
|
|
78
|
+
return v && (t.initial === !1 || t.initial === t.animate) && !e.manuallyAnimateOnMount && (g = !1), v = !1, g ? f(l) : Promise.resolve();
|
|
79
|
+
}
|
|
80
|
+
function M(s, t) {
|
|
81
|
+
var p;
|
|
82
|
+
if (c[s].isActive === t)
|
|
83
|
+
return Promise.resolve();
|
|
84
|
+
(p = e.variantChildren) === null || p === void 0 || p.forEach((r) => {
|
|
85
|
+
var u;
|
|
86
|
+
return (u = r.animationState) === null || u === void 0 ? void 0 : u.setActive(s, t);
|
|
87
|
+
}), c[s].isActive = t;
|
|
88
|
+
const l = K(s);
|
|
89
|
+
for (const r in c)
|
|
90
|
+
c[r].protectedKeys = {};
|
|
91
|
+
return l;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
animateChanges: K,
|
|
95
|
+
setActive: M,
|
|
96
|
+
setAnimateFunction: H,
|
|
97
|
+
getState: () => c,
|
|
98
|
+
reset: () => {
|
|
99
|
+
c = _(), v = !0;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function W(e, f) {
|
|
104
|
+
return typeof f == "string" ? f !== e : Array.isArray(f) ? !k(f, e) : !1;
|
|
105
|
+
}
|
|
106
|
+
function A(e = !1) {
|
|
107
|
+
return {
|
|
108
|
+
isActive: e,
|
|
109
|
+
protectedKeys: {},
|
|
110
|
+
needsAnimating: {},
|
|
111
|
+
prevResolvedValues: {}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function _() {
|
|
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
|
+
W as checkVariantsDidChange,
|
|
127
|
+
oe as createAnimationState
|
|
128
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
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 e } from "./compare-by-depth.js";
|
|
4
|
+
class m {
|
|
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(e), this.isDirty = !1, this.children.forEach(i);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
m as FlatTree
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { isVariantLabel as a } from "./is-variant-label.js";
|
|
2
|
+
import { variantProps as p } from "./variant-props.js";
|
|
3
|
+
const f = p.length;
|
|
4
|
+
function c(n) {
|
|
5
|
+
if (!n)
|
|
6
|
+
return;
|
|
7
|
+
if (!n.isControllingVariants) {
|
|
8
|
+
const r = n.parent ? c(n.parent) || {} : {};
|
|
9
|
+
return n.props.initial !== void 0 && (r.initial = n.props.initial), r;
|
|
10
|
+
}
|
|
11
|
+
const o = {};
|
|
12
|
+
for (let r = 0; r < f; r++) {
|
|
13
|
+
const i = p[r], t = n.props[i];
|
|
14
|
+
(a(t) || t === !1) && (o[i] = t);
|
|
15
|
+
}
|
|
16
|
+
return o;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
c as getVariantContext
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { isAnimationControls as o } from "../../animation/utils/is-animation-controls.js";
|
|
2
|
+
import { isVariantLabel as r } from "./is-variant-label.js";
|
|
3
|
+
import { variantProps as t } from "./variant-props.js";
|
|
4
|
+
function a(i) {
|
|
5
|
+
return o(i.animate) || t.some((n) => r(i[n]));
|
|
6
|
+
}
|
|
7
|
+
function f(i) {
|
|
8
|
+
return !!(a(i) || i.variants);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
a as isControllingVariants,
|
|
12
|
+
f as isVariantNode
|
|
13
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
+
import { warnOnce as f } from "../../../../../motion-utils/dist/es/warn-once.js";
|
|
3
|
+
import { motionValue as n } from "../../../../../motion-dom/dist/es/value/index.js";
|
|
4
|
+
import { isMotionValue as u } from "../../value/utils/is-motion-value.js";
|
|
5
|
+
function c(i, a, s) {
|
|
6
|
+
for (const o in a) {
|
|
7
|
+
const e = a[o], r = s[o];
|
|
8
|
+
if (u(e))
|
|
9
|
+
i.addValue(o, e), process.env.NODE_ENV === "development" && f(e.version === "12.6.2", `Attempting to mix Motion versions ${e.version} with 12.6.2 may not work as expected.`);
|
|
10
|
+
else if (u(r))
|
|
11
|
+
i.addValue(o, n(e, { owner: i }));
|
|
12
|
+
else if (r !== e)
|
|
13
|
+
if (i.hasValue(o)) {
|
|
14
|
+
const t = i.getValue(o);
|
|
15
|
+
t.liveStyle === !0 ? t.jump(e) : t.hasAnimated || t.set(e);
|
|
16
|
+
} else {
|
|
17
|
+
const t = i.getStaticValue(o);
|
|
18
|
+
i.addValue(o, n(t !== void 0 ? t : e, { owner: i }));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
for (const o in s)
|
|
22
|
+
a[o] === void 0 && i.removeValue(o);
|
|
23
|
+
return a;
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
c as updateMotionValuesFromProps
|
|
27
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function o(r) {
|
|
2
|
+
const t = [{}, {}];
|
|
3
|
+
return r == null || r.values.forEach((c, u) => {
|
|
4
|
+
t[0][u] = c.get(), t[1][u] = c.getVelocity();
|
|
5
|
+
}), t;
|
|
6
|
+
}
|
|
7
|
+
function y(r, t, c, u) {
|
|
8
|
+
if (typeof t == "function") {
|
|
9
|
+
const [a, e] = o(u);
|
|
10
|
+
t = t(c !== void 0 ? c : r.custom, a, e);
|
|
11
|
+
}
|
|
12
|
+
if (typeof t == "string" && (t = r.variants && r.variants[t]), typeof t == "function") {
|
|
13
|
+
const [a, e] = o(u);
|
|
14
|
+
t = t(c !== void 0 ? c : r.custom, a, e);
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
y as resolveVariantFromProps
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../../../../../motion-utils/dist/es/errors.js";
|
|
2
|
+
import { motionValue as s } from "../../../../../motion-dom/dist/es/value/index.js";
|
|
3
|
+
import { resolveFinalValueInKeyframes as f } from "../../utils/resolve-value.js";
|
|
4
|
+
import { resolveVariant as V } from "./resolve-dynamic-variants.js";
|
|
5
|
+
function l(o, t, r) {
|
|
6
|
+
o.hasValue(t) ? o.getValue(t).set(r) : o.addValue(t, s(r));
|
|
7
|
+
}
|
|
8
|
+
function g(o, t) {
|
|
9
|
+
const r = V(o, t);
|
|
10
|
+
let { transitionEnd: a = {}, transition: m = {}, ...e } = r || {};
|
|
11
|
+
e = { ...e, ...a };
|
|
12
|
+
for (const n in e) {
|
|
13
|
+
const i = f(e[n]);
|
|
14
|
+
l(o, n, i);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
g as setTarget
|
|
19
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../../../../motion-utils/dist/es/errors.js";
|
|
2
|
+
import { frame as m, cancelFrame as o } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
3
|
+
import { time as p } from "../../../../motion-dom/dist/es/frameloop/sync-time.js";
|
|
4
|
+
function d(a, e) {
|
|
5
|
+
const c = p.now(), r = ({ timestamp: n }) => {
|
|
6
|
+
const t = n - c;
|
|
7
|
+
t >= e && (o(r), a(t - e));
|
|
8
|
+
};
|
|
9
|
+
return m.read(r, !0), () => o(r);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
d as delay
|
|
13
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function c(e, f, r) {
|
|
2
|
+
return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (f - e) * 6 * r : r < 1 / 2 ? f : r < 2 / 3 ? e + (f - e) * (2 / 3 - r) * 6 : e;
|
|
3
|
+
}
|
|
4
|
+
function R({ hue: e, saturation: f, lightness: r, alpha: M }) {
|
|
5
|
+
e /= 360, f /= 100, r /= 100;
|
|
6
|
+
let o = 0, u = 0, d = 0;
|
|
7
|
+
if (!f)
|
|
8
|
+
o = u = d = r;
|
|
9
|
+
else {
|
|
10
|
+
const n = r < 0.5 ? r * (1 + f) : r + f - r * f, b = 2 * r - n;
|
|
11
|
+
o = c(b, n, e + 1 / 3), u = c(b, n, e), d = c(b, n, e - 1 / 3);
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
red: Math.round(o * 255),
|
|
15
|
+
green: Math.round(u * 255),
|
|
16
|
+
blue: Math.round(d * 255),
|
|
17
|
+
alpha: M
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
R as hslaToRgba
|
|
22
|
+
};
|