{"version":3,"file":"add-favourite.mjs","names":[],"sources":["../../src/react/add-favourite.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type AddFavouriteIconProps = 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 AddFavouriteIcon = ({ title, size, color, ...props }: AddFavouriteIconProps) => {\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.973 6.666c-1.484-1.488-3.923-1.55-5.36-.115a3.749 3.749 0 0 0-.002 5.293l6.917 6.798-1.05 1.07-6.925-6.805a5.249 5.249 0 0 1-.001-7.415V5.49c2.058-2.058 5.426-1.913 7.45.084 2.025-1.991 5.392-2.143 7.451-.084a5.249 5.249 0 0 1 0 7.416l-1.061-1.06a3.749 3.749 0 0 0 0-5.295c-1.435-1.436-3.875-1.37-5.36.114l-1.03 1.03-1.03-1.03Zm4.024 8.331v-2.745h1.5v2.745h2.745v1.5h-2.745v2.745h-1.5v-2.745h-2.745v-1.5z\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,oBAAoB,EAAE,OAAO,MAAM,OAAO,GAAG,YAAmC;CAC3F,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;GAA2Z,UAAS;GAAY,CAAA,CAAM"}