@frontify/fondue 13.8.1 → 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/packages/components/style.css +1 -1
- package/dist/packages/rte/style.css +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,28 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as l, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { IconImageStack as a, IconArrowCircleUp as m } from "@frontify/fondue-icons";
|
|
3
|
-
const d = ({
|
|
4
|
-
asset: e,
|
|
5
|
-
isLoading: t = !1,
|
|
6
|
-
hideSize: w = !1,
|
|
7
|
-
hideExtension: o = !1
|
|
8
|
-
}) => {
|
|
9
|
-
let n = t ? "Uploading" : "Uploaded";
|
|
10
|
-
return (e == null ? void 0 : e.source) === "library" && (n = e.sourceName), /* @__PURE__ */ r("span", { className: "tw-max-w-full tw-flex tw-flex-row tw-items-center tw-gap-1 tw-text-black-80 tw-text-xxs tw-overflow-hidden", children: [
|
|
11
|
-
/* @__PURE__ */ l("div", { className: "tw-flex-none tw-inline-flex tw-items-center tw-justify-center", children: (e == null ? void 0 : e.source) === "library" ? /* @__PURE__ */ l(a, {}) : /* @__PURE__ */ l(m, {}) }),
|
|
12
|
-
n && /* @__PURE__ */ l("span", { className: "tw-whitespace-nowrap", children: n }),
|
|
13
|
-
e && !t && /* @__PURE__ */ r(c, { children: [
|
|
14
|
-
/* @__PURE__ */ l(i, { label: e.extension, hide: o }),
|
|
15
|
-
/* @__PURE__ */ l(i, { label: e.size, hide: w })
|
|
16
|
-
] })
|
|
17
|
-
] });
|
|
18
|
-
};
|
|
19
|
-
d.displayName = "FondueAssetSubline";
|
|
20
|
-
const i = ({ label: e, hide: t }) => t || !e ? null : /* @__PURE__ */ r(c, { children: [
|
|
21
|
-
/* @__PURE__ */ l("span", { className: "tw-text-m tw-text-black-20 tw-h-4 tw-flex tw-items-center", children: "•" }),
|
|
22
|
-
/* @__PURE__ */ l("span", { className: "tw-whitespace-nowrap", children: e })
|
|
23
|
-
] });
|
|
24
|
-
i.displayName = "FondueFileInfo";
|
|
25
|
-
export {
|
|
26
|
-
d as AssetSubline
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=AssetSubline.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AssetSubline.es.js","sources":["../../../../src/components/AssetInput/SingleAsset/AssetSubline.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconArrowCircleUp, IconImageStack } from '@frontify/fondue-icons';\nimport { type ReactElement } from 'react';\n\nimport { type AssetInputProps } from '../AssetInput';\n\nimport { type SelectedAssetProps } from './SelectedAsset';\n\ntype AssetSublineProps = Pick<AssetInputProps, 'isLoading' | 'hideSize' | 'hideExtension'> &\n Pick<SelectedAssetProps, 'asset'>;\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const AssetSubline = ({\n asset,\n isLoading = false,\n hideSize = false,\n hideExtension = false,\n}: AssetSublineProps): ReactElement => {\n let title = isLoading ? 'Uploading' : 'Uploaded';\n if (asset?.source === 'library') {\n title = asset.sourceName;\n }\n\n return (\n <span className=\"tw-max-w-full tw-flex tw-flex-row tw-items-center tw-gap-1 tw-text-black-80 tw-text-xxs tw-overflow-hidden\">\n <div className=\"tw-flex-none tw-inline-flex tw-items-center tw-justify-center\">\n {asset?.source === 'library' ? <IconImageStack /> : <IconArrowCircleUp />}\n </div>\n {title && <span className=\"tw-whitespace-nowrap\">{title}</span>}\n {asset && !isLoading && (\n <>\n <FileInfo label={asset.extension} hide={hideExtension} />\n <FileInfo label={asset.size} hide={hideSize} />\n </>\n )}\n </span>\n );\n};\nAssetSubline.displayName = 'FondueAssetSubline';\n\nconst FileInfo = ({ label, hide }: { label?: string | number; hide: boolean }): Nullable<ReactElement> => {\n if (hide || !label) {\n return null;\n }\n\n return (\n <>\n <span className=\"tw-text-m tw-text-black-20 tw-h-4 tw-flex tw-items-center\">•</span>\n <span className=\"tw-whitespace-nowrap\">{label}</span>\n </>\n );\n};\nFileInfo.displayName = 'FondueFileInfo';\n"],"names":["AssetSubline","asset","isLoading","hideSize","hideExtension","title","jsxs","jsx","IconImageStack","IconArrowCircleUp","Fragment","FileInfo","label","hide"],"mappings":";;AAeO,MAAMA,IAAe,CAAC;AAAA,EACzB,OAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,eAAAC,IAAgB;AACpB,MAAuC;AACnC,MAAIC,IAAQH,IAAY,cAAc;AACtC,UAAID,KAAA,gBAAAA,EAAO,YAAW,cAClBI,IAAQJ,EAAM,aAId,gBAAAK,EAAC,QAAA,EAAK,WAAU,8GACZ,UAAA;AAAA,IAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,iEACV,WAAAN,KAAA,gBAAAA,EAAO,YAAW,YAAY,gBAAAM,EAACC,GAAA,EAAe,IAAK,gBAAAD,EAACE,GAAA,CAAA,CAAkB,GAC3E;AAAA,IACCJ,KAAS,gBAAAE,EAAC,QAAA,EAAK,WAAU,wBAAwB,UAAAF,GAAM;AAAA,IACvDJ,KAAS,CAACC,KACP,gBAAAI,EAAAI,GAAA,EACI,UAAA;AAAA,MAAA,gBAAAH,EAACI,GAAA,EAAS,OAAOV,EAAM,WAAW,MAAMG,GAAe;AAAA,wBACtDO,GAAA,EAAS,OAAOV,EAAM,MAAM,MAAME,EAAA,CAAU;AAAA,IAAA,EAAA,CACjD;AAAA,EAAA,GAER;AAER;AACAH,EAAa,cAAc;AAE3B,MAAMW,IAAW,CAAC,EAAE,OAAAC,GAAO,MAAAC,QACnBA,KAAQ,CAACD,IACF,OAIP,gBAAAN,EAAAI,GAAA,EACI,UAAA;AAAA,EAAA,gBAAAH,EAAC,QAAA,EAAK,WAAU,6DAA4D,UAAA,KAAC;AAAA,EAC7E,gBAAAA,EAAC,QAAA,EAAK,WAAU,wBAAwB,UAAAK,EAAA,CAAM;AAAA,GAClD;AAGRD,EAAS,cAAc;"}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { IconCaretDown as B } from "@frontify/fondue-icons";
|
|
3
|
-
import { useButton as D } from "@react-aria/button";
|
|
4
|
-
import { useFocusRing as I, FocusScope as M } from "@react-aria/focus";
|
|
5
|
-
import { useMenuTrigger as W } from "@react-aria/menu";
|
|
6
|
-
import { useOverlay as L, DismissButton as h } from "@react-aria/overlays";
|
|
7
|
-
import { mergeProps as z } from "@react-aria/utils";
|
|
8
|
-
import { useMenuTriggerState as E } from "@react-stately/menu";
|
|
9
|
-
import { motion as Y } from "../../../node_modules/.pnpm/motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/react.es.js";
|
|
10
|
-
import { useRef as x, useState as U, useEffect as V } from "react";
|
|
11
|
-
import { ActionMenu as _ } from "../../ActionMenu/ActionMenu.es.js";
|
|
12
|
-
import { useMemoizedId as g } from "../../../hooks/useMemoizedId.es.js";
|
|
13
|
-
import { FOCUS_STYLE as $ } from "../../../utilities/focusStyle.es.js";
|
|
14
|
-
import { merge as n } from "../../../utilities/merge.es.js";
|
|
15
|
-
import { AssetInputSize as a } from "../AssetInput.es.js";
|
|
16
|
-
import { AssetThumbnail as q } from "../AssetThumbnail.es.js";
|
|
17
|
-
import { AssetSubline as G } from "./AssetSubline.es.js";
|
|
18
|
-
import { SpinningCircle as H } from "./SpinningCircle.es.js";
|
|
19
|
-
import { AnimatePresence as J } from "../../../node_modules/.pnpm/framer-motion@12.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.es.js";
|
|
20
|
-
const K = ({
|
|
21
|
-
asset: e,
|
|
22
|
-
size: i,
|
|
23
|
-
actions: v,
|
|
24
|
-
isLoading: m,
|
|
25
|
-
hideSize: k = !1,
|
|
26
|
-
hideExtension: y = !1
|
|
27
|
-
}) => {
|
|
28
|
-
const S = g(), u = g(), r = x(null), o = E({}), { isOpen: s, focusStrategy: N } = o, { menuTriggerProps: A } = W({}, o, r), { buttonProps: F } = D(A, r), { isFocusVisible: w, focusProps: C } = I(), d = x(null), { overlayProps: T } = L(
|
|
29
|
-
{ onClose: () => o.close(), shouldCloseOnBlur: !0, isOpen: s, isDismissable: !0 },
|
|
30
|
-
d
|
|
31
|
-
), f = (e == null ? void 0 : e.name) || "Your Asset", [O, P] = U(0);
|
|
32
|
-
return V(() => {
|
|
33
|
-
let c = null;
|
|
34
|
-
const R = () => {
|
|
35
|
-
var b;
|
|
36
|
-
const j = ((b = r.current) == null ? void 0 : b.getBoundingClientRect().width) ?? 0;
|
|
37
|
-
c = setTimeout(() => P(j), 0);
|
|
38
|
-
}, p = new ResizeObserver(R);
|
|
39
|
-
return r.current && p.observe(r.current), () => {
|
|
40
|
-
c && clearTimeout(c), p.disconnect();
|
|
41
|
-
};
|
|
42
|
-
}, []), /* @__PURE__ */ l(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
className: "tw-font-sans tw-w-full tw-text-s tw-bg-transparent tw-font-normal tw-min-w-0",
|
|
46
|
-
title: f,
|
|
47
|
-
"data-test-id": "asset-single-input",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ l(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
type: "button",
|
|
53
|
-
...z(F, C),
|
|
54
|
-
ref: r,
|
|
55
|
-
"aria-labelledby": u,
|
|
56
|
-
className: n([
|
|
57
|
-
"tw-w-full tw-flex tw-border tw-rounded tw-overflow-hidden hover:tw-border-black-90 dark:hover:tw-border-black-40 focus-visible:tw-outline-none",
|
|
58
|
-
w && $,
|
|
59
|
-
i === a.Large ? "tw-h-[11.5rem] tw-flex-col" : "tw-h-14",
|
|
60
|
-
s || w ? "tw-border-black-90 dark:tw-border-black-10" : "tw-border-black-20 dark:tw-border-black-80"
|
|
61
|
-
]),
|
|
62
|
-
children: [
|
|
63
|
-
m && !e && /* @__PURE__ */ t(
|
|
64
|
-
"div",
|
|
65
|
-
{
|
|
66
|
-
className: n([
|
|
67
|
-
"tw-flex tw-justify-center tw-items-center",
|
|
68
|
-
i === a.Large ? "tw-w-full tw-h-32" : "tw-w-14 tw-h-full"
|
|
69
|
-
]),
|
|
70
|
-
children: /* @__PURE__ */ t(H, { size: i })
|
|
71
|
-
}
|
|
72
|
-
),
|
|
73
|
-
e && /* @__PURE__ */ t(q, { asset: e, size: i, isActive: s || w }),
|
|
74
|
-
/* @__PURE__ */ l(
|
|
75
|
-
"div",
|
|
76
|
-
{
|
|
77
|
-
className: n([
|
|
78
|
-
"tw-min-w-0 tw-max-w-full tw-flex tw-flex-auto tw-self-stretch tw-border-black-100 tw-border-opacity-25",
|
|
79
|
-
i === a.Large ? "tw-h-14 tw-border-t" : "tw-h-full tw-border-l"
|
|
80
|
-
]),
|
|
81
|
-
children: [
|
|
82
|
-
/* @__PURE__ */ l("div", { className: "tw-min-w-0 tw-pr-3 tw-pl-4 tw-flex tw-flex-auto tw-flex-col tw-items-start tw-justify-center tw-h-full", children: [
|
|
83
|
-
/* @__PURE__ */ t(
|
|
84
|
-
"span",
|
|
85
|
-
{
|
|
86
|
-
id: u,
|
|
87
|
-
className: n([
|
|
88
|
-
"tw-max-w-full tw-text-black-100 tw-text-s tw-truncate dark:tw-text-white",
|
|
89
|
-
(s || w) && "tw-font-medium"
|
|
90
|
-
]),
|
|
91
|
-
children: f
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
/* @__PURE__ */ t(
|
|
95
|
-
G,
|
|
96
|
-
{
|
|
97
|
-
asset: e,
|
|
98
|
-
isLoading: m,
|
|
99
|
-
hideSize: k,
|
|
100
|
-
hideExtension: y
|
|
101
|
-
}
|
|
102
|
-
)
|
|
103
|
-
] }),
|
|
104
|
-
/* @__PURE__ */ t("div", { className: "tw-p-4 tw-flex tw-flex-none tw-items-center tw-justify-center", children: /* @__PURE__ */ t(
|
|
105
|
-
"span",
|
|
106
|
-
{
|
|
107
|
-
className: n([
|
|
108
|
-
"tw-transition-transform",
|
|
109
|
-
s ? "tw-rotate-180 tw-text-black-90" : "tw-text-black-60"
|
|
110
|
-
]),
|
|
111
|
-
children: /* @__PURE__ */ t(B, { size: 16 })
|
|
112
|
-
}
|
|
113
|
-
) })
|
|
114
|
-
]
|
|
115
|
-
}
|
|
116
|
-
)
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
),
|
|
120
|
-
/* @__PURE__ */ t(J, { children: s && /* @__PURE__ */ t(
|
|
121
|
-
Y.div,
|
|
122
|
-
{
|
|
123
|
-
style: {
|
|
124
|
-
width: O
|
|
125
|
-
},
|
|
126
|
-
className: "tw-absolute tw-left-auto tw-w-full tw-overflow-hidden tw-box-border tw-p-0 tw-shadow-mid tw-list-none tw-m-0 tw-mt-2 tw-z-20",
|
|
127
|
-
"data-test-id": "asset-single-input-flyout",
|
|
128
|
-
initial: { height: 0 },
|
|
129
|
-
animate: { height: "auto" },
|
|
130
|
-
exit: { height: 0 },
|
|
131
|
-
transition: { ease: [0.04, 0.62, 0.23, 0.98], duration: 0.5 },
|
|
132
|
-
children: /* @__PURE__ */ t(M, { restoreFocus: !0, children: /* @__PURE__ */ l("div", { ...T, ref: d, children: [
|
|
133
|
-
/* @__PURE__ */ t(h, { onDismiss: () => o.close() }),
|
|
134
|
-
/* @__PURE__ */ t(
|
|
135
|
-
_,
|
|
136
|
-
{
|
|
137
|
-
menuBlocks: v,
|
|
138
|
-
focus: N ?? void 0,
|
|
139
|
-
onClick: () => o.close()
|
|
140
|
-
}
|
|
141
|
-
),
|
|
142
|
-
/* @__PURE__ */ t(h, { onDismiss: () => o.close() })
|
|
143
|
-
] }) })
|
|
144
|
-
},
|
|
145
|
-
`asset-input-menu-${S}`
|
|
146
|
-
) })
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
);
|
|
150
|
-
};
|
|
151
|
-
K.displayName = "FondueSelectedAsset";
|
|
152
|
-
export {
|
|
153
|
-
K as SelectedAsset
|
|
154
|
-
};
|
|
155
|
-
//# sourceMappingURL=SelectedAsset.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedAsset.es.js","sources":["../../../../src/components/AssetInput/SingleAsset/SelectedAsset.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCaretDown } from '@frontify/fondue-icons';\nimport { useButton } from '@react-aria/button';\nimport { FocusScope, useFocusRing } from '@react-aria/focus';\nimport { useMenuTrigger } from '@react-aria/menu';\nimport { DismissButton, useOverlay } from '@react-aria/overlays';\nimport { mergeProps } from '@react-aria/utils';\nimport { useMenuTriggerState } from '@react-stately/menu';\nimport { AnimatePresence, motion } from 'motion/react';\nimport { type ReactElement, useEffect, useRef, useState } from 'react';\n\nimport { ActionMenu, type ActionMenuBlock } from '@components/ActionMenu/ActionMenu';\nimport { useMemoizedId } from '@hooks/useMemoizedId';\nimport { FOCUS_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { type AssetInputProps, AssetInputSize, type AssetType } from '../AssetInput';\nimport { AssetThumbnail } from '../AssetThumbnail';\n\nimport { AssetSubline } from './AssetSubline';\nimport { SpinningCircle } from './SpinningCircle';\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type SelectedAssetProps = Pick<\n AssetInputProps,\n 'actions' | 'isLoading' | 'size' | 'hideSize' | 'hideExtension'\n> & {\n asset: AssetType;\n};\n\nexport const SelectedAsset = ({\n asset,\n size,\n actions,\n isLoading,\n hideSize = false,\n hideExtension = false,\n}: Required<Omit<SelectedAssetProps, 'hideSize' | 'hideExtension'>> &\n Pick<SelectedAssetProps, 'hideSize' | 'hideExtension'>): ReactElement => {\n const menuId = useMemoizedId();\n const labelId = useMemoizedId();\n const buttonRef = useRef<HTMLButtonElement | null>(null);\n const menuState = useMenuTriggerState({});\n const { isOpen, focusStrategy } = menuState;\n const { menuTriggerProps } = useMenuTrigger({}, menuState, buttonRef);\n const { buttonProps } = useButton(menuTriggerProps, buttonRef);\n const { isFocusVisible, focusProps } = useFocusRing();\n const overlayRef = useRef<HTMLDivElement | null>(null);\n const { overlayProps } = useOverlay(\n { onClose: () => menuState.close(), shouldCloseOnBlur: true, isOpen, isDismissable: true },\n overlayRef,\n );\n const title = asset?.name || 'Your Asset';\n\n const [flyoutWidth, setFlyoutWidth] = useState(0);\n\n useEffect(() => {\n let timer: ReturnType<typeof setTimeout> | null = null;\n const calculateFlyoutWidth = () => {\n const calculatedWidth = buttonRef.current?.getBoundingClientRect().width ?? 0;\n timer = setTimeout(() => setFlyoutWidth(calculatedWidth), 0);\n };\n const resizeObserver = new ResizeObserver(calculateFlyoutWidth);\n if (buttonRef.current) {\n resizeObserver.observe(buttonRef.current);\n }\n\n return () => {\n if (timer) {\n clearTimeout(timer);\n }\n resizeObserver.disconnect();\n };\n }, []);\n\n return (\n <div\n className=\"tw-font-sans tw-w-full tw-text-s tw-bg-transparent tw-font-normal tw-min-w-0\"\n title={title}\n data-test-id=\"asset-single-input\"\n >\n <button\n type=\"button\"\n {...mergeProps(buttonProps, focusProps)}\n ref={buttonRef}\n aria-labelledby={labelId}\n className={merge([\n 'tw-w-full tw-flex tw-border tw-rounded tw-overflow-hidden hover:tw-border-black-90 dark:hover:tw-border-black-40 focus-visible:tw-outline-none',\n isFocusVisible && FOCUS_STYLE,\n size === AssetInputSize.Large ? 'tw-h-[11.5rem] tw-flex-col' : 'tw-h-14',\n isOpen || isFocusVisible\n ? 'tw-border-black-90 dark:tw-border-black-10'\n : 'tw-border-black-20 dark:tw-border-black-80',\n ])}\n >\n {isLoading && !asset && (\n <div\n className={merge([\n 'tw-flex tw-justify-center tw-items-center',\n size === AssetInputSize.Large ? 'tw-w-full tw-h-32' : 'tw-w-14 tw-h-full',\n ])}\n >\n <SpinningCircle size={size} />\n </div>\n )}\n {asset && <AssetThumbnail asset={asset} size={size} isActive={isOpen || isFocusVisible} />}\n <div\n className={merge([\n 'tw-min-w-0 tw-max-w-full tw-flex tw-flex-auto tw-self-stretch tw-border-black-100 tw-border-opacity-25',\n size === AssetInputSize.Large ? 'tw-h-14 tw-border-t' : 'tw-h-full tw-border-l',\n ])}\n >\n <div className=\"tw-min-w-0 tw-pr-3 tw-pl-4 tw-flex tw-flex-auto tw-flex-col tw-items-start tw-justify-center tw-h-full\">\n <span\n id={labelId}\n className={merge([\n 'tw-max-w-full tw-text-black-100 tw-text-s tw-truncate dark:tw-text-white',\n (isOpen || isFocusVisible) && 'tw-font-medium',\n ])}\n >\n {title}\n </span>\n <AssetSubline\n asset={asset}\n isLoading={isLoading}\n hideSize={hideSize}\n hideExtension={hideExtension}\n />\n </div>\n <div className=\"tw-p-4 tw-flex tw-flex-none tw-items-center tw-justify-center\">\n <span\n className={merge([\n 'tw-transition-transform',\n isOpen ? 'tw-rotate-180 tw-text-black-90' : 'tw-text-black-60',\n ])}\n >\n <IconCaretDown size={16} />\n </span>\n </div>\n </div>\n </button>\n\n <AnimatePresence>\n {isOpen && (\n <motion.div\n style={{\n width: flyoutWidth,\n }}\n className=\"tw-absolute tw-left-auto tw-w-full tw-overflow-hidden tw-box-border tw-p-0 tw-shadow-mid tw-list-none tw-m-0 tw-mt-2 tw-z-20\"\n data-test-id=\"asset-single-input-flyout\"\n key={`asset-input-menu-${menuId}`}\n initial={{ height: 0 }}\n animate={{ height: 'auto' }}\n exit={{ height: 0 }}\n transition={{ ease: [0.04, 0.62, 0.23, 0.98], duration: 0.5 }}\n >\n <FocusScope restoreFocus>\n <div {...overlayProps} ref={overlayRef}>\n <DismissButton onDismiss={() => menuState.close()} />\n <ActionMenu\n menuBlocks={actions as ActionMenuBlock[]}\n focus={focusStrategy ?? undefined}\n onClick={() => menuState.close()}\n />\n <DismissButton onDismiss={() => menuState.close()} />\n </div>\n </FocusScope>\n </motion.div>\n )}\n </AnimatePresence>\n </div>\n );\n};\nSelectedAsset.displayName = 'FondueSelectedAsset';\n"],"names":["SelectedAsset","asset","size","actions","isLoading","hideSize","hideExtension","menuId","useMemoizedId","labelId","buttonRef","useRef","menuState","useMenuTriggerState","isOpen","focusStrategy","menuTriggerProps","useMenuTrigger","buttonProps","useButton","isFocusVisible","focusProps","useFocusRing","overlayRef","overlayProps","useOverlay","title","flyoutWidth","setFlyoutWidth","useState","useEffect","timer","calculateFlyoutWidth","calculatedWidth","_a","resizeObserver","jsxs","mergeProps","merge","FOCUS_STYLE","AssetInputSize","jsx","SpinningCircle","AssetThumbnail","AssetSubline","IconCaretDown","AnimatePresence","motion","FocusScope","DismissButton","ActionMenu"],"mappings":";;;;;;;;;;;;;;;;;;;AAiCO,MAAMA,IAAgB,CAAC;AAAA,EAC1B,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,eAAAC,IAAgB;AACpB,MAC6E;AACzE,QAAMC,IAASC,EAAA,GACTC,IAAUD,EAAA,GACVE,IAAYC,EAAiC,IAAI,GACjDC,IAAYC,EAAoB,EAAE,GAClC,EAAE,QAAAC,GAAQ,eAAAC,EAAA,IAAkBH,GAC5B,EAAE,kBAAAI,EAAA,IAAqBC,EAAe,CAAA,GAAIL,GAAWF,CAAS,GAC9D,EAAE,aAAAQ,EAAA,IAAgBC,EAAUH,GAAkBN,CAAS,GACvD,EAAE,gBAAAU,GAAgB,YAAAC,EAAA,IAAeC,EAAA,GACjCC,IAAaZ,EAA8B,IAAI,GAC/C,EAAE,cAAAa,MAAiBC;AAAA,IACrB,EAAE,SAAS,MAAMb,EAAU,MAAA,GAAS,mBAAmB,IAAM,QAAAE,GAAQ,eAAe,GAAA;AAAA,IACpFS;AAAA,EAAA,GAEEG,KAAQzB,KAAA,gBAAAA,EAAO,SAAQ,cAEvB,CAAC0B,GAAaC,CAAc,IAAIC,EAAS,CAAC;AAEhD,SAAAC,EAAU,MAAM;AACZ,QAAIC,IAA8C;AAClD,UAAMC,IAAuB,MAAM;;AAC/B,YAAMC,MAAkBC,IAAAxB,EAAU,YAAV,gBAAAwB,EAAmB,wBAAwB,UAAS;AAC5E,MAAAH,IAAQ,WAAW,MAAMH,EAAeK,CAAe,GAAG,CAAC;AAAA,IAC/D,GACME,IAAiB,IAAI,eAAeH,CAAoB;AAC9D,WAAItB,EAAU,WACVyB,EAAe,QAAQzB,EAAU,OAAO,GAGrC,MAAM;AACT,MAAIqB,KACA,aAAaA,CAAK,GAEtBI,EAAe,WAAA;AAAA,IACnB;AAAA,EACJ,GAAG,CAAA,CAAE,GAGD,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAU;AAAA,MACV,OAAAV;AAAA,MACA,gBAAa;AAAA,MAEb,UAAA;AAAA,QAAA,gBAAAU;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,MAAK;AAAA,YACJ,GAAGC,EAAWnB,GAAaG,CAAU;AAAA,YACtC,KAAKX;AAAA,YACL,mBAAiBD;AAAA,YACjB,WAAW6B,EAAM;AAAA,cACb;AAAA,cACAlB,KAAkBmB;AAAA,cAClBrC,MAASsC,EAAe,QAAQ,+BAA+B;AAAA,cAC/D1B,KAAUM,IACJ,+CACA;AAAA,YAAA,CACT;AAAA,YAEA,UAAA;AAAA,cAAAhB,KAAa,CAACH,KACX,gBAAAwC;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,WAAWH,EAAM;AAAA,oBACb;AAAA,oBACApC,MAASsC,EAAe,QAAQ,sBAAsB;AAAA,kBAAA,CACzD;AAAA,kBAED,UAAA,gBAAAC,EAACC,KAAe,MAAAxC,EAAA,CAAY;AAAA,gBAAA;AAAA,cAAA;AAAA,cAGnCD,KAAS,gBAAAwC,EAACE,GAAA,EAAe,OAAA1C,GAAc,MAAAC,GAAY,UAAUY,KAAUM,GAAgB;AAAA,cACxF,gBAAAgB;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,WAAWE,EAAM;AAAA,oBACb;AAAA,oBACApC,MAASsC,EAAe,QAAQ,wBAAwB;AAAA,kBAAA,CAC3D;AAAA,kBAED,UAAA;AAAA,oBAAA,gBAAAJ,EAAC,OAAA,EAAI,WAAU,0GACX,UAAA;AAAA,sBAAA,gBAAAK;AAAA,wBAAC;AAAA,wBAAA;AAAA,0BACG,IAAIhC;AAAA,0BACJ,WAAW6B,EAAM;AAAA,4BACb;AAAA,6BACCxB,KAAUM,MAAmB;AAAA,0BAAA,CACjC;AAAA,0BAEA,UAAAM;AAAA,wBAAA;AAAA,sBAAA;AAAA,sBAEL,gBAAAe;AAAA,wBAACG;AAAA,wBAAA;AAAA,0BACG,OAAA3C;AAAA,0BACA,WAAAG;AAAA,0BACA,UAAAC;AAAA,0BACA,eAAAC;AAAA,wBAAA;AAAA,sBAAA;AAAA,oBACJ,GACJ;AAAA,oBACA,gBAAAmC,EAAC,OAAA,EAAI,WAAU,iEACX,UAAA,gBAAAA;AAAA,sBAAC;AAAA,sBAAA;AAAA,wBACG,WAAWH,EAAM;AAAA,0BACb;AAAA,0BACAxB,IAAS,mCAAmC;AAAA,wBAAA,CAC/C;AAAA,wBAED,UAAA,gBAAA2B,EAACI,GAAA,EAAc,MAAM,GAAA,CAAI;AAAA,sBAAA;AAAA,oBAAA,EAC7B,CACJ;AAAA,kBAAA;AAAA,gBAAA;AAAA,cAAA;AAAA,YACJ;AAAA,UAAA;AAAA,QAAA;AAAA,QAGJ,gBAAAJ,EAACK,KACI,UAAAhC,KACG,gBAAA2B;AAAA,UAACM,EAAO;AAAA,UAAP;AAAA,YACG,OAAO;AAAA,cACH,OAAOpB;AAAA,YAAA;AAAA,YAEX,WAAU;AAAA,YACV,gBAAa;AAAA,YAEb,SAAS,EAAE,QAAQ,EAAA;AAAA,YACnB,SAAS,EAAE,QAAQ,OAAA;AAAA,YACnB,MAAM,EAAE,QAAQ,EAAA;AAAA,YAChB,YAAY,EAAE,MAAM,CAAC,MAAM,MAAM,MAAM,IAAI,GAAG,UAAU,IAAA;AAAA,YAExD,UAAA,gBAAAc,EAACO,KAAW,cAAY,IACpB,4BAAC,OAAA,EAAK,GAAGxB,GAAc,KAAKD,GACxB,UAAA;AAAA,cAAA,gBAAAkB,EAACQ,GAAA,EAAc,WAAW,MAAMrC,EAAU,SAAS;AAAA,cACnD,gBAAA6B;AAAA,gBAACS;AAAA,gBAAA;AAAA,kBACG,YAAY/C;AAAA,kBACZ,OAAOY,KAAiB;AAAA,kBACxB,SAAS,MAAMH,EAAU,MAAA;AAAA,gBAAM;AAAA,cAAA;AAAA,gCAElCqC,GAAA,EAAc,WAAW,MAAMrC,EAAU,QAAM,CAAG;AAAA,YAAA,EAAA,CACvD,EAAA,CACJ;AAAA,UAAA;AAAA,UAhBK,oBAAoBL,CAAM;AAAA,QAAA,EAiBnC,CAER;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGZ;AACAP,EAAc,cAAc;"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { merge as n } from "../../../utilities/merge.es.js";
|
|
3
|
-
import { AssetInputSize as r } from "../AssetInput.es.js";
|
|
4
|
-
const s = ({ size: i }) => /* @__PURE__ */ e(
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
className: n(["tw-animate-spin", i === r.Large ? "tw-w-16 tw-h-16" : "tw-w-5 tw-h-5"]),
|
|
8
|
-
width: "100%",
|
|
9
|
-
height: "100%",
|
|
10
|
-
viewBox: "0 0 44 44",
|
|
11
|
-
"data-test-id": "spinning-circle",
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ t("path", { fill: "none", stroke: "#f1f3f9", strokeWidth: "2", d: "M2,22 a20,20 0 0,1 20,-20" }),
|
|
14
|
-
/* @__PURE__ */ t("path", { fill: "none", stroke: "#7159d7", strokeWidth: "2", d: "M2,22 a20,20 0 1,0 20,-20" })
|
|
15
|
-
]
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
s.displayName = "FondueSpinningCircle";
|
|
19
|
-
export {
|
|
20
|
-
s as SpinningCircle
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=SpinningCircle.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpinningCircle.es.js","sources":["../../../../src/components/AssetInput/SingleAsset/SpinningCircle.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactElement } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { type AssetInputProps, AssetInputSize } from '../AssetInput';\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport const SpinningCircle = ({ size }: Pick<AssetInputProps, 'size'>): ReactElement => (\n <svg\n className={merge(['tw-animate-spin', size === AssetInputSize.Large ? 'tw-w-16 tw-h-16' : 'tw-w-5 tw-h-5'])}\n width=\"100%\"\n height=\"100%\"\n viewBox=\"0 0 44 44\"\n data-test-id=\"spinning-circle\"\n >\n <path fill=\"none\" stroke=\"#f1f3f9\" strokeWidth=\"2\" d=\"M2,22 a20,20 0 0,1 20,-20\" />\n <path fill=\"none\" stroke=\"#7159d7\" strokeWidth=\"2\" d=\"M2,22 a20,20 0 1,0 20,-20\" />\n </svg>\n);\nSpinningCircle.displayName = 'FondueSpinningCircle';\n"],"names":["SpinningCircle","size","jsxs","merge","AssetInputSize","jsx"],"mappings":";;;AAWO,MAAMA,IAAiB,CAAC,EAAE,MAAAC,EAAA,MAC7B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,WAAWC,EAAM,CAAC,mBAAmBF,MAASG,EAAe,QAAQ,oBAAoB,eAAe,CAAC;AAAA,IACzG,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,gBAAa;AAAA,IAEb,UAAA;AAAA,MAAA,gBAAAC,EAAC,QAAA,EAAK,MAAK,QAAO,QAAO,WAAU,aAAY,KAAI,GAAE,4BAAA,CAA4B;AAAA,MACjF,gBAAAA,EAAC,UAAK,MAAK,QAAO,QAAO,WAAU,aAAY,KAAI,GAAE,4BAAA,CAA4B;AAAA,IAAA;AAAA,EAAA;AACrF;AAEJL,EAAe,cAAc;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var a = /* @__PURE__ */ ((r) => (r.XSmall = "XSmall", r.Small = "Small", r.Large = "Large", r))(a || {}), g = /* @__PURE__ */ ((r) => (r.Primary = "Primary", r.Danger = "Danger", r.Warning = "Warning", r))(g || {}), h = /* @__PURE__ */ ((r) => (r.Check = "Check", r.CaretRight = "CaretRight", r.None = "None", r))(h || {});
|
|
2
|
-
export {
|
|
3
|
-
a as AssetInputMenuItemContentSize,
|
|
4
|
-
g as AssetInputMenuItemStyle,
|
|
5
|
-
h as AssetInputSelectionIndicatorIcon
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=types.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.es.js","sources":["../../../src/components/AssetInput/types.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type FocusEvent, type HTMLAttributes, type MouseEvent, type ReactElement, type ReactNode } from 'react';\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport enum AssetInputMenuItemContentSize {\n XSmall = 'XSmall',\n Small = 'Small',\n Large = 'Large',\n}\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuItemContentProps = {\n title?: ReactNode;\n decorator?: ReactElement;\n subtitle?: string;\n size?: AssetInputMenuItemContentSize;\n ariaProps?: HTMLAttributes<HTMLElement>;\n children?: ReactNode;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport enum AssetInputMenuItemStyle {\n Primary = 'Primary',\n Danger = 'Danger',\n Warning = 'Warning',\n}\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport enum AssetInputSelectionIndicatorIcon {\n Check = 'Check',\n CaretRight = 'CaretRight',\n None = 'None',\n}\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuItemProps = {\n style?: AssetInputMenuItemStyle;\n disabled?: boolean;\n active?: boolean;\n checked?: boolean;\n selectionIndicator?: AssetInputSelectionIndicatorIcon;\n /** @deprecated this prop is not being used anymore */\n type?: string;\n link?: string;\n onBlur?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: FocusEvent<T>) => void;\n onClick?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: MouseEvent<T>) => void;\n onFocus?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: FocusEvent<T>) => void;\n onMouseEnter?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: MouseEvent<T>) => void;\n onMouseOut?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: MouseEvent<T>) => void;\n onMouseOver?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: MouseEvent<T>) => void;\n onMouseLeave?: <T extends HTMLButtonElement | HTMLAnchorElement>(event: MouseEvent<T>) => void;\n children?: ReactNode;\n 'data-test-id'?: string;\n} & AssetInputMenuItemContentProps;\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuItemType = AssetInputMenuItemProps & {\n id: string | number;\n link?: string;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuDefaultItemType = AssetInputMenuItemType & { onClick: () => void };\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuSwitchItemType = AssetInputMenuItemType & {\n onClick: (switchValue: boolean) => void;\n type: 'switch';\n initialValue: boolean;\n};\n\n/**\n * @deprecated Use `AssetInput` from `@frontify/fondue/components` instead.\n */\nexport type AssetInputMenuBlock = {\n id: string;\n menuItems: (AssetInputMenuDefaultItemType | AssetInputMenuSwitchItemType)[];\n ariaLabel?: string;\n};\n"],"names":["AssetInputMenuItemContentSize","AssetInputMenuItemStyle","AssetInputSelectionIndicatorIcon"],"mappings":"AAOO,IAAKA,sBAAAA,OACRA,EAAA,SAAS,UACTA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SAHAA,IAAAA,KAAA,CAAA,CAAA,GAqBAC,sBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,SAAS,UACTA,EAAA,UAAU,WAHFA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,aAAa,cACbA,EAAA,OAAO,QAHCA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { IconCross as N } from "@frontify/fondue-icons";
|
|
3
|
-
import { cloneElement as B } from "react";
|
|
4
|
-
import { FOCUS_VISIBLE_STYLE as c } from "../../utilities/focusStyle.es.js";
|
|
5
|
-
import { merge as m } from "../../utilities/merge.es.js";
|
|
6
|
-
import { BadgeStatusIcon as C } from "./BadgeStatusIcon.es.js";
|
|
7
|
-
import { getCircularSizeClasses as j, getSizeClasses as v, getStyleClasses as h } from "./helpers.es.js";
|
|
8
|
-
import { BadgeEmphasis as d, BadgeStyle as E } from "./types.es.js";
|
|
9
|
-
const $ = ({
|
|
10
|
-
children: e,
|
|
11
|
-
status: r,
|
|
12
|
-
icon: i,
|
|
13
|
-
style: g = E.Primary,
|
|
14
|
-
size: w = "medium",
|
|
15
|
-
emphasis: x = d.None,
|
|
16
|
-
disabled: o = !1,
|
|
17
|
-
onClick: n,
|
|
18
|
-
onDismiss: s,
|
|
19
|
-
"data-test-id": a = "badge",
|
|
20
|
-
withTitleAttribute: b = !0
|
|
21
|
-
}) => {
|
|
22
|
-
if (!e && !i && !r)
|
|
23
|
-
return null;
|
|
24
|
-
const y = n ? "button" : "span", u = (t) => ["string", "number"].includes(typeof t) ? t : Array.isArray(t) ? t.map(u).join("") : t && typeof t == "object" && "props" in t ? u(t.props.children) : "", f = u(e), S = !e && !s && !!(r || i);
|
|
25
|
-
return /* @__PURE__ */ p(
|
|
26
|
-
"div",
|
|
27
|
-
{
|
|
28
|
-
className: m([
|
|
29
|
-
"tw-relative tw-rounded-full tw-inline-flex tw-items-center tw-align-top tw-min-w-0 tw-flex-initial tw-transition-color",
|
|
30
|
-
o ? "tw-bg-box-disabled tw-text-box-disabled-inverse" : h(g, !!n, x === d.Strong)
|
|
31
|
-
]),
|
|
32
|
-
"data-test-id": a,
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ p(
|
|
35
|
-
y,
|
|
36
|
-
{
|
|
37
|
-
onClick: () => {
|
|
38
|
-
n && n();
|
|
39
|
-
},
|
|
40
|
-
className: m([
|
|
41
|
-
"tw-inline-flex tw-items-center tw-justify-center tw-rounded-full tw-select-none tw-flex-initial tw-min-w-0",
|
|
42
|
-
n && !o ? "hover:tw-cursor-pointer" : "tw-cursor-default",
|
|
43
|
-
S ? j(w) : v(e, r, i, w, !!s),
|
|
44
|
-
c
|
|
45
|
-
]),
|
|
46
|
-
"data-test-id": `${a}-button`,
|
|
47
|
-
title: b ? f : void 0,
|
|
48
|
-
children: [
|
|
49
|
-
r ? /* @__PURE__ */ l(C, { status: r, disabled: o, "data-test-id": a }) : null,
|
|
50
|
-
i ? /* @__PURE__ */ l(
|
|
51
|
-
"span",
|
|
52
|
-
{
|
|
53
|
-
"data-test-id": `${a}-icon`,
|
|
54
|
-
className: m(["tw-flex-none tw-leading-none", o && "tw-opacity-30"]),
|
|
55
|
-
children: B(i, { size: 16 })
|
|
56
|
-
}
|
|
57
|
-
) : null,
|
|
58
|
-
e ? /* @__PURE__ */ l("span", { className: "tw-text-center tw-text-xxs tw-font-sans tw-font-normal tw-truncate", children: e }) : null
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
),
|
|
62
|
-
s ? /* @__PURE__ */ l(
|
|
63
|
-
"button",
|
|
64
|
-
{
|
|
65
|
-
type: "button",
|
|
66
|
-
"data-test-id": `${a}-dismiss`,
|
|
67
|
-
className: m([
|
|
68
|
-
"tw-absolute tw-rounded tw-leading-4",
|
|
69
|
-
c,
|
|
70
|
-
w === "medium" ? "tw-right-1.5" : "tw-right-1"
|
|
71
|
-
]),
|
|
72
|
-
onClick: () => s(),
|
|
73
|
-
"aria-label": `Dismiss ${f}`,
|
|
74
|
-
children: /* @__PURE__ */ l(N, { size: 16 })
|
|
75
|
-
}
|
|
76
|
-
) : null
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
$.displayName = "FondueBadge";
|
|
82
|
-
export {
|
|
83
|
-
$ as Badge
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=Badge.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.es.js","sources":["../../../src/components/Badge/Badge.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCross } from '@frontify/fondue-icons';\nimport { type ReactElement, type ReactNode, cloneElement } from 'react';\n\nimport { FOCUS_VISIBLE_STYLE } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { BadgeStatusIcon } from './BadgeStatusIcon';\nimport { getCircularSizeClasses, getSizeClasses, getStyleClasses } from './helpers';\nimport { BadgeEmphasis, type BadgeProps, BadgeStyle } from './types';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const Badge = ({\n children,\n status,\n icon,\n style = BadgeStyle.Primary,\n size = 'medium',\n emphasis = BadgeEmphasis.None,\n disabled = false,\n onClick,\n onDismiss,\n 'data-test-id': dataTestId = 'badge',\n withTitleAttribute = true,\n}: BadgeProps): Nullable<ReactElement> => {\n if (!children && !icon && !status) {\n return null;\n }\n\n const Container = onClick ? 'button' : 'span';\n\n const getNodeText = (node: ReactNode): string => {\n if (['string', 'number'].includes(typeof node)) {\n return node as string;\n }\n if (Array.isArray(node)) {\n return node.map(getNodeText).join('');\n }\n if (node && typeof node === 'object' && 'props' in node) {\n return getNodeText(node.props.children);\n }\n return '';\n };\n\n const badgeTitle = getNodeText(children);\n const isCircular = !children && !onDismiss && Boolean(status || icon);\n\n return (\n <div\n className={merge([\n 'tw-relative tw-rounded-full tw-inline-flex tw-items-center tw-align-top tw-min-w-0 tw-flex-initial tw-transition-color',\n disabled\n ? 'tw-bg-box-disabled tw-text-box-disabled-inverse'\n : getStyleClasses(style, !!onClick, emphasis === BadgeEmphasis.Strong),\n ])}\n data-test-id={dataTestId}\n >\n <Container\n onClick={() => {\n if (onClick) {\n onClick();\n }\n }}\n className={merge([\n 'tw-inline-flex tw-items-center tw-justify-center tw-rounded-full tw-select-none tw-flex-initial tw-min-w-0',\n onClick && !disabled ? 'hover:tw-cursor-pointer' : 'tw-cursor-default',\n isCircular\n ? getCircularSizeClasses(size)\n : getSizeClasses(children, status, icon, size, !!onDismiss),\n FOCUS_VISIBLE_STYLE,\n ])}\n data-test-id={`${dataTestId}-button`}\n title={withTitleAttribute ? badgeTitle : undefined}\n >\n {status ? <BadgeStatusIcon status={status} disabled={disabled} data-test-id={dataTestId} /> : null}\n {icon ? (\n <span\n data-test-id={`${dataTestId}-icon`}\n className={merge(['tw-flex-none tw-leading-none', disabled && 'tw-opacity-30'])}\n >\n {cloneElement(icon, { size: 16 })}\n </span>\n ) : null}\n {children ? (\n <span className=\"tw-text-center tw-text-xxs tw-font-sans tw-font-normal tw-truncate\">\n {children}\n </span>\n ) : null}\n </Container>\n {onDismiss ? (\n <button\n type=\"button\"\n data-test-id={`${dataTestId}-dismiss`}\n className={merge([\n 'tw-absolute tw-rounded tw-leading-4',\n FOCUS_VISIBLE_STYLE,\n size === 'medium' ? 'tw-right-1.5' : 'tw-right-1',\n ])}\n onClick={() => onDismiss()}\n aria-label={`Dismiss ${badgeTitle}`}\n >\n <IconCross size={16} />\n </button>\n ) : null}\n </div>\n );\n};\nBadge.displayName = 'FondueBadge';\n"],"names":["Badge","children","status","icon","style","BadgeStyle","size","emphasis","BadgeEmphasis","disabled","onClick","onDismiss","dataTestId","withTitleAttribute","Container","getNodeText","node","badgeTitle","isCircular","jsxs","merge","getStyleClasses","getCircularSizeClasses","getSizeClasses","FOCUS_VISIBLE_STYLE","BadgeStatusIcon","jsx","cloneElement","IconCross"],"mappings":";;;;;;;;AAeO,MAAMA,IAAQ,CAAC;AAAA,EAClB,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC,IAAQC,EAAW;AAAA,EACnB,MAAAC,IAAO;AAAA,EACP,UAAAC,IAAWC,EAAc;AAAA,EACzB,UAAAC,IAAW;AAAA,EACX,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,gBAAgBC,IAAa;AAAA,EAC7B,oBAAAC,IAAqB;AACzB,MAA0C;AACtC,MAAI,CAACZ,KAAY,CAACE,KAAQ,CAACD;AACvB,WAAO;AAGX,QAAMY,IAAYJ,IAAU,WAAW,QAEjCK,IAAc,CAACC,MACb,CAAC,UAAU,QAAQ,EAAE,SAAS,OAAOA,CAAI,IAClCA,IAEP,MAAM,QAAQA,CAAI,IACXA,EAAK,IAAID,CAAW,EAAE,KAAK,EAAE,IAEpCC,KAAQ,OAAOA,KAAS,YAAY,WAAWA,IACxCD,EAAYC,EAAK,MAAM,QAAQ,IAEnC,IAGLC,IAAaF,EAAYd,CAAQ,GACjCiB,IAAa,CAACjB,KAAY,CAACU,KAAa,GAAQT,KAAUC;AAEhE,SACI,gBAAAgB;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAWC,EAAM;AAAA,QACb;AAAA,QACAX,IACM,oDACAY,EAAgBjB,GAAO,CAAC,CAACM,GAASH,MAAaC,EAAc,MAAM;AAAA,MAAA,CAC5E;AAAA,MACD,gBAAcI;AAAA,MAEd,UAAA;AAAA,QAAA,gBAAAO;AAAA,UAACL;AAAA,UAAA;AAAA,YACG,SAAS,MAAM;AACX,cAAIJ,KACAA,EAAA;AAAA,YAER;AAAA,YACA,WAAWU,EAAM;AAAA,cACb;AAAA,cACAV,KAAW,CAACD,IAAW,4BAA4B;AAAA,cACnDS,IACMI,EAAuBhB,CAAI,IAC3BiB,EAAetB,GAAUC,GAAQC,GAAMG,GAAM,CAAC,CAACK,CAAS;AAAA,cAC9Da;AAAA,YAAA,CACH;AAAA,YACD,gBAAc,GAAGZ,CAAU;AAAA,YAC3B,OAAOC,IAAqBI,IAAa;AAAA,YAExC,UAAA;AAAA,cAAAf,sBAAUuB,GAAA,EAAgB,QAAAvB,GAAgB,UAAAO,GAAoB,gBAAcG,GAAY,IAAK;AAAA,cAC7FT,IACG,gBAAAuB;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,gBAAc,GAAGd,CAAU;AAAA,kBAC3B,WAAWQ,EAAM,CAAC,gCAAgCX,KAAY,eAAe,CAAC;AAAA,kBAE7E,UAAAkB,EAAaxB,GAAM,EAAE,MAAM,IAAI;AAAA,gBAAA;AAAA,cAAA,IAEpC;AAAA,cACHF,IACG,gBAAAyB,EAAC,QAAA,EAAK,WAAU,sEACX,UAAAzB,GACL,IACA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAEPU,IACG,gBAAAe;AAAA,UAAC;AAAA,UAAA;AAAA,YACG,MAAK;AAAA,YACL,gBAAc,GAAGd,CAAU;AAAA,YAC3B,WAAWQ,EAAM;AAAA,cACb;AAAA,cACAI;AAAA,cACAlB,MAAS,WAAW,iBAAiB;AAAA,YAAA,CACxC;AAAA,YACD,SAAS,MAAMK,EAAA;AAAA,YACf,cAAY,WAAWM,CAAU;AAAA,YAEjC,UAAA,gBAAAS,EAACE,GAAA,EAAU,MAAM,GAAA,CAAI;AAAA,UAAA;AAAA,QAAA,IAEzB;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGhB;AACA5B,EAAM,cAAc;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { getColorDisplayValue as i } from "../../utilities/colors.es.js";
|
|
3
|
-
import { merge as l } from "../../utilities/merge.es.js";
|
|
4
|
-
import { ColorFormat as n } from "../../types/colors.es.js";
|
|
5
|
-
import { isBadgeStatus as o, badgeStatusClasses as d } from "./helpers.es.js";
|
|
6
|
-
const m = ({ status: e, disabled: a, "data-test-id": r = "badge" }) => /* @__PURE__ */ t("div", { className: "tw-flex-none tw-inline-flex tw-justify-center tw-items-center ", children: /* @__PURE__ */ t(
|
|
7
|
-
"span",
|
|
8
|
-
{
|
|
9
|
-
"data-test-id": `${r}-status`,
|
|
10
|
-
className: l([
|
|
11
|
-
"tw-w-2 tw-h-2 tw-rounded-full tw-flex-none",
|
|
12
|
-
a && "tw-opacity-30",
|
|
13
|
-
o(e) && d[e]
|
|
14
|
-
]),
|
|
15
|
-
style: o(e) ? {} : {
|
|
16
|
-
backgroundColor: typeof e == "string" ? e : i(e, n.Rgba, !0)
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
) });
|
|
20
|
-
m.displayName = "FondueBadgeStatusIcon";
|
|
21
|
-
export {
|
|
22
|
-
m as BadgeStatusIcon
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=BadgeStatusIcon.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeStatusIcon.es.js","sources":["../../../src/components/Badge/BadgeStatusIcon.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { getColorDisplayValue } from '@utilities/colors';\nimport { merge } from '@utilities/merge';\n\nimport { ColorFormat } from '../../types/colors';\n\nimport { badgeStatusClasses, isBadgeStatus } from './helpers';\nimport { type BadgeStatusIconProps } from './types';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const BadgeStatusIcon = ({ status, disabled, 'data-test-id': dataTestId = 'badge' }: BadgeStatusIconProps) => (\n <div className=\"tw-flex-none tw-inline-flex tw-justify-center tw-items-center \">\n <span\n data-test-id={`${dataTestId}-status`}\n className={merge([\n 'tw-w-2 tw-h-2 tw-rounded-full tw-flex-none',\n disabled && 'tw-opacity-30',\n isBadgeStatus(status) && badgeStatusClasses[status],\n ])}\n style={\n isBadgeStatus(status)\n ? {}\n : {\n backgroundColor:\n typeof status === 'string'\n ? status\n : getColorDisplayValue(status, ColorFormat.Rgba, true),\n }\n }\n />\n </div>\n);\nBadgeStatusIcon.displayName = 'FondueBadgeStatusIcon';\n"],"names":["BadgeStatusIcon","status","disabled","dataTestId","jsx","merge","isBadgeStatus","badgeStatusClasses","getColorDisplayValue","ColorFormat"],"mappings":";;;;;AAaO,MAAMA,IAAkB,CAAC,EAAE,QAAAC,GAAQ,UAAAC,GAAU,gBAAgBC,IAAa,cAC7E,gBAAAC,EAAC,OAAA,EAAI,WAAU,kEACX,UAAA,gBAAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,gBAAc,GAAGD,CAAU;AAAA,IAC3B,WAAWE,EAAM;AAAA,MACb;AAAA,MACAH,KAAY;AAAA,MACZI,EAAcL,CAAM,KAAKM,EAAmBN,CAAM;AAAA,IAAA,CACrD;AAAA,IACD,OACIK,EAAcL,CAAM,IACd,KACA;AAAA,MACI,iBACI,OAAOA,KAAW,WACZA,IACAO,EAAqBP,GAAQQ,EAAY,MAAM,EAAI;AAAA,IAAA;AAAA,EACjE;AAEd,EAAA,CACJ;AAEJT,EAAgB,cAAc;"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { merge as t } from "../../utilities/merge.es.js";
|
|
2
|
-
import { BadgeStyle as o, BadgeStatus as n } from "./types.es.js";
|
|
3
|
-
const a = (r, e, s) => (s ? {
|
|
4
|
-
[o.Primary]: t([
|
|
5
|
-
"tw-bg-box-neutral-strong tw-text-box-neutral-strong-inverse",
|
|
6
|
-
e && "hover:tw-bg-box-neutral-strong-hover hover:tw-text-box-neutral-strong-inverse-hover"
|
|
7
|
-
]),
|
|
8
|
-
[o.Positive]: t([
|
|
9
|
-
"tw-bg-box-positive-strong tw-text-box-positive-strong-inverse",
|
|
10
|
-
e && "hover:tw-bg-box-positive-strong-hover hover:tw-text-box-positive-strong-inverse-hover"
|
|
11
|
-
]),
|
|
12
|
-
[o.Danger]: t([
|
|
13
|
-
"tw-bg-box-negative-strong tw-text-box-negative-strong-inverse",
|
|
14
|
-
e && "hover:tw-bg-box-negative-strong-hover hover:tw-text-box-negative-strong-inverse-hover"
|
|
15
|
-
]),
|
|
16
|
-
[o.Progress]: t([
|
|
17
|
-
"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse",
|
|
18
|
-
e && "hover:tw-bg-box-selected-strong-hover hover:tw-text-box-selected-strong-inverse-hover"
|
|
19
|
-
]),
|
|
20
|
-
[o.Warning]: t([
|
|
21
|
-
"tw-bg-box-warning-strong tw-text-box-warning-strong-inverse",
|
|
22
|
-
e && "hover:tw-bg-box-warning-strong-hover hover:tw-text-box-warning-strong-inverse-hover"
|
|
23
|
-
])
|
|
24
|
-
} : {
|
|
25
|
-
[o.Primary]: t([
|
|
26
|
-
"tw-bg-box-neutral tw-text-box-neutral-inverse",
|
|
27
|
-
e && "hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"
|
|
28
|
-
]),
|
|
29
|
-
[o.Positive]: t([
|
|
30
|
-
"tw-bg-box-positive tw-text-box-positive-inverse",
|
|
31
|
-
e && "hover:tw-bg-box-positive-hover hover:tw-text-box-positive-inverse-hover"
|
|
32
|
-
]),
|
|
33
|
-
[o.Progress]: t([
|
|
34
|
-
"tw-bg-box-selected tw-text-box-selected-inverse",
|
|
35
|
-
e && "hover:tw-bg-box-selected-hover hover:tw-text-box-selected-inverse-hover"
|
|
36
|
-
]),
|
|
37
|
-
[o.Warning]: t([
|
|
38
|
-
"tw-bg-box-warning tw-text-box-warning-inverse",
|
|
39
|
-
e && "hover:tw-bg-box-warning-hover hover:tw-text-box-warning-inverse-hover"
|
|
40
|
-
]),
|
|
41
|
-
[o.Danger]: t([
|
|
42
|
-
"tw-bg-box-negative tw-text-box-negative-inverse",
|
|
43
|
-
e && "hover:tw-bg-box-negative-hover hover:tw-text-box-negative-inverse-hover"
|
|
44
|
-
])
|
|
45
|
-
})[r] ?? "", h = (r) => Object.values(n).includes(r), l = (r) => ({
|
|
46
|
-
small: "tw-h-5 tw-w-5",
|
|
47
|
-
medium: "tw-h-6 tw-w-6"
|
|
48
|
-
})[r], p = (r, e, s, v, g) => {
|
|
49
|
-
const w = v === "small", i = !(r && e && s);
|
|
50
|
-
return w ? t([
|
|
51
|
-
"tw-h-5 tw-px-2 tw-gap-x-1",
|
|
52
|
-
i && "tw-gap-x-1.5",
|
|
53
|
-
g && "tw-pr-5"
|
|
54
|
-
]) : t([
|
|
55
|
-
"tw-h-6",
|
|
56
|
-
"tw-px-2.5 tw-gap-x-1",
|
|
57
|
-
i && "tw-gap-x-2",
|
|
58
|
-
g && "tw-pr-6"
|
|
59
|
-
]);
|
|
60
|
-
}, c = {
|
|
61
|
-
[n.Positive]: "tw-bg-green-60",
|
|
62
|
-
[n.Progress]: "tw-bg-violet-60",
|
|
63
|
-
[n.Warning]: "tw-bg-yellow-60",
|
|
64
|
-
[n.Danger]: "tw-bg-red-60"
|
|
65
|
-
};
|
|
66
|
-
export {
|
|
67
|
-
c as badgeStatusClasses,
|
|
68
|
-
l as getCircularSizeClasses,
|
|
69
|
-
p as getSizeClasses,
|
|
70
|
-
a as getStyleClasses,
|
|
71
|
-
h as isBadgeStatus
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=helpers.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.es.js","sources":["../../../src/components/Badge/helpers.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type ReactNode } from 'react';\n\nimport { merge } from '@utilities/merge';\n\nimport { type Color } from '../../types';\n\nimport { type BadgeProps, type BadgeSize, BadgeStatus, BadgeStyle } from './types';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const getStyleClasses = (style: BadgeStyle, hasHover: boolean, strong: boolean): string =>\n (strong\n ? {\n [BadgeStyle.Primary]: merge([\n 'tw-bg-box-neutral-strong tw-text-box-neutral-strong-inverse',\n hasHover && 'hover:tw-bg-box-neutral-strong-hover hover:tw-text-box-neutral-strong-inverse-hover',\n ]),\n [BadgeStyle.Positive]: merge([\n 'tw-bg-box-positive-strong tw-text-box-positive-strong-inverse',\n hasHover && 'hover:tw-bg-box-positive-strong-hover hover:tw-text-box-positive-strong-inverse-hover',\n ]),\n [BadgeStyle.Danger]: merge([\n 'tw-bg-box-negative-strong tw-text-box-negative-strong-inverse',\n hasHover && 'hover:tw-bg-box-negative-strong-hover hover:tw-text-box-negative-strong-inverse-hover',\n ]),\n [BadgeStyle.Progress]: merge([\n 'tw-bg-box-selected-strong tw-text-box-selected-strong-inverse',\n hasHover && 'hover:tw-bg-box-selected-strong-hover hover:tw-text-box-selected-strong-inverse-hover',\n ]),\n [BadgeStyle.Warning]: merge([\n 'tw-bg-box-warning-strong tw-text-box-warning-strong-inverse',\n hasHover && 'hover:tw-bg-box-warning-strong-hover hover:tw-text-box-warning-strong-inverse-hover',\n ]),\n }\n : {\n [BadgeStyle.Primary]: merge([\n 'tw-bg-box-neutral tw-text-box-neutral-inverse',\n hasHover && 'hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover',\n ]),\n [BadgeStyle.Positive]: merge([\n 'tw-bg-box-positive tw-text-box-positive-inverse',\n hasHover && 'hover:tw-bg-box-positive-hover hover:tw-text-box-positive-inverse-hover',\n ]),\n [BadgeStyle.Progress]: merge([\n 'tw-bg-box-selected tw-text-box-selected-inverse',\n hasHover && 'hover:tw-bg-box-selected-hover hover:tw-text-box-selected-inverse-hover',\n ]),\n [BadgeStyle.Warning]: merge([\n 'tw-bg-box-warning tw-text-box-warning-inverse',\n hasHover && 'hover:tw-bg-box-warning-hover hover:tw-text-box-warning-inverse-hover',\n ]),\n [BadgeStyle.Danger]: merge([\n 'tw-bg-box-negative tw-text-box-negative-inverse',\n hasHover && 'hover:tw-bg-box-negative-hover hover:tw-text-box-negative-inverse-hover',\n ]),\n })[style] ?? '';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const isBadgeStatus = (style: BadgeStatus | Color | string): style is BadgeStatus =>\n Object.values(BadgeStatus).includes(style as BadgeStatus);\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const getCircularSizeClasses = (size: BadgeSize) =>\n ({\n small: 'tw-h-5 tw-w-5',\n medium: 'tw-h-6 tw-w-6',\n })[size];\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const getSizeClasses = (\n children: ReactNode,\n status: BadgeProps['status'],\n icon: BadgeProps['icon'],\n size: BadgeSize,\n isDismissable: boolean,\n) => {\n const isSmall = size === 'small';\n const hasMaximumTwoComponents = !(children && status && icon);\n\n if (isSmall) {\n return merge([\n 'tw-h-5 tw-px-2 tw-gap-x-1',\n hasMaximumTwoComponents && 'tw-gap-x-1.5',\n isDismissable && 'tw-pr-5',\n ]);\n } else {\n return merge([\n 'tw-h-6',\n 'tw-px-2.5 tw-gap-x-1',\n hasMaximumTwoComponents && 'tw-gap-x-2',\n isDismissable && 'tw-pr-6',\n ]);\n }\n};\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport const badgeStatusClasses: Record<BadgeStatus, string> = {\n [BadgeStatus.Positive]: 'tw-bg-green-60',\n [BadgeStatus.Progress]: 'tw-bg-violet-60',\n [BadgeStatus.Warning]: 'tw-bg-yellow-60',\n [BadgeStatus.Danger]: 'tw-bg-red-60',\n};\n"],"names":["getStyleClasses","style","hasHover","strong","BadgeStyle","merge","isBadgeStatus","BadgeStatus","getCircularSizeClasses","size","getSizeClasses","children","status","icon","isDismissable","isSmall","hasMaximumTwoComponents","badgeStatusClasses"],"mappings":";;AAaO,MAAMA,IAAkB,CAACC,GAAmBC,GAAmBC,OACjEA,IACK;AAAA,EACI,CAACC,EAAW,OAAO,GAAGC,EAAM;AAAA,IACxB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,QAAQ,GAAGC,EAAM;AAAA,IACzB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,MAAM,GAAGC,EAAM;AAAA,IACvB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,QAAQ,GAAGC,EAAM;AAAA,IACzB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,OAAO,GAAGC,EAAM;AAAA,IACxB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AACL,IACA;AAAA,EACI,CAACE,EAAW,OAAO,GAAGC,EAAM;AAAA,IACxB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,QAAQ,GAAGC,EAAM;AAAA,IACzB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,QAAQ,GAAGC,EAAM;AAAA,IACzB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,OAAO,GAAGC,EAAM;AAAA,IACxB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AAAA,EACD,CAACE,EAAW,MAAM,GAAGC,EAAM;AAAA,IACvB;AAAA,IACAH,KAAY;AAAA,EAAA,CACf;AACL,GAAGD,CAAK,KAAK,IAKVK,IAAgB,CAACL,MAC1B,OAAO,OAAOM,CAAW,EAAE,SAASN,CAAoB,GAK/CO,IAAyB,CAACC,OAClC;AAAA,EACG,OAAO;AAAA,EACP,QAAQ;AACZ,GAAGA,CAAI,GAKEC,IAAiB,CAC1BC,GACAC,GACAC,GACAJ,GACAK,MACC;AACD,QAAMC,IAAUN,MAAS,SACnBO,IAA0B,EAAEL,KAAYC,KAAUC;AAExD,SAAIE,IACOV,EAAM;AAAA,IACT;AAAA,IACAW,KAA2B;AAAA,IAC3BF,KAAiB;AAAA,EAAA,CACpB,IAEMT,EAAM;AAAA,IACT;AAAA,IACA;AAAA,IACAW,KAA2B;AAAA,IAC3BF,KAAiB;AAAA,EAAA,CACpB;AAET,GAKaG,IAAkD;AAAA,EAC3D,CAACV,EAAY,QAAQ,GAAG;AAAA,EACxB,CAACA,EAAY,QAAQ,GAAG;AAAA,EACxB,CAACA,EAAY,OAAO,GAAG;AAAA,EACvB,CAACA,EAAY,MAAM,GAAG;AAC1B;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var n = /* @__PURE__ */ ((r) => (r.Positive = "Positive", r.Progress = "Progress", r.Warning = "Warning", r.Danger = "Danger", r))(n || {}), i = /* @__PURE__ */ ((r) => (r.Primary = "Primary", r.Positive = "Positive", r.Progress = "Progress", r.Warning = "Warning", r.Danger = "Danger", r))(i || {}), o = /* @__PURE__ */ ((r) => (r.Strong = "Strong", r.None = "None", r))(o || {});
|
|
2
|
-
export {
|
|
3
|
-
o as BadgeEmphasis,
|
|
4
|
-
n as BadgeStatus,
|
|
5
|
-
i as BadgeStyle
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=types.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.es.js","sources":["../../../src/components/Badge/types.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { type FondueIconProps } from '@frontify/fondue-icons';\nimport { type ReactElement, type ReactNode } from 'react';\n\nimport { type Color } from '../../types';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport type BadgeSize = 'small' | 'medium';\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport type BadgeProps = {\n style?: BadgeStyle;\n icon?: ReactElement<FondueIconProps>;\n status?: BadgeStatusIconProps['status'];\n onClick?: () => void;\n onDismiss?: () => void;\n disabled?: boolean;\n emphasis?: BadgeEmphasis;\n size?: BadgeSize;\n children?: ReactNode;\n 'data-test-id'?: string;\n /** @description withTitle could be disabled only in the case another overlay is present, ex Tooltip */\n withTitleAttribute?: boolean;\n};\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport type BadgeStatusIconProps = { status: BadgeStatus | Color | string; disabled: boolean; 'data-test-id'?: string };\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport enum BadgeStatus {\n Positive = 'Positive',\n Progress = 'Progress',\n Warning = 'Warning',\n Danger = 'Danger',\n}\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport enum BadgeStyle {\n Primary = 'Primary',\n Positive = 'Positive',\n Progress = 'Progress',\n Warning = 'Warning',\n Danger = 'Danger',\n}\n\n/**\n * @deprecated Please use updated badge component from `@frontify/fondue/components` instead.\n */\nexport enum BadgeEmphasis {\n Strong = 'Strong',\n None = 'None',\n}\n"],"names":["BadgeStatus","BadgeStyle","BadgeEmphasis"],"mappings":"AAsCO,IAAKA,sBAAAA,OACRA,EAAA,WAAW,YACXA,EAAA,WAAW,YACXA,EAAA,UAAU,WACVA,EAAA,SAAS,UAJDA,IAAAA,KAAA,CAAA,CAAA,GAUAC,sBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,WAAW,YACXA,EAAA,UAAU,WACVA,EAAA,SAAS,UALDA,IAAAA,KAAA,CAAA,CAAA,GAWAC,sBAAAA,OACRA,EAAA,SAAS,UACTA,EAAA,OAAO,QAFCA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useBreadcrumbItem as b } from "@react-aria/breadcrumbs";
|
|
3
|
-
import { useFocusRing as y } from "@react-aria/focus";
|
|
4
|
-
import { mergeProps as F } from "@react-aria/utils";
|
|
5
|
-
import { useRef as I } from "react";
|
|
6
|
-
import { getItemElementType as N } from "../../utilities/elements.es.js";
|
|
7
|
-
import { FOCUS_STYLE_NO_OFFSET as v } from "../../utilities/focusStyle.es.js";
|
|
8
|
-
import { merge as c } from "../../utilities/merge.es.js";
|
|
9
|
-
const T = () => /* @__PURE__ */ r(
|
|
10
|
-
"svg",
|
|
11
|
-
{
|
|
12
|
-
"aria-hidden": "true",
|
|
13
|
-
width: "13",
|
|
14
|
-
height: "17",
|
|
15
|
-
viewBox: "0 0 13 17",
|
|
16
|
-
fill: "none",
|
|
17
|
-
className: "tw-stroke-current tw-text-black-20",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
children: /* @__PURE__ */ r("line", { x1: "3.52447", y1: "16.0623", x2: "8.46874", y2: "0.845385" })
|
|
20
|
-
}
|
|
21
|
-
), B = ({
|
|
22
|
-
decorator: p,
|
|
23
|
-
label: s,
|
|
24
|
-
link: o,
|
|
25
|
-
onClick: m,
|
|
26
|
-
showSeparator: w,
|
|
27
|
-
children: l,
|
|
28
|
-
"data-test-id": d = "breadcrumb"
|
|
29
|
-
}) => {
|
|
30
|
-
const n = I(null), t = N(o, m), e = t !== "span", { itemProps: u } = b(
|
|
31
|
-
{
|
|
32
|
-
isCurrent: !1,
|
|
33
|
-
children: s,
|
|
34
|
-
elementType: t
|
|
35
|
-
},
|
|
36
|
-
n
|
|
37
|
-
), { isFocusVisible: x, focusProps: f } = y(), i = {
|
|
38
|
-
a: { href: o },
|
|
39
|
-
button: { onClick: m, type: "button" },
|
|
40
|
-
span: { tabIndex: -1 }
|
|
41
|
-
}, h = e ? F(u, f, i[t]) : i[t], g = c([
|
|
42
|
-
"tw-flex tw-gap-x-1 tw-items-center tw-leading-4 tw-h-6 tw-whitespace-pre-wrap tw-rounded",
|
|
43
|
-
e && x && v
|
|
44
|
-
]);
|
|
45
|
-
return /* @__PURE__ */ a(
|
|
46
|
-
"li",
|
|
47
|
-
{
|
|
48
|
-
className: c([
|
|
49
|
-
"tw-flex tw-items-center tw-text-text-weak tw-text-xs tw-transition-colors",
|
|
50
|
-
e && "hover:tw-text-text"
|
|
51
|
-
]),
|
|
52
|
-
"data-test-id": `${d}-item`,
|
|
53
|
-
children: [
|
|
54
|
-
l ?? // eslint-disable-next-line @eslint-react/static-components
|
|
55
|
-
/* @__PURE__ */ a(t, { ref: n, ...h, className: g, children: [
|
|
56
|
-
p,
|
|
57
|
-
s
|
|
58
|
-
] }),
|
|
59
|
-
w && /* @__PURE__ */ r(T, {})
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
};
|
|
64
|
-
B.displayName = "FondueBreadcrumbItem";
|
|
65
|
-
export {
|
|
66
|
-
B as BreadcrumbItem
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=BreadcrumbItem.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItem.es.js","sources":["../../../src/components/Breadcrumbs/BreadcrumbItem.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useBreadcrumbItem } from '@react-aria/breadcrumbs';\nimport { useFocusRing } from '@react-aria/focus';\nimport { mergeProps } from '@react-aria/utils';\nimport { type ReactElement, useRef } from 'react';\n\nimport { getItemElementType } from '@utilities/elements';\nimport { FOCUS_STYLE_NO_OFFSET } from '@utilities/focusStyle';\nimport { merge } from '@utilities/merge';\n\nimport { type Breadcrumb } from './Breadcrumbs';\n\nconst Separator = () => (\n <svg\n aria-hidden=\"true\"\n width=\"13\"\n height=\"17\"\n viewBox=\"0 0 13 17\"\n fill=\"none\"\n className=\"tw-stroke-current tw-text-black-20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <line x1=\"3.52447\" y1=\"16.0623\" x2=\"8.46874\" y2=\"0.845385\" />\n </svg>\n);\n\n/*\n * @deprecated This type is deprecated and will be removed in the next major version.\n */\ntype BreadcrumbItemProps = Pick<Breadcrumb, 'label' | 'link' | 'onClick' | 'decorator'> & {\n showSeparator: boolean;\n children?: ReactElement;\n 'data-test-id'?: string;\n};\n\n/**\n * @deprecated This component is deprecated and will be removed in the next major version.\n */\nexport const BreadcrumbItem = ({\n decorator,\n label,\n link,\n onClick,\n showSeparator,\n children,\n 'data-test-id': dataTestId = 'breadcrumb',\n}: BreadcrumbItemProps): ReactElement => {\n const ref = useRef(null);\n\n // eslint-disable-next-line @eslint-react/static-components\n const Element = getItemElementType(link, onClick);\n const isInteractive = Element !== 'span';\n\n const { itemProps } = useBreadcrumbItem(\n {\n isCurrent: false,\n children: label,\n elementType: Element,\n },\n ref,\n );\n\n const { isFocusVisible, focusProps } = useFocusRing();\n\n const elementTypeProps = {\n a: { href: link },\n button: { onClick, type: 'button' as const },\n span: { tabIndex: -1 },\n };\n const props = isInteractive\n ? mergeProps(itemProps, focusProps, elementTypeProps[Element])\n : elementTypeProps[Element];\n\n const classNames = merge([\n 'tw-flex tw-gap-x-1 tw-items-center tw-leading-4 tw-h-6 tw-whitespace-pre-wrap tw-rounded',\n isInteractive && isFocusVisible && FOCUS_STYLE_NO_OFFSET,\n ]);\n\n return (\n <li\n className={merge([\n 'tw-flex tw-items-center tw-text-text-weak tw-text-xs tw-transition-colors',\n isInteractive && 'hover:tw-text-text',\n ])}\n data-test-id={`${dataTestId}-item`}\n >\n {children ?? (\n // eslint-disable-next-line @eslint-react/static-components\n <Element ref={ref} {...props} className={classNames}>\n {decorator}\n {label}\n </Element>\n )}\n {showSeparator && <Separator />}\n </li>\n );\n};\nBreadcrumbItem.displayName = 'FondueBreadcrumbItem';\n"],"names":["Separator","jsx","BreadcrumbItem","decorator","label","link","onClick","showSeparator","children","dataTestId","ref","useRef","Element","getItemElementType","isInteractive","itemProps","useBreadcrumbItem","isFocusVisible","focusProps","useFocusRing","elementTypeProps","props","mergeProps","classNames","merge","FOCUS_STYLE_NO_OFFSET","jsxs"],"mappings":";;;;;;;;AAaA,MAAMA,IAAY,MACd,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACG,eAAY;AAAA,IACZ,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,WAAU;AAAA,IACV,OAAM;AAAA,IAEN,UAAA,gBAAAA,EAAC,UAAK,IAAG,WAAU,IAAG,WAAU,IAAG,WAAU,IAAG,WAAA,CAAW;AAAA,EAAA;AAC/D,GAeSC,IAAiB,CAAC;AAAA,EAC3B,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAgBC,IAAa;AACjC,MAAyC;AACrC,QAAMC,IAAMC,EAAO,IAAI,GAGjBC,IAAUC,EAAmBR,GAAMC,CAAO,GAC1CQ,IAAgBF,MAAY,QAE5B,EAAE,WAAAG,MAAcC;AAAA,IAClB;AAAA,MACI,WAAW;AAAA,MACX,UAAUZ;AAAA,MACV,aAAaQ;AAAA,IAAA;AAAA,IAEjBF;AAAA,EAAA,GAGE,EAAE,gBAAAO,GAAgB,YAAAC,EAAA,IAAeC,EAAA,GAEjCC,IAAmB;AAAA,IACrB,GAAG,EAAE,MAAMf,EAAA;AAAA,IACX,QAAQ,EAAE,SAAAC,GAAS,MAAM,SAAA;AAAA,IACzB,MAAM,EAAE,UAAU,GAAA;AAAA,EAAG,GAEnBe,IAAQP,IACRQ,EAAWP,GAAWG,GAAYE,EAAiBR,CAAO,CAAC,IAC3DQ,EAAiBR,CAAO,GAExBW,IAAaC,EAAM;AAAA,IACrB;AAAA,IACAV,KAAiBG,KAAkBQ;AAAA,EAAA,CACtC;AAED,SACI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAWF,EAAM;AAAA,QACb;AAAA,QACAV,KAAiB;AAAA,MAAA,CACpB;AAAA,MACD,gBAAc,GAAGL,CAAU;AAAA,MAE1B,UAAA;AAAA,QAAAD;AAAA,0BAEII,GAAA,EAAQ,KAAAF,GAAW,GAAGW,GAAO,WAAWE,GACpC,UAAA;AAAA,UAAApB;AAAA,UACAC;AAAA,QAAA,GACL;AAAA,QAEHG,uBAAkBP,GAAA,CAAA,CAAU;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGzC;AACAE,EAAe,cAAc;"}
|