{"version":3,"file":"lightning.mjs","names":[],"sources":["../../src/react/lightning.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type LightningIconProps = 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 LightningIcon = ({ title, size, color, ...props }: LightningIconProps) => {\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.452.988a.75.75 0 0 1 1.284.66L14.36 8.52l5.404 2.027a.751.751 0 0 1 .284 1.214l-10.5 11.25a.75.75 0 0 1-1.283-.66l1.374-6.874-5.403-2.026a.751.751 0 0 1-.284-1.214l10.5-11.25Zm-8.64 11.453 4.952 1.857a.75.75 0 0 1 .472.85l-.983 4.91 7.934-8.5-4.95-1.856a.75.75 0 0 1-.472-.85l.981-4.912-7.933 8.501Z\" /></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,EAAM,GAAE,mTAAoT,CAAA,CAAM"}