-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[RNMobile] RangeCell styling refactor #18157
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5f3a400
Revert package-lock.json
lukewalczak 25832f0
Merge branch 'master' into rnmobile/spacer
lukewalczak 335154d
Setting attributes for spacer height
lukewalczak d137d38
Correct the condition for setting maximum value
lukewalczak 8d37161
Merge branch 'master' into rnmobile/spacer
lukewalczak ae5715f
Small code refactor
lukewalczak a1cf07b
Improve Accessibility in range-cell
lukewalczak f0b3b28
Merge branch 'master' into rnmobile/spacer
lukewalczak a807c31
More accessibility improvements
lukewalczak ca3b8d4
Small code refactor
lukewalczak a390d88
Styling spacer refactor
lukewalczak 90fe027
Move logic to RangeCell
lukewalczak a1d9a10
Keep Slider along with TextInput within RangeCell
lukewalczak 833cc76
Small cleanup
lukewalczak 103493e
Merge branch 'master' into rnmobile/spacer
lukewalczak 74d020a
Fix missing binds
lukewalczak 8c127b9
Fix focusing slider on iphoneX when VO is on
lukewalczak 84ade89
Adjust a11y voice over
lukewalczak 11e0911
Refactor RangeCell styles
lukewalczak 1debc8c
Refactor pointerEvents when screen reader is on
lukewalczak 4a897fd
Announce current value when finished
lukewalczak 80a4714
Merge branch 'rnmobile/spacer' into rnmobile/rangecell-styling
lukewalczak 047a08e
Small cleanup
lukewalczak 7ee822e
Improve a11y
lukewalczak 6d4dde4
Merge branch 'rnmobile/spacer' into rnmobile/rangecell-styling
lukewalczak 014cd20
Fix a11y on iPhoneX
lukewalczak 9f28b60
Merge branch 'rnmobile/spacer' into rnmobile/rangecell-styling
lukewalczak 2e5c346
Refactor after CR
lukewalczak 2d643c0
Update info for translators
lukewalczak f66a118
Merge branch 'rnmobile/spacer' into rnmobile/rangecell-styling
lukewalczak 80104f1
Correct styles
lukewalczak 93b7d58
Merge branch 'master' into rnmobile/rangecell-styling
lukewalczak 26e7939
Refactor texts localizing
lukewalczak d321afd
merge master
jbinda b9c2b64
fix allowReset prop
jbinda cf85c25
Patch allowReset
lukewalczak 500d414
a11y improvements
lukewalczak 5d89738
Refactor custom button
lukewalczak 7cd2f4f
Remove numberOfLines from cell label
lukewalczak ac07efa
Merge branch 'master' into rnmobile/rangecell-styling
lukewalczak 135c4eb
Merge branch 'master' into rnmobile/rangecell-styling
lukewalczak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
8 changes: 8 additions & 0 deletions
8
packages/components/src/mobile/bottom-sheet/borderStyles.android.scss
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,8 @@ | ||
.borderStyle { | ||
border-bottom-width: 1px; | ||
} | ||
|
||
.isSelected { | ||
border-bottom-width: 2px; | ||
border-color: $blue-wordpress; | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/components/src/mobile/bottom-sheet/borderStyles.ios.scss
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,9 @@ | ||
.isSelected { | ||
border-width: 2px; | ||
border-color: $blue-wordpress; | ||
} | ||
|
||
.borderStyle { | ||
border-width: 1px; | ||
border-radius: 4px; | ||
} |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I think that it's worth to save that info in redux store, because it can be useful in the future to control other components 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does sound like it would be helpful! But maybe it's too much for this PR.