{"version":3,"file":"index.js","names":["c","_c","React","FormSubmit","useTranslation","Button","baseClass","DrawerActionHeader","t0","$","cancelLabel","className","onCancel","onSave","saveLabel","title","t","t1","filter","Boolean","t2","join","t3","_jsx","children","_jsxs","buttonStyle","onClick"],"sources":["../../../src/elements/DrawerActionHeader/index.tsx"],"sourcesContent":["'use client'\n\nimport React from 'react'\n\nimport { FormSubmit } from '../../forms/Submit/index.js'\nimport { useTranslation } from '../../providers/Translation/index.js'\nimport { Button } from '../Button/index.js'\nimport './index.scss'\n\nconst baseClass = 'drawer-action-header'\n\ntype DrawerActionHeaderArgs = {\n readonly cancelLabel?: string\n className?: string\n readonly onCancel?: () => void\n readonly onSave?: () => void\n readonly saveLabel?: string\n readonly title: React.ReactNode | string\n}\nexport const DrawerActionHeader = ({\n cancelLabel,\n className,\n onCancel,\n onSave,\n saveLabel,\n title,\n}: DrawerActionHeaderArgs) => {\n const { t } = useTranslation()\n\n return (\n