@vaadin/custom-field 24.2.0-alpha8 → 24.2.0-alpha9
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 +19 -19
- package/src/vaadin-custom-field.d.ts +8 -0
- package/src/vaadin-custom-field.js +1 -0
- package/web-types.json +3 -3
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/custom-field",
|
|
3
|
-
"version": "24.2.0-
|
|
3
|
+
"version": "24.2.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,31 +38,31 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/a11y-base": "24.2.0-
|
|
42
|
-
"@vaadin/component-base": "24.2.0-
|
|
43
|
-
"@vaadin/field-base": "24.2.0-
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
45
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
41
|
+
"@vaadin/a11y-base": "24.2.0-alpha9",
|
|
42
|
+
"@vaadin/component-base": "24.2.0-alpha9",
|
|
43
|
+
"@vaadin/field-base": "24.2.0-alpha9",
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
|
|
45
|
+
"@vaadin/vaadin-material-styles": "24.2.0-alpha9",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-alpha9"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
50
|
-
"@vaadin/combo-box": "24.2.0-
|
|
51
|
-
"@vaadin/date-picker": "24.2.0-
|
|
52
|
-
"@vaadin/email-field": "24.2.0-
|
|
53
|
-
"@vaadin/form-layout": "24.2.0-
|
|
54
|
-
"@vaadin/number-field": "24.2.0-
|
|
55
|
-
"@vaadin/password-field": "24.2.0-
|
|
56
|
-
"@vaadin/select": "24.2.0-
|
|
57
|
-
"@vaadin/testing-helpers": "^0.
|
|
58
|
-
"@vaadin/text-area": "24.2.0-
|
|
59
|
-
"@vaadin/text-field": "24.2.0-
|
|
60
|
-
"@vaadin/time-picker": "24.2.0-
|
|
50
|
+
"@vaadin/combo-box": "24.2.0-alpha9",
|
|
51
|
+
"@vaadin/date-picker": "24.2.0-alpha9",
|
|
52
|
+
"@vaadin/email-field": "24.2.0-alpha9",
|
|
53
|
+
"@vaadin/form-layout": "24.2.0-alpha9",
|
|
54
|
+
"@vaadin/number-field": "24.2.0-alpha9",
|
|
55
|
+
"@vaadin/password-field": "24.2.0-alpha9",
|
|
56
|
+
"@vaadin/select": "24.2.0-alpha9",
|
|
57
|
+
"@vaadin/testing-helpers": "^0.5.0",
|
|
58
|
+
"@vaadin/text-area": "24.2.0-alpha9",
|
|
59
|
+
"@vaadin/text-field": "24.2.0-alpha9",
|
|
60
|
+
"@vaadin/time-picker": "24.2.0-alpha9",
|
|
61
61
|
"sinon": "^13.0.2"
|
|
62
62
|
},
|
|
63
63
|
"web-types": [
|
|
64
64
|
"web-types.json",
|
|
65
65
|
"web-types.lit.json"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "e9765733fea96542e379e02e6f42b07145893140"
|
|
68
68
|
}
|
|
@@ -16,6 +16,11 @@ export type CustomFieldChangeEvent = Event & {
|
|
|
16
16
|
target: CustomField;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Fired when the `dirty` property changes.
|
|
21
|
+
*/
|
|
22
|
+
export type CustomFieldDirtyChangedEvent = CustomEvent<{ value: boolean }>;
|
|
23
|
+
|
|
19
24
|
/**
|
|
20
25
|
* Fired when the `invalid` property changes.
|
|
21
26
|
*/
|
|
@@ -39,6 +44,8 @@ export type CustomFieldInternalTabEvent = Event & {
|
|
|
39
44
|
};
|
|
40
45
|
|
|
41
46
|
export interface CustomFieldCustomEventMap {
|
|
47
|
+
'dirty-changed': CustomFieldDirtyChangedEvent;
|
|
48
|
+
|
|
42
49
|
'invalid-changed': CustomFieldInvalidChangedEvent;
|
|
43
50
|
|
|
44
51
|
'value-changed': CustomFieldValueChangedEvent;
|
|
@@ -91,6 +98,7 @@ export interface CustomFieldEventMap extends HTMLElementEventMap, CustomFieldCus
|
|
|
91
98
|
*
|
|
92
99
|
* @fires {Event} change - Fired when the user commits a value change for any of the internal inputs.
|
|
93
100
|
* @fires {Event} internal-tab - Fired on Tab keydown triggered from the internal inputs, meaning focus will not leave the inputs.
|
|
101
|
+
* @fires {CustomEvent} dirty-changed - Fired when the `dirty` property changes.
|
|
94
102
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
95
103
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
96
104
|
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
@@ -50,6 +50,7 @@ registerStyles('vaadin-custom-field', customFieldStyles, { moduleId: 'vaadin-cus
|
|
|
50
50
|
*
|
|
51
51
|
* @fires {Event} change - Fired when the user commits a value change for any of the internal inputs.
|
|
52
52
|
* @fires {Event} internal-tab - Fired on Tab keydown triggered from the internal inputs, meaning focus will not leave the inputs.
|
|
53
|
+
* @fires {CustomEvent} dirty-changed - Fired when the `dirty` property changes.
|
|
53
54
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
54
55
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
55
56
|
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
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": "24.2.0-
|
|
4
|
+
"version": "24.2.0-alpha9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"name": "value",
|
|
103
|
-
"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/24.2.0-
|
|
103
|
+
"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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
|
|
104
104
|
"value": {
|
|
105
105
|
"type": [
|
|
106
106
|
"string",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"name": "value",
|
|
227
|
-
"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/24.2.0-
|
|
227
|
+
"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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
|
|
228
228
|
"value": {
|
|
229
229
|
"type": [
|
|
230
230
|
"string",
|
package/web-types.lit.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": "24.2.0-
|
|
4
|
+
"version": "24.2.0-alpha9",
|
|
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/24.2.0-
|
|
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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
|
|
88
88
|
"value": {
|
|
89
89
|
"kind": "expression"
|
|
90
90
|
}
|