Add Modal2 backdrop (#3147)

* Add Modal2 backdrop

* Release notes

* VRT

* Use HTML reported when running tests locally
This commit is contained in:
Joel Jeremy Marquez
2024-07-29 00:41:44 -07:00
committed by GitHub
parent dff9911a15
commit 2c26fa51a3
6 changed files with 10 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 190 KiB

View File

@@ -57,6 +57,9 @@ export default defineConfig({
timeout: 20000, // 20 seconds
retries: 1,
testDir: 'e2e/',
reporter: !process.env.CI
? ['html', { open: 'never', outputFolder: 'test-results/html' }]
: undefined,
use: {
userAgent: 'playwright',
screenshot: 'on',

View File

@@ -80,6 +80,7 @@ export const Modal = ({
alignItems: 'center',
justifyContent: 'center',
fontSize: 14,
backdropFilter: 'blur(1px) brightness(0.9)',
...style,
}}
{...props}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [joel-jeremy]
---
Add backdrop for Modal2 component.