-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modal): backported slots version from 7.0 (#413)
* feat(modal): backported slots, non-breaking change * chore: comments cleanup * refactor(modal): removed clicktoclose * refactor(modal): added new ruxmodalopened event, refactored how closed event fires * docs(modal): updated modal story * revert(button): changed back button focus styling * refactor(modal): moved the auto-focus functionality to didRender * docs(modal): updated docs on focusing * revert(button): focus styling * build: stencil build, also refactored the handleModalChoice func * docs(modal): updated open close section * test(modal): added snapshot * style(modal): udpaetd footer and message padding * chore(modal): comment cleanup * docs: changeset * test(modal): updated e2e * refactor(modal): refac footer, added slot listeners * refactor(modal): message no longer conditional * test(modal): added changing slot tests * build: stencil build * style(modal): removed unused style
- Loading branch information
1 parent
dbc00d1
commit 7fba14e
Showing
12 changed files
with
509 additions
and
62 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@astrouxds/angular": minor | ||
"@astrouxds/astro-web-components": minor | ||
"astro-website": minor | ||
"@astrouxds/react": minor | ||
--- | ||
|
||
Modal - Added in slots for message, title and footer to allow for more customization. |
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
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.