react-spectrum
e228ed81 - fix: correctly format date/time in RTL (#7423)

Commit
285 days ago
fix: correctly format date/time in RTL (#7423) * bdo on timefield, reverse segments on timefield in datefield * fix lint * make things inline * use unicode character to wrap segments * fix test * append unicode to text in hooks, update rac * add comment * skip failing test for now * update keyboard nav * update logic of how unicode is applied * fix spacing * add comments * update tests * undo some previous changes * wrap time segments in lri, wrap fields in unicode isolate * fix ssr test * fix spacing * fix css logic * fix lint * fix keyboard nav in rac datepicker popover * fix lint * prevent overflow in date range picker * move overflow hidden to separate new div to fix weird focus ring around the button * this time actually fix the overflow and focus ring issue * update var names to be nicer * fix japanese placeholder for extra space * fix css positioning * fix custom width * small css changes so that rtl will format properly * memo ordering of segments for keyboard navigation * add chromatic tests * fix lint * add tests to rsp date components * add tests to rac * fix tests * remove comment * fix chromatic stories * add chromatic story * remove style tests * fix lint * update to uselayouteffect and update keyboard nav test * make date input more consistent with using display inline * update timefield docs css to use display inline * fix showFormatHelpText * small change * fix lint * add divs to keyboard navigation so it works with older versions * fix lint + fix tests
Author
Parents
Loading