Discussion
Both Drawer and Toast have a swipeDirection prop. At the time of writing, swipeDirection supports these values: 'up', 'down', 'left', and 'right'.
Given that Base UI already offers a DirectionProvider component for implementing RTL UIs, would it make sense to support 'inline-start' and 'inline-end' values for the swipeDirection prop so users don't need to manage it themselves? We already support logical values on the side prop of Positioner parts like Popover.Positioner.
Discussion
Both Drawer and Toast have a
swipeDirectionprop. At the time of writing,swipeDirectionsupports these values:'up','down','left', and'right'.Given that Base UI already offers a DirectionProvider component for implementing RTL UIs, would it make sense to support
'inline-start'and'inline-end'values for theswipeDirectionprop so users don't need to manage it themselves? We already support logical values on thesideprop of Positioner parts likePopover.Positioner.