{"version":3,"file":"SortableOverlay.mjs","names":[],"sources":["../../../src/SortableList/components/SortableOverlay.tsx"],"sourcesContent":["'use client';\n\nimport { type DropAnimation } from '@dnd-kit/core';\nimport { defaultDropAnimationSideEffects, DragOverlay } from '@dnd-kit/core';\nimport { type PropsWithChildren } from 'react';\nimport { memo } from 'react';\n\nconst dropAnimationConfig: DropAnimation = {\n  sideEffects: defaultDropAnimationSideEffects({\n    styles: {\n      active: {\n        opacity: '0.4',\n      },\n    },\n  }),\n};\n\nconst SortableOverlay = memo<PropsWithChildren>(({ children }) => {\n  return <DragOverlay dropAnimation={dropAnimationConfig}>{children}</DragOverlay>;\n});\n\nSortableOverlay.displayName = 'SortableOverlay';\n\nexport default SortableOverlay;\n"],"mappings":";;;;;AAOA,MAAM,sBAAqC,EACzC,aAAa,gCAAgC,EAC3C,QAAQ,EACN,QAAQ,EACN,SAAS,OACV,EACF,EACF,CAAC,EACH;AAED,MAAM,kBAAkB,MAAyB,EAAE,eAAe;AAChE,QAAO,oBAAC,aAAD;EAAa,eAAe;EAAsB;EAAuB,CAAA;EAChF;AAEF,gBAAgB,cAAc"}