@vaadin/master-detail-layout 25.0.0-beta4 → 25.0.0-beta5
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/master-detail-layout",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-beta5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
"web-component"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
37
|
-
"@vaadin/component-base": "25.0.0-
|
|
38
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
36
|
+
"@vaadin/a11y-base": "25.0.0-beta5",
|
|
37
|
+
"@vaadin/component-base": "25.0.0-beta5",
|
|
38
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-beta5",
|
|
39
39
|
"lit": "^3.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
42
|
+
"@vaadin/chai-plugins": "25.0.0-beta5",
|
|
43
43
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-beta5",
|
|
45
45
|
"sinon": "^21.0.0"
|
|
46
46
|
},
|
|
47
47
|
"web-types": [
|
|
48
48
|
"web-types.json",
|
|
49
49
|
"web-types.lit.json"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "ba59e1404cc4bef2dd685476247f758eb28c9922"
|
|
52
52
|
}
|
|
@@ -16,6 +16,7 @@ export const masterDetailLayoutStyles = css`
|
|
|
16
16
|
max-width: 100%;
|
|
17
17
|
max-height: 100%;
|
|
18
18
|
position: relative; /* Keep the positioning context stable across all modes */
|
|
19
|
+
z-index: 0; /* Create a new stacking context, don't let "layout contained" detail element stack outside it */
|
|
19
20
|
overflow: hidden;
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -62,6 +63,24 @@ export const masterDetailLayoutStyles = css`
|
|
|
62
63
|
position: fixed;
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
:host(:is([drawer], [stack])[containment='viewport']) [part='detail'] {
|
|
67
|
+
padding-top: var(--safe-area-inset-top);
|
|
68
|
+
padding-bottom: var(--safe-area-inset-bottom);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([containment='viewport']:dir(ltr)) [part='detail'] {
|
|
72
|
+
padding-right: var(--safe-area-inset-right);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host([containment='viewport']:dir(rtl)) [part='detail'] {
|
|
76
|
+
padding-left: var(--safe-area-inset-left);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host([stack][containment='viewport']) [part='detail'] {
|
|
80
|
+
padding-left: var(--safe-area-inset-left);
|
|
81
|
+
padding-right: var(--safe-area-inset-right);
|
|
82
|
+
}
|
|
83
|
+
|
|
65
84
|
/* Sizing styles */
|
|
66
85
|
|
|
67
86
|
[part] {
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED