-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] RangeCell styling refactor (#18157)
* Revert package-lock.json * Setting attributes for spacer height * Correct the condition for setting maximum value * Small code refactor * Improve Accessibility in range-cell * More accessibility improvements * Small code refactor * Styling spacer refactor * Move logic to RangeCell * Keep Slider along with TextInput within RangeCell * Small cleanup * Fix missing binds * Fix focusing slider on iphoneX when VO is on * Adjust a11y voice over * Refactor RangeCell styles * Refactor pointerEvents when screen reader is on * Announce current value when finished * Small cleanup * Improve a11y * Fix a11y on iPhoneX * Refactor after CR * Update info for translators * Correct styles * Refactor texts localizing * fix allowReset prop * Patch allowReset * a11y improvements * Refactor custom button * Remove numberOfLines from cell label
- Loading branch information
1 parent
58d85bb
commit 2e42f8c
Showing
7 changed files
with
147 additions
and
51 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
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