@vaadin/vaadin-overlay 22.0.0-beta2 → 22.0.2

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/vaadin-overlay",
3
- "version": "22.0.0-beta2",
3
+ "version": "22.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,20 +34,20 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "22.0.0-beta2",
38
- "@vaadin/vaadin-lumo-styles": "22.0.0-beta2",
39
- "@vaadin/vaadin-material-styles": "22.0.0-beta2",
40
- "@vaadin/vaadin-themable-mixin": "22.0.0-beta2"
37
+ "@vaadin/component-base": "^22.0.2",
38
+ "@vaadin/vaadin-lumo-styles": "^22.0.2",
39
+ "@vaadin/vaadin-material-styles": "^22.0.2",
40
+ "@vaadin/vaadin-themable-mixin": "^22.0.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@esm-bundle/chai": "^4.3.4",
44
44
  "@polymer/iron-overlay-behavior": "^3.0.0",
45
- "@vaadin/button": "22.0.0-beta2",
46
- "@vaadin/radio-group": "22.0.0-beta2",
47
- "@vaadin/testing-helpers": "^0.3.0",
48
- "@vaadin/text-field": "22.0.0-beta2",
45
+ "@vaadin/button": "^22.0.2",
46
+ "@vaadin/radio-group": "^22.0.2",
47
+ "@vaadin/testing-helpers": "^0.3.2",
48
+ "@vaadin/text-field": "^22.0.2",
49
49
  "lit": "^2.0.0",
50
50
  "sinon": "^9.2.1"
51
51
  },
52
- "gitHead": "f13833683e6667f6ca6678452db14aa6b7eac4a4"
52
+ "gitHead": "df21370c4a655a38eac11f79686021ab3b0887ad"
53
53
  }
@@ -7,6 +7,7 @@ import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nod
7
7
  import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js';
8
8
  import { templatize } from '@polymer/polymer/lib/utils/templatize.js';
9
9
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
10
+ import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
10
11
  import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
11
12
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
13
  import { FocusablesHelper } from './vaadin-focusables-helper.js';
@@ -359,7 +360,7 @@ class OverlayElement extends ThemableMixin(DirMixin(PolymerElement)) {
359
360
  this._boundIronOverlayCanceledListener = this._ironOverlayCanceled.bind(this);
360
361
 
361
362
  /* c8 ignore next 3 */
362
- if (/iPad|iPhone|iPod/.test(navigator.userAgent)) {
363
+ if (isIOS) {
363
364
  this._boundIosResizeListener = () => this._detectIosNavbar();
364
365
  }
365
366
  }