Reafactor/UI input and displays (#1544)

* WIP

* Text field

* URL

* Finished PhoneInput

* Refactored input sub-folders

* Boolean

* Fix lint

* Fix lint

* Fix useOutsideClick

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2023-09-12 02:11:20 +02:00
committed by GitHub
parent 509ffddc57
commit a766c60aa5
90 changed files with 618 additions and 461 deletions

View File

@ -6,7 +6,7 @@ import { motion } from 'framer-motion';
import { MainButton } from '@/ui/button/components/MainButton';
import { IconBrandGoogle } from '@/ui/icon';
import { TextInput } from '@/ui/input/text/components/TextInput';
import { TextInputSettings } from '@/ui/input/text/components/TextInputSettings';
import { AnimatedEaseIn } from '@/ui/utilities/animation/components/AnimatedEaseIn';
import { Logo } from '../../components/Logo';
@ -132,7 +132,7 @@ export function SignInUpForm() {
fieldState: { error },
}) => (
<StyledInputContainer>
<TextInput
<TextInputSettings
autoFocus
value={value}
placeholder="Email"
@ -170,7 +170,7 @@ export function SignInUpForm() {
fieldState: { error },
}) => (
<StyledInputContainer>
<TextInput
<TextInputSettings
autoFocus
value={value}
type="password"