@vaadin/password-field 24.9.0-alpha1 → 24.9.0-beta1
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 +12 -12
- package/src/vaadin-password-field.d.ts +26 -10
- package/src/vaadin-password-field.js +26 -10
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/password-field",
|
|
3
|
-
"version": "24.9.0-
|
|
3
|
+
"version": "24.9.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.9.0-
|
|
40
|
-
"@vaadin/button": "24.9.0-
|
|
41
|
-
"@vaadin/component-base": "24.9.0-
|
|
42
|
-
"@vaadin/field-base": "24.9.0-
|
|
43
|
-
"@vaadin/text-field": "24.9.0-
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "24.9.0-
|
|
45
|
-
"@vaadin/vaadin-material-styles": "24.9.0-
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "24.9.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.9.0-beta1",
|
|
40
|
+
"@vaadin/button": "24.9.0-beta1",
|
|
41
|
+
"@vaadin/component-base": "24.9.0-beta1",
|
|
42
|
+
"@vaadin/field-base": "24.9.0-beta1",
|
|
43
|
+
"@vaadin/text-field": "24.9.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "24.9.0-beta1",
|
|
45
|
+
"@vaadin/vaadin-material-styles": "24.9.0-beta1",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "24.9.0-beta1",
|
|
47
47
|
"lit": "^3.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@vaadin/chai-plugins": "24.9.0-
|
|
51
|
-
"@vaadin/test-runner-commands": "24.9.0-
|
|
50
|
+
"@vaadin/chai-plugins": "24.9.0-beta1",
|
|
51
|
+
"@vaadin/test-runner-commands": "24.9.0-beta1",
|
|
52
52
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
53
53
|
"sinon": "^18.0.0"
|
|
54
54
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "5f6e6e33217fef06e5d5cc52baa4d760969ef1e4"
|
|
60
60
|
}
|
|
@@ -49,20 +49,36 @@ export interface PasswordFieldEventMap extends HTMLElementEventMap, PasswordFiel
|
|
|
49
49
|
*
|
|
50
50
|
* ### Styling
|
|
51
51
|
*
|
|
52
|
-
*
|
|
53
|
-
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
|
|
52
|
+
* The following shadow DOM parts are available for styling:
|
|
54
53
|
*
|
|
55
|
-
*
|
|
54
|
+
* Part name | Description
|
|
55
|
+
* ---------------------|----------------
|
|
56
|
+
* `label` | The label element
|
|
57
|
+
* `input-field` | The element that wraps prefix, value and suffix
|
|
58
|
+
* `clear-button` | The clear button
|
|
59
|
+
* `error-message` | The error message element
|
|
60
|
+
* `helper-text` | The helper text element wrapper
|
|
61
|
+
* `required-indicator` | The `required` state indicator element
|
|
62
|
+
* `reveal-button` | The eye icon which toggles the password visibility
|
|
56
63
|
*
|
|
57
|
-
*
|
|
58
|
-
* ----------------|----------------------------------------------------
|
|
59
|
-
* `reveal-button` | The eye icon which toggles the password visibility
|
|
64
|
+
* The following state attributes are available for styling:
|
|
60
65
|
*
|
|
61
|
-
*
|
|
66
|
+
* Attribute | Description
|
|
67
|
+
* ---------------------|---------------------------------
|
|
68
|
+
* `disabled` | Set when the element is disabled
|
|
69
|
+
* `has-value` | Set when the element has a value
|
|
70
|
+
* `has-label` | Set when the element has a label
|
|
71
|
+
* `has-helper` | Set when the element has helper text or slot
|
|
72
|
+
* `has-error-message` | Set when the element has an error message
|
|
73
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
74
|
+
* `invalid` | Set when the element is invalid
|
|
75
|
+
* `input-prevented` | Temporarily set when invalid input is prevented
|
|
76
|
+
* `focused` | Set when the element is focused
|
|
77
|
+
* `focus-ring` | Set when the element is keyboard focused
|
|
78
|
+
* `readonly` | Set when the element is readonly
|
|
79
|
+
* `password-visible` | Set when the password is visible
|
|
62
80
|
*
|
|
63
|
-
*
|
|
64
|
-
* -------------------|---------------------------------
|
|
65
|
-
* `password-visible` | Set when the password is visible
|
|
81
|
+
* Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
|
|
66
82
|
*
|
|
67
83
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
68
84
|
*
|
|
@@ -30,20 +30,36 @@ let memoizedTemplate;
|
|
|
30
30
|
*
|
|
31
31
|
* ### Styling
|
|
32
32
|
*
|
|
33
|
-
*
|
|
34
|
-
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
|
|
33
|
+
* The following shadow DOM parts are available for styling:
|
|
35
34
|
*
|
|
36
|
-
*
|
|
35
|
+
* Part name | Description
|
|
36
|
+
* ---------------------|----------------
|
|
37
|
+
* `label` | The label element
|
|
38
|
+
* `input-field` | The element that wraps prefix, value and suffix
|
|
39
|
+
* `clear-button` | The clear button
|
|
40
|
+
* `error-message` | The error message element
|
|
41
|
+
* `helper-text` | The helper text element wrapper
|
|
42
|
+
* `required-indicator` | The `required` state indicator element
|
|
43
|
+
* `reveal-button` | The eye icon which toggles the password visibility
|
|
37
44
|
*
|
|
38
|
-
*
|
|
39
|
-
* ----------------|----------------------------------------------------
|
|
40
|
-
* `reveal-button` | The eye icon which toggles the password visibility
|
|
45
|
+
* The following state attributes are available for styling:
|
|
41
46
|
*
|
|
42
|
-
*
|
|
47
|
+
* Attribute | Description
|
|
48
|
+
* ---------------------|---------------------------------
|
|
49
|
+
* `disabled` | Set when the element is disabled
|
|
50
|
+
* `has-value` | Set when the element has a value
|
|
51
|
+
* `has-label` | Set when the element has a label
|
|
52
|
+
* `has-helper` | Set when the element has helper text or slot
|
|
53
|
+
* `has-error-message` | Set when the element has an error message
|
|
54
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
55
|
+
* `invalid` | Set when the element is invalid
|
|
56
|
+
* `input-prevented` | Temporarily set when invalid input is prevented
|
|
57
|
+
* `focused` | Set when the element is focused
|
|
58
|
+
* `focus-ring` | Set when the element is keyboard focused
|
|
59
|
+
* `readonly` | Set when the element is readonly
|
|
60
|
+
* `password-visible` | Set when the password is visible
|
|
43
61
|
*
|
|
44
|
-
*
|
|
45
|
-
* -------------------|---------------------------------
|
|
46
|
-
* `password-visible` | Set when the password is visible
|
|
62
|
+
* Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
|
|
47
63
|
*
|
|
48
64
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
49
65
|
*
|
package/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/password-field",
|
|
4
|
-
"version": "24.9.0-
|
|
4
|
+
"version": "24.9.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "vaadin-password-field",
|
|
11
|
-
"description": "`<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.\n\n```html\n<vaadin-password-field label=\"Password\"></vaadin-password-field>\n```\n\n### Styling\n\
|
|
11
|
+
"description": "`<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.\n\n```html\n<vaadin-password-field label=\"Password\"></vaadin-password-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`reveal-button` | The eye icon which toggles the password visibility\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n`password-visible` | Set when the password is visible\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "disabled",
|
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/password-field",
|
|
4
|
-
"version": "24.9.0-
|
|
4
|
+
"version": "24.9.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"elements": [
|
|
17
17
|
{
|
|
18
18
|
"name": "vaadin-password-field",
|
|
19
|
-
"description": "`<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.\n\n```html\n<vaadin-password-field label=\"Password\"></vaadin-password-field>\n```\n\n### Styling\n\
|
|
19
|
+
"description": "`<vaadin-password-field>` is an extension of `<vaadin-text-field>` component for entering passwords.\n\n```html\n<vaadin-password-field label=\"Password\"></vaadin-password-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`reveal-button` | The eye icon which toggles the password visibility\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n`password-visible` | Set when the password is visible\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|