Skip to content
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

Merged
merged 12 commits into from
Jun 30, 2023

Conversation

korvin89
Copy link
Contributor

@korvin89 korvin89 commented Jun 25, 2023

Closes #561
Closes #630

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@korvin89 korvin89 force-pushed the separate-inputs-v5 branch from 963c0a5 to f3d824b Compare June 29, 2023 11:43
@@ -25,7 +25,7 @@ export type ListProps<T = unknown> = QAProps & {
sortable?: boolean;
deactivateOnLeave?: boolean;
sortHandleAlign?: ListSortHandleAlign;
size?: TextInputSize;
size?: InputControlSize;
Copy link
Contributor

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';
Copy link
Contributor

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);
Copy link
Contributor

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

@korvin89 korvin89 force-pushed the separate-inputs-v5 branch from 1cb2610 to e41e75d Compare June 29, 2023 17:08
@korvin89 korvin89 merged commit f6478d3 into next Jun 30, 2023
@korvin89 korvin89 deleted the separate-inputs-v5 branch June 30, 2023 11:07
amje added a commit that referenced this pull request Jul 10, 2023
Co-authored-by: Andrey Morozov <amje@yandex-team.ru>
amje added a commit that referenced this pull request Jul 14, 2023
Co-authored-by: Andrey Morozov <amje@yandex-team.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants