@vaadin/text-field 25.2.0-alpha9 → 25.2.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.
@@ -64,12 +64,6 @@ export interface TextFieldEventMap extends HTMLElementEventMap, TextFieldCustomE
64
64
  *
65
65
  * ### Styling
66
66
  *
67
- * The following custom properties are available for styling:
68
- *
69
- * Custom property | Description | Default
70
- * -------------------------------|----------------------------|---------
71
- * `--vaadin-field-default-width` | Default width of the field | `12em`
72
- *
73
67
  * The following shadow DOM parts are available for styling:
74
68
  *
75
69
  * Part name | Description
@@ -100,6 +94,45 @@ export interface TextFieldEventMap extends HTMLElementEventMap, TextFieldCustomE
100
94
  *
101
95
  * Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
102
96
  *
97
+ * The following custom CSS properties are available for styling:
98
+ *
99
+ * Custom CSS property |
100
+ * :--------------------------------------------------|
101
+ * | `--vaadin-field-default-width` |
102
+ * | `--vaadin-input-field-background` |
103
+ * | `--vaadin-input-field-border-color` |
104
+ * | `--vaadin-input-field-border-radius` |
105
+ * | `--vaadin-input-field-border-width` |
106
+ * | `--vaadin-input-field-bottom-end-radius` |
107
+ * | `--vaadin-input-field-bottom-start-radius` |
108
+ * | `--vaadin-input-field-button-text-color` |
109
+ * | `--vaadin-input-field-container-gap` |
110
+ * | `--vaadin-input-field-disabled-background` |
111
+ * | `--vaadin-input-field-disabled-text-color` |
112
+ * | `--vaadin-input-field-error-color` |
113
+ * | `--vaadin-input-field-error-font-size` |
114
+ * | `--vaadin-input-field-error-font-weight` |
115
+ * | `--vaadin-input-field-error-line-height` |
116
+ * | `--vaadin-input-field-gap` |
117
+ * | `--vaadin-input-field-helper-color` |
118
+ * | `--vaadin-input-field-helper-font-size` |
119
+ * | `--vaadin-input-field-helper-font-weight` |
120
+ * | `--vaadin-input-field-helper-line-height` |
121
+ * | `--vaadin-input-field-label-color` |
122
+ * | `--vaadin-input-field-label-font-size` |
123
+ * | `--vaadin-input-field-label-font-weight` |
124
+ * | `--vaadin-input-field-label-line-height` |
125
+ * | `--vaadin-input-field-padding` |
126
+ * | `--vaadin-input-field-placeholder-color` |
127
+ * | `--vaadin-input-field-required-indicator` |
128
+ * | `--vaadin-input-field-required-indicator-color` |
129
+ * | `--vaadin-input-field-top-end-radius` |
130
+ * | `--vaadin-input-field-top-start-radius` |
131
+ * | `--vaadin-input-field-value-color` |
132
+ * | `--vaadin-input-field-value-font-size` |
133
+ * | `--vaadin-input-field-value-font-weight` |
134
+ * | `--vaadin-input-field-value-line-height` |
135
+ *
103
136
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
104
137
  *
105
138
  * @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
@@ -38,12 +38,6 @@ import { TextFieldMixin } from './vaadin-text-field-mixin.js';
38
38
  *
39
39
  * ### Styling
40
40
  *
41
- * The following custom properties are available for styling:
42
- *
43
- * Custom property | Description | Default
44
- * -------------------------------|----------------------------|---------
45
- * `--vaadin-field-default-width` | Default width of the field | `12em`
46
- *
47
41
  * The following shadow DOM parts are available for styling:
48
42
  *
49
43
  * Part name | Description
@@ -74,6 +68,45 @@ import { TextFieldMixin } from './vaadin-text-field-mixin.js';
74
68
  *
75
69
  * Note, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.
76
70
  *
