@vaadin/text-field 25.0.0-alpha14 → 25.0.0-alpha16

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/text-field",
3
- "version": "25.0.0-alpha14",
3
+ "version": "25.0.0-alpha16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,23 +34,23 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-alpha14",
38
- "@vaadin/component-base": "25.0.0-alpha14",
39
- "@vaadin/field-base": "25.0.0-alpha14",
40
- "@vaadin/input-container": "25.0.0-alpha14",
41
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha14",
37
+ "@vaadin/a11y-base": "25.0.0-alpha16",
38
+ "@vaadin/component-base": "25.0.0-alpha16",
39
+ "@vaadin/field-base": "25.0.0-alpha16",
40
+ "@vaadin/input-container": "25.0.0-alpha16",
41
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha16",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/chai-plugins": "25.0.0-alpha14",
46
- "@vaadin/test-runner-commands": "25.0.0-alpha14",
45
+ "@vaadin/chai-plugins": "25.0.0-alpha16",
46
+ "@vaadin/test-runner-commands": "25.0.0-alpha16",
47
47
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha14",
48
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha16",
49
49
  "sinon": "^18.0.0"
50
50
  },
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "8ebeeeca4b5b6564eff954d6582d0d6760464e51"
55
+ "gitHead": "4b316158a4a4f702f032bc9940fc82f0faa840f4"
56
56
  }
@@ -83,18 +83,18 @@ export interface TextFieldEventMap extends HTMLElementEventMap, TextFieldCustomE
83
83
  *
84
84
  * The following state attributes are available for styling:
85
85
  *
86
- * Attribute | Description | Part name
87
- * --------------------|-------------|------------
88
- * `disabled` | Set to a disabled text field | :host
89
- * `has-value` | Set when the element has a value | :host
90
- * `has-label` | Set when the element has a label | :host
91
- * `has-helper` | Set when the element has helper text or slot | :host
92
- * `has-error-message` | Set when the element has an error message | :host
93
- * `invalid` | Set when the element is invalid | :host
94
- * `input-prevented` | Temporarily set when invalid input is prevented | :host
95
- * `focused` | Set when the element is focused | :host
96
- * `focus-ring` | Set when the element is keyboard focused | :host
97
- * `readonly` | Set to a readonly text field | :host
86
+ * Attribute | Description
87
+ * --------------------|---------------------------------
88
+ * `disabled` | Set when the element is disabled
89
+ * `has-value` | Set when the element has a value
90
+ * `has-label` | Set when the element has a label
91
+ * `has-helper` | Set when the element has helper text or slot
92
+ * `has-error-message` | Set when the element has an error message
93
+ * `invalid` | Set when the element is invalid
94
+ * `input-prevented` | Temporarily set when invalid input is prevented
95
+ * `focused` | Set when the element is focused
96
+ * `focus-ring` | Set when the element is keyboard focused
97
+ * `readonly` | Set when the element is readonly
98
98
  *
99
99
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
100
100
  *
@@ -57,18 +57,18 @@ import { TextFieldMixin } from './vaadin-text-field-mixin.js';
57
57
  *
58
58
  * The following state attributes are available for styling:
59
59
  *
60
- * Attribute | Description | Part name
61
- * --------------------|-------------|------------
62
- * `disabled` | Set to a disabled text field | :host
63
- * `has-value` | Set when the element has a value | :host
64
- * `has-label` | Set when the element has a label | :host
65
- * `has-helper` | Set when the element has helper text or slot | :host
66
- * `has-error-message` | Set when the element has an error message | :host
67
- * `invalid` | Set when the element is invalid | :host
68
- * `input-prevented` | Temporarily set when invalid input is prevented | :host
69
- * `focused` | Set when the element is focused | :host
70
- * `focus-ring` | Set when the element is keyboard focused | :host
71
- * `readonly` | Set to a readonly text field | :host
60
+ * Attribute | Description
61
+ * --------------------|---------------------------------
62
+ * `disabled` | Set when the element is disabled
63
+ * `has-value` | Set when the element has a value
64
+ * `has-label` | Set when the element has a label
65
+ * `has-helper` | Set when the element has helper text or slot
66
+ * `has-error-message` | Set when the element has an error message
67
+ * `invalid` | Set when the element is invalid
68
+ * `input-prevented` | Temporarily set when invalid input is prevented
69
+ * `focused` | Set when the element is focused
70
+ * `focus-ring` | Set when the element is keyboard focused
71
+ * `readonly` | Set when the element is readonly
72
72
  *
73
73
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
74
74
  *
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/text-field",
4
- "version": "25.0.0-alpha14",
4
+ "version": "25.0.0-alpha16",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-text-field",
11
- "description": "`<vaadin-text-field>` is a web component that allows the user to input and edit text.\n\n```html\n<vaadin-text-field label=\"First Name\"></vaadin-text-field>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-field>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-field label=\"Email address\">\n <div slot=\"prefix\">Sent to:</div>\n <div slot=\"suffix\">@vaadin.com</div>\n</vaadin-text-field>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\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 | Part name\n--------------------|-------------|------------\n`disabled` | Set to a disabled text field | :host\n`has-value` | Set when the element has a value | :host\n`has-label` | Set when the element has a label | :host\n`has-helper` | Set when the element has helper text or slot | :host\n`has-error-message` | Set when the element has an error message | :host\n`invalid` | Set when the element is invalid | :host\n`input-prevented` | Temporarily set when invalid input is prevented | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`readonly` | Set to a readonly text field | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-text-field>` is a web component that allows the user to input and edit text.\n\n```html\n<vaadin-text-field label=\"First Name\"></vaadin-text-field>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-field>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-field label=\"Email address\">\n <div slot=\"prefix\">Sent to:</div>\n <div slot=\"suffix\">@vaadin.com</div>\n</vaadin-text-field>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\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`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\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/text-field",
4
- "version": "25.0.0-alpha14",
4
+ "version": "25.0.0-alpha16",
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-text-field",
19
- "description": "`<vaadin-text-field>` is a web component that allows the user to input and edit text.\n\n```html\n<vaadin-text-field label=\"First Name\"></vaadin-text-field>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-field>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-field label=\"Email address\">\n <div slot=\"prefix\">Sent to:</div>\n <div slot=\"suffix\">@vaadin.com</div>\n</vaadin-text-field>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\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 | Part name\n--------------------|-------------|------------\n`disabled` | Set to a disabled text field | :host\n`has-value` | Set when the element has a value | :host\n`has-label` | Set when the element has a label | :host\n`has-helper` | Set when the element has helper text or slot | :host\n`has-error-message` | Set when the element has an error message | :host\n`invalid` | Set when the element is invalid | :host\n`input-prevented` | Temporarily set when invalid input is prevented | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`readonly` | Set to a readonly text field | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-text-field>` is a web component that allows the user to input and edit text.\n\n```html\n<vaadin-text-field label=\"First Name\"></vaadin-text-field>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-field>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-field label=\"Email address\">\n <div slot=\"prefix\">Sent to:</div>\n <div slot=\"suffix\">@vaadin.com</div>\n</vaadin-text-field>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\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`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\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {