{"version":3,"file":"password-hide.mjs","names":[],"sources":["../../src/react/password-hide.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type PasswordHideIconProps = 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 PasswordHideIcon = ({ title, size, color, ...props }: PasswordHideIconProps) => {\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=\"M21.769 9.038a14.38 14.38 0 0 1-4.06 2.867l1.939 1.939-1.061 1.06-2.396-2.395c-1.122.371-2.278.59-3.439.655v3.397h-1.5v-3.398a13.38 13.38 0 0 1-3.532-.686l-2.427 2.427-1.06-1.06 1.977-1.979a14.39 14.39 0 0 1-3.975-2.827l1.06-1.06c4.945 4.944 12.469 4.944 17.413 0l1.06 1.06Z\" /></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,EAAM,GAAE,sRAAuR,CAAA,CAAM"}