@vaadin/notification 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/notification",
3
- "version": "22.0.0-beta2",
3
+ "version": "22.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,18 +33,18 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@polymer/polymer": "^3.0.0",
36
- "@vaadin/component-base": "22.0.0-beta2",
37
- "@vaadin/vaadin-lumo-styles": "22.0.0-beta2",
38
- "@vaadin/vaadin-material-styles": "22.0.0-beta2",
39
- "@vaadin/vaadin-themable-mixin": "22.0.0-beta2",
36
+ "@vaadin/component-base": "^22.0.2",
37
+ "@vaadin/vaadin-lumo-styles": "^22.0.2",
38
+ "@vaadin/vaadin-material-styles": "^22.0.2",
39
+ "@vaadin/vaadin-themable-mixin": "^22.0.2",
40
40
  "lit": "^2.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@esm-bundle/chai": "^4.3.4",
44
- "@vaadin/button": "22.0.0-beta2",
45
- "@vaadin/polymer-legacy-adapter": "22.0.0-beta2",
46
- "@vaadin/testing-helpers": "^0.3.0",
44
+ "@vaadin/button": "^22.0.2",
45
+ "@vaadin/polymer-legacy-adapter": "^22.0.2",
46
+ "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^9.2.1"
48
48
  },
49
- "gitHead": "f13833683e6667f6ca6678452db14aa6b7eac4a4"
49
+ "gitHead": "df21370c4a655a38eac11f79686021ab3b0887ad"
50
50
  }
@@ -6,6 +6,7 @@
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
7
  import { render } from 'lit';
8
8
  import { isTemplateResult } from 'lit/directive-helpers.js';
9
+ import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
9
10
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
11
  import { processTemplates } from '@vaadin/component-base/src/templates.js';
11
12
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -128,7 +129,7 @@ class NotificationContainer extends ThemableMixin(ElementMixin(PolymerElement))
128
129
  constructor() {
129
130
  super();
130
131
 
131
- if (/iPad|iPhone|iPod/.test(navigator.userAgent)) {
132
+ if (isIOS) {
132
133
  this._boundIosResizeListener = () => this._detectIosNavbar();
133
134
  }
134
135
  }