@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.es.js","sources":["../../../src/components/Switch/Switch.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useFocusRing } from '@react-aria/focus';\nimport { type MouseEvent, type ReactElement, useMemo } from 'react';\n\nimport { InputLabel, type InputLabelTooltipProps } from '@components/InputLabel/InputLabel';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Use `Switch` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#switch the migration guide}.\n */\nexport type SwitchSize = 'small' | 'medium';\n\n/**\n * @deprecated Use `Switch` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#switch the migration guide}.\n */\nexport type SwitchMode = 'on' | 'off' | 'indeterminate';\n\nconst trackSizeClasses: Record<SwitchSize, string> = {\n small: 'tw-w-[22px] tw-h-3',\n medium: 'tw-w-[30px] tw-h-4',\n};\n\nconst dotSizeClasses: Record<SwitchSize, Record<'dimensions' | 'activeWidth' | 'activeTranslation', string>> = {\n small: {\n dimensions: 'tw-w-3 tw-h-3',\n activeWidth: 'group-active:tw-w-[14px]',\n activeTranslation: 'tw-translate-x-[9px]',\n },\n medium: {\n dimensions: 'tw-w-4 tw-h-4',\n activeWidth: 'group-active:tw-w-[18px]',\n activeTranslation: 'tw-translate-x-[13px]',\n },\n};\n\nconst indeterminateLineClasses = 'tw-w-2 tw-h-px';\n\n/**\n * @deprecated Use `Switch` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#switch the migration guide}.\n */\nexport type SwitchProps = {\n id?: string;\n mode?: SwitchMode;\n disabled?: boolean;\n label?: string;\n labelStyle?: string;\n name?: string;\n size?: SwitchSize;\n hug?: boolean;\n tooltip?: InputLabelTooltipProps;\n ariaLabel?: string;\n onChange?: (e: MouseEvent) => void;\n 'data-test-id'?: string;\n};\n\n/**\n * @deprecated Use `Switch` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#switch the migration guide}.\n */\nexport const Switch = ({\n id: propId,\n name,\n label,\n disabled,\n onChange,\n size = 'medium',\n mode = 'off',\n labelStyle = 'default',\n ariaLabel,\n hug = false,\n tooltip,\n 'data-test-id': dataTestId = 'switch',\n}: SwitchProps): ReactElement => {\n const id = useMemoizedId(propId);\n const { isFocusVisible, focusProps } = useFocusRing();\n\n // The track on which the dot moves\n const trackClasses = useMemo(() => {\n const baseClasses = 'tw-group tw-border tw-inline-flex tw-rounded-full tw-shrink-0 tw-p-0 tw-transition-colors';\n\n const trueOrFalseValueClasses =\n mode === 'on'\n ? 'tw-bg-text-weak tw-border-line-xx-strong hover:tw-bg-text'\n : 'tw-bg-box-neutral tw-border-line-x-strong hover:tw-bg-box-neutral-hover';\n\n const valueClasses =\n mode === 'indeterminate'\n ? 'tw-bg-text-weak tw-flex tw-items-center tw-justify-center hover:tw-bg-text'\n : trueOrFalseValueClasses;\n\n const trueOrFalseDisabledClasses = disabled\n ? 'tw-bg-box-disabled tw-border-line tw-pointer-events-none'\n : valueClasses;\n\n const disabledClasses =\n disabled && mode === 'indeterminate'\n ? 'tw-flex tw-items-center tw-justify-center tw-bg-box-disabled tw-border-line tw-pointer-events-none'\n : trueOrFalseDisabledClasses;\n\n return merge([baseClasses, disabledClasses, trackSizeClasses[size], isFocusVisible && FOCUS_STYLE]);\n }, [mode, disabled, size, isFocusVisible]);\n\n // Responsible for the left-right translation\n const dotWrapperClasses = useMemo(() => {\n const baseClasses = 'tw-relative tw-self-center tw-transition-transform';\n\n const trueOrFalseValueClasses = mode === 'on' ? dotSizeClasses[size].activeTranslation : '';\n\n const valueClasses = mode === 'indeterminate' ? 'tw-bg-base' : trueOrFalseValueClasses;\n\n const disabledClasses = disabled && mode === 'indeterminate' ? 'tw-bg-text-disabled' : valueClasses;\n\n return merge([\n baseClasses,\n mode === 'indeterminate' ? indeterminateLineClasses : dotSizeClasses[size].dimensions,\n disabledClasses,\n ]);\n }, [disabled, mode, size]);\n\n // Responsible for dot styling and width animation on hover\n const dotClasses = useMemo(() => {\n const baseClasses =\n 'tw-border tw-bg-base tw-rounded-full tw-absolute tw-block tw-self-center tw-transition-width tw-duration-75';\n\n const trueOrFalseValueClasses = mode === 'on' ? 'tw-right-0 tw-translate-x-px' : 'tw-left-0';\n\n const valueClasses = mode === 'indeterminate' ? 'tw-hidden' : trueOrFalseValueClasses;\n\n const disabledStateClasses = disabled\n ? 'tw-border-line-strong'\n : merge(['tw-bg-base tw-border-line-xx-strong', dotSizeClasses[size].activeWidth]);\n\n return merge([\n baseClasses,\n mode === 'indeterminate' ? indeterminateLineClasses : dotSizeClasses[size].dimensions,\n valueClasses,\n disabledStateClasses,\n ]);\n }, [mode, disabled, size]);\n\n // Wraps the InputLabel instance and switch element\n const containerClasses = useMemo(\n () => merge(['tw-gap-2 tw-items-center tw-justify-between', hug ? 'tw-inline-flex' : 'tw-flex']),\n [hug],\n );\n\n return (\n <div className={containerClasses} data-test-id={`${dataTestId}-container`}>\n {label && (\n <InputLabel clickable id={`${id}-label`} htmlFor={id} disabled={disabled} tooltip={tooltip}>\n <span\n data-test-id={`${dataTestId}-label-wrapper`}\n className={\n labelStyle === 'default' ? 'tw-font-medium tw-text-text-weak' : 'tw-font-bold tw-text-text'\n }\n >\n {label}\n </span>\n </InputLabel>\n )}\n <button\n {...focusProps}\n id={id}\n disabled={disabled}\n name={name}\n data-test-id={dataTestId}\n className={trackClasses}\n value={mode}\n onClick={onChange}\n type=\"button\"\n role=\"switch\"\n aria-checked={mode === 'on'}\n aria-label={ariaLabel}\n aria-labelledby={label ? `${id}-label` : undefined}\n >\n <div className={dotWrapperClasses}>\n <div className={dotClasses} />\n </div>\n </button>\n </div>\n );\n};\nSwitch.displayName = 'FondueSwitch';\n"],"names":["trackSizeClasses","dotSizeClasses","indeterminateLineClasses","Switch","propId","name","label","disabled","onChange","size","mode","labelStyle","ariaLabel","hug","tooltip","dataTestId","id","useMemoizedId","isFocusVisible","focusProps","useFocusRing","trackClasses","useMemo","merge","FOCUS_STYLE","dotWrapperClasses","baseClasses","trueOrFalseValueClasses","disabledClasses","dotClasses","valueClasses","disabledStateClasses","containerClasses","jsx","InputLabel"],"mappings":"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"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { IconCross as a } from "@frontify/fondue-icons";
|
|
3
|
-
import { useButton as b } from "@react-aria/button";
|
|
4
|
-
import { useFocusRing as m } from "@react-aria/focus";
|
|
5
|
-
import { mergeProps as x } from "@react-aria/utils";
|
|
6
|
-
import { useRef as g } from "react";
|
|
7
|
-
import { FOCUS_STYLE as v } from "../../utilities/focusStyle.es.js";
|
|
8
|
-
import { merge as p } from "../../utilities/merge.es.js";
|
|
9
|
-
var S = /* @__PURE__ */ ((e) => (e.Suggested = "Suggested", e.Selected = "Selected", e.SelectedWithFocus = "SelectedWithFocus", e.PreviouslySelected = "PreviouslySelected", e))(S || {}), h = /* @__PURE__ */ ((e) => (e.Small = "Small", e.Medium = "Medium", e))(h || {});
|
|
10
|
-
const f = {
|
|
11
|
-
Suggested: "tw-border tw-bg-base tw-text-text-weak tw-border-line hover:tw-text-text hover:tw-border-line-strong",
|
|
12
|
-
Selected: "tw-bg-box-neutral hover:tw-bg-box-neutral-hover tw-text-text-weak hover:tw-text-box-neutral-inverse-hover",
|
|
13
|
-
SelectedWithFocus: "tw-bg-box-selected-strong hover:tw-bg-box-selected-strong-hover tw-text-box-selected-strong-inverse",
|
|
14
|
-
PreviouslySelected: "tw-bg-base tw-border tw-text-box-selected-strong tw-border-box-selected-strong hover:tw-bg-box-neutral hover:tw-text-box-selected-inverse hover:tw-border-box-selected-inverse"
|
|
15
|
-
}, F = ({ type: e, label: l, onClick: o, size: n = "Medium", "data-test-id": r = "tag" }) => {
|
|
16
|
-
const i = g(null), { isFocusVisible: c, focusProps: d } = m(), t = (e === "Selected" || e === "SelectedWithFocus") && o, { buttonProps: w } = b(
|
|
17
|
-
{
|
|
18
|
-
onPress: () => t && o()
|
|
19
|
-
},
|
|
20
|
-
i
|
|
21
|
-
);
|
|
22
|
-
return /* @__PURE__ */ u(
|
|
23
|
-
"button",
|
|
24
|
-
{
|
|
25
|
-
type: "button",
|
|
26
|
-
"data-test-id": r,
|
|
27
|
-
className: p([
|
|
28
|
-
"tw-inline-flex tw-items-center tw-rounded-full tw-text-xs tw-transition-colors tw-group tw-outline-none tw-break-word",
|
|
29
|
-
n === "Small" ? "tw-px-1.5 tw-py-0.5" : "tw-px-2.5 tw-py-1",
|
|
30
|
-
f[e],
|
|
31
|
-
t ? "tw-cursor-pointer" : "tw-cursor-default",
|
|
32
|
-
c && v
|
|
33
|
-
]),
|
|
34
|
-
...x(w, d),
|
|
35
|
-
children: [
|
|
36
|
-
l,
|
|
37
|
-
t && /* @__PURE__ */ s(
|
|
38
|
-
"span",
|
|
39
|
-
{
|
|
40
|
-
"data-test-id": `${r}-reject-icon`,
|
|
41
|
-
className: "tw-opacity-80 group-hover:tw-opacity-100 tw-transition-opacity tw-ml-1 tw-leading-[0]",
|
|
42
|
-
children: /* @__PURE__ */ s(a, { size: 12 })
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
};
|
|
49
|
-
F.displayName = "FondueTag";
|
|
50
|
-
export {
|
|
51
|
-
F as Tag,
|
|
52
|
-
h as TagSize,
|
|
53
|
-
S as TagType
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=Tag.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.es.js","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCross } from '@frontify/fondue-icons';\nimport { useButton } from '@react-aria/button';\nimport { useFocusRing } from '@react-aria/focus';\nimport { mergeProps } from '@react-aria/utils';\nimport { type MouseEvent, useRef } from 'react';\n\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Use the new Tag component from @frontify/fondue/components instead\n */\nexport enum TagType {\n Suggested = 'Suggested',\n Selected = 'Selected',\n SelectedWithFocus = 'SelectedWithFocus',\n PreviouslySelected = 'PreviouslySelected',\n}\n\n/**\n * @deprecated Use the new Tag component from @frontify/fondue/components instead\n */\nexport enum TagSize {\n Small = 'Small',\n Medium = 'Medium',\n}\n\n/**\n * @deprecated Use the new Tag component from @frontify/fondue/components instead\n */\nconst tagStyles: Record<TagType, string> = {\n [TagType.Suggested]:\n 'tw-border tw-bg-base tw-text-text-weak tw-border-line hover:tw-text-text hover:tw-border-line-strong',\n [TagType.Selected]:\n 'tw-bg-box-neutral hover:tw-bg-box-neutral-hover tw-text-text-weak hover:tw-text-box-neutral-inverse-hover',\n [TagType.SelectedWithFocus]:\n 'tw-bg-box-selected-strong hover:tw-bg-box-selected-strong-hover tw-text-box-selected-strong-inverse',\n [TagType.PreviouslySelected]:\n 'tw-bg-base tw-border tw-text-box-selected-strong tw-border-box-selected-strong hover:tw-bg-box-neutral hover:tw-text-box-selected-inverse hover:tw-border-box-selected-inverse',\n};\n\n/**\n * @deprecated Use the new Tag component from @frontify/fondue/components instead\n */\nexport type TagProps = { 'data-test-id'?: string } & (TagPropsUnselected | TagPropsSelected);\n\ntype TagPropsSelected = {\n type: TagType.Selected | TagType.SelectedWithFocus;\n label: string;\n onClick?: (event?: MouseEvent<HTMLButtonElement>) => void;\n size?: TagSize;\n};\n\ntype TagPropsUnselected = {\n type: TagType.Suggested | TagType.PreviouslySelected;\n label: string;\n onClick?: null;\n size?: TagSize;\n};\n\n/**\n * @deprecated Use the new Tag component from @frontify/fondue/components instead\n */\nexport const Tag = ({ type, label, onClick, size = TagSize.Medium, 'data-test-id': dataTestId = 'tag' }: TagProps) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n const { isFocusVisible, focusProps } = useFocusRing();\n const isClickable = (type === TagType.Selected || type === TagType.SelectedWithFocus) && onClick;\n const { buttonProps } = useButton(\n {\n onPress: () => isClickable && onClick(),\n },\n ref,\n );\n\n return (\n <button\n type=\"button\"\n data-test-id={dataTestId}\n className={merge([\n 'tw-inline-flex tw-items-center tw-rounded-full tw-text-xs tw-transition-colors tw-group tw-outline-none tw-break-word',\n size === TagSize.Small ? 'tw-px-1.5 tw-py-0.5' : 'tw-px-2.5 tw-py-1',\n tagStyles[type],\n isClickable ? 'tw-cursor-pointer' : 'tw-cursor-default',\n isFocusVisible && FOCUS_STYLE,\n ])}\n {...mergeProps(buttonProps, focusProps)}\n >\n {label}\n {isClickable && (\n <span\n data-test-id={`${dataTestId}-reject-icon`}\n className=\"tw-opacity-80 group-hover:tw-opacity-100 tw-transition-opacity tw-ml-1 tw-leading-[0]\"\n >\n <IconCross size={12} />\n </span>\n )}\n </button>\n );\n};\nTag.displayName = 'FondueTag';\n"],"names":["TagType","TagSize","tagStyles","Tag","type","label","onClick","size","dataTestId","ref","useRef","isFocusVisible","focusProps","useFocusRing","isClickable","buttonProps","useButton","jsxs","merge","FOCUS_STYLE","mergeProps","jsx","IconCross"],"mappings":";;;;;;;;AAcO,IAAKA,sBAAAA,OACRA,EAAA,YAAY,aACZA,EAAA,WAAW,YACXA,EAAA,oBAAoB,qBACpBA,EAAA,qBAAqB,sBAJbA,IAAAA,KAAA,CAAA,CAAA,GAUAC,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,SAAS,UAFDA,IAAAA,KAAA,CAAA,CAAA;AAQZ,MAAMC,IAAqC;AAAA,EACtC,WACG;AAAA,EACH,UACG;AAAA,EACH,mBACG;AAAA,EACH,oBACG;AACR,GAwBaC,IAAM,CAAC,EAAE,MAAAC,GAAM,OAAAC,GAAO,SAAAC,GAAS,MAAAC,IAAO,UAAgB,gBAAgBC,IAAa,YAAsB;AAClH,QAAMC,IAAMC,EAAiC,IAAI,GAC3C,EAAE,gBAAAC,GAAgB,YAAAC,EAAA,IAAeC,EAAA,GACjCC,KAAeV,MAAS,cAAoBA,MAAS,wBAA8BE,GACnF,EAAE,aAAAS,MAAgBC;AAAA,IACpB;AAAA,MACI,SAAS,MAAMF,KAAeR,EAAA;AAAA,IAAQ;AAAA,IAE1CG;AAAA,EAAA;AAGJ,SACI,gBAAAQ;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,gBAAcT;AAAA,MACd,WAAWU,EAAM;AAAA,QACb;AAAA,QACAX,MAAS,UAAgB,wBAAwB;AAAA,QACjDL,EAAUE,CAAI;AAAA,QACdU,IAAc,sBAAsB;AAAA,QACpCH,KAAkBQ;AAAA,MAAA,CACrB;AAAA,MACA,GAAGC,EAAWL,GAAaH,CAAU;AAAA,MAErC,UAAA;AAAA,QAAAP;AAAA,QACAS,KACG,gBAAAO;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,gBAAc,GAAGb,CAAU;AAAA,YAC3B,WAAU;AAAA,YAEV,UAAA,gBAAAa,EAACC,GAAA,EAAU,MAAM,GAAA,CAAI;AAAA,UAAA;AAAA,QAAA;AAAA,MACzB;AAAA,IAAA;AAAA,EAAA;AAIhB;AACAnB,EAAI,cAAc;"}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { jsxs as S, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { IconCross as et, IconEye as ot, IconEyeOff as rt, IconExclamationMarkTriangle as st, IconCrossCircle as it, IconClipboard as nt, IconCheckMark as ct } from "@frontify/fondue-icons";
|
|
3
|
-
import { useFocusRing as f } from "@react-aria/focus";
|
|
4
|
-
import { forwardRef as z, useRef as lt, useImperativeHandle as at, useState as wt, useEffect as O } from "react";
|
|
5
|
-
import { LoadingCircle as ut, LoadingCircleSize as dt } from "../LoadingCircle/LoadingCircle.es.js";
|
|
6
|
-
import { useCopy as pt } from "../../hooks/useCopy.es.js";
|
|
7
|
-
import { useMemoizedId as ft } from "../../hooks/useMemoizedId.es.js";
|
|
8
|
-
import { FOCUS_STYLE as b } from "../../utilities/focusStyle.es.js";
|
|
9
|
-
import { merge as s } from "../../utilities/merge.es.js";
|
|
10
|
-
import { Validation as u, validationClassMap as bt } from "../../utilities/validation.es.js";
|
|
11
|
-
import { LegacyTooltip as xt } from "../LegacyTooltip/LegacyTooltip.es.js";
|
|
12
|
-
const mt = ({ extraAction: n, disabled: a }, x) => {
|
|
13
|
-
const { isFocusVisible: i, focusProps: k } = f();
|
|
14
|
-
if (!n)
|
|
15
|
-
return null;
|
|
16
|
-
const d = a || n.disabled;
|
|
17
|
-
return /* @__PURE__ */ e(
|
|
18
|
-
"button",
|
|
19
|
-
{
|
|
20
|
-
className: s([
|
|
21
|
-
"tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded tw-p-1",
|
|
22
|
-
d ? "tw-cursor-default tw-text-text-disabled" : "tw-text-text-weak hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover",
|
|
23
|
-
i && b
|
|
24
|
-
]),
|
|
25
|
-
onClick: n.onClick,
|
|
26
|
-
"data-test-id": "fondue-extra-action-icon",
|
|
27
|
-
"aria-label": n.title.toLowerCase(),
|
|
28
|
-
disabled: d,
|
|
29
|
-
"aria-disabled": d,
|
|
30
|
-
type: "button",
|
|
31
|
-
ref: x,
|
|
32
|
-
...k,
|
|
33
|
-
children: n.icon
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
}, R = z(mt), kt = z(
|
|
37
|
-
({
|
|
38
|
-
id: n,
|
|
39
|
-
type: a = "text",
|
|
40
|
-
decorator: x,
|
|
41
|
-
validation: i = u.Default,
|
|
42
|
-
clearable: k = !1,
|
|
43
|
-
placeholder: d,
|
|
44
|
-
required: D,
|
|
45
|
-
obfuscated: p,
|
|
46
|
-
disabled: o = !1,
|
|
47
|
-
autocomplete: M = !1,
|
|
48
|
-
dotted: W = !1,
|
|
49
|
-
value: h = "",
|
|
50
|
-
copyable: $ = !1,
|
|
51
|
-
onChange: w,
|
|
52
|
-
onEnterPressed: E,
|
|
53
|
-
onBlur: g,
|
|
54
|
-
onClear: y,
|
|
55
|
-
onFocus: N,
|
|
56
|
-
size: H,
|
|
57
|
-
spellcheck: T,
|
|
58
|
-
readonly: I,
|
|
59
|
-
focusOnMount: V,
|
|
60
|
-
selectable: K = !1,
|
|
61
|
-
extraActions: v,
|
|
62
|
-
maxLength: U,
|
|
63
|
-
...Y
|
|
64
|
-
}, _) => {
|
|
65
|
-
const c = lt(null);
|
|
66
|
-
at(_, () => c.current, []);
|
|
67
|
-
const { isFocusVisible: q, focusProps: l } = f({
|
|
68
|
-
isTextInput: !0
|
|
69
|
-
}), { isFocusVisible: C, focusProps: G } = f(), { isFocusVisible: j, focusProps: J } = f(), { isFocusVisible: B, focusProps: Q } = f(), { copy: X, status: F } = pt(), [m, L] = wt(
|
|
70
|
-
typeof p == "boolean" ? p : a === "password"
|
|
71
|
-
/* Password */
|
|
72
|
-
);
|
|
73
|
-
O(() => {
|
|
74
|
-
const t = setTimeout(() => {
|
|
75
|
-
V && c.current && c.current.focus();
|
|
76
|
-
}, 0);
|
|
77
|
-
return () => {
|
|
78
|
-
clearTimeout(t);
|
|
79
|
-
};
|
|
80
|
-
}, [V]), O(() => {
|
|
81
|
-
typeof p == "boolean" && L(p);
|
|
82
|
-
}, [p]);
|
|
83
|
-
const Z = (t) => {
|
|
84
|
-
t.key === "Enter" && E && E(t);
|
|
85
|
-
}, A = () => a === "password" ? m ? "password" : "text" : a, tt = typeof T == "boolean" ? { spellCheck: T } : null;
|
|
86
|
-
return /* @__PURE__ */ S(
|
|
87
|
-
"div",
|
|
88
|
-
{
|
|
89
|
-
...Y,
|
|
90
|
-
className: s([
|
|
91
|
-
"tw-flex tw-items-center tw-h-9 tw-gap-2 tw-px-3 tw-border tw-transition tw-rounded tw-text-body-small tw-font-sans tw-relative tw-bg-base dark:tw-bg-transparent",
|
|
92
|
-
W ? "tw-border-dashed" : "tw-border-solid",
|
|
93
|
-
o || I ? "tw-bg-box-disabled dark:tw-bg-box-disabled hover:tw-cursor-not-allowed tw-border-line-weak dark:tw-border-line-weak" : s([
|
|
94
|
-
"focus-within:tw-border-line-xx-strong focus-within:hover:tw-border-line-xx-strong hover:tw-border-line-x-strong",
|
|
95
|
-
bt[i],
|
|
96
|
-
q && !C && !j && !B && b
|
|
97
|
-
])
|
|
98
|
-
]),
|
|
99
|
-
"data-test-id": "fondue-text-input-component",
|
|
100
|
-
children: [
|
|
101
|
-
x ? /* @__PURE__ */ e(
|
|
102
|
-
"div",
|
|
103
|
-
{
|
|
104
|
-
className: s([
|
|
105
|
-
"tw-flex tw-items-center tw-justify-center tw-pl-1",
|
|
106
|
-
o ? "tw-text-black-60" : "tw-text-black-80"
|
|
107
|
-
]),
|
|
108
|
-
"data-test-id": "decorator",
|
|
109
|
-
children: x
|
|
110
|
-
}
|
|
111
|
-
) : null,
|
|
112
|
-
/* @__PURE__ */ e(
|
|
113
|
-
"input",
|
|
114
|
-
{
|
|
115
|
-
...l,
|
|
116
|
-
id: ft(n),
|
|
117
|
-
ref: c,
|
|
118
|
-
className: s([
|
|
119
|
-
"tw-w-full tw-grow tw-border-none tw-outline-none tw-bg-transparent tw-hide-input-arrows",
|
|
120
|
-
o || I ? "tw-text-text-disabled tw-placeholder-text-disabled dark:tw-text-black-30 dark:tw-placeholder-black-40 hover:tw-cursor-not-allowed" : "tw-text-black tw-placeholder-black-60 dark:tw-text-white"
|
|
121
|
-
]),
|
|
122
|
-
onClick: () => {
|
|
123
|
-
var t;
|
|
124
|
-
return (t = c.current) == null ? void 0 : t.focus();
|
|
125
|
-
},
|
|
126
|
-
onChange: (t) => w == null ? void 0 : w(t.currentTarget.value),
|
|
127
|
-
onBlur: (t) => {
|
|
128
|
-
var r;
|
|
129
|
-
(r = l.onBlur) == null || r.call(l, t), g == null || g(t);
|
|
130
|
-
},
|
|
131
|
-
onKeyDown: Z,
|
|
132
|
-
placeholder: d,
|
|
133
|
-
value: h,
|
|
134
|
-
type: A(),
|
|
135
|
-
required: D,
|
|
136
|
-
readOnly: I,
|
|
137
|
-
disabled: o,
|
|
138
|
-
onFocus: (t) => {
|
|
139
|
-
var r;
|
|
140
|
-
(r = l.onFocus) == null || r.call(l, t), K && t.target.select(), N && N(t);
|
|
141
|
-
},
|
|
142
|
-
autoComplete: M ? "on" : "off",
|
|
143
|
-
maxLength: U,
|
|
144
|
-
size: H,
|
|
145
|
-
"data-test-id": "text-input",
|
|
146
|
-
...tt
|
|
147
|
-
}
|
|
148
|
-
),
|
|
149
|
-
v && v.length > 0 && v.map((t, r) => {
|
|
150
|
-
const P = `text-input-extra-action-${r}`;
|
|
151
|
-
return t.tooltip ? /* @__PURE__ */ e(
|
|
152
|
-
xt,
|
|
153
|
-
{
|
|
154
|
-
...t.tooltip,
|
|
155
|
-
triggerElement: /* @__PURE__ */ e(R, { extraAction: t, disabled: o })
|
|
156
|
-
},
|
|
157
|
-
P
|
|
158
|
-
) : /* @__PURE__ */ e(R, { extraAction: t, disabled: o }, P);
|
|
159
|
-
}),
|
|
160
|
-
`${h}`.length > 0 && k && /* @__PURE__ */ e(
|
|
161
|
-
"button",
|
|
162
|
-
{
|
|
163
|
-
className: s([
|
|
164
|
-
"tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded",
|
|
165
|
-
o ? "tw-cursor-default tw-text-black-40" : "tw-text-black-60 hover:tw-text-black-100",
|
|
166
|
-
C && b
|
|
167
|
-
]),
|
|
168
|
-
onClick: () => {
|
|
169
|
-
var t, r;
|
|
170
|
-
(t = c.current) == null || t.focus(), (r = c.current) == null || r.setAttribute("value", ""), w == null || w(""), y == null || y();
|
|
171
|
-
},
|
|
172
|
-
"data-test-id": "clear-icon",
|
|
173
|
-
title: "Clear text input",
|
|
174
|
-
"aria-label": "clear text input",
|
|
175
|
-
disabled: o,
|
|
176
|
-
type: "button",
|
|
177
|
-
...G,
|
|
178
|
-
children: /* @__PURE__ */ e(et, {})
|
|
179
|
-
}
|
|
180
|
-
),
|
|
181
|
-
a === "password" && /* @__PURE__ */ e(
|
|
182
|
-
"button",
|
|
183
|
-
{
|
|
184
|
-
className: s([
|
|
185
|
-
"tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded",
|
|
186
|
-
o ? "tw-cursor-default tw-text-black-40" : "tw-text-black-60 hover:tw-text-black-100",
|
|
187
|
-
j && b
|
|
188
|
-
]),
|
|
189
|
-
onClick: () => L(!m),
|
|
190
|
-
"data-test-id": "visibility-icon",
|
|
191
|
-
title: "Toggle text visibility",
|
|
192
|
-
type: "button",
|
|
193
|
-
"aria-label": `${m ? "unveil" : "obfuscate"} text input`,
|
|
194
|
-
disabled: o,
|
|
195
|
-
...J,
|
|
196
|
-
children: m ? /* @__PURE__ */ e(ot, {}) : /* @__PURE__ */ e(rt, {})
|
|
197
|
-
}
|
|
198
|
-
),
|
|
199
|
-
i === u.Loading && /* @__PURE__ */ e("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__ */ e(ut, { size: dt.ExtraSmall }) }),
|
|
200
|
-
(i === u.Error || i === u.Warning) && /* @__PURE__ */ e(
|
|
201
|
-
"span",
|
|
202
|
-
{
|
|
203
|
-
className: s([
|
|
204
|
-
"tw-flex tw-items-center tw-justify-center",
|
|
205
|
-
i === u.Error && "tw-text-text-negative",
|
|
206
|
-
i === u.Warning && "tw-text-text-warning"
|
|
207
|
-
]),
|
|
208
|
-
"data-test-id": "error-state-exclamation-mark-icon",
|
|
209
|
-
children: /* @__PURE__ */ e(st, {})
|
|
210
|
-
}
|
|
211
|
-
),
|
|
212
|
-
$ && /* @__PURE__ */ S(
|
|
213
|
-
"button",
|
|
214
|
-
{
|
|
215
|
-
className: s([
|
|
216
|
-
"tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded",
|
|
217
|
-
o ? "tw-cursor-default tw-text-black-40" : "tw-text-black-60 hover:tw-text-black-100",
|
|
218
|
-
B && b
|
|
219
|
-
]),
|
|
220
|
-
onClick: () => X(h),
|
|
221
|
-
"data-test-id": "copy-icon",
|
|
222
|
-
title: "Copy input text",
|
|
223
|
-
disabled: o,
|
|
224
|
-
type: "button",
|
|
225
|
-
...Q,
|
|
226
|
-
children: [
|
|
227
|
-
F === "error" && /* @__PURE__ */ e("span", { className: "tw-text-box-negative-strong", children: /* @__PURE__ */ e(it, {}) }),
|
|
228
|
-
F === "idle" && /* @__PURE__ */ e(nt, {}),
|
|
229
|
-
F === "success" && /* @__PURE__ */ e("span", { className: "tw-text-box-positive-strong", children: /* @__PURE__ */ e(ct, {}) })
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
)
|
|
233
|
-
]
|
|
234
|
-
}
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
);
|
|
238
|
-
kt.displayName = "FondueTextInput";
|
|
239
|
-
export {
|
|
240
|
-
kt as TextInput
|
|
241
|
-
};
|
|
242
|
-
//# sourceMappingURL=TextInput.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.es.js","sources":["../../../src/components/TextInput/TextInput.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport {\n IconCheckMark,\n IconClipboard,\n IconCross,\n IconCrossCircle,\n IconExclamationMarkTriangle,\n IconEye,\n IconEyeOff,\n} from '@frontify/fondue-icons';\nimport { useFocusRing } from '@react-aria/focus';\nimport {\n forwardRef,\n useEffect,\n useImperativeHandle,\n useRef,\n useState,\n type AriaAttributes,\n type FocusEvent,\n type ForwardRefRenderFunction,\n type KeyboardEvent,\n type ReactElement,\n type ReactNode,\n} from 'react';\n\nimport { LoadingCircle, LoadingCircleSize } from '@components/LoadingCircle/LoadingCircle';\nimport { useCopy } from '@hooks/useCopy';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\nimport { Validation, validationClassMap } from '@utilities/validation';\n\nimport { LegacyTooltip, type LegacyTooltipProps } from '../LegacyTooltip/LegacyTooltip';\n\n/**\n * @deprecated Use `TextInput` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md} the migration guide}.\n */\nexport enum TextInputType {\n Text = 'text',\n Password = 'password',\n Number = 'number',\n Search = 'search',\n}\n\n/**\n * @deprecated Use `TextInput` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md} the migration guide}.\n */\nexport type TextInputExtraAction = {\n onClick: () => void;\n icon: ReactElement;\n title: string;\n tooltip?: Omit<LegacyTooltipProps, 'triggerElement'>;\n disabled?: boolean;\n};\n\n/**\n * @deprecated Use `TextInput` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md} the migration guide}.\n */\nexport type TextInputBaseProps = {\n id?: string;\n type?: TextInputType;\n decorator?: ReactNode;\n dotted?: boolean;\n clearable?: boolean;\n placeholder?: string;\n required?: boolean;\n disabled?: boolean;\n autocomplete?: boolean;\n readonly?: boolean;\n validation?: Validation;\n copyable?: boolean;\n value?: string;\n onChange?: (value: string) => void;\n onEnterPressed?: (event: KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (event: FocusEvent<HTMLInputElement>) => void;\n onFocus?: (event: FocusEvent<HTMLInputElement>) => void;\n onClear?: () => void;\n maxLength?: number;\n size?: number;\n spellcheck?: boolean;\n /** @deprecated a `ref` can be forwarded to expose the underlying `<input />` DOM node.\n @example\n ```tsx\n import { TextInput } from '@frontify/fondue';\n\n const Component = () => {\n const inputRef = useRef();\n\n useEffect(() => {\n if (inputRef.current) {\n inputRef.current.focus();\n }\n }, [)\n return <TextInput ref={inputRef} />\n }\n ```\n */\n focusOnMount?: boolean;\n selectable?: boolean;\n extraActions?: TextInputExtraAction[];\n ariaLabel?: string;\n} & AriaAttributes;\n\ntype TextInputTextProps = TextInputBaseProps & {\n type?: TextInputType.Text;\n obfuscated?: false;\n};\ntype TextInputSearchProps = TextInputBaseProps & {\n type: TextInputType.Search;\n obfuscated?: false;\n};\ntype TextInputNumberProps = TextInputBaseProps & {\n type: TextInputType.Number;\n min?: number;\n max?: number;\n obfuscated?: false;\n};\ntype TextInputPasswordProps = TextInputBaseProps & {\n type: TextInputType.Password;\n obfuscated?: boolean;\n};\n\n/**\n * @deprecated Use `TextInput` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md} the migration guide}.\n */\nexport type TextInputProps = TextInputTextProps | TextInputNumberProps | TextInputPasswordProps | TextInputSearchProps;\n\ntype ExtraActionButtonProps = {\n extraAction: TextInputExtraAction;\n disabled: boolean;\n};\n\nconst ExtraActionButton: ForwardRefRenderFunction<HTMLButtonElement | null, ExtraActionButtonProps> = (\n { extraAction, disabled },\n ref,\n): ReactElement | null => {\n const { isFocusVisible: extraActionButtonIsFocusVisible, focusProps: extraActionButtonFocusProps } = useFocusRing();\n\n if (!extraAction) {\n return null;\n }\n\n const isDisabled = disabled || extraAction.disabled;\n return (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded tw-p-1',\n isDisabled\n ? 'tw-cursor-default tw-text-text-disabled'\n : 'tw-text-text-weak hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover',\n extraActionButtonIsFocusVisible && FOCUS_STYLE,\n ])}\n onClick={extraAction.onClick}\n data-test-id=\"fondue-extra-action-icon\"\n aria-label={extraAction.title.toLowerCase()}\n disabled={isDisabled}\n aria-disabled={isDisabled}\n type=\"button\"\n ref={ref}\n {...extraActionButtonFocusProps}\n >\n {extraAction.icon}\n </button>\n );\n};\nconst ExtraActionButtonWithRef = forwardRef(ExtraActionButton);\n\n/**\n * @deprecated Use `TextInput` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#text-input the migration guide}.\n */\nexport const TextInput = forwardRef<HTMLInputElement, TextInputProps>(\n (\n {\n id: propId,\n type = TextInputType.Text,\n decorator,\n validation = Validation.Default,\n clearable = false,\n placeholder,\n required,\n obfuscated,\n disabled = false,\n autocomplete = false,\n dotted = false,\n value = '',\n copyable = false,\n onChange,\n onEnterPressed,\n onBlur,\n onClear,\n onFocus,\n size,\n spellcheck,\n readonly,\n focusOnMount,\n selectable = false,\n extraActions,\n maxLength,\n ...props\n },\n ref,\n ): ReactElement => {\n const inputElement = useRef<HTMLInputElement | null>(null);\n useImperativeHandle(ref, () => inputElement.current!, []);\n\n const { isFocusVisible: inputIsFocusVisible, focusProps: inputFocusProps } = useFocusRing({\n isTextInput: true,\n });\n const { isFocusVisible: clearButtonIsFocusVisible, focusProps: clearButtonFocusProps } = useFocusRing();\n const { isFocusVisible: passwordButtonIsFocusVisible, focusProps: passwordButtonFocusProps } = useFocusRing();\n const { isFocusVisible: copyButtonIsFocusVisible, focusProps: copyButtonFocusProps } = useFocusRing();\n\n const { copy, status } = useCopy();\n\n const [isObfuscated, setIsObfuscated] = useState(\n typeof obfuscated === 'boolean' ? obfuscated : type === TextInputType.Password,\n );\n\n useEffect(() => {\n const timeoutId = setTimeout(() => {\n if (focusOnMount && inputElement.current) {\n inputElement.current.focus();\n }\n }, 0);\n return () => {\n clearTimeout(timeoutId);\n };\n }, [focusOnMount]);\n\n useEffect(() => {\n if (typeof obfuscated === 'boolean') {\n // eslint-disable-next-line @eslint-react/set-state-in-effect\n setIsObfuscated(obfuscated);\n }\n }, [obfuscated]);\n\n const onKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter' && onEnterPressed) {\n onEnterPressed(event);\n }\n };\n\n const getInputType = () => {\n if (type === TextInputType.Password) {\n return isObfuscated ? TextInputType.Password : TextInputType.Text;\n }\n return type;\n };\n\n const spellcheckProp = typeof spellcheck === 'boolean' ? { spellCheck: spellcheck } : null;\n\n return (\n <div\n {...props}\n className={merge([\n 'tw-flex tw-items-center tw-h-9 tw-gap-2 tw-px-3 tw-border tw-transition tw-rounded tw-text-body-small tw-font-sans tw-relative tw-bg-base dark:tw-bg-transparent',\n dotted ? 'tw-border-dashed' : 'tw-border-solid',\n disabled || readonly\n ? 'tw-bg-box-disabled dark:tw-bg-box-disabled hover:tw-cursor-not-allowed tw-border-line-weak dark:tw-border-line-weak'\n : merge([\n 'focus-within:tw-border-line-xx-strong focus-within:hover:tw-border-line-xx-strong hover:tw-border-line-x-strong',\n validationClassMap[validation],\n inputIsFocusVisible &&\n !clearButtonIsFocusVisible &&\n !passwordButtonIsFocusVisible &&\n !copyButtonIsFocusVisible &&\n FOCUS_STYLE,\n ]),\n ])}\n data-test-id=\"fondue-text-input-component\"\n >\n {decorator ? (\n <div\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-pl-1',\n disabled ? 'tw-text-black-60' : 'tw-text-black-80',\n ])}\n data-test-id=\"decorator\"\n >\n {decorator}\n </div>\n ) : null}\n <input\n {...inputFocusProps}\n id={useMemoizedId(propId)}\n ref={inputElement}\n className={merge([\n 'tw-w-full tw-grow tw-border-none tw-outline-none tw-bg-transparent tw-hide-input-arrows',\n disabled || readonly\n ? 'tw-text-text-disabled tw-placeholder-text-disabled dark:tw-text-black-30 dark:tw-placeholder-black-40 hover:tw-cursor-not-allowed'\n : 'tw-text-black tw-placeholder-black-60 dark:tw-text-white',\n ])}\n onClick={() => inputElement.current?.focus()}\n onChange={(event) => onChange?.(event.currentTarget.value)}\n onBlur={(e) => {\n inputFocusProps.onBlur?.(e);\n onBlur?.(e);\n }}\n onKeyDown={onKeyDown}\n placeholder={placeholder}\n value={value}\n type={getInputType()}\n required={required}\n readOnly={readonly}\n disabled={disabled}\n onFocus={(e) => {\n inputFocusProps.onFocus?.(e);\n if (selectable) {\n e.target.select();\n }\n if (onFocus) {\n onFocus(e);\n }\n }}\n autoComplete={autocomplete ? 'on' : 'off'}\n maxLength={maxLength}\n size={size}\n data-test-id=\"text-input\"\n {...spellcheckProp}\n />\n {extraActions &&\n extraActions.length > 0 &&\n extraActions.map((extraAction: TextInputExtraAction, index: number) => {\n const key = `text-input-extra-action-${index}`;\n if (extraAction.tooltip) {\n return (\n <LegacyTooltip\n key={key}\n {...extraAction.tooltip}\n triggerElement={\n <ExtraActionButtonWithRef extraAction={extraAction} disabled={disabled} />\n }\n />\n );\n }\n return <ExtraActionButtonWithRef key={key} extraAction={extraAction} disabled={disabled} />;\n })}\n {`${value}`.length > 0 && clearable && (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded',\n disabled\n ? 'tw-cursor-default tw-text-black-40'\n : 'tw-text-black-60 hover:tw-text-black-100',\n clearButtonIsFocusVisible && FOCUS_STYLE,\n ])}\n onClick={() => {\n inputElement.current?.focus();\n inputElement.current?.setAttribute('value', '');\n\n onChange?.('');\n onClear?.();\n }}\n data-test-id=\"clear-icon\"\n title=\"Clear text input\"\n aria-label=\"clear text input\"\n disabled={disabled}\n type=\"button\"\n {...clearButtonFocusProps}\n >\n <IconCross />\n </button>\n )}\n {type === TextInputType.Password && (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded',\n disabled\n ? 'tw-cursor-default tw-text-black-40'\n : 'tw-text-black-60 hover:tw-text-black-100',\n passwordButtonIsFocusVisible && FOCUS_STYLE,\n ])}\n onClick={() => setIsObfuscated(!isObfuscated)}\n data-test-id=\"visibility-icon\"\n title=\"Toggle text visibility\"\n type=\"button\"\n aria-label={`${isObfuscated ? 'unveil' : 'obfuscate'} text input`}\n disabled={disabled}\n {...passwordButtonFocusProps}\n >\n {isObfuscated ? <IconEye /> : <IconEyeOff />}\n </button>\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-flex tw-items-center tw-justify-center',\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 {copyable && (\n <button\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-transition-colors tw-rounded',\n disabled\n ? 'tw-cursor-default tw-text-black-40'\n : 'tw-text-black-60 hover:tw-text-black-100',\n copyButtonIsFocusVisible && FOCUS_STYLE,\n ])}\n onClick={() => copy(value)}\n data-test-id=\"copy-icon\"\n title=\"Copy input text\"\n disabled={disabled}\n type=\"button\"\n {...copyButtonFocusProps}\n >\n {status === 'error' && (\n <span className=\"tw-text-box-negative-strong\">\n <IconCrossCircle />\n </span>\n )}\n {status === 'idle' && <IconClipboard />}\n {status === 'success' && (\n <span className=\"tw-text-box-positive-strong\">\n <IconCheckMark />\n </span>\n )}\n </button>\n )}\n </div>\n );\n },\n);\nTextInput.displayName = 'FondueTextInput';\n"],"names":["ExtraActionButton","extraAction","disabled","ref","extraActionButtonIsFocusVisible","extraActionButtonFocusProps","useFocusRing","isDisabled","jsx","merge","FOCUS_STYLE","ExtraActionButtonWithRef","forwardRef","TextInput","propId","type","decorator","validation","Validation","clearable","placeholder","required","obfuscated","autocomplete","dotted","value","copyable","onChange","onEnterPressed","onBlur","onClear","onFocus","size","spellcheck","readonly","focusOnMount","selectable","extraActions","maxLength","props","inputElement","useRef","useImperativeHandle","inputIsFocusVisible","inputFocusProps","clearButtonIsFocusVisible","clearButtonFocusProps","passwordButtonIsFocusVisible","passwordButtonFocusProps","copyButtonIsFocusVisible","copyButtonFocusProps","copy","status","useCopy","isObfuscated","setIsObfuscated","useState","useEffect","timeoutId","onKeyDown","event","getInputType","spellcheckProp","jsxs","validationClassMap","useMemoizedId","_a","e","index","key","LegacyTooltip","_b","IconCross","IconEye","IconEyeOff","LoadingCircle","LoadingCircleSize","IconExclamationMarkTriangle","IconCrossCircle","IconClipboard","IconCheckMark"],"mappings":"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"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as w } from "react/jsx-runtime";
|
|
2
|
-
import { motion as p } from "../../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";
|
|
3
|
-
import { MIGHTY_INSET_BORDER as T, INSET_BORDER as S } from "../../utilities/borderStyle.es.js";
|
|
4
|
-
import { merge as o } from "../../utilities/merge.es.js";
|
|
5
|
-
import { ToastAnimationDirection as r, toastStylesBackgroundColorsMap as y } from "./types.es.js";
|
|
6
|
-
import { AnimatePresence as A } from "../../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";
|
|
7
|
-
const f = "tw-min-h-[2rem] tw-rounded-lg tw-shadow-mid tw-z-[120000] before:!tw-rounded-lg", g = o([S, "tw-bg-base"]), h = o([T, "tw-bg-box-neutral-mighty"]), a = (t) => t === r.BottomToTop ? "150%" : "-150%", N = (t) => o([f, t === "dark" ? h : g]), u = ({
|
|
8
|
-
isOpen: t,
|
|
9
|
-
style: s,
|
|
10
|
-
icon: n,
|
|
11
|
-
animationDirection: i = r.BottomToTop,
|
|
12
|
-
children: m,
|
|
13
|
-
theme: l = "light",
|
|
14
|
-
enableExitAnimation: d = !1,
|
|
15
|
-
"data-test-id": c = "toast"
|
|
16
|
-
}) => /* @__PURE__ */ e(A, { children: t && /* @__PURE__ */ e(
|
|
17
|
-
p.div,
|
|
18
|
-
{
|
|
19
|
-
className: N(l),
|
|
20
|
-
initial: {
|
|
21
|
-
opacity: 0,
|
|
22
|
-
y: a(i)
|
|
23
|
-
},
|
|
24
|
-
transition: {
|
|
25
|
-
opacity: {
|
|
26
|
-
ease: [0, 0, 1, 1]
|
|
27
|
-
},
|
|
28
|
-
y: {
|
|
29
|
-
ease: [0, 0.55, 0.45, 1]
|
|
30
|
-
},
|
|
31
|
-
delay: 0.3,
|
|
32
|
-
duration: 0.2
|
|
33
|
-
},
|
|
34
|
-
animate: { opacity: 1, y: 0 },
|
|
35
|
-
...d ? { exit: { opacity: 0, y: a(i) } } : {},
|
|
36
|
-
"data-test-id": c,
|
|
37
|
-
"aria-live": "polite",
|
|
38
|
-
role: "alert",
|
|
39
|
-
children: /* @__PURE__ */ w("div", { className: "tw-flex", children: [
|
|
40
|
-
/* @__PURE__ */ e(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
className: o([
|
|
44
|
-
"tw-flex tw-items-center tw-justify-center tw-min-h-[2rem] tw-min-w-[3rem] tw-rounded-l-lg tw-text-white",
|
|
45
|
-
y[s]
|
|
46
|
-
]),
|
|
47
|
-
children: n
|
|
48
|
-
}
|
|
49
|
-
),
|
|
50
|
-
m
|
|
51
|
-
] })
|
|
52
|
-
}
|
|
53
|
-
) });
|
|
54
|
-
u.displayName = "FondueToast";
|
|
55
|
-
export {
|
|
56
|
-
u as Toast
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=Toast.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.es.js","sources":["../../../src/components/Toast/Toast.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { AnimatePresence, motion } from 'motion/react';\nimport { type ReactElement } from 'react';\n\nimport { INSET_BORDER, MIGHTY_INSET_BORDER } from '@utilities/borderStyle';\nimport { merge } from '@utilities/merge';\n\nimport { ToastAnimationDirection, type ToastProps, type ToastTheme, toastStylesBackgroundColorsMap } from './types';\n\nconst CONTAINER_BASE_CLASSES = 'tw-min-h-[2rem] tw-rounded-lg tw-shadow-mid tw-z-[120000] before:!tw-rounded-lg';\n\nconst LIGHT_VARIANT_CLASSES = merge([INSET_BORDER, 'tw-bg-base']);\nconst DARK_VARIANT_CLASSES = merge([MIGHTY_INSET_BORDER, 'tw-bg-box-neutral-mighty']);\n\nconst getToastStartPosition = (animationDirection: ToastAnimationDirection) =>\n animationDirection === ToastAnimationDirection.BottomToTop ? '150%' : '-150%';\n\nconst getContainerClasses = (theme: ToastTheme) => {\n return merge([CONTAINER_BASE_CLASSES, theme === 'dark' ? DARK_VARIANT_CLASSES : LIGHT_VARIANT_CLASSES]);\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport const Toast = ({\n isOpen,\n style,\n icon,\n animationDirection = ToastAnimationDirection.BottomToTop,\n children,\n theme = 'light',\n enableExitAnimation = false,\n 'data-test-id': dataTestId = 'toast',\n}: ToastProps): ReactElement => (\n <AnimatePresence>\n {isOpen && (\n <motion.div\n className={getContainerClasses(theme)}\n initial={{\n opacity: 0,\n y: getToastStartPosition(animationDirection),\n }}\n transition={{\n opacity: {\n ease: [0, 0, 1, 1],\n },\n y: {\n ease: [0, 0.55, 0.45, 1],\n },\n delay: 0.3,\n duration: 0.2,\n }}\n animate={{ opacity: 1, y: 0 }}\n {...(enableExitAnimation ? { exit: { opacity: 0, y: getToastStartPosition(animationDirection) } } : {})}\n data-test-id={dataTestId}\n aria-live=\"polite\"\n role=\"alert\"\n >\n <div className=\"tw-flex\">\n <div\n className={merge([\n 'tw-flex tw-items-center tw-justify-center tw-min-h-[2rem] tw-min-w-[3rem] tw-rounded-l-lg tw-text-white',\n toastStylesBackgroundColorsMap[style],\n ])}\n >\n {icon}\n </div>\n {children}\n </div>\n </motion.div>\n )}\n </AnimatePresence>\n);\nToast.displayName = 'FondueToast';\n"],"names":["CONTAINER_BASE_CLASSES","LIGHT_VARIANT_CLASSES","merge","INSET_BORDER","DARK_VARIANT_CLASSES","MIGHTY_INSET_BORDER","getToastStartPosition","animationDirection","ToastAnimationDirection","getContainerClasses","theme","Toast","isOpen","style","icon","children","enableExitAnimation","dataTestId","jsx","AnimatePresence","motion","jsxs","toastStylesBackgroundColorsMap"],"mappings":";;;;;;AAUA,MAAMA,IAAyB,mFAEzBC,IAAwBC,EAAM,CAACC,GAAc,YAAY,CAAC,GAC1DC,IAAuBF,EAAM,CAACG,GAAqB,0BAA0B,CAAC,GAE9EC,IAAwB,CAACC,MAC3BA,MAAuBC,EAAwB,cAAc,SAAS,SAEpEC,IAAsB,CAACC,MAClBR,EAAM,CAACF,GAAwBU,MAAU,SAASN,IAAuBH,CAAqB,CAAC,GAM7FU,IAAQ,CAAC;AAAA,EAClB,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,oBAAAP,IAAqBC,EAAwB;AAAA,EAC7C,UAAAO;AAAA,EACA,OAAAL,IAAQ;AAAA,EACR,qBAAAM,IAAsB;AAAA,EACtB,gBAAgBC,IAAa;AACjC,MACI,gBAAAC,EAACC,KACI,UAAAP,KACG,gBAAAM;AAAA,EAACE,EAAO;AAAA,EAAP;AAAA,IACG,WAAWX,EAAoBC,CAAK;AAAA,IACpC,SAAS;AAAA,MACL,SAAS;AAAA,MACT,GAAGJ,EAAsBC,CAAkB;AAAA,IAAA;AAAA,IAE/C,YAAY;AAAA,MACR,SAAS;AAAA,QACL,MAAM,CAAC,GAAG,GAAG,GAAG,CAAC;AAAA,MAAA;AAAA,MAErB,GAAG;AAAA,QACC,MAAM,CAAC,GAAG,MAAM,MAAM,CAAC;AAAA,MAAA;AAAA,MAE3B,OAAO;AAAA,MACP,UAAU;AAAA,IAAA;AAAA,IAEd,SAAS,EAAE,SAAS,GAAG,GAAG,EAAA;AAAA,IACzB,GAAIS,IAAsB,EAAE,MAAM,EAAE,SAAS,GAAG,GAAGV,EAAsBC,CAAkB,EAAA,EAAE,IAAM,CAAA;AAAA,IACpG,gBAAcU;AAAA,IACd,aAAU;AAAA,IACV,MAAK;AAAA,IAEL,UAAA,gBAAAI,EAAC,OAAA,EAAI,WAAU,WACX,UAAA;AAAA,MAAA,gBAAAH;AAAA,QAAC;AAAA,QAAA;AAAA,UACG,WAAWhB,EAAM;AAAA,YACb;AAAA,YACAoB,EAA+BT,CAAK;AAAA,UAAA,CACvC;AAAA,UAEA,UAAAC;AAAA,QAAA;AAAA,MAAA;AAAA,MAEJC;AAAA,IAAA,EAAA,CACL;AAAA,EAAA;AACJ,EAAA,CAER;AAEJJ,EAAM,cAAc;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var r = /* @__PURE__ */ ((o) => (o.BottomToTop = "BottomToTop", o.TopToBottom = "TopToBottom", o))(r || {}), g = /* @__PURE__ */ ((o) => (o.Loud = "Loud", o.Danger = "Danger", o.Success = "Success", o.Warning = "Warning", o))(g || {});
|
|
2
|
-
const n = {
|
|
3
|
-
Loud: "tw-bg-box-selected-strong",
|
|
4
|
-
Danger: "tw-bg-box-negative-strong-pressed",
|
|
5
|
-
Success: "tw-bg-box-positive-strong-pressed",
|
|
6
|
-
Warning: "tw-bg-box-warning-strong"
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
r as ToastAnimationDirection,
|
|
10
|
-
g as ToastStyle,
|
|
11
|
-
n as toastStylesBackgroundColorsMap
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=types.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.es.js","sources":["../../../src/components/Toast/types.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactNode } from 'react';\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport type ToastProps = {\n isOpen: boolean;\n style: ToastStyle;\n icon: ReactNode;\n animationDirection?: ToastAnimationDirection;\n children?: ReactNode;\n theme?: ToastTheme;\n enableExitAnimation?: boolean;\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 enum ToastAnimationDirection {\n BottomToTop = 'BottomToTop',\n TopToBottom = 'TopToBottom',\n}\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport enum ToastStyle {\n Loud = 'Loud',\n Danger = 'Danger',\n Success = 'Success',\n Warning = 'Warning',\n}\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport const toastStylesBackgroundColorsMap: Record<ToastStyle, string> = {\n [ToastStyle.Loud]: 'tw-bg-box-selected-strong',\n [ToastStyle.Danger]: 'tw-bg-box-negative-strong-pressed',\n [ToastStyle.Success]: 'tw-bg-box-positive-strong-pressed',\n [ToastStyle.Warning]: 'tw-bg-box-warning-strong',\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport type ToastTheme = 'light' | 'dark';\n"],"names":["ToastAnimationDirection","ToastStyle","toastStylesBackgroundColorsMap"],"mappings":"AAqBO,IAAKA,sBAAAA,OACRA,EAAA,cAAc,eACdA,EAAA,cAAc,eAFNA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACRA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,UAAU,WACVA,EAAA,UAAU,WAJFA,IAAAA,KAAA,CAAA,CAAA;AAUL,MAAMC,IAA6D;AAAA,EACrE,MAAkB;AAAA,EAClB,QAAoB;AAAA,EACpB,SAAqB;AAAA,EACrB,SAAqB;AAC1B;"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { IconCross as v, IconTrashBin as F, IconCaretDown as C, IconExclamationMarkTriangle as N } from "@frontify/fondue-icons";
|
|
3
|
-
import { useFocusRing as b } from "@react-aria/focus";
|
|
4
|
-
import { FOCUS_STYLE as w, FOCUS_VISIBLE_STYLE as D } from "../../utilities/focusStyle.es.js";
|
|
5
|
-
import { merge as e } from "../../utilities/merge.es.js";
|
|
6
|
-
import { Validation as a, validationClassMap as I } from "../../utilities/validation.es.js";
|
|
7
|
-
var y = /* @__PURE__ */ ((r) => (r.Default = "Default", r.Weak = "Weak", r))(y || {});
|
|
8
|
-
const S = (r, s, i, l, o) => e([
|
|
9
|
-
"tw-group tw-relative tw-flex tw-w-full tw-items-center tw-justify-between tw-border tw-rounded tw-transition-colors tw-min-h-[36px]",
|
|
10
|
-
r && w,
|
|
11
|
-
s ? "tw-border-black-5 tw-bg-black-5 tw-pointer-events-none" : e([
|
|
12
|
-
"hover:tw-border-line-xx-strong",
|
|
13
|
-
l === "Weak" ? "" : "tw-bg-base",
|
|
14
|
-
i ? "tw-border-line-xx-strong" : "tw-border-line",
|
|
15
|
-
l === "Weak" ? "tw-border-0 hover:tw-outline hover:tw-outline-1" : I[o]
|
|
16
|
-
])
|
|
17
|
-
]), T = ({
|
|
18
|
-
buttonProps: r,
|
|
19
|
-
onClear: s,
|
|
20
|
-
onDelete: i,
|
|
21
|
-
children: l,
|
|
22
|
-
disabled: o = !1,
|
|
23
|
-
isOpen: c = !1,
|
|
24
|
-
isFocusVisible: d = !1,
|
|
25
|
-
size: m = "Small",
|
|
26
|
-
showClear: x = !1,
|
|
27
|
-
validation: n = a.Default,
|
|
28
|
-
emphasis: g = "Default"
|
|
29
|
-
/* Default */
|
|
30
|
-
}) => {
|
|
31
|
-
const { focusProps: f, isFocusVisible: p } = b(), { focusProps: k, isFocusVisible: h } = b();
|
|
32
|
-
return /* @__PURE__ */ u(
|
|
33
|
-
"div",
|
|
34
|
-
{
|
|
35
|
-
"data-test-id": "trigger",
|
|
36
|
-
className: S(d, o, c, g, n),
|
|
37
|
-
children: [
|
|
38
|
-
l,
|
|
39
|
-
/* @__PURE__ */ u(
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
className: e([
|
|
43
|
-
"tw-flex-none tw-flex tw-items-center tw-absolute",
|
|
44
|
-
m === "Large" ? "tw-right-5 tw-gap-1.5" : "tw-right-3 tw-gap-1"
|
|
45
|
-
]),
|
|
46
|
-
children: [
|
|
47
|
-
x && /* @__PURE__ */ t(
|
|
48
|
-
"button",
|
|
49
|
-
{
|
|
50
|
-
...f,
|
|
51
|
-
"data-test-id": "dropdown-clear-button",
|
|
52
|
-
"aria-label": "Clear selection",
|
|
53
|
-
type: "button",
|
|
54
|
-
className: e([
|
|
55
|
-
p && w,
|
|
56
|
-
o ? "tw-pointer-events-none tw-text-black-40" : "tw-text-black-80"
|
|
57
|
-
]),
|
|
58
|
-
onClick: () => !!s && s(),
|
|
59
|
-
children: /* @__PURE__ */ t(v, { size: 12 })
|
|
60
|
-
}
|
|
61
|
-
),
|
|
62
|
-
!!i && /* @__PURE__ */ t(
|
|
63
|
-
"button",
|
|
64
|
-
{
|
|
65
|
-
...k,
|
|
66
|
-
"data-test-id": "dropdown-delete-button",
|
|
67
|
-
"aria-label": "Delete selection",
|
|
68
|
-
type: "button",
|
|
69
|
-
className: e([
|
|
70
|
-
"tw-rounded",
|
|
71
|
-
h && w,
|
|
72
|
-
o ? "tw-pointer-events-none tw-text-black-40" : "tw-text-black-80"
|
|
73
|
-
]),
|
|
74
|
-
onClick: i,
|
|
75
|
-
children: /* @__PURE__ */ t(F, { size: 12 })
|
|
76
|
-
}
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ t(
|
|
79
|
-
"button",
|
|
80
|
-
{
|
|
81
|
-
...r,
|
|
82
|
-
type: "button",
|
|
83
|
-
tabIndex: -1,
|
|
84
|
-
disabled: o,
|
|
85
|
-
"aria-hidden": !0,
|
|
86
|
-
className: e([
|
|
87
|
-
"tw-rounded",
|
|
88
|
-
o ? "tw-pointer-events-none tw-text-black-40" : e([
|
|
89
|
-
"group-hover:tw-text-black ",
|
|
90
|
-
c ? "tw-text-black-100" : "tw-text-black-80",
|
|
91
|
-
D
|
|
92
|
-
])
|
|
93
|
-
]),
|
|
94
|
-
children: /* @__PURE__ */ t("div", { className: e(["tw-transition-transform", c && "tw-rotate-180"]), children: /* @__PURE__ */ t(C, { size: 16 }) })
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
(n === a.Error || n === a.Warning) && /* @__PURE__ */ t(
|
|
98
|
-
"span",
|
|
99
|
-
{
|
|
100
|
-
className: e([
|
|
101
|
-
"tw-flex tw-items-center tw-justify-center",
|
|
102
|
-
n === a.Error && "tw-text-text-negative",
|
|
103
|
-
n === a.Warning && "tw-text-text-warning"
|
|
104
|
-
]),
|
|
105
|
-
"data-test-id": "error-state-exclamation-mark-icon",
|
|
106
|
-
children: /* @__PURE__ */ t(N, {})
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
);
|
|
115
|
-
};
|
|
116
|
-
T.displayName = "FondueTrigger";
|
|
117
|
-
export {
|
|
118
|
-
T as Trigger,
|
|
119
|
-
y as TriggerEmphasis
|
|
120
|
-
};
|
|
121
|
-
//# sourceMappingURL=Trigger.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.es.js","sources":["../../../src/components/Trigger/Trigger.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCaretDown, IconCross, IconExclamationMarkTriangle, IconTrashBin } from '@frontify/fondue-icons';\nimport { useFocusRing } from '@react-aria/focus';\nimport { type HTMLAttributes, type ReactElement, type ReactNode } from 'react';\n\nimport { FOCUS_STYLE, FOCUS_VISIBLE_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\nimport { Validation, validationClassMap } from '@utilities/validation';\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport enum TriggerSize {\n Small = 'Small',\n Large = 'Large',\n}\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport enum TriggerEmphasis {\n Default = 'Default',\n Weak = 'Weak',\n}\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport type TriggerProps = {\n disabled?: boolean;\n children?: ReactNode;\n isOpen?: boolean;\n onClear?: () => void;\n onDelete?: () => void;\n buttonProps?: HTMLAttributes<HTMLElement>;\n isFocusVisible?: boolean;\n size?: TriggerSize;\n showClear?: boolean;\n validation?: Validation;\n emphasis?: TriggerEmphasis;\n};\n\nconst getTriggerClassNames = (\n isFocusVisible: boolean,\n disabled: boolean,\n isOpen: boolean,\n emphasis: TriggerEmphasis,\n validation: Validation,\n) =>\n merge([\n 'tw-group tw-relative tw-flex tw-w-full tw-items-center tw-justify-between tw-border tw-rounded tw-transition-colors tw-min-h-[36px]',\n isFocusVisible && FOCUS_STYLE,\n disabled\n ? 'tw-border-black-5 tw-bg-black-5 tw-pointer-events-none'\n : merge([\n 'hover:tw-border-line-xx-strong',\n emphasis === TriggerEmphasis.Weak ? '' : 'tw-bg-base',\n isOpen ? 'tw-border-line-xx-strong' : 'tw-border-line',\n emphasis === TriggerEmphasis.Weak\n ? 'tw-border-0 hover:tw-outline hover:tw-outline-1'\n : validationClassMap[validation],\n ]),\n ]);\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const Trigger = ({\n buttonProps,\n onClear,\n onDelete,\n children,\n disabled = false,\n isOpen = false,\n isFocusVisible = false,\n size = TriggerSize.Small,\n showClear = false,\n validation = Validation.Default,\n emphasis = TriggerEmphasis.Default,\n}: TriggerProps): ReactElement => {\n const { focusProps: clearableFocusProps, isFocusVisible: isClearFocusVisible } = useFocusRing();\n const { focusProps: onDeleteFocusProps, isFocusVisible: isOnDeleteFocusVisible } = useFocusRing();\n\n return (\n <div\n data-test-id=\"trigger\"\n className={getTriggerClassNames(isFocusVisible, disabled, isOpen, emphasis, validation)}\n >\n {children}\n <div\n className={merge([\n 'tw-flex-none tw-flex tw-items-center tw-absolute',\n size === TriggerSize.Large ? 'tw-right-5 tw-gap-1.5' : 'tw-right-3 tw-gap-1',\n ])}\n >\n {showClear && (\n <button\n {...clearableFocusProps}\n data-test-id=\"dropdown-clear-button\"\n aria-label=\"Clear selection\"\n type=\"button\"\n className={merge([\n isClearFocusVisible && FOCUS_STYLE,\n disabled ? 'tw-pointer-events-none tw-text-black-40' : 'tw-text-black-80',\n ])}\n onClick={() => !!onClear && onClear()}\n >\n <IconCross size={12} />\n </button>\n )}\n {!!onDelete && (\n <button\n {...onDeleteFocusProps}\n data-test-id=\"dropdown-delete-button\"\n aria-label=\"Delete selection\"\n type=\"button\"\n className={merge([\n 'tw-rounded',\n isOnDeleteFocusVisible && FOCUS_STYLE,\n disabled ? 'tw-pointer-events-none tw-text-black-40' : 'tw-text-black-80',\n ])}\n onClick={onDelete}\n >\n <IconTrashBin size={12} />\n </button>\n )}\n <button\n {...buttonProps}\n type=\"button\"\n tabIndex={-1}\n disabled={disabled}\n aria-hidden\n className={merge([\n 'tw-rounded',\n disabled\n ? 'tw-pointer-events-none tw-text-black-40'\n : merge([\n 'group-hover:tw-text-black ',\n isOpen ? 'tw-text-black-100' : 'tw-text-black-80',\n FOCUS_VISIBLE_STYLE,\n ]),\n ])}\n >\n <div className={merge(['tw-transition-transform', isOpen && 'tw-rotate-180'])}>\n <IconCaretDown size={16} />\n </div>\n </button>\n\n {(validation === Validation.Error || validation === Validation.Warning) && (\n <span\n className={merge([\n 'tw-flex tw-items-center tw-justify-center',\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 </div>\n );\n};\n\n/**\n * @deprecated Please use a custom component instead.\n */\nTrigger.displayName = 'FondueTrigger';\n"],"names":["TriggerEmphasis","getTriggerClassNames","isFocusVisible","disabled","isOpen","emphasis","validation","merge","FOCUS_STYLE","validationClassMap","Trigger","buttonProps","onClear","onDelete","children","size","showClear","Validation","clearableFocusProps","isClearFocusVisible","useFocusRing","onDeleteFocusProps","isOnDeleteFocusVisible","jsxs","jsx","IconCross","IconTrashBin","FOCUS_VISIBLE_STYLE","IconCaretDown","IconExclamationMarkTriangle"],"mappings":"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"}
|