-
Notifications
You must be signed in to change notification settings - Fork 68
LG-4952: Updates Modal component to use dialog element #2579
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
Open
bruugey
wants to merge
40
commits into
main
Choose a base branch
from
brooke/modal-updates
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.
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
01353ba
WIP
bruugey 84b68db
Modal migration
bruugey 6bed50e
with changesets and removing deps
bruugey 49b4479
lints
bruugey 46bfa16
with docs
bruugey ef96bd0
fix docs
bruugey dea1576
Merge branch 'main' into brooke/modal-updates
bruugey 554012a
Merge branch 'main' into brooke/modal-updates
bruugey fbbcd03
runs fix
bruugey 3a456a5
Merge remote-tracking branch 'origin' into brooke/modal-updates
bruugey ea44dad
Merge branch 'brooke/modal-updates' of github.com:mongodb/leafygreen-…
bruugey ebdccd7
Merge branch 'main' into brooke/modal-updates
bruugey d745726
WIP
bruugey 60500f6
Merge remote-tracking branch 'origin' into brooke/modal-updates
bruugey bb78e5a
bring to latest
bruugey 34b03b1
update pnpm lock
bruugey 2c5eb46
update validate/build
bruugey 1f45e50
Delete yarn.lock
bruugey da9e572
update id
bruugey cb6aaa3
Merge branch 'brooke/modal-updates' of github.com:mongodb/leafygreen-…
bruugey 044e9df
Merge remote-tracking branch 'origin' into brooke/modal-updates
bruugey 078576c
update
bruugey bab4129
Update packages/modal/README.md
bruugey a82531a
responding to PR feedback
bruugey d0bee20
responding to more PR feedback
bruugey c5aad57
with upgrade.md
bruugey 59c46e2
Update packages/modal/src/Modal/Modal.tsx
bruugey 0ff3c17
Update packages/modal/src/Modal/Modal.styles.ts
bruugey 3306e4d
rm unnecc breakpoints
bruugey 4427ddc
runs fix
bruugey 85b8632
Merge remote-tracking branch 'origin' into brooke/modal-updates
bruugey 6e9fab7
Merge remote-tracking branch 'origin' into brooke/modal-updates
bruugey 7f23dfa
should fix confirmation modal styles
bruugey cce69e7
should fix marketing moadl too
bruugey f166348
merged
bruugey b39f9d6
fix chromatic
bruugey d70631f
Merge branch 'main' of github.com:mongodb/leafygreen-ui into brooke/m…
bruugey 20c96e9
responding to PR feedback part one
bruugey 2901037
rm variant decl
bruugey e59a668
attempt to fix visible bug
bruugey 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@leafygreen-ui/confirmation-modal': major | ||
'@leafygreen-ui/marketing-modal': major | ||
'@leafygreen-ui/modal': major | ||
--- | ||
|
||
Upgrades components to use the native `dialog` HTML element. This means we no longer have to handle focus trapping ourselves, and can rely on the browser to do that for us. The API for all modal components is not changing, but the DOM structure of the Modal components themselves have changed drastically, as well as where they are placed within the DOM itself. | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.