@warp-ds/elements 2.9.1 → 2.9.2-next.1
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/dist/custom-elements.json +72 -226
- package/dist/docs/radio/accessibility.md +1 -0
- package/dist/docs/radio/api.md +57 -0
- package/dist/docs/radio/examples.md +1 -0
- package/dist/docs/radio/radio.md +69 -0
- package/dist/docs/radio/usage.md +1 -0
- package/dist/docs/radio-group/accessibility.md +1 -0
- package/dist/docs/radio-group/api.md +69 -0
- package/dist/docs/radio-group/examples.md +68 -0
- package/dist/docs/radio-group/radio-group.md +311 -0
- package/dist/docs/radio-group/styling.md +118 -0
- package/dist/docs/radio-group/usage.md +44 -0
- package/dist/docs/select/accessibility.md +2 -0
- package/dist/docs/select/api.md +20 -16
- package/dist/docs/select/examples.md +116 -0
- package/dist/docs/select/select.md +168 -18
- package/dist/docs/select/usage.md +30 -0
- package/dist/index.d.ts +136 -185
- package/dist/packages/radio/radio.d.ts +51 -13
- package/dist/packages/radio/radio.js +3 -3
- package/dist/packages/radio/radio.js.map +3 -3
- package/dist/packages/radio/radio.react.stories.d.ts +1 -1
- package/dist/packages/radio/radio.stories.d.ts +2 -2
- package/dist/packages/radio/react.d.ts +2 -2
- package/dist/packages/radio-group/radio-group.d.ts +43 -5
- package/dist/packages/radio-group/radio-group.js +7 -7
- package/dist/packages/radio-group/radio-group.js.map +3 -3
- package/dist/packages/radio-group/react.d.ts +4 -4
- package/dist/packages/select/select.d.ts +32 -48
- package/dist/packages/select/select.js.map +2 -2
- package/dist/web-types.json +78 -46
- package/package.json +1 -1
|
@@ -5064,17 +5064,8 @@
|
|
|
5064
5064
|
{
|
|
5065
5065
|
"kind": "class",
|
|
5066
5066
|
"description": "",
|
|
5067
|
-
"name": "
|
|
5067
|
+
"name": "WarpRadio",
|
|
5068
5068
|
"members": [
|
|
5069
|
-
{
|
|
5070
|
-
"kind": "field",
|
|
5071
|
-
"name": "shadowRootOptions",
|
|
5072
|
-
"type": {
|
|
5073
|
-
"text": "object"
|
|
5074
|
-
},
|
|
5075
|
-
"static": true,
|
|
5076
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5077
|
-
},
|
|
5078
5069
|
{
|
|
5079
5070
|
"kind": "field",
|
|
5080
5071
|
"name": "name",
|
|
@@ -5140,14 +5131,6 @@
|
|
|
5140
5131
|
"attribute": "invalid",
|
|
5141
5132
|
"reflects": true
|
|
5142
5133
|
},
|
|
5143
|
-
{
|
|
5144
|
-
"kind": "field",
|
|
5145
|
-
"name": "tabIndex",
|
|
5146
|
-
"type": {
|
|
5147
|
-
"text": "number"
|
|
5148
|
-
},
|
|
5149
|
-
"description": "Override tabIndex setter to set _groupTabIndex (for backwards compatibility).\nRadio-group should use _groupTabIndex directly for clarity."
|
|
5150
|
-
},
|
|
5151
5134
|
{
|
|
5152
5135
|
"kind": "field",
|
|
5153
5136
|
"name": "#defaultChecked",
|
|
@@ -5201,62 +5184,6 @@
|
|
|
5201
5184
|
"name": "handleKeyDown",
|
|
5202
5185
|
"privacy": "private"
|
|
5203
5186
|
},
|
|
5204
|
-
{
|
|
5205
|
-
"kind": "method",
|
|
5206
|
-
"name": "resetFormControl",
|
|
5207
|
-
"return": {
|
|
5208
|
-
"type": {
|
|
5209
|
-
"text": "void"
|
|
5210
|
-
}
|
|
5211
|
-
},
|
|
5212
|
-
"type": {
|
|
5213
|
-
"text": "resetFormControl() => void"
|
|
5214
|
-
}
|
|
5215
|
-
},
|
|
5216
|
-
{
|
|
5217
|
-
"kind": "field",
|
|
5218
|
-
"name": "validationMessage",
|
|
5219
|
-
"type": {
|
|
5220
|
-
"text": "string"
|
|
5221
|
-
},
|
|
5222
|
-
"description": "Returns the validation message if the radio is invalid, otherwise an empty string",
|
|
5223
|
-
"readonly": true
|
|
5224
|
-
},
|
|
5225
|
-
{
|
|
5226
|
-
"kind": "field",
|
|
5227
|
-
"name": "validity",
|
|
5228
|
-
"type": {
|
|
5229
|
-
"text": "ValidityState"
|
|
5230
|
-
},
|
|
5231
|
-
"description": "Returns the validity state of the radio",
|
|
5232
|
-
"readonly": true
|
|
5233
|
-
},
|
|
5234
|
-
{
|
|
5235
|
-
"kind": "method",
|
|
5236
|
-
"name": "checkValidity",
|
|
5237
|
-
"return": {
|
|
5238
|
-
"type": {
|
|
5239
|
-
"text": "boolean"
|
|
5240
|
-
}
|
|
5241
|
-
},
|
|
5242
|
-
"description": "Checks whether the radio passes constraint validation",
|
|
5243
|
-
"type": {
|
|
5244
|
-
"text": "checkValidity() => boolean"
|
|
5245
|
-
}
|
|
5246
|
-
},
|
|
5247
|
-
{
|
|
5248
|
-
"kind": "method",
|
|
5249
|
-
"name": "reportValidity",
|
|
5250
|
-
"return": {
|
|
5251
|
-
"type": {
|
|
5252
|
-
"text": "boolean"
|
|
5253
|
-
}
|
|
5254
|
-
},
|
|
5255
|
-
"description": "Checks validity and shows the browser's validation message if invalid",
|
|
5256
|
-
"type": {
|
|
5257
|
-
"text": "reportValidity() => boolean"
|
|
5258
|
-
}
|
|
5259
|
-
},
|
|
5260
5187
|
{
|
|
5261
5188
|
"kind": "method",
|
|
5262
5189
|
"name": "isInGroup",
|
|
@@ -5283,7 +5210,7 @@
|
|
|
5283
5210
|
"privacy": "private",
|
|
5284
5211
|
"return": {
|
|
5285
5212
|
"type": {
|
|
5286
|
-
"text": "
|
|
5213
|
+
"text": "WarpRadio[]"
|
|
5287
5214
|
}
|
|
5288
5215
|
}
|
|
5289
5216
|
},
|
|
@@ -5307,14 +5234,6 @@
|
|
|
5307
5234
|
"description": "Computed tabindex for the internal focusable element.\nPriority: group-managed > standalone-managed > default",
|
|
5308
5235
|
"readonly": true
|
|
5309
5236
|
},
|
|
5310
|
-
{
|
|
5311
|
-
"kind": "field",
|
|
5312
|
-
"name": "_standaloneTabIndex",
|
|
5313
|
-
"type": {
|
|
5314
|
-
"text": "number | undefined"
|
|
5315
|
-
},
|
|
5316
|
-
"description": "Internal tabindex for standalone radios (not in a group).\nNon-reflecting to avoid DOM changes during hydration."
|
|
5317
|
-
},
|
|
5318
5237
|
{
|
|
5319
5238
|
"kind": "method",
|
|
5320
5239
|
"name": "uncheckOtherRadios",
|
|
@@ -5429,13 +5348,31 @@
|
|
|
5429
5348
|
"name": "LitElement",
|
|
5430
5349
|
"package": "lit"
|
|
5431
5350
|
},
|
|
5351
|
+
"parent": {
|
|
5352
|
+
"name": "w-radio-group",
|
|
5353
|
+
"description": ""
|
|
5354
|
+
},
|
|
5432
5355
|
"tagName": "w-radio",
|
|
5433
5356
|
"customElement": true,
|
|
5434
5357
|
"modulePath": "packages/radio/radio.ts",
|
|
5435
5358
|
"definitionPath": "packages/radio/radio.ts"
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"kind": "variable",
|
|
5362
|
+
"name": "WRadio",
|
|
5363
|
+
"default": "WarpRadio",
|
|
5364
|
+
"deprecated": "Exported for backwards compatibility only, use `WarpRadio`"
|
|
5436
5365
|
}
|
|
5437
5366
|
],
|
|
5438
5367
|
"exports": [
|
|
5368
|
+
{
|
|
5369
|
+
"kind": "js",
|
|
5370
|
+
"name": "WarpRadio",
|
|
5371
|
+
"declaration": {
|
|
5372
|
+
"name": "WarpRadio",
|
|
5373
|
+
"module": "packages/radio/radio.ts"
|
|
5374
|
+
}
|
|
5375
|
+
},
|
|
5439
5376
|
{
|
|
5440
5377
|
"kind": "js",
|
|
5441
5378
|
"name": "WRadio",
|
|
@@ -5448,7 +5385,7 @@
|
|
|
5448
5385
|
"kind": "custom-element-definition",
|
|
5449
5386
|
"name": "w-radio",
|
|
5450
5387
|
"declaration": {
|
|
5451
|
-
"name": "
|
|
5388
|
+
"name": "WarpRadio",
|
|
5452
5389
|
"module": "packages/radio/radio.ts"
|
|
5453
5390
|
}
|
|
5454
5391
|
}
|
|
@@ -5460,8 +5397,8 @@
|
|
|
5460
5397
|
"declarations": [
|
|
5461
5398
|
{
|
|
5462
5399
|
"kind": "class",
|
|
5463
|
-
"description": "",
|
|
5464
|
-
"name": "
|
|
5400
|
+
"description": "Radios allow users to select a single option from a list of choices.\n\nUse with `w-radio`.",
|
|
5401
|
+
"name": "WarpRadioGroup",
|
|
5465
5402
|
"slots": [
|
|
5466
5403
|
{
|
|
5467
5404
|
"description": "Alternative to the `label` attribute should you need custom HTML.",
|
|
@@ -5473,14 +5410,6 @@
|
|
|
5473
5410
|
}
|
|
5474
5411
|
],
|
|
5475
5412
|
"members": [
|
|
5476
|
-
{
|
|
5477
|
-
"kind": "field",
|
|
5478
|
-
"name": "hasInteracted",
|
|
5479
|
-
"type": {
|
|
5480
|
-
"text": "boolean"
|
|
5481
|
-
},
|
|
5482
|
-
"default": "false"
|
|
5483
|
-
},
|
|
5484
5413
|
{
|
|
5485
5414
|
"kind": "field",
|
|
5486
5415
|
"name": "hasWarnedMissingName",
|
|
@@ -5506,6 +5435,7 @@
|
|
|
5506
5435
|
"text": "string"
|
|
5507
5436
|
},
|
|
5508
5437
|
"default": "''",
|
|
5438
|
+
"description": "Label for the radio group.",
|
|
5509
5439
|
"attribute": "label"
|
|
5510
5440
|
},
|
|
5511
5441
|
{
|
|
@@ -5515,6 +5445,7 @@
|
|
|
5515
5445
|
"text": "string"
|
|
5516
5446
|
},
|
|
5517
5447
|
"default": "''",
|
|
5448
|
+
"description": "Help text for the radio group.\n\nIf you set `required` and `invalid` the group gets a default error message, but you can override it with this attribute.",
|
|
5518
5449
|
"attribute": "help-text"
|
|
5519
5450
|
},
|
|
5520
5451
|
{
|
|
@@ -5524,6 +5455,7 @@
|
|
|
5524
5455
|
"text": "boolean"
|
|
5525
5456
|
},
|
|
5526
5457
|
"default": "false",
|
|
5458
|
+
"description": "Whether to show optional text next to the label.",
|
|
5527
5459
|
"attribute": "optional",
|
|
5528
5460
|
"reflects": true
|
|
5529
5461
|
},
|
|
@@ -5534,6 +5466,7 @@
|
|
|
5534
5466
|
"text": "boolean"
|
|
5535
5467
|
},
|
|
5536
5468
|
"default": "false",
|
|
5469
|
+
"description": "Marks the radio group as invalid.",
|
|
5537
5470
|
"attribute": "invalid",
|
|
5538
5471
|
"reflects": true
|
|
5539
5472
|
},
|
|
@@ -5544,6 +5477,7 @@
|
|
|
5544
5477
|
"text": "string | null"
|
|
5545
5478
|
},
|
|
5546
5479
|
"default": "null",
|
|
5480
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
5547
5481
|
"attribute": "name",
|
|
5548
5482
|
"reflects": true
|
|
5549
5483
|
},
|
|
@@ -5554,6 +5488,7 @@
|
|
|
5554
5488
|
"text": "boolean"
|
|
5555
5489
|
},
|
|
5556
5490
|
"default": "false",
|
|
5491
|
+
"description": "Disables the radio group and all child radios.",
|
|
5557
5492
|
"attribute": "disabled",
|
|
5558
5493
|
"reflects": true
|
|
5559
5494
|
},
|
|
@@ -5564,6 +5499,7 @@
|
|
|
5564
5499
|
"text": "boolean"
|
|
5565
5500
|
},
|
|
5566
5501
|
"default": "false",
|
|
5502
|
+
"description": "Makes selecting a radio in the the group required.",
|
|
5567
5503
|
"attribute": "required",
|
|
5568
5504
|
"reflects": true
|
|
5569
5505
|
},
|
|
@@ -5590,14 +5526,14 @@
|
|
|
5590
5526
|
"name": "nameManagedRadios",
|
|
5591
5527
|
"privacy": "private",
|
|
5592
5528
|
"readonly": true,
|
|
5593
|
-
"default": "new WeakSet<
|
|
5529
|
+
"default": "new WeakSet<WarpRadio>()"
|
|
5594
5530
|
},
|
|
5595
5531
|
{
|
|
5596
5532
|
"kind": "field",
|
|
5597
5533
|
"name": "disabledManagedRadios",
|
|
5598
5534
|
"privacy": "private",
|
|
5599
5535
|
"readonly": true,
|
|
5600
|
-
"default": "new WeakSet<
|
|
5536
|
+
"default": "new WeakSet<WarpRadio>()"
|
|
5601
5537
|
},
|
|
5602
5538
|
{
|
|
5603
5539
|
"kind": "field",
|
|
@@ -5607,27 +5543,6 @@
|
|
|
5607
5543
|
},
|
|
5608
5544
|
"privacy": "private"
|
|
5609
5545
|
},
|
|
5610
|
-
{
|
|
5611
|
-
"kind": "field",
|
|
5612
|
-
"name": "shadowRootOptions",
|
|
5613
|
-
"type": {
|
|
5614
|
-
"text": "object"
|
|
5615
|
-
},
|
|
5616
|
-
"static": true,
|
|
5617
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }"
|
|
5618
|
-
},
|
|
5619
|
-
{
|
|
5620
|
-
"kind": "field",
|
|
5621
|
-
"name": "validationTarget",
|
|
5622
|
-
"readonly": true
|
|
5623
|
-
},
|
|
5624
|
-
{
|
|
5625
|
-
"kind": "method",
|
|
5626
|
-
"name": "resetFormControl",
|
|
5627
|
-
"type": {
|
|
5628
|
-
"text": "resetFormControl() => void"
|
|
5629
|
-
}
|
|
5630
|
-
},
|
|
5631
5546
|
{
|
|
5632
5547
|
"kind": "field",
|
|
5633
5548
|
"name": "handleRadioClick",
|
|
@@ -5654,7 +5569,7 @@
|
|
|
5654
5569
|
"privacy": "private",
|
|
5655
5570
|
"return": {
|
|
5656
5571
|
"type": {
|
|
5657
|
-
"text": "
|
|
5572
|
+
"text": "WarpRadio[]"
|
|
5658
5573
|
}
|
|
5659
5574
|
},
|
|
5660
5575
|
"parameters": [
|
|
@@ -5677,7 +5592,7 @@
|
|
|
5677
5592
|
{
|
|
5678
5593
|
"name": "selected",
|
|
5679
5594
|
"type": {
|
|
5680
|
-
"text": "
|
|
5595
|
+
"text": "WarpRadio"
|
|
5681
5596
|
}
|
|
5682
5597
|
},
|
|
5683
5598
|
{
|
|
@@ -5724,7 +5639,7 @@
|
|
|
5724
5639
|
{
|
|
5725
5640
|
"name": "radio",
|
|
5726
5641
|
"type": {
|
|
5727
|
-
"text": "
|
|
5642
|
+
"text": "WarpRadio"
|
|
5728
5643
|
}
|
|
5729
5644
|
}
|
|
5730
5645
|
]
|
|
@@ -5737,7 +5652,7 @@
|
|
|
5737
5652
|
{
|
|
5738
5653
|
"name": "radios",
|
|
5739
5654
|
"type": {
|
|
5740
|
-
"text": "
|
|
5655
|
+
"text": "WarpRadio[]"
|
|
5741
5656
|
}
|
|
5742
5657
|
}
|
|
5743
5658
|
]
|
|
@@ -5760,37 +5675,6 @@
|
|
|
5760
5675
|
}
|
|
5761
5676
|
]
|
|
5762
5677
|
},
|
|
5763
|
-
{
|
|
5764
|
-
"kind": "method",
|
|
5765
|
-
"name": "focus",
|
|
5766
|
-
"privacy": "public",
|
|
5767
|
-
"parameters": [
|
|
5768
|
-
{
|
|
5769
|
-
"name": "options",
|
|
5770
|
-
"optional": true,
|
|
5771
|
-
"type": {
|
|
5772
|
-
"text": "FocusOptions"
|
|
5773
|
-
}
|
|
5774
|
-
}
|
|
5775
|
-
],
|
|
5776
|
-
"type": {
|
|
5777
|
-
"text": "focus(options?: FocusOptions) => void"
|
|
5778
|
-
}
|
|
5779
|
-
},
|
|
5780
|
-
{
|
|
5781
|
-
"kind": "method",
|
|
5782
|
-
"name": "checkValidity",
|
|
5783
|
-
"type": {
|
|
5784
|
-
"text": "checkValidity() => void"
|
|
5785
|
-
}
|
|
5786
|
-
},
|
|
5787
|
-
{
|
|
5788
|
-
"kind": "method",
|
|
5789
|
-
"name": "reportValidity",
|
|
5790
|
-
"type": {
|
|
5791
|
-
"text": "reportValidity() => void"
|
|
5792
|
-
}
|
|
5793
|
-
},
|
|
5794
5678
|
{
|
|
5795
5679
|
"kind": "method",
|
|
5796
5680
|
"name": "hasSlottedContent",
|
|
@@ -5827,7 +5711,7 @@
|
|
|
5827
5711
|
{
|
|
5828
5712
|
"name": "radios",
|
|
5829
5713
|
"type": {
|
|
5830
|
-
"text": "
|
|
5714
|
+
"text": "WarpRadio[]"
|
|
5831
5715
|
}
|
|
5832
5716
|
}
|
|
5833
5717
|
]
|
|
@@ -5889,6 +5773,7 @@
|
|
|
5889
5773
|
"text": "string"
|
|
5890
5774
|
},
|
|
5891
5775
|
"default": "''",
|
|
5776
|
+
"description": "Label for the radio group.",
|
|
5892
5777
|
"fieldName": "label"
|
|
5893
5778
|
},
|
|
5894
5779
|
{
|
|
@@ -5897,6 +5782,7 @@
|
|
|
5897
5782
|
"text": "string"
|
|
5898
5783
|
},
|
|
5899
5784
|
"default": "''",
|
|
5785
|
+
"description": "Help text for the radio group.\n\nIf you set `required` and `invalid` the group gets a default error message, but you can override it with this attribute.",
|
|
5900
5786
|
"fieldName": "helpText"
|
|
5901
5787
|
},
|
|
5902
5788
|
{
|
|
@@ -5905,6 +5791,7 @@
|
|
|
5905
5791
|
"text": "boolean"
|
|
5906
5792
|
},
|
|
5907
5793
|
"default": "false",
|
|
5794
|
+
"description": "Whether to show optional text next to the label.",
|
|
5908
5795
|
"fieldName": "optional"
|
|
5909
5796
|
},
|
|
5910
5797
|
{
|
|
@@ -5913,6 +5800,7 @@
|
|
|
5913
5800
|
"text": "boolean"
|
|
5914
5801
|
},
|
|
5915
5802
|
"default": "false",
|
|
5803
|
+
"description": "Marks the radio group as invalid.",
|
|
5916
5804
|
"fieldName": "invalid"
|
|
5917
5805
|
},
|
|
5918
5806
|
{
|
|
@@ -5921,6 +5809,7 @@
|
|
|
5921
5809
|
"text": "string | null"
|
|
5922
5810
|
},
|
|
5923
5811
|
"default": "null",
|
|
5812
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
5924
5813
|
"fieldName": "name"
|
|
5925
5814
|
},
|
|
5926
5815
|
{
|
|
@@ -5929,6 +5818,7 @@
|
|
|
5929
5818
|
"text": "boolean"
|
|
5930
5819
|
},
|
|
5931
5820
|
"default": "false",
|
|
5821
|
+
"description": "Disables the radio group and all child radios.",
|
|
5932
5822
|
"fieldName": "disabled"
|
|
5933
5823
|
},
|
|
5934
5824
|
{
|
|
@@ -5937,6 +5827,7 @@
|
|
|
5937
5827
|
"text": "boolean"
|
|
5938
5828
|
},
|
|
5939
5829
|
"default": "false",
|
|
5830
|
+
"description": "Makes selecting a radio in the the group required.",
|
|
5940
5831
|
"fieldName": "required"
|
|
5941
5832
|
}
|
|
5942
5833
|
],
|
|
@@ -5954,9 +5845,23 @@
|
|
|
5954
5845
|
"customElement": true,
|
|
5955
5846
|
"modulePath": "packages/radio-group/radio-group.ts",
|
|
5956
5847
|
"definitionPath": "packages/radio-group/radio-group.ts"
|
|
5848
|
+
},
|
|
5849
|
+
{
|
|
5850
|
+
"kind": "variable",
|
|
5851
|
+
"name": "WRadioGroup",
|
|
5852
|
+
"default": "WarpRadioGroup",
|
|
5853
|
+
"deprecated": "Exported for backwards compatibility only, use `WarpRadioGroup`"
|
|
5957
5854
|
}
|
|
5958
5855
|
],
|
|
5959
5856
|
"exports": [
|
|
5857
|
+
{
|
|
5858
|
+
"kind": "js",
|
|
5859
|
+
"name": "WarpRadioGroup",
|
|
5860
|
+
"declaration": {
|
|
5861
|
+
"name": "WarpRadioGroup",
|
|
5862
|
+
"module": "packages/radio-group/radio-group.ts"
|
|
5863
|
+
}
|
|
5864
|
+
},
|
|
5960
5865
|
{
|
|
5961
5866
|
"kind": "js",
|
|
5962
5867
|
"name": "WRadioGroup",
|
|
@@ -5969,7 +5874,7 @@
|
|
|
5969
5874
|
"kind": "custom-element-definition",
|
|
5970
5875
|
"name": "w-radio-group",
|
|
5971
5876
|
"declaration": {
|
|
5972
|
-
"name": "
|
|
5877
|
+
"name": "WarpRadioGroup",
|
|
5973
5878
|
"module": "packages/radio-group/radio-group.ts"
|
|
5974
5879
|
}
|
|
5975
5880
|
}
|
|
@@ -5981,7 +5886,7 @@
|
|
|
5981
5886
|
"declarations": [
|
|
5982
5887
|
{
|
|
5983
5888
|
"kind": "class",
|
|
5984
|
-
"description": "A dropdown component for selecting a single value
|
|
5889
|
+
"description": "A dropdown component for selecting a single value.",
|
|
5985
5890
|
"name": "WarpSelect",
|
|
5986
5891
|
"members": [
|
|
5987
5892
|
{
|
|
@@ -6013,7 +5918,7 @@
|
|
|
6013
5918
|
"type": {
|
|
6014
5919
|
"text": "string"
|
|
6015
5920
|
},
|
|
6016
|
-
"description": "The content displayed as the help text
|
|
5921
|
+
"description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
|
|
6017
5922
|
"attribute": "help-text",
|
|
6018
5923
|
"reflects": true
|
|
6019
5924
|
},
|
|
@@ -6024,7 +5929,7 @@
|
|
|
6024
5929
|
"text": "boolean"
|
|
6025
5930
|
},
|
|
6026
5931
|
"default": "false",
|
|
6027
|
-
"description": "Renders the field in an invalid state
|
|
5932
|
+
"description": "Renders the field in an invalid state.\n\nPaired with `help-text` to provide feedback about the error.",
|
|
6028
5933
|
"attribute": "invalid",
|
|
6029
5934
|
"reflects": true
|
|
6030
5935
|
},
|
|
@@ -6057,7 +5962,7 @@
|
|
|
6057
5962
|
"type": {
|
|
6058
5963
|
"text": "string"
|
|
6059
5964
|
},
|
|
6060
|
-
"description": "The content to
|
|
5965
|
+
"description": "The content to display as the label.",
|
|
6061
5966
|
"attribute": "label",
|
|
6062
5967
|
"reflects": true
|
|
6063
5968
|
},
|
|
@@ -6068,7 +5973,7 @@
|
|
|
6068
5973
|
"text": "boolean"
|
|
6069
5974
|
},
|
|
6070
5975
|
"default": "false",
|
|
6071
|
-
"description": "Whether to show optional
|
|
5976
|
+
"description": "Whether to show the optional indicator after the label.",
|
|
6072
5977
|
"attribute": "optional",
|
|
6073
5978
|
"reflects": true
|
|
6074
5979
|
},
|
|
@@ -6112,6 +6017,7 @@
|
|
|
6112
6017
|
"type": {
|
|
6113
6018
|
"text": "string"
|
|
6114
6019
|
},
|
|
6020
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
6115
6021
|
"attribute": "name",
|
|
6116
6022
|
"reflects": true
|
|
6117
6023
|
},
|
|
@@ -6121,6 +6027,7 @@
|
|
|
6121
6027
|
"type": {
|
|
6122
6028
|
"text": "string"
|
|
6123
6029
|
},
|
|
6030
|
+
"description": "Lets you set the current value.",
|
|
6124
6031
|
"attribute": "value",
|
|
6125
6032
|
"reflects": true
|
|
6126
6033
|
},
|
|
@@ -6146,18 +6053,6 @@
|
|
|
6146
6053
|
"text": "MutationObserver | undefined"
|
|
6147
6054
|
}
|
|
6148
6055
|
},
|
|
6149
|
-
{
|
|
6150
|
-
"kind": "method",
|
|
6151
|
-
"name": "resetFormControl",
|
|
6152
|
-
"return": {
|
|
6153
|
-
"type": {
|
|
6154
|
-
"text": "void"
|
|
6155
|
-
}
|
|
6156
|
-
},
|
|
6157
|
-
"type": {
|
|
6158
|
-
"text": "resetFormControl() => void"
|
|
6159
|
-
}
|
|
6160
|
-
},
|
|
6161
6056
|
{
|
|
6162
6057
|
"kind": "method",
|
|
6163
6058
|
"name": "#getOptionNodes",
|
|
@@ -6214,42 +6109,6 @@
|
|
|
6214
6109
|
}
|
|
6215
6110
|
]
|
|
6216
6111
|
},
|
|
6217
|
-
{
|
|
6218
|
-
"kind": "method",
|
|
6219
|
-
"name": "formStateRestoreCallback",
|
|
6220
|
-
"parameters": [
|
|
6221
|
-
{
|
|
6222
|
-
"name": "state",
|
|
6223
|
-
"type": {
|
|
6224
|
-
"text": "string | File | FormData | null"
|
|
6225
|
-
}
|
|
6226
|
-
},
|
|
6227
|
-
{
|
|
6228
|
-
"name": "_reason",
|
|
6229
|
-
"type": {
|
|
6230
|
-
"text": "'autocomplete' | 'restore'"
|
|
6231
|
-
}
|
|
6232
|
-
}
|
|
6233
|
-
],
|
|
6234
|
-
"type": {
|
|
6235
|
-
"text": "formStateRestoreCallback(state: string | File | FormData | null, _reason: 'autocomplete' | 'restore') => void"
|
|
6236
|
-
}
|
|
6237
|
-
},
|
|
6238
|
-
{
|
|
6239
|
-
"kind": "method",
|
|
6240
|
-
"name": "handleKeyDown",
|
|
6241
|
-
"parameters": [
|
|
6242
|
-
{
|
|
6243
|
-
"name": "event",
|
|
6244
|
-
"type": {
|
|
6245
|
-
"text": "KeyboardEvent"
|
|
6246
|
-
}
|
|
6247
|
-
}
|
|
6248
|
-
],
|
|
6249
|
-
"type": {
|
|
6250
|
-
"text": "handleKeyDown(event: KeyboardEvent) => void"
|
|
6251
|
-
}
|
|
6252
|
-
},
|
|
6253
6112
|
{
|
|
6254
6113
|
"kind": "field",
|
|
6255
6114
|
"name": "#classes",
|
|
@@ -6279,21 +6138,6 @@
|
|
|
6279
6138
|
"name": "#helpId",
|
|
6280
6139
|
"privacy": "private",
|
|
6281
6140
|
"readonly": true
|
|
6282
|
-
},
|
|
6283
|
-
{
|
|
6284
|
-
"kind": "method",
|
|
6285
|
-
"name": "onChange",
|
|
6286
|
-
"parameters": [
|
|
6287
|
-
{
|
|
6288
|
-
"name": "event",
|
|
6289
|
-
"type": {
|
|
6290
|
-
"text": "Event"
|
|
6291
|
-
}
|
|
6292
|
-
}
|
|
6293
|
-
],
|
|
6294
|
-
"type": {
|
|
6295
|
-
"text": "onChange(event: Event) => void"
|
|
6296
|
-
}
|
|
6297
6141
|
}
|
|
6298
6142
|
],
|
|
6299
6143
|
"events": [
|
|
@@ -6329,7 +6173,7 @@
|
|
|
6329
6173
|
"type": {
|
|
6330
6174
|
"text": "string"
|
|
6331
6175
|
},
|
|
6332
|
-
"description": "The content displayed as the help text
|
|
6176
|
+
"description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
|
|
6333
6177
|
"fieldName": "helpText"
|
|
6334
6178
|
},
|
|
6335
6179
|
{
|
|
@@ -6338,7 +6182,7 @@
|
|
|
6338
6182
|
"text": "boolean"
|
|
6339
6183
|
},
|
|
6340
6184
|
"default": "false",
|
|
6341
|
-
"description": "Renders the field in an invalid state
|
|
6185
|
+
"description": "Renders the field in an invalid state.\n\nPaired with `help-text` to provide feedback about the error.",
|
|
6342
6186
|
"fieldName": "invalid"
|
|
6343
6187
|
},
|
|
6344
6188
|
{
|
|
@@ -6365,7 +6209,7 @@
|
|
|
6365
6209
|
"type": {
|
|
6366
6210
|
"text": "string"
|
|
6367
6211
|
},
|
|
6368
|
-
"description": "The content to
|
|
6212
|
+
"description": "The content to display as the label.",
|
|
6369
6213
|
"fieldName": "label"
|
|
6370
6214
|
},
|
|
6371
6215
|
{
|
|
@@ -6374,7 +6218,7 @@
|
|
|
6374
6218
|
"text": "boolean"
|
|
6375
6219
|
},
|
|
6376
6220
|
"default": "false",
|
|
6377
|
-
"description": "Whether to show optional
|
|
6221
|
+
"description": "Whether to show the optional indicator after the label.",
|
|
6378
6222
|
"fieldName": "optional"
|
|
6379
6223
|
},
|
|
6380
6224
|
{
|
|
@@ -6410,6 +6254,7 @@
|
|
|
6410
6254
|
"type": {
|
|
6411
6255
|
"text": "string"
|
|
6412
6256
|
},
|
|
6257
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
6413
6258
|
"fieldName": "name"
|
|
6414
6259
|
},
|
|
6415
6260
|
{
|
|
@@ -6417,6 +6262,7 @@
|
|
|
6417
6262
|
"type": {
|
|
6418
6263
|
"text": "string"
|
|
6419
6264
|
},
|
|
6265
|
+
"description": "Lets you set the current value.",
|
|
6420
6266
|
"fieldName": "value"
|
|
6421
6267
|
}
|
|
6422
6268
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
## Accessibility
|