@vaadin/vaadin-dialog
Advanced tools
Comparing version 2.2.0-beta1 to 2.2.0
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-dialog", | ||
"version": "2.2.0-beta1", | ||
"version": "2.2.0", | ||
"main": "vaadin-dialog.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -130,3 +130,3 @@ /** | ||
static get version() { | ||
return '2.2.0-beta1'; | ||
return '2.2.0'; | ||
} | ||
@@ -133,0 +133,0 @@ |
@@ -8,7 +8,14 @@ import '@vaadin/vaadin-lumo-styles/spacing.js'; | ||
<style include="lumo-overlay"> | ||
:host { | ||
/* Optical centering */ | ||
--_lumo-dialog-transform: translateY(calc((-100vh + 100%) / 20)); | ||
/* Optical centering */ | ||
:host::before, | ||
:host::after { | ||
content: ""; | ||
flex-basis: 0; | ||
flex-grow: 1; | ||
} | ||
:host::after { | ||
flex-grow: 1.1; | ||
} | ||
[part="overlay"] { | ||
@@ -18,3 +25,2 @@ box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-xl); | ||
outline: none; | ||
transform: var(--_lumo-dialog-transform); | ||
} | ||
@@ -40,3 +46,3 @@ | ||
opacity: 0; | ||
transform: scale(0.95) var(--_lumo-dialog-transform); | ||
transform: scale(0.95); | ||
} | ||
@@ -56,3 +62,3 @@ } | ||
opacity: 0; | ||
transform: scale(1.02) var(--_lumo-dialog-transform); | ||
transform: scale(1.02); | ||
} | ||
@@ -59,0 +65,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
333
0
27423