{"version":3,"file":"pencil.mjs","names":[],"sources":["../../src/react/pencil.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type PencilIconProps = 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 PencilIcon = ({ title, size, color, ...props }: PencilIconProps) => {\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 d=\"M14.77 4.37a3.829 3.829 0 0 1 5.41 0 3.828 3.828 0 0 1 0 5.41l-.002.002L8.608 21.25H3.25v-5.31L14.769 4.371ZM4.75 16.56v3.191h3.242l9.713-9.629-3.3-3.262zM19.12 5.43a2.329 2.329 0 0 0-3.29 0l-.366.367 3.306 3.268.352-.347a2.329 2.329 0 0 0-.002-3.287Z\" /></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,EAAM,GAAE,+PAAgQ,CAAA,CAAM"}