@vaadin/overlay 25.0.0-beta3 → 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/overlay",
3
- "version": "25.0.0-beta3",
3
+ "version": "25.0.0-beta5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,17 +33,17 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@open-wc/dedupe-mixin": "^1.3.0",
36
- "@vaadin/a11y-base": "25.0.0-beta3",
37
- "@vaadin/component-base": "25.0.0-beta3",
38
- "@vaadin/vaadin-themable-mixin": "25.0.0-beta3",
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-beta3",
43
- "@vaadin/test-runner-commands": "25.0.0-beta3",
42
+ "@vaadin/chai-plugins": "25.0.0-beta5",
43
+ "@vaadin/test-runner-commands": "25.0.0-beta5",
44
44
  "@vaadin/testing-helpers": "^2.0.0",
45
- "@vaadin/vaadin-lumo-styles": "25.0.0-beta3",
45
+ "@vaadin/vaadin-lumo-styles": "25.0.0-beta5",
46
46
  "sinon": "^21.0.0"
47
47
  },
48
- "gitHead": "4b2006b0e2f4fc131f5483223b852d34224e7b9a"
48
+ "gitHead": "ba59e1404cc4bef2dd685476247f758eb28c9922"
49
49
  }
@@ -16,8 +16,10 @@ export const overlayStyles = css`
16
16
 
17
17
  /* Default position constraints. Themes can
18
18
  override this to adjust the gap between the overlay and the viewport. */
19
- inset: var(--vaadin-overlay-viewport-inset, 8px);
20
- bottom: var(--vaadin-overlay-viewport-bottom);
19
+ inset: max(env(safe-area-inset-top, 0px), var(--vaadin-overlay-viewport-inset, 8px))
20
+ max(env(safe-area-inset-right, 0px), var(--vaadin-overlay-viewport-inset, 8px))
21
+ max(env(safe-area-inset-bottom, 0px), var(--vaadin-overlay-viewport-bottom))
22
+ max(env(safe-area-inset-left, 0px), var(--vaadin-overlay-viewport-inset, 8px));
21
23
 
22
24
  /* Override native [popover] user agent styles */
23
25
  width: auto;
@@ -77,6 +79,9 @@ export const overlayStyles = css`
77
79
  user-select: text;
78
80
  white-space: initial;
79
81
  word-spacing: initial;
82
+
83
+ /* Inherit font-family */
84
+ font-family: inherit;
80
85
  }
81
86
 
82
87
  [part='backdrop'] {