{"version":3,"file":"index-8IlAN3ed.js","sources":["../../Client/legacy/Components/Form/index.tsx"],"sourcesContent":["import { IButtonProps, SecondaryBlackButton, SecondaryGreenButton } from '@legacy/Components/FormGroups/Buttons';\r\nimport { ITextFormGroupProps, TextFormGroup } from '@legacy/Components/FormGroups/Text';\r\nimport { FunctionComponent } from 'react';\r\nimport './style.scss';\r\n\r\nexport const Text: FunctionComponent<ITextFormGroupProps> = props => {\r\n    return (\r\n        <TextFormGroup\r\n            {...props}\r\n            unstyled\r\n            className={`quote-form-group ${props.value.getRuleIds().includes('required') ? 'required' : ''} ${\r\n                props.className || ''\r\n            }`}\r\n        />\r\n    );\r\n};\r\n\r\nexport const PrimaryButton: FunctionComponent<IButtonProps> = props => (\r\n    <SecondaryGreenButton {...props} className={`mini-button-cp ${props.className || ''}`} />\r\n);\r\n\r\nexport const SecondaryButton: FunctionComponent<IButtonProps> = props => (\r\n    <SecondaryBlackButton {...props} className={`mini-button-cp ${props.className || ''}`} />\r\n);\r\n"],"names":["Text","props","jsx","TextFormGroup","PrimaryButton","SecondaryGreenButton","SecondaryButton","SecondaryBlackButton"],"mappings":"2HAKO,MAAMA,EAAwDC,GAE7DC,EAAA,IAACC,EAAA,CACI,GAAGF,EACJ,SAAQ,GACR,UAAW,oBAAoBA,EAAM,MAAM,WAAa,EAAA,SAAS,UAAU,EAAI,WAAa,EAAE,IAC1FA,EAAM,WAAa,EACvB,EAAA,CACJ,EAIKG,EACTH,GAAAC,MAACG,EAAsB,CAAA,GAAGJ,EAAO,UAAW,kBAAkBA,EAAM,WAAa,EAAE,EAAI,CAAA,EAG9EK,EACTL,GAAAC,MAACK,EAAsB,CAAA,GAAGN,EAAO,UAAW,kBAAkBA,EAAM,WAAa,EAAE,EAAI,CAAA"}