71
+ * The following custom CSS properties are available for styling:
72
+ *
73
+ * Custom CSS property |
74
+ * :--------------------------------------------------|
75
+ * | `--vaadin-field-default-width` |
76
+ * | `--vaadin-input-field-background` |
77
+ * | `--vaadin-input-field-border-color` |
78
+ * | `--vaadin-input-field-border-radius` |
79
+ * | `--vaadin-input-field-border-width` |
80
+ * | `--vaadin-input-field-bottom-end-radius` |
81
+ * | `--vaadin-input-field-bottom-start-radius` |
82
+ * | `--vaadin-input-field-button-text-color` |
83
+ * | `--vaadin-input-field-container-gap` |
84
+ * | `--vaadin-input-field-disabled-background` |
85
+ * | `--vaadin-input-field-disabled-text-color` |
86
+ * | `--vaadin-input-field-error-color` |
87
+ * | `--vaadin-input-field-error-font-size` |
88
+ * | `--vaadin-input-field-error-font-weight` |
89
+ * | `--vaadin-input-field-error-line-height` |
90
+ * | `--vaadin-input-field-gap` |
91
+ * | `--vaadin-input-field-helper-color` |
92
+ * | `--vaadin-input-field-helper-font-size` |
93
+ * | `--vaadin-input-field-helper-font-weight` |
94
+ * | `--vaadin-input-field-helper-line-height` |
95
+ * | `--vaadin-input-field-label-color` |
96
+ * | `--vaadin-input-field-label-font-size` |
97
+ * | `--vaadin-input-field-label-font-weight` |
98
+ * | `--vaadin-input-field-label-line-height` |
99
+ * | `--vaadin-input-field-padding` |
100
+ * | `--vaadin-input-field-placeholder-color` |
101
+ * | `--vaadin-input-field-required-indicator` |
102
+ * | `--vaadin-input-field-required-indicator-color` |
103
+ * | `--vaadin-input-field-top-end-radius` |
104
+ * | `--vaadin-input-field-top-start-radius` |
105
+ * | `--vaadin-input-field-value-color` |
106
+ * | `--vaadin-input-field-value-font-size` |
107
+ * | `--vaadin-input-field-value-font-weight` |
108
+ * | `--vaadin-input-field-value-line-height` |
109
+ *
77
110
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
78
111
  *
79
112
  * @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
@@ -84,9 +117,6 @@ import { TextFieldMixin } from './vaadin-text-field-mixin.js';
84
117
  *
85
118
  * @customElement vaadin-text-field
86
119
  * @extends HTMLElement
87
- * @mixes ElementMixin
88
- * @mixes ThemableMixin
89
- * @mixes TextFieldMixin
90
120
  */
91
121
  export class TextField extends TextFieldMixin(
92
122
  ThemableMixin(ElementMixin(PolylitMixin(LumoInjectionMixin(LitElement)))),
package/web-types.json CHANGED
@@ -1,23 +1,21 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/text-field",
4
- "version": "25.2.0-alpha9",
4
+ "version": "25.2.0-beta1",
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`field-button` | Set on the clear button\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.",
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 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`field-button` | Set on the clear button\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\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "accessible-name",
15
15
  "description": "String used to label the component to screen reader users.",
16
16
  "value": {
17
17
  "type": [
18
- "string",
19
- "null",
20
- "undefined"
18
+ "string"
21
19
  ]
22
20
  }
23
21
  },
@@ -26,9 +24,7 @@
26
24
  "description": "Id of the element used as label of the component to screen reader users.",
27
25
  "value": {
28
26
  "type": [
29
- "string",
30
- "null",
31
- "undefined"
27
+ "string"
32
28
  ]
33
29
  }
34
30
  },
@@ -37,9 +33,7 @@
37
33
  "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
38
34
  "value": {
39
35
  "type": [
40
- "string",
41
- "null",
42
- "undefined"
36
+ "string"
43
37
  ]
44
38
  }
45
39
  },
@@ -48,9 +42,7 @@
48
42
  "description": "This is a property supported by Safari and Chrome that is used to control whether\nautocapitalization should be enabled when the user is entering/editing the text.\nPossible values are:\ncharacters: Characters capitalization.\nwords: Words capitalization.\nsentences: Sentences capitalization.\nnone: No capitalization.",
49
43
  "value": {
50
44
  "type": [
51
- "string",
52
- "null",
53
- "undefined"
45
+ "string"
54
46
  ]
55
47
  }
56
48
  },
@@ -59,9 +51,7 @@
59
51
  "description": "Whether the value of the control can be automatically completed by the browser.\nList of available options at:\nhttps://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete",
60
52
  "value": {
61
53
  "type": [
62
- "string",
63
- "null",
64
- "undefined"
54
+ "string"
65
55
  ]
66
56
  }
