@everymatrix/general-input 1.27.6 → 1.27.8

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.
@@ -1,4 +1,4 @@
1
- import { n as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
1
+ import { m as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
2
2
 
3
3
  /**
4
4
  @license
@@ -77,7 +77,7 @@ function PASSIVE_TOUCH(eventName) {
77
77
  }
78
78
 
79
79
  // Check for touch-only devices
80
- const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);
80
+ const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u);
81
81
 
82
82
  // Defined at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
83
83
  /** @type {!Object<boolean>} */
@@ -406,9 +406,9 @@ function _add(node, evType, handler) {
406
406
  */
407
407
  function register(recog) {
408
408
  recognizers.push(recog);
409
- for (let i = 0; i < recog.emits.length; i++) {
410
- gestures[recog.emits[i]] = recog;
411
- }
409
+ recog.emits.forEach((emit) => {
410
+ gestures[emit] = recog;
411
+ });
412
412
  }
413
413
 
414
414
  /**
@@ -870,7 +870,7 @@ function trackForward(info, e, preventer) {
870
870
 
871
871
  /**
872
872
  * @license
873
- * Copyright (c) 2021 - 2022 Vaadin Ltd.
873
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
874
874
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
875
875
  */
876
876