@vaadin/text-area 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-area",
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 rows to expand to before the text area starts scrolling. This effectively sets a max-height\non the `input-field` part. By default, it is not set, and the text area grows with the content without\nconstraints.",
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": "Maximum 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": "Minimum number of rows to show. Default is two rows.\n\nWhen using a custom slotted textarea, the minimum number of rows are not applied for backwards compatibility.",
203
169
  "value": {
204
170
  "type": [
205
- "number",
206
- "null",
207
- "undefined"
171
+ "number"
208
172
  ]
209
173
  }
210
174
  },
@@ -213,9 +177,7 @@
213
177
  "description": "Minimum number of characters (in Unicode code points) that the user can enter.",
214
178
  "value": {
215
179
  "type": [
216
- "number",
217
- "null",
218
- "undefined"
180
+ "number"
219
181
  ]
220
182
  }
221
183
  },
@@ -224,9 +186,7 @@
224
186
  "description": "The name of this 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": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
236
196
  "value": {
237
197
  "type": [
238
- "string",
239
- "null",
240
- "undefined"
198
+ "string"
241
199
  ]
242
200
  }
243
201
  },
@@ -246,9 +204,7 @@
246
204
  "description": "A hint to the user of what can be entered in the field.",
247
205
  "value": {
248
206
  "type": [
249
- "string",
250
- "null",
251
- "undefined"
207
+ "string"
252
208
  ]
253
209
  }
254
210
  },
@@ -257,9 +213,7 @@
257
213
  "description": "When present, it specifies that the field is read-only.",
258
214
  "value": {
259
215
  "type": [
260
- "boolean",
261
- "null",
262
- "undefined"
216
+ "boolean"
263
217
  ]
264
218
  }
265
219
  },
@@ -268,9 +222,7 @@
268
222
  "description": "Specifies that the user must fill in a value.",
269
223
  "value": {
270
224
  "type": [
271
- "boolean",
272
- "null",
273
- "undefined"
225
+ "boolean"
274
226
  ]
275
227
  }
276
228
  },
@@ -290,9 +242,7 @@
290
242
  "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
291
243
  "value": {
292
244
  "type": [
293
- "string",
294
- "null",
295
- "undefined"
245
+ "string"
296
246
  ]
297
247
  }
298
248
  },
@@ -301,9 +251,7 @@
301
251
  "description": "The value of the field.",
302
252
  "value": {
303
253
  "type": [
304
- "string",
305
- "null",
306
- "undefined"
254
+ "string"
307
255
  ]
308
256
  }
309
257
  }
@@ -315,9 +263,7 @@
315
263
  "description": "String used to label the component to screen reader users.",
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": "Id of the element used as label of the component to screen reader users.",
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": "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-]\"`",
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 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.",
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": "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",
360
300
  "value": {
361
301
  "type": [
362
- "string",
363
- "null",
364
- "undefined"
302
+ "string"
365
303
  ]
366
304
  }
367
305
  },
@@ -370,9 +308,7 @@
370
308
  "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.",
371
309
  "value": {
372
310
  "type": [
373
- "string",
374
- "null",
375
- "undefined"
311
+ "string"
376
312
  ]
377
313
  }
378
314
  },
@@ -381,9 +317,7 @@
381
317
  "description": "Specify that this control should have input focus when the page loads.",
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 input text gets fully selected when the field is focused using click or touch / tap.",
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": "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.",
404
336
  "value": {
405
337
  "type": [
406
- "boolean",
407
- "null",
408
- "undefined"
338
+ "boolean"
409
339
  ]
410
340
  }
411
341
  },
@@ -414,9 +344,7 @@
414
344
  "description": "If true, the user cannot interact with this element.",
415
345
  "value": {
416
346
  "type": [
417
- "boolean",
418
- "null",
419
- "undefined"
347
+ "boolean"
420
348
  ]
421
349
  }
422
350
  },
@@ -425,9 +353,7 @@
425
353
  "description": "Error to show when the field is invalid.",
426
354
  "value": {
427
355
  "type": [
428
- "string",
429
- "null",
430
- "undefined"
356
+ "string"
431
357
  ]
432
358
  }
