Repository navigation
feat(item): support dynamic type - #27989
Merged
Merged
Conversation
|
|
brandyscarney
commented
Aug 14, 2023
brandyscarney
commented
Aug 14, 2023
brandyscarney
commented
Aug 14, 2023
brandyscarney
marked this pull request as ready for review
August 14, 2023 20:29
brandyscarney
requested review from
a team and
thetaPC
and removed request for
a team
August 14, 2023 20:29
thetaPC
reviewed
Aug 14, 2023
1 of 2 tasks
mapsandapps
added a commit
that referenced
this pull request
Aug 29, 2023
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> ion-textarea does not support dynamic type ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - ion-textarea does support dynamic type ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> Mostly, dynamic type for textarea was already supported. Only the bottom-content had a static size. All other font sizes were all already relative. Note: Textareas do not currently look correct when they are in an item, because #27989 has not yet merged. Once that PR is merged, the font sizes within textareas will be relative to the item sizes, and both will scale appropriately. If preferred, I can base this PR off branch FW-4432 instead. --------- Co-authored-by: ionitron <[email protected]>
brandyscarney
requested review from
liamdebeasi and
mapsandapps
as code owners
September 1, 2023 16:37
brandyscarney
commented
Sep 1, 2023
Member
Author
There was a problem hiding this comment.
The diffs on all of these item-sliding-scale tests is expected, the item label increase causes the item to be taller which also makes the item options taller.
brandyscarney
commented
Sep 1, 2023
Member
Author
There was a problem hiding this comment.
The diffs on all of these reorder-group-scale tests is expected, the reorder group is using an item and now the label also scales with the reorder icons.
Member
Author
|
I have addressed all feedback & made updates. Screenshots have been updated. I added comments explaining why there are diffs in the 2 tests I did not change. This is ready for another review. |
mapsandapps
removed their request for review
September 5, 2023 14:14
liamdebeasi
reviewed
Sep 5, 2023
thetaPC
reviewed
Sep 5, 2023
liamdebeasi
approved these changes
Sep 6, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue number: N/A
What is the current behavior?
Items do not support dynamic type.
What is the new behavior?
font-sizeto useremunitsemunits based on their parent element font sizeI also made changes to
item-dividerin this PR because it used a shared variable withitemto set the slotted iconfont-size.Does this introduce a breaking change?
Other information