-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
__unstable-large
size variant on InputControl
SelectControl
…
… `UnitControl` (#35646) * InputControl: Increase `default` size to 40px Maintains previous size for the `small` variant. * InputControl: Flex `Suffix` for simpler alignment * AnglePickerControl: Fix degree symbol alignment There is a default marginBottom on the Spacer component that throws off the vertical alignment here. * BoxControl: Default to `small` inputs The `small` variant is now more appropriate in this use case. * ColorPicker: Remove adhoc height * ColorPicker: Widen controls to work on mobile To prevent unnecessary truncation in mobile-width viewports when the font size gets bigger. * SelectControl: Increase `default` size to 40px Maintains previous size for the `small` variant. * CustomGradientPicker: Remove adhoc height * UnitControl: Align units - Simplifies unit alignment across sizes - Fixes paddings for disableUnits * RangeControl: Increase height to 40px * RangeControl: Widen input to allow 3 digits Compensates for wider padding on InputControl * Add changelog entry * Revert "RangeControl: Widen input to allow 3 digits" This reverts commit eb0cc2d. * InputControl: Extract style changes to `unstable-large` variant * Revert "RangeControl: Increase height to 40px" This reverts commit a05caf7. * Revert "BoxControl: Default to `small` inputs" This reverts commit 54b3920. * SelectControl: Add `__unstable-large` variant * UnitControl: Add `__unstable-large` variant * AnglePickerControl: Set to `__unstable-large` * CustomGradientPicker: Set to `__unstable-large` * RangeControl: Tweak specificity to work as before * Revert "ColorPicker: Remove adhoc height" This reverts commit 0608091. * Revert "ColorPicker: Widen controls to work on mobile" This reverts commit f5c81c1. * Update changelog * InputControl: Revert default height back to 30px * Revert "RangeControl: Tweak specificity to work as before" This reverts commit b5974d4.
- Loading branch information
Showing
13 changed files
with
108 additions
and
63 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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
export type Size = 'default' | 'small'; | ||
export type Size = 'default' | 'small' | '__unstable-large'; |
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