433
359
  },
@@ -436,9 +362,7 @@
436
362
  "description": "String used for the helper text.",
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 when the field is invalid.",
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": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
459
381
  "value": {
460
382
  "type": [
461
- "string",
462
- "null",
463
- "undefined"
383
+ "string"
464
384
  ]
465
385
  }
466
386
  },
@@ -469,9 +389,7 @@
469
389
  "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.",
470
390
  "value": {
471
391
  "type": [
472
- "boolean",
473
- "null",
474
- "undefined"
392
+ "boolean"
475
393
  ]
476
394
  }
477
395
  },
@@ -480,9 +398,7 @@
480
398
  "description": "Maximum number of characters (in Unicode code points) that the user can enter.",
481
399
  "value": {
482
400
  "type": [
483
- "number",
484
- "null",
485
- "undefined"
401
+ "number"
486
402
  ]
487
403
  }
488
404
  },
@@ -491,9 +407,7 @@
491
407
  "description": "Maximum number of rows to expand to before the text area starts scrolling. This effectively sets a max-height\non the `input-field` part. By default, it is not set, and the text area grows with the content without\nconstraints.",
492
408
  "value": {
493
409
  "type": [
494
- "number",
495
- "null",
496
- "undefined"
410
+ "number"
497
411
  ]
498
412
  }
499
413
  },
@@ -502,9 +416,7 @@
502
416
  "description": "Minimum number of characters (in Unicode code points) that the user can enter.",
503
417
  "value": {
504
418
  "type": [
505
- "number",
506
- "null",
507
- "undefined"
419
+ "number"
508
420
  ]
509
421
  }
510
422
  },
@@ -513,9 +425,7 @@
513
425
  "description": "Minimum number of rows to show. Default is two rows.\n\nWhen using a custom slotted textarea, the minimum number of rows are not applied for backwards compatibility.",
514
426
  "value": {
515
427
  "type": [
516
- "number",
517
- "null",
518
- "undefined"
428
+ "number"
519
429
  ]
520
430
  }
521
431
  },
@@ -524,9 +434,7 @@
524
434
  "description": "The name of this field.",
525
435
  "value": {
526
436
  "type": [
527
- "string",
528
- "null",
529
- "undefined"
437
+ "string"
530
438
  ]
531
439
  }
532
440
  },
@@ -535,9 +443,7 @@
535
443
  "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
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": "A hint to the user of what can be entered in the field.",
547
453
  "value": {
548
454
  "type": [
549
- "string",
550
- "null",
551
- "undefined"
455
+ "string"
552
456
  ]
553
457
  }
554
458
  },
@@ -557,9 +461,7 @@
557
461
  "description": "When present, it specifies that the field is read-only.",
558
462
  "value": {
559
463
  "type": [
560
- "boolean",
561
- "null",
562
- "undefined"
464
+ "boolean"
563
465
  ]
564
466
  }
565
467
  },
@@ -568,9 +470,7 @@
568
470
  "description": "Specifies that the user must fill in a value.",
569
471
  "value": {
570
472
  "type": [
571
- "boolean",
572
- "null",
573
- "undefined"
473
+ "boolean"
574
474
  ]
575
475
  }
576
476
  },
@@ -579,9 +479,7 @@
579
479
  "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
580
480
  "value": {
581
481
  "type": [
582
- "string",
583
- "null",
584
- "undefined"
482
+ "string"
585
483
  ]
586
484
  }
587
485
  },
@@ -590,9 +488,7 @@
590
488
  "description": "The value of the field.",
591
489
  "value": {
592
490
  "type": [
593
- "string",
594
- "null",
595
- "undefined"
491
+ "string"
596
492
  ]
597
493
  }
598
494
  }
@@ -604,7 +500,7 @@
604
500
  },
605
501
  {
606
502
  "name": "input",
607
- "description": "Fired when the value is changed by the user: on every typing keystroke,\nand the value is cleared using the clear button."
503
+ "description": "Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button."
608
504
  },
609
505
  {
610
506
  "name": "invalid-changed",