@vaadin/email-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/email-field",
3
- "version": "24.9.0-alpha1",
3
+ "version": "24.9.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,16 +35,16 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "24.9.0-alpha1",
39
- "@vaadin/text-field": "24.9.0-alpha1",
40
- "@vaadin/vaadin-lumo-styles": "24.9.0-alpha1",
41
- "@vaadin/vaadin-material-styles": "24.9.0-alpha1",
42
- "@vaadin/vaadin-themable-mixin": "24.9.0-alpha1",
38
+ "@vaadin/component-base": "24.9.0-beta1",
39
+ "@vaadin/text-field": "24.9.0-beta1",
40
+ "@vaadin/vaadin-lumo-styles": "24.9.0-beta1",
41
+ "@vaadin/vaadin-material-styles": "24.9.0-beta1",
42
+ "@vaadin/vaadin-themable-mixin": "24.9.0-beta1",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/chai-plugins": "24.9.0-alpha1",
47
- "@vaadin/test-runner-commands": "24.9.0-alpha1",
46
+ "@vaadin/chai-plugins": "24.9.0-beta1",
47
+ "@vaadin/test-runner-commands": "24.9.0-beta1",
48
48
  "@vaadin/testing-helpers": "^1.1.0",
49
49
  "sinon": "^18.0.0"
50
50
  },
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "cc13d59f0e3cd1a3b0c19c1a900a5308446fe7ac"
55
+ "gitHead": "5f6e6e33217fef06e5d5cc52baa4d760969ef1e4"
56
56
  }
@@ -48,8 +48,34 @@ export interface EmailFieldEventMap extends HTMLElementEventMap, EmailFieldCusto
48
48
  *
49
49
  * ### Styling
50
50
  *
51
- * `<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
52
- * See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
51
+ * The following shadow DOM parts are available for styling:
52
+ *
53
+ * Part name | Description
54
+ * ---------------------|----------------
55
+ * `label` | The label element
56
+ * `input-field` | The element that wraps prefix, value and suffix
57
+ * `clear-button` | The clear button
58
+ * `error-message` | The error message element
59
+ * `helper-text` | The helper text element wrapper
60
+ * `required-indicator` | The `required` state indicator element
61
+ *
62
+ * The following state attributes are available for styling:
63
+ *
64
+ * Attribute | Description
65
+ * ---------------------|---------------------------------
66
+ * `disabled` | Set when the element is disabled
67
+ * `has-value` | Set when the element has a value
68
+ * `has-label` | Set when the element has a label
69
+ * `has-helper` | Set when the element has helper text or slot
70
+ * `has-error-message` | Set when the element has an error message
71
+ * `has-tooltip` | Set when the element has a slotted tooltip
72
+ * `invalid` | Set when the element is invalid
73
+ * `input-prevented` | Temporarily set when invalid input is prevented
74
+ * `focused` | Set when the element is focused
75
+ * `focus-ring` | Set when the element is keyboard focused
76
+ * `readonly` | Set when the element is readonly
77
+ *
78
+ * Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
53
79
  *
54
80
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
55
81
  *
@@ -19,8 +19,34 @@ registerStyles('vaadin-email-field', emailFieldStyles, { moduleId: 'vaadin-email
19
19
  *
20
20
  * ### Styling
21
21
  *
22
- * `<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
23
- * See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
22
+ * The following shadow DOM parts are available for styling:
23
+ *
24
+ * Part name | Description
25
+ * ---------------------|----------------
26
+ * `label` | The label element
27
+ * `input-field` | The element that wraps prefix, value and suffix
28
+ * `clear-button` | The clear button
29
+ * `error-message` | The error message element
30
+ * `helper-text` | The helper text element wrapper
31
+ * `required-indicator` | The `required` state indicator element
32
+ *
33
+ * The following state attributes are available for styling:
34
+ *
35
+ * Attribute | Description
36
+ * ---------------------|---------------------------------
37
+ * `disabled` | Set when the element is disabled
38
+ * `has-value` | Set when the element has a value
39
+ * `has-label` | Set when the element has a label
40
+ * `has-helper` | Set when the element has helper text or slot
41
+ * `has-error-message` | Set when the element has an error message
42
+ * `has-tooltip` | Set when the element has a slotted tooltip
43
+ * `invalid` | Set when the element is invalid
44
+ * `input-prevented` | Temporarily set when invalid input is prevented
45
+ * `focused` | Set when the element is focused
46
+ * `focus-ring` | Set when the element is keyboard focused
47
+ * `readonly` | Set when the element is readonly
48
+ *
49
+ * Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
24
50
  *
25
51
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
26
52
  *
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/email-field",
4
- "version": "24.9.0-alpha1",
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-email-field",
11
- "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha1/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-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\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\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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/email-field",
4
- "version": "24.9.0-alpha1",
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-email-field",
19
- "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha1/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-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\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\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
  {