{"version":3,"file":"upload.mjs","names":[],"sources":["../../src/react/upload.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type UploadIconProps = 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 UploadIcon = ({ title, size, color, ...props }: UploadIconProps) => {\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=\"m12.003 2.953 5.023 5.024-1.06 1.06-3.214-3.213-.004 10.423-1.5-.001.004-10.42L8.04 9.037l-1.061-1.06 5.024-5.025ZM3.015 17.744v-1.498h1.5v1.498c0 .964.782 1.746 1.746 1.746h11.483c.964 0 1.747-.782 1.747-1.746v-1.498h1.5v1.498a3.247 3.247 0 0 1-3.247 3.246H6.261a3.247 3.247 0 0 1-3.246-3.246\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,cAAc,EAAE,OAAO,MAAM,OAAO,GAAG,YAA6B;CAC/E,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;GAAwS,UAAS;GAAY,CAAA,CAAM"}