@vaadin/dialog 25.4.0-alpha6 → 25.4.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/dialog",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "25.4.0-
|
|
41
|
-
"@vaadin/component-base": "25.4.0-
|
|
42
|
-
"@vaadin/lit-renderer": "25.4.0-
|
|
43
|
-
"@vaadin/overlay": "25.4.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "25.4.0-
|
|
40
|
+
"@vaadin/a11y-base": "25.4.0-beta1",
|
|
41
|
+
"@vaadin/component-base": "25.4.0-beta1",
|
|
42
|
+
"@vaadin/lit-renderer": "25.4.0-beta1",
|
|
43
|
+
"@vaadin/overlay": "25.4.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-beta1",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/aura": "25.4.0-
|
|
49
|
-
"@vaadin/chai-plugins": "25.4.0-
|
|
50
|
-
"@vaadin/test-runner-commands": "25.4.0-
|
|
48
|
+
"@vaadin/aura": "25.4.0-beta1",
|
|
49
|
+
"@vaadin/chai-plugins": "25.4.0-beta1",
|
|
50
|
+
"@vaadin/test-runner-commands": "25.4.0-beta1",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "25.4.0-
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-beta1",
|
|
53
53
|
"sinon": "^22.0.0"
|
|
54
54
|
},
|
|
55
55
|
"customElements": "custom-elements.json",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ac6c5e3cf93220027ad503555de79574abb2807f"
|
|
61
61
|
}
|
|
@@ -24,6 +24,7 @@ export const dialogOverlayBase = css`
|
|
|
24
24
|
cursor: default;
|
|
25
25
|
--_overflow-indicator-height: var(--vaadin-dialog-overflow-indicator-height, 1px);
|
|
26
26
|
--_overflow-indicator-color: var(--vaadin-dialog-overflow-indicator-color, var(--vaadin-border-color-secondary));
|
|
27
|
+
--_focus-ring-space: calc(var(--vaadin-focus-ring-width, 2px) + 2px);
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
[part='overlay']:focus-visible {
|
|
@@ -68,18 +69,15 @@ export const dialogOverlayBase = css`
|
|
|
68
69
|
|
|
69
70
|
:host([theme~='no-padding']) [part='content'] {
|
|
70
71
|
padding: 0 !important;
|
|
71
|
-
margin: 0 !important;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Keep focus outlines inside the scrollable content's clipping area. */
|
|
75
75
|
:host(:is([has-header], [has-title])) [part='content'] {
|
|
76
|
-
padding-top:
|
|
77
|
-
margin-top: calc(var(--vaadin-focus-ring-width, 2px) * -1 - 2px);
|
|
76
|
+
padding-top: var(--_focus-ring-space);
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
:host([has-footer]) [part='content'] {
|
|
81
|
-
padding-bottom:
|
|
82
|
-
margin-bottom: calc(var(--vaadin-focus-ring-width, 2px) * -1 - 2px);
|
|
80
|
+
padding-bottom: var(--_focus-ring-space);
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
[part='header'] {
|
package/web-types.json
CHANGED