@vaadin/text-field 25.1.2 → 25.2.0-alpha10

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/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/text-field",
4
- "version": "25.1.2",
4
+ "version": "25.2.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,9 +15,7 @@
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",