@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,47 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { useState as w, isValidElement as m, cloneElement as d } from "react";
|
|
3
|
-
import { merge as x } from "../../utilities/merge.es.js";
|
|
4
|
-
import { AccordionHeaderIcon as f } from "./AccordionHeaderIcon.es.js";
|
|
5
|
-
const p = "fondue-accordion-header", h = ({
|
|
6
|
-
isOpen: a = !1,
|
|
7
|
-
decorator: r,
|
|
8
|
-
disabled: n = !1,
|
|
9
|
-
children: s,
|
|
10
|
-
"data-test-id": t = p
|
|
11
|
-
}) => {
|
|
12
|
-
const [o, c] = w(null), i = /* @__PURE__ */ e(f, { isOpen: a });
|
|
13
|
-
return /* @__PURE__ */ e("span", { "data-test-id": t, className: "tw-block tw-px-8 tw-py-6", children: /* @__PURE__ */ l(
|
|
14
|
-
"span",
|
|
15
|
-
{
|
|
16
|
-
"data-test-id": `${t}-container`,
|
|
17
|
-
role: "navigation",
|
|
18
|
-
"aria-label": `${(o == null ? void 0 : o.innerText) || ""}`,
|
|
19
|
-
className: x([
|
|
20
|
-
"tw-flex tw-items-center tw-gap-x-1.5 tw-w-full tw-flex-row",
|
|
21
|
-
!n && a && "tw-text-text",
|
|
22
|
-
!n && !a && "tw-text-text-weak hover:tw-text-text",
|
|
23
|
-
n && "tw-text-text-disabled"
|
|
24
|
-
]),
|
|
25
|
-
children: [
|
|
26
|
-
m(r) && /* @__PURE__ */ e("span", { "data-test-id": `${t}-decorator`, className: "tw-shrink-0 tw-leading-4", children: d(r, {
|
|
27
|
-
size: 16
|
|
28
|
-
}) }),
|
|
29
|
-
/* @__PURE__ */ e(
|
|
30
|
-
"span",
|
|
31
|
-
{
|
|
32
|
-
ref: c,
|
|
33
|
-
"data-test-id": `${t}-text`,
|
|
34
|
-
className: "tw-text-left tw-text-m tw-font-normal",
|
|
35
|
-
children: s
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
i && /* @__PURE__ */ e("span", { "data-test-id": `${t}-icon-container`, className: "tw-ml-auto tw-shrink-0", children: i })
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
) });
|
|
42
|
-
};
|
|
43
|
-
h.displayName = "FondueAccordionHeader";
|
|
44
|
-
export {
|
|
45
|
-
h as AccordionHeader
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=AccordionHeader.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionHeader.es.js","sources":["../../../src/components/Accordion/AccordionHeader.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement, cloneElement, isValidElement, useState } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { AccordionHeaderIcon } from './AccordionHeaderIcon';\nimport { type AccordionHeaderProps } from './types';\n\n/**\n * @deprecated Please use updated Accordion component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#accordion the migration guide}.\n */\nconst ACCORDION_HEADER_TEST_ID = 'fondue-accordion-header';\n\n/**\n * @deprecated Please use updated Accordion component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#accordion the migration guide}.\n */\nexport const AccordionHeader = ({\n isOpen = false,\n decorator,\n disabled = false,\n children,\n 'data-test-id': dataTestId = ACCORDION_HEADER_TEST_ID,\n}: AccordionHeaderProps) => {\n const [headingRef, setHeadingRef] = useState<HTMLSpanElement | null>(null);\n const icon = <AccordionHeaderIcon isOpen={isOpen} />;\n\n return (\n <span data-test-id={dataTestId} className=\"tw-block tw-px-8 tw-py-6\">\n <span\n data-test-id={`${dataTestId}-container`}\n role=\"navigation\"\n aria-label={`${headingRef?.innerText || ''}`}\n className={merge([\n 'tw-flex tw-items-center tw-gap-x-1.5 tw-w-full tw-flex-row',\n !disabled && isOpen && 'tw-text-text',\n !disabled && !isOpen && 'tw-text-text-weak hover:tw-text-text',\n disabled && 'tw-text-text-disabled',\n ])}\n >\n {isValidElement(decorator) && (\n <span data-test-id={`${dataTestId}-decorator`} className=\"tw-shrink-0 tw-leading-4\">\n {cloneElement(decorator as ReactElement, {\n size: 16,\n })}\n </span>\n )}\n <span\n ref={setHeadingRef}\n data-test-id={`${dataTestId}-text`}\n className=\"tw-text-left tw-text-m tw-font-normal\"\n >\n {children}\n </span>\n {icon && (\n <span data-test-id={`${dataTestId}-icon-container`} className=\"tw-ml-auto tw-shrink-0\">\n {icon}\n </span>\n )}\n </span>\n </span>\n );\n};\nAccordionHeader.displayName = 'FondueAccordionHeader';\n"],"names":["ACCORDION_HEADER_TEST_ID","AccordionHeader","isOpen","decorator","disabled","children","dataTestId","headingRef","setHeadingRef","useState","icon","jsx","AccordionHeaderIcon","jsxs","merge","isValidElement","cloneElement"],"mappings":";;;;AAYA,MAAMA,IAA2B,2BAKpBC,IAAkB,CAAC;AAAA,EAC5B,QAAAC,IAAS;AAAA,EACT,WAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,UAAAC;AAAA,EACA,gBAAgBC,IAAaN;AACjC,MAA4B;AACxB,QAAM,CAACO,GAAYC,CAAa,IAAIC,EAAiC,IAAI,GACnEC,IAAO,gBAAAC,EAACC,GAAA,EAAoB,QAAAV,EAAA,CAAgB;AAElD,SACI,gBAAAS,EAAC,QAAA,EAAK,gBAAcL,GAAY,WAAU,4BACtC,UAAA,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,gBAAc,GAAGP,CAAU;AAAA,MAC3B,MAAK;AAAA,MACL,cAAY,IAAGC,KAAA,gBAAAA,EAAY,cAAa,EAAE;AAAA,MAC1C,WAAWO,EAAM;AAAA,QACb;AAAA,QACA,CAACV,KAAYF,KAAU;AAAA,QACvB,CAACE,KAAY,CAACF,KAAU;AAAA,QACxBE,KAAY;AAAA,MAAA,CACf;AAAA,MAEA,UAAA;AAAA,QAAAW,EAAeZ,CAAS,KACrB,gBAAAQ,EAAC,QAAA,EAAK,gBAAc,GAAGL,CAAU,cAAc,WAAU,4BACpD,UAAAU,EAAab,GAA2B;AAAA,UACrC,MAAM;AAAA,QAAA,CACT,GACL;AAAA,QAEJ,gBAAAQ;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,KAAKH;AAAA,YACL,gBAAc,GAAGF,CAAU;AAAA,YAC3B,WAAU;AAAA,YAET,UAAAD;AAAA,UAAA;AAAA,QAAA;AAAA,QAEJK,uBACI,QAAA,EAAK,gBAAc,GAAGJ,CAAU,mBAAmB,WAAU,0BACzD,UAAAI,EAAA,CACL;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAGZ;AAER;AACAT,EAAgB,cAAc;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { IconCaretDown as r } from "@frontify/fondue-icons";
|
|
3
|
-
import { merge as n } from "../../utilities/merge.es.js";
|
|
4
|
-
const i = "fondue-accordion-header-icon", c = {
|
|
5
|
-
small: 12,
|
|
6
|
-
medium: 16,
|
|
7
|
-
large: 20
|
|
8
|
-
}, d = ({
|
|
9
|
-
size: t = "medium",
|
|
10
|
-
isOpen: a,
|
|
11
|
-
"data-test-id": e = i
|
|
12
|
-
}) => /* @__PURE__ */ o("span", { "data-test-id": `${e}-wrapper`, className: "tw-block", children: /* @__PURE__ */ o(
|
|
13
|
-
"span",
|
|
14
|
-
{
|
|
15
|
-
"data-test-id": e,
|
|
16
|
-
className: n(["tw-block tw-transition-transform", a && "tw-rotate-180 tw-duration-300"]),
|
|
17
|
-
children: /* @__PURE__ */ o(r, { size: c[t] })
|
|
18
|
-
}
|
|
19
|
-
) });
|
|
20
|
-
d.displayName = "FondueAccordionHeaderIcon";
|
|
21
|
-
export {
|
|
22
|
-
d as AccordionHeaderIcon
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=AccordionHeaderIcon.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionHeaderIcon.es.js","sources":["../../../src/components/Accordion/AccordionHeaderIcon.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type FondueIconProps, IconCaretDown } from '@frontify/fondue-icons';\nimport { type ReactElement } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { type AccordionHeaderIconProps, type AccordionHeaderIconSize } from './types';\n\n/**\n * @deprecated Please use updated Accordion component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#accordion the migration guide}.\n */\nconst ACCORDION_HEADER_ICON_ID = 'fondue-accordion-header-icon';\n\nconst sizeMap: Record<AccordionHeaderIconSize, FondueIconProps['size']> = {\n small: 12,\n medium: 16,\n large: 20,\n};\n\n/**\n * @deprecated Please use updated Accordion component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#accordion the migration guide}.\n */\nexport const AccordionHeaderIcon = ({\n size = 'medium',\n isOpen,\n 'data-test-id': dataTestId = ACCORDION_HEADER_ICON_ID,\n}: AccordionHeaderIconProps): ReactElement => (\n <span data-test-id={`${dataTestId}-wrapper`} className=\"tw-block\">\n <span\n data-test-id={dataTestId}\n className={merge(['tw-block tw-transition-transform', isOpen && 'tw-rotate-180 tw-duration-300'])}\n >\n <IconCaretDown size={sizeMap[size]} />\n </span>\n </span>\n);\n\nAccordionHeaderIcon.displayName = 'FondueAccordionHeaderIcon';\n"],"names":["ACCORDION_HEADER_ICON_ID","sizeMap","AccordionHeaderIcon","size","isOpen","dataTestId","jsx","merge","IconCaretDown"],"mappings":";;;AAYA,MAAMA,IAA2B,gCAE3BC,IAAoE;AAAA,EACtE,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACX,GAKaC,IAAsB,CAAC;AAAA,EAChC,MAAAC,IAAO;AAAA,EACP,QAAAC;AAAA,EACA,gBAAgBC,IAAaL;AACjC,wBACK,QAAA,EAAK,gBAAc,GAAGK,CAAU,YAAY,WAAU,YACnD,UAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,gBAAcD;AAAA,IACd,WAAWE,EAAM,CAAC,oCAAoCH,KAAU,+BAA+B,CAAC;AAAA,IAEhG,UAAA,gBAAAE,EAACE,GAAA,EAAc,MAAMP,EAAQE,CAAI,EAAA,CAAG;AAAA,EAAA;AACxC,EAAA,CACJ;AAGJD,EAAoB,cAAc;"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useMenu as I } from "@react-aria/menu";
|
|
3
|
-
import { useTreeState as M } from "@react-stately/tree";
|
|
4
|
-
import { useRef as b } from "react";
|
|
5
|
-
import { AriaList as R } from "./Aria/AriaList.es.js";
|
|
6
|
-
import { AriaMenuItem as g } from "./Aria/AriaMenuItem.es.js";
|
|
7
|
-
import { AriaSection as h } from "./Aria/AriaSection.es.js";
|
|
8
|
-
import { getMenuItems as k, getKeyItemRecord as K, mapToAriaProps as L, getDisabledItemIds as P } from "./Aria/helper.es.js";
|
|
9
|
-
const x = ({
|
|
10
|
-
menuBlocks: r,
|
|
11
|
-
ariaLabel: a = "Action Menu",
|
|
12
|
-
focus: c,
|
|
13
|
-
border: p = !0,
|
|
14
|
-
scrollable: u = !1,
|
|
15
|
-
onClick: l
|
|
16
|
-
}) => {
|
|
17
|
-
const n = k(r), d = K(n), i = L(a, r), e = M({
|
|
18
|
-
...i,
|
|
19
|
-
selectionMode: "none",
|
|
20
|
-
disabledKeys: P(n)
|
|
21
|
-
}), s = b(null), { menuProps: f } = I({ ...i, autoFocus: c }, e, s);
|
|
22
|
-
return /* @__PURE__ */ t(R, { ariaProps: { ...f }, ref: s, border: p, scrollable: u, children: [...e.collection].map((m) => {
|
|
23
|
-
const { key: y, "aria-label": A } = m;
|
|
24
|
-
return /* @__PURE__ */ t(h, { ariaLabel: A, children: [...m.childNodes].map((o) => /* @__PURE__ */ t(
|
|
25
|
-
g,
|
|
26
|
-
{
|
|
27
|
-
menuItem: d[o.key],
|
|
28
|
-
state: e,
|
|
29
|
-
node: o,
|
|
30
|
-
onClick: l
|
|
31
|
-
},
|
|
32
|
-
o.key
|
|
33
|
-
)) }, y);
|
|
34
|
-
}) });
|
|
35
|
-
};
|
|
36
|
-
x.displayName = "FondueActionMenu";
|
|
37
|
-
export {
|
|
38
|
-
x as ActionMenu
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=ActionMenu.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionMenu.es.js","sources":["../../../src/components/ActionMenu/ActionMenu.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useMenu } from '@react-aria/menu';\nimport { useTreeState } from '@react-stately/tree';\nimport { type FocusStrategy } from '@react-types/shared';\nimport { type ReactElement, useRef } from 'react';\n\nimport { AriaList } from '@components/ActionMenu/Aria/AriaList';\nimport { AriaMenuItem } from '@components/ActionMenu/Aria/AriaMenuItem';\nimport { AriaSection } from '@components/ActionMenu/Aria/AriaSection';\nimport { getDisabledItemIds, getKeyItemRecord, getMenuItems, mapToAriaProps } from '@components/ActionMenu/Aria/helper';\nimport { type MenuItemType } from '@components/Dropdown/SelectMenu/SelectMenu';\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport type ActionMenuItemType = MenuItemType & { onClick: () => void };\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport type ActionMenuSwitchItemType = MenuItemType & {\n onClick: (switchValue: boolean) => void;\n type: 'switch';\n initialValue: boolean;\n};\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport type ActionMenuBlock = {\n id: string;\n menuItems: (ActionMenuItemType | ActionMenuSwitchItemType)[];\n ariaLabel?: string;\n};\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport type ActionMenuProps = {\n ariaLabel?: string;\n menuBlocks: ActionMenuBlock[];\n focus?: FocusStrategy;\n border?: boolean;\n scrollable?: boolean;\n /**\n * @deprecated Use the onClick method available on each `menuItem` in the `menuBlocks` instead.\n * @example\n * <ActionMenu\n menuBlocks={[\n {\n id: 'menu-block-1',\n menuItems: [\n {\n id: 'menu-item-1',\n label: 'Item 1',\n onClick: () => console.log('Item 1 clicked');\n },\n ],\n },\n ]}\n />\n * */\n onClick?: () => void;\n};\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#dropdown the migration guide}.\n */\nexport const ActionMenu = ({\n menuBlocks,\n ariaLabel = 'Action Menu',\n focus,\n border = true,\n scrollable = false,\n onClick,\n}: ActionMenuProps): ReactElement<ActionMenuProps> => {\n const items = getMenuItems(menuBlocks);\n const keyItemRecord = getKeyItemRecord(items);\n const props = mapToAriaProps(ariaLabel, menuBlocks);\n const state = useTreeState({\n ...props,\n selectionMode: 'none',\n disabledKeys: getDisabledItemIds(items),\n });\n const menuRef = useRef<HTMLUListElement | null>(null);\n const { menuProps } = useMenu({ ...props, autoFocus: focus }, state, menuRef);\n\n return (\n <AriaList ariaProps={{ ...menuProps }} ref={menuRef} border={border} scrollable={scrollable}>\n {[...state.collection].map((section) => {\n const { key: sectionKey, 'aria-label': sectionAriaLabel } = section;\n\n return (\n <AriaSection key={sectionKey} ariaLabel={sectionAriaLabel}>\n {[...section.childNodes].map((item) => (\n <AriaMenuItem\n key={item.key}\n menuItem={keyItemRecord[item.key as string]}\n state={state}\n node={item}\n onClick={onClick}\n />\n ))}\n </AriaSection>\n );\n })}\n </AriaList>\n );\n};\nActionMenu.displayName = 'FondueActionMenu';\n"],"names":["ActionMenu","menuBlocks","ariaLabel","focus","border","scrollable","onClick","items","getMenuItems","keyItemRecord","getKeyItemRecord","props","mapToAriaProps","state","useTreeState","getDisabledItemIds","menuRef","useRef","menuProps","useMenu","AriaList","section","sectionKey","sectionAriaLabel","jsx","AriaSection","item","AriaMenuItem"],"mappings":";;;;;;;;AAqEO,MAAMA,IAAa,CAAC;AAAA,EACvB,YAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,YAAAC,IAAa;AAAA,EACb,SAAAC;AACJ,MAAsD;AAClD,QAAMC,IAAQC,EAAaP,CAAU,GAC/BQ,IAAgBC,EAAiBH,CAAK,GACtCI,IAAQC,EAAeV,GAAWD,CAAU,GAC5CY,IAAQC,EAAa;AAAA,IACvB,GAAGH;AAAA,IACH,eAAe;AAAA,IACf,cAAcI,EAAmBR,CAAK;AAAA,EAAA,CACzC,GACKS,IAAUC,EAAgC,IAAI,GAC9C,EAAE,WAAAC,MAAcC,EAAQ,EAAE,GAAGR,GAAO,WAAWR,EAAA,GAASU,GAAOG,CAAO;AAE5E,2BACKI,GAAA,EAAS,WAAW,EAAE,GAAGF,EAAA,GAAa,KAAKF,GAAS,QAAAZ,GAAgB,YAAAC,GAChE,WAAC,GAAGQ,EAAM,UAAU,EAAE,IAAI,CAACQ,MAAY;AACpC,UAAM,EAAE,KAAKC,GAAY,cAAcC,MAAqBF;AAE5D,WACI,gBAAAG,EAACC,GAAA,EAA6B,WAAWF,GACpC,UAAA,CAAC,GAAGF,EAAQ,UAAU,EAAE,IAAI,CAACK,MAC1B,gBAAAF;AAAA,MAACG;AAAA,MAAA;AAAA,QAEG,UAAUlB,EAAciB,EAAK,GAAa;AAAA,QAC1C,OAAAb;AAAA,QACA,MAAMa;AAAA,QACN,SAAApB;AAAA,MAAA;AAAA,MAJKoB,EAAK;AAAA,IAAA,CAMjB,KATaJ,CAUlB;AAAA,EAER,CAAC,EAAA,CACL;AAER;AACAtB,EAAW,cAAc;"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as w } from "react";
|
|
3
|
-
import { merge as a } from "../../../utilities/merge.es.js";
|
|
4
|
-
const m = w(
|
|
5
|
-
({ ariaProps: t, children: o, scrollable: e = !1, border: r = !0 }, i) => /* @__PURE__ */ s(
|
|
6
|
-
"ul",
|
|
7
|
-
{
|
|
8
|
-
...t,
|
|
9
|
-
ref: i,
|
|
10
|
-
className: a([
|
|
11
|
-
"tw-list-none tw-p-0 tw-m-0 tw-bg-base tw-z-20 focus-visible:tw-outline-none",
|
|
12
|
-
r && "tw-border tw-border-line tw-rounded",
|
|
13
|
-
e && "tw-overflow-y-auto"
|
|
14
|
-
]),
|
|
15
|
-
children: o
|
|
16
|
-
}
|
|
17
|
-
)
|
|
18
|
-
);
|
|
19
|
-
m.displayName = "FondueAriaList";
|
|
20
|
-
export {
|
|
21
|
-
m as AriaList
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=AriaList.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AriaList.es.js","sources":["../../../../src/components/ActionMenu/Aria/AriaList.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type HTMLAttributes, type ReactNode, forwardRef } from 'react';\n\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead.\n */\nexport type AriaListProps = {\n ariaProps: HTMLAttributes<HTMLElement>;\n border?: boolean;\n children: ReactNode;\n scrollable?: boolean;\n};\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead.\n */\nexport const AriaList = forwardRef<HTMLUListElement | null, AriaListProps>(\n ({ ariaProps, children, scrollable = false, border = true }, ref) => (\n <ul\n {...ariaProps}\n ref={ref}\n className={merge([\n 'tw-list-none tw-p-0 tw-m-0 tw-bg-base tw-z-20 focus-visible:tw-outline-none',\n border && 'tw-border tw-border-line tw-rounded',\n scrollable && 'tw-overflow-y-auto',\n ])}\n >\n {children}\n </ul>\n ),\n);\n\nAriaList.displayName = 'FondueAriaList';\n"],"names":["AriaList","forwardRef","ariaProps","children","scrollable","border","ref","jsx","merge"],"mappings":";;;AAmBO,MAAMA,IAAWC;AAAA,EACpB,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,YAAAC,IAAa,IAAO,QAAAC,IAAS,MAAQC,MACzD,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACI,GAAGL;AAAA,MACJ,KAAAI;AAAA,MACA,WAAWE,EAAM;AAAA,QACb;AAAA,QACAH,KAAU;AAAA,QACVD,KAAc;AAAA,MAAA,CACjB;AAAA,MAEA,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGb;AAEAH,EAAS,cAAc;"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useFocusRing as C } from "@react-aria/focus";
|
|
3
|
-
import { useMenuItem as A } from "@react-aria/menu";
|
|
4
|
-
import { mergeProps as x } from "@react-aria/utils";
|
|
5
|
-
import { useRef as F, useState as d, useEffect as j } from "react";
|
|
6
|
-
import { MenuItem as E } from "../../MenuItem/MenuItem.es.js";
|
|
7
|
-
import { Switch as N } from "../../Switch/Switch.es.js";
|
|
8
|
-
import { FOCUS_STYLE_INSET as O } from "../../../utilities/focusStyle.es.js";
|
|
9
|
-
import { merge as P } from "../../../utilities/merge.es.js";
|
|
10
|
-
const z = (t) => typeof t.onClick < "u" && typeof t.type > "u", n = (t) => typeof t.onClick < "u" && t.type === "switch", R = (t, e) => {
|
|
11
|
-
const [o, l] = d(e ?? !1), [i, s] = d({
|
|
12
|
-
switchComponent: void 0,
|
|
13
|
-
switchValue: null,
|
|
14
|
-
toggleSwitch: null
|
|
15
|
-
});
|
|
16
|
-
return j(() => {
|
|
17
|
-
t && s({
|
|
18
|
-
switchComponent: /* @__PURE__ */ r(N, { size: "small", mode: o ? "on" : "off" }),
|
|
19
|
-
switchValue: o,
|
|
20
|
-
toggleSwitch: () => l(!o)
|
|
21
|
-
});
|
|
22
|
-
}, [t, o]), i;
|
|
23
|
-
}, T = ({ menuItem: t, node: e, state: o, isSelected: l, onClick: i }) => {
|
|
24
|
-
const s = F(null), a = n(t) ? t.initialValue : !1, {
|
|
25
|
-
switchComponent: f = void 0,
|
|
26
|
-
switchValue: w = null,
|
|
27
|
-
toggleSwitch: c = null
|
|
28
|
-
} = R(n(t), a), { menuItemProps: h } = A(
|
|
29
|
-
{
|
|
30
|
-
...e,
|
|
31
|
-
onAction: () => {
|
|
32
|
-
z(t) && t.onClick(), n(t) && (c == null || c(), t.onClick(!w));
|
|
33
|
-
},
|
|
34
|
-
isDisabled: (t == null ? void 0 : t.disabled) || !1,
|
|
35
|
-
"aria-label": typeof (t == null ? void 0 : t.title) == "string" ? t == null ? void 0 : t.title : "Menu item"
|
|
36
|
-
},
|
|
37
|
-
o,
|
|
38
|
-
s
|
|
39
|
-
), { title: u, decorator: b, subtitle: S, size: g, style: y, disabled: p, selectionIndicator: v } = t, { isFocusVisible: M, focusProps: V } = C();
|
|
40
|
-
return /* @__PURE__ */ r(
|
|
41
|
-
"li",
|
|
42
|
-
{
|
|
43
|
-
...x(h, V, { onClick: () => i == null ? void 0 : i() }),
|
|
44
|
-
"data-test-id": "menu-item",
|
|
45
|
-
className: P([
|
|
46
|
-
"tw-relative hover:tw-bg-box-neutral-hover tw-list-none tw-outline-none",
|
|
47
|
-
p && "tw-pointer-events-none tw-top-px",
|
|
48
|
-
M && O
|
|
49
|
-
]),
|
|
50
|
-
ref: s,
|
|
51
|
-
children: /* @__PURE__ */ r(
|
|
52
|
-
E,
|
|
53
|
-
{
|
|
54
|
-
title: u,
|
|
55
|
-
decorator: b,
|
|
56
|
-
subtitle: S,
|
|
57
|
-
size: g,
|
|
58
|
-
style: y,
|
|
59
|
-
disabled: p,
|
|
60
|
-
active: l,
|
|
61
|
-
selectionIndicator: v,
|
|
62
|
-
switchComponent: f
|
|
63
|
-
}
|
|
64
|
-
)
|
|
65
|
-
}
|
|
66
|
-
);
|
|
67
|
-
};
|
|
68
|
-
T.displayName = "FondueAriaMenuItem";
|
|
69
|
-
export {
|
|
70
|
-
T as AriaMenuItem
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=AriaMenuItem.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AriaMenuItem.es.js","sources":["../../../../src/components/ActionMenu/Aria/AriaMenuItem.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useFocusRing } from '@react-aria/focus';\nimport { useMenuItem } from '@react-aria/menu';\nimport { mergeProps } from '@react-aria/utils';\nimport { type TreeState } from '@react-stately/tree';\nimport { type Node } from '@react-types/shared';\nimport { type ReactElement, useEffect, useRef, useState } from 'react';\n\nimport { type ActionMenuItemType, type ActionMenuSwitchItemType } from '@components/ActionMenu/ActionMenu';\nimport { type MenuItemType } from '@components/Dropdown';\nimport { MenuItem } from '@components/MenuItem/MenuItem';\nimport { Switch } from '@components/Switch/Switch';\nimport { FOCUS_STYLE_INSET } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport type AriaOptionProps = {\n menuItem: MenuItemType | ActionMenuItemType | ActionMenuSwitchItemType;\n node: Node<object>;\n isSelected?: boolean;\n state: TreeState<object>;\n /**\n * @deprecated Use `menuItem.onClick` instead\n * */\n onClick?: () => void;\n};\n\ninterface SwitchObject {\n switchComponent: ReactElement | undefined;\n switchValue: boolean | null;\n toggleSwitch: VoidFunction | null;\n}\n\nconst isActionMenuItem = (\n menuItem: MenuItemType | ActionMenuItemType | ActionMenuSwitchItemType,\n): menuItem is ActionMenuItemType =>\n typeof (menuItem as ActionMenuItemType).onClick !== 'undefined' && typeof menuItem.type === 'undefined';\nconst isActionMenuSwitchItem = (\n menuItem: MenuItemType | ActionMenuItemType | ActionMenuSwitchItemType,\n): menuItem is ActionMenuSwitchItemType =>\n typeof (menuItem as ActionMenuSwitchItemType).onClick !== 'undefined' && menuItem.type === 'switch';\n\nconst useSwitch = (isSwitch: boolean, initialValue: boolean) => {\n const [switchValue, setSwitchValue] = useState<boolean>(initialValue ?? false);\n const [switchObject, setSwitchObject] = useState<SwitchObject>({\n switchComponent: undefined,\n switchValue: null,\n toggleSwitch: null,\n });\n\n useEffect(() => {\n if (isSwitch) {\n const toggleSwitch = () => setSwitchValue(!switchValue);\n const switchComponent = <Switch size=\"small\" mode={switchValue ? 'on' : 'off'} />;\n\n // eslint-disable-next-line @eslint-react/set-state-in-effect\n setSwitchObject({\n switchComponent,\n switchValue,\n toggleSwitch,\n });\n }\n }, [isSwitch, switchValue]);\n\n return switchObject;\n};\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const AriaMenuItem = ({ menuItem, node, state, isSelected, onClick }: AriaOptionProps): ReactElement => {\n const ref = useRef<HTMLLIElement | null>(null);\n const initialValue = isActionMenuSwitchItem(menuItem) ? menuItem.initialValue : false;\n const {\n switchComponent = undefined,\n switchValue = null,\n toggleSwitch = null,\n } = useSwitch(isActionMenuSwitchItem(menuItem), initialValue);\n\n const { menuItemProps } = useMenuItem(\n {\n ...node,\n onAction: () => {\n if (isActionMenuItem(menuItem)) {\n menuItem.onClick();\n }\n if (isActionMenuSwitchItem(menuItem)) {\n toggleSwitch?.();\n menuItem.onClick(Boolean(!switchValue));\n }\n },\n isDisabled: menuItem?.disabled || false,\n 'aria-label': typeof menuItem?.title === 'string' ? menuItem?.title : 'Menu item',\n },\n state,\n ref,\n );\n const { title, decorator, subtitle, size, style, disabled, selectionIndicator } = menuItem;\n const { isFocusVisible, focusProps } = useFocusRing();\n\n return (\n <li\n {...mergeProps(menuItemProps, focusProps, { onClick: () => onClick?.() })}\n data-test-id=\"menu-item\"\n className={merge([\n 'tw-relative hover:tw-bg-box-neutral-hover tw-list-none tw-outline-none',\n disabled && 'tw-pointer-events-none tw-top-px',\n isFocusVisible && FOCUS_STYLE_INSET,\n ])}\n ref={ref}\n >\n <MenuItem\n title={title}\n decorator={decorator}\n subtitle={subtitle}\n size={size}\n style={style}\n disabled={disabled}\n active={isSelected}\n selectionIndicator={selectionIndicator}\n switchComponent={switchComponent}\n />\n </li>\n );\n};\nAriaMenuItem.displayName = 'FondueAriaMenuItem';\n"],"names":["isActionMenuItem","menuItem","isActionMenuSwitchItem","useSwitch","isSwitch","initialValue","switchValue","setSwitchValue","useState","switchObject","setSwitchObject","useEffect","Switch","AriaMenuItem","node","state","isSelected","onClick","ref","useRef","switchComponent","toggleSwitch","menuItemProps","useMenuItem","title","decorator","subtitle","size","style","disabled","selectionIndicator","isFocusVisible","focusProps","useFocusRing","jsx","mergeProps","merge","FOCUS_STYLE_INSET","MenuItem"],"mappings":";;;;;;;;;AAoCA,MAAMA,IAAmB,CACrBC,MAEA,OAAQA,EAAgC,UAAY,OAAe,OAAOA,EAAS,OAAS,KAC1FC,IAAyB,CAC3BD,MAEA,OAAQA,EAAsC,UAAY,OAAeA,EAAS,SAAS,UAEzFE,IAAY,CAACC,GAAmBC,MAA0B;AAC5D,QAAM,CAACC,GAAaC,CAAc,IAAIC,EAAkBH,KAAgB,EAAK,GACvE,CAACI,GAAcC,CAAe,IAAIF,EAAuB;AAAA,IAC3D,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,cAAc;AAAA,EAAA,CACjB;AAED,SAAAG,EAAU,MAAM;AACZ,IAAIP,KAKAM,EAAgB;AAAA,MACZ,mCAJqBE,GAAA,EAAO,MAAK,SAAQ,MAAMN,IAAc,OAAO,OAAO;AAAA,MAK3E,aAAAA;AAAA,MACA,cAPiB,MAAMC,EAAe,CAACD,CAAW;AAAA,IAOlD,CACH;AAAA,EAET,GAAG,CAACF,GAAUE,CAAW,CAAC,GAEnBG;AACX,GAKaI,IAAe,CAAC,EAAE,UAAAZ,GAAU,MAAAa,GAAM,OAAAC,GAAO,YAAAC,GAAY,SAAAC,QAA6C;AAC3G,QAAMC,IAAMC,EAA6B,IAAI,GACvCd,IAAeH,EAAuBD,CAAQ,IAAIA,EAAS,eAAe,IAC1E;AAAA,IACF,iBAAAmB,IAAkB;AAAA,IAClB,aAAAd,IAAc;AAAA,IACd,cAAAe,IAAe;AAAA,EAAA,IACflB,EAAUD,EAAuBD,CAAQ,GAAGI,CAAY,GAEtD,EAAE,eAAAiB,MAAkBC;AAAA,IACtB;AAAA,MACI,GAAGT;AAAA,MACH,UAAU,MAAM;AACZ,QAAId,EAAiBC,CAAQ,KACzBA,EAAS,QAAA,GAETC,EAAuBD,CAAQ,MAC/BoB,KAAA,QAAAA,KACApB,EAAS,QAAgB,CAACK,CAAY;AAAA,MAE9C;AAAA,MACA,aAAYL,KAAA,gBAAAA,EAAU,aAAY;AAAA,MAClC,cAAc,QAAOA,KAAA,gBAAAA,EAAU,UAAU,WAAWA,KAAA,gBAAAA,EAAU,QAAQ;AAAA,IAAA;AAAA,IAE1Ec;AAAA,IACAG;AAAA,EAAA,GAEE,EAAE,OAAAM,GAAO,WAAAC,GAAW,UAAAC,GAAU,MAAAC,GAAM,OAAAC,GAAO,UAAAC,GAAU,oBAAAC,MAAuB7B,GAC5E,EAAE,gBAAA8B,GAAgB,YAAAC,EAAA,IAAeC,EAAA;AAEvC,SACI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACI,GAAGC,EAAWb,GAAeU,GAAY,EAAE,SAAS,MAAMf,KAAA,gBAAAA,KAAa;AAAA,MACxE,gBAAa;AAAA,MACb,WAAWmB,EAAM;AAAA,QACb;AAAA,QACAP,KAAY;AAAA,QACZE,KAAkBM;AAAA,MAAA,CACrB;AAAA,MACD,KAAAnB;AAAA,MAEA,UAAA,gBAAAgB;AAAA,QAACI;AAAA,QAAA;AAAA,UACG,OAAAd;AAAA,UACA,WAAAC;AAAA,UACA,UAAAC;AAAA,UACA,MAAAC;AAAA,UACA,OAAAC;AAAA,UACA,UAAAC;AAAA,UACA,QAAQb;AAAA,UACR,oBAAAc;AAAA,UACA,iBAAAV;AAAA,QAAA;AAAA,MAAA;AAAA,IACJ;AAAA,EAAA;AAGZ;AACAP,EAAa,cAAc;"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useMenuSection as a } from "@react-aria/menu";
|
|
3
|
-
const s = ({ ariaLabel: e, children: r }) => {
|
|
4
|
-
const { itemProps: i, groupProps: o } = a({ "aria-label": e });
|
|
5
|
-
return /* @__PURE__ */ t("li", { ...i, className: "tw-border-b tw-border-line last:tw-border-0", "data-test-id": "menu-block-divider", children: /* @__PURE__ */ t("ul", { ...o, className: "tw-py-2 tw-px-0 tw-m-0 tw-list-none", "data-test-id": "menu-item-list", children: r }) });
|
|
6
|
-
};
|
|
7
|
-
s.displayName = "FondueAriaSection";
|
|
8
|
-
export {
|
|
9
|
-
s as AriaSection
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=AriaSection.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AriaSection.es.js","sources":["../../../../src/components/ActionMenu/Aria/AriaSection.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useMenuSection } from '@react-aria/menu';\nimport { type ReactElement, type ReactNode } from 'react';\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead.\n */\nexport type AriaSectionProps = {\n ariaLabel?: string;\n children: ReactNode;\n};\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead.\n */\nexport const AriaSection = ({ ariaLabel, children }: AriaSectionProps): ReactElement => {\n const { itemProps, groupProps } = useMenuSection({ 'aria-label': ariaLabel });\n\n return (\n <li {...itemProps} className=\"tw-border-b tw-border-line last:tw-border-0\" data-test-id=\"menu-block-divider\">\n <ul {...groupProps} className=\"tw-py-2 tw-px-0 tw-m-0 tw-list-none\" data-test-id=\"menu-item-list\">\n {children}\n </ul>\n </li>\n );\n};\nAriaSection.displayName = 'FondueAriaSection';\n"],"names":["AriaSection","ariaLabel","children","itemProps","groupProps","useMenuSection","jsx"],"mappings":";;AAgBO,MAAMA,IAAc,CAAC,EAAE,WAAAC,GAAW,UAAAC,QAA+C;AACpF,QAAM,EAAE,WAAAC,GAAW,YAAAC,EAAA,IAAeC,EAAe,EAAE,cAAcJ,GAAW;AAE5E,2BACK,MAAA,EAAI,GAAGE,GAAW,WAAU,+CAA8C,gBAAa,sBACpF,UAAA,gBAAAG,EAAC,MAAA,EAAI,GAAGF,GAAY,WAAU,uCAAsC,gBAAa,kBAC5E,UAAAF,GACL,GACJ;AAER;AACAF,EAAY,cAAc;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Section as d, Item as c } from "@react-stately/collections";
|
|
3
|
-
const m = (a, e) => ({
|
|
4
|
-
"aria-label": a,
|
|
5
|
-
children: e.map(({ id: t, menuItems: l, ariaLabel: o }) => /* @__PURE__ */ r(d, { title: t, "aria-label": o, children: l.map((i) => /* @__PURE__ */ r(c, { children: i.title }, i.id)) }, t))
|
|
6
|
-
}), p = (a) => a.flatMap(({ menuItems: e }) => e), b = (a) => a.reduce((e, t) => ({ ...e, [t.id]: t }), {}), f = (a) => new Set(
|
|
7
|
-
a.reduce((e, t) => [...e, t.disabled ? t.id : ""], []).filter((e) => e !== "").map((e) => e.toString())
|
|
8
|
-
);
|
|
9
|
-
export {
|
|
10
|
-
f as getDisabledItemIds,
|
|
11
|
-
b as getKeyItemRecord,
|
|
12
|
-
p as getMenuItems,
|
|
13
|
-
m as mapToAriaProps
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=helper.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helper.es.js","sources":["../../../../src/components/ActionMenu/Aria/helper.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { Item, Section } from '@react-stately/collections';\n\nimport { type MenuBlock, type MenuItemType } from '../../Dropdown/SelectMenu/SelectMenu';\nimport { type ActionMenuBlock, type ActionMenuItemType } from '../ActionMenu';\n\n// Method return type is unclear because React Aria hook props are inexplicitly typed\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const mapToAriaProps = (ariaLabel: string, menuBlocks: MenuBlock[] | ActionMenuBlock[]) => ({\n 'aria-label': ariaLabel,\n children: menuBlocks.map(({ id, menuItems, ariaLabel: sectionAriaLabel }) => (\n <Section title={id} key={id} aria-label={sectionAriaLabel}>\n {menuItems.map((menuItem) => (\n <Item key={menuItem.id}>{menuItem.title}</Item>\n ))}\n </Section>\n )),\n});\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const getMenuItems = <T extends MenuBlock | ActionMenuBlock = MenuBlock>(menuBlocks: T[]): T['menuItems'] =>\n menuBlocks.flatMap(({ menuItems }) => menuItems);\n\n/**\n * @deprecated Please use a custom component instead.\n */\nexport const getKeyItemRecord = <T extends MenuItemType | ActionMenuItemType = MenuItemType>(\n items: T[],\n): Record<string, T> => items.reduce<Record<string, T>>((previous, item) => ({ ...previous, [item.id]: item }), {});\n\n/**\n * @deprecated Use `Dropdown` from `@frontify/fondue/components` instead.\n */\nexport const getDisabledItemIds = <T extends MenuItemType | ActionMenuItemType = MenuItemType>(\n items: T[],\n): Set<T['id']> =>\n new Set(\n items\n .reduce((acc: (string | number)[], curr: MenuItemType) => [...acc, curr.disabled ? curr.id : ''], [])\n .filter((id) => id !== '')\n .map((id) => id.toString()),\n );\n"],"names":["mapToAriaProps","ariaLabel","menuBlocks","id","menuItems","sectionAriaLabel","jsx","Section","menuItem","Item","getMenuItems","getKeyItemRecord","items","previous","item","getDisabledItemIds","acc","curr"],"mappings":";;AAYO,MAAMA,IAAiB,CAACC,GAAmBC,OAAiD;AAAA,EAC/F,cAAcD;AAAA,EACd,UAAUC,EAAW,IAAI,CAAC,EAAE,IAAAC,GAAI,WAAAC,GAAW,WAAWC,EAAA,MAClD,gBAAAC,EAACC,GAAA,EAAQ,OAAOJ,GAAa,cAAYE,GACpC,UAAAD,EAAU,IAAI,CAACI,MACZ,gBAAAF,EAACG,GAAA,EAAwB,UAAAD,EAAS,MAAA,GAAvBA,EAAS,EAAoB,CAC3C,EAAA,GAHoBL,CAIzB,CACH;AACL,IAKaO,IAAe,CAAoDR,MAC5EA,EAAW,QAAQ,CAAC,EAAE,WAAAE,EAAA,MAAgBA,CAAS,GAKtCO,IAAmB,CAC5BC,MACoBA,EAAM,OAA0B,CAACC,GAAUC,OAAU,EAAE,GAAGD,GAAU,CAACC,EAAK,EAAE,GAAGA,EAAA,IAAS,CAAA,CAAE,GAKrGC,IAAqB,CAC9BH,MAEA,IAAI;AAAA,EACAA,EACK,OAAO,CAACI,GAA0BC,MAAuB,CAAC,GAAGD,GAAKC,EAAK,WAAWA,EAAK,KAAK,EAAE,GAAG,CAAA,CAAE,EACnG,OAAO,CAACd,MAAOA,MAAO,EAAE,EACxB,IAAI,CAACA,MAAOA,EAAG,SAAA,CAAU;AAClC;"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { IconArrowCircleUp as F, IconImageStack as b } from "@frontify/fondue-icons";
|
|
3
|
-
import { useRef as y } from "react";
|
|
4
|
-
import { Button as p } from "../Button/Button.es.js";
|
|
5
|
-
import { ButtonEmphasis as f, ButtonStyle as u } from "../Button/ButtonTypes.es.js";
|
|
6
|
-
import { useMemoizedId as j } from "../../hooks/useMemoizedId.es.js";
|
|
7
|
-
import { merge as a } from "../../utilities/merge.es.js";
|
|
8
|
-
import { SelectedAsset as A } from "./SingleAsset/SelectedAsset.es.js";
|
|
9
|
-
import { MultiAssetPreview as D } from "./MultiAssetPreview/MultiAssetPreview.es.js";
|
|
10
|
-
var W = /* @__PURE__ */ ((t) => (t.Small = "Small", t.Large = "Large", t))(W || {});
|
|
11
|
-
const E = ({
|
|
12
|
-
assets: t = [],
|
|
13
|
-
numberOfLocations: w = 1,
|
|
14
|
-
actions: o = [],
|
|
15
|
-
size: h = "Small",
|
|
16
|
-
isLoading: d = !1,
|
|
17
|
-
hideSize: g = !1,
|
|
18
|
-
hideExtension: x = !1,
|
|
19
|
-
onLibraryClick: s,
|
|
20
|
-
onUploadClick: r,
|
|
21
|
-
onMultiAssetClick: l,
|
|
22
|
-
acceptFileType: v
|
|
23
|
-
}) => {
|
|
24
|
-
const n = t.length, i = y(null), I = j(), N = (B) => {
|
|
25
|
-
const m = B.target.files;
|
|
26
|
-
m && r && r(m);
|
|
27
|
-
}, S = () => {
|
|
28
|
-
i.current && i.current.click();
|
|
29
|
-
};
|
|
30
|
-
return (d || n === 1) && o ? /* @__PURE__ */ e(
|
|
31
|
-
A,
|
|
32
|
-
{
|
|
33
|
-
asset: t[0],
|
|
34
|
-
size: h,
|
|
35
|
-
actions: o,
|
|
36
|
-
isLoading: d,
|
|
37
|
-
hideExtension: x,
|
|
38
|
-
hideSize: g
|
|
39
|
-
}
|
|
40
|
-
) : n > 1 && l ? /* @__PURE__ */ e(D, { assets: t, onClick: l, numberOfLocations: w }) : /* @__PURE__ */ c(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
"data-test-id": "asset-input-placeholder",
|
|
44
|
-
className: a([
|
|
45
|
-
"tw-grid tw-p-3 tw-border tw-border-dashed tw-border-black-10 tw-rounded",
|
|
46
|
-
r && s ? "tw-grid-cols-2 tw-divide-x tw-divide-black-10" : "tw-grid-cols-1"
|
|
47
|
-
]),
|
|
48
|
-
children: [
|
|
49
|
-
r && /* @__PURE__ */ c(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className: a(["tw-flex tw-flex-col tw-h-8", s && "tw-pr-3"]),
|
|
53
|
-
"data-test-id": "asset-input-upload",
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ e(
|
|
56
|
-
p,
|
|
57
|
-
{
|
|
58
|
-
style: u.Default,
|
|
59
|
-
onClick: S,
|
|
60
|
-
emphasis: f.Weak,
|
|
61
|
-
icon: /* @__PURE__ */ e(F, {}),
|
|
62
|
-
children: "Upload"
|
|
63
|
-
}
|
|
64
|
-
),
|
|
65
|
-
/* @__PURE__ */ e(
|
|
66
|
-
"input",
|
|
67
|
-
{
|
|
68
|
-
id: I,
|
|
69
|
-
ref: i,
|
|
70
|
-
className: "tw-hidden",
|
|
71
|
-
type: "file",
|
|
72
|
-
accept: v,
|
|
73
|
-
multiple: !!l,
|
|
74
|
-
onChange: N
|
|
75
|
-
}
|
|
76
|
-
)
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
),
|
|
80
|
-
s && /* @__PURE__ */ e(
|
|
81
|
-
"div",
|
|
82
|
-
{
|
|
83
|
-
className: a(["tw-flex tw-flex-col tw-h-8", r && "tw-pl-3"]),
|
|
84
|
-
"data-test-id": "asset-input-library",
|
|
85
|
-
children: /* @__PURE__ */ e(
|
|
86
|
-
p,
|
|
87
|
-
{
|
|
88
|
-
style: u.Default,
|
|
89
|
-
onClick: s,
|
|
90
|
-
emphasis: f.Weak,
|
|
91
|
-
icon: /* @__PURE__ */ e(b, {}),
|
|
92
|
-
children: "Browse"
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
);
|
|
100
|
-
};
|
|
101
|
-
E.displayName = "FondueAssetInput";
|
|
102
|
-
export {
|
|
103
|
-
E as AssetInput,
|
|
104
|
-
W as AssetInputSize
|
|
105
|
-
};
|
|
106
|
-
//# sourceMappingURL=AssetInput.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AssetInput.es.js","sources":["../../../src/components/AssetInput/AssetInput.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type FondueIconProps, IconArrowCircleUp, IconImageStack } from '@frontify/fondue-icons';\nimport { type ChangeEvent, type ReactElement, useRef } from 'react';\n\nimport { type ActionMenuProps } from '@components/ActionMenu/ActionMenu';\nimport { Button } from '@components/Button/Button';\nimport { ButtonEmphasis, ButtonStyle } from '@components/Button/ButtonTypes';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { merge } from '@utilities/merge';\n\nimport { MultiAssetPreview } from './MultiAssetPreview';\nimport { SelectedAsset } from './SingleAsset/SelectedAsset';\nimport { type AssetInputMenuBlock } from './types';\n\ntype BaseAsset = {\n name: string;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type ImageAsset = {\n type: 'image' | 'logo';\n name: string;\n extension: string;\n src?: string;\n alt?: string;\n icon?: undefined;\n size: number;\n};\n\ntype OtherAsset = BaseAsset & {\n type: 'audio';\n extension: string;\n src?: undefined;\n alt?: undefined;\n icon?: undefined;\n size: number;\n};\n\ntype IconAsset = BaseAsset & {\n type: 'icon';\n extension?: undefined;\n src?: undefined;\n alt?: undefined;\n icon: ReactElement<FondueIconProps>;\n size?: undefined;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type UploadSource = { source: 'upload'; sourceName?: undefined };\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type LibrarySource = { source: 'library'; sourceName: string };\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport enum AssetInputSize {\n Small = 'Small',\n Large = 'Large',\n}\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetType =\n | (ImageAsset & UploadSource)\n | (ImageAsset & LibrarySource)\n | (IconAsset & UploadSource)\n | (IconAsset & LibrarySource)\n | (OtherAsset & UploadSource)\n | (OtherAsset & LibrarySource);\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputProps = {\n assets?: AssetType[];\n size: AssetInputSize;\n numberOfLocations?: number;\n actions?: ActionMenuProps['menuBlocks'] | AssetInputMenuBlock[];\n isLoading?: boolean;\n hideSize?: boolean;\n hideExtension?: boolean;\n onUploadClick?: (files: FileList) => void;\n onLibraryClick?: () => void;\n onMultiAssetClick?: () => void;\n acceptFileType?: string;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const AssetInput = ({\n assets = [],\n numberOfLocations = 1,\n actions = [],\n size = AssetInputSize.Small,\n isLoading = false,\n hideSize = false,\n hideExtension = false,\n onLibraryClick,\n onUploadClick,\n onMultiAssetClick,\n acceptFileType,\n}: AssetInputProps): ReactElement => {\n const assetsLength = assets.length;\n const inputFile = useRef<HTMLInputElement | null>(null);\n const id = useMemoizedId();\n\n const onFileChange = (event: ChangeEvent<HTMLInputElement>) => {\n const files = event.target.files;\n\n if (files && onUploadClick) {\n onUploadClick(files);\n }\n };\n\n const onOpenFileUpload = () => {\n if (inputFile.current) {\n inputFile.current.click();\n }\n };\n\n if ((isLoading || assetsLength === 1) && actions) {\n return (\n <SelectedAsset\n asset={assets[0]}\n size={size}\n actions={actions}\n isLoading={isLoading}\n hideExtension={hideExtension}\n hideSize={hideSize}\n />\n );\n }\n\n if (assetsLength > 1 && onMultiAssetClick) {\n return <MultiAssetPreview assets={assets} onClick={onMultiAssetClick} numberOfLocations={numberOfLocations} />;\n }\n\n return (\n <div\n data-test-id=\"asset-input-placeholder\"\n className={merge([\n 'tw-grid tw-p-3 tw-border tw-border-dashed tw-border-black-10 tw-rounded',\n onUploadClick && onLibraryClick ? 'tw-grid-cols-2 tw-divide-x tw-divide-black-10' : 'tw-grid-cols-1',\n ])}\n >\n {onUploadClick && (\n <div\n className={merge(['tw-flex tw-flex-col tw-h-8', onLibraryClick && 'tw-pr-3'])}\n data-test-id=\"asset-input-upload\"\n >\n <Button\n style={ButtonStyle.Default}\n onClick={onOpenFileUpload}\n emphasis={ButtonEmphasis.Weak}\n icon={<IconArrowCircleUp />}\n >\n Upload\n </Button>\n <input\n id={id}\n ref={inputFile}\n className=\"tw-hidden\"\n type=\"file\"\n accept={acceptFileType}\n multiple={!!onMultiAssetClick}\n onChange={onFileChange}\n />\n </div>\n )}\n {onLibraryClick && (\n <div\n className={merge(['tw-flex tw-flex-col tw-h-8', onUploadClick && 'tw-pl-3'])}\n data-test-id=\"asset-input-library\"\n >\n <Button\n style={ButtonStyle.Default}\n onClick={onLibraryClick}\n emphasis={ButtonEmphasis.Weak}\n icon={<IconImageStack />}\n >\n Browse\n </Button>\n </div>\n )}\n </div>\n );\n};\nAssetInput.displayName = 'FondueAssetInput';\n"],"names":["AssetInputSize","AssetInput","assets","numberOfLocations","actions","size","isLoading","hideSize","hideExtension","onLibraryClick","onUploadClick","onMultiAssetClick","acceptFileType","assetsLength","inputFile","useRef","id","useMemoizedId","onFileChange","event","files","onOpenFileUpload","jsx","SelectedAsset","MultiAssetPreview","jsxs","merge","Button","ButtonStyle","ButtonEmphasis","IconArrowCircleUp","IconImageStack"],"mappings":";;;;;;;;;AA+DO,IAAKA,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SAFAA,IAAAA,KAAA,CAAA,CAAA;AAoCL,MAAMC,IAAa,CAAC;AAAA,EACvB,QAAAC,IAAS,CAAA;AAAA,EACT,mBAAAC,IAAoB;AAAA,EACpB,SAAAC,IAAU,CAAA;AAAA,EACV,MAAAC,IAAO;AAAA,EACP,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,eAAAC,IAAgB;AAAA,EAChB,gBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,gBAAAC;AACJ,MAAqC;AACjC,QAAMC,IAAeX,EAAO,QACtBY,IAAYC,EAAgC,IAAI,GAChDC,IAAKC,EAAA,GAELC,IAAe,CAACC,MAAyC;AAC3D,UAAMC,IAAQD,EAAM,OAAO;AAE3B,IAAIC,KAASV,KACTA,EAAcU,CAAK;AAAA,EAE3B,GAEMC,IAAmB,MAAM;AAC3B,IAAIP,EAAU,WACVA,EAAU,QAAQ,MAAA;AAAA,EAE1B;AAEA,UAAKR,KAAaO,MAAiB,MAAMT,IAEjC,gBAAAkB;AAAA,IAACC;AAAA,IAAA;AAAA,MACG,OAAOrB,EAAO,CAAC;AAAA,MACf,MAAAG;AAAA,MACA,SAAAD;AAAA,MACA,WAAAE;AAAA,MACA,eAAAE;AAAA,MACA,UAAAD;AAAA,IAAA;AAAA,EAAA,IAKRM,IAAe,KAAKF,IACb,gBAAAW,EAACE,GAAA,EAAkB,QAAAtB,GAAgB,SAASS,GAAmB,mBAAAR,GAAsC,IAI5G,gBAAAsB;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,gBAAa;AAAA,MACb,WAAWC,EAAM;AAAA,QACb;AAAA,QACAhB,KAAiBD,IAAiB,kDAAkD;AAAA,MAAA,CACvF;AAAA,MAEA,UAAA;AAAA,QAAAC,KACG,gBAAAe;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,WAAWC,EAAM,CAAC,8BAA8BjB,KAAkB,SAAS,CAAC;AAAA,YAC5E,gBAAa;AAAA,YAEb,UAAA;AAAA,cAAA,gBAAAa;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACG,OAAOC,EAAY;AAAA,kBACnB,SAASP;AAAA,kBACT,UAAUQ,EAAe;AAAA,kBACzB,wBAAOC,GAAA,EAAkB;AAAA,kBAC5B,UAAA;AAAA,gBAAA;AAAA,cAAA;AAAA,cAGD,gBAAAR;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,IAAAN;AAAA,kBACA,KAAKF;AAAA,kBACL,WAAU;AAAA,kBACV,MAAK;AAAA,kBACL,QAAQF;AAAA,kBACR,UAAU,CAAC,CAACD;AAAA,kBACZ,UAAUO;AAAA,gBAAA;AAAA,cAAA;AAAA,YACd;AAAA,UAAA;AAAA,QAAA;AAAA,QAGPT,KACG,gBAAAa;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,WAAWI,EAAM,CAAC,8BAA8BhB,KAAiB,SAAS,CAAC;AAAA,YAC3E,gBAAa;AAAA,YAEb,UAAA,gBAAAY;AAAA,cAACK;AAAA,cAAA;AAAA,gBACG,OAAOC,EAAY;AAAA,gBACnB,SAASnB;AAAA,gBACT,UAAUoB,EAAe;AAAA,gBACzB,wBAAOE,GAAA,EAAe;AAAA,gBACzB,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UAED;AAAA,QAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAIhB;AACA9B,EAAW,cAAc;"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { IconMusicNote as r } from "@frontify/fondue-icons";
|
|
3
|
-
import { cloneElement as u } from "react";
|
|
4
|
-
import { merge as c } from "../../utilities/merge.es.js";
|
|
5
|
-
import { AssetInputSize as o } from "./AssetInput.es.js";
|
|
6
|
-
const m = (t, e) => {
|
|
7
|
-
switch (!0) {
|
|
8
|
-
case t === o.Large:
|
|
9
|
-
return "tw-w-full tw-h-32";
|
|
10
|
-
case e:
|
|
11
|
-
return "tw-w-11 tw-h-11";
|
|
12
|
-
default:
|
|
13
|
-
return "tw-w-14 tw-h-full";
|
|
14
|
-
}
|
|
15
|
-
}, d = ({
|
|
16
|
-
asset: t,
|
|
17
|
-
size: e,
|
|
18
|
-
isActive: n = !1,
|
|
19
|
-
isMultiAsset: l = !1
|
|
20
|
-
}) => {
|
|
21
|
-
const a = t.type === "icon" || t.type === "audio" ? t.type : "default";
|
|
22
|
-
return /* @__PURE__ */ s(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
className: c([
|
|
26
|
-
"tw-flex tw-flex-none tw-items-center tw-justify-center tw-bg-black-5 dark:tw-bg-black-95",
|
|
27
|
-
m(e, l),
|
|
28
|
-
n ? "tw-text-black-100 dark:tw-text-white" : "tw-text-black-80 dark:tw-text-black-20"
|
|
29
|
-
]),
|
|
30
|
-
"data-test-id": "asset-input-thumbnail",
|
|
31
|
-
children: [
|
|
32
|
-
a === "icon" && /* @__PURE__ */ i("span", { "data-test-id": "asset-input-thumbnail-icon", children: t.icon && u(t.icon, { size: 24 }) }),
|
|
33
|
-
a === "audio" && /* @__PURE__ */ i(r, { size: 24, "data-test-id": "asset-input-thumbnail-audio" }),
|
|
34
|
-
a === "default" && /* @__PURE__ */ i(
|
|
35
|
-
"img",
|
|
36
|
-
{
|
|
37
|
-
src: t.src,
|
|
38
|
-
alt: t.alt || "",
|
|
39
|
-
className: "tw-max-h-full",
|
|
40
|
-
"data-test-id": "asset-input-thumbnail-image"
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
d.displayName = "FondueAssetThumbnail";
|
|
48
|
-
export {
|
|
49
|
-
d as AssetThumbnail
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=AssetThumbnail.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AssetThumbnail.es.js","sources":["../../../src/components/AssetInput/AssetThumbnail.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconMusicNote } from '@frontify/fondue-icons';\nimport { type ReactElement, cloneElement } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { type AssetInputProps, AssetInputSize } from './AssetInput';\nimport { type SelectedAssetProps } from './SingleAsset/SelectedAsset';\n\ntype AssetThumbnailProps = {\n asset: SelectedAssetProps['asset'];\n size: AssetInputProps['size'];\n isActive?: boolean;\n isMultiAsset?: boolean;\n};\n\nconst getIconSizeClassNames = (size: AssetInputSize, isMultiAsset: boolean) => {\n switch (true) {\n case size === AssetInputSize.Large:\n return 'tw-w-full tw-h-32';\n case isMultiAsset:\n return 'tw-w-11 tw-h-11';\n default:\n return 'tw-w-14 tw-h-full';\n }\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const AssetThumbnail = ({\n asset,\n size,\n isActive = false,\n isMultiAsset = false,\n}: AssetThumbnailProps): ReactElement => {\n const thumbnailVariant = asset.type === 'icon' || asset.type === 'audio' ? asset.type : 'default';\n\n return (\n <div\n className={merge([\n 'tw-flex tw-flex-none tw-items-center tw-justify-center tw-bg-black-5 dark:tw-bg-black-95',\n getIconSizeClassNames(size, isMultiAsset),\n isActive ? 'tw-text-black-100 dark:tw-text-white' : 'tw-text-black-80 dark:tw-text-black-20',\n ])}\n data-test-id=\"asset-input-thumbnail\"\n >\n {thumbnailVariant === 'icon' && (\n <span data-test-id=\"asset-input-thumbnail-icon\">\n {asset.icon && cloneElement(asset.icon, { size: 24 })}\n </span>\n )}\n {thumbnailVariant === 'audio' && <IconMusicNote size={24} data-test-id=\"asset-input-thumbnail-audio\" />}\n {thumbnailVariant === 'default' && (\n <img\n src={asset.src}\n alt={asset.alt || ''}\n className=\"tw-max-h-full\"\n data-test-id=\"asset-input-thumbnail-image\"\n />\n )}\n </div>\n );\n};\nAssetThumbnail.displayName = 'FondueAssetThumbnail';\n"],"names":["getIconSizeClassNames","size","isMultiAsset","AssetInputSize","AssetThumbnail","asset","isActive","thumbnailVariant","jsxs","merge","jsx","cloneElement","IconMusicNote"],"mappings":";;;;;AAiBA,MAAMA,IAAwB,CAACC,GAAsBC,MAA0B;AAC3E,UAAQ,IAAA;AAAA,IACJ,KAAKD,MAASE,EAAe;AACzB,aAAO;AAAA,IACX,KAAKD;AACD,aAAO;AAAA,IACX;AACI,aAAO;AAAA,EAAA;AAEnB,GAKaE,IAAiB,CAAC;AAAA,EAC3B,OAAAC;AAAA,EACA,MAAAJ;AAAA,EACA,UAAAK,IAAW;AAAA,EACX,cAAAJ,IAAe;AACnB,MAAyC;AACrC,QAAMK,IAAmBF,EAAM,SAAS,UAAUA,EAAM,SAAS,UAAUA,EAAM,OAAO;AAExF,SACI,gBAAAG;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAWC,EAAM;AAAA,QACb;AAAA,QACAT,EAAsBC,GAAMC,CAAY;AAAA,QACxCI,IAAW,yCAAyC;AAAA,MAAA,CACvD;AAAA,MACD,gBAAa;AAAA,MAEZ,UAAA;AAAA,QAAAC,MAAqB,UAClB,gBAAAG,EAAC,QAAA,EAAK,gBAAa,8BACd,UAAAL,EAAM,QAAQM,EAAaN,EAAM,MAAM,EAAE,MAAM,GAAA,CAAI,GACxD;AAAA,QAEHE,MAAqB,WAAW,gBAAAG,EAACE,KAAc,MAAM,IAAI,gBAAa,+BAA8B;AAAA,QACpGL,MAAqB,aAClB,gBAAAG;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,KAAKL,EAAM;AAAA,YACX,KAAKA,EAAM,OAAO;AAAA,YAClB,WAAU;AAAA,YACV,gBAAa;AAAA,UAAA;AAAA,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EAAA;AAIhB;AACAD,EAAe,cAAc;"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { IconCaretRight as m } from "@frontify/fondue-icons";
|
|
3
|
-
import { useButton as n } from "@react-aria/button";
|
|
4
|
-
import { useFocusRing as w } from "@react-aria/focus";
|
|
5
|
-
import { mergeProps as b } from "@react-aria/utils";
|
|
6
|
-
import { useRef as u } from "react";
|
|
7
|
-
import { FOCUS_STYLE as f } from "../../../utilities/focusStyle.es.js";
|
|
8
|
-
import { merge as p } from "../../../utilities/merge.es.js";
|
|
9
|
-
import { SelectedAssetsThumbnail as h } from "./SelectedAssetsThumbnail.es.js";
|
|
10
|
-
const S = ({ numberOfLocations: r, assets: s, onClick: l }) => {
|
|
11
|
-
const o = u(null), { buttonProps: a } = n({ onPress: l }, o), { isFocusVisible: c, focusProps: d } = w(), i = s.length;
|
|
12
|
-
return /* @__PURE__ */ t("div", { "data-test-id": "multi-asset-preview", children: /* @__PURE__ */ e(
|
|
13
|
-
"button",
|
|
14
|
-
{
|
|
15
|
-
type: "button",
|
|
16
|
-
title: "multi-asset-preview",
|
|
17
|
-
...b(a, d),
|
|
18
|
-
ref: o,
|
|
19
|
-
className: p([
|
|
20
|
-
"tw-flex tw-border tw-rounded hover:tw-border-black-90 dark:hover:tw-border-black-40 focus-visible:tw-outline-none dark:tw-text-white tw-mb-4 tw-w-full",
|
|
21
|
-
c ? `${f} tw-border-black-90 dark:tw-border-black-10` : "tw-border-black-20 dark:tw-border-black-80"
|
|
22
|
-
]),
|
|
23
|
-
children: [
|
|
24
|
-
/* @__PURE__ */ t(h, { assets: s }),
|
|
25
|
-
/* @__PURE__ */ e("div", { className: "tw-py-6 tw-px-4 tw-flex", children: [
|
|
26
|
-
/* @__PURE__ */ e("div", { className: "tw-text-left", children: [
|
|
27
|
-
/* @__PURE__ */ e("div", { className: "tw-font-bold tw-text-m", "data-test-id": "assets-amount", children: [
|
|
28
|
-
i,
|
|
29
|
-
" ",
|
|
30
|
-
i === 1 ? "Asset" : "Assets"
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ e("div", { className: "tw-text-black-60 tw-text-s tw-mt-1", "data-test-id": "number-of-locations", children: [
|
|
33
|
-
r,
|
|
34
|
-
" ",
|
|
35
|
-
r === 1 ? "location" : "locations"
|
|
36
|
-
] })
|
|
37
|
-
] }),
|
|
38
|
-
/* @__PURE__ */ t("div", { className: "tw-flex tw-items-center tw-text-black-70 tw-pl-4", children: /* @__PURE__ */ t("div", { className: "tw-absolute tw-right-12", children: /* @__PURE__ */ t(m, { size: 24 }) }) })
|
|
39
|
-
] })
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
) });
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
S as MultiAssetPreview
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=MultiAssetPreview.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MultiAssetPreview.es.js","sources":["../../../../src/components/AssetInput/MultiAssetPreview/MultiAssetPreview.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCaretRight } from '@frontify/fondue-icons';\nimport { useButton } from '@react-aria/button';\nimport { useFocusRing } from '@react-aria/focus';\nimport { mergeProps } from '@react-aria/utils';\nimport { type ReactElement, useRef } from 'react';\n\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { type AssetType } from '../AssetInput';\n\nimport { SelectedAssetsThumbnail } from './SelectedAssetsThumbnail';\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type MultiAssetPreviewProps = {\n numberOfLocations: number;\n assets: AssetType[];\n onClick: () => void;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const MultiAssetPreview = ({ numberOfLocations, assets, onClick }: MultiAssetPreviewProps): ReactElement => {\n const buttonRef = useRef<HTMLButtonElement | null>(null);\n const { buttonProps } = useButton({ onPress: onClick }, buttonRef);\n const { isFocusVisible, focusProps } = useFocusRing();\n const assetsLength = assets.length;\n\n return (\n <div data-test-id=\"multi-asset-preview\">\n <button\n type=\"button\"\n title=\"multi-asset-preview\"\n {...mergeProps(buttonProps, focusProps)}\n ref={buttonRef}\n className={merge([\n 'tw-flex tw-border tw-rounded hover:tw-border-black-90 dark:hover:tw-border-black-40 focus-visible:tw-outline-none dark:tw-text-white tw-mb-4 tw-w-full',\n isFocusVisible\n ? `${FOCUS_STYLE} tw-border-black-90 dark:tw-border-black-10`\n : 'tw-border-black-20 dark:tw-border-black-80',\n ])}\n >\n <SelectedAssetsThumbnail assets={assets} />\n\n <div className=\"tw-py-6 tw-px-4 tw-flex\">\n <div className=\"tw-text-left\">\n <div className=\"tw-font-bold tw-text-m\" data-test-id=\"assets-amount\">\n {assetsLength} {assetsLength === 1 ? 'Asset' : 'Assets'}\n </div>\n <div className=\"tw-text-black-60 tw-text-s tw-mt-1\" data-test-id=\"number-of-locations\">\n {numberOfLocations} {numberOfLocations === 1 ? 'location' : 'locations'}\n </div>\n </div>\n <div className=\"tw-flex tw-items-center tw-text-black-70 tw-pl-4\">\n <div className=\"tw-absolute tw-right-12\">\n <IconCaretRight size={24} />\n </div>\n </div>\n </div>\n </button>\n </div>\n );\n};\n"],"names":["MultiAssetPreview","numberOfLocations","assets","onClick","buttonRef","useRef","buttonProps","useButton","isFocusVisible","focusProps","useFocusRing","assetsLength","jsx","jsxs","mergeProps","merge","FOCUS_STYLE","SelectedAssetsThumbnail","IconCaretRight"],"mappings":";;;;;;;;;AA2BO,MAAMA,IAAoB,CAAC,EAAE,mBAAAC,GAAmB,QAAAC,GAAQ,SAAAC,QAAoD;AAC/G,QAAMC,IAAYC,EAAiC,IAAI,GACjD,EAAE,aAAAC,MAAgBC,EAAU,EAAE,SAASJ,EAAA,GAAWC,CAAS,GAC3D,EAAE,gBAAAI,GAAgB,YAAAC,EAAA,IAAeC,EAAA,GACjCC,IAAeT,EAAO;AAE5B,SACI,gBAAAU,EAAC,OAAA,EAAI,gBAAa,uBACd,UAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAGC,EAAWR,GAAaG,CAAU;AAAA,MACtC,KAAKL;AAAA,MACL,WAAWW,EAAM;AAAA,QACb;AAAA,QACAP,IACM,GAAGQ,CAAW,gDACd;AAAA,MAAA,CACT;AAAA,MAED,UAAA;AAAA,QAAA,gBAAAJ,EAACK,KAAwB,QAAAf,GAAgB;AAAA,QAEzC,gBAAAW,EAAC,OAAA,EAAI,WAAU,2BACX,UAAA;AAAA,UAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,gBACX,UAAA;AAAA,YAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,0BAAyB,gBAAa,iBAChD,UAAA;AAAA,cAAAF;AAAA,cAAa;AAAA,cAAEA,MAAiB,IAAI,UAAU;AAAA,YAAA,GACnD;AAAA,YACA,gBAAAE,EAAC,OAAA,EAAI,WAAU,sCAAqC,gBAAa,uBAC5D,UAAA;AAAA,cAAAZ;AAAA,cAAkB;AAAA,cAAEA,MAAsB,IAAI,aAAa;AAAA,YAAA,EAAA,CAChE;AAAA,UAAA,GACJ;AAAA,UACA,gBAAAW,EAAC,OAAA,EAAI,WAAU,oDACX,UAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,2BACX,UAAA,gBAAAA,EAACM,GAAA,EAAe,MAAM,GAAA,CAAI,GAC9B,EAAA,CACJ;AAAA,QAAA,EAAA,CACJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAER;AAER;"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { merge as l } from "../../../utilities/merge.es.js";
|
|
3
|
-
import { AssetInputSize as m } from "../AssetInput.es.js";
|
|
4
|
-
import { AssetThumbnail as a } from "../AssetThumbnail.es.js";
|
|
5
|
-
const c = (t) => t.type === "image" || t.type === "logo", n = ({ assets: t }) => {
|
|
6
|
-
const r = t.length, i = t.slice(0, 4);
|
|
7
|
-
if (r < 4)
|
|
8
|
-
for (const [e] of [...Array(4 - r)].entries())
|
|
9
|
-
i.push({
|
|
10
|
-
name: `empty picture ${e + 1}`,
|
|
11
|
-
size: 20,
|
|
12
|
-
type: "image",
|
|
13
|
-
extension: "",
|
|
14
|
-
src: "",
|
|
15
|
-
source: "upload"
|
|
16
|
-
});
|
|
17
|
-
return /* @__PURE__ */ s("div", { className: "tw-border-black-20 tw-grid tw-grid-cols-2 tw-gap-0.5", children: i.map(
|
|
18
|
-
(e, o) => c(e) ? /* @__PURE__ */ s(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
"data-test-id": "assets-image",
|
|
22
|
-
style: e.src ? { backgroundImage: `url(${e.src})` } : {},
|
|
23
|
-
className: l([
|
|
24
|
-
o === 0 ? "tw-rounded-tl" : o === 2 && "tw-rounded-bl",
|
|
25
|
-
"tw-h-11 tw-w-11 tw-bg-black-5"
|
|
26
|
-
])
|
|
27
|
-
},
|
|
28
|
-
e.name
|
|
29
|
-
) : /* @__PURE__ */ s("div", { className: "tw-h-11 tw-w-11", children: /* @__PURE__ */ s(a, { asset: e, size: m.Small, isMultiAsset: !0 }) }, e.src)
|
|
30
|
-
) });
|
|
31
|
-
};
|
|
32
|
-
n.displayName = "FondueSelectedAssetsThumbnail";
|
|
33
|
-
export {
|
|
34
|
-
n as SelectedAssetsThumbnail
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=SelectedAssetsThumbnail.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedAssetsThumbnail.es.js","sources":["../../../../src/components/AssetInput/MultiAssetPreview/SelectedAssetsThumbnail.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { AssetInputSize, type AssetType, type ImageAsset, type LibrarySource } from '../AssetInput';\nimport { AssetThumbnail } from '../AssetThumbnail';\n\nimport { type MultiAssetPreviewProps } from './MultiAssetPreview';\n\nconst isImageAsset = (asset: AssetType): asset is ImageAsset & LibrarySource =>\n asset.type === 'image' || asset.type === 'logo';\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const SelectedAssetsThumbnail = ({ assets }: Pick<MultiAssetPreviewProps, 'assets'>): ReactElement => {\n const assetslength = assets.length;\n const previewAssets = assets.slice(0, 4);\n\n if (assetslength < 4) {\n for (const [index] of [...Array(4 - assetslength)].entries()) {\n previewAssets.push({\n name: `empty picture ${index + 1}`,\n size: 20,\n type: 'image',\n extension: '',\n src: '',\n source: 'upload',\n });\n }\n }\n return (\n <div className=\"tw-border-black-20 tw-grid tw-grid-cols-2 tw-gap-0.5\">\n {previewAssets.map((asset, index) =>\n isImageAsset(asset) ? (\n <div\n data-test-id=\"assets-image\"\n key={asset.name}\n style={asset.src ? { backgroundImage: `url(${asset.src})` } : {}}\n className={merge([\n index === 0 ? 'tw-rounded-tl' : index === 2 && 'tw-rounded-bl',\n 'tw-h-11 tw-w-11 tw-bg-black-5',\n ])}\n />\n ) : (\n <div className=\"tw-h-11 tw-w-11\" key={asset.src}>\n <AssetThumbnail asset={asset} size={AssetInputSize.Small} isMultiAsset />\n </div>\n ),\n )}\n </div>\n );\n};\nSelectedAssetsThumbnail.displayName = 'FondueSelectedAssetsThumbnail';\n"],"names":["isImageAsset","asset","SelectedAssetsThumbnail","assets","assetslength","previewAssets","index","jsx","merge","AssetThumbnail","AssetInputSize"],"mappings":";;;;AAWA,MAAMA,IAAe,CAACC,MAClBA,EAAM,SAAS,WAAWA,EAAM,SAAS,QAKhCC,IAA0B,CAAC,EAAE,QAAAC,QAAmE;AACzG,QAAMC,IAAeD,EAAO,QACtBE,IAAgBF,EAAO,MAAM,GAAG,CAAC;AAEvC,MAAIC,IAAe;AACf,eAAW,CAACE,CAAK,KAAK,CAAC,GAAG,MAAM,IAAIF,CAAY,CAAC,EAAE;AAC/C,MAAAC,EAAc,KAAK;AAAA,QACf,MAAM,iBAAiBC,IAAQ,CAAC;AAAA,QAChC,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW;AAAA,QACX,KAAK;AAAA,QACL,QAAQ;AAAA,MAAA,CACX;AAGT,SACI,gBAAAC,EAAC,OAAA,EAAI,WAAU,wDACV,UAAAF,EAAc;AAAA,IAAI,CAACJ,GAAOK,MACvBN,EAAaC,CAAK,IACd,gBAAAM;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,gBAAa;AAAA,QAEb,OAAON,EAAM,MAAM,EAAE,iBAAiB,OAAOA,EAAM,GAAG,IAAA,IAAQ,CAAA;AAAA,QAC9D,WAAWO,EAAM;AAAA,UACbF,MAAU,IAAI,kBAAkBA,MAAU,KAAK;AAAA,UAC/C;AAAA,QAAA,CACH;AAAA,MAAA;AAAA,MALIL,EAAM;AAAA,IAAA,IAQf,gBAAAM,EAAC,OAAA,EAAI,WAAU,mBACX,UAAA,gBAAAA,EAACE,GAAA,EAAe,OAAAR,GAAc,MAAMS,EAAe,OAAO,cAAY,IAAC,EAAA,GADrCT,EAAM,GAE5C;AAAA,EAAA,GAGZ;AAER;AACAC,EAAwB,cAAc;"}
|