@vaadin/field-base 23.1.0-beta1 → 23.1.0-beta2

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/field-base",
3
- "version": "23.1.0-beta1",
3
+ "version": "23.1.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@open-wc/dedupe-mixin": "^1.3.0",
34
34
  "@polymer/polymer": "^3.0.0",
35
- "@vaadin/component-base": "23.1.0-beta1",
35
+ "@vaadin/component-base": "23.1.0-beta2",
36
36
  "lit": "^2.0.0"
37
37
  },
38
38
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "@vaadin/testing-helpers": "^0.3.2",
41
41
  "sinon": "^13.0.2"
42
42
  },
43
- "gitHead": "8be43cf83102a6b9ccf309687446e590ce0164e8"
43
+ "gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
44
44
  }
@@ -140,7 +140,7 @@ export class FieldAriaController {
140
140
  }
141
141
 
142
142
  if (!this.__isGroupField) {
143
- // native <input> or <textarea>, required is enough
143
+ // Native <input> or <textarea>, required is enough
144
144
  return;
145
145
  }
146
146
 
@@ -198,8 +198,8 @@ export const InputFieldMixin = (superclass) =>
198
198
  return (
199
199
  event.metaKey ||
200
200
  event.ctrlKey ||
201
- !event.key || // allow typing anything if event.key is not supported
202
- event.key.length !== 1 || // allow "Backspace", "ArrowLeft" etc.
201
+ !event.key || // Allow typing anything if event.key is not supported
202
+ event.key.length !== 1 || // Allow "Backspace", "ArrowLeft" etc.
203
203
  this.__enabledCharRegExp.test(event.key)
204
204
  );
205
205
  }
@@ -50,7 +50,7 @@ export const PatternMixin = (superclass) =>
50
50
  const input = this.inputElement;
51
51
  if (input && input.value.length > 0 && !this.checkValidity()) {
52
52
  input.value = this.value || '';
53
- // add input-prevented attribute for 200ms
53
+ // Add input-prevented attribute for 200ms
54
54
  this.setAttribute('input-prevented', '');
55
55
  this._inputDebouncer = Debouncer.debounce(this._inputDebouncer, timeOut.after(200), () => {
56
56
  this.removeAttribute('input-prevented');