@vaadin/password-field 23.0.9 → 23.0.10
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.0.
|
|
3
|
+
"version": "23.0.10",
|
|
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.0.
|
|
37
|
-
"@vaadin/text-field": "^23.0.
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
39
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
36
|
+
"@vaadin/button": "^23.0.10",
|
|
37
|
+
"@vaadin/text-field": "^23.0.10",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.10",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "^23.0.10"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esm-bundle/chai": "^4.3.4",
|
|
43
43
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
44
44
|
"sinon": "^9.2.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
|
|
47
47
|
}
|
|
@@ -94,13 +94,13 @@ declare class PasswordField extends SlotStylesMixin(SlotMixin(TextField)) {
|
|
|
94
94
|
addEventListener<K extends keyof PasswordFieldEventMap>(
|
|
95
95
|
type: K,
|
|
96
96
|
listener: (this: PasswordField, ev: PasswordFieldEventMap[K]) => void,
|
|
97
|
-
options?: boolean | AddEventListenerOptions
|
|
97
|
+
options?: boolean | AddEventListenerOptions,
|
|
98
98
|
): void;
|
|
99
99
|
|
|
100
100
|
removeEventListener<K extends keyof PasswordFieldEventMap>(
|
|
101
101
|
type: K,
|
|
102
102
|
listener: (this: PasswordField, ev: PasswordFieldEventMap[K]) => void,
|
|
103
|
-
options?: boolean | EventListenerOptions
|
|
103
|
+
options?: boolean | EventListenerOptions,
|
|
104
104
|
): void;
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -81,7 +81,7 @@ export class PasswordField extends SlotStylesMixin(TextField) {
|
|
|
81
81
|
revealButtonHidden: {
|
|
82
82
|
type: Boolean,
|
|
83
83
|
observer: '_revealButtonHiddenChanged',
|
|
84
|
-
value: false
|
|
84
|
+
value: false,
|
|
85
85
|
},
|
|
86
86
|
|
|
87
87
|
/**
|
|
@@ -93,7 +93,7 @@ export class PasswordField extends SlotStylesMixin(TextField) {
|
|
|
93
93
|
value: false,
|
|
94
94
|
reflectToAttribute: true,
|
|
95
95
|
observer: '_passwordVisibleChanged',
|
|
96
|
-
readOnly: true
|
|
96
|
+
readOnly: true,
|
|
97
97
|
},
|
|
98
98
|
|
|
99
99
|
/**
|
|
@@ -111,10 +111,10 @@ export class PasswordField extends SlotStylesMixin(TextField) {
|
|
|
111
111
|
type: Object,
|
|
112
112
|
value: () => {
|
|
113
113
|
return {
|
|
114
|
-
reveal: 'Show password'
|
|
114
|
+
reveal: 'Show password',
|
|
115
115
|
};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ export class PasswordField extends SlotStylesMixin(TextField) {
|
|
|
130
130
|
${tag} [slot="input"]::-ms-reveal {
|
|
131
131
|
display: none;
|
|
132
132
|
}
|
|
133
|
-
|
|
133
|
+
`,
|
|
134
134
|
];
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -161,7 +161,7 @@ export class PasswordField extends SlotStylesMixin(TextField) {
|
|
|
161
161
|
|
|
162
162
|
btn.addEventListener('click', host.__boundRevealButtonClick);
|
|
163
163
|
btn.addEventListener('touchend', host.__boundRevealButtonTouchend);
|
|
164
|
-
}
|
|
164
|
+
},
|
|
165
165
|
);
|
|
166
166
|
this.addController(this._revealButtonController);
|
|
167
167
|
|