67
57
  },
@@ -70,9 +60,7 @@
70
60
  "description": "This is a property supported by Safari that is used to control whether\nautocorrection should be enabled when the user is entering/editing the text.\nPossible values are:\non: Enable autocorrection.\noff: Disable autocorrection.",
71
61
  "value": {
72
62
  "type": [
73
- "string",
74
- "null",
75
- "undefined"
63
+ "string"
76
64
  ]
77
65
  }
78
66
  },
@@ -81,9 +69,7 @@
81
69
  "description": "Specify that this control should have input focus when the page loads.",
82
70
  "value": {
83
71
  "type": [
84
- "boolean",
85
- "null",
86
- "undefined"
72
+ "boolean"
87
73
  ]
88
74
  }
89
75
  },
@@ -92,9 +78,7 @@
92
78
  "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
93
79
  "value": {
94
80
  "type": [
95
- "boolean",
96
- "null",
97
- "undefined"
81
+ "boolean"
98
82
  ]
99
83
  }
100
84
  },
@@ -103,9 +87,7 @@
103
87
  "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
104
88
  "value": {
105
89
  "type": [
106
- "boolean",
107
- "null",
108
- "undefined"
90
+ "boolean"
109
91
  ]
110
92
  }
111
93
  },
@@ -114,9 +96,7 @@
114
96
  "description": "If true, the user cannot interact with this element.",
115
97
  "value": {
116
98
  "type": [
117
- "boolean",
118
- "null",
119
- "undefined"
99
+ "boolean"
120
100
  ]
121
101
  }
122
102
  },
@@ -125,9 +105,7 @@
125
105
  "description": "Error to show when the field is invalid.",
126
106
  "value": {
127
107
  "type": [
128
- "string",
129
- "null",
130
- "undefined"
108
+ "string"
131
109
  ]
132
110
  }
133
111
  },
@@ -136,9 +114,7 @@
136
114
  "description": "String used for the helper text.",
137
115
  "value": {
138
116
  "type": [
139
- "string",
140
- "null",
141
- "undefined"
117
+ "string"
142
118
  ]
143
119
  }
144
120
  },
@@ -147,9 +123,7 @@
147
123
  "description": "Set to true when the field is invalid.",
148
124
  "value": {
149
125
  "type": [
150
- "boolean",
151
- "null",
152
- "undefined"
126
+ "boolean"
153
127
  ]
154
128
  }
155
129
  },
@@ -158,9 +132,7 @@
158
132
  "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
159
133
  "value": {
160
134
  "type": [
161
- "string",
162
- "null",
163
- "undefined"
135
+ "string"
164
136
  ]
165
137
  }
166
138
  },
@@ -169,9 +141,7 @@
169
141
  "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
170
142
  "value": {
171
143
  "type": [
172
- "boolean",
173
- "null",
174
- "undefined"
144
+ "boolean"
175
145
  ]
176
146
  }
177
147
  },
@@ -180,9 +150,7 @@
180
150
  "description": "Maximum number of characters (in Unicode code points) that the user can enter.",
181
151
  "value": {
182
152
  "type": [
183
- "number",
184
- "null",
185
- "undefined"
153
+ "number"
186
154
  ]
187
155
  }
188
156
  },
@@ -191,9 +159,7 @@
191
159
  "description": "Minimum number of characters (in Unicode code points) that the user can enter.",
192
160
  "value": {
193
161
  "type": [
194
- "number",
195
- "null",
196
- "undefined"
162
+ "number"
197
163
  ]
198
164
  }
199
165
  },
@@ -202,9 +168,7 @@
202
168
  "description": "The name of this field.",
203
169
  "value": {
204
170
  "type": [
205
- "string",
206
- "null",
207
- "undefined"
171
+ "string"
208
172
  ]
209
173
  }
210
174
  },
@@ -213,9 +177,7 @@
213
177
  "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
214
178
  "value": {
215
179
  "type": [
216
- "string",
217
- "null",
218
- "undefined"
180
+ "string"
219
181
  ]
220
182
  }
221
183
  },
@@ -224,9 +186,7 @@
224
186
  "description": "A hint to the user of what can be entered in the field.",
225
187
  "value": {
226
188
  "type": [
227
- "string",
228
- "null",
229
- "undefined"
189
+ "string"
230
190
  ]
231
191
  }
