Overlay Drawer component
Changes proposed in this pull request:
- Adds an
OverlayDrawercomponent
How to test
- Spin up a local server (a CF Token is not needed)
- Navigate to
/prototype/tables - Click the "open dialog" button in the top left corner
Notes
- Focus trapping is being handled natively by the element, so the trapping behavior is a bit different than our current USWDS modal in that it extends focus to browser buttons.
Screenshots
Open drawer:
Mobile:
Related issues
Part of #468 (closed)
Submitter checklist
-
Added logging is not capturing sensitive data and is set to an appropriate level (DEBUG vs INFO etc) -
Updated relevant documentation (README, ADRs, explainers, diagrams)
Security considerations
None, UI element only