-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STCOM-1334 Refactor Modals to not use react-overlays. (#2341)
* use the focus-trap dependency * refactor modal to not use react-overlays * tweak react-comment to keep eslint happy * add utility export for OverlayContainer string * account for overlay components with usePortal prop in focus management of Modals * implement screen-reader trapping * Modal - refactor getA11yLabel for more surgical precision, document implementation * clean up some sonarcloud issues * add tests for use AssistiveTechTrap * add refresh method to useOverlayContainer * progress * default container to document body * remove black outline from dialog element * more focus trapping, inert logic to mount functionality/inner wrapping component. * remove unused consts from Modal tests * remove unused useEffect * alphabetize proptypes * add yarn.lock * really add yarn lock * Update CHANGELOG.md * Update CHANGELOG.md
- Loading branch information
Showing
16 changed files
with
17,239 additions
and
169 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ artifacts | |
/storybook-static/ | ||
.vscode | ||
.idea | ||
yarn.lock |
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.