@frontify/fondue 13.9.0 → 14.0.0-beta.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 +1 -2
- package/dist/index.cjs.js +1 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1207
- package/dist/index.es.js +61 -137
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utilities/focusStyle.es.js +4 -9
- package/dist/utilities/focusStyle.es.js.map +1 -1
- package/dist/utilities/merge.es.js.map +1 -1
- package/package.json +9 -64
- package/dist/components/Accordion/Accordion.es.js +0 -127
- package/dist/components/Accordion/Accordion.es.js.map +0 -1
- package/dist/components/Accordion/AccordionHeader.es.js +0 -47
- package/dist/components/Accordion/AccordionHeader.es.js.map +0 -1
- package/dist/components/Accordion/AccordionHeaderIcon.es.js +0 -24
- package/dist/components/Accordion/AccordionHeaderIcon.es.js.map +0 -1
- package/dist/components/ActionMenu/ActionMenu.es.js +0 -40
- package/dist/components/ActionMenu/ActionMenu.es.js.map +0 -1
- package/dist/components/ActionMenu/Aria/AriaList.es.js +0 -23
- package/dist/components/ActionMenu/Aria/AriaList.es.js.map +0 -1
- package/dist/components/ActionMenu/Aria/AriaMenuItem.es.js +0 -72
- package/dist/components/ActionMenu/Aria/AriaMenuItem.es.js.map +0 -1
- package/dist/components/ActionMenu/Aria/AriaSection.es.js +0 -11
- package/dist/components/ActionMenu/Aria/AriaSection.es.js.map +0 -1
- package/dist/components/ActionMenu/Aria/helper.es.js +0 -15
- package/dist/components/ActionMenu/Aria/helper.es.js.map +0 -1
- package/dist/components/AssetInput/AssetInput.es.js +0 -106
- package/dist/components/AssetInput/AssetInput.es.js.map +0 -1
- package/dist/components/AssetInput/AssetThumbnail.es.js +0 -51
- package/dist/components/AssetInput/AssetThumbnail.es.js.map +0 -1
- package/dist/components/AssetInput/MultiAssetPreview/MultiAssetPreview.es.js +0 -47
- package/dist/components/AssetInput/MultiAssetPreview/MultiAssetPreview.es.js.map +0 -1
- package/dist/components/AssetInput/MultiAssetPreview/SelectedAssetsThumbnail.es.js +0 -36
- package/dist/components/AssetInput/MultiAssetPreview/SelectedAssetsThumbnail.es.js.map +0 -1
- package/dist/components/AssetInput/SingleAsset/AssetSubline.es.js +0 -28
- package/dist/components/AssetInput/SingleAsset/AssetSubline.es.js.map +0 -1
- package/dist/components/AssetInput/SingleAsset/SelectedAsset.es.js +0 -155
- package/dist/components/AssetInput/SingleAsset/SelectedAsset.es.js.map +0 -1
- package/dist/components/AssetInput/SingleAsset/SpinningCircle.es.js +0 -22
- package/dist/components/AssetInput/SingleAsset/SpinningCircle.es.js.map +0 -1
- package/dist/components/AssetInput/types.es.js +0 -7
- package/dist/components/AssetInput/types.es.js.map +0 -1
- package/dist/components/Badge/Badge.es.js +0 -85
- package/dist/components/Badge/Badge.es.js.map +0 -1
- package/dist/components/Badge/BadgeStatusIcon.es.js +0 -24
- package/dist/components/Badge/BadgeStatusIcon.es.js.map +0 -1
- package/dist/components/Badge/helpers.es.js +0 -73
- package/dist/components/Badge/helpers.es.js.map +0 -1
- package/dist/components/Badge/types.es.js +0 -7
- package/dist/components/Badge/types.es.js.map +0 -1
- package/dist/components/Breadcrumbs/BreadcrumbItem.es.js +0 -68
- package/dist/components/Breadcrumbs/BreadcrumbItem.es.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js +0 -36
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +0 -1
- package/dist/components/Breadcrumbs/CurrentBreadcrumbItem.es.js +0 -59
- package/dist/components/Breadcrumbs/CurrentBreadcrumbItem.es.js.map +0 -1
- package/dist/components/Breadcrumbs/FormattedBreadcrumbs.es.js +0 -80
- package/dist/components/Breadcrumbs/FormattedBreadcrumbs.es.js.map +0 -1
- package/dist/components/Checklist/Checklist.es.js +0 -107
- package/dist/components/Checklist/Checklist.es.js.map +0 -1
- package/dist/components/CollapsibleWrap/CollapsibleWrap.es.js +0 -36
- package/dist/components/CollapsibleWrap/CollapsibleWrap.es.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.es.js +0 -169
- package/dist/components/DatePicker/DatePicker.es.js.map +0 -1
- package/dist/components/DatePicker/DatePickerTrigger.es.js +0 -81
- package/dist/components/DatePicker/DatePickerTrigger.es.js.map +0 -1
- package/dist/components/EditableText/EditableText.es.js +0 -131
- package/dist/components/EditableText/EditableText.es.js.map +0 -1
- package/dist/components/EditableText/lib/helper.es.js +0 -38
- package/dist/components/EditableText/lib/helper.es.js.map +0 -1
- package/dist/components/FilterableMultiSelect/FilterableMultiSelect.es.js +0 -194
- package/dist/components/FilterableMultiSelect/FilterableMultiSelect.es.js.map +0 -1
- package/dist/components/FilterableMultiSelect/helpers.es.js +0 -33
- package/dist/components/FilterableMultiSelect/helpers.es.js.map +0 -1
- package/dist/components/Flyout/helpers/getVerticalPositioning.es.js +0 -12
- package/dist/components/Flyout/helpers/getVerticalPositioning.es.js.map +0 -1
- package/dist/components/FormControl/FormControl.es.js +0 -129
- package/dist/components/FormControl/FormControl.es.js.map +0 -1
- package/dist/components/FrontifyPattern/FrontifyPattern.es.js +0 -26
- package/dist/components/FrontifyPattern/FrontifyPattern.es.js.map +0 -1
- package/dist/components/LegacyTextarea/LegacyTextarea.es.js +0 -109
- package/dist/components/LegacyTextarea/LegacyTextarea.es.js.map +0 -1
- package/dist/components/LoadingCircle/LoadingCircle.es.js +0 -33
- package/dist/components/LoadingCircle/LoadingCircle.es.js.map +0 -1
- package/dist/components/Menu/Menu.es.js +0 -66
- package/dist/components/Menu/Menu.es.js.map +0 -1
- package/dist/components/Menu/useMenuKeyboardNavigation.es.js +0 -32
- package/dist/components/Menu/useMenuKeyboardNavigation.es.js.map +0 -1
- package/dist/components/MenuItem/MenuItem.es.js +0 -147
- package/dist/components/MenuItem/MenuItem.es.js.map +0 -1
- package/dist/components/MenuItem/MenuItemContent.es.js +0 -47
- package/dist/components/MenuItem/MenuItemContent.es.js.map +0 -1
- package/dist/components/MenuItem/types.es.js +0 -7
- package/dist/components/MenuItem/types.es.js.map +0 -1
- package/dist/components/MultiSelect/MultiSelect.es.js +0 -177
- package/dist/components/MultiSelect/MultiSelect.es.js.map +0 -1
- package/dist/components/MultiSelect/helpers.es.js +0 -33
- package/dist/components/MultiSelect/helpers.es.js.map +0 -1
- package/dist/components/OrderableList/OrderableList.es.js +0 -73
- package/dist/components/OrderableList/OrderableList.es.js.map +0 -1
- package/dist/components/OverflowMenu/OverflowMenu.es.js +0 -42
- package/dist/components/OverflowMenu/OverflowMenu.es.js.map +0 -1
- package/dist/components/Switch/Switch.es.js +0 -89
- package/dist/components/Switch/Switch.es.js.map +0 -1
- package/dist/components/Tag/Tag.es.js +0 -55
- package/dist/components/Tag/Tag.es.js.map +0 -1
- package/dist/components/TextInput/TextInput.es.js +0 -242
- package/dist/components/TextInput/TextInput.es.js.map +0 -1
- package/dist/components/Toast/Toast.es.js +0 -58
- package/dist/components/Toast/Toast.es.js.map +0 -1
- package/dist/components/Toast/types.es.js +0 -13
- package/dist/components/Toast/types.es.js.map +0 -1
- package/dist/components/Trigger/Trigger.es.js +0 -121
- package/dist/components/Trigger/Trigger.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternDesigns.es.js +0 -17
- package/dist/foundation/Pattern/PatternDesigns.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternDigitalAssets.es.js +0 -2210
- package/dist/foundation/Pattern/PatternDigitalAssets.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternImagery.es.js +0 -859
- package/dist/foundation/Pattern/PatternImagery.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternScale.es.js +0 -13
- package/dist/foundation/Pattern/PatternScale.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternSound.es.js +0 -943
- package/dist/foundation/Pattern/PatternSound.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternTheme.es.js +0 -13
- package/dist/foundation/Pattern/PatternTheme.es.js.map +0 -1
- package/dist/foundation/Pattern/PatternTypography.es.js +0 -1048
- package/dist/foundation/Pattern/PatternTypography.es.js.map +0 -1
- package/dist/hooks/useClickOutside.es.js +0 -19
- package/dist/hooks/useClickOutside.es.js.map +0 -1
- package/dist/hooks/useCopy.es.js +0 -21
- package/dist/hooks/useCopy.es.js.map +0 -1
- package/dist/hooks/useDropdownAutoHeight.es.js +0 -22
- package/dist/hooks/useDropdownAutoHeight.es.js.map +0 -1
- package/dist/hooks/useMobileDetection.es.js +0 -17
- package/dist/hooks/useMobileDetection.es.js.map +0 -1
- package/dist/legacyTokens.tailwind.config.d.ts +0 -4
- package/dist/legacyTokens.tailwind.config.js +0 -122
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.es.js +0 -62
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.es.js +0 -42
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.es.js +0 -48
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.es.js +0 -18
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.es.js +0 -13
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LayoutGroupContext.es.js +0 -6
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LayoutGroupContext.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LazyContext.es.js +0 -6
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LazyContext.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.es.js +0 -10
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/create.es.js +0 -14
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/create.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/index.es.js +0 -6
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/utils.es.js +0 -16
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/utils.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/PresenceContext.es.js +0 -6
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/PresenceContext.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.es.js +0 -6
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/add-pointer-event.es.js +0 -9
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/add-pointer-event.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/event-info.es.js +0 -15
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/event-info.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.es.js +0 -287
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/index.es.js +0 -23
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.es.js +0 -68
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/focus.es.js +0 -29
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/focus.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/hover.es.js +0 -22
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/hover.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/PanSession.es.js +0 -133
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/PanSession.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/index.es.js +0 -44
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/press.es.js +0 -30
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/press.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/exit.es.js +0 -47
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/exit.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/index.es.js +0 -35
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animations.es.js +0 -14
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animations.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/definitions.es.js +0 -40
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/definitions.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/drag.es.js +0 -18
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/drag.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/gestures.es.js +0 -22
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/gestures.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js +0 -61
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout.es.js +0 -12
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/load-features.es.js +0 -15
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/load-features.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/index.es.js +0 -48
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/observers.es.js +0 -22
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/observers.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/index.es.js +0 -63
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/symbol.es.js +0 -5
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/symbol.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.es.js +0 -23
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.es.js +0 -68
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.es.js +0 -53
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/valid-prop.es.js +0 -40
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/valid-prop.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/create-proxy.es.js +0 -19
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/create-proxy.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.es.js +0 -14
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js +0 -8
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/create-visual-element.es.js +0 -11
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/create-visual-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/use-render.es.js +0 -17
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/use-render.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.es.js +0 -22
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.es.js +0 -25
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.es.js +0 -11
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/use-props.es.js +0 -28
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/use-props.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.es.js +0 -10
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.es.js +0 -31
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/use-props.es.js +0 -23
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/use-props.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.es.js +0 -11
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.es.js +0 -9
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/distance.es.js +0 -10
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/distance.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/get-context-window.es.js +0 -5
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/get-context-window.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-browser.es.js +0 -5
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-browser.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-ref-object.es.js +0 -7
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-ref-object.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-composed-ref.es.js +0 -29
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-composed-ref.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-constant.es.js +0 -9
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-constant.es.js.map +0 -1
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.es.js +0 -7
- package/dist/node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.es.js +0 -118
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/JSAnimation.es.js +0 -150
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/JSAnimation.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.es.js +0 -111
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.es.js +0 -39
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/animate/single-value.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/animate/single-value.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/drivers/frame.es.js +0 -18
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/drivers/frame.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/inertia.es.js +0 -38
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/inertia.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.es.js +0 -31
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/spring.es.js +0 -179
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/spring.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.es.js +0 -47
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.es.js +0 -60
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.es.js +0 -31
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.es.js +0 -23
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.es.js +0 -70
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.es.js +0 -76
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.es.js +0 -17
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.es.js +0 -38
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.es.js +0 -28
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.es.js +0 -24
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.es.js +0 -32
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.es.js +0 -23
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.es.js +0 -22
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.es.js +0 -17
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.es.js +0 -22
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.es.js +0 -35
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.es.js +0 -18
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/events/add-dom-event.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/events/add-dom-event.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/batcher.es.js +0 -28
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/batcher.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/frame.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/frame.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/microtask.es.js +0 -6
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/microtask.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/order.es.js +0 -22
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/order.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/render-step.es.js +0 -44
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/render-step.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/sync-time.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/frameloop/sync-time.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.es.js +0 -12
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.es.js +0 -12
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/hover.es.js +0 -39
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/hover.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/index.es.js +0 -35
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.es.js +0 -19
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.es.js +0 -28
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/setup.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/gestures/utils/setup.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.es.js +0 -29
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.es.js +0 -26
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/copy.es.js +0 -15
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/copy.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.es.js +0 -55
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.es.js +0 -39
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.es.js +0 -26
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/models.es.js +0 -19
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/models.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/utils.es.js +0 -35
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/geometry/utils.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.es.js +0 -17
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.es.js +0 -26
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.es.js +0 -632
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/state.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/shared/stack.es.js +0 -58
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/shared/stack.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.es.js +0 -22
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.es.js +0 -17
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.es.js +0 -18
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/transform.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/styles/transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.es.js +0 -20
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.es.js +0 -21
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/measure.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/utils/measure.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/Feature.es.js +0 -11
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/Feature.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/VisualElement.es.js +0 -267
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/VisualElement.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.es.js +0 -29
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.es.js +0 -66
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/style-set.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/style-set.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.es.js +0 -43
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.es.js +0 -30
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.es.js +0 -39
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/render.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/render.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.es.js +0 -15
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/store.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/store.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.es.js +0 -41
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.es.js +0 -33
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.es.js +0 -29
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/path.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/path.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/render.es.js +0 -12
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/render.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/animation-state.es.js +0 -149
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/animation-state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.es.js +0 -21
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/keys-position.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/keys-position.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.es.js +0 -24
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/motion-values.es.js +0 -26
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/motion-values.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.es.js +0 -6
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.es.js +0 -21
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/setters.es.js +0 -22
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/setters.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.es.js +0 -15
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/variant-props.es.js +0 -14
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/render/utils/variant-props.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/handle-element.es.js +0 -41
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/handle-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/handle-window.es.js +0 -24
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/handle-window.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/index.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/resize/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/border-radius.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/border-radius.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/delay.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/delay.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/interpolate.es.js +0 -43
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/interpolate.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-html-element.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-html-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-svg-element.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-svg-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/color.es.js +0 -30
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/color.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/complex.es.js +0 -52
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/complex.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/immediate.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/immediate.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/index.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/number.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/number.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/visibility.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/mix/visibility.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/resolve-elements.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/resolve-elements.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/flags.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/flags.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/memo.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/memo.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.es.js +0 -6
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/index.es.js +0 -216
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/auto.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/auto.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hex.es.js +0 -20
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hex.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.es.js +0 -23
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hsla.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/hsla.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/index.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/rgba.es.js +0 -17
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/rgba.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/utils.es.js +0 -19
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/color/utils.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/filter.es.js +0 -25
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/filter.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/index.es.js +0 -53
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/mask.es.js +0 -12
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/complex/mask.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/dimensions.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/dimensions.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/int.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/int.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.es.js +0 -28
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/number.es.js +0 -71
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/number.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/transform.es.js +0 -38
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/maps/transform.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/numbers/index.es.js +0 -18
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/numbers/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/numbers/units.es.js +0 -18
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/numbers/units.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/test.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/test.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.es.js +0 -13
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/find.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/find.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.es.js +0 -15
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/will-change/is.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/value/will-change/is.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/array.es.js +0 -12
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/array.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/clamp.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/clamp.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/anticipate.es.js +0 -6
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/anticipate.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/back.es.js +0 -10
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/back.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/circ.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/circ.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.es.js +0 -20
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/ease.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/ease.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/map.es.js +0 -33
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/map.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/errors.es.js +0 -16
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/errors.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/format-error-message.es.js +0 -7
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/format-error-message.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/global-config.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/global-config.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-numerical-string.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-numerical-string.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-object.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-object.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-zero-value-string.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/is-zero-value-string.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/memo.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/memo.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/noop.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/noop.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/pipe.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/pipe.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/progress.es.js +0 -8
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/progress.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/subscription-manager.es.js +0 -30
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/subscription-manager.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/time-conversion.es.js +0 -6
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/time-conversion.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/velocity-per-second.es.js +0 -5
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/velocity-per-second.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/warn-once.es.js +0 -9
- package/dist/node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/warn-once.es.js.map +0 -1
- package/dist/node_modules/.pnpm/motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/react.es.js +0 -6
- package/dist/node_modules/.pnpm/motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/react.es.js.map +0 -1
- package/dist/styles-without-tailwind.css +0 -174
- package/dist/tools/codemod/index.js +0 -655
- package/dist/tools/codemod/transforms/find-imports.ts +0 -53
- package/dist/tools/internal/index.js +0 -88
- package/dist/tools/internal/transforms/find-imports.ts +0 -53
- package/dist/types/colors.es.js +0 -5
- package/dist/types/colors.es.js.map +0 -1
- package/dist/utilities/borderStyle.es.js +0 -7
- package/dist/utilities/borderStyle.es.js.map +0 -1
- package/dist/utilities/colors.es.js +0 -22
- package/dist/utilities/colors.es.js.map +0 -1
- package/dist/utilities/dialogs/EnablePortalWrapper.es.js +0 -11
- package/dist/utilities/dialogs/EnablePortalWrapper.es.js.map +0 -1
- package/dist/utilities/elements.es.js +0 -21
- package/dist/utilities/elements.es.js.map +0 -1
- package/dist/utilities/validation.es.js +0 -13
- package/dist/utilities/validation.es.js.map +0 -1
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { isValidElement as v, cloneElement as g } from "react";
|
|
3
|
-
import { InputLabel as V } from "../InputLabel/InputLabel.es.js";
|
|
4
|
-
import { merge as d } from "../../utilities/merge.es.js";
|
|
5
|
-
import { Validation as c } from "../../utilities/validation.es.js";
|
|
6
|
-
var p = /* @__PURE__ */ ((t) => (t.Primary = "Primary", t.Positive = "Positive", t.Danger = "Danger", t))(p || {});
|
|
7
|
-
const N = {
|
|
8
|
-
Primary: c.Default,
|
|
9
|
-
Positive: c.Success,
|
|
10
|
-
Danger: c.Error
|
|
11
|
-
}, m = ({
|
|
12
|
-
text: t,
|
|
13
|
-
disabled: e,
|
|
14
|
-
style: i,
|
|
15
|
-
fullWidth: w = !1,
|
|
16
|
-
"data-test-id": a = "form-control"
|
|
17
|
-
}) => {
|
|
18
|
-
let r;
|
|
19
|
-
switch (!0) {
|
|
20
|
-
case e:
|
|
21
|
-
r = "tw-text-text-disabled";
|
|
22
|
-
break;
|
|
23
|
-
case i === "Danger":
|
|
24
|
-
r = "tw-text-text-negative";
|
|
25
|
-
break;
|
|
26
|
-
case i === "Positive":
|
|
27
|
-
r = "tw-text-text-positive";
|
|
28
|
-
break;
|
|
29
|
-
default:
|
|
30
|
-
r = "tw-text-text-weak";
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
return /* @__PURE__ */ s(
|
|
34
|
-
"span",
|
|
35
|
-
{
|
|
36
|
-
"data-test-id": `${a}-helper-text`,
|
|
37
|
-
className: `tw-text-s tw-font-sans ${w ? "tw-w-full" : ""} ${r}`,
|
|
38
|
-
children: t
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
};
|
|
42
|
-
m.displayName = "FondueHelperText";
|
|
43
|
-
var P = /* @__PURE__ */ ((t) => (t.Before = "Before", t.After = "After", t))(P || {}), k = /* @__PURE__ */ ((t) => (t.Horizontal = "Horizontal", t.Vertical = "Vertical", t))(k || {});
|
|
44
|
-
const H = ({
|
|
45
|
-
label: t,
|
|
46
|
-
children: e,
|
|
47
|
-
extra: i,
|
|
48
|
-
name: w,
|
|
49
|
-
helper: a,
|
|
50
|
-
disabled: r,
|
|
51
|
-
clickable: l,
|
|
52
|
-
direction: o = "Vertical",
|
|
53
|
-
style: f = "Primary",
|
|
54
|
-
"data-test-id": n = "form-control"
|
|
55
|
-
}) => {
|
|
56
|
-
const x = (a == null ? void 0 : a.position) === "Before";
|
|
57
|
-
return /* @__PURE__ */ u(
|
|
58
|
-
"div",
|
|
59
|
-
{
|
|
60
|
-
"data-test-id": n,
|
|
61
|
-
"data-name": w,
|
|
62
|
-
className: d([
|
|
63
|
-
"tw-flex tw-items-center tw-gap-2",
|
|
64
|
-
o === "Horizontal" ? "tw-flex-row" : "tw-w-full tw-flex-col"
|
|
65
|
-
]),
|
|
66
|
-
children: [
|
|
67
|
-
t != null && t.children || i ? /* @__PURE__ */ u(
|
|
68
|
-
"div",
|
|
69
|
-
{
|
|
70
|
-
className: d([
|
|
71
|
-
"tw-flex tw-flew-row tw-items-center tw-justify-between",
|
|
72
|
-
o === "Vertical" && "tw-w-full"
|
|
73
|
-
]),
|
|
74
|
-
children: [
|
|
75
|
-
t != null && t.children ? /* @__PURE__ */ s(V, { ...t, disabled: r, clickable: l }) : null,
|
|
76
|
-
i ? /* @__PURE__ */ s(
|
|
77
|
-
"span",
|
|
78
|
-
{
|
|
79
|
-
"data-test-id": `${n}-extra`,
|
|
80
|
-
className: "tw-pl-2 tw-text-black-80 tw-font-sans tw-text-s tw-whitespace-nowrap",
|
|
81
|
-
children: i
|
|
82
|
-
}
|
|
83
|
-
) : null
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
) : null,
|
|
87
|
-
(a == null ? void 0 : a.text) && x && /* @__PURE__ */ s(
|
|
88
|
-
m,
|
|
89
|
-
{
|
|
90
|
-
style: f,
|
|
91
|
-
fullWidth: o === "Vertical",
|
|
92
|
-
text: a.text,
|
|
93
|
-
disabled: r,
|
|
94
|
-
"data-test-id": n
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
e ? /* @__PURE__ */ s(
|
|
98
|
-
"div",
|
|
99
|
-
{
|
|
100
|
-
className: o === "Vertical" ? "tw-w-full tw-grid tw-grid-cols-1 tw-gap-5" : "",
|
|
101
|
-
children: v(e) ? g(e, {
|
|
102
|
-
id: (t == null ? void 0 : t.htmlFor) ?? e.props.id,
|
|
103
|
-
disabled: r,
|
|
104
|
-
validation: N[f]
|
|
105
|
-
}) : e
|
|
106
|
-
}
|
|
107
|
-
) : null,
|
|
108
|
-
(a == null ? void 0 : a.text) && !x && /* @__PURE__ */ s(
|
|
109
|
-
m,
|
|
110
|
-
{
|
|
111
|
-
fullWidth: o === "Vertical",
|
|
112
|
-
text: a.text,
|
|
113
|
-
disabled: r,
|
|
114
|
-
style: f,
|
|
115
|
-
"data-test-id": n
|
|
116
|
-
}
|
|
117
|
-
)
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
);
|
|
121
|
-
};
|
|
122
|
-
H.displayName = "FondueFormControl";
|
|
123
|
-
export {
|
|
124
|
-
H as FormControl,
|
|
125
|
-
k as FormControlDirection,
|
|
126
|
-
p as FormControlStyle,
|
|
127
|
-
P as HelperPosition
|
|
128
|
-
};
|
|
129
|
-
//# sourceMappingURL=FormControl.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.es.js","sources":["../../../src/components/FormControl/FormControl.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement, type ReactNode, cloneElement, isValidElement } from 'react';\n\nimport { InputLabel, type InputLabelProps } from '@components/InputLabel/InputLabel';\nimport { merge } from '@utilities/merge';\nimport { Validation } from '@utilities/validation';\n/**\n * @deprecated Please use a custom component instead.\n */\nexport enum FormControlStyle {\n Primary = 'Primary',\n Positive = 'Positive',\n Danger = 'Danger',\n}\n\ntype HelperTextProps = {\n text: string;\n style: FormControlStyle;\n disabled?: boolean;\n fullWidth?: boolean;\n 'data-test-id'?: string;\n};\n\nconst inputValidation: Record<FormControlStyle, Validation> = {\n [FormControlStyle.Primary]: Validation.Default,\n [FormControlStyle.Positive]: Validation.Success,\n [FormControlStyle.Danger]: Validation.Error,\n};\n\nconst HelperText = ({\n text,\n disabled,\n style,\n fullWidth = false,\n 'data-test-id': dataTestId = 'form-control',\n}: HelperTextProps): ReactElement => {\n let textColorClass;\n\n switch (true) {\n case disabled:\n textColorClass = 'tw-text-text-disabled';\n break;\n case style === FormControlStyle.Danger:\n textColorClass = 'tw-text-text-negative';\n break;\n case style === FormControlStyle.Positive:\n textColorClass = 'tw-text-text-positive';\n break;\n default:\n textColorClass = 'tw-text-text-weak';\n break;\n }\n\n return (\n <span\n data-test-id={`${dataTestId}-helper-text`}\n className={`tw-text-s tw-font-sans ${fullWidth ? 'tw-w-full' : ''} ${textColorClass}`}\n >\n {text}\n </span>\n );\n};\nHelperText.displayName = 'FondueHelperText';\n/**\n * @deprecated Please use a custom component instead.\n */\nexport enum HelperPosition {\n Before = 'Before',\n After = 'After',\n}\n/**\n * @deprecated Please use a custom component instead.\n */\nexport enum FormControlDirection {\n Horizontal = 'Horizontal',\n Vertical = 'Vertical',\n}\n/**\n * @deprecated Please use a custom component instead.\n */\nexport type FormControlProps = {\n direction?: FormControlDirection;\n disabled?: boolean;\n clickable?: boolean;\n label?: Omit<InputLabelProps, 'disabled'>;\n extra?: ReactNode;\n helper?: Omit<HelperTextProps, 'disabled' | 'style'> & { position?: HelperPosition };\n style?: FormControlStyle;\n name?: string;\n children?: ReactNode;\n 'data-test-id'?: string;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport const FormControl = ({\n label,\n children,\n extra,\n name,\n helper,\n disabled,\n clickable,\n direction = FormControlDirection.Vertical,\n style = FormControlStyle.Primary,\n 'data-test-id': dataTestId = 'form-control',\n}: FormControlProps): ReactElement => {\n const isHelperBefore = helper?.position === HelperPosition.Before;\n\n return (\n <div\n data-test-id={dataTestId}\n data-name={name}\n className={merge([\n 'tw-flex tw-items-center tw-gap-2',\n direction === FormControlDirection.Horizontal ? 'tw-flex-row' : 'tw-w-full tw-flex-col',\n ])}\n >\n {label?.children || extra ? (\n <div\n className={merge([\n 'tw-flex tw-flew-row tw-items-center tw-justify-between',\n direction === FormControlDirection.Vertical && 'tw-w-full',\n ])}\n >\n {label?.children ? <InputLabel {...label} disabled={disabled} clickable={clickable} /> : null}\n {extra ? (\n <span\n data-test-id={`${dataTestId}-extra`}\n className=\"tw-pl-2 tw-text-black-80 tw-font-sans tw-text-s tw-whitespace-nowrap\"\n >\n {extra}\n </span>\n ) : null}\n </div>\n ) : null}\n {helper?.text && isHelperBefore && (\n <HelperText\n style={style}\n fullWidth={direction === FormControlDirection.Vertical}\n text={helper.text}\n disabled={disabled}\n data-test-id={dataTestId}\n />\n )}\n {children ? (\n <div\n className={\n direction === FormControlDirection.Vertical ? 'tw-w-full tw-grid tw-grid-cols-1 tw-gap-5' : ''\n }\n >\n {isValidElement(children)\n ? cloneElement(children as ReactElement, {\n id: label?.htmlFor ?? children.props.id,\n disabled,\n validation: inputValidation[style],\n })\n : children}\n </div>\n ) : null}\n {helper?.text && !isHelperBefore && (\n <HelperText\n fullWidth={direction === FormControlDirection.Vertical}\n text={helper.text}\n disabled={disabled}\n style={style}\n data-test-id={dataTestId}\n />\n )}\n </div>\n );\n};\nFormControl.displayName = 'FondueFormControl';\n"],"names":["FormControlStyle","inputValidation","Validation","HelperText","text","disabled","style","fullWidth","dataTestId","textColorClass","jsx","HelperPosition","FormControlDirection","FormControl","label","children","extra","name","helper","clickable","direction","isHelperBefore","jsxs","merge","InputLabel","isValidElement","cloneElement"],"mappings":";;;;;AAUO,IAAKA,sBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,SAAS,UAHDA,IAAAA,KAAA,CAAA,CAAA;AAcZ,MAAMC,IAAwD;AAAA,EACzD,SAA2BC,EAAW;AAAA,EACtC,UAA4BA,EAAW;AAAA,EACvC,QAA0BA,EAAW;AAC1C,GAEMC,IAAa,CAAC;AAAA,EAChB,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,gBAAgBC,IAAa;AACjC,MAAqC;AACjC,MAAIC;AAEJ,UAAQ,IAAA;AAAA,IACJ,KAAKJ;AACD,MAAAI,IAAiB;AACjB;AAAA,IACJ,KAAKH,MAAU;AACX,MAAAG,IAAiB;AACjB;AAAA,IACJ,KAAKH,MAAU;AACX,MAAAG,IAAiB;AACjB;AAAA,IACJ;AACI,MAAAA,IAAiB;AACjB;AAAA,EAAA;AAGR,SACI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,gBAAc,GAAGF,CAAU;AAAA,MAC3B,WAAW,0BAA0BD,IAAY,cAAc,EAAE,IAAIE,CAAc;AAAA,MAElF,UAAAL;AAAA,IAAA;AAAA,EAAA;AAGb;AACAD,EAAW,cAAc;AAIlB,IAAKQ,sBAAAA,OACRA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAFAA,IAAAA,KAAA,CAAA,CAAA,GAOAC,sBAAAA,OACRA,EAAA,aAAa,cACbA,EAAA,WAAW,YAFHA,IAAAA,KAAA,CAAA,CAAA;AAuBL,MAAMC,IAAc,CAAC;AAAA,EACxB,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAb;AAAA,EACA,WAAAc;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAd,IAAQ;AAAA,EACR,gBAAgBE,IAAa;AACjC,MAAsC;AAClC,QAAMa,KAAiBH,KAAA,gBAAAA,EAAQ,cAAa;AAE5C,SACI,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,gBAAcd;AAAA,MACd,aAAWS;AAAA,MACX,WAAWM,EAAM;AAAA,QACb;AAAA,QACAH,MAAc,eAAkC,gBAAgB;AAAA,MAAA,CACnE;AAAA,MAEA,UAAA;AAAA,QAAAN,KAAA,QAAAA,EAAO,YAAYE,IAChB,gBAAAM;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,WAAWC,EAAM;AAAA,cACb;AAAA,cACAH,MAAc,cAAiC;AAAA,YAAA,CAClD;AAAA,YAEA,UAAA;AAAA,cAAAN,KAAA,QAAAA,EAAO,WAAW,gBAAAJ,EAACc,GAAA,EAAY,GAAGV,GAAO,UAAAT,GAAoB,WAAAc,GAAsB,IAAK;AAAA,cACxFH,IACG,gBAAAN;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,gBAAc,GAAGF,CAAU;AAAA,kBAC3B,WAAU;AAAA,kBAET,UAAAQ;AAAA,gBAAA;AAAA,cAAA,IAEL;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA,IAER;AAAA,SACHE,KAAA,gBAAAA,EAAQ,SAAQG,KACb,gBAAAX;AAAA,UAACP;AAAA,UAAA;AAAA,YACG,OAAAG;AAAA,YACA,WAAWc,MAAc;AAAA,YACzB,MAAMF,EAAO;AAAA,YACb,UAAAb;AAAA,YACA,gBAAcG;AAAA,UAAA;AAAA,QAAA;AAAA,QAGrBO,IACG,gBAAAL;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,WACIU,MAAc,aAAgC,8CAA8C;AAAA,YAG/F,UAAAK,EAAeV,CAAQ,IAClBW,EAAaX,GAA0B;AAAA,cACnC,KAAID,KAAA,gBAAAA,EAAO,YAAWC,EAAS,MAAM;AAAA,cACrC,UAAAV;AAAA,cACA,YAAYJ,EAAgBK,CAAK;AAAA,YAAA,CACpC,IACDS;AAAA,UAAA;AAAA,QAAA,IAEV;AAAA,SACHG,KAAA,gBAAAA,EAAQ,SAAQ,CAACG,KACd,gBAAAX;AAAA,UAACP;AAAA,UAAA;AAAA,YACG,WAAWiB,MAAc;AAAA,YACzB,MAAMF,EAAO;AAAA,YACb,UAAAb;AAAA,YACA,OAAAC;AAAA,YACA,gBAAcE;AAAA,UAAA;AAAA,QAAA;AAAA,MAClB;AAAA,IAAA;AAAA,EAAA;AAIhB;AACAK,EAAY,cAAc;"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { cloneElement as i } from "react";
|
|
3
|
-
import { patternDesigns as m, PatternDesign as s } from "../../foundation/Pattern/PatternDesigns.es.js";
|
|
4
|
-
import { patternScales as p, PatternScale as f } from "../../foundation/Pattern/PatternScale.es.js";
|
|
5
|
-
import { PatternTheme as l, patternThemes as c } from "../../foundation/Pattern/PatternTheme.es.js";
|
|
6
|
-
import { merge as d } from "../../utilities/merge.es.js";
|
|
7
|
-
const g = ({
|
|
8
|
-
pattern: t = s.DigitalAssets,
|
|
9
|
-
scale: e = f.SM,
|
|
10
|
-
scaleOrigin: r = ["top", "left"],
|
|
11
|
-
foregroundColor: a = l.Black,
|
|
12
|
-
"data-test-id": n = "frontify-pattern"
|
|
13
|
-
}) => /* @__PURE__ */ o(
|
|
14
|
-
"div",
|
|
15
|
-
{
|
|
16
|
-
"data-test-id": n,
|
|
17
|
-
className: d(["tw-w-[260px]", c[a]]),
|
|
18
|
-
style: { transformOrigin: `${r.join(" ")}`, transform: `scale(${p[e]})` },
|
|
19
|
-
children: i(m[t])
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
g.displayName = "FondueFrontifyPattern";
|
|
23
|
-
export {
|
|
24
|
-
g as FrontifyPattern
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=FrontifyPattern.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FrontifyPattern.es.js","sources":["../../../src/components/FrontifyPattern/FrontifyPattern.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement, cloneElement } from 'react';\n\nimport { PatternDesign, PatternScale, type PatternScaleOrigin, PatternTheme } from '@foundation/Pattern';\nimport { patternDesigns } from '@foundation/Pattern/PatternDesigns';\nimport { patternScales } from '@foundation/Pattern/PatternScale';\nimport { patternThemes } from '@foundation/Pattern/PatternTheme';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport type FrontifyPatternProps = {\n pattern: PatternDesign;\n scale?: PatternScale;\n scaleOrigin?: PatternScaleOrigin;\n foregroundColor?: PatternTheme;\n 'data-test-id'?: string;\n};\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const FrontifyPattern = ({\n pattern = PatternDesign.DigitalAssets,\n scale = PatternScale.SM,\n scaleOrigin = ['top', 'left'],\n foregroundColor = PatternTheme.Black,\n 'data-test-id': dataTestId = 'frontify-pattern',\n}: FrontifyPatternProps): ReactElement => {\n return (\n <div\n data-test-id={dataTestId}\n className={merge(['tw-w-[260px]', patternThemes[foregroundColor]])}\n style={{ transformOrigin: `${scaleOrigin.join(' ')}`, transform: `scale(${patternScales[scale]})` }}\n >\n {cloneElement(patternDesigns[pattern])}\n </div>\n );\n};\nFrontifyPattern.displayName = 'FondueFrontifyPattern';\n"],"names":["FrontifyPattern","pattern","PatternDesign","scale","PatternScale","scaleOrigin","foregroundColor","PatternTheme","dataTestId","jsx","merge","patternThemes","patternScales","cloneElement","patternDesigns"],"mappings":";;;;;;AAwBO,MAAMA,IAAkB,CAAC;AAAA,EAC5B,SAAAC,IAAUC,EAAc;AAAA,EACxB,OAAAC,IAAQC,EAAa;AAAA,EACrB,aAAAC,IAAc,CAAC,OAAO,MAAM;AAAA,EAC5B,iBAAAC,IAAkBC,EAAa;AAAA,EAC/B,gBAAgBC,IAAa;AACjC,MAEQ,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,gBAAcD;AAAA,IACd,WAAWE,EAAM,CAAC,gBAAgBC,EAAcL,CAAe,CAAC,CAAC;AAAA,IACjE,OAAO,EAAE,iBAAiB,GAAGD,EAAY,KAAK,GAAG,CAAC,IAAI,WAAW,SAASO,EAAcT,CAAK,CAAC,IAAA;AAAA,IAE7F,UAAAU,EAAaC,EAAeb,CAAO,CAAC;AAAA,EAAA;AAAA;AAIjDD,EAAgB,cAAc;"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { jsxs as S, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { IconExclamationMarkTriangle as j } from "@frontify/fondue-icons";
|
|
3
|
-
import { useFocusRing as v } from "@react-aria/focus";
|
|
4
|
-
import { useRef as D, useEffect as H } from "react";
|
|
5
|
-
import M from "react-textarea-autosize";
|
|
6
|
-
import { LoadingCircle as V, LoadingCircleSize as W } from "../LoadingCircle/LoadingCircle.es.js";
|
|
7
|
-
import { useMemoizedId as A } from "../../hooks/useMemoizedId.es.js";
|
|
8
|
-
import { FOCUS_STYLE as B } from "../../utilities/focusStyle.es.js";
|
|
9
|
-
import { merge as x } from "../../utilities/merge.es.js";
|
|
10
|
-
import { validationClassMap as K, Validation as r } from "../../utilities/validation.es.js";
|
|
11
|
-
const R = ({
|
|
12
|
-
id: d,
|
|
13
|
-
value: g,
|
|
14
|
-
required: b = !1,
|
|
15
|
-
decorator: a,
|
|
16
|
-
placeholder: h,
|
|
17
|
-
disabled: s = !1,
|
|
18
|
-
onInput: n,
|
|
19
|
-
onBlur: c,
|
|
20
|
-
validation: e = r.Default,
|
|
21
|
-
minRows: w,
|
|
22
|
-
maxRows: k,
|
|
23
|
-
autosize: m = !1,
|
|
24
|
-
resizeable: T = !0,
|
|
25
|
-
onFocus: u,
|
|
26
|
-
selectable: z = !1,
|
|
27
|
-
focusOnMount: f,
|
|
28
|
-
onEnterPressed: i,
|
|
29
|
-
...C
|
|
30
|
-
}) => {
|
|
31
|
-
const L = m ? M : "textarea", l = D(null);
|
|
32
|
-
H(() => {
|
|
33
|
-
if (f) {
|
|
34
|
-
const t = setTimeout(() => {
|
|
35
|
-
var p;
|
|
36
|
-
(p = l.current) == null || p.focus();
|
|
37
|
-
}, 0);
|
|
38
|
-
return () => clearTimeout(t);
|
|
39
|
-
}
|
|
40
|
-
}, [f]);
|
|
41
|
-
const N = (t) => {
|
|
42
|
-
t.key === "Enter" && (i == null || i(t));
|
|
43
|
-
}, y = (t) => {
|
|
44
|
-
c && c(t.target.value);
|
|
45
|
-
}, E = (t) => {
|
|
46
|
-
n && n(t.target.value);
|
|
47
|
-
}, { isFocusVisible: I, focusProps: F } = v({ isTextInput: !0, within: !0 });
|
|
48
|
-
return /* @__PURE__ */ S("div", { className: "tw-relative", ...F, children: [
|
|
49
|
-
a ? /* @__PURE__ */ o(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className: "tw-absolute tw-top-2 tw-left-2 tw-inline-flex tw-items-end tw-text-black-80",
|
|
53
|
-
"data-test-id": "decorator",
|
|
54
|
-
children: a
|
|
55
|
-
}
|
|
56
|
-
) : null,
|
|
57
|
-
/* @__PURE__ */ o(
|
|
58
|
-
L,
|
|
59
|
-
{
|
|
60
|
-
...m ? { maxRows: k, minRows: w } : { rows: w },
|
|
61
|
-
onClick: () => {
|
|
62
|
-
var t;
|
|
63
|
-
return (t = l.current) == null ? void 0 : t.focus();
|
|
64
|
-
},
|
|
65
|
-
id: A(d),
|
|
66
|
-
ref: l,
|
|
67
|
-
value: g,
|
|
68
|
-
placeholder: h,
|
|
69
|
-
required: b,
|
|
70
|
-
className: x([
|
|
71
|
-
"tw-w-full tw-p-2 tw-border tw-rounded tw-text-s tw-outline-none tw-transition tw-placeholder-black-60",
|
|
72
|
-
!!a && "tw-pl-7 ",
|
|
73
|
-
s ? "tw-border-black-5 tw-bg-black-5 tw-text-black-40" : "tw-text-black tw-border-black-20 hover:tw-border-line-x-strong focus-within:tw-border-line-xx-strong focus-within:hover:tw-border-line-xx-strong",
|
|
74
|
-
I && B,
|
|
75
|
-
K[e],
|
|
76
|
-
!T && "tw-resize-none",
|
|
77
|
-
e === r.Error && "tw-pr-8"
|
|
78
|
-
]),
|
|
79
|
-
disabled: s,
|
|
80
|
-
onBlur: y,
|
|
81
|
-
onFocus: (t) => {
|
|
82
|
-
z && t.target.select(), u && u(t);
|
|
83
|
-
},
|
|
84
|
-
onInput: E,
|
|
85
|
-
onKeyDown: N,
|
|
86
|
-
"data-test-id": "textarea",
|
|
87
|
-
...C
|
|
88
|
-
}
|
|
89
|
-
),
|
|
90
|
-
e === r.Loading && /* @__PURE__ */ o("span", { className: "tw-absolute tw-top-[-0.55rem] tw-right-[-0.55rem] tw-bg-white tw-rounded-full tw-p-[2px] tw-border tw-border-black-10", children: /* @__PURE__ */ o(V, { size: W.ExtraSmall }) }),
|
|
91
|
-
(e === r.Error || e === r.Warning) && /* @__PURE__ */ o(
|
|
92
|
-
"span",
|
|
93
|
-
{
|
|
94
|
-
className: x([
|
|
95
|
-
"tw-absolute tw-top-[0.6rem] tw-right-[0.6rem]",
|
|
96
|
-
e === r.Error && "tw-text-text-negative",
|
|
97
|
-
e === r.Warning && "tw-text-text-warning"
|
|
98
|
-
]),
|
|
99
|
-
"data-test-id": "error-state-exclamation-mark-icon",
|
|
100
|
-
children: /* @__PURE__ */ o(j, {})
|
|
101
|
-
}
|
|
102
|
-
)
|
|
103
|
-
] });
|
|
104
|
-
};
|
|
105
|
-
R.displayName = "FondueLegacyTextarea";
|
|
106
|
-
export {
|
|
107
|
-
R as LegacyTextarea
|
|
108
|
-
};
|
|
109
|
-
//# sourceMappingURL=LegacyTextarea.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegacyTextarea.es.js","sources":["../../../src/components/LegacyTextarea/LegacyTextarea.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconExclamationMarkTriangle } from '@frontify/fondue-icons';\nimport { useFocusRing } from '@react-aria/focus';\nimport {\n type AriaAttributes,\n type FocusEvent,\n type FormEvent,\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n useEffect,\n useRef,\n} from 'react';\nimport TextareaAutosize from 'react-textarea-autosize';\n\nimport { LoadingCircle, LoadingCircleSize } from '@components/LoadingCircle/LoadingCircle';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\nimport { Validation, validationClassMap } from '@utilities/validation';\n\n/**\n * @deprecated Please use updated Textarea component from `@frontify/fondue/components` instead.\n */\nexport type LegacyTextareaProps = {\n id?: string;\n value?: string;\n required?: boolean;\n decorator?: ReactNode;\n placeholder?: string;\n disabled?: boolean;\n onInput?: (value: string) => void;\n onBlur?: (value: string) => void;\n onFocus?: (e: FocusEvent<HTMLTextAreaElement>) => void;\n validation?: Validation;\n /** When autosize if false, this is used as 'rows' property for standard textarea */\n minRows?: number;\n /** When autosize if false, this property is ignored */\n maxRows?: number;\n autosize?: boolean;\n resizeable?: boolean;\n selectable?: boolean;\n focusOnMount?: boolean;\n onEnterPressed?: (event: KeyboardEvent<HTMLTextAreaElement>) => void;\n} & AriaAttributes;\n\n/**\n * @deprecated Please use updated Textarea component from `@frontify/fondue/components` instead.\n */\nexport const LegacyTextarea = ({\n id: propId,\n value,\n required = false,\n decorator,\n placeholder,\n disabled = false,\n onInput,\n onBlur,\n validation = Validation.Default,\n minRows,\n maxRows,\n autosize = false,\n resizeable = true,\n onFocus,\n selectable = false,\n focusOnMount,\n onEnterPressed,\n ...props\n}: LegacyTextareaProps): ReactElement => {\n const Component = autosize ? TextareaAutosize : 'textarea';\n\n const textareaElement = useRef<HTMLTextAreaElement | null>(null);\n\n useEffect(() => {\n if (focusOnMount) {\n const timeoutId = setTimeout(() => {\n textareaElement.current?.focus();\n }, 0);\n return () => clearTimeout(timeoutId);\n }\n }, [focusOnMount]);\n\n const onKeyDown = (event: KeyboardEvent<HTMLTextAreaElement>) => {\n if (event.key === 'Enter') {\n onEnterPressed?.(event);\n }\n };\n\n const onBlurHandler = (event: FocusEvent<HTMLTextAreaElement>) => {\n if (onBlur) {\n onBlur(event.target.value);\n }\n };\n\n const onInputHandler = (event: FormEvent<HTMLTextAreaElement>) => {\n if (onInput) {\n onInput((event.target as HTMLTextAreaElement).value);\n }\n };\n\n const { isFocusVisible, focusProps } = useFocusRing({ isTextInput: true, within: true });\n const autosizeProps = { maxRows, minRows };\n\n return (\n <div className=\"tw-relative\" {...focusProps}>\n {decorator ? (\n <div\n className=\"tw-absolute tw-top-2 tw-left-2 tw-inline-flex tw-items-end tw-text-black-80\"\n data-test-id=\"decorator\"\n >\n {decorator}\n </div>\n ) : null}\n <Component\n {...(autosize ? autosizeProps : { rows: minRows })}\n onClick={() => textareaElement.current?.focus()}\n id={useMemoizedId(propId)}\n ref={textareaElement}\n value={value}\n placeholder={placeholder}\n required={required}\n className={merge([\n 'tw-w-full tw-p-2 tw-border tw-rounded tw-text-s tw-outline-none tw-transition tw-placeholder-black-60',\n !!decorator && 'tw-pl-7 ',\n disabled\n ? 'tw-border-black-5 tw-bg-black-5 tw-text-black-40'\n : 'tw-text-black tw-border-black-20 hover:tw-border-line-x-strong focus-within:tw-border-line-xx-strong focus-within:hover:tw-border-line-xx-strong',\n isFocusVisible && FOCUS_STYLE,\n validationClassMap[validation],\n !resizeable && 'tw-resize-none',\n validation === Validation.Error && 'tw-pr-8',\n ])}\n disabled={disabled}\n onBlur={onBlurHandler}\n onFocus={(e) => {\n if (selectable) {\n e.target.select();\n }\n if (onFocus) {\n onFocus(e);\n }\n }}\n onInput={onInputHandler}\n onKeyDown={onKeyDown}\n data-test-id=\"textarea\"\n {...props}\n />\n {validation === Validation.Loading && (\n <span className=\"tw-absolute tw-top-[-0.55rem] tw-right-[-0.55rem] tw-bg-white tw-rounded-full tw-p-[2px] tw-border tw-border-black-10\">\n <LoadingCircle size={LoadingCircleSize.ExtraSmall} />\n </span>\n )}\n {(validation === Validation.Error || validation === Validation.Warning) && (\n <span\n className={merge([\n 'tw-absolute tw-top-[0.6rem] tw-right-[0.6rem]',\n validation === Validation.Error && 'tw-text-text-negative',\n validation === Validation.Warning && 'tw-text-text-warning',\n ])}\n data-test-id=\"error-state-exclamation-mark-icon\"\n >\n <IconExclamationMarkTriangle />\n </span>\n )}\n </div>\n );\n};\nLegacyTextarea.displayName = 'FondueLegacyTextarea';\n"],"names":["LegacyTextarea","propId","value","required","decorator","placeholder","disabled","onInput","onBlur","validation","Validation","minRows","maxRows","autosize","resizeable","onFocus","selectable","focusOnMount","onEnterPressed","props","Component","TextareaAutosize","textareaElement","useRef","useEffect","timeoutId","_a","onKeyDown","event","onBlurHandler","onInputHandler","isFocusVisible","focusProps","useFocusRing","jsxs","jsx","useMemoizedId","merge","FOCUS_STYLE","validationClassMap","e","LoadingCircle","LoadingCircleSize","IconExclamationMarkTriangle"],"mappings":";;;;;;;;;;AAkDO,MAAMA,IAAiB,CAAC;AAAA,EAC3B,IAAIC;AAAA,EACJ,OAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,YAAAC,IAAaC,EAAW;AAAA,EACxB,SAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AAAA,EACb,SAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,GAAGC;AACP,MAAyC;AACrC,QAAMC,IAAYP,IAAWQ,IAAmB,YAE1CC,IAAkBC,EAAmC,IAAI;AAE/D,EAAAC,EAAU,MAAM;AACZ,QAAIP,GAAc;AACd,YAAMQ,IAAY,WAAW,MAAM;;AAC/B,SAAAC,IAAAJ,EAAgB,YAAhB,QAAAI,EAAyB;AAAA,MAC7B,GAAG,CAAC;AACJ,aAAO,MAAM,aAAaD,CAAS;AAAA,IACvC;AAAA,EACJ,GAAG,CAACR,CAAY,CAAC;AAEjB,QAAMU,IAAY,CAACC,MAA8C;AAC7D,IAAIA,EAAM,QAAQ,YACdV,KAAA,QAAAA,EAAiBU;AAAA,EAEzB,GAEMC,IAAgB,CAACD,MAA2C;AAC9D,IAAIpB,KACAA,EAAOoB,EAAM,OAAO,KAAK;AAAA,EAEjC,GAEME,IAAiB,CAACF,MAA0C;AAC9D,IAAIrB,KACAA,EAASqB,EAAM,OAA+B,KAAK;AAAA,EAE3D,GAEM,EAAE,gBAAAG,GAAgB,YAAAC,EAAA,IAAeC,EAAa,EAAE,aAAa,IAAM,QAAQ,IAAM;AAGvF,SACI,gBAAAC,EAAC,OAAA,EAAI,WAAU,eAAe,GAAGF,GAC5B,UAAA;AAAA,IAAA5B,IACG,gBAAA+B;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAU;AAAA,QACV,gBAAa;AAAA,QAEZ,UAAA/B;AAAA,MAAA;AAAA,IAAA,IAEL;AAAA,IACJ,gBAAA+B;AAAA,MAACf;AAAA,MAAA;AAAA,QACI,GAAIP,IAbK,EAAE,SAAAD,GAAS,SAAAD,EAAA,IAaW,EAAE,MAAMA,EAAA;AAAA,QACxC,SAAS,MAAA;;AAAM,kBAAAe,IAAAJ,EAAgB,YAAhB,gBAAAI,EAAyB;AAAA;AAAA,QACxC,IAAIU,EAAcnC,CAAM;AAAA,QACxB,KAAKqB;AAAA,QACL,OAAApB;AAAA,QACA,aAAAG;AAAA,QACA,UAAAF;AAAA,QACA,WAAWkC,EAAM;AAAA,UACb;AAAA,UACA,CAAC,CAACjC,KAAa;AAAA,UACfE,IACM,qDACA;AAAA,UACNyB,KAAkBO;AAAA,UAClBC,EAAmB9B,CAAU;AAAA,UAC7B,CAACK,KAAc;AAAA,UACfL,MAAeC,EAAW,SAAS;AAAA,QAAA,CACtC;AAAA,QACD,UAAAJ;AAAA,QACA,QAAQuB;AAAA,QACR,SAAS,CAACW,MAAM;AACZ,UAAIxB,KACAwB,EAAE,OAAO,OAAA,GAETzB,KACAA,EAAQyB,CAAC;AAAA,QAEjB;AAAA,QACA,SAASV;AAAA,QACT,WAAAH;AAAA,QACA,gBAAa;AAAA,QACZ,GAAGR;AAAA,MAAA;AAAA,IAAA;AAAA,IAEPV,MAAeC,EAAW,WACvB,gBAAAyB,EAAC,QAAA,EAAK,WAAU,yHACZ,UAAA,gBAAAA,EAACM,GAAA,EAAc,MAAMC,EAAkB,WAAA,CAAY,GACvD;AAAA,KAEFjC,MAAeC,EAAW,SAASD,MAAeC,EAAW,YAC3D,gBAAAyB;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAWE,EAAM;AAAA,UACb;AAAA,UACA5B,MAAeC,EAAW,SAAS;AAAA,UACnCD,MAAeC,EAAW,WAAW;AAAA,QAAA,CACxC;AAAA,QACD,gBAAa;AAAA,QAEb,4BAACiC,GAAA,CAAA,CAA4B;AAAA,MAAA;AAAA,IAAA;AAAA,EACjC,GAER;AAER;AACA3C,EAAe,cAAc;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { merge as s } from "../../utilities/merge.es.js";
|
|
3
|
-
var d = /* @__PURE__ */ ((t) => (t.ExtraSmall = "ExtraSmall", t.Small = "Small", t.Medium = "Medium", t.Large = "Large", t))(d || {});
|
|
4
|
-
const l = {
|
|
5
|
-
Progress: "tw-border-violet-60",
|
|
6
|
-
Positive: "tw-border-green-60",
|
|
7
|
-
Danger: "tw-border-red-60"
|
|
8
|
-
}, o = {
|
|
9
|
-
ExtraSmall: "tw-w-4 tw-h-4",
|
|
10
|
-
Small: "tw-w-5 tw-h-5",
|
|
11
|
-
Medium: "tw-w-8 tw-h-8",
|
|
12
|
-
Large: "tw-w-16 tw-h-16"
|
|
13
|
-
}, w = ({
|
|
14
|
-
style: t = "Progress",
|
|
15
|
-
size: r = "Medium",
|
|
16
|
-
"data-test-id": e = "loading-circle"
|
|
17
|
-
}) => /* @__PURE__ */ a(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
"data-test-id": e,
|
|
21
|
-
className: s([
|
|
22
|
-
"tw-border-2 tw-border-solid tw-rounded-full tw-border-t-transparent tw-animate-spin",
|
|
23
|
-
l[t],
|
|
24
|
-
o[r]
|
|
25
|
-
])
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
w.displayName = "FondueLoadingCircle";
|
|
29
|
-
export {
|
|
30
|
-
w as LoadingCircle,
|
|
31
|
-
d as LoadingCircleSize
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=LoadingCircle.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingCircle.es.js","sources":["../../../src/components/LoadingCircle/LoadingCircle.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement } from 'react';\n\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nenum LoadingCircleStyle {\n Progress = 'Progress',\n Positive = 'Positive',\n Danger = 'Danger',\n}\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nexport enum LoadingCircleSize {\n ExtraSmall = 'ExtraSmall',\n Small = 'Small',\n Medium = 'Medium',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nexport type LoadingCircleProps = {\n style?: LoadingCircleStyle;\n size?: LoadingCircleSize;\n 'data-test-id'?: string;\n};\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nconst statusClasses: Record<LoadingCircleStyle, string> = {\n [LoadingCircleStyle.Progress]: 'tw-border-violet-60',\n [LoadingCircleStyle.Positive]: 'tw-border-green-60',\n [LoadingCircleStyle.Danger]: 'tw-border-red-60',\n};\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nconst sizeClasses: Record<LoadingCircleSize, string> = {\n [LoadingCircleSize.ExtraSmall]: 'tw-w-4 tw-h-4',\n [LoadingCircleSize.Small]: 'tw-w-5 tw-h-5',\n [LoadingCircleSize.Medium]: 'tw-w-8 tw-h-8',\n [LoadingCircleSize.Large]: 'tw-w-16 tw-h-16',\n};\n\n/**\n * @deprecated Please use updated LoadingCircle component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#loading-circle the migration guide}.\n */\nexport const LoadingCircle = ({\n style = LoadingCircleStyle.Progress,\n size = LoadingCircleSize.Medium,\n 'data-test-id': dataTestId = 'loading-circle',\n}: LoadingCircleProps): ReactElement => {\n return (\n <div\n data-test-id={dataTestId}\n className={merge([\n 'tw-border-2 tw-border-solid tw-rounded-full tw-border-t-transparent tw-animate-spin',\n statusClasses[style],\n sizeClasses[size],\n ])}\n ></div>\n );\n};\nLoadingCircle.displayName = 'FondueLoadingCircle';\n"],"names":["LoadingCircleSize","statusClasses","sizeClasses","LoadingCircle","style","size","dataTestId","jsx","merge"],"mappings":";;AAkBO,IAAKA,sBAAAA,OACRA,EAAA,aAAa,cACbA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAJAA,IAAAA,KAAA,CAAA,CAAA;AAmBZ,MAAMC,IAAoD;AAAA,EACrD,UAA8B;AAAA,EAC9B,UAA8B;AAAA,EAC9B,QAA4B;AACjC,GAKMC,IAAiD;AAAA,EAClD,YAA+B;AAAA,EAC/B,OAA0B;AAAA,EAC1B,QAA2B;AAAA,EAC3B,OAA0B;AAC/B,GAKaC,IAAgB,CAAC;AAAA,EAC1B,OAAAC,IAAQ;AAAA,EACR,MAAAC,IAAO;AAAA,EACP,gBAAgBC,IAAa;AACjC,MAEQ,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,gBAAcD;AAAA,IACd,WAAWE,EAAM;AAAA,MACb;AAAA,MACAP,EAAcG,CAAK;AAAA,MACnBF,EAAYG,CAAI;AAAA,IAAA,CACnB;AAAA,EAAA;AAAA;AAIbF,EAAc,cAAc;"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useState as u, useCallback as M, useEffect as a } from "react";
|
|
3
|
-
import { usePopper as y } from "react-popper";
|
|
4
|
-
import { useMenuKeyboardNavigation as A } from "./useMenuKeyboardNavigation.es.js";
|
|
5
|
-
import { useClickOutside as v } from "../../hooks/useClickOutside.es.js";
|
|
6
|
-
import { INSET_BORDER as C } from "../../utilities/borderStyle.es.js";
|
|
7
|
-
import { merge as f } from "../../utilities/merge.es.js";
|
|
8
|
-
const I = "tw-relative tw-bg-base tw-rounded tw-py-2 tw-shadow-mid tw-z-[120000]", _ = f([I, C]), h = ({
|
|
9
|
-
triggerRef: s,
|
|
10
|
-
children: c,
|
|
11
|
-
open: o = !0,
|
|
12
|
-
offset: b = [0, 8],
|
|
13
|
-
onClose: n,
|
|
14
|
-
"data-test-id": E = "menu"
|
|
15
|
-
}) => {
|
|
16
|
-
const [t, r] = u(o), [e, N] = u(null), [m, w] = u(null), O = M(() => {
|
|
17
|
-
e && t && (r(!1), n && n());
|
|
18
|
-
}, [e, t, n]), { dismissibleElementRef: S } = v(O, [
|
|
19
|
-
e
|
|
20
|
-
]), p = A(
|
|
21
|
-
t,
|
|
22
|
-
m,
|
|
23
|
-
"li > a, li > button:not(:disabled)"
|
|
24
|
-
), i = y(e, m, {
|
|
25
|
-
placement: "bottom-start",
|
|
26
|
-
strategy: "fixed",
|
|
27
|
-
modifiers: [
|
|
28
|
-
{
|
|
29
|
-
name: "flip",
|
|
30
|
-
enabled: !0
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
name: "offset",
|
|
34
|
-
options: {
|
|
35
|
-
offset: b
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
});
|
|
40
|
-
return a(() => {
|
|
41
|
-
const d = s == null ? void 0 : s.current;
|
|
42
|
-
d && N(d);
|
|
43
|
-
}, [s]), a(() => {
|
|
44
|
-
r(o);
|
|
45
|
-
}, [o]), a(() => {
|
|
46
|
-
t && i.update && i.update();
|
|
47
|
-
}, [t]), a(() => {
|
|
48
|
-
p === "CLOSE_MENU" && e && (r(!1), n && n());
|
|
49
|
-
}, [p, n, e]), /* @__PURE__ */ l(
|
|
50
|
-
"nav",
|
|
51
|
-
{
|
|
52
|
-
className: f([_, t ? "tw-block" : "tw-hidden"]),
|
|
53
|
-
ref: w,
|
|
54
|
-
style: e ? i.styles.popper : {},
|
|
55
|
-
...e ? i.attributes.popper : {},
|
|
56
|
-
"data-test-id": E,
|
|
57
|
-
role: t ? "navigation" : "",
|
|
58
|
-
children: /* @__PURE__ */ l("ol", { ref: S, className: "tw-list-none", children: c })
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
h.displayName = "FondueMenu";
|
|
63
|
-
export {
|
|
64
|
-
h as Menu
|
|
65
|
-
};
|
|
66
|
-
//# sourceMappingURL=Menu.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.es.js","sources":["../../../src/components/Menu/Menu.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactNode, type RefObject, useCallback, useEffect, useState } from 'react';\nimport { usePopper } from 'react-popper';\n\nimport { useMenuKeyboardNavigation } from '@components/Menu/useMenuKeyboardNavigation';\nimport { useClickOutside } from '@hooks/useClickOutside';\nimport { INSET_BORDER } from '@utilities/borderStyle';\nimport { merge } from '@utilities/merge';\n\ninterface Props {\n triggerRef?: RefObject<Element>;\n open?: boolean;\n children?: ReactNode | ReactNode[];\n onClose?: () => void;\n offset?: [number, number];\n 'data-test-id'?: string;\n}\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport type MenuProps = Props;\n\nconst CONTAINER_BASE_CLASSES = 'tw-relative tw-bg-base tw-rounded tw-py-2 tw-shadow-mid tw-z-[120000]';\nconst CONTAINER_CLASSES = merge([CONTAINER_BASE_CLASSES, INSET_BORDER]);\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport const Menu = ({\n triggerRef,\n children,\n open = true,\n offset = [0, 8],\n onClose,\n 'data-test-id': dataTestId = 'menu',\n}: MenuProps) => {\n const [isMenuOpen, setIsMenuOpen] = useState(open);\n const [menuOpenerRef, setMenuOpenerRef] = useState<HTMLElement | null>(null);\n const [menuContainerRef, setMenuContainerRef] = useState<HTMLElement | null>(null);\n\n const handleClickOutside = useCallback(() => {\n if (menuOpenerRef && isMenuOpen) {\n setIsMenuOpen(false);\n if (onClose) {\n onClose();\n }\n }\n }, [menuOpenerRef, isMenuOpen, onClose]);\n\n const { dismissibleElementRef } = useClickOutside<HTMLOListElement>(handleClickOutside, [\n menuOpenerRef as HTMLElement,\n ]);\n\n const menuKeyboardNavigationAction = useMenuKeyboardNavigation(\n isMenuOpen,\n menuContainerRef,\n 'li > a, li > button:not(:disabled)',\n );\n\n const popperInstance = usePopper(menuOpenerRef, menuContainerRef, {\n placement: 'bottom-start',\n strategy: 'fixed',\n modifiers: [\n {\n name: 'flip',\n enabled: true,\n },\n {\n name: 'offset',\n options: {\n offset,\n },\n },\n ],\n });\n\n useEffect(() => {\n const trigger = triggerRef?.current;\n\n if (trigger) {\n setMenuOpenerRef(trigger as HTMLElement);\n }\n }, [triggerRef]);\n\n useEffect(() => {\n setIsMenuOpen(open);\n }, [open]);\n\n useEffect(() => {\n if (isMenuOpen && popperInstance.update) {\n popperInstance.update();\n }\n // eslint-disable-next-line @eslint-react/exhaustive-deps\n }, [isMenuOpen]);\n\n useEffect(() => {\n if (menuKeyboardNavigationAction === 'CLOSE_MENU' && menuOpenerRef) {\n setIsMenuOpen(false);\n if (onClose) {\n onClose();\n }\n }\n }, [menuKeyboardNavigationAction, onClose, menuOpenerRef]);\n\n return (\n <nav\n className={merge([CONTAINER_CLASSES, isMenuOpen ? 'tw-block' : 'tw-hidden'])}\n ref={setMenuContainerRef}\n style={menuOpenerRef ? popperInstance.styles.popper : {}}\n {...(menuOpenerRef ? popperInstance.attributes.popper : {})}\n data-test-id={dataTestId}\n role={isMenuOpen ? 'navigation' : ''}\n >\n <ol ref={dismissibleElementRef} className=\"tw-list-none\">\n {children}\n </ol>\n </nav>\n );\n};\nMenu.displayName = 'FondueMenu';\n"],"names":["CONTAINER_BASE_CLASSES","CONTAINER_CLASSES","merge","INSET_BORDER","Menu","triggerRef","children","open","offset","onClose","dataTestId","isMenuOpen","setIsMenuOpen","useState","menuOpenerRef","setMenuOpenerRef","menuContainerRef","setMenuContainerRef","handleClickOutside","useCallback","dismissibleElementRef","useClickOutside","menuKeyboardNavigationAction","useMenuKeyboardNavigation","popperInstance","usePopper","useEffect","trigger","jsx"],"mappings":";;;;;;;AAwBA,MAAMA,IAAyB,yEACzBC,IAAoBC,EAAM,CAACF,GAAwBG,CAAY,CAAC,GAKzDC,IAAO,CAAC;AAAA,EACjB,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,QAAAC,IAAS,CAAC,GAAG,CAAC;AAAA,EACd,SAAAC;AAAA,EACA,gBAAgBC,IAAa;AACjC,MAAiB;AACb,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAASN,CAAI,GAC3C,CAACO,GAAeC,CAAgB,IAAIF,EAA6B,IAAI,GACrE,CAACG,GAAkBC,CAAmB,IAAIJ,EAA6B,IAAI,GAE3EK,IAAqBC,EAAY,MAAM;AACzC,IAAIL,KAAiBH,MACjBC,EAAc,EAAK,GACfH,KACAA,EAAA;AAAA,EAGZ,GAAG,CAACK,GAAeH,GAAYF,CAAO,CAAC,GAEjC,EAAE,uBAAAW,EAAA,IAA0BC,EAAkCH,GAAoB;AAAA,IACpFJ;AAAA,EAAA,CACH,GAEKQ,IAA+BC;AAAA,IACjCZ;AAAA,IACAK;AAAA,IACA;AAAA,EAAA,GAGEQ,IAAiBC,EAAUX,GAAeE,GAAkB;AAAA,IAC9D,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,MACP;AAAA,QACI,MAAM;AAAA,QACN,SAAS;AAAA,MAAA;AAAA,MAEb;AAAA,QACI,MAAM;AAAA,QACN,SAAS;AAAA,UACL,QAAAR;AAAA,QAAA;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ,CACH;AAED,SAAAkB,EAAU,MAAM;AACZ,UAAMC,IAAUtB,KAAA,gBAAAA,EAAY;AAE5B,IAAIsB,KACAZ,EAAiBY,CAAsB;AAAA,EAE/C,GAAG,CAACtB,CAAU,CAAC,GAEfqB,EAAU,MAAM;AACZ,IAAAd,EAAcL,CAAI;AAAA,EACtB,GAAG,CAACA,CAAI,CAAC,GAETmB,EAAU,MAAM;AACZ,IAAIf,KAAca,EAAe,UAC7BA,EAAe,OAAA;AAAA,EAGvB,GAAG,CAACb,CAAU,CAAC,GAEfe,EAAU,MAAM;AACZ,IAAIJ,MAAiC,gBAAgBR,MACjDF,EAAc,EAAK,GACfH,KACAA,EAAA;AAAA,EAGZ,GAAG,CAACa,GAA8Bb,GAASK,CAAa,CAAC,GAGrD,gBAAAc;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAW1B,EAAM,CAACD,GAAmBU,IAAa,aAAa,WAAW,CAAC;AAAA,MAC3E,KAAKM;AAAA,MACL,OAAOH,IAAgBU,EAAe,OAAO,SAAS,CAAA;AAAA,MACrD,GAAIV,IAAgBU,EAAe,WAAW,SAAS,CAAA;AAAA,MACxD,gBAAcd;AAAA,MACd,MAAMC,IAAa,eAAe;AAAA,MAElC,4BAAC,MAAA,EAAG,KAAKS,GAAuB,WAAU,gBACrC,UAAAd,EAAA,CACL;AAAA,IAAA;AAAA,EAAA;AAGZ;AACAF,EAAK,cAAc;"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { useState as a, useCallback as k, useEffect as c } from "react";
|
|
2
|
-
const E = (r, i, f = "li > button:not(:disabled)") => {
|
|
3
|
-
const [s, n] = a(0), [o, l] = a(), [h, u] = a(""), y = k(
|
|
4
|
-
(t) => {
|
|
5
|
-
if (!o || !["Tab", "ArrowDown", "ArrowUp", "Escape"].includes(t.key))
|
|
6
|
-
return;
|
|
7
|
-
const e = t.key === "Tab" && !t.shiftKey, b = t.key === "Tab" && t.shiftKey, d = t.key === "Escape", m = e || t.key === "ArrowDown", w = b || t.key === "ArrowUp";
|
|
8
|
-
if (b && s <= 0 || e && s >= o.length - 1 || d) {
|
|
9
|
-
u("CLOSE_MENU");
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
m ? n(Math.min(s + 1, o.length - 1)) : w && n(Math.max(s - 1, 0)), t.preventDefault();
|
|
13
|
-
},
|
|
14
|
-
[o, s]
|
|
15
|
-
);
|
|
16
|
-
return c(() => {
|
|
17
|
-
if (!r || !i)
|
|
18
|
-
return;
|
|
19
|
-
const t = i.querySelectorAll(f);
|
|
20
|
-
for (const e of t)
|
|
21
|
-
e.onkeydown = y;
|
|
22
|
-
!o && t.length > 0 && l(t);
|
|
23
|
-
}, [r, i, o, y, f]), c(() => {
|
|
24
|
-
o && o[s] && o[s].focus();
|
|
25
|
-
}, [s, o]), c(() => {
|
|
26
|
-
r || (l(void 0), u("")), n(0);
|
|
27
|
-
}, [r]), h;
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
E as useMenuKeyboardNavigation
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=useMenuKeyboardNavigation.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuKeyboardNavigation.es.js","sources":["../../../src/components/Menu/useMenuKeyboardNavigation.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useCallback, useEffect, useState } from 'react';\n\n/**\n * @deprecated Please use custom keyboard navigation instead.\n */\nexport const useMenuKeyboardNavigation = (\n isMenuOpened: boolean,\n menuContainerRef: HTMLElement | null,\n focusableElementsSelector = 'li > button:not(:disabled)',\n) => {\n const [currentItemIndex, setCurrentItemIndex] = useState(0);\n const [itemsElements, setItemsElements] = useState<NodeList>();\n const [menuKeyboardNavigationAction, setMenuKeyboardNavigationAction] = useState('');\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (!itemsElements || !['Tab', 'ArrowDown', 'ArrowUp', 'Escape'].includes(event.key)) {\n return;\n }\n\n const isTab = event.key === 'Tab' && !event.shiftKey;\n const isShiftTab = event.key === 'Tab' && event.shiftKey;\n const isEsc = event.key === 'Escape';\n const shouldMoveDown = isTab || event.key === 'ArrowDown';\n const shouldMoveUp = isShiftTab || event.key === 'ArrowUp';\n\n if (\n (isShiftTab && currentItemIndex <= 0) ||\n (isTab && currentItemIndex >= itemsElements.length - 1) ||\n isEsc\n ) {\n setMenuKeyboardNavigationAction('CLOSE_MENU');\n return;\n }\n\n if (shouldMoveDown) {\n setCurrentItemIndex(Math.min(currentItemIndex + 1, itemsElements.length - 1));\n } else if (shouldMoveUp) {\n setCurrentItemIndex(Math.max(currentItemIndex - 1, 0));\n }\n\n event.preventDefault();\n },\n [itemsElements, currentItemIndex],\n );\n\n useEffect(() => {\n if (!isMenuOpened || !menuContainerRef) {\n return;\n }\n\n const focusableItems = menuContainerRef.querySelectorAll(focusableElementsSelector);\n for (const item of focusableItems) {\n (item as HTMLButtonElement | HTMLAnchorElement).onkeydown = handleKeyDown;\n }\n\n if (!itemsElements && focusableItems.length > 0) {\n // eslint-disable-next-line @eslint-react/set-state-in-effect\n setItemsElements(focusableItems);\n }\n }, [isMenuOpened, menuContainerRef, itemsElements, handleKeyDown, focusableElementsSelector]);\n\n useEffect(() => {\n if (!itemsElements) {\n return;\n }\n\n if (itemsElements[currentItemIndex]) {\n (itemsElements[currentItemIndex] as HTMLButtonElement | HTMLAnchorElement).focus();\n }\n }, [currentItemIndex, itemsElements]);\n\n useEffect(() => {\n if (!isMenuOpened) {\n // eslint-disable-next-line @eslint-react/set-state-in-effect\n setItemsElements(undefined);\n setMenuKeyboardNavigationAction('');\n }\n\n setCurrentItemIndex(0);\n }, [isMenuOpened]);\n\n return menuKeyboardNavigationAction;\n};\n"],"names":["useMenuKeyboardNavigation","isMenuOpened","menuContainerRef","focusableElementsSelector","currentItemIndex","setCurrentItemIndex","useState","itemsElements","setItemsElements","menuKeyboardNavigationAction","setMenuKeyboardNavigationAction","handleKeyDown","useCallback","event","isTab","isShiftTab","isEsc","shouldMoveDown","shouldMoveUp","useEffect","focusableItems","item"],"mappings":";AAOO,MAAMA,IAA4B,CACrCC,GACAC,GACAC,IAA4B,iCAC3B;AACD,QAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAS,CAAC,GACpD,CAACC,GAAeC,CAAgB,IAAIF,EAAA,GACpC,CAACG,GAA8BC,CAA+B,IAAIJ,EAAS,EAAE,GAE7EK,IAAgBC;AAAA,IAClB,CAACC,MAAyB;AACtB,UAAI,CAACN,KAAiB,CAAC,CAAC,OAAO,aAAa,WAAW,QAAQ,EAAE,SAASM,EAAM,GAAG;AAC/E;AAGJ,YAAMC,IAAQD,EAAM,QAAQ,SAAS,CAACA,EAAM,UACtCE,IAAaF,EAAM,QAAQ,SAASA,EAAM,UAC1CG,IAAQH,EAAM,QAAQ,UACtBI,IAAiBH,KAASD,EAAM,QAAQ,aACxCK,IAAeH,KAAcF,EAAM,QAAQ;AAEjD,UACKE,KAAcX,KAAoB,KAClCU,KAASV,KAAoBG,EAAc,SAAS,KACrDS,GACF;AACE,QAAAN,EAAgC,YAAY;AAC5C;AAAA,MACJ;AAEA,MAAIO,IACAZ,EAAoB,KAAK,IAAID,IAAmB,GAAGG,EAAc,SAAS,CAAC,CAAC,IACrEW,KACPb,EAAoB,KAAK,IAAID,IAAmB,GAAG,CAAC,CAAC,GAGzDS,EAAM,eAAA;AAAA,IACV;AAAA,IACA,CAACN,GAAeH,CAAgB;AAAA,EAAA;AAGpC,SAAAe,EAAU,MAAM;AACZ,QAAI,CAAClB,KAAgB,CAACC;AAClB;AAGJ,UAAMkB,IAAiBlB,EAAiB,iBAAiBC,CAAyB;AAClF,eAAWkB,KAAQD;AACd,MAAAC,EAA+C,YAAYV;AAGhE,IAAI,CAACJ,KAAiBa,EAAe,SAAS,KAE1CZ,EAAiBY,CAAc;AAAA,EAEvC,GAAG,CAACnB,GAAcC,GAAkBK,GAAeI,GAAeR,CAAyB,CAAC,GAE5FgB,EAAU,MAAM;AACZ,IAAKZ,KAIDA,EAAcH,CAAgB,KAC7BG,EAAcH,CAAgB,EAA4C,MAAA;AAAA,EAEnF,GAAG,CAACA,GAAkBG,CAAa,CAAC,GAEpCY,EAAU,MAAM;AACZ,IAAKlB,MAEDO,EAAiB,MAAS,GAC1BE,EAAgC,EAAE,IAGtCL,EAAoB,CAAC;AAAA,EACzB,GAAG,CAACJ,CAAY,CAAC,GAEVQ;AACX;"}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as p, Fragment as k } from "react/jsx-runtime";
|
|
2
|
-
import { IconCheckMark as H, IconCaretRight as W } from "@frontify/fondue-icons";
|
|
3
|
-
import { useFocusRing as z } from "@react-aria/focus";
|
|
4
|
-
import { MenuItemContent as O } from "./MenuItemContent.es.js";
|
|
5
|
-
import { getItemElementType as V } from "../../utilities/elements.es.js";
|
|
6
|
-
import { FOCUS_STYLE_NO_OFFSET as D } from "../../utilities/focusStyle.es.js";
|
|
7
|
-
import { merge as r } from "../../utilities/merge.es.js";
|
|
8
|
-
import { MenuItemContentSize as n, SelectionIndicatorIcon as i, MenuItemStyle as e } from "./types.es.js";
|
|
9
|
-
const X = {
|
|
10
|
-
[n.XSmall]: "tw-px-5 tw-py-2 tw-min-h-[36px]",
|
|
11
|
-
[n.Small]: "tw-px-5 tw-py-2.5 tw-min-h-[36px]",
|
|
12
|
-
[n.Large]: "tw-px-5 tw-py-3 tw-min-h-[60px]"
|
|
13
|
-
}, $ = {
|
|
14
|
-
[e.Primary]: {
|
|
15
|
-
Default: "tw-text-text-x-weak",
|
|
16
|
-
Active: "tw-text-text",
|
|
17
|
-
Disabled: "tw-text-text-disabled"
|
|
18
|
-
},
|
|
19
|
-
[e.Danger]: {
|
|
20
|
-
Default: "tw-text-red-60",
|
|
21
|
-
Active: "tw-text-red-70",
|
|
22
|
-
Disabled: "tw-text-text-disabled"
|
|
23
|
-
},
|
|
24
|
-
[e.Warning]: {
|
|
25
|
-
Default: "tw-text-text-warning",
|
|
26
|
-
Active: "tw-text-yellow-90",
|
|
27
|
-
Disabled: "tw-text-text-disabled"
|
|
28
|
-
}
|
|
29
|
-
}, K = {
|
|
30
|
-
[e.Primary]: "hover:tw-text-text",
|
|
31
|
-
[e.Danger]: "hover:tw-text-text-negative",
|
|
32
|
-
[e.Warning]: "hover:tw-text-text-warning"
|
|
33
|
-
}, _ = "tw-cursor-pointer tw-flex tw-items-center tw-justify-between tw-transition-colors tw-gap-2", U = "hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover", d = r(["tw-w-full tw-text-left tw-py-2 tw-px-5 tw-rounded", U]), Y = "tw-bg-box-selected", q = ({
|
|
34
|
-
title: A,
|
|
35
|
-
decorator: N,
|
|
36
|
-
switchComponent: R,
|
|
37
|
-
subtitle: M,
|
|
38
|
-
size: o = n.Small,
|
|
39
|
-
style: u = e.Primary,
|
|
40
|
-
disabled: m = !1,
|
|
41
|
-
active: s = !1,
|
|
42
|
-
checked: T = !1,
|
|
43
|
-
selectionIndicator: F = i.Check,
|
|
44
|
-
children: a,
|
|
45
|
-
link: S,
|
|
46
|
-
onBlur: f,
|
|
47
|
-
onClick: l,
|
|
48
|
-
onFocus: g,
|
|
49
|
-
onMouseEnter: b,
|
|
50
|
-
onMouseOut: I,
|
|
51
|
-
onMouseOver: h,
|
|
52
|
-
onMouseLeave: C,
|
|
53
|
-
"data-test-id": w = "menu-item",
|
|
54
|
-
type: L
|
|
55
|
-
}) => {
|
|
56
|
-
const E = o === n.XSmall ? 16 : 20, P = {
|
|
57
|
-
[i.CaretRight]: /* @__PURE__ */ t(W, { "data-test-id": `${w}-caret`, size: E }),
|
|
58
|
-
[i.Check]: s && /* @__PURE__ */ t(H, { "data-test-id": `${w}-active`, size: E }),
|
|
59
|
-
[i.None]: null
|
|
60
|
-
}[F], { isFocusVisible: v, focusProps: y } = z();
|
|
61
|
-
let x = "Default";
|
|
62
|
-
m ? x = "Disabled" : s && (x = "Active");
|
|
63
|
-
const j = $[u][x], c = V(S, l);
|
|
64
|
-
return /* @__PURE__ */ p(k, { children: [
|
|
65
|
-
a ? /* @__PURE__ */ p(
|
|
66
|
-
"li",
|
|
67
|
-
{
|
|
68
|
-
"data-test-id": w,
|
|
69
|
-
"data-type": L,
|
|
70
|
-
role: "menuitem",
|
|
71
|
-
className: r([
|
|
72
|
-
"tw-text-sm tw-leading-4 tw-text-text-weak",
|
|
73
|
-
_,
|
|
74
|
-
T ? Y : ""
|
|
75
|
-
]),
|
|
76
|
-
children: [
|
|
77
|
-
c === "a" && /* @__PURE__ */ t(
|
|
78
|
-
"a",
|
|
79
|
-
{
|
|
80
|
-
href: S,
|
|
81
|
-
className: r([d, v && D]),
|
|
82
|
-
onBlur: f,
|
|
83
|
-
onClick: l,
|
|
84
|
-
onFocus: g,
|
|
85
|
-
onMouseEnter: b,
|
|
86
|
-
onMouseLeave: C,
|
|
87
|
-
onMouseOut: I,
|
|
88
|
-
onMouseOver: h,
|
|
89
|
-
...y,
|
|
90
|
-
children: a
|
|
91
|
-
}
|
|
92
|
-
),
|
|
93
|
-
c === "button" && /* @__PURE__ */ t(
|
|
94
|
-
"button",
|
|
95
|
-
{
|
|
96
|
-
type: "button",
|
|
97
|
-
disabled: m,
|
|
98
|
-
className: r([d, v && D]),
|
|
99
|
-
onBlur: f,
|
|
100
|
-
onClick: l,
|
|
101
|
-
onFocus: g,
|
|
102
|
-
onMouseEnter: b,
|
|
103
|
-
onMouseLeave: C,
|
|
104
|
-
onMouseOut: I,
|
|
105
|
-
onMouseOver: h,
|
|
106
|
-
...y,
|
|
107
|
-
children: a
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
c === "span" && /* @__PURE__ */ t("span", { className: d, children: a })
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
) : null,
|
|
114
|
-
!a && /* @__PURE__ */ p(
|
|
115
|
-
"div",
|
|
116
|
-
{
|
|
117
|
-
className: r([
|
|
118
|
-
_,
|
|
119
|
-
K[u],
|
|
120
|
-
X[o],
|
|
121
|
-
m && "tw-bg-box-disabled tw-pointer-events-none",
|
|
122
|
-
s && "tw-font-medium",
|
|
123
|
-
j
|
|
124
|
-
]),
|
|
125
|
-
children: [
|
|
126
|
-
/* @__PURE__ */ t(
|
|
127
|
-
O,
|
|
128
|
-
{
|
|
129
|
-
title: A,
|
|
130
|
-
decorator: N,
|
|
131
|
-
subtitle: o === n.Large ? M : void 0,
|
|
132
|
-
size: o,
|
|
133
|
-
switchComponent: R
|
|
134
|
-
}
|
|
135
|
-
),
|
|
136
|
-
/* @__PURE__ */ t("div", { className: "tw-flex-none", children: P })
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
)
|
|
140
|
-
] });
|
|
141
|
-
};
|
|
142
|
-
q.displayName = "FondueMenuItem";
|
|
143
|
-
export {
|
|
144
|
-
q as MenuItem,
|
|
145
|
-
$ as menuItemTextColorRecord
|
|
146
|
-
};
|
|
147
|
-
//# sourceMappingURL=MenuItem.es.js.map
|