forked from vmware-archive/clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
• updated alert-actions to display link-style buttons in light and default alerts per current design • added min-width and text-decoration custom properties to buttons for internal use inside of alerts • added close button internal component • added inline buttons • hiding alert-actions inside a lightweight alert • moving icon and badge up to the base button because other button types needed them • added styles and code to support links in icon buttons • added styles and code to support links in inline buttons • added stories for links in inline buttons • added stories for links in icon buttons • added loading status to alerts • added compact alerts (specifically compact lightweight alerts) • getting close-button internal component to 100% test coverage • boosting branch coverage to over 90% • improving css-vars test coverage • added alert group element • moved alert group types and alert status type interfaces to internal • added lightweight alert group • added compact alert groups • verified close change event emits from alerts alert group • verified that alert-group status does not override custom icon shapes in alerts • verified that alerts with a loading status are not overridden by the alert-group status • created css utility functions • refactored the CssHelpers mixin to use the css utility functions • made it so that only alerts care about their children • alert-groups don't know anything about alert-actions • removing old alert-content component • removing old alert scss file • added aria and unit tests for a11y • fixed issue with sr-only elements inside of cds-icon that was revealing them in Safari • setting up app-level alert groups • removing aria-live declarations from alerts • refactoring alerts to slot cds-icons as custom icons instead of using icon-shape attr • removing old app-alert files • refactoring app-level alert group type to banner • styles for banner alerts loading status • limiting compact sizing to just default alerts • adding compact sizing to banner alerts is not possible... • ...because we do not have outline buttons that are smaller than 24px height • adding verification for app-alert pager • adding code that allows for banners to be center aligned without a pager and left aligned with a pager • adding banner alert statuses • implementing functionality that forces banner alert groups to update when their child alert's status changes • removing old app-alert styles • increased branch code coverage threshold to 90% • added tests for new layouts introduced by banner alert group pager • added `assignSlotNames` helper to centralize work of adding slot attrs in connectedCallback • fixed issue where light alert groups were not getting status color on their icons as expected • story on alert page said "link button" instead of inline button • fixed Safari width issue on alerts • fixing issue with badges inside of tags in Safari • Safari was having problems with aligning the badge across the shadowDOM • badges were unreadable in Safari; font-weight needed to be increased • fixing close button sizes corrected issues in Firefox and Safari • updated close-button for improved overrides Signed-off-by: Scott Mathis <[email protected]>
- Loading branch information
1 parent
9b6bc17
commit 8886b4f
Showing
88 changed files
with
4,154 additions
and
1,234 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
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.