{"version":3,"file":"Skeleton.types.cjs","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\n\nexport type SkeletonProps = Omit<\n  ComponentProps<'div'>,\n  'children' | 'height' | 'width'\n> & {\n  /**\n   * Optional height of the skeleton container. Numbers are interpreted as px;\n   * strings can use any CSS length (`'2rem'`, `'100px'`, etc.).\n   */\n  height?: number | string;\n  /**\n   * Optional width of the skeleton container. Numbers are interpreted as px;\n   * strings can use any CSS length.\n   */\n  width?: number | string;\n  /**\n   * Optional content to display within the skeleton.\n   *\n   * - When provided **without** `hideChildren`, children are rendered\n   *   directly and the skeleton is not shown (the component is a no-op).\n   * - When provided **with** `hideChildren`, children are rendered invisibly\n   *   to preserve layout dimensions while the animated skeleton bar fills\n   *   the container.\n   */\n  children?: ReactNode;\n  /**\n   * When `true`, children are rendered invisibly while the skeleton\n   * animation plays, preserving layout dimensions. When `false` (the\n   * default) and `children` are provided, children render directly with no\n   * skeleton overlay.\n   *\n   * @default false\n   */\n  hideChildren?: boolean;\n  /**\n   * Optional prop for additional CSS classes to be applied to the skeleton\n   * container. Merged with the component's defaults via `twMerge`.\n   */\n  className?: string;\n};\n"]}