232
192
  },
@@ -235,9 +195,7 @@
235
195
  "description": "When present, it specifies that the field is read-only.",
236
196
  "value": {
237
197
  "type": [
238
- "boolean",
239
- "null",
240
- "undefined"
198
+ "boolean"
241
199
  ]
242
200
  }
243
201
  },
@@ -246,9 +204,7 @@
246
204
  "description": "Specifies that the user must fill in a value.",
247
205
  "value": {
248
206
  "type": [
249
- "boolean",
250
- "null",
251
- "undefined"
207
+ "boolean"
252
208
  ]
253
209
  }
254
210
  },
@@ -268,9 +224,7 @@
268
224
  "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
269
225
  "value": {
270
226
  "type": [
271
- "string",
272
- "null",
273
- "undefined"
227
+ "string"
274
228
  ]
275
229
  }
276
230
  },
@@ -279,9 +233,7 @@
279
233
  "description": "The value of the field.",
280
234
  "value": {
281
235
  "type": [
282
- "string",
283
- "null",
284
- "undefined"
236
+ "string"
285
237
  ]
286
238
  }
287
239
  }
@@ -293,9 +245,7 @@
293
245
  "description": "String used to label the component to screen reader users.",
294
246
  "value": {
295
247
  "type": [
296
- "string",
297
- "null",
298
- "undefined"
248
+ "string"
299
249
  ]
300
250
  }
301
251
  },
@@ -304,9 +254,7 @@
304
254
  "description": "Id of the element used as label of the component to screen reader users.",
305
255
  "value": {
306
256
  "type": [
307
- "string",
308
- "null",
309
- "undefined"
257
+ "string"
310
258
  ]
311
259
  }
312
260
  },
@@ -315,9 +263,7 @@
315
263
  "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
316
264
  "value": {
317
265
  "type": [
318
- "string",
319
- "null",
320
- "undefined"
266
+ "string"
321
267
  ]
322
268
  }
323
269
  },
@@ -326,9 +272,7 @@
326
272
  "description": "This is a property supported by Safari and Chrome that is used to control whether\nautocapitalization should be enabled when the user is entering/editing the text.\nPossible values are:\ncharacters: Characters capitalization.\nwords: Words capitalization.\nsentences: Sentences capitalization.\nnone: No capitalization.",
327
273
  "value": {
328
274
  "type": [
329
- "string",
330
- "null",
331
- "undefined"
275
+ "string"
332
276
  ]
333
277
  }
334
278
  },
@@ -337,9 +281,7 @@
337
281
  "description": "Whether the value of the control can be automatically completed by the browser.\nList of available options at:\nhttps://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete",
338
282
  "value": {
339
283
  "type": [
340
- "string",
341
- "null",
342
- "undefined"
284
+ "string"
343
285
  ]
344
286
  }
345
287
  },
@@ -348,9 +290,7 @@
348
290
  "description": "This is a property supported by Safari that is used to control whether\nautocorrection should be enabled when the user is entering/editing the text.\nPossible values are:\non: Enable autocorrection.\noff: Disable autocorrection.",
349
291
  "value": {
350
292
  "type": [
351
- "string",
352
- "null",
353
- "undefined"
293
+ "string"
354
294
  ]
355
295
  }
356
296
  },
@@ -359,9 +299,7 @@
359
299
  "description": "Specify that this control should have input focus when the page loads.",
360
300
  "value": {
361
301
  "type": [
362
- "boolean",
363
- "null",
364
- "undefined"
302
+ "boolean"
365
303
  ]
366
304
  }
367
305
  },
@@ -370,9 +308,7 @@
370
308
  "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
371
309
  "value": {
372
310
  "type": [
373
- "boolean",
374
- "null",
375
- "undefined"
311
+ "boolean"
376
312
  ]
377
313
  }
378
314
  },
@@ -381,9 +317,7 @@
381
317
  "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
382
318
  "value": {
383
319
  "type": [
384
- "boolean",
385
- "null",
386
- "undefined"
320
+ "boolean"
387
321
  ]
388
322
  }
389
323
  },
@@ -392,9 +326,7 @@
392
326
  "description": "If true, the user cannot interact with this element.",
393
327
  "value": {
394
328
  "type": [
395
- "boolean",
396
- "null",
397
- "undefined"
329
+ "boolean"
398
330
  ]
399
331
  }
