Skip to content

Commit c295a08

Browse files
authored
feat(toast): add the default styles for ionic theme (#29922)
1 parent 61876a5 commit c295a08

File tree

55 files changed

+116
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+116
-11
lines changed

core/src/components/toast/test/basic/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
id="translucent-toast"
9595
onclick="openToast({message: 'click to close', buttons: ['Close'], translucent: true})"
9696
>
97-
Translucent Toast
97+
Translucent Toast (iOS theme only)
9898
</button>
9999

100100
<button
@@ -118,7 +118,7 @@
118118
id="translucent-color-toast"
119119
onclick="openToast({message: 'click to close', buttons: ['Close'], translucent: true, color: 'success'})"
120120
>
121-
Translucent Color Toast
121+
Translucent Color Toast (iOS theme only)
122122
</button>
123123

124124
<button

core/src/components/toast/test/basic/toast.e2e.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ class ToastFixture {
4444
}
4545
}
4646

47-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
47+
/**
48+
* This behavior does not vary across directions.
49+
*/
50+
configs({ modes: ['ios', 'md', 'ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
4851
test.describe(title('toast: position rendering'), () => {
4952
let toastFixture: ToastFixture;
5053
test.beforeEach(async ({ page }) => {
@@ -124,7 +127,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
124127
});
125128
});
126129

127-
configs().forEach(({ title, screenshot, config }) => {
130+
configs({ modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
128131
test.describe(title('toast: rendering'), () => {
129132
let toastFixture: ToastFixture;
130133
test.beforeEach(async ({ page }) => {
29.7 KB
41.6 KB
26.2 KB
-1.16 KB
1.8 KB
1.52 KB
-1.2 KB
1.59 KB

0 commit comments

Comments
 (0)