{"version":3,"file":"grade.mjs","names":[],"sources":["../../src/react/grade.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type GradeIconProps = 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 GradeIcon = ({ title, size, color, ...props }: GradeIconProps) => {\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=\"M4.25 16.769V7.924A2.676 2.676 0 0 1 6.924 5.25h4.422v1.5H6.924c-.647 0-1.174.527-1.174 1.174v8.845c0 .646.527 1.173 1.174 1.173h8.845c.646 0 1.173-.527 1.173-1.173v-4.423h1.5v4.423a2.676 2.676 0 0 1-2.673 2.673H6.924A2.676 2.676 0 0 1 4.25 16.77Z\" /><path d=\"m18.73 7.185-6.323 6.328-3.876-3.876 1.06-1.06 2.815 2.814 5.263-5.266z\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,aAAa,EAAE,OAAO,MAAM,OAAO,GAAG,YAA4B;CAC7E,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;GAAqO,QAAQ,oBAAC,SAAD;IAAO,IAAI;cAAU;IAAc,CAAA,GAAG;GAAK,oBAAC,QAAD,EAAM,GAAE,2PAA4P,CAAA;uBAAC,QAAD,EAAM,GAAE,2EAA4E,CAAA;GAAM"}