{"version":3,"file":"journal.mjs","names":[],"sources":["../../src/react/journal.tsx"],"sourcesContent":["import { useId, type SVGProps } from 'react';\n\nexport type JournalIconProps = 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 JournalIcon = ({ title, size, color, ...props }: JournalIconProps) => {\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=\"M7.26 3.516c-.965 0-1.747.782-1.747 1.746V20.49h7.986V5.262c0-.643.187-1.242.51-1.746h-6.75Zm9.485-1.5H7.26a3.247 3.247 0 0 0-3.246 3.246V21.99h10.985v-9.237h4.994v-7.49a3.247 3.247 0 0 0-3.247-3.246Zm0 1.5c-.964 0-1.746.782-1.746 1.746v5.99h3.493v-5.99c0-.964-.783-1.746-1.747-1.746m-4.244 6.99h-5.99v-1.5h5.99zm0 2.995h-5.99v-1.5h5.99zm-1.857 2.996H6.51v-1.5h4.134z\" clipRule=\"evenodd\" /></svg>\n  );\n};"],"mappings":";;;AAiBA,MAAa,eAAe,EAAE,OAAO,MAAM,OAAO,GAAG,YAA8B;CACjF,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;GAAkX,UAAS;GAAY,CAAA,CAAM"}