{"version":3,"file":"notification.mjs","names":[],"sources":["../../src/react/notification.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type NotificationIconProps = 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 NotificationIcon = ({ title, size, color, ...props }: NotificationIconProps) => {\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=\"M15.746 10.13a3.744 3.744 0 0 0-7.487 0v3.994a3.23 3.23 0 0 1-.511 1.747h8.509a3.23 3.23 0 0 1-.51-1.747V10.13Zm1.5 3.994c0 .964.783 1.747 1.746 1.747v1.5H5.012v-1.5c.964 0 1.747-.783 1.747-1.747V10.13a5.244 5.244 0 0 1 10.487 0z\" /><path d=\"M13.376 17.744a1.372 1.372 0 1 1-2.162-1.123h1.578c.354.25.584.659.584 1.123M12.002 5.886a1 1 0 0 1-.998-.998c0-.55.45-.999.998-.999.55 0 .999.45.999.999 0 .55-.45.998-.999.998\" /></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;GAAqO,QAAQ,oBAAC,SAAD;IAAO,IAAI;cAAU;IAAc,CAAA,GAAG;GAAK,oBAAC,QAAD,EAAM,GAAE,yOAA0O,CAAA;uBAAC,QAAD,EAAM,GAAE,oLAAqL,CAAA;GAAM"}