{"version":3,"file":"user.mjs","names":[],"sources":["../../src/react/user.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type UserIconProps = 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 UserIcon = ({ title, size, color, ...props }: UserIconProps) => {\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 4.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8m3.096 8.546a5.5 5.5 0 1 0-6.193 0C5.552 14.256 3.015 17.351 3.015 21h1.5c0-3.786 3.458-7 7.485-7s7.485 3.214 7.485 7h1.5c0-3.65-2.537-6.743-5.889-7.954\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,YAAY,EAAE,OAAO,MAAM,OAAO,GAAG,YAA2B;CAC3E,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;GAA8L,UAAS;GAAY,CAAA,CAAM"}