@vaadin/password-field 23.2.0-alpha2 → 23.2.0-alpha3
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/password-field",
|
|
3
|
-
"version": "23.2.0-
|
|
3
|
+
"version": "23.2.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/polymer": "^3.0.0",
|
|
36
|
-
"@vaadin/button": "23.2.0-
|
|
37
|
-
"@vaadin/text-field": "23.2.0-
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "23.2.0-
|
|
39
|
-
"@vaadin/vaadin-material-styles": "23.2.0-
|
|
36
|
+
"@vaadin/button": "23.2.0-alpha3",
|
|
37
|
+
"@vaadin/text-field": "23.2.0-alpha3",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha3",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.2.0-alpha3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esm-bundle/chai": "^4.3.4",
|
|
43
43
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
44
44
|
"sinon": "^13.0.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "06e5875be93ca50da2846dafc65a8531010c0576"
|
|
47
47
|
}
|
|
@@ -23,10 +23,17 @@ export type PasswordFieldInvalidChangedEvent = CustomEvent<{ value: boolean }>;
|
|
|
23
23
|
*/
|
|
24
24
|
export type PasswordFieldValueChangedEvent = CustomEvent<{ value: string }>;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Fired whenever the field is validated.
|
|
28
|
+
*/
|
|
29
|
+
export type PasswordFieldValidatedEvent = CustomEvent<{ valid: boolean }>;
|
|
30
|
+
|
|
26
31
|
export interface PasswordFieldCustomEventMap {
|
|
27
32
|
'invalid-changed': PasswordFieldInvalidChangedEvent;
|
|
28
33
|
|
|
29
34
|
'value-changed': PasswordFieldValueChangedEvent;
|
|
35
|
+
|
|
36
|
+
validated: PasswordFieldValidatedEvent;
|
|
30
37
|
}
|
|
31
38
|
|
|
32
39
|
export interface PasswordFieldEventMap extends HTMLElementEventMap, PasswordFieldCustomEventMap {
|
|
@@ -63,6 +70,7 @@ export interface PasswordFieldEventMap extends HTMLElementEventMap, PasswordFiel
|
|
|
63
70
|
* @fires {Event} change - Fired when the user commits a value change.
|
|
64
71
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
65
72
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
73
|
+
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
66
74
|
*/
|
|
67
75
|
declare class PasswordField extends SlotStylesMixin(TextField) {
|
|
68
76
|
/**
|
|
@@ -47,6 +47,7 @@ let memoizedTemplate;
|
|
|
47
47
|
* @fires {Event} change - Fired when the user commits a value change.
|
|
48
48
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
49
49
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
50
|
+
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
50
51
|
*
|
|
51
52
|
* @extends TextField
|
|
52
53
|
* @mixes SlotStylesMixin
|