@vkzstudio/muza-ui 1.0.47 → 1.1.0
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/README.md +173 -171
- package/dist/Muza_BP_logo.svg +26 -26
- package/dist/components/Accordion/Accordion.d.ts +112 -18
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +208 -110
- package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +3 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +28 -24
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.js +10 -11
- package/dist/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
- package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.d.ts +30 -3
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.js +112 -92
- package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +6 -2
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +10 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
- package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
- package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
- package/dist/components/DatePickerButton/index.d.ts +2 -0
- package/dist/components/DatePickerButton/index.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.d.ts +5 -0
- package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.js +216 -13
- package/dist/components/Icons/CustomLogos.d.ts +18 -2
- package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
- package/dist/components/Icons/CustomLogos.js +103 -97
- package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
- package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
- package/dist/components/Input/Input.js +22 -32
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +2 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.js +70 -54
- package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/LightboxOverrides.css +5 -5
- package/dist/components/LoginScreen/LoginScreen.js +8 -8
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
- package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +8 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +7 -6
- package/dist/components/Popover/Popover.stories.d.ts +1 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/components/Reorderable/Reorderable.js +74 -78
- package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/Select/Select.stories.d.ts +1 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
- package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +37 -42
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
- package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.js +17 -14
- package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
- package/dist/components/Toast/Toast.stories.d.ts +1 -0
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +10 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +82 -67
- package/dist/components/Typography/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
- package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
- package/dist/components/TypographyLink/TypographyLink.js +103 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
- package/dist/components/TypographyLink/index.d.ts +2 -0
- package/dist/components/TypographyLink/index.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
- package/dist/components/UniversalFooter/index.d.ts +2 -0
- package/dist/components/UniversalFooter/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fonts/Objectivity/OFL.txt +92 -92
- package/dist/globals.css +12 -12
- package/dist/index.js +354 -322
- package/dist/muza-ui.css +1 -1
- package/dist/styles/3rd-parties.css +5 -5
- package/dist/styles/animations.css +21 -21
- package/dist/styles/breakpoints.css +4 -4
- package/dist/styles/primitives.css +163 -161
- package/dist/styles/token-colors.css +1445 -1437
- package/dist/styles/token-sizes.css +1553 -1513
- package/dist/styles/typography.css +113 -113
- package/dist/styles/utilities.css +66 -66
- package/dist/styles/white-label.css +26 -26
- package/dist/translations/TranslationContext.js +22 -24
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +9 -1
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +9 -1
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +9 -1
- package/dist/translations/types.d.ts +20 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/llms-full.md +584 -584
- package/llms.txt +37 -37
- package/package.json +20 -24
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/constants.js +0 -5
- package/dist/_virtual/constants2.js +0 -4
- package/dist/_virtual/index.js +0 -7
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -7
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
- package/dist/_virtual/react-dom-server.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-reconciler-constants.development.js +0 -4
- package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
- package/dist/_virtual/react-reconciler.development.js +0 -4
- package/dist/_virtual/scheduler.development.js +0 -4
- package/dist/_virtual/scheduler.production.min.js +0 -4
- package/dist/_virtual/server.browser.js +0 -5
- package/dist/_virtual/server.browser2.js +0 -4
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
- package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
- package/dist/node_modules/color/index.js +0 -262
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
- package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
- package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
- package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/color-string/index.js +0 -105
- package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/constants.js +0 -4
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/isSameWeek.js +0 -14
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
- package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
- package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
- package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
- package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
- package/dist/node_modules/date-fns/locale/cs.js +0 -21
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
- package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
- package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
- package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
- package/dist/node_modules/date-fns/locale/sk.js +0 -21
- package/dist/node_modules/date-fns/startOfWeek.js +0 -11
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
- package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
- package/dist/node_modules/imask/esm/controls/input.js +0 -222
- package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
- package/dist/node_modules/imask/esm/core/action-details.js +0 -51
- package/dist/node_modules/imask/esm/core/change-details.js +0 -36
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
- package/dist/node_modules/imask/esm/core/holder.js +0 -6
- package/dist/node_modules/imask/esm/core/utils.js +0 -67
- package/dist/node_modules/imask/esm/index.js +0 -50
- package/dist/node_modules/imask/esm/masked/base.js +0 -252
- package/dist/node_modules/imask/esm/masked/date.js +0 -117
- package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
- package/dist/node_modules/imask/esm/masked/enum.js +0 -69
- package/dist/node_modules/imask/esm/masked/factory.js +0 -46
- package/dist/node_modules/imask/esm/masked/function.js +0 -23
- package/dist/node_modules/imask/esm/masked/number.js +0 -212
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
- package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
- package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
- package/dist/node_modules/imask/esm/masked/range.js +0 -78
- package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
- package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
- package/dist/node_modules/its-fine/dist/index.js +0 -116
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/orderedmap/dist/index.js +0 -103
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
- package/dist/node_modules/react-dom/server.browser.js +0 -15
- package/dist/node_modules/react-imask/esm/hook.js +0 -75
- package/dist/node_modules/react-imask/esm/input.js +0 -23
- package/dist/node_modules/react-imask/esm/mixin.js +0 -131
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
- package/dist/node_modules/react-reconciler/constants.js +0 -10
- package/dist/node_modules/react-reconciler/index.js +0 -10
- package/dist/node_modules/react-use-measure/dist/index.js +0 -60
- package/dist/node_modules/rope-sequence/dist/index.js +0 -100
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
- package/dist/node_modules/scheduler/index.js +0 -10
- package/dist/node_modules/three/build/three.module.js +0 -20599
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
- package/dist/node_modules/w3c-keyname/index.js +0 -93
- package/dist/node_modules/zustand/esm/index.js +0 -61
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { generateLinearEasing as w } from "../../waapi/utils/linear.js";
|
|
2
|
-
import { calcGeneratorDuration as B, maxGeneratorDuration as E } from "../utils/calc-duration.js";
|
|
3
|
-
import { createGeneratorEasing as K } from "../utils/create-generator-easing.js";
|
|
4
|
-
import { calcGeneratorVelocity as O } from "../utils/velocity.js";
|
|
5
|
-
import { springDefaults as a } from "./defaults.js";
|
|
6
|
-
import { findSpring as V, calcAngularFreq as j } from "./find.js";
|
|
7
|
-
import { millisecondsToSeconds as T, secondsToMilliseconds as k } from "../../../../../../motion-utils/dist/es/time-conversion.js";
|
|
8
|
-
import { clamp as I } from "../../../../../../motion-utils/dist/es/clamp.js";
|
|
9
|
-
const L = ["duration", "bounce"], P = ["stiffness", "damping", "mass"];
|
|
10
|
-
function b(t, n) {
|
|
11
|
-
return n.some((s) => t[s] !== void 0);
|
|
12
|
-
}
|
|
13
|
-
function z(t) {
|
|
14
|
-
let n = {
|
|
15
|
-
velocity: a.velocity,
|
|
16
|
-
stiffness: a.stiffness,
|
|
17
|
-
damping: a.damping,
|
|
18
|
-
mass: a.mass,
|
|
19
|
-
isResolvedFromDuration: !1,
|
|
20
|
-
...t
|
|
21
|
-
};
|
|
22
|
-
if (!b(t, P) && b(t, L))
|
|
23
|
-
if (t.visualDuration) {
|
|
24
|
-
const s = t.visualDuration, u = 2 * Math.PI / (s * 1.2), m = u * u, h = 2 * I(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(m);
|
|
25
|
-
n = {
|
|
26
|
-
...n,
|
|
27
|
-
mass: a.mass,
|
|
28
|
-
stiffness: m,
|
|
29
|
-
damping: h
|
|
30
|
-
};
|
|
31
|
-
} else {
|
|
32
|
-
const s = V(t);
|
|
33
|
-
n = {
|
|
34
|
-
...n,
|
|
35
|
-
...s,
|
|
36
|
-
mass: a.mass
|
|
37
|
-
}, n.isResolvedFromDuration = !0;
|
|
38
|
-
}
|
|
39
|
-
return n;
|
|
40
|
-
}
|
|
41
|
-
function x(t = a.visualDuration, n = a.bounce) {
|
|
42
|
-
const s = typeof t != "object" ? {
|
|
43
|
-
visualDuration: t,
|
|
44
|
-
keyframes: [0, 1],
|
|
45
|
-
bounce: n
|
|
46
|
-
} : t;
|
|
47
|
-
let { restSpeed: u, restDelta: m } = s;
|
|
48
|
-
const h = s.keyframes[0], f = s.keyframes[s.keyframes.length - 1], d = { done: !1, value: h }, { stiffness: M, damping: G, mass: D, duration: S, velocity: R, isResolvedFromDuration: q } = z({
|
|
49
|
-
...s,
|
|
50
|
-
velocity: -T(s.velocity || 0)
|
|
51
|
-
}), p = R || 0, o = G / (2 * Math.sqrt(M * D)), c = f - h, i = T(Math.sqrt(M / D)), F = Math.abs(c) < 5;
|
|
52
|
-
u || (u = F ? a.restSpeed.granular : a.restSpeed.default), m || (m = F ? a.restDelta.granular : a.restDelta.default);
|
|
53
|
-
let g;
|
|
54
|
-
if (o < 1) {
|
|
55
|
-
const e = j(i, o);
|
|
56
|
-
g = (r) => {
|
|
57
|
-
const l = Math.exp(-o * i * r);
|
|
58
|
-
return f - l * ((p + o * i * c) / e * Math.sin(e * r) + c * Math.cos(e * r));
|
|
59
|
-
};
|
|
60
|
-
} else if (o === 1)
|
|
61
|
-
g = (e) => f - Math.exp(-i * e) * (c + (p + i * c) * e);
|
|
62
|
-
else {
|
|
63
|
-
const e = i * Math.sqrt(o * o - 1);
|
|
64
|
-
g = (r) => {
|
|
65
|
-
const l = Math.exp(-o * i * r), y = Math.min(e * r, 300);
|
|
66
|
-
return f - l * ((p + o * i * c) * Math.sinh(y) + e * c * Math.cosh(y)) / e;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
const v = {
|
|
70
|
-
calculatedDuration: q && S || null,
|
|
71
|
-
next: (e) => {
|
|
72
|
-
const r = g(e);
|
|
73
|
-
if (q)
|
|
74
|
-
d.done = e >= S;
|
|
75
|
-
else {
|
|
76
|
-
let l = e === 0 ? p : 0;
|
|
77
|
-
o < 1 && (l = e === 0 ? k(p) : O(g, e, r));
|
|
78
|
-
const y = Math.abs(l) <= u, A = Math.abs(f - r) <= m;
|
|
79
|
-
d.done = y && A;
|
|
80
|
-
}
|
|
81
|
-
return d.value = d.done ? f : r, d;
|
|
82
|
-
},
|
|
83
|
-
toString: () => {
|
|
84
|
-
const e = Math.min(B(v), E), r = w((l) => v.next(e * l).value, e, 30);
|
|
85
|
-
return e + "ms " + r;
|
|
86
|
-
},
|
|
87
|
-
toTransition: () => {
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
return v;
|
|
91
|
-
}
|
|
92
|
-
x.applyToOptions = (t) => {
|
|
93
|
-
const n = K(t, 100, x);
|
|
94
|
-
return t.ease = n.ease, t.duration = k(n.duration), t.type = "keyframes", t;
|
|
95
|
-
};
|
|
96
|
-
export {
|
|
97
|
-
x as spring
|
|
98
|
-
};
|
package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { calcGeneratorDuration as i, maxGeneratorDuration as m } from "./calc-duration.js";
|
|
2
|
-
import { millisecondsToSeconds as s } from "../../../../../../motion-utils/dist/es/time-conversion.js";
|
|
3
|
-
function f(n, r = 100, o) {
|
|
4
|
-
const e = o({ ...n, keyframes: [0, r] }), t = Math.min(i(e), m);
|
|
5
|
-
return {
|
|
6
|
-
type: "keyframes",
|
|
7
|
-
ease: (a) => e.next(t * a).value / r,
|
|
8
|
-
duration: s(t)
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
f as createGeneratorEasing
|
|
13
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AsyncMotionValueAnimation as A } from "../AsyncMotionValueAnimation.js";
|
|
2
|
-
import { JSAnimation as k } from "../JSAnimation.js";
|
|
3
|
-
import { getValueTransition as D } from "../utils/get-value-transition.js";
|
|
4
|
-
import { makeAnimationInstant as p } from "../utils/make-animation-instant.js";
|
|
5
|
-
import { getDefaultTransition as g } from "../utils/default-transitions.js";
|
|
6
|
-
import { getFinalKeyframe as C } from "../utils/get-final-keyframe.js";
|
|
7
|
-
import { isTransitionDefined as T } from "../utils/is-transition-defined.js";
|
|
8
|
-
import { frame as V } from "../../frameloop/frame.js";
|
|
9
|
-
import { secondsToMilliseconds as f } from "../../../../../motion-utils/dist/es/time-conversion.js";
|
|
10
|
-
import { MotionGlobalConfig as d } from "../../../../../motion-utils/dist/es/global-config.js";
|
|
11
|
-
const x = (i, n, a, r = {}, y, s) => (u) => {
|
|
12
|
-
const o = D(r, i) || {}, c = o.delay || r.delay || 0;
|
|
13
|
-
let { elapsed: m = 0 } = r;
|
|
14
|
-
m = m - f(c);
|
|
15
|
-
const e = {
|
|
16
|
-
keyframes: Array.isArray(a) ? a : [null, a],
|
|
17
|
-
ease: "easeOut",
|
|
18
|
-
velocity: n.getVelocity(),
|
|
19
|
-
...o,
|
|
20
|
-
delay: -m,
|
|
21
|
-
onUpdate: (t) => {
|
|
22
|
-
n.set(t), o.onUpdate && o.onUpdate(t);
|
|
23
|
-
},
|
|
24
|
-
onComplete: () => {
|
|
25
|
-
u(), o.onComplete && o.onComplete();
|
|
26
|
-
},
|
|
27
|
-
name: i,
|
|
28
|
-
motionValue: n,
|
|
29
|
-
element: s ? void 0 : y
|
|
30
|
-
};
|
|
31
|
-
T(o) || Object.assign(e, g(i, e)), e.duration && (e.duration = f(e.duration)), e.repeatDelay && (e.repeatDelay = f(e.repeatDelay)), e.from !== void 0 && (e.keyframes[0] = e.from);
|
|
32
|
-
let l = !1;
|
|
33
|
-
if ((e.type === !1 || e.duration === 0 && !e.repeatDelay) && (p(e), e.delay === 0 && (l = !0)), (d.instantAnimations || d.skipAnimations) && (l = !0, p(e), e.delay = 0), e.allowFlatten = !o.type && !o.ease, l && !s && n.get() !== void 0) {
|
|
34
|
-
const t = C(e.keyframes, o);
|
|
35
|
-
if (t !== void 0) {
|
|
36
|
-
V.update(() => {
|
|
37
|
-
e.onUpdate(t), e.onComplete();
|
|
38
|
-
});
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return o.isSync ? new k(e) : new A(e);
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
x as animateMotionValue
|
|
46
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { getValueTransition as w } from "../utils/get-value-transition.js";
|
|
2
|
-
import { positionalKeys as y } from "../../render/utils/keys-position.js";
|
|
3
|
-
import { setTarget as M } from "../../render/utils/setters.js";
|
|
4
|
-
import { addValueToWillChange as S } from "../../value/will-change/add-will-change.js";
|
|
5
|
-
import { getOptimisedAppearId as H } from "../optimized-appear/get-appear-id.js";
|
|
6
|
-
import { animateMotionValue as B } from "./motion-value.js";
|
|
7
|
-
import { frame as V } from "../../frameloop/frame.js";
|
|
8
|
-
function I({ protectedKeys: t, needsAnimating: a }, n) {
|
|
9
|
-
const r = t.hasOwnProperty(n) && a[n] !== !0;
|
|
10
|
-
return a[n] = !1, r;
|
|
11
|
-
}
|
|
12
|
-
function R(t, a, { delay: n = 0, transitionOverride: r, type: c } = {}) {
|
|
13
|
-
let { transition: u = t.getDefaultTransition(), transitionEnd: f, ...d } = a;
|
|
14
|
-
r && (u = r);
|
|
15
|
-
const s = [], p = c && t.animationState && t.animationState.getState()[c];
|
|
16
|
-
for (const o in d) {
|
|
17
|
-
const i = t.getValue(o, t.latestValues[o] ?? null), e = d[o];
|
|
18
|
-
if (e === void 0 || p && I(p, o))
|
|
19
|
-
continue;
|
|
20
|
-
const m = {
|
|
21
|
-
delay: n,
|
|
22
|
-
...w(u || {}, o)
|
|
23
|
-
}, l = i.get();
|
|
24
|
-
if (l !== void 0 && !i.isAnimating && !Array.isArray(e) && e === l && !m.velocity)
|
|
25
|
-
continue;
|
|
26
|
-
let g = !1;
|
|
27
|
-
if (window.MotionHandoffAnimation) {
|
|
28
|
-
const h = H(t);
|
|
29
|
-
if (h) {
|
|
30
|
-
const A = window.MotionHandoffAnimation(h, o, V);
|
|
31
|
-
A !== null && (m.startTime = A, g = !0);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
S(t, o), i.start(B(o, i, e, t.shouldReduceMotion && y.has(o) ? { type: !1 } : m, t, g));
|
|
35
|
-
const T = i.animation;
|
|
36
|
-
T && s.push(T);
|
|
37
|
-
}
|
|
38
|
-
return f && Promise.all(s).then(() => {
|
|
39
|
-
V.update(() => {
|
|
40
|
-
f && M(t, f);
|
|
41
|
-
});
|
|
42
|
-
}), s;
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
R as animateTarget
|
|
46
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { resolveVariant as l } from "../../render/utils/resolve-dynamic-variants.js";
|
|
2
|
-
import { calcChildStagger as g } from "../utils/calc-child-stagger.js";
|
|
3
|
-
import { animateTarget as C } from "./visual-element-target.js";
|
|
4
|
-
function y(r, i, t = {}) {
|
|
5
|
-
var n;
|
|
6
|
-
const e = l(r, i, t.type === "exit" ? (n = r.presenceContext) == null ? void 0 : n.custom : void 0);
|
|
7
|
-
let { transition: o = r.getDefaultTransition() || {} } = e || {};
|
|
8
|
-
t.transitionOverride && (o = t.transitionOverride);
|
|
9
|
-
const a = e ? () => Promise.all(C(r, e, t)) : () => Promise.resolve(), s = r.variantChildren && r.variantChildren.size ? (f = 0) => {
|
|
10
|
-
const { delayChildren: d = 0, staggerChildren: m, staggerDirection: h } = o;
|
|
11
|
-
return P(r, i, f, d, m, h, t);
|
|
12
|
-
} : () => Promise.resolve(), { when: c } = o;
|
|
13
|
-
if (c) {
|
|
14
|
-
const [f, d] = c === "beforeChildren" ? [a, s] : [s, a];
|
|
15
|
-
return f().then(() => d());
|
|
16
|
-
} else
|
|
17
|
-
return Promise.all([a(), s(t.delay)]);
|
|
18
|
-
}
|
|
19
|
-
function P(r, i, t = 0, e = 0, o = 0, a = 1, s) {
|
|
20
|
-
const c = [];
|
|
21
|
-
for (const n of r.variantChildren)
|
|
22
|
-
n.notify("AnimationStart", i), c.push(y(n, i, {
|
|
23
|
-
...s,
|
|
24
|
-
delay: t + (typeof e == "function" ? 0 : e) + g(r.variantChildren, n, e, o, a)
|
|
25
|
-
}).then(() => n.notify("AnimationComplete", i)));
|
|
26
|
-
return Promise.all(c);
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
y as animateVariant
|
|
30
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { resolveVariant as c } from "../../render/utils/resolve-dynamic-variants.js";
|
|
2
|
-
import { animateTarget as p } from "./visual-element-target.js";
|
|
3
|
-
import { animateVariant as e } from "./visual-element-variant.js";
|
|
4
|
-
function n(a, r, t = {}) {
|
|
5
|
-
a.notify("AnimationStart", r);
|
|
6
|
-
let m;
|
|
7
|
-
if (Array.isArray(r)) {
|
|
8
|
-
const o = r.map((y) => e(a, y, t));
|
|
9
|
-
m = Promise.all(o);
|
|
10
|
-
} else if (typeof r == "string")
|
|
11
|
-
m = e(a, r, t);
|
|
12
|
-
else {
|
|
13
|
-
const o = typeof r == "function" ? c(a, r, t.custom) : r;
|
|
14
|
-
m = Promise.all(p(a, o, t));
|
|
15
|
-
}
|
|
16
|
-
return m.then(() => {
|
|
17
|
-
a.notify("AnimationComplete", r);
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
n as animateVisualElement
|
|
22
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { positionalKeys as c } from "../../render/utils/keys-position.js";
|
|
2
|
-
import { findDimensionValueType as h } from "../../value/types/dimensions.js";
|
|
3
|
-
import { getVariableValue as g } from "../utils/css-variables-conversion.js";
|
|
4
|
-
import { isCSSVariableToken as K, containsCSSVariable as p } from "../utils/is-css-variable.js";
|
|
5
|
-
import { KeyframeResolver as v } from "./KeyframesResolver.js";
|
|
6
|
-
import { isNone as V } from "./utils/is-none.js";
|
|
7
|
-
import { makeNoneKeyframesAnimatable as S } from "./utils/make-none-animatable.js";
|
|
8
|
-
import { positionalValues as m, isNumOrPxType as y } from "./utils/unit-conversion.js";
|
|
9
|
-
class M extends v {
|
|
10
|
-
constructor(e, n, r, t, o) {
|
|
11
|
-
super(e, n, r, t, o, !0);
|
|
12
|
-
}
|
|
13
|
-
readKeyframes() {
|
|
14
|
-
const { unresolvedKeyframes: e, element: n, name: r } = this;
|
|
15
|
-
if (!n || !n.current)
|
|
16
|
-
return;
|
|
17
|
-
super.readKeyframes();
|
|
18
|
-
for (let s = 0; s < e.length; s++) {
|
|
19
|
-
let i = e[s];
|
|
20
|
-
if (typeof i == "string" && (i = i.trim(), K(i))) {
|
|
21
|
-
const d = g(i, n.current);
|
|
22
|
-
d !== void 0 && (e[s] = d), s === e.length - 1 && (this.finalKeyframe = i);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
if (this.resolveNoneKeyframes(), !c.has(r) || e.length !== 2)
|
|
26
|
-
return;
|
|
27
|
-
const [t, o] = e, a = h(t), f = h(o), l = p(t), u = p(o);
|
|
28
|
-
if (l !== u && m[r]) {
|
|
29
|
-
this.needsMeasurement = !0;
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (a !== f)
|
|
33
|
-
if (y(a) && y(f))
|
|
34
|
-
for (let s = 0; s < e.length; s++) {
|
|
35
|
-
const i = e[s];
|
|
36
|
-
typeof i == "string" && (e[s] = parseFloat(i));
|
|
37
|
-
}
|
|
38
|
-
else m[r] && (this.needsMeasurement = !0);
|
|
39
|
-
}
|
|
40
|
-
resolveNoneKeyframes() {
|
|
41
|
-
const { unresolvedKeyframes: e, name: n } = this, r = [];
|
|
42
|
-
for (let t = 0; t < e.length; t++)
|
|
43
|
-
(e[t] === null || V(e[t])) && r.push(t);
|
|
44
|
-
r.length && S(e, r, n);
|
|
45
|
-
}
|
|
46
|
-
measureInitialState() {
|
|
47
|
-
const { element: e, unresolvedKeyframes: n, name: r } = this;
|
|
48
|
-
if (!e || !e.current)
|
|
49
|
-
return;
|
|
50
|
-
r === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = m[r](e.measureViewportBox(), window.getComputedStyle(e.current)), n[0] = this.measuredOrigin;
|
|
51
|
-
const t = n[n.length - 1];
|
|
52
|
-
t !== void 0 && e.getValue(r, t).jump(t, !1);
|
|
53
|
-
}
|
|
54
|
-
measureEndState() {
|
|
55
|
-
var f;
|
|
56
|
-
const { element: e, name: n, unresolvedKeyframes: r } = this;
|
|
57
|
-
if (!e || !e.current)
|
|
58
|
-
return;
|
|
59
|
-
const t = e.getValue(n);
|
|
60
|
-
t && t.jump(this.measuredOrigin, !1);
|
|
61
|
-
const o = r.length - 1, a = r[o];
|
|
62
|
-
r[o] = m[n](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), (f = this.removedTransforms) != null && f.length && this.removedTransforms.forEach(([l, u]) => {
|
|
63
|
-
e.getValue(l).set(u);
|
|
64
|
-
}), this.resolveNoneKeyframes();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
export {
|
|
68
|
-
M as DOMKeyframesResolver
|
|
69
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { fillWildcards as y } from "./utils/fill-wildcards.js";
|
|
2
|
-
import { removeNonTranslationalTransform as p } from "./utils/unit-conversion.js";
|
|
3
|
-
import { frame as c } from "../../frameloop/frame.js";
|
|
4
|
-
const l = /* @__PURE__ */ new Set();
|
|
5
|
-
let o = !1, d = !1, m = !1;
|
|
6
|
-
function u() {
|
|
7
|
-
if (d) {
|
|
8
|
-
const r = Array.from(l).filter((e) => e.needsMeasurement), s = new Set(r.map((e) => e.element)), a = /* @__PURE__ */ new Map();
|
|
9
|
-
s.forEach((e) => {
|
|
10
|
-
const t = p(e);
|
|
11
|
-
t.length && (a.set(e, t), e.render());
|
|
12
|
-
}), r.forEach((e) => e.measureInitialState()), s.forEach((e) => {
|
|
13
|
-
e.render();
|
|
14
|
-
const t = a.get(e);
|
|
15
|
-
t && t.forEach(([n, i]) => {
|
|
16
|
-
var f;
|
|
17
|
-
(f = e.getValue(n)) == null || f.set(i);
|
|
18
|
-
});
|
|
19
|
-
}), r.forEach((e) => e.measureEndState()), r.forEach((e) => {
|
|
20
|
-
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
d = !1, o = !1, l.forEach((r) => r.complete(m)), l.clear();
|
|
24
|
-
}
|
|
25
|
-
function h() {
|
|
26
|
-
l.forEach((r) => {
|
|
27
|
-
r.readKeyframes(), r.needsMeasurement && (d = !0);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function S() {
|
|
31
|
-
m = !0, h(), u(), m = !1;
|
|
32
|
-
}
|
|
33
|
-
class g {
|
|
34
|
-
constructor(s, a, e, t, n, i = !1) {
|
|
35
|
-
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...s], this.onComplete = a, this.name = e, this.motionValue = t, this.element = n, this.isAsync = i;
|
|
36
|
-
}
|
|
37
|
-
scheduleResolve() {
|
|
38
|
-
this.state = "scheduled", this.isAsync ? (l.add(this), o || (o = !0, c.read(h), c.resolveKeyframes(u))) : (this.readKeyframes(), this.complete());
|
|
39
|
-
}
|
|
40
|
-
readKeyframes() {
|
|
41
|
-
const { unresolvedKeyframes: s, name: a, element: e, motionValue: t } = this;
|
|
42
|
-
if (s[0] === null) {
|
|
43
|
-
const n = t == null ? void 0 : t.get(), i = s[s.length - 1];
|
|
44
|
-
if (n !== void 0)
|
|
45
|
-
s[0] = n;
|
|
46
|
-
else if (e && a) {
|
|
47
|
-
const f = e.readValue(a, i);
|
|
48
|
-
f != null && (s[0] = f);
|
|
49
|
-
}
|
|
50
|
-
s[0] === void 0 && (s[0] = i), t && n === void 0 && t.set(s[0]);
|
|
51
|
-
}
|
|
52
|
-
y(s);
|
|
53
|
-
}
|
|
54
|
-
setFinalKeyframe() {
|
|
55
|
-
}
|
|
56
|
-
measureInitialState() {
|
|
57
|
-
}
|
|
58
|
-
renderEndStyles() {
|
|
59
|
-
}
|
|
60
|
-
measureEndState() {
|
|
61
|
-
}
|
|
62
|
-
complete(s = !1) {
|
|
63
|
-
this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, s), l.delete(this);
|
|
64
|
-
}
|
|
65
|
-
cancel() {
|
|
66
|
-
this.state === "scheduled" && (l.delete(this), this.state = "pending");
|
|
67
|
-
}
|
|
68
|
-
resume() {
|
|
69
|
-
this.state === "pending" && this.scheduleResolve();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
g as KeyframeResolver,
|
|
74
|
-
S as flushKeyframeResolvers
|
|
75
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const i = (e) => e !== null;
|
|
2
|
-
function c(e, { repeat: n, repeatType: l = "loop" }, o, r = 1) {
|
|
3
|
-
const t = e.filter(i), s = r < 0 || n && l !== "loop" && n % 2 === 1 ? 0 : t.length - 1;
|
|
4
|
-
return !s || o === void 0 ? t[s] : o;
|
|
5
|
-
}
|
|
6
|
-
export {
|
|
7
|
-
c as getFinalKeyframe
|
|
8
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { mixNumber as e } from "../../../utils/mix/number.js";
|
|
2
|
-
import { progress as f } from "../../../../../../motion-utils/dist/es/progress.js";
|
|
3
|
-
function l(o, t) {
|
|
4
|
-
const s = o[o.length - 1];
|
|
5
|
-
for (let r = 1; r <= t; r++) {
|
|
6
|
-
const m = f(0, t, r);
|
|
7
|
-
o.push(e(s, 1, m));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
l as fillOffset
|
|
12
|
-
};
|
package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { analyseComplexValue as l } from "../../../value/types/complex/index.js";
|
|
2
|
-
import { getAnimatableNone as m } from "../../../value/types/utils/animatable-none.js";
|
|
3
|
-
const f = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
|
4
|
-
function g(e, i, o) {
|
|
5
|
-
let n = 0, a;
|
|
6
|
-
for (; n < e.length && !a; ) {
|
|
7
|
-
const t = e[n];
|
|
8
|
-
typeof t == "string" && !f.has(t) && l(t).values.length && (a = e[n]), n++;
|
|
9
|
-
}
|
|
10
|
-
if (a && o)
|
|
11
|
-
for (const t of i)
|
|
12
|
-
e[t] = m(o, a);
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
g as makeNoneKeyframesAnimatable
|
|
16
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { parseValueFromTransform as e } from "../../../render/dom/parse-transform.js";
|
|
2
|
-
import { transformPropOrder as n } from "../../../render/utils/keys-transform.js";
|
|
3
|
-
import { number as m } from "../../../value/types/numbers/index.js";
|
|
4
|
-
import { px as l } from "../../../value/types/numbers/units.js";
|
|
5
|
-
const c = (o) => o === m || o === l, i = /* @__PURE__ */ new Set(["x", "y", "z"]), p = n.filter((o) => !i.has(o));
|
|
6
|
-
function F(o) {
|
|
7
|
-
const r = [];
|
|
8
|
-
return p.forEach((a) => {
|
|
9
|
-
const s = o.getValue(a);
|
|
10
|
-
s !== void 0 && (r.push([a, s.get()]), s.set(a.startsWith("scale") ? 1 : 0));
|
|
11
|
-
}), r;
|
|
12
|
-
}
|
|
13
|
-
const t = {
|
|
14
|
-
// Dimensions
|
|
15
|
-
width: ({ x: o }, { paddingLeft: r = "0", paddingRight: a = "0" }) => o.max - o.min - parseFloat(r) - parseFloat(a),
|
|
16
|
-
height: ({ y: o }, { paddingTop: r = "0", paddingBottom: a = "0" }) => o.max - o.min - parseFloat(r) - parseFloat(a),
|
|
17
|
-
top: (o, { top: r }) => parseFloat(r),
|
|
18
|
-
left: (o, { left: r }) => parseFloat(r),
|
|
19
|
-
bottom: ({ y: o }, { top: r }) => parseFloat(r) + (o.max - o.min),
|
|
20
|
-
right: ({ x: o }, { left: r }) => parseFloat(r) + (o.max - o.min),
|
|
21
|
-
// Transform
|
|
22
|
-
x: (o, { transform: r }) => e(r, "x"),
|
|
23
|
-
y: (o, { transform: r }) => e(r, "y")
|
|
24
|
-
};
|
|
25
|
-
t.translateX = t.x;
|
|
26
|
-
t.translateY = t.y;
|
|
27
|
-
export {
|
|
28
|
-
c as isNumOrPxType,
|
|
29
|
-
t as positionalValues,
|
|
30
|
-
F as removeNonTranslationalTransform
|
|
31
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
class t {
|
|
2
|
-
constructor() {
|
|
3
|
-
this.updateFinished();
|
|
4
|
-
}
|
|
5
|
-
get finished() {
|
|
6
|
-
return this._finished;
|
|
7
|
-
}
|
|
8
|
-
updateFinished() {
|
|
9
|
-
this._finished = new Promise((i) => {
|
|
10
|
-
this.resolve = i;
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
notifyFinished() {
|
|
14
|
-
this.resolve();
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Allows the animation to be awaited.
|
|
18
|
-
*
|
|
19
|
-
* @deprecated Use `finished` instead.
|
|
20
|
-
*/
|
|
21
|
-
then(i, e) {
|
|
22
|
-
return this.finished.then(i, e);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
t as WithPromise
|
|
27
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { isGenerator as f } from "../generators/utils/is-generator.js";
|
|
2
|
-
import { isAnimatable as l } from "./is-animatable.js";
|
|
3
|
-
import { warning as g } from "../../../../../motion-utils/dist/es/errors.js";
|
|
4
|
-
function s(t) {
|
|
5
|
-
const i = t[0];
|
|
6
|
-
if (t.length === 1)
|
|
7
|
-
return !0;
|
|
8
|
-
for (let n = 0; n < t.length; n++)
|
|
9
|
-
if (t[n] !== i)
|
|
10
|
-
return !0;
|
|
11
|
-
}
|
|
12
|
-
function h(t, i, n, u) {
|
|
13
|
-
const r = t[0];
|
|
14
|
-
if (r === null)
|
|
15
|
-
return !1;
|
|
16
|
-
if (i === "display" || i === "visibility")
|
|
17
|
-
return !0;
|
|
18
|
-
const o = t[t.length - 1], a = l(r, i), e = l(o, i);
|
|
19
|
-
return g(a === e, `You are trying to animate ${i} from "${r}" to "${o}". "${a ? o : r}" is not an animatable value.`, "value-not-animatable"), !a || !e ? !1 : s(t) || (n === "spring" || f(n)) && u;
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
h as canAnimate
|
|
23
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { isCSSVariableToken as c } from "./is-css-variable.js";
|
|
2
|
-
import { isNumericalString as l } from "../../../../../motion-utils/dist/es/is-numerical-string.js";
|
|
3
|
-
import { invariant as s } from "../../../../../motion-utils/dist/es/errors.js";
|
|
4
|
-
const m = (
|
|
5
|
-
// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
|
|
6
|
-
/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
|
|
7
|
-
);
|
|
8
|
-
function p(a) {
|
|
9
|
-
const e = m.exec(a);
|
|
10
|
-
if (!e)
|
|
11
|
-
return [,];
|
|
12
|
-
const [, r, i, t] = e;
|
|
13
|
-
return [`--${r ?? i}`, t];
|
|
14
|
-
}
|
|
15
|
-
const f = 4;
|
|
16
|
-
function u(a, e, r = 1) {
|
|
17
|
-
s(r <= f, `Max CSS variable fallback depth detected in property "${a}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
|
|
18
|
-
const [i, t] = p(a);
|
|
19
|
-
if (!i)
|
|
20
|
-
return;
|
|
21
|
-
const o = window.getComputedStyle(e).getPropertyValue(i);
|
|
22
|
-
if (o) {
|
|
23
|
-
const n = o.trim();
|
|
24
|
-
return l(n) ? parseFloat(n) : n;
|
|
25
|
-
}
|
|
26
|
-
return c(t) ? u(t, e, r + 1) : t;
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
u as getVariableValue,
|
|
30
|
-
p as parseCSSVariable
|
|
31
|
-
};
|