-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: add a11y for toast and improve spinner circle (#1574)
* chore: add a11y for toast and improve spinner circle * chore: fix e2e lib * chore: add snackbar a11y features * chore: adjust gap and aria-hidden to icon * fix(dropdown): hide closed menu list * update base images * chore: adjust notifications * update base images * update base images * chore: fix sass issue * update base images * update base images --------- Co-authored-by: hirsch88 <hirsch88@users.noreply.github.com>
- Loading branch information
Showing
44 changed files
with
711 additions
and
237 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,5 @@ | ||
--- | ||
'@baloise/ds-core': minor | ||
--- | ||
|
||
**toast**: improve a11y with animation, icon and size options |
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,5 @@ | ||
--- | ||
'@baloise/ds-core': minor | ||
--- | ||
|
||
**spinner**: add white options for the circle spinner |
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,5 @@ | ||
--- | ||
'@baloise/ds-core': minor | ||
--- | ||
|
||
**snackbar**: add a11y features |
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,5 @@ | ||
--- | ||
'@baloise/ds-core': minor | ||
--- | ||
|
||
**notification**: add new light variant and adjust with icons for a better a11y experience |
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,5 @@ | ||
--- | ||
'@baloise/ds-core': patch | ||
--- | ||
|
||
**dropdown**: hide collapsed menu list with the options when not open |
Binary file modified
BIN
+591 Bytes
(110%)
...ss/snapshots/base/visual/bal-notification.visual.cy.ts/notification-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+91 Bytes
(100%)
...ess/snapshots/base/visual/bal-notification.visual.cy.ts/notification-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+533 Bytes
(110%)
...ess/snapshots/base/visual/bal-notification.visual.cy.ts/notification-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+68.2 KB
(190%)
...ots/base/visual/bal-notification.visual.cy.ts/notification-variants-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60.6 KB
(190%)
...hots/base/visual/bal-notification.visual.cy.ts/notification-variants-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+66.1 KB
(190%)
...hots/base/visual/bal-notification.visual.cy.ts/notification-variants-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-100 Bytes
(99%)
...press/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-basic-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+84 Bytes
(100%)
...press/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-basic-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78 Bytes
(99%)
e2e/cypress/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19 KB
(85%)
...ss/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-variants-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15.5 KB
(88%)
...ss/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-variants-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-17.9 KB
(86%)
e2e/cypress/snapshots/base/visual/bal-snackbar.visual.cy.ts/snackbar-variants.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.15 KB
(150%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-basic-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.7 KB
(160%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-basic-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.75 KB
(160%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.79 KB
(110%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-variants-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.3 KB
(110%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-variants-tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7.45 KB
(110%)
e2e/cypress/snapshots/base/visual/bal-toast.visual.cy.ts/toast-variants.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.