@vaadin/rich-text-editor 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/rich-text-editor",
3
- "version": "22.0.0-beta2",
3
+ "version": "22.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,22 +37,22 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/button": "22.0.0-beta2",
41
- "@vaadin/component-base": "22.0.0-beta2",
42
- "@vaadin/confirm-dialog": "22.0.0-beta2",
43
- "@vaadin/text-field": "22.0.0-beta2",
40
+ "@vaadin/button": "^22.0.2",
41
+ "@vaadin/component-base": "^22.0.2",
42
+ "@vaadin/confirm-dialog": "^22.0.2",
43
+ "@vaadin/text-field": "^22.0.2",
44
44
  "@vaadin/vaadin-license-checker": "^2.1.0",
45
- "@vaadin/vaadin-lumo-styles": "22.0.0-beta2",
46
- "@vaadin/vaadin-material-styles": "22.0.0-beta2",
47
- "@vaadin/vaadin-themable-mixin": "22.0.0-beta2"
45
+ "@vaadin/vaadin-lumo-styles": "^22.0.2",
46
+ "@vaadin/vaadin-material-styles": "^22.0.2",
47
+ "@vaadin/vaadin-themable-mixin": "^22.0.2"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@esm-bundle/chai": "^4.3.4",
51
- "@vaadin/testing-helpers": "^0.3.0",
51
+ "@vaadin/testing-helpers": "^0.3.2",
52
52
  "gulp": "^4.0.2",
53
53
  "gulp-cli": "^2.3.0",
54
54
  "gulp-iconfont": "^11.0.0",
55
55
  "sinon": "^9.2.1"
56
56
  },
57
- "gitHead": "f13833683e6667f6ca6678452db14aa6b7eac4a4"
57
+ "gitHead": "df21370c4a655a38eac11f79686021ab3b0887ad"
58
58
  }
@@ -12,6 +12,7 @@ import './vaadin-rich-text-editor-toolbar-styles.js';
12
12
  import { resetMouseCanceller } from '@polymer/polymer/lib/utils/gestures.js';
13
13
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
14
14
  import { timeOut } from '@vaadin/component-base/src/async.js';
15
+ import { isFirefox } from '@vaadin/component-base/src/browser-utils.js';
15
16
  import { Debouncer } from '@vaadin/component-base/src/debounce.js';
16
17
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
17
18
  import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -566,7 +567,7 @@ class RichTextEditor extends ElementMixin(ThemableMixin(PolymerElement)) {
566
567
  this.__patchKeyboard();
567
568
 
568
569
  /* istanbul ignore if */
569
- if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
570
+ if (isFirefox) {
570
571
  this.__patchFirefoxFocus();
571
572
  }
572
573