{"version":3,"file":"scrollFade.types.mjs","names":[],"sources":["../../../../package/common/scrollFade/scrollFade.types.ts"],"sourcesContent":["import type { CSSProperties, ReactNode, Ref } from 'react';\nimport type { HtmlProps } from '../types/slots.types';\n\nexport enum ScrollFadeAxis {\n  Vertical = 'vertical',\n  Horizontal = 'horizontal',\n}\n\nexport interface ScrollFadeProps extends HtmlProps<HTMLDivElement> {\n  /** The scrolling content. */\n  children?: ReactNode;\n  /** Which way it scrolls. Default `ScrollFadeAxis.Vertical`. */\n  axis?: ScrollFadeAxis;\n  /** How far the fade runs from each edge, any CSS length. Default `24px`. */\n  fadeLength?: string;\n  /** Fade both ends whether or not content is hidden there. Default `false`. */\n  isAlwaysFaded?: boolean;\n  className?: string;\n  style?: CSSProperties;\n  /** The scrolling element itself. */\n  ref?: Ref<HTMLDivElement>;\n}\n"],"mappings":"aAGA,IAAY,EAAL,SAAA,EAAA,OACL,GAAA,SAAA,WACA,EAAA,WAAA,cACF,EAAA,CAAA,CAAA"}