-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat(modal): inline-loading, initial focus, and parity with react #21074
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21074 +/- ##
==========================================
- Coverage 92.62% 92.50% -0.12%
==========================================
Files 515 515
Lines 38222 38510 +288
Branches 5861 5826 -35
==========================================
+ Hits 35403 35625 +222
- Misses 2669 2736 +67
+ Partials 150 149 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Closes #19706
Closes #20734
Closes #20936
Updated focus management logic/styles, added features, and controls to all stories (in both versions) for Modal.
Changelog
New
cds-modal-bodyhas-scrolling-contentor if the modal-body is scrollableautoAlignactivatedloading-status,loading-description,loading-success-delay, andloading-icon-descriptioninactive, acds-inline-loadingelement will render in the modal-footer with the specified attributes for the description, success delay, etc.cds-modal-on-loadingsuccesswhen the loading-status isfinishedcds-modal-label, providedaria-label, andcds-modal-heading.cds-modal-label>aria-label>cds-modal-headingaria-labelupdatingdata-modal-primary-focuswill take precedence over all of the above casesChanged
cds-icon-buttoninstead of the native button and added the respective styling fixes and tweaksTesting / Reviewing
PR Checklist
As the author of this PR, before marking ready for review, confirm you:
[ ] Wrote passing tests that cover this change