Merged in feat/SW-3655-input-component (pull request #3296)
feat: (SW-3655) new Input and FormInput components * First version new Input and FormInput components * Handle aria-describedby with react-aria instead of manually add it * Update breaking unit and stories tests * Merge branch 'master' into feat/SW-3655-input-component * Update example form * Merge branch 'master' into feat/SW-3655-input-component * New lock file Approved-by: Linus Flood
This commit is contained in:
@@ -16,8 +16,8 @@ import {
|
||||
|
||||
import { ErrorMessage } from '../ErrorMessage'
|
||||
import { MaterialIcon } from '../../Icons/MaterialIcon'
|
||||
import { Input } from '../../Input'
|
||||
import { Label } from '../../Label'
|
||||
import { Input } from '../../InputNew'
|
||||
import { InputLabel } from '../../InputLabel'
|
||||
|
||||
import styles from './phone.module.css'
|
||||
|
||||
@@ -100,13 +100,13 @@ export default function Phone({
|
||||
type="button"
|
||||
data-testid="country-selector"
|
||||
>
|
||||
<Label
|
||||
<InputLabel
|
||||
required={!!registerOptions.required}
|
||||
size="small"
|
||||
disabled={disabled}
|
||||
>
|
||||
{countryLabel}
|
||||
</Label>
|
||||
</InputLabel>
|
||||
<span className={styles.selectContainer}>
|
||||
{props.children}
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
|
||||
Reference in New Issue
Block a user