{"version":3,"file":"Checkbox.mjs","names":[],"sources":["../../../../src/components/Form/Checkbox.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes } from 'react';\n\nexport type CheckboxProps = HTMLAttributes<HTMLElement> & { checked?: boolean };\n\nexport const Checkbox = ({ checked, ...props }: CheckboxProps) => (\n  <div\n    {...props}\n    className={clsx('str-chat__checkmark str-chat__checkbox', {\n      'str-chat__checkbox--checked': checked,\n      'str-chat__checkmark--checked': checked,\n    })}\n  />\n);\n\n// fixme: remove str-chat__checkmark class with next major release v15\nexport type CheckmarkProps = CheckboxProps;\n// fixme: remove str-chat__checkmark class with next major release v15\nexport const Checkmark = Checkbox;\n"],"mappings":";;;AAKA,IAAa,YAAY,EAAE,SAAS,GAAG,YACrC,oBAAC,OAAD;CACE,GAAI;CACJ,WAAW,KAAK,0CAA0C;EACxD,+BAA+B;EAC/B,gCAAgC;CAClC,CAAC;AACF,CAAA;AAMH,IAAa,YAAY"}