@vaadin/password-field 23.0.0-beta1 → 23.0.0-beta2
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.0-
|
|
3
|
+
"version": "23.0.0-beta2",
|
|
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.0-
|
|
37
|
-
"@vaadin/text-field": "23.0.0-
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
39
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
36
|
+
"@vaadin/button": "23.0.0-beta2",
|
|
37
|
+
"@vaadin/text-field": "23.0.0-beta2",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-beta2",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.0.0-beta2"
|
|
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": "a276f7a0fd00e5459b87267468e0dd0d4fb6f7f3"
|
|
47
47
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
+
import { SlotMixin } from '@vaadin/component-base/src/slot-mixin.js';
|
|
6
7
|
import { SlotStylesMixin } from '@vaadin/field-base/src/slot-styles-mixin.js';
|
|
7
8
|
import { TextField } from '@vaadin/text-field/src/vaadin-text-field.js';
|
|
8
9
|
|
|
@@ -64,7 +65,7 @@ export interface PasswordFieldEventMap extends HTMLElementEventMap, PasswordFiel
|
|
|
64
65
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
65
66
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
66
67
|
*/
|
|
67
|
-
declare class PasswordField extends SlotStylesMixin(TextField) {
|
|
68
|
+
declare class PasswordField extends SlotStylesMixin(SlotMixin(TextField)) {
|
|
68
69
|
/**
|
|
69
70
|
* Set to true to hide the eye icon which toggles the password visibility.
|
|
70
71
|
* @attr {boolean} reveal-button-hidden
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import './vaadin-password-field-button.js';
|
|
7
7
|
import { html } from '@polymer/polymer/lib/utils/html-tag.js';
|
|
8
|
+
import { SlotMixin } from '@vaadin/component-base/src/slot-mixin.js';
|
|
8
9
|
import { SlotStylesMixin } from '@vaadin/field-base/src/slot-styles-mixin.js';
|
|
9
10
|
import { TextField } from '@vaadin/text-field/src/vaadin-text-field.js';
|
|
10
11
|
|
|
@@ -50,7 +51,7 @@ let memoizedTemplate;
|
|
|
50
51
|
* @extends TextField
|
|
51
52
|
* @mixes SlotStylesMixin
|
|
52
53
|
*/
|
|
53
|
-
export class PasswordField extends SlotStylesMixin(TextField) {
|
|
54
|
+
export class PasswordField extends SlotStylesMixin(SlotMixin(TextField)) {
|
|
54
55
|
static get is() {
|
|
55
56
|
return 'vaadin-password-field';
|
|
56
57
|
}
|