@vaadin/custom-field 25.0.0-alpha17 → 25.0.0-alpha19

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/custom-field",
3
- "version": "25.0.0-alpha17",
3
+ "version": "25.0.0-alpha19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,32 +34,32 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-alpha17",
38
- "@vaadin/component-base": "25.0.0-alpha17",
39
- "@vaadin/field-base": "25.0.0-alpha17",
40
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha17",
37
+ "@vaadin/a11y-base": "25.0.0-alpha19",
38
+ "@vaadin/component-base": "25.0.0-alpha19",
39
+ "@vaadin/field-base": "25.0.0-alpha19",
40
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha19",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/chai-plugins": "25.0.0-alpha17",
45
- "@vaadin/combo-box": "25.0.0-alpha17",
46
- "@vaadin/date-picker": "25.0.0-alpha17",
47
- "@vaadin/email-field": "25.0.0-alpha17",
48
- "@vaadin/form-layout": "25.0.0-alpha17",
49
- "@vaadin/number-field": "25.0.0-alpha17",
50
- "@vaadin/password-field": "25.0.0-alpha17",
51
- "@vaadin/select": "25.0.0-alpha17",
52
- "@vaadin/test-runner-commands": "25.0.0-alpha17",
44
+ "@vaadin/chai-plugins": "25.0.0-alpha19",
45
+ "@vaadin/combo-box": "25.0.0-alpha19",
46
+ "@vaadin/date-picker": "25.0.0-alpha19",
47
+ "@vaadin/email-field": "25.0.0-alpha19",
48
+ "@vaadin/form-layout": "25.0.0-alpha19",
49
+ "@vaadin/number-field": "25.0.0-alpha19",
50
+ "@vaadin/password-field": "25.0.0-alpha19",
51
+ "@vaadin/select": "25.0.0-alpha19",
52
+ "@vaadin/test-runner-commands": "25.0.0-alpha19",
53
53
  "@vaadin/testing-helpers": "^2.0.0",
54
- "@vaadin/text-area": "25.0.0-alpha17",
55
- "@vaadin/text-field": "25.0.0-alpha17",
56
- "@vaadin/time-picker": "25.0.0-alpha17",
57
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha17",
54
+ "@vaadin/text-area": "25.0.0-alpha19",
55
+ "@vaadin/text-field": "25.0.0-alpha19",
56
+ "@vaadin/time-picker": "25.0.0-alpha19",
57
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha19",
58
58
  "sinon": "^21.0.0"
59
59
  },
60
60
  "web-types": [
61
61
  "web-types.json",
62
62
  "web-types.lit.json"
63
63
  ],
64
- "gitHead": "8264c71309907be99368b09414f0f8d7f591e0b9"
64
+ "gitHead": "1f9af1ce5f0bae8daff044176c8a8df697763881"
65
65
  }
@@ -144,10 +144,14 @@ export const CustomFieldMixin = (superClass) =>
144
144
  });
145
145
  }
146
146
 
147
- /** @protected */
148
- focus() {
147
+ /**
148
+ * @param {FocusOptions=} options
149
+ * @protected
150
+ * @override
151
+ */
152
+ focus(options) {
149
153
  if (this.inputs && this.inputs[0]) {
150
- this.inputs[0].focus();
154
+ this.inputs[0].focus(options);
151
155
  }
152
156
  }
153
157
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/custom-field",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha19",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -111,7 +111,7 @@
111
111
  },
112
112
  {
113
113
  "name": "value",
114
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
114
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
115
115
  "value": {
116
116
  "type": [
117
117
  "string",
@@ -235,7 +235,7 @@
235
235
  },
236
236
  {
237
237
  "name": "value",
238
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
238
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
239
239
  "value": {
240
240
  "type": [
241
241
  "string",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/custom-field",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha19",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -84,7 +84,7 @@
84
84
  },
85
85
  {
86
86
  "name": ".value",
87
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha17/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
87
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha19/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
88
88
  "value": {
89
89
  "kind": "expression"
90
90
  }