-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Feature] Textarea adjustments #413
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are removed as the internal components are now doing the same
- Remove duplicate test for optionalText - Use idGenerator as it was before. Need to rebase to have the new AutoId for id.
ketsappi
added
bug
Something isn't working
enhancement
New feature or request
DX
Refactoring for maintainability
labels
Nov 27, 2020
Remove status text style to change color on error, as it will become automatically from StatusText component
ketsappi
commented
Nov 30, 2020
ketsappi
commented
Nov 30, 2020
ketsappi
commented
Nov 30, 2020
ketsappi
commented
Nov 30, 2020
Resize prop is used only on the baseStyles, so that is the reason why it is not used when it is destructured from props.
LJKaski
previously approved these changes
Dec 1, 2020
Able to use the same in existing and new places
Able to e.g to give custom style to container and specify fixed width.
ketsappi
commented
Dec 1, 2020
ketsappi
commented
Dec 1, 2020
aappoalander
reviewed
Dec 1, 2020
aappoalander
reviewed
Dec 7, 2020
Add undefined in the middle to ensure that no extra space/whitespace is added between.
aappoalander
reviewed
Dec 7, 2020
aappoalander
reviewed
Dec 7, 2020
aappoalander
reviewed
Dec 7, 2020
aappoalander
reviewed
Dec 7, 2020
Used in test and example of the use case. Changed to be consistent with the style with existing places; TextInput and SearchInput
aappoalander
approved these changes
Dec 7, 2020
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Textarea
aria-describedby
fullWidth
propcontainerProps
propplaceholder
attribute tone omitted as we have thevisualPlaceholder
prop for this.Other
suomifi-ui-components/src/core/theme/colors.ts
getAriaDescribedByProp
helper tosrc/utils/aria.ts
src/components/utils/aria.ts
level tosrc/utils/aria.ts
Motivation and Context
To better work with SSR setup and to increase developer experience by removing duplicate code (by using internal components)
How Has This Been Tested?
Release notes
labelText
,hintText
andstatusText
aria-describedby
on TextareafullWidth
andcontainerProps
props for Textarea