-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(TextInput)!: separate into 2 components TextInput & TextArea #764
Conversation
Preview is ready. |
src/components/controls/utility-components/ClearButton/ClearButton.scss
Outdated
Show resolved
Hide resolved
src/components/controls/utility-components/ClearButton/ClearButton.tsx
Outdated
Show resolved
Hide resolved
963c0a5
to
f3d824b
Compare
src/components/List/types.ts
Outdated
@@ -25,7 +25,7 @@ export type ListProps<T = unknown> = QAProps & { | |||
sortable?: boolean; | |||
deactivateOnLeave?: boolean; | |||
sortHandleAlign?: ListSortHandleAlign; | |||
size?: TextInputSize; | |||
size?: InputControlSize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it uses only TextInput, then it should use that specific type
@@ -1,6 +1,6 @@ | |||
import userEvent from '@testing-library/user-event'; | |||
|
|||
import type {TextInputSize} from '../../TextInput'; | |||
import type {InputControlSize} from '../../controls'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
width: 100%; | ||
font-weight: normal; | ||
font-family: var(--yc-text-body-font-family); | ||
color: var(--yc-color-text-primary); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use new --g-*
vars
1cb2610
to
e41e75d
Compare
Co-authored-by: Andrey Morozov <amje@yandex-team.ru>
Co-authored-by: Andrey Morozov <amje@yandex-team.ru>
Closes #561
Closes #630