-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: ensure date/time segments are ordered correctly in RTL #7423
Open
yihuiliao
wants to merge
43
commits into
main
Choose a base branch
from
bidi-override
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+754
−119
Open
Changes from 32 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
bbe6191
bdo on timefield, reverse segments on timefield in datefield
yihuiliao 0716ad5
fix lint
yihuiliao 76b8d0e
make things inline
yihuiliao 47e2af5
use unicode character to wrap segments
yihuiliao ef0b637
fix test
yihuiliao b3e2f70
append unicode to text in hooks, update rac
yihuiliao 7b77f1e
Merge branch 'main' into bidi-override
yihuiliao fd5a902
add comment
yihuiliao d9b69a8
Merge branch 'main' into bidi-override
yihuiliao a9f732e
skip failing test for now
yihuiliao 8df5ad6
update keyboard nav
yihuiliao 679e355
update logic of how unicode is applied
yihuiliao bedf713
fix spacing
yihuiliao c2df442
add comments
yihuiliao 9080188
update tests
yihuiliao 2b5fb13
undo some previous changes
yihuiliao 91173c3
wrap time segments in lri, wrap fields in unicode isolate
yihuiliao 79a8da3
fix ssr test
yihuiliao b923904
fix spacing
yihuiliao ae03f3b
fix css logic
yihuiliao 2bbde19
fix lint
yihuiliao 81560bd
fix keyboard nav in rac datepicker popover
yihuiliao dad9ceb
fix lint
yihuiliao ec8fe1d
prevent overflow in date range picker
yihuiliao a863e18
Merge branch 'main' into bidi-override
yihuiliao 891dce9
move overflow hidden to separate new div to fix weird focus ring arou…
yihuiliao 4b56394
this time actually fix the overflow and focus ring issue
yihuiliao 1a9eaa9
update var names to be nicer
yihuiliao f50b4b1
fix japanese placeholder for extra space
yihuiliao e39f1ea
fix css positioning
yihuiliao 05ed94d
Merge branch 'main' into bidi-override
yihuiliao ccf7b85
fix custom width
yihuiliao b1915c2
small css changes so that rtl will format properly
yihuiliao af3ab18
memo ordering of segments for keyboard navigation
yihuiliao 50bb4df
add chromatic tests
yihuiliao 1bd410e
fix lint
yihuiliao 623219d
add tests to rsp date components
yihuiliao ccf7def
add tests to rac
yihuiliao ccce891
fix tests
yihuiliao 2e682e2
Merge branch 'main' into bidi-override
yihuiliao 6efe67f
remove comment
yihuiliao 0fdb98d
fix chromatic stories
yihuiliao ab2a67a
add chromatic story
yihuiliao 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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
added for DateRangePicker because things were looking a little funky without it. wraps around each datefield. see codepen for reproduction
i could update this so that it only applies in rtl locales but it also doesn't seem to have any affect for ltr locales.