chore(): sync with main

This commit is contained in:
Liam DeBeasi
2023-06-20 10:05:00 -04:00
518 changed files with 1010 additions and 465 deletions

View File

@ -116,6 +116,14 @@
Light Color Toast
</ion-button>
<ion-button
expand="block"
id="translucent-color-toast"
onclick="openToast({message: 'click to close', buttons: ['Close'], translucent: true, color: 'success'})"
>
Translucent Color Toast
</ion-button>
<ion-button
expand="block"
id="custom-class-toast"

View File

@ -95,6 +95,14 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
const { container } = await toastFixture.openToast('#translucent-toast');
await toastFixture.screenshot('translucent', screenshot, container);
});
test('should set translucency correctly when color is provided', async ({ page }) => {
const toastFixture = new ToastFixture(page);
await toastFixture.goto(config);
const { container } = await toastFixture.openToast('#translucent-color-toast');
await toastFixture.screenshot('translucent-color', screenshot, container);
});
});
/**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -30,6 +30,10 @@
background: $toast-ios-translucent-background-color;
backdrop-filter: $toast-ios-translucent-filter;
}
:host(.ion-color.toast-translucent) .toast-wrapper {
background: #{current-color(base, $toast-ios-translucent-background-color-alpha)};
}
}
.toast-wrapper.toast-top {