400
332
  },
@@ -403,9 +335,7 @@
403
335
  "description": "Error to show when the field is invalid.",
404
336
  "value": {
405
337
  "type": [
406
- "string",
407
- "null",
408
- "undefined"
338
+ "string"
409
339
  ]
410
340
  }
411
341
  },
@@ -414,9 +344,7 @@
414
344
  "description": "String used for the helper text.",
415
345
  "value": {
416
346
  "type": [
417
- "string",
418
- "null",
419
- "undefined"
347
+ "string"
420
348
  ]
421
349
  }
422
350
  },
@@ -425,9 +353,7 @@
425
353
  "description": "Set to true when the field is invalid.",
426
354
  "value": {
427
355
  "type": [
428
- "boolean",
429
- "null",
430
- "undefined"
356
+ "boolean"
431
357
  ]
432
358
  }
433
359
  },
@@ -436,9 +362,7 @@
436
362
  "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
437
363
  "value": {
438
364
  "type": [
439
- "string",
440
- "null",
441
- "undefined"
365
+ "string"
442
366
  ]
443
367
  }
444
368
  },
@@ -447,9 +371,7 @@
447
371
  "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
448
372
  "value": {
449
373
  "type": [
450
- "boolean",
451
- "null",
452
- "undefined"
374
+ "boolean"
453
375
  ]
454
376
  }
455
377
  },
@@ -458,9 +380,7 @@
458
380
  "description": "Maximum number of characters (in Unicode code points) that the user can enter.",
459
381
  "value": {
460
382
  "type": [
461
- "number",
462
- "null",
463
- "undefined"
383
+ "number"
464
384
  ]
465
385
  }
466
386
  },
@@ -469,9 +389,7 @@
469
389
  "description": "Minimum number of characters (in Unicode code points) that the user can enter.",
470
390
  "value": {
471
391
  "type": [
472
- "number",
473
- "null",
474
- "undefined"
392
+ "number"
475
393
  ]
476
394
  }
477
395
  },
@@ -480,9 +398,7 @@
480
398
  "description": "The name of this field.",
481
399
  "value": {
482
400
  "type": [
483
- "string",
484
- "null",
485
- "undefined"
401
+ "string"
486
402
  ]
487
403
  }
488
404
  },
@@ -491,9 +407,7 @@
491
407
  "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
492
408
  "value": {
493
409
  "type": [
494
- "string",
495
- "null",
496
- "undefined"
410
+ "string"
497
411
  ]
498
412
  }
499
413
  },
@@ -502,9 +416,7 @@
502
416
  "description": "A hint to the user of what can be entered in the field.",
503
417
  "value": {
504
418
  "type": [
505
- "string",
506
- "null",
507
- "undefined"
419
+ "string"
508
420
  ]
509
421
  }
510
422
  },
@@ -513,9 +425,7 @@
513
425
  "description": "When present, it specifies that the field is read-only.",
514
426
  "value": {
515
427
  "type": [
516
- "boolean",
517
- "null",
518
- "undefined"
428
+ "boolean"
519
429
  ]
520
430
  }
521
431
  },
@@ -524,9 +434,7 @@
524
434
  "description": "Specifies that the user must fill in a value.",
525
435
  "value": {
526
436
  "type": [
527
- "boolean",
528
- "null",
529
- "undefined"
437
+ "boolean"
530
438
  ]
531
439
  }
532
440
  },
@@ -535,9 +443,7 @@
535
443
  "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
536
444
  "value": {
537
445
  "type": [
538
- "string",
539
- "null",
540
- "undefined"
446
+ "string"
541
447
  ]
542
448
  }
543
449
  },
@@ -546,9 +452,7 @@
546
452
  "description": "The value of the field.",
547
453
  "value": {
548
454
  "type": [
549
- "string",
550
- "null",
551
- "undefined"
455
+ "string"
552
456
  ]
553
457
  }
554
458
  }
@@ -560,7 +464,7 @@
560
464
  },
561
465
  {
562
466
  "name": "input",
563
- "description": "Fired when the value is changed by the user: on every typing keystroke,\nand the value is cleared using the clear button."
467
+ "description": "Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button."
564
468
  },
565
469
  {
566
470
  "name": "invalid-changed",