@f-ewald/components 1.22.2 → 1.23.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/README.md +4 -1
- package/custom-elements.json +760 -96
- package/dist/address-autocomplete.d.ts +14 -0
- package/dist/address-autocomplete.d.ts.map +1 -1
- package/dist/address-autocomplete.js +205 -3
- package/dist/address-autocomplete.js.map +1 -1
- package/dist/autocomplete-input.d.ts +14 -0
- package/dist/autocomplete-input.d.ts.map +1 -1
- package/dist/autocomplete-input.js +205 -3
- package/dist/autocomplete-input.js.map +1 -1
- package/dist/form-field.d.ts +29 -1
- package/dist/form-field.d.ts.map +1 -1
- package/dist/form-field.js +376 -4
- package/dist/form-field.js.map +1 -1
- package/dist/icons.d.ts +55 -0
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +55 -0
- package/dist/icons.js.map +1 -1
- package/dist/mcp-server.js +39 -0
- package/dist/mcp-server.js.map +1 -1
- package/dist/text-area.d.ts +9 -0
- package/dist/text-area.d.ts.map +1 -1
- package/dist/text-area.js +123 -11
- package/dist/text-area.js.map +1 -1
- package/dist/utils/form-field-control.d.ts +15 -0
- package/dist/utils/form-field-control.d.ts.map +1 -0
- package/dist/utils/form-field-control.js +7 -0
- package/dist/utils/form-field-control.js.map +1 -0
- package/docs/address-autocomplete.md +9 -0
- package/docs/autocomplete-input.md +9 -1
- package/docs/design-language.md +11 -0
- package/docs/form-field.md +18 -0
- package/docs/icons.md +70 -0
- package/docs/text-area.md +9 -1
- package/llms.txt +94 -11
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"declarations": [
|
|
55
55
|
{
|
|
56
56
|
"kind": "class",
|
|
57
|
-
"description": "Form-associated text input with a suggestion dropdown. Works as a\ndrop-in replacement for a plain `<input name=\"address\">`: consumers keep\nreading `new FormData(form).get(\"address\")` and calling `form.reset()`\nunchanged.\n\nSupports two suggestion sources:\n- **API** (default): fetches from `endpoint`, a Mapbox Geocoding v6-shaped\n forward-geocode URL, debounced as the user types.\n- **Local array**: set `suggestions` to a fixed `AddressSuggestion[]` and\n the component filters it client-side instead of making any network\n request. Useful for small/fixed address lists, offline use, or tests.\n Takes priority over `endpoint` whenever it's non-null.",
|
|
57
|
+
"description": "Form-associated text input with a suggestion dropdown. Works as a\ndrop-in replacement for a plain `<input name=\"address\">`: consumers keep\nreading `new FormData(form).get(\"address\")` and calling `form.reset()`\nunchanged.\n\nSupports two suggestion sources:\n- **API** (default): fetches from `endpoint`, a Mapbox Geocoding v6-shaped\n forward-geocode URL, debounced as the user types.\n- **Local array**: set `suggestions` to a fixed `AddressSuggestion[]` and\n the component filters it client-side instead of making any network\n request. Useful for small/fixed address lists, offline use, or tests.\n Takes priority over `endpoint` whenever it's non-null.\n\nSet `clearable` to show an in-field clear action whenever a value is\npresent.",
|
|
58
58
|
"name": "AddressAutocomplete",
|
|
59
59
|
"members": [
|
|
60
60
|
{
|
|
@@ -107,6 +107,17 @@
|
|
|
107
107
|
"attribute": "disabled",
|
|
108
108
|
"reflects": true
|
|
109
109
|
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "field",
|
|
112
|
+
"name": "clearable",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"default": "false",
|
|
117
|
+
"description": "Shows an in-field clear action while the control has a value.",
|
|
118
|
+
"attribute": "clearable",
|
|
119
|
+
"reflects": true
|
|
120
|
+
},
|
|
110
121
|
{
|
|
111
122
|
"kind": "field",
|
|
112
123
|
"name": "types",
|
|
@@ -222,6 +233,23 @@
|
|
|
222
233
|
"privacy": "private",
|
|
223
234
|
"default": "false"
|
|
224
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "field",
|
|
238
|
+
"name": "_formFieldConfig",
|
|
239
|
+
"type": {
|
|
240
|
+
"text": "FormFieldControlConfig | null"
|
|
241
|
+
},
|
|
242
|
+
"privacy": "private",
|
|
243
|
+
"default": "null"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"kind": "field",
|
|
247
|
+
"name": "_input",
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "HTMLInputElement | undefined"
|
|
250
|
+
},
|
|
251
|
+
"privacy": "private"
|
|
252
|
+
},
|
|
225
253
|
{
|
|
226
254
|
"kind": "field",
|
|
227
255
|
"name": "#internals",
|
|
@@ -281,12 +309,19 @@
|
|
|
281
309
|
},
|
|
282
310
|
"default": "null"
|
|
283
311
|
},
|
|
312
|
+
{
|
|
313
|
+
"kind": "field",
|
|
314
|
+
"name": "#inputId",
|
|
315
|
+
"privacy": "private",
|
|
316
|
+
"readonly": true,
|
|
317
|
+
"default": "`address-autocomplete-field-${++instanceCount}`"
|
|
318
|
+
},
|
|
284
319
|
{
|
|
285
320
|
"kind": "field",
|
|
286
321
|
"name": "#listboxId",
|
|
287
322
|
"privacy": "private",
|
|
288
323
|
"readonly": true,
|
|
289
|
-
"default": "`address-autocomplete-listbox-${
|
|
324
|
+
"default": "`address-autocomplete-listbox-${instanceCount}`"
|
|
290
325
|
},
|
|
291
326
|
{
|
|
292
327
|
"kind": "field",
|
|
@@ -307,6 +342,25 @@
|
|
|
307
342
|
"description": "Last-picked suggestion, or null once the input diverges from it.",
|
|
308
343
|
"readonly": true
|
|
309
344
|
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "method",
|
|
347
|
+
"name": "[formFieldControl]",
|
|
348
|
+
"return": {
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "void"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"parameters": [
|
|
354
|
+
{
|
|
355
|
+
"name": "config",
|
|
356
|
+
"type": {
|
|
357
|
+
"text": "FormFieldControlConfig | null"
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"description": "Applies or clears label configuration supplied by a wrapping `form-field`.",
|
|
362
|
+
"privacy": "private"
|
|
363
|
+
},
|
|
310
364
|
{
|
|
311
365
|
"kind": "method",
|
|
312
366
|
"name": "formResetCallback",
|
|
@@ -504,6 +558,17 @@
|
|
|
504
558
|
}
|
|
505
559
|
]
|
|
506
560
|
},
|
|
561
|
+
{
|
|
562
|
+
"kind": "method",
|
|
563
|
+
"name": "#clear",
|
|
564
|
+
"privacy": "private",
|
|
565
|
+
"return": {
|
|
566
|
+
"type": {
|
|
567
|
+
"text": "void"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"description": "Clears the field and all pending autocomplete state, then restores input focus."
|
|
571
|
+
},
|
|
507
572
|
{
|
|
508
573
|
"kind": "method",
|
|
509
574
|
"name": "#onSuggestionMousedown",
|
|
@@ -537,6 +602,13 @@
|
|
|
537
602
|
"text": "CustomEvent"
|
|
538
603
|
},
|
|
539
604
|
"description": "A suggestion was picked; detail: AddressSuggestion."
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "input",
|
|
608
|
+
"type": {
|
|
609
|
+
"text": "InputEvent"
|
|
610
|
+
},
|
|
611
|
+
"description": "Native-compatible input event fired while editing or clearing."
|
|
540
612
|
}
|
|
541
613
|
],
|
|
542
614
|
"attributes": [
|
|
@@ -576,6 +648,15 @@
|
|
|
576
648
|
"description": "Disables the input and closes its suggestion popup.",
|
|
577
649
|
"fieldName": "disabled"
|
|
578
650
|
},
|
|
651
|
+
{
|
|
652
|
+
"name": "clearable",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "boolean"
|
|
655
|
+
},
|
|
656
|
+
"default": "false",
|
|
657
|
+
"description": "Shows an in-field clear action while the control has a value.",
|
|
658
|
+
"fieldName": "clearable"
|
|
659
|
+
},
|
|
579
660
|
{
|
|
580
661
|
"name": "types",
|
|
581
662
|
"type": {
|
|
@@ -1463,7 +1544,7 @@
|
|
|
1463
1544
|
"declarations": [
|
|
1464
1545
|
{
|
|
1465
1546
|
"kind": "class",
|
|
1466
|
-
"description": "Generic form-associated text input with a suggestion dropdown, for any\n\"type to filter a list of `{key, value}` options\" use case. Works as a\ndrop-in replacement for a plain `<input>` inside a `<form>`: set `name` on\nthe element itself and consumers keep reading\n`new FormData(form).get(name)` and calling `form.reset()` unchanged — the\nsubmitted value is the picked option's `value`, while `key` is available\nvia the `option-select` event and the `selectedOption` getter for cases\nthat need the underlying id rather than the display text.\n\nSupports two suggestion sources:\n- **API**: set `endpoint` to a URL that, given a `?<query-param>=<text>`\n query string, responds with a JSON array of `{key, value}` objects.\n Requests are debounced as the user types.\n- **Local array**: set `options` to a fixed `AutocompleteOption[]` and the\n component filters it client-side instead of making any network\n request. Useful for small/fixed lists, offline use, or tests. Takes\n priority over `endpoint` whenever it's non-null.",
|
|
1547
|
+
"description": "Generic form-associated text input with a suggestion dropdown, for any\n\"type to filter a list of `{key, value}` options\" use case. Works as a\ndrop-in replacement for a plain `<input>` inside a `<form>`: set `name` on\nthe element itself and consumers keep reading\n`new FormData(form).get(name)` and calling `form.reset()` unchanged — the\nsubmitted value is the picked option's `value`, while `key` is available\nvia the `option-select` event and the `selectedOption` getter for cases\nthat need the underlying id rather than the display text.\n\nSupports two suggestion sources:\n- **API**: set `endpoint` to a URL that, given a `?<query-param>=<text>`\n query string, responds with a JSON array of `{key, value}` objects.\n Requests are debounced as the user types.\n- **Local array**: set `options` to a fixed `AutocompleteOption[]` and the\n component filters it client-side instead of making any network\n request. Useful for small/fixed lists, offline use, or tests. Takes\n priority over `endpoint` whenever it's non-null.\n\nSet `clearable` to show an in-field clear action whenever a value is\npresent.",
|
|
1467
1548
|
"name": "AutocompleteInput",
|
|
1468
1549
|
"members": [
|
|
1469
1550
|
{
|
|
@@ -1516,6 +1597,17 @@
|
|
|
1516
1597
|
"attribute": "disabled",
|
|
1517
1598
|
"reflects": true
|
|
1518
1599
|
},
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "field",
|
|
1602
|
+
"name": "clearable",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "boolean"
|
|
1605
|
+
},
|
|
1606
|
+
"default": "false",
|
|
1607
|
+
"description": "Shows an in-field clear action while the control has a value.",
|
|
1608
|
+
"attribute": "clearable",
|
|
1609
|
+
"reflects": true
|
|
1610
|
+
},
|
|
1519
1611
|
{
|
|
1520
1612
|
"kind": "field",
|
|
1521
1613
|
"name": "endpoint",
|
|
@@ -1601,6 +1693,23 @@
|
|
|
1601
1693
|
"privacy": "private",
|
|
1602
1694
|
"default": "false"
|
|
1603
1695
|
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "_formFieldConfig",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "FormFieldControlConfig | null"
|
|
1701
|
+
},
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"default": "null"
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "field",
|
|
1707
|
+
"name": "_input",
|
|
1708
|
+
"type": {
|
|
1709
|
+
"text": "HTMLInputElement | undefined"
|
|
1710
|
+
},
|
|
1711
|
+
"privacy": "private"
|
|
1712
|
+
},
|
|
1604
1713
|
{
|
|
1605
1714
|
"kind": "field",
|
|
1606
1715
|
"name": "#internals",
|
|
@@ -1660,12 +1769,19 @@
|
|
|
1660
1769
|
},
|
|
1661
1770
|
"default": "null"
|
|
1662
1771
|
},
|
|
1772
|
+
{
|
|
1773
|
+
"kind": "field",
|
|
1774
|
+
"name": "#inputId",
|
|
1775
|
+
"privacy": "private",
|
|
1776
|
+
"readonly": true,
|
|
1777
|
+
"default": "`autocomplete-input-field-${++instanceCount}`"
|
|
1778
|
+
},
|
|
1663
1779
|
{
|
|
1664
1780
|
"kind": "field",
|
|
1665
1781
|
"name": "#listboxId",
|
|
1666
1782
|
"privacy": "private",
|
|
1667
1783
|
"readonly": true,
|
|
1668
|
-
"default": "`autocomplete-input-listbox-${
|
|
1784
|
+
"default": "`autocomplete-input-listbox-${instanceCount}`"
|
|
1669
1785
|
},
|
|
1670
1786
|
{
|
|
1671
1787
|
"kind": "field",
|
|
@@ -1686,6 +1802,25 @@
|
|
|
1686
1802
|
"description": "Last-picked option, or null once the input diverges from it.",
|
|
1687
1803
|
"readonly": true
|
|
1688
1804
|
},
|
|
1805
|
+
{
|
|
1806
|
+
"kind": "method",
|
|
1807
|
+
"name": "[formFieldControl]",
|
|
1808
|
+
"return": {
|
|
1809
|
+
"type": {
|
|
1810
|
+
"text": "void"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"parameters": [
|
|
1814
|
+
{
|
|
1815
|
+
"name": "config",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "FormFieldControlConfig | null"
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"description": "Applies or clears label configuration supplied by a wrapping `form-field`.",
|
|
1822
|
+
"privacy": "private"
|
|
1823
|
+
},
|
|
1689
1824
|
{
|
|
1690
1825
|
"kind": "method",
|
|
1691
1826
|
"name": "formResetCallback",
|
|
@@ -1883,6 +2018,17 @@
|
|
|
1883
2018
|
}
|
|
1884
2019
|
]
|
|
1885
2020
|
},
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "method",
|
|
2023
|
+
"name": "#clear",
|
|
2024
|
+
"privacy": "private",
|
|
2025
|
+
"return": {
|
|
2026
|
+
"type": {
|
|
2027
|
+
"text": "void"
|
|
2028
|
+
}
|
|
2029
|
+
},
|
|
2030
|
+
"description": "Clears the field and all pending autocomplete state, then restores input focus."
|
|
2031
|
+
},
|
|
1886
2032
|
{
|
|
1887
2033
|
"kind": "method",
|
|
1888
2034
|
"name": "#onSuggestionMousedown",
|
|
@@ -1916,6 +2062,13 @@
|
|
|
1916
2062
|
"text": "CustomEvent"
|
|
1917
2063
|
},
|
|
1918
2064
|
"description": "An option was picked; detail: AutocompleteOption."
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "input",
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "InputEvent"
|
|
2070
|
+
},
|
|
2071
|
+
"description": "Native-compatible input event fired while editing or clearing."
|
|
1919
2072
|
}
|
|
1920
2073
|
],
|
|
1921
2074
|
"attributes": [
|
|
@@ -1955,6 +2108,15 @@
|
|
|
1955
2108
|
"description": "Disables the input and closes its suggestion popup.",
|
|
1956
2109
|
"fieldName": "disabled"
|
|
1957
2110
|
},
|
|
2111
|
+
{
|
|
2112
|
+
"name": "clearable",
|
|
2113
|
+
"type": {
|
|
2114
|
+
"text": "boolean"
|
|
2115
|
+
},
|
|
2116
|
+
"default": "false",
|
|
2117
|
+
"description": "Shows an in-field clear action while the control has a value.",
|
|
2118
|
+
"fieldName": "clearable"
|
|
2119
|
+
},
|
|
1958
2120
|
{
|
|
1959
2121
|
"name": "endpoint",
|
|
1960
2122
|
"type": {
|
|
@@ -4396,61 +4558,400 @@
|
|
|
4396
4558
|
"declarations": [
|
|
4397
4559
|
{
|
|
4398
4560
|
"kind": "class",
|
|
4399
|
-
"description": "Per-field wrapper for a form control: label, slotted control, and an\noptional hint or error message, in one consistent unit repeated across a\nform. Purely presentational — composes whatever control is slotted\n(`form-select`, `multi-select`, `autocomplete-input`, `ui-checkbox`, etc.)\nwithout intercepting its events or value.\n\nThe label wraps the default slot for a best-effort visual/click\nassociation only: every existing value-entry control encapsulates its\nreal `<input>` inside its own shadow DOM, so there is no light-DOM `id` a\n`for` attribute could target from outside, and this component cannot set\n`aria-describedby`/`aria-invalid` on an arbitrary slotted control's\nshadow-encapsulated input for the same reason. The error message uses\n`role=\"alert\"` as the practical accessibility mitigation instead of true\n`aria-describedby` association.",
|
|
4561
|
+
"description": "Per-field wrapper for a form control: label, slotted control, and an\noptional hint or error message, in one consistent unit repeated across a\nform. Purely presentational — composes whatever control is slotted\n(`form-select`, `multi-select`, `autocomplete-input`, `ui-checkbox`, etc.)\nwithout intercepting its events or value.\n\nSet `floating-label` for supported text controls (`input`, `textarea`,\n`autocomplete-input`, `address-autocomplete`, and `text-area`). The label\nthen rests inside an empty field and moves to a smaller top-left position\nwhile focused or non-empty. Other controls keep the external label.\n\nThe label wraps the default slot for a best-effort visual/click\nassociation only: every existing value-entry control encapsulates its\nreal `<input>` inside its own shadow DOM, so there is no light-DOM `id` a\n`for` attribute could target from outside, and this component cannot set\n`aria-describedby`/`aria-invalid` on an arbitrary slotted control's\nshadow-encapsulated input for the same reason. The error message uses\n`role=\"alert\"` as the practical accessibility mitigation instead of true\n`aria-describedby` association.",
|
|
4400
4562
|
"name": "FormField",
|
|
4401
4563
|
"slots": [
|
|
4402
4564
|
{
|
|
4403
|
-
"description": "The wrapped form control.",
|
|
4404
|
-
"name": ""
|
|
4405
|
-
}
|
|
4406
|
-
],
|
|
4407
|
-
"members": [
|
|
4565
|
+
"description": "The wrapped form control.",
|
|
4566
|
+
"name": ""
|
|
4567
|
+
}
|
|
4568
|
+
],
|
|
4569
|
+
"members": [
|
|
4570
|
+
{
|
|
4571
|
+
"kind": "field",
|
|
4572
|
+
"name": "label",
|
|
4573
|
+
"type": {
|
|
4574
|
+
"text": "string"
|
|
4575
|
+
},
|
|
4576
|
+
"default": "\"\"",
|
|
4577
|
+
"description": "Field label text.",
|
|
4578
|
+
"attribute": "label"
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
"kind": "field",
|
|
4582
|
+
"name": "hint",
|
|
4583
|
+
"type": {
|
|
4584
|
+
"text": "string"
|
|
4585
|
+
},
|
|
4586
|
+
"default": "\"\"",
|
|
4587
|
+
"description": "Optional helper text shown below the control when there's no `error`.",
|
|
4588
|
+
"attribute": "hint"
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"kind": "field",
|
|
4592
|
+
"name": "error",
|
|
4593
|
+
"type": {
|
|
4594
|
+
"text": "string"
|
|
4595
|
+
},
|
|
4596
|
+
"default": "\"\"",
|
|
4597
|
+
"description": "Optional error text; replaces the `hint` display when non-empty.",
|
|
4598
|
+
"attribute": "error"
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"kind": "field",
|
|
4602
|
+
"name": "required",
|
|
4603
|
+
"type": {
|
|
4604
|
+
"text": "boolean"
|
|
4605
|
+
},
|
|
4606
|
+
"default": "false",
|
|
4607
|
+
"description": "Shows a required indicator next to the label.",
|
|
4608
|
+
"attribute": "required"
|
|
4609
|
+
},
|
|
4610
|
+
{
|
|
4611
|
+
"kind": "field",
|
|
4612
|
+
"name": "floatingLabel",
|
|
4613
|
+
"type": {
|
|
4614
|
+
"text": "boolean"
|
|
4615
|
+
},
|
|
4616
|
+
"default": "false",
|
|
4617
|
+
"description": "Moves labels inside supported text controls until they receive focus or content.",
|
|
4618
|
+
"attribute": "floating-label",
|
|
4619
|
+
"reflects": true
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"kind": "field",
|
|
4623
|
+
"name": "_assignedElements",
|
|
4624
|
+
"type": {
|
|
4625
|
+
"text": "HTMLElement[]"
|
|
4626
|
+
},
|
|
4627
|
+
"privacy": "private",
|
|
4628
|
+
"readonly": true
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
"kind": "field",
|
|
4632
|
+
"name": "_floatingKind",
|
|
4633
|
+
"type": {
|
|
4634
|
+
"text": "\"delegated\" | \"native\" | null"
|
|
4635
|
+
},
|
|
4636
|
+
"privacy": "private",
|
|
4637
|
+
"default": "null"
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"kind": "field",
|
|
4641
|
+
"name": "_nativeHasValue",
|
|
4642
|
+
"type": {
|
|
4643
|
+
"text": "boolean"
|
|
4644
|
+
},
|
|
4645
|
+
"privacy": "private",
|
|
4646
|
+
"default": "false"
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
"kind": "field",
|
|
4650
|
+
"name": "#messageId",
|
|
4651
|
+
"privacy": "private",
|
|
4652
|
+
"readonly": true,
|
|
4653
|
+
"default": "`form-field-message-${++instanceCount}`"
|
|
4654
|
+
},
|
|
4655
|
+
{
|
|
4656
|
+
"kind": "field",
|
|
4657
|
+
"name": "#configuredControls",
|
|
4658
|
+
"privacy": "private",
|
|
4659
|
+
"default": "new Set<FormFieldControl>()"
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
"kind": "field",
|
|
4663
|
+
"name": "#resetForm",
|
|
4664
|
+
"privacy": "private",
|
|
4665
|
+
"type": {
|
|
4666
|
+
"text": "HTMLFormElement | null"
|
|
4667
|
+
},
|
|
4668
|
+
"default": "null"
|
|
4669
|
+
},
|
|
4670
|
+
{
|
|
4671
|
+
"kind": "field",
|
|
4672
|
+
"name": "#placeholderControl",
|
|
4673
|
+
"privacy": "private",
|
|
4674
|
+
"type": {
|
|
4675
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4676
|
+
},
|
|
4677
|
+
"default": "null"
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"kind": "field",
|
|
4681
|
+
"name": "#placeholder",
|
|
4682
|
+
"privacy": "private",
|
|
4683
|
+
"type": {
|
|
4684
|
+
"text": "string"
|
|
4685
|
+
},
|
|
4686
|
+
"default": "\"\""
|
|
4687
|
+
},
|
|
4688
|
+
{
|
|
4689
|
+
"kind": "field",
|
|
4690
|
+
"name": "#accessibleNameControl",
|
|
4691
|
+
"privacy": "private",
|
|
4692
|
+
"type": {
|
|
4693
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4694
|
+
},
|
|
4695
|
+
"default": "null"
|
|
4696
|
+
},
|
|
4697
|
+
{
|
|
4698
|
+
"kind": "field",
|
|
4699
|
+
"name": "#accessibleName",
|
|
4700
|
+
"privacy": "private",
|
|
4701
|
+
"type": {
|
|
4702
|
+
"text": "string | null"
|
|
4703
|
+
},
|
|
4704
|
+
"default": "null"
|
|
4705
|
+
},
|
|
4706
|
+
{
|
|
4707
|
+
"kind": "field",
|
|
4708
|
+
"name": "#nativeEventControl",
|
|
4709
|
+
"privacy": "private",
|
|
4710
|
+
"type": {
|
|
4711
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4712
|
+
},
|
|
4713
|
+
"default": "null"
|
|
4714
|
+
},
|
|
4715
|
+
{
|
|
4716
|
+
"kind": "field",
|
|
4717
|
+
"name": "#nativeFocused",
|
|
4718
|
+
"privacy": "private",
|
|
4719
|
+
"type": {
|
|
4720
|
+
"text": "boolean"
|
|
4721
|
+
},
|
|
4722
|
+
"default": "false"
|
|
4723
|
+
},
|
|
4724
|
+
{
|
|
4725
|
+
"kind": "field",
|
|
4726
|
+
"name": "#onNativeValueChange",
|
|
4727
|
+
"privacy": "private",
|
|
4728
|
+
"readonly": true
|
|
4729
|
+
},
|
|
4730
|
+
{
|
|
4731
|
+
"kind": "field",
|
|
4732
|
+
"name": "#onNativeFocus",
|
|
4733
|
+
"privacy": "private",
|
|
4734
|
+
"readonly": true
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"kind": "field",
|
|
4738
|
+
"name": "#onNativeBlur",
|
|
4739
|
+
"privacy": "private",
|
|
4740
|
+
"readonly": true
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"kind": "field",
|
|
4744
|
+
"name": "#onNativeAnimation",
|
|
4745
|
+
"privacy": "private",
|
|
4746
|
+
"readonly": true
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"kind": "field",
|
|
4750
|
+
"name": "#onFormReset",
|
|
4751
|
+
"privacy": "private",
|
|
4752
|
+
"readonly": true
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"kind": "method",
|
|
4756
|
+
"name": "_onSlotChange",
|
|
4757
|
+
"privacy": "private",
|
|
4758
|
+
"return": {
|
|
4759
|
+
"type": {
|
|
4760
|
+
"text": "void"
|
|
4761
|
+
}
|
|
4762
|
+
},
|
|
4763
|
+
"description": "Handles assigned-control changes and updates the floating-label strategy."
|
|
4764
|
+
},
|
|
4765
|
+
{
|
|
4766
|
+
"kind": "method",
|
|
4767
|
+
"name": "_onControlValueChange",
|
|
4768
|
+
"privacy": "private",
|
|
4769
|
+
"return": {
|
|
4770
|
+
"type": {
|
|
4771
|
+
"text": "void"
|
|
4772
|
+
}
|
|
4773
|
+
},
|
|
4774
|
+
"description": "Tracks native input/textarea content after user edits."
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
"kind": "method",
|
|
4778
|
+
"name": "_onControlFocusIn",
|
|
4779
|
+
"privacy": "private",
|
|
4780
|
+
"return": {
|
|
4781
|
+
"type": {
|
|
4782
|
+
"text": "void"
|
|
4783
|
+
}
|
|
4784
|
+
},
|
|
4785
|
+
"description": "Reveals the native placeholder once focus floats the label."
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
"kind": "method",
|
|
4789
|
+
"name": "_onControlFocusOut",
|
|
4790
|
+
"privacy": "private",
|
|
4791
|
+
"return": {
|
|
4792
|
+
"type": {
|
|
4793
|
+
"text": "void"
|
|
4794
|
+
}
|
|
4795
|
+
},
|
|
4796
|
+
"description": "Hides the native placeholder again when an empty field loses focus."
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
"kind": "method",
|
|
4800
|
+
"name": "_onControlLabelClick",
|
|
4801
|
+
"privacy": "private",
|
|
4802
|
+
"return": {
|
|
4803
|
+
"type": {
|
|
4804
|
+
"text": "void"
|
|
4805
|
+
}
|
|
4806
|
+
},
|
|
4807
|
+
"parameters": [
|
|
4808
|
+
{
|
|
4809
|
+
"name": "event",
|
|
4810
|
+
"type": {
|
|
4811
|
+
"text": "MouseEvent"
|
|
4812
|
+
}
|
|
4813
|
+
}
|
|
4814
|
+
],
|
|
4815
|
+
"description": "Focuses a native control when its shadow-rendered floating label is clicked."
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
"kind": "method",
|
|
4819
|
+
"name": "_onNativeAnimationStart",
|
|
4820
|
+
"privacy": "private",
|
|
4821
|
+
"return": {
|
|
4822
|
+
"type": {
|
|
4823
|
+
"text": "void"
|
|
4824
|
+
}
|
|
4825
|
+
},
|
|
4826
|
+
"parameters": [
|
|
4827
|
+
{
|
|
4828
|
+
"name": "event",
|
|
4829
|
+
"type": {
|
|
4830
|
+
"text": "AnimationEvent"
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
],
|
|
4834
|
+
"description": "Synchronizes native value state when WebKit applies autofill without input events."
|
|
4835
|
+
},
|
|
4836
|
+
{
|
|
4837
|
+
"kind": "method",
|
|
4838
|
+
"name": "#nativeControl",
|
|
4839
|
+
"privacy": "private",
|
|
4840
|
+
"return": {
|
|
4841
|
+
"type": {
|
|
4842
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"description": "Finds the sole assigned native text control, if present."
|
|
4846
|
+
},
|
|
4408
4847
|
{
|
|
4409
|
-
"kind": "
|
|
4410
|
-
"name": "
|
|
4411
|
-
"
|
|
4412
|
-
|
|
4848
|
+
"kind": "method",
|
|
4849
|
+
"name": "#syncControls",
|
|
4850
|
+
"privacy": "private",
|
|
4851
|
+
"return": {
|
|
4852
|
+
"type": {
|
|
4853
|
+
"text": "void"
|
|
4854
|
+
}
|
|
4413
4855
|
},
|
|
4414
|
-
"
|
|
4415
|
-
"description": "Field label text.",
|
|
4416
|
-
"attribute": "label"
|
|
4856
|
+
"description": "Pushes current label configuration into a supported slotted control."
|
|
4417
4857
|
},
|
|
4418
4858
|
{
|
|
4419
|
-
"kind": "
|
|
4420
|
-
"name": "
|
|
4421
|
-
"
|
|
4422
|
-
|
|
4859
|
+
"kind": "method",
|
|
4860
|
+
"name": "#updateNativeValue",
|
|
4861
|
+
"privacy": "private",
|
|
4862
|
+
"return": {
|
|
4863
|
+
"type": {
|
|
4864
|
+
"text": "void"
|
|
4865
|
+
}
|
|
4423
4866
|
},
|
|
4424
|
-
"
|
|
4425
|
-
"description": "Optional helper text shown below the control when there's no `error`.",
|
|
4426
|
-
"attribute": "hint"
|
|
4867
|
+
"description": "Updates whether a native control currently contains a value."
|
|
4427
4868
|
},
|
|
4428
4869
|
{
|
|
4429
|
-
"kind": "
|
|
4430
|
-
"name": "
|
|
4431
|
-
"
|
|
4432
|
-
|
|
4870
|
+
"kind": "method",
|
|
4871
|
+
"name": "#bindNativePlaceholder",
|
|
4872
|
+
"privacy": "private",
|
|
4873
|
+
"return": {
|
|
4874
|
+
"type": {
|
|
4875
|
+
"text": "void"
|
|
4876
|
+
}
|
|
4433
4877
|
},
|
|
4434
|
-
"
|
|
4435
|
-
|
|
4436
|
-
|
|
4878
|
+
"parameters": [
|
|
4879
|
+
{
|
|
4880
|
+
"name": "control",
|
|
4881
|
+
"type": {
|
|
4882
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4883
|
+
}
|
|
4884
|
+
}
|
|
4885
|
+
],
|
|
4886
|
+
"description": "Preserves the consumer placeholder while floating mode temporarily hides it."
|
|
4437
4887
|
},
|
|
4438
4888
|
{
|
|
4439
|
-
"kind": "
|
|
4440
|
-
"name": "
|
|
4441
|
-
"
|
|
4442
|
-
|
|
4889
|
+
"kind": "method",
|
|
4890
|
+
"name": "#syncNativePlaceholder",
|
|
4891
|
+
"privacy": "private",
|
|
4892
|
+
"return": {
|
|
4893
|
+
"type": {
|
|
4894
|
+
"text": "void"
|
|
4895
|
+
}
|
|
4443
4896
|
},
|
|
4444
|
-
"
|
|
4445
|
-
"description": "Shows a required indicator next to the label.",
|
|
4446
|
-
"attribute": "required"
|
|
4897
|
+
"description": "Applies the correct placeholder for the native label's focus/value state."
|
|
4447
4898
|
},
|
|
4448
4899
|
{
|
|
4449
|
-
"kind": "
|
|
4450
|
-
"name": "#
|
|
4900
|
+
"kind": "method",
|
|
4901
|
+
"name": "#bindNativeAccessibleName",
|
|
4451
4902
|
"privacy": "private",
|
|
4452
|
-
"
|
|
4453
|
-
|
|
4903
|
+
"return": {
|
|
4904
|
+
"type": {
|
|
4905
|
+
"text": "void"
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"parameters": [
|
|
4909
|
+
{
|
|
4910
|
+
"name": "control",
|
|
4911
|
+
"type": {
|
|
4912
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
],
|
|
4916
|
+
"description": "Applies a shadow-boundary-safe accessible name and restores any prior value."
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
"kind": "method",
|
|
4920
|
+
"name": "#bindNativeEvents",
|
|
4921
|
+
"privacy": "private",
|
|
4922
|
+
"return": {
|
|
4923
|
+
"type": {
|
|
4924
|
+
"text": "void"
|
|
4925
|
+
}
|
|
4926
|
+
},
|
|
4927
|
+
"parameters": [
|
|
4928
|
+
{
|
|
4929
|
+
"name": "control",
|
|
4930
|
+
"type": {
|
|
4931
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | null"
|
|
4932
|
+
}
|
|
4933
|
+
}
|
|
4934
|
+
],
|
|
4935
|
+
"description": "Moves native field listeners directly between assigned controls."
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"kind": "method",
|
|
4939
|
+
"name": "#bindResetForm",
|
|
4940
|
+
"privacy": "private",
|
|
4941
|
+
"return": {
|
|
4942
|
+
"type": {
|
|
4943
|
+
"text": "void"
|
|
4944
|
+
}
|
|
4945
|
+
},
|
|
4946
|
+
"parameters": [
|
|
4947
|
+
{
|
|
4948
|
+
"name": "form",
|
|
4949
|
+
"type": {
|
|
4950
|
+
"text": "HTMLFormElement | null"
|
|
4951
|
+
}
|
|
4952
|
+
}
|
|
4953
|
+
],
|
|
4954
|
+
"description": "Moves the reset listener to the native control's current owner form."
|
|
4454
4955
|
}
|
|
4455
4956
|
],
|
|
4456
4957
|
"attributes": [
|
|
@@ -4489,6 +4990,15 @@
|
|
|
4489
4990
|
"default": "false",
|
|
4490
4991
|
"description": "Shows a required indicator next to the label.",
|
|
4491
4992
|
"fieldName": "required"
|
|
4993
|
+
},
|
|
4994
|
+
{
|
|
4995
|
+
"name": "floating-label",
|
|
4996
|
+
"type": {
|
|
4997
|
+
"text": "boolean"
|
|
4998
|
+
},
|
|
4999
|
+
"default": "false",
|
|
5000
|
+
"description": "Moves labels inside supported text controls until they receive focus or content.",
|
|
5001
|
+
"fieldName": "floatingLabel"
|
|
4492
5002
|
}
|
|
4493
5003
|
],
|
|
4494
5004
|
"superclass": {
|
|
@@ -5493,7 +6003,8 @@
|
|
|
5493
6003
|
"name": "size",
|
|
5494
6004
|
"default": "18"
|
|
5495
6005
|
}
|
|
5496
|
-
]
|
|
6006
|
+
],
|
|
6007
|
+
"description": "Close, dismiss, or clear (e.g. a modal, toast, or clearable input)."
|
|
5497
6008
|
},
|
|
5498
6009
|
{
|
|
5499
6010
|
"kind": "function",
|
|
@@ -5503,7 +6014,8 @@
|
|
|
5503
6014
|
"name": "size",
|
|
5504
6015
|
"default": "18"
|
|
5505
6016
|
}
|
|
5506
|
-
]
|
|
6017
|
+
],
|
|
6018
|
+
"description": "A hamburger menu toggle, e.g. collapsing or opening a sidebar/nav drawer."
|
|
5507
6019
|
},
|
|
5508
6020
|
{
|
|
5509
6021
|
"kind": "function",
|
|
@@ -5513,7 +6025,8 @@
|
|
|
5513
6025
|
"name": "size",
|
|
5514
6026
|
"default": "16"
|
|
5515
6027
|
}
|
|
5516
|
-
]
|
|
6028
|
+
],
|
|
6029
|
+
"description": "\"Previous\" navigation, e.g. pagination or carousel back controls."
|
|
5517
6030
|
},
|
|
5518
6031
|
{
|
|
5519
6032
|
"kind": "function",
|
|
@@ -5523,7 +6036,8 @@
|
|
|
5523
6036
|
"name": "size",
|
|
5524
6037
|
"default": "16"
|
|
5525
6038
|
}
|
|
5526
|
-
]
|
|
6039
|
+
],
|
|
6040
|
+
"description": "\"Next\" navigation, or a collapsed disclosure/submenu indicator."
|
|
5527
6041
|
},
|
|
5528
6042
|
{
|
|
5529
6043
|
"kind": "function",
|
|
@@ -5533,7 +6047,8 @@
|
|
|
5533
6047
|
"name": "size",
|
|
5534
6048
|
"default": "16"
|
|
5535
6049
|
}
|
|
5536
|
-
]
|
|
6050
|
+
],
|
|
6051
|
+
"description": "\"Scroll to top\", or an expanded/upward disclosure control."
|
|
5537
6052
|
},
|
|
5538
6053
|
{
|
|
5539
6054
|
"kind": "function",
|
|
@@ -5543,7 +6058,8 @@
|
|
|
5543
6058
|
"name": "size",
|
|
5544
6059
|
"default": "20"
|
|
5545
6060
|
}
|
|
5546
|
-
]
|
|
6061
|
+
],
|
|
6062
|
+
"description": "Settings, preferences, or configuration entry points."
|
|
5547
6063
|
},
|
|
5548
6064
|
{
|
|
5549
6065
|
"kind": "function",
|
|
@@ -5553,7 +6069,8 @@
|
|
|
5553
6069
|
"name": "size",
|
|
5554
6070
|
"default": "20"
|
|
5555
6071
|
}
|
|
5556
|
-
]
|
|
6072
|
+
],
|
|
6073
|
+
"description": "Neutral informational messages, e.g. an info toast or status banner."
|
|
5557
6074
|
},
|
|
5558
6075
|
{
|
|
5559
6076
|
"kind": "function",
|
|
@@ -5563,7 +6080,8 @@
|
|
|
5563
6080
|
"name": "size",
|
|
5564
6081
|
"default": "20"
|
|
5565
6082
|
}
|
|
5566
|
-
]
|
|
6083
|
+
],
|
|
6084
|
+
"description": "Help, tooltips, or \"learn more\" affordances."
|
|
5567
6085
|
},
|
|
5568
6086
|
{
|
|
5569
6087
|
"kind": "function",
|
|
@@ -5573,7 +6091,8 @@
|
|
|
5573
6091
|
"name": "size",
|
|
5574
6092
|
"default": "16"
|
|
5575
6093
|
}
|
|
5576
|
-
]
|
|
6094
|
+
],
|
|
6095
|
+
"description": "Edit actions, e.g. an edit icon-button or inline edit toggle."
|
|
5577
6096
|
},
|
|
5578
6097
|
{
|
|
5579
6098
|
"kind": "function",
|
|
@@ -5583,7 +6102,8 @@
|
|
|
5583
6102
|
"name": "size",
|
|
5584
6103
|
"default": "16"
|
|
5585
6104
|
}
|
|
5586
|
-
]
|
|
6105
|
+
],
|
|
6106
|
+
"description": "Delete/remove actions, typically paired with a destructive/danger style."
|
|
5587
6107
|
},
|
|
5588
6108
|
{
|
|
5589
6109
|
"kind": "function",
|
|
@@ -5593,7 +6113,8 @@
|
|
|
5593
6113
|
"name": "size",
|
|
5594
6114
|
"default": "16"
|
|
5595
6115
|
}
|
|
5596
|
-
]
|
|
6116
|
+
],
|
|
6117
|
+
"description": "An overflow (\"kebab\") menu trigger, e.g. dropdown-button's icon variant."
|
|
5597
6118
|
},
|
|
5598
6119
|
{
|
|
5599
6120
|
"kind": "function",
|
|
@@ -5603,7 +6124,8 @@
|
|
|
5603
6124
|
"name": "size",
|
|
5604
6125
|
"default": "16"
|
|
5605
6126
|
}
|
|
5606
|
-
]
|
|
6127
|
+
],
|
|
6128
|
+
"description": "\"Add new\" actions, e.g. creating a new item or row."
|
|
5607
6129
|
},
|
|
5608
6130
|
{
|
|
5609
6131
|
"kind": "function",
|
|
@@ -5613,7 +6135,8 @@
|
|
|
5613
6135
|
"name": "size",
|
|
5614
6136
|
"default": "18"
|
|
5615
6137
|
}
|
|
5616
|
-
]
|
|
6138
|
+
],
|
|
6139
|
+
"description": "A list-view toggle, or to represent list-type content."
|
|
5617
6140
|
},
|
|
5618
6141
|
{
|
|
5619
6142
|
"kind": "function",
|
|
@@ -5623,7 +6146,8 @@
|
|
|
5623
6146
|
"name": "size",
|
|
5624
6147
|
"default": "16"
|
|
5625
6148
|
}
|
|
5626
|
-
]
|
|
6149
|
+
],
|
|
6150
|
+
"description": "Monetary values, pricing, or billing-related content."
|
|
5627
6151
|
},
|
|
5628
6152
|
{
|
|
5629
6153
|
"kind": "function",
|
|
@@ -5633,7 +6157,8 @@
|
|
|
5633
6157
|
"name": "size",
|
|
5634
6158
|
"default": "16"
|
|
5635
6159
|
}
|
|
5636
|
-
]
|
|
6160
|
+
],
|
|
6161
|
+
"description": "A primary navigation link to the app's home or dashboard."
|
|
5637
6162
|
},
|
|
5638
6163
|
{
|
|
5639
6164
|
"kind": "function",
|
|
@@ -5643,7 +6168,8 @@
|
|
|
5643
6168
|
"name": "size",
|
|
5644
6169
|
"default": "16"
|
|
5645
6170
|
}
|
|
5646
|
-
]
|
|
6171
|
+
],
|
|
6172
|
+
"description": "A location, address, or map marker."
|
|
5647
6173
|
},
|
|
5648
6174
|
{
|
|
5649
6175
|
"kind": "function",
|
|
@@ -5653,7 +6179,8 @@
|
|
|
5653
6179
|
"name": "size",
|
|
5654
6180
|
"default": "16"
|
|
5655
6181
|
}
|
|
5656
|
-
]
|
|
6182
|
+
],
|
|
6183
|
+
"description": "Timestamps, durations, or time-related metadata."
|
|
5657
6184
|
},
|
|
5658
6185
|
{
|
|
5659
6186
|
"kind": "function",
|
|
@@ -5663,7 +6190,8 @@
|
|
|
5663
6190
|
"name": "size",
|
|
5664
6191
|
"default": "16"
|
|
5665
6192
|
}
|
|
5666
|
-
]
|
|
6193
|
+
],
|
|
6194
|
+
"description": "Tags, labels, or categorical metadata."
|
|
5667
6195
|
},
|
|
5668
6196
|
{
|
|
5669
6197
|
"kind": "function",
|
|
@@ -5673,7 +6201,8 @@
|
|
|
5673
6201
|
"name": "size",
|
|
5674
6202
|
"default": "16"
|
|
5675
6203
|
}
|
|
5676
|
-
]
|
|
6204
|
+
],
|
|
6205
|
+
"description": "Dates, due dates, or calendar-related metadata."
|
|
5677
6206
|
},
|
|
5678
6207
|
{
|
|
5679
6208
|
"kind": "function",
|
|
@@ -5683,7 +6212,8 @@
|
|
|
5683
6212
|
"name": "size",
|
|
5684
6213
|
"default": "16"
|
|
5685
6214
|
}
|
|
5686
|
-
]
|
|
6215
|
+
],
|
|
6216
|
+
"description": "\"Expand\" or \"view fullscreen\" actions."
|
|
5687
6217
|
},
|
|
5688
6218
|
{
|
|
5689
6219
|
"kind": "function",
|
|
@@ -5693,7 +6223,8 @@
|
|
|
5693
6223
|
"name": "size",
|
|
5694
6224
|
"default": "16"
|
|
5695
6225
|
}
|
|
5696
|
-
]
|
|
6226
|
+
],
|
|
6227
|
+
"description": "A map-view toggle, or to represent map/geographic content."
|
|
5697
6228
|
},
|
|
5698
6229
|
{
|
|
5699
6230
|
"kind": "function",
|
|
@@ -5703,7 +6234,8 @@
|
|
|
5703
6234
|
"name": "size",
|
|
5704
6235
|
"default": "16"
|
|
5705
6236
|
}
|
|
5706
|
-
]
|
|
6237
|
+
],
|
|
6238
|
+
"description": "Success states, confirmations, or a selected-item checkmark."
|
|
5707
6239
|
},
|
|
5708
6240
|
{
|
|
5709
6241
|
"kind": "function",
|
|
@@ -5713,7 +6245,8 @@
|
|
|
5713
6245
|
"name": "size",
|
|
5714
6246
|
"default": "16"
|
|
5715
6247
|
}
|
|
5716
|
-
]
|
|
6248
|
+
],
|
|
6249
|
+
"description": "A light-theme toggle, or to represent daytime/light mode."
|
|
5717
6250
|
},
|
|
5718
6251
|
{
|
|
5719
6252
|
"kind": "function",
|
|
@@ -5723,7 +6256,8 @@
|
|
|
5723
6256
|
"name": "size",
|
|
5724
6257
|
"default": "16"
|
|
5725
6258
|
}
|
|
5726
|
-
]
|
|
6259
|
+
],
|
|
6260
|
+
"description": "Security warnings, or at-risk/compromised states."
|
|
5727
6261
|
},
|
|
5728
6262
|
{
|
|
5729
6263
|
"kind": "function",
|
|
@@ -5733,7 +6267,8 @@
|
|
|
5733
6267
|
"name": "size",
|
|
5734
6268
|
"default": "12"
|
|
5735
6269
|
}
|
|
5736
|
-
]
|
|
6270
|
+
],
|
|
6271
|
+
"description": "Refresh actions, or an animated busy/loading spinner."
|
|
5737
6272
|
},
|
|
5738
6273
|
{
|
|
5739
6274
|
"kind": "function",
|
|
@@ -5743,7 +6278,8 @@
|
|
|
5743
6278
|
"name": "size",
|
|
5744
6279
|
"default": "12"
|
|
5745
6280
|
}
|
|
5746
|
-
]
|
|
6281
|
+
],
|
|
6282
|
+
"description": "\"Continue\" or forward-progressing actions, e.g. a compact next-step arrow."
|
|
5747
6283
|
},
|
|
5748
6284
|
{
|
|
5749
6285
|
"kind": "function",
|
|
@@ -5753,7 +6289,8 @@
|
|
|
5753
6289
|
"name": "size",
|
|
5754
6290
|
"default": "16"
|
|
5755
6291
|
}
|
|
5756
|
-
]
|
|
6292
|
+
],
|
|
6293
|
+
"description": "Download or export actions."
|
|
5757
6294
|
},
|
|
5758
6295
|
{
|
|
5759
6296
|
"kind": "function",
|
|
@@ -5763,7 +6300,8 @@
|
|
|
5763
6300
|
"name": "size",
|
|
5764
6301
|
"default": "16"
|
|
5765
6302
|
}
|
|
5766
|
-
]
|
|
6303
|
+
],
|
|
6304
|
+
"description": "Swap, exchange, or compare actions between two items."
|
|
5767
6305
|
},
|
|
5768
6306
|
{
|
|
5769
6307
|
"kind": "function",
|
|
@@ -5773,7 +6311,8 @@
|
|
|
5773
6311
|
"name": "size",
|
|
5774
6312
|
"default": "16"
|
|
5775
6313
|
}
|
|
5776
|
-
]
|
|
6314
|
+
],
|
|
6315
|
+
"description": "Copy-link or hyperlink-related actions, e.g. copy-link-button."
|
|
5777
6316
|
},
|
|
5778
6317
|
{
|
|
5779
6318
|
"kind": "function",
|
|
@@ -5783,7 +6322,8 @@
|
|
|
5783
6322
|
"name": "size",
|
|
5784
6323
|
"default": "16"
|
|
5785
6324
|
}
|
|
5786
|
-
]
|
|
6325
|
+
],
|
|
6326
|
+
"description": "\"Like\"/\"favorite\" actions in their unselected state."
|
|
5787
6327
|
},
|
|
5788
6328
|
{
|
|
5789
6329
|
"kind": "function",
|
|
@@ -5793,7 +6333,8 @@
|
|
|
5793
6333
|
"name": "size",
|
|
5794
6334
|
"default": "16"
|
|
5795
6335
|
}
|
|
5796
|
-
]
|
|
6336
|
+
],
|
|
6337
|
+
"description": "\"Like\"/\"favorite\" actions in their selected/active state; pair with iconHeart for the unselected state."
|
|
5797
6338
|
},
|
|
5798
6339
|
{
|
|
5799
6340
|
"kind": "function",
|
|
@@ -5803,7 +6344,8 @@
|
|
|
5803
6344
|
"name": "size",
|
|
5804
6345
|
"default": "16"
|
|
5805
6346
|
}
|
|
5806
|
-
]
|
|
6347
|
+
],
|
|
6348
|
+
"description": "\"Show\"/\"preview\" actions or a visible/reviewed state, e.g. password visibility or a review status."
|
|
5807
6349
|
},
|
|
5808
6350
|
{
|
|
5809
6351
|
"kind": "function",
|
|
@@ -5813,7 +6355,8 @@
|
|
|
5813
6355
|
"name": "size",
|
|
5814
6356
|
"default": "16"
|
|
5815
6357
|
}
|
|
5816
|
-
]
|
|
6358
|
+
],
|
|
6359
|
+
"description": "\"Hide\" actions or a hidden/masked state; pair with iconEye for the visible state."
|
|
5817
6360
|
},
|
|
5818
6361
|
{
|
|
5819
6362
|
"kind": "function",
|
|
@@ -5823,7 +6366,8 @@
|
|
|
5823
6366
|
"name": "size",
|
|
5824
6367
|
"default": "16"
|
|
5825
6368
|
}
|
|
5826
|
-
]
|
|
6369
|
+
],
|
|
6370
|
+
"description": "Verified, secure, or trusted states."
|
|
5827
6371
|
},
|
|
5828
6372
|
{
|
|
5829
6373
|
"kind": "function",
|
|
@@ -5833,7 +6377,8 @@
|
|
|
5833
6377
|
"name": "size",
|
|
5834
6378
|
"default": "20"
|
|
5835
6379
|
}
|
|
5836
|
-
]
|
|
6380
|
+
],
|
|
6381
|
+
"description": "A generic user/person fallback, e.g. user-avatar's icon fallback."
|
|
5837
6382
|
},
|
|
5838
6383
|
{
|
|
5839
6384
|
"kind": "function",
|
|
@@ -5843,7 +6388,8 @@
|
|
|
5843
6388
|
"name": "size",
|
|
5844
6389
|
"default": "18"
|
|
5845
6390
|
}
|
|
5846
|
-
]
|
|
6391
|
+
],
|
|
6392
|
+
"description": "Task lists, checklists, or clipboard/notes content."
|
|
5847
6393
|
},
|
|
5848
6394
|
{
|
|
5849
6395
|
"kind": "function",
|
|
@@ -5853,7 +6399,8 @@
|
|
|
5853
6399
|
"name": "size",
|
|
5854
6400
|
"default": "18"
|
|
5855
6401
|
}
|
|
5856
|
-
]
|
|
6402
|
+
],
|
|
6403
|
+
"description": "System, hardware, or technical/processing content."
|
|
5857
6404
|
},
|
|
5858
6405
|
{
|
|
5859
6406
|
"kind": "function",
|
|
@@ -5863,7 +6410,8 @@
|
|
|
5863
6410
|
"name": "size",
|
|
5864
6411
|
"default": "18"
|
|
5865
6412
|
}
|
|
5866
|
-
]
|
|
6413
|
+
],
|
|
6414
|
+
"description": "Folders, directories, or grouped file content."
|
|
5867
6415
|
},
|
|
5868
6416
|
{
|
|
5869
6417
|
"kind": "function",
|
|
@@ -5873,7 +6421,8 @@
|
|
|
5873
6421
|
"name": "size",
|
|
5874
6422
|
"default": "16"
|
|
5875
6423
|
}
|
|
5876
|
-
]
|
|
6424
|
+
],
|
|
6425
|
+
"description": "\"Scroll to bottom\", a downward disclosure, or an expanded tree/accordion indicator."
|
|
5877
6426
|
},
|
|
5878
6427
|
{
|
|
5879
6428
|
"kind": "function",
|
|
@@ -5883,7 +6432,8 @@
|
|
|
5883
6432
|
"name": "size",
|
|
5884
6433
|
"default": "18"
|
|
5885
6434
|
}
|
|
5886
|
-
]
|
|
6435
|
+
],
|
|
6436
|
+
"description": "A generic file/document icon, e.g. tile-grid's default file icon."
|
|
5887
6437
|
},
|
|
5888
6438
|
{
|
|
5889
6439
|
"kind": "function",
|
|
@@ -5893,7 +6443,8 @@
|
|
|
5893
6443
|
"name": "size",
|
|
5894
6444
|
"default": "18"
|
|
5895
6445
|
}
|
|
5896
|
-
]
|
|
6446
|
+
],
|
|
6447
|
+
"description": "A grid or kanban-view toggle, or to represent card/tile layouts."
|
|
5897
6448
|
},
|
|
5898
6449
|
{
|
|
5899
6450
|
"kind": "function",
|
|
@@ -5903,7 +6454,8 @@
|
|
|
5903
6454
|
"name": "size",
|
|
5904
6455
|
"default": "18"
|
|
5905
6456
|
}
|
|
5906
|
-
]
|
|
6457
|
+
],
|
|
6458
|
+
"description": "Messaging, comments, or conversation-related content."
|
|
5907
6459
|
},
|
|
5908
6460
|
{
|
|
5909
6461
|
"kind": "function",
|
|
@@ -5913,7 +6465,8 @@
|
|
|
5913
6465
|
"name": "size",
|
|
5914
6466
|
"default": "16"
|
|
5915
6467
|
}
|
|
5916
|
-
]
|
|
6468
|
+
],
|
|
6469
|
+
"description": "Links that open in a new tab/window, or navigate to an external site."
|
|
5917
6470
|
},
|
|
5918
6471
|
{
|
|
5919
6472
|
"kind": "function",
|
|
@@ -5923,7 +6476,8 @@
|
|
|
5923
6476
|
"name": "size",
|
|
5924
6477
|
"default": "18"
|
|
5925
6478
|
}
|
|
5926
|
-
]
|
|
6479
|
+
],
|
|
6480
|
+
"description": "Education, learning, or certification-related content."
|
|
5927
6481
|
},
|
|
5928
6482
|
{
|
|
5929
6483
|
"kind": "function",
|
|
@@ -5933,7 +6487,8 @@
|
|
|
5933
6487
|
"name": "size",
|
|
5934
6488
|
"default": "16"
|
|
5935
6489
|
}
|
|
5936
|
-
]
|
|
6490
|
+
],
|
|
6491
|
+
"description": "Queues, backlogs, or ordered work-item lists."
|
|
5937
6492
|
},
|
|
5938
6493
|
{
|
|
5939
6494
|
"kind": "function",
|
|
@@ -5943,7 +6498,8 @@
|
|
|
5943
6498
|
"name": "size",
|
|
5944
6499
|
"default": "16"
|
|
5945
6500
|
}
|
|
5946
|
-
]
|
|
6501
|
+
],
|
|
6502
|
+
"description": "Warning states, e.g. the warning variant of toast-notification."
|
|
5947
6503
|
},
|
|
5948
6504
|
{
|
|
5949
6505
|
"kind": "function",
|
|
@@ -5953,7 +6509,8 @@
|
|
|
5953
6509
|
"name": "size",
|
|
5954
6510
|
"default": "16"
|
|
5955
6511
|
}
|
|
5956
|
-
]
|
|
6512
|
+
],
|
|
6513
|
+
"description": "Error states, e.g. the error variant of toast-notification."
|
|
5957
6514
|
},
|
|
5958
6515
|
{
|
|
5959
6516
|
"kind": "function",
|
|
@@ -5963,7 +6520,8 @@
|
|
|
5963
6520
|
"name": "size",
|
|
5964
6521
|
"default": "16"
|
|
5965
6522
|
}
|
|
5966
|
-
]
|
|
6523
|
+
],
|
|
6524
|
+
"description": "A dark-theme toggle, or to represent night/dark mode."
|
|
5967
6525
|
},
|
|
5968
6526
|
{
|
|
5969
6527
|
"kind": "function",
|
|
@@ -5973,7 +6531,8 @@
|
|
|
5973
6531
|
"name": "size",
|
|
5974
6532
|
"default": "16"
|
|
5975
6533
|
}
|
|
5976
|
-
]
|
|
6534
|
+
],
|
|
6535
|
+
"description": "A \"system/auto\" theme option, or to represent a desktop device."
|
|
5977
6536
|
},
|
|
5978
6537
|
{
|
|
5979
6538
|
"kind": "function",
|
|
@@ -5983,7 +6542,8 @@
|
|
|
5983
6542
|
"name": "size",
|
|
5984
6543
|
"default": "16"
|
|
5985
6544
|
}
|
|
5986
|
-
]
|
|
6545
|
+
],
|
|
6546
|
+
"description": "Code snippets, developer tools, or technical/API content."
|
|
5987
6547
|
},
|
|
5988
6548
|
{
|
|
5989
6549
|
"kind": "function",
|
|
@@ -5993,7 +6553,8 @@
|
|
|
5993
6553
|
"name": "size",
|
|
5994
6554
|
"default": "18"
|
|
5995
6555
|
}
|
|
5996
|
-
]
|
|
6556
|
+
],
|
|
6557
|
+
"description": "Plugins, integrations, or extensible/add-on features."
|
|
5997
6558
|
},
|
|
5998
6559
|
{
|
|
5999
6560
|
"kind": "function",
|
|
@@ -6003,7 +6564,8 @@
|
|
|
6003
6564
|
"name": "size",
|
|
6004
6565
|
"default": "18"
|
|
6005
6566
|
}
|
|
6006
|
-
]
|
|
6567
|
+
],
|
|
6568
|
+
"description": "Teams, groups, or multi-user/collaboration content."
|
|
6007
6569
|
},
|
|
6008
6570
|
{
|
|
6009
6571
|
"kind": "function",
|
|
@@ -6013,7 +6575,19 @@
|
|
|
6013
6575
|
"name": "size",
|
|
6014
6576
|
"default": "16"
|
|
6015
6577
|
}
|
|
6016
|
-
]
|
|
6578
|
+
],
|
|
6579
|
+
"description": "Logout/sign-out actions."
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
"kind": "function",
|
|
6583
|
+
"name": "iconWrenchScrewdriver",
|
|
6584
|
+
"parameters": [
|
|
6585
|
+
{
|
|
6586
|
+
"name": "size",
|
|
6587
|
+
"default": "18"
|
|
6588
|
+
}
|
|
6589
|
+
],
|
|
6590
|
+
"description": "Tools, maintenance, or build/configuration actions."
|
|
6017
6591
|
}
|
|
6018
6592
|
],
|
|
6019
6593
|
"exports": [
|
|
@@ -6440,6 +7014,14 @@
|
|
|
6440
7014
|
"name": "iconArrowRightOnRectangle",
|
|
6441
7015
|
"module": "src/icons.ts"
|
|
6442
7016
|
}
|
|
7017
|
+
},
|
|
7018
|
+
{
|
|
7019
|
+
"kind": "js",
|
|
7020
|
+
"name": "iconWrenchScrewdriver",
|
|
7021
|
+
"declaration": {
|
|
7022
|
+
"name": "iconWrenchScrewdriver",
|
|
7023
|
+
"module": "src/icons.ts"
|
|
7024
|
+
}
|
|
6443
7025
|
}
|
|
6444
7026
|
]
|
|
6445
7027
|
},
|
|
@@ -14006,7 +14588,7 @@
|
|
|
14006
14588
|
"declarations": [
|
|
14007
14589
|
{
|
|
14008
14590
|
"kind": "class",
|
|
14009
|
-
"description": "Plain multi-line text field — a thin, tokenized wrapper around a native\n`<textarea>`, styled to match the other value-entry form fields\n(autocomplete-input, form-select, ...). Not a rich editor; use `readonly`\nto display pre-formatted text (e.g. an error message) that the user can\nstill select and copy, typically paired with `<copy-link-button
|
|
14591
|
+
"description": "Plain multi-line text field — a thin, tokenized wrapper around a native\n`<textarea>`, styled to match the other value-entry form fields\n(autocomplete-input, form-select, ...). Not a rich editor; use `readonly`\nto display pre-formatted text (e.g. an error message) that the user can\nstill select and copy, typically paired with `<copy-link-button>`.\nSupports `form-field`'s opt-in floating-label mode when slotted inside it.",
|
|
14010
14592
|
"name": "TextArea",
|
|
14011
14593
|
"members": [
|
|
14012
14594
|
{
|
|
@@ -14059,6 +14641,41 @@
|
|
|
14059
14641
|
"description": "Disables the field entirely (no interaction, dimmed).",
|
|
14060
14642
|
"attribute": "disabled"
|
|
14061
14643
|
},
|
|
14644
|
+
{
|
|
14645
|
+
"kind": "field",
|
|
14646
|
+
"name": "_formFieldConfig",
|
|
14647
|
+
"type": {
|
|
14648
|
+
"text": "FormFieldControlConfig | null"
|
|
14649
|
+
},
|
|
14650
|
+
"privacy": "private",
|
|
14651
|
+
"default": "null"
|
|
14652
|
+
},
|
|
14653
|
+
{
|
|
14654
|
+
"kind": "field",
|
|
14655
|
+
"name": "#textareaId",
|
|
14656
|
+
"privacy": "private",
|
|
14657
|
+
"readonly": true,
|
|
14658
|
+
"default": "`text-area-field-${++instanceCount}`"
|
|
14659
|
+
},
|
|
14660
|
+
{
|
|
14661
|
+
"kind": "method",
|
|
14662
|
+
"name": "[formFieldControl]",
|
|
14663
|
+
"return": {
|
|
14664
|
+
"type": {
|
|
14665
|
+
"text": "void"
|
|
14666
|
+
}
|
|
14667
|
+
},
|
|
14668
|
+
"parameters": [
|
|
14669
|
+
{
|
|
14670
|
+
"name": "config",
|
|
14671
|
+
"type": {
|
|
14672
|
+
"text": "FormFieldControlConfig | null"
|
|
14673
|
+
}
|
|
14674
|
+
}
|
|
14675
|
+
],
|
|
14676
|
+
"description": "Applies or clears label configuration supplied by a wrapping `form-field`.",
|
|
14677
|
+
"privacy": "private"
|
|
14678
|
+
},
|
|
14062
14679
|
{
|
|
14063
14680
|
"kind": "method",
|
|
14064
14681
|
"name": "_onInput",
|
|
@@ -16236,6 +16853,53 @@
|
|
|
16236
16853
|
}
|
|
16237
16854
|
]
|
|
16238
16855
|
},
|
|
16856
|
+
{
|
|
16857
|
+
"kind": "javascript-module",
|
|
16858
|
+
"path": "src/utils/form-field-control.ts",
|
|
16859
|
+
"declarations": [
|
|
16860
|
+
{
|
|
16861
|
+
"kind": "variable",
|
|
16862
|
+
"name": "formFieldControl",
|
|
16863
|
+
"description": "Internal protocol key used to configure controls across their shadow boundary."
|
|
16864
|
+
},
|
|
16865
|
+
{
|
|
16866
|
+
"kind": "function",
|
|
16867
|
+
"name": "supportsFormFieldControl",
|
|
16868
|
+
"return": {
|
|
16869
|
+
"type": {
|
|
16870
|
+
"text": "element is FormFieldControl"
|
|
16871
|
+
}
|
|
16872
|
+
},
|
|
16873
|
+
"parameters": [
|
|
16874
|
+
{
|
|
16875
|
+
"name": "element",
|
|
16876
|
+
"type": {
|
|
16877
|
+
"text": "Element"
|
|
16878
|
+
}
|
|
16879
|
+
}
|
|
16880
|
+
],
|
|
16881
|
+
"description": "Returns whether an assigned element implements the internal form-field protocol."
|
|
16882
|
+
}
|
|
16883
|
+
],
|
|
16884
|
+
"exports": [
|
|
16885
|
+
{
|
|
16886
|
+
"kind": "js",
|
|
16887
|
+
"name": "formFieldControl",
|
|
16888
|
+
"declaration": {
|
|
16889
|
+
"name": "formFieldControl",
|
|
16890
|
+
"module": "src/utils/form-field-control.ts"
|
|
16891
|
+
}
|
|
16892
|
+
},
|
|
16893
|
+
{
|
|
16894
|
+
"kind": "js",
|
|
16895
|
+
"name": "supportsFormFieldControl",
|
|
16896
|
+
"declaration": {
|
|
16897
|
+
"name": "supportsFormFieldControl",
|
|
16898
|
+
"module": "src/utils/form-field-control.ts"
|
|
16899
|
+
}
|
|
16900
|
+
}
|
|
16901
|
+
]
|
|
16902
|
+
},
|
|
16239
16903
|
{
|
|
16240
16904
|
"kind": "javascript-module",
|
|
16241
16905
|
"path": "src/utils/form.ts",
|