-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localized-multiline-text-input): add support for isCondensed pro… (
#2793) * feat(localized-multiline-text-input): add support for isCondensed property on LocalizedMultilineTextInput * feat(localized-multiline-text-input): fix height of input when isCondensed by reducing value padding and label line height * feat(localized-multiline-text-input): turn cacheMeasurements off to allow toggling isCondensed property to affect input height immediately * feat(localized-multiline-text-input): set value of cacheMeasurements based on whether isCondensed value has been toggled * feat(localized-multiline-text-input): move cacheMeasurements to prop exposed on LocalizedMultilineTextInput * refactor(localized-multiline-text-input): use components default props * feat(localized-multiline-text-input): revert left/right padding on input back to original value and only reduce top/bottom padding when isCondensed * feat(localized-multiline-text-input): change horizontal padding to be 16px to match other inputs, regardless of isCondensed --------- Co-authored-by: Carlos Cortizas <[email protected]> Co-authored-by: Douglas Egiemeh <[email protected]>
- Loading branch information
1 parent
8bf179b
commit d72e043
Showing
9 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@commercetools-uikit/localized-multiline-text-input': minor | ||
'@commercetools-uikit/localized-text-input': minor | ||
'@commercetools-uikit/input-utils': minor | ||
--- | ||
|
||
Add support for isCondensed property on LocalizedMultilineTextInput |
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
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
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
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
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
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
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
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