{"version":3,"file":"document.mjs","names":[],"sources":["../../src/react/document.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type DocumentIconProps = SVGProps<SVGSVGElement> & {\n  /** Accessibility title for the icon, set aria-hidden=\"true\" if the icon is purely decorative. */\n  title?: string;\n  /**\n   * The size of the icon.\n   * It sets the font-size, possible as the width and height is `1em`. If not set, the icon will inherit the font size of its parent.\n   */\n  size?: '2xl' | 'xl' | 'large' | 'medium' | 'small';\n  /**\n   * The color of the icon.\n   * @default 'inherit'\n   */\n  color?: 'inherit' | 'primary' | 'gray' | 'black' | 'white';\n};\n\nexport const DocumentIcon = ({ title, size, color, ...props }: DocumentIconProps) => {\n  const titleId = useId();\n  return (\n    <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\" focusable='false' role='img' width='1em' height='1em'  aria-labelledby={title ? titleId : undefined} data-size={size} data-color={color} {...props}>{title ? <title id={titleId}>{title}</title> : null}<path fillRule=\"evenodd\" d=\"M4.762 2.016h9.298l5.183 5.182v14.79H4.762V2.017Zm1.5 1.5v16.973h11.48V10.256H14.5a3.247 3.247 0 0 1-3.247-3.246V3.516h-4.99Zm6.49 0V7.01c0 .963.783 1.746 1.747 1.746h3.244V7.82l-4.304-4.304zm-4.494 7.736h1.498v1.5H8.258zm2.496 0h4.993v1.5h-4.993zm-2.496 2.996h1.498v1.5H8.258zm2.496 0h4.993v1.5h-4.993zm-2.496 2.996h1.498v1.5H8.258zm2.496 0h4.993v1.5h-4.993z\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,gBAAgB,EAAE,OAAO,MAAM,OAAO,GAAG,YAA+B;CACnF,MAAM,UAAU,OAAO;CACvB,OACE,qBAAC,OAAD;EAAK,OAAM;EAA6B,MAAK;EAAe,SAAQ;EAAY,WAAU;EAAQ,MAAK;EAAM,OAAM;EAAM,QAAO;EAAO,mBAAiB,QAAQ,UAAU,KAAA;EAAW,aAAW;EAAM,cAAY;EAAO,GAAI;YAA7N,CAAqO,QAAQ,oBAAC,SAAD;GAAO,IAAI;aAAU;GAAc,CAAA,GAAG,MAAK,oBAAC,QAAD;GAAM,UAAS;GAAU,GAAE;GAA0W,UAAS;GAAY,CAAA,CAAM"}