{"version":3,"file":"favourite.mjs","names":[],"sources":["../../src/react/favourite.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type FavouriteIconProps = 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 FavouriteIcon = ({ title, size, color, ...props }: FavouriteIconProps) => {\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=\"M10.972 6.666C9.49 5.178 7.05 5.116 5.614 6.55a3.749 3.749 0 0 0-.003 5.293l6.392 6.282 6.391-6.281a3.749 3.749 0 0 0-.002-5.293c-1.435-1.436-3.875-1.37-5.36.114l-1.03 1.03-1.03-1.03Zm1.03-1.091C9.979 3.578 6.61 3.433 4.553 5.49a5.249 5.249 0 0 0 0 7.416l7.45 7.322 7.446-7.317.006-.005a5.249 5.249 0 0 0-.001-7.416c-2.059-2.06-5.426-1.907-7.45.084Z\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,iBAAiB,EAAE,OAAO,MAAM,OAAO,GAAG,YAAgC;CACrF,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;GAAgW,UAAS;GAAY,CAAA,CAAM"}