@vaadin/field-base 23.0.0-beta3 → 23.0.0-rc1
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 +3 -3
- package/src/input-control-mixin.js +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/field-base",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-rc1",
|
|
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.0.0-
|
|
35
|
+
"@vaadin/component-base": "23.0.0-rc1",
|
|
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": "^9.2.1"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d241fd5b3627efd671e6db25f33f2e69795011d3"
|
|
44
44
|
}
|
|
@@ -170,4 +170,17 @@ export const InputControlMixin = (superclass) =>
|
|
|
170
170
|
this.inputElement.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
171
171
|
this.inputElement.dispatchEvent(new Event('change', { bubbles: true }));
|
|
172
172
|
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Fired when the user commits a value change.
|
|
176
|
+
*
|
|
177
|
+
* @event change
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Fired when the value is changed by the user: on every typing keystroke,
|
|
182
|
+
* and the value is cleared using the clear button.
|
|
183
|
+
*
|
|
184
|
+
* @event input
|
|
185
|
+
*/
|
|
173
186
|
};
|