@aceshooting/lyra-ui 2.6.0 → 2.7.0
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 +13 -8
- package/custom-elements.json +3111 -28
- package/dist/components/app-rail/app-rail.class.d.ts +8 -1
- package/dist/components/app-rail/app-rail.class.d.ts.map +1 -1
- package/dist/components/app-rail/app-rail.class.js +12 -2
- package/dist/components/app-rail/app-rail.class.js.map +1 -1
- package/dist/components/chat-composer/chat-composer.class.d.ts +27 -0
- package/dist/components/chat-composer/chat-composer.class.d.ts.map +1 -1
- package/dist/components/chat-composer/chat-composer.class.js +64 -1
- package/dist/components/chat-composer/chat-composer.class.js.map +1 -1
- package/dist/components/checkbox/checkbox.class.d.ts +7 -0
- package/dist/components/checkbox/checkbox.class.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.class.js +7 -0
- package/dist/components/checkbox/checkbox.class.js.map +1 -1
- package/dist/components/chip/chip.class.d.ts +2 -0
- package/dist/components/chip/chip.class.d.ts.map +1 -1
- package/dist/components/chip/chip.class.js +3 -1
- package/dist/components/chip/chip.class.js.map +1 -1
- package/dist/components/chip/chip.styles.d.ts.map +1 -1
- package/dist/components/chip/chip.styles.js +4 -1
- package/dist/components/chip/chip.styles.js.map +1 -1
- package/dist/components/combobox/combobox.class.d.ts +16 -0
- package/dist/components/combobox/combobox.class.d.ts.map +1 -1
- package/dist/components/combobox/combobox.class.js +47 -2
- package/dist/components/combobox/combobox.class.js.map +1 -1
- package/dist/components/combobox/combobox.styles.d.ts.map +1 -1
- package/dist/components/combobox/combobox.styles.js +56 -6
- package/dist/components/combobox/combobox.styles.js.map +1 -1
- package/dist/components/conversation-item/conversation-item.class.d.ts +14 -0
- package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -1
- package/dist/components/conversation-item/conversation-item.class.js +38 -0
- package/dist/components/conversation-item/conversation-item.class.js.map +1 -1
- package/dist/components/date-picker/date-input.class.d.ts +25 -0
- package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
- package/dist/components/date-picker/date-input.class.js +61 -0
- package/dist/components/date-picker/date-input.class.js.map +1 -1
- package/dist/components/dialog/dialog.class.d.ts +13 -1
- package/dist/components/dialog/dialog.class.d.ts.map +1 -1
- package/dist/components/dialog/dialog.class.js +24 -8
- package/dist/components/dialog/dialog.class.js.map +1 -1
- package/dist/components/empty/empty.class.d.ts +2 -0
- package/dist/components/empty/empty.class.d.ts.map +1 -1
- package/dist/components/empty/empty.class.js +2 -0
- package/dist/components/empty/empty.class.js.map +1 -1
- package/dist/components/empty/empty.styles.d.ts.map +1 -1
- package/dist/components/empty/empty.styles.js +5 -2
- package/dist/components/empty/empty.styles.js.map +1 -1
- package/dist/components/export-button/export-button.class.d.ts +19 -2
- package/dist/components/export-button/export-button.class.d.ts.map +1 -1
- package/dist/components/export-button/export-button.class.js +32 -8
- package/dist/components/export-button/export-button.class.js.map +1 -1
- package/dist/components/export-button/export-button.styles.d.ts.map +1 -1
- package/dist/components/export-button/export-button.styles.js +8 -1
- package/dist/components/export-button/export-button.styles.js.map +1 -1
- package/dist/components/gauge/gauge.class.d.ts +6 -2
- package/dist/components/gauge/gauge.class.d.ts.map +1 -1
- package/dist/components/gauge/gauge.class.js +40 -4
- package/dist/components/gauge/gauge.class.js.map +1 -1
- package/dist/components/gauge/gauge.styles.js +1 -1
- package/dist/components/graph/graph.class.d.ts +28 -1
- package/dist/components/graph/graph.class.d.ts.map +1 -1
- package/dist/components/graph/graph.class.js +94 -42
- package/dist/components/graph/graph.class.js.map +1 -1
- package/dist/components/graph/graph.styles.d.ts.map +1 -1
- package/dist/components/graph/graph.styles.js +4 -1
- package/dist/components/graph/graph.styles.js.map +1 -1
- package/dist/components/map/map.class.d.ts +4 -2
- package/dist/components/map/map.class.d.ts.map +1 -1
- package/dist/components/map/map.class.js +5 -3
- package/dist/components/map/map.class.js.map +1 -1
- package/dist/components/mention-popover/mention-popover.class.d.ts +9 -4
- package/dist/components/mention-popover/mention-popover.class.d.ts.map +1 -1
- package/dist/components/mention-popover/mention-popover.class.js +11 -5
- package/dist/components/mention-popover/mention-popover.class.js.map +1 -1
- package/dist/components/menu/menu.class.d.ts +10 -4
- package/dist/components/menu/menu.class.d.ts.map +1 -1
- package/dist/components/menu/menu.class.js +11 -5
- package/dist/components/menu/menu.class.js.map +1 -1
- package/dist/components/model-select/model-select.class.d.ts +44 -0
- package/dist/components/model-select/model-select.class.d.ts.map +1 -1
- package/dist/components/model-select/model-select.class.js +125 -0
- package/dist/components/model-select/model-select.class.js.map +1 -1
- package/dist/components/model-select/model-select.styles.d.ts.map +1 -1
- package/dist/components/model-select/model-select.styles.js +21 -0
- package/dist/components/model-select/model-select.styles.js.map +1 -1
- package/dist/components/pagination/pagination.class.d.ts +81 -0
- package/dist/components/pagination/pagination.class.d.ts.map +1 -0
- package/dist/components/pagination/pagination.class.js +278 -0
- package/dist/components/pagination/pagination.class.js.map +1 -0
- package/dist/components/pagination/pagination.d.ts +2 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/pagination.js +5 -0
- package/dist/components/pagination/pagination.js.map +1 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -0
- package/dist/components/pagination/pagination.styles.js +142 -0
- package/dist/components/pagination/pagination.styles.js.map +1 -0
- package/dist/components/phone-input/phone-input.class.d.ts +191 -0
- package/dist/components/phone-input/phone-input.class.d.ts.map +1 -0
- package/dist/components/phone-input/phone-input.class.js +493 -0
- package/dist/components/phone-input/phone-input.class.js.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +2 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/phone-input/phone-input.js +5 -0
- package/dist/components/phone-input/phone-input.js.map +1 -0
- package/dist/components/phone-input/phone-input.styles.d.ts +2 -0
- package/dist/components/phone-input/phone-input.styles.d.ts.map +1 -0
- package/dist/components/phone-input/phone-input.styles.js +123 -0
- package/dist/components/phone-input/phone-input.styles.js.map +1 -0
- package/dist/components/segmented/segmented.class.d.ts +1 -0
- package/dist/components/segmented/segmented.class.d.ts.map +1 -1
- package/dist/components/segmented/segmented.class.js +1 -0
- package/dist/components/segmented/segmented.class.js.map +1 -1
- package/dist/components/slider/slider.class.d.ts +3 -0
- package/dist/components/slider/slider.class.d.ts.map +1 -1
- package/dist/components/slider/slider.class.js +3 -0
- package/dist/components/slider/slider.class.js.map +1 -1
- package/dist/components/switch/switch.class.d.ts +20 -0
- package/dist/components/switch/switch.class.d.ts.map +1 -1
- package/dist/components/switch/switch.class.js +83 -23
- package/dist/components/switch/switch.class.js.map +1 -1
- package/dist/components/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/switch/switch.styles.js +18 -0
- package/dist/components/switch/switch.styles.js.map +1 -1
- package/dist/components/textarea/textarea.class.d.ts +86 -7
- package/dist/components/textarea/textarea.class.d.ts.map +1 -1
- package/dist/components/textarea/textarea.class.js +305 -21
- package/dist/components/textarea/textarea.class.js.map +1 -1
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
- package/dist/components/textarea/textarea.styles.js +36 -0
- package/dist/components/textarea/textarea.styles.js.map +1 -1
- package/dist/components/time-range/time-range.class.d.ts +4 -0
- package/dist/components/time-range/time-range.class.d.ts.map +1 -1
- package/dist/components/time-range/time-range.class.js +4 -0
- package/dist/components/time-range/time-range.class.js.map +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts +6 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js +8 -0
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -1
- package/dist/components/tree/tree-node.class.d.ts +3 -0
- package/dist/components/tree/tree-node.class.d.ts.map +1 -1
- package/dist/components/tree/tree-node.class.js +16 -1
- package/dist/components/tree/tree-node.class.js.map +1 -1
- package/dist/components/tree/tree-node.styles.d.ts.map +1 -1
- package/dist/components/tree/tree-node.styles.js +27 -1
- package/dist/components/tree/tree-node.styles.js.map +1 -1
- package/dist/components/tree/tree.class.d.ts +11 -1
- package/dist/components/tree/tree.class.d.ts.map +1 -1
- package/dist/components/tree/tree.class.js +6 -2
- package/dist/components/tree/tree.class.js.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.class.d.ts +4 -0
- package/dist/components/typing-indicator/typing-indicator.class.d.ts.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.class.js +4 -0
- package/dist/components/typing-indicator/typing-indicator.class.js.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.styles.d.ts.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.styles.js +9 -7
- package/dist/components/typing-indicator/typing-indicator.styles.js.map +1 -1
- package/dist/internal/localization.d.ts +1 -1
- package/dist/internal/localization.d.ts.map +1 -1
- package/dist/internal/localization.js +5 -0
- package/dist/internal/localization.js.map +1 -1
- package/dist/internal/root-registration-allowlist.d.ts +1 -1
- package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
- package/dist/internal/root-registration-allowlist.js +2 -0
- package/dist/internal/root-registration-allowlist.js.map +1 -1
- package/dist/lyra.d.ts +11 -3
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js +4 -0
- package/dist/lyra.js.map +1 -1
- package/llms-full.txt +573 -94
- package/llms.txt +5 -3
- package/package.json +9 -1
package/custom-elements.json
CHANGED
|
@@ -507,6 +507,17 @@
|
|
|
507
507
|
"privacy": "private",
|
|
508
508
|
"default": "'full'"
|
|
509
509
|
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "field",
|
|
512
|
+
"name": "accessibleLabel",
|
|
513
|
+
"type": {
|
|
514
|
+
"text": "string | null"
|
|
515
|
+
},
|
|
516
|
+
"privacy": "private",
|
|
517
|
+
"default": "null",
|
|
518
|
+
"description": "Accessible name overriding `label` (and its localized default) for the nav landmark / dialog\nrole, mirroring `<lyra-date-input>`'s `accessibleLabel` pattern. Reads the host's own\n`aria-label` attribute -- unset (the default, `null`) reproduces today's exact\n`label`/localized-default output.",
|
|
519
|
+
"attribute": "aria-label"
|
|
520
|
+
},
|
|
510
521
|
{
|
|
511
522
|
"kind": "field",
|
|
512
523
|
"name": "baseEl",
|
|
@@ -645,7 +656,7 @@
|
|
|
645
656
|
"text": "string"
|
|
646
657
|
},
|
|
647
658
|
"default": "'Navigation'",
|
|
648
|
-
"description": "Accessible name for the rail's navigation landmark, and for its dialog\nrole while the mobile overlay is open.",
|
|
659
|
+
"description": "Accessible name for the rail's navigation landmark, and for its dialog\nrole while the mobile overlay is open. A host-level `aria-label`\nattribute takes precedence over this when both are set -- see\n`accessibleLabel`.",
|
|
649
660
|
"attribute": "label"
|
|
650
661
|
},
|
|
651
662
|
{
|
|
@@ -1165,6 +1176,15 @@
|
|
|
1165
1176
|
}
|
|
1166
1177
|
],
|
|
1167
1178
|
"attributes": [
|
|
1179
|
+
{
|
|
1180
|
+
"name": "aria-label",
|
|
1181
|
+
"type": {
|
|
1182
|
+
"text": "string | null"
|
|
1183
|
+
},
|
|
1184
|
+
"default": "null",
|
|
1185
|
+
"description": "Accessible name overriding `label` (and its localized default) for the nav landmark / dialog\nrole, mirroring `<lyra-date-input>`'s `accessibleLabel` pattern. Reads the host's own\n`aria-label` attribute -- unset (the default, `null`) reproduces today's exact\n`label`/localized-default output.",
|
|
1186
|
+
"fieldName": "accessibleLabel"
|
|
1187
|
+
},
|
|
1168
1188
|
{
|
|
1169
1189
|
"name": "dragging",
|
|
1170
1190
|
"type": {
|
|
@@ -1198,7 +1218,7 @@
|
|
|
1198
1218
|
"text": "string"
|
|
1199
1219
|
},
|
|
1200
1220
|
"default": "'Navigation'",
|
|
1201
|
-
"description": "Accessible name for the rail's navigation landmark, and for its dialog\nrole while the mobile overlay is open.",
|
|
1221
|
+
"description": "Accessible name for the rail's navigation landmark, and for its dialog\nrole while the mobile overlay is open. A host-level `aria-label`\nattribute takes precedence over this when both are set -- see\n`accessibleLabel`.",
|
|
1202
1222
|
"fieldName": "label"
|
|
1203
1223
|
},
|
|
1204
1224
|
{
|
|
@@ -16152,7 +16172,7 @@
|
|
|
16152
16172
|
"declarations": [
|
|
16153
16173
|
{
|
|
16154
16174
|
"kind": "class",
|
|
16155
|
-
"description": "`<lyra-chat-composer>` — the message input for a chat/agent conversation\nsurface: an auto-resizing textarea plus a send/stop button. Form-\nassociated via the `FormAssociated` mixin (see `<lyra-date-input>` for the\nsame shape), so it participates in native `<form>` submission/validation/\nreset like any other text control — `name`/`value`/`disabled`/`required`/\n`checkValidity()`/`reportValidity()` all come from that mixin.\n\nAuto-resize reads the textarea's own *computed* line-height/padding/\nborder at runtime (`resizeTextarea()`) rather than assuming a fixed\npx-per-row constant, so it stays correct under a consumer's own font-size/\nline-height overrides. It grows between `min-rows` and `max-rows`, then\nswitches to internal scrolling. A `ResizeObserver` on the textarea itself\nre-runs the same fit whenever its *width* changes (a responsive\nbreakpoint, a sidebar toggling, a window resize, an orientation change)\neven though `value`/`min-rows`/`max-rows` never did -- a narrower box\nwraps the same text across more lines, so the previously-fitted height\nwould otherwise go stale and clip content with no scrollbar to reveal it.\n\nEnter-to-send (only active while `submit-on-enter` is true, the default):\nplain Enter submits and is prevented from inserting a newline; Shift+Enter\nalways inserts a newline no matter what; an IME composition step (checked\nvia `isComposing`, with `keyCode === 229` as a defense-in-depth fallback\nfor browsers that report `isComposing` inconsistently on the\ncompositionend-adjacent keydown) is never treated as a submit trigger;\nand while `status` isn't `\"idle\"` Enter is left alone to insert a newline\ntoo, rather than trying to submit again -- there is nothing meaningful to\nsubmit while a previous message is still sending/streaming, and the\ntextarea deliberately stays interactive (see `disabled` below) so a user\ncan keep composing their next message in the meantime.\n\n`lyra-submit`'s `detail.value` is always the exact, untrimmed current\nvalue (`detail.value === value` at the moment it fires) -- trimming is\nleft to the consumer so it never silently diverges from what `value`\nitself reports. Submitting does not clear `value`; the consumer clears it\nonce the submission has actually been accepted (so e.g. a failed send can\nleave the text in place for retry).",
|
|
16175
|
+
"description": "`<lyra-chat-composer>` — the message input for a chat/agent conversation\nsurface: an auto-resizing textarea plus a send/stop button. Form-\nassociated via the `FormAssociated` mixin (see `<lyra-date-input>` for the\nsame shape), so it participates in native `<form>` submission/validation/\nreset like any other text control — `name`/`value`/`disabled`/`required`/\n`checkValidity()`/`reportValidity()` all come from that mixin.\n\nAuto-resize reads the textarea's own *computed* line-height/padding/\nborder at runtime (`resizeTextarea()`) rather than assuming a fixed\npx-per-row constant, so it stays correct under a consumer's own font-size/\nline-height overrides. It grows between `min-rows` and `max-rows`, then\nswitches to internal scrolling. A `ResizeObserver` on the textarea itself\nre-runs the same fit whenever its *width* changes (a responsive\nbreakpoint, a sidebar toggling, a window resize, an orientation change)\neven though `value`/`min-rows`/`max-rows` never did -- a narrower box\nwraps the same text across more lines, so the previously-fitted height\nwould otherwise go stale and clip content with no scrollbar to reveal it.\n\nEnter-to-send (only active while `submit-on-enter` is true, the default):\nplain Enter submits and is prevented from inserting a newline; Shift+Enter\nalways inserts a newline no matter what; an IME composition step (checked\nvia `isComposing`, with `keyCode === 229` as a defense-in-depth fallback\nfor browsers that report `isComposing` inconsistently on the\ncompositionend-adjacent keydown) is never treated as a submit trigger;\nand while `status` isn't `\"idle\"` Enter is left alone to insert a newline\ntoo, rather than trying to submit again -- there is nothing meaningful to\nsubmit while a previous message is still sending/streaming, and the\ntextarea deliberately stays interactive (see `disabled` below) so a user\ncan keep composing their next message in the meantime.\n\nDeliberately no label/hint/error chrome -- a composite chat-input control, not a labeled form\nfield; wrap it in your own layout for that context.\n\n`lyra-submit`'s `detail.value` is always the exact, untrimmed current\nvalue (`detail.value === value` at the moment it fires) -- trimming is\nleft to the consumer so it never silently diverges from what `value`\nitself reports. Submitting does not clear `value`; the consumer clears it\nonce the submission has actually been accepted (so e.g. a failed send can\nleave the text in place for retry).",
|
|
16156
16176
|
"name": "LyraChatComposer",
|
|
16157
16177
|
"cssParts": [
|
|
16158
16178
|
{
|
|
@@ -16199,6 +16219,26 @@
|
|
|
16199
16219
|
}
|
|
16200
16220
|
],
|
|
16201
16221
|
"members": [
|
|
16222
|
+
{
|
|
16223
|
+
"kind": "field",
|
|
16224
|
+
"name": "autoCorrect",
|
|
16225
|
+
"type": {
|
|
16226
|
+
"text": "string"
|
|
16227
|
+
},
|
|
16228
|
+
"default": "''",
|
|
16229
|
+
"description": "Forwarded to the internal `<textarea>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default). No `wrap` property here -- the auto-resize\nlogic above already assumes unwrapped natural text flow.\n\nNamed `autoCorrect` (capital `C`), not `autocorrect`, purely to dodge a TS `lib.dom.d.ts`\ncollision: newer DOM typings declare a `boolean`-typed `HTMLElement.autocorrect` IDL member,\nwhich a same-named `string`-typed reactive property here would override unsoundly from the\ntype checker's point of view (even though the browser itself would happily let this class's\nown accessor win at runtime). The explicit attribute mapping preserves the standard\nlowercase `autocorrect` wire name in both Lit and generated component metadata.",
|
|
16230
|
+
"attribute": "autocorrect"
|
|
16231
|
+
},
|
|
16232
|
+
{
|
|
16233
|
+
"kind": "field",
|
|
16234
|
+
"name": "autocapitalize",
|
|
16235
|
+
"type": {
|
|
16236
|
+
"text": "string"
|
|
16237
|
+
},
|
|
16238
|
+
"default": "''",
|
|
16239
|
+
"description": "Forwarded to the internal `<textarea>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
16240
|
+
"attribute": "autocapitalize"
|
|
16241
|
+
},
|
|
16202
16242
|
{
|
|
16203
16243
|
"kind": "field",
|
|
16204
16244
|
"name": "effectiveDirection",
|
|
@@ -16307,6 +16347,11 @@
|
|
|
16307
16347
|
"name": "onTextareaBlur",
|
|
16308
16348
|
"privacy": "private"
|
|
16309
16349
|
},
|
|
16350
|
+
{
|
|
16351
|
+
"kind": "field",
|
|
16352
|
+
"name": "onTextareaFocus",
|
|
16353
|
+
"privacy": "private"
|
|
16354
|
+
},
|
|
16310
16355
|
{
|
|
16311
16356
|
"kind": "field",
|
|
16312
16357
|
"name": "onTextareaInput",
|
|
@@ -16331,6 +16376,16 @@
|
|
|
16331
16376
|
"default": "''",
|
|
16332
16377
|
"attribute": "placeholder"
|
|
16333
16378
|
},
|
|
16379
|
+
{
|
|
16380
|
+
"kind": "field",
|
|
16381
|
+
"name": "spellcheck",
|
|
16382
|
+
"type": {
|
|
16383
|
+
"text": "boolean"
|
|
16384
|
+
},
|
|
16385
|
+
"default": "true",
|
|
16386
|
+
"description": "Forwarded to the internal `<textarea>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default. Uses spellcheckConverter rather than Lit's default\npresence-based `type: Boolean` handling, so a plain-HTML consumer with no way to write a\n`.spellcheck` property binding can still turn this off with `spellcheck=\"false\"`; a Lit\ntemplate can do the same with either that attribute string or a `.spellcheck=${false}`\nproperty binding.",
|
|
16387
|
+
"attribute": "spellcheck"
|
|
16388
|
+
},
|
|
16334
16389
|
{
|
|
16335
16390
|
"kind": "field",
|
|
16336
16391
|
"name": "status",
|
|
@@ -16647,6 +16702,24 @@
|
|
|
16647
16702
|
}
|
|
16648
16703
|
],
|
|
16649
16704
|
"attributes": [
|
|
16705
|
+
{
|
|
16706
|
+
"name": "autocapitalize",
|
|
16707
|
+
"type": {
|
|
16708
|
+
"text": "string"
|
|
16709
|
+
},
|
|
16710
|
+
"default": "''",
|
|
16711
|
+
"description": "Forwarded to the internal `<textarea>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
16712
|
+
"fieldName": "autocapitalize"
|
|
16713
|
+
},
|
|
16714
|
+
{
|
|
16715
|
+
"name": "autocorrect",
|
|
16716
|
+
"type": {
|
|
16717
|
+
"text": "string"
|
|
16718
|
+
},
|
|
16719
|
+
"default": "''",
|
|
16720
|
+
"description": "Forwarded to the internal `<textarea>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default). No `wrap` property here -- the auto-resize\nlogic above already assumes unwrapped natural text flow.\n\nNamed `autoCorrect` (capital `C`), not `autocorrect`, purely to dodge a TS `lib.dom.d.ts`\ncollision: newer DOM typings declare a `boolean`-typed `HTMLElement.autocorrect` IDL member,\nwhich a same-named `string`-typed reactive property here would override unsoundly from the\ntype checker's point of view (even though the browser itself would happily let this class's\nown accessor win at runtime). The explicit attribute mapping preserves the standard\nlowercase `autocorrect` wire name in both Lit and generated component metadata.",
|
|
16721
|
+
"fieldName": "autoCorrect"
|
|
16722
|
+
},
|
|
16650
16723
|
{
|
|
16651
16724
|
"name": "locale",
|
|
16652
16725
|
"type": {
|
|
@@ -16684,6 +16757,15 @@
|
|
|
16684
16757
|
"default": "''",
|
|
16685
16758
|
"fieldName": "placeholder"
|
|
16686
16759
|
},
|
|
16760
|
+
{
|
|
16761
|
+
"name": "spellcheck",
|
|
16762
|
+
"type": {
|
|
16763
|
+
"text": "boolean"
|
|
16764
|
+
},
|
|
16765
|
+
"default": "true",
|
|
16766
|
+
"description": "Forwarded to the internal `<textarea>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default. Uses spellcheckConverter rather than Lit's default\npresence-based `type: Boolean` handling, so a plain-HTML consumer with no way to write a\n`.spellcheck` property binding can still turn this off with `spellcheck=\"false\"`; a Lit\ntemplate can do the same with either that attribute string or a `.spellcheck=${false}`\nproperty binding.",
|
|
16767
|
+
"fieldName": "spellcheck"
|
|
16768
|
+
},
|
|
16687
16769
|
{
|
|
16688
16770
|
"name": "status",
|
|
16689
16771
|
"type": {
|
|
@@ -17412,7 +17494,7 @@
|
|
|
17412
17494
|
"declarations": [
|
|
17413
17495
|
{
|
|
17414
17496
|
"kind": "class",
|
|
17415
|
-
"description": "`<lyra-checkbox>` — a boolean form control. Structurally the same idea as\n`<lyra-switch>` (form-associated via `ElementInternals`, click and\nSpace/Enter both toggle) but with checkbox semantics: `role=\"checkbox\"` +\nan `aria-checked` that can also be `\"mixed\"`, and a visual box/checkmark\ninstead of a track/thumb.\n\n`checked` is not a plain string, so this attaches `ElementInternals`\ndirectly and implements its own `updateValidity()` rather than using the\n`FormAssociated` mixin — see `<lyra-combobox>` for the same\ndirect-`ElementInternals` shape with a non-string value.",
|
|
17497
|
+
"description": "`<lyra-checkbox>` — a boolean form control. Structurally the same idea as\n`<lyra-switch>` (form-associated via `ElementInternals`, click and\nSpace/Enter both toggle) but with checkbox semantics: `role=\"checkbox\"` +\nan `aria-checked` that can also be `\"mixed\"`, and a visual box/checkmark\ninstead of a track/thumb.\n\n`checked` is not a plain string, so this attaches `ElementInternals`\ndirectly and implements its own `updateValidity()` rather than using the\n`FormAssociated` mixin — see `<lyra-combobox>` for the same\ndirect-`ElementInternals` shape with a non-string value.\n\nDeliberately no hint/error chrome of its own -- the default slot already carries real, visible\nlabel text (see `@slot` below), so a labeled-field frame built around `label`/`hint`/`errorText`\nprops has nothing to add here. A consumer needing hint/error messaging composes it in their own\nwrapper (e.g. `<lyra-tool-param-form>` folds a boolean field's validation error into adjacent\ndescription text / `aria-label` rather than a `<lyra-checkbox>`-owned slot), the same way a\nnative `<input type=\"checkbox\">` plus `<label>` pairs with an externally-owned error node.",
|
|
17416
17498
|
"name": "LyraCheckbox",
|
|
17417
17499
|
"cssParts": [
|
|
17418
17500
|
{
|
|
@@ -18508,6 +18590,13 @@
|
|
|
18508
18590
|
"kind": "class",
|
|
18509
18591
|
"description": "`<lyra-chip>` — a small, content-agnostic pill for a short label: a tag, an\nactive-filter/scope indicator, etc. Distinct from `<lyra-attachment-chip>`\n(specifically file-shaped, with a thumbnail/size/upload-progress) — this\none carries no domain assumptions at all, just a label and an optional\nleading icon/dot.\n\n`tone` tints the whole pill using the same loud-color-on-quiet-tint\nconvention `<lyra-tool-call-chip>`/`<lyra-citation-badge>` already\nestablish for status coloring: background is the tone's `-quiet` tint,\ntext/icon is the tone's loud color. `neutral` (the default) has no\ndedicated token pair of its own, so it falls back to a plain\nbordered-surface look — the same \"no signal\" treatment\n`<lyra-citation-badge>`'s `default` status and `<lyra-tool-call-chip>`'s\n`pending` status already use.\n\nThis is a controlled component: clicking the remove (×) button only fires\n`lyra-remove` — the chip never removes itself from the DOM on its own\ninteraction, the same contract `<lyra-attachment-chip>`/\n`<lyra-conversation-item>` already follow. A consumer owns the underlying\nlist and decides whether/how the click actually removes anything.",
|
|
18510
18592
|
"name": "LyraChip",
|
|
18593
|
+
"cssProperties": [
|
|
18594
|
+
{
|
|
18595
|
+
"description": "Background while a toggleable chip is selected, independently themeable from its resting background.",
|
|
18596
|
+
"name": "--lyra-chip-pressed-bg",
|
|
18597
|
+
"default": "var(--lyra-chip-bg)"
|
|
18598
|
+
}
|
|
18599
|
+
],
|
|
18511
18600
|
"cssParts": [
|
|
18512
18601
|
{
|
|
18513
18602
|
"description": "The pill's root container.",
|
|
@@ -21060,10 +21149,18 @@
|
|
|
21060
21149
|
"description": "An option row.",
|
|
21061
21150
|
"name": "option"
|
|
21062
21151
|
},
|
|
21152
|
+
{
|
|
21153
|
+
"description": "An async option row's optional trailing metadata badge.",
|
|
21154
|
+
"name": "option-badge"
|
|
21155
|
+
},
|
|
21063
21156
|
{
|
|
21064
21157
|
"description": "An option row's leading status dot (when `dot-color` is set).",
|
|
21065
21158
|
"name": "option-dot"
|
|
21066
21159
|
},
|
|
21160
|
+
{
|
|
21161
|
+
"description": "An async option row's optional decorative leading visual.",
|
|
21162
|
+
"name": "option-icon"
|
|
21163
|
+
},
|
|
21067
21164
|
{
|
|
21068
21165
|
"description": "An option row's label/sub wrapper.",
|
|
21069
21166
|
"name": "option-label"
|
|
@@ -21210,6 +21307,12 @@
|
|
|
21210
21307
|
"privacy": "private",
|
|
21211
21308
|
"default": "new Map<string, string>()"
|
|
21212
21309
|
},
|
|
21310
|
+
{
|
|
21311
|
+
"kind": "field",
|
|
21312
|
+
"name": "_selectedRowCache",
|
|
21313
|
+
"privacy": "private",
|
|
21314
|
+
"default": "new Map<string, ComboboxSourceRow>()"
|
|
21315
|
+
},
|
|
21213
21316
|
{
|
|
21214
21317
|
"kind": "field",
|
|
21215
21318
|
"name": "_sourceWarmed",
|
|
@@ -21634,6 +21737,26 @@
|
|
|
21634
21737
|
"attribute": "required",
|
|
21635
21738
|
"reflects": true
|
|
21636
21739
|
},
|
|
21740
|
+
{
|
|
21741
|
+
"kind": "field",
|
|
21742
|
+
"name": "selectedRows",
|
|
21743
|
+
"type": {
|
|
21744
|
+
"text": "ComboboxSourceRow[]"
|
|
21745
|
+
},
|
|
21746
|
+
"description": "Structured rows corresponding to the current selection, including opaque async-row data.",
|
|
21747
|
+
"readonly": true
|
|
21748
|
+
},
|
|
21749
|
+
{
|
|
21750
|
+
"kind": "field",
|
|
21751
|
+
"name": "size",
|
|
21752
|
+
"type": {
|
|
21753
|
+
"text": "LyraComboboxSize"
|
|
21754
|
+
},
|
|
21755
|
+
"default": "'m'",
|
|
21756
|
+
"description": "Visual size — same `xs`–`xl` scale as `lyra-select`'s `size`.",
|
|
21757
|
+
"attribute": "size",
|
|
21758
|
+
"reflects": true
|
|
21759
|
+
},
|
|
21637
21760
|
{
|
|
21638
21761
|
"kind": "field",
|
|
21639
21762
|
"name": "source",
|
|
@@ -22277,6 +22400,15 @@
|
|
|
22277
22400
|
},
|
|
22278
22401
|
"fieldName": "required"
|
|
22279
22402
|
},
|
|
22403
|
+
{
|
|
22404
|
+
"name": "size",
|
|
22405
|
+
"type": {
|
|
22406
|
+
"text": "LyraComboboxSize"
|
|
22407
|
+
},
|
|
22408
|
+
"default": "'m'",
|
|
22409
|
+
"description": "Visual size — same `xs`–`xl` scale as `lyra-select`'s `size`.",
|
|
22410
|
+
"fieldName": "size"
|
|
22411
|
+
},
|
|
22280
22412
|
{
|
|
22281
22413
|
"name": "value",
|
|
22282
22414
|
"type": {
|
|
@@ -23248,6 +23380,26 @@
|
|
|
23248
23380
|
"attribute": "active",
|
|
23249
23381
|
"reflects": true
|
|
23250
23382
|
},
|
|
23383
|
+
{
|
|
23384
|
+
"kind": "field",
|
|
23385
|
+
"name": "autoCorrect",
|
|
23386
|
+
"type": {
|
|
23387
|
+
"text": "string"
|
|
23388
|
+
},
|
|
23389
|
+
"default": "''",
|
|
23390
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `autocorrect` (Safari/WebKit-specific).\nEmpty string omits the attribute (browser default). Named `autoCorrect` to avoid\n`HTMLElement.autocorrect`'s incompatible DOM typing -- mirrors `<lyra-textarea>`'s identical\nchoice.",
|
|
23391
|
+
"attribute": "autocorrect"
|
|
23392
|
+
},
|
|
23393
|
+
{
|
|
23394
|
+
"kind": "field",
|
|
23395
|
+
"name": "autocapitalize",
|
|
23396
|
+
"type": {
|
|
23397
|
+
"text": "string"
|
|
23398
|
+
},
|
|
23399
|
+
"default": "''",
|
|
23400
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
23401
|
+
"attribute": "autocapitalize"
|
|
23402
|
+
},
|
|
23251
23403
|
{
|
|
23252
23404
|
"kind": "field",
|
|
23253
23405
|
"name": "draftTitle",
|
|
@@ -23377,6 +23529,11 @@
|
|
|
23377
23529
|
"name": "onTitleInputChange",
|
|
23378
23530
|
"privacy": "private"
|
|
23379
23531
|
},
|
|
23532
|
+
{
|
|
23533
|
+
"kind": "field",
|
|
23534
|
+
"name": "onTitleInputFocus",
|
|
23535
|
+
"privacy": "private"
|
|
23536
|
+
},
|
|
23380
23537
|
{
|
|
23381
23538
|
"kind": "field",
|
|
23382
23539
|
"name": "onTitleInputKeyDown",
|
|
@@ -23391,6 +23548,16 @@
|
|
|
23391
23548
|
"privacy": "private",
|
|
23392
23549
|
"default": "false"
|
|
23393
23550
|
},
|
|
23551
|
+
{
|
|
23552
|
+
"kind": "field",
|
|
23553
|
+
"name": "spellcheck",
|
|
23554
|
+
"type": {
|
|
23555
|
+
"text": "boolean"
|
|
23556
|
+
},
|
|
23557
|
+
"default": "true",
|
|
23558
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `spellcheck`. Defaults to `true`, matching\nthe native element's own default. `spellcheck=\"false\"` is parsed as false.",
|
|
23559
|
+
"attribute": "spellcheck"
|
|
23560
|
+
},
|
|
23394
23561
|
{
|
|
23395
23562
|
"kind": "field",
|
|
23396
23563
|
"name": "stopLocaleSubscription",
|
|
@@ -23645,6 +23812,24 @@
|
|
|
23645
23812
|
"description": "Whether this is the currently-selected/open session. Drives the\nbrand-quiet background treatment.",
|
|
23646
23813
|
"fieldName": "active"
|
|
23647
23814
|
},
|
|
23815
|
+
{
|
|
23816
|
+
"name": "autocapitalize",
|
|
23817
|
+
"type": {
|
|
23818
|
+
"text": "string"
|
|
23819
|
+
},
|
|
23820
|
+
"default": "''",
|
|
23821
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
23822
|
+
"fieldName": "autocapitalize"
|
|
23823
|
+
},
|
|
23824
|
+
{
|
|
23825
|
+
"name": "autocorrect",
|
|
23826
|
+
"type": {
|
|
23827
|
+
"text": "string"
|
|
23828
|
+
},
|
|
23829
|
+
"default": "''",
|
|
23830
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `autocorrect` (Safari/WebKit-specific).\nEmpty string omits the attribute (browser default). Named `autoCorrect` to avoid\n`HTMLElement.autocorrect`'s incompatible DOM typing -- mirrors `<lyra-textarea>`'s identical\nchoice.",
|
|
23831
|
+
"fieldName": "autoCorrect"
|
|
23832
|
+
},
|
|
23648
23833
|
{
|
|
23649
23834
|
"name": "editable",
|
|
23650
23835
|
"type": {
|
|
@@ -23676,6 +23861,15 @@
|
|
|
23676
23861
|
"module": "src/internal/lyra-element.ts"
|
|
23677
23862
|
}
|
|
23678
23863
|
},
|
|
23864
|
+
{
|
|
23865
|
+
"name": "spellcheck",
|
|
23866
|
+
"type": {
|
|
23867
|
+
"text": "boolean"
|
|
23868
|
+
},
|
|
23869
|
+
"default": "true",
|
|
23870
|
+
"description": "Forwarded to the in-place rename `<input>`'s own `spellcheck`. Defaults to `true`, matching\nthe native element's own default. `spellcheck=\"false\"` is parsed as false.",
|
|
23871
|
+
"fieldName": "spellcheck"
|
|
23872
|
+
},
|
|
23679
23873
|
{
|
|
23680
23874
|
"name": "title",
|
|
23681
23875
|
"type": {
|
|
@@ -24657,6 +24851,26 @@
|
|
|
24657
24851
|
"default": "null",
|
|
24658
24852
|
"attribute": "aria-label"
|
|
24659
24853
|
},
|
|
24854
|
+
{
|
|
24855
|
+
"kind": "field",
|
|
24856
|
+
"name": "autoCorrect",
|
|
24857
|
+
"type": {
|
|
24858
|
+
"text": "string"
|
|
24859
|
+
},
|
|
24860
|
+
"default": "''",
|
|
24861
|
+
"description": "Forwarded to the internal `<input>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default).\nNamed `autoCorrect` (capital `C`), not `autocorrect`, purely to dodge a TS `lib.dom.d.ts`\ncollision: newer DOM typings declare a `boolean`-typed `HTMLElement.autocorrect` IDL member,\nwhich conflicts with this component's `string`-typed property of the same name. The explicit\nattribute mapping preserves the standard lowercase `autocorrect` wire name in both Lit and\ngenerated component metadata.",
|
|
24862
|
+
"attribute": "autocorrect"
|
|
24863
|
+
},
|
|
24864
|
+
{
|
|
24865
|
+
"kind": "field",
|
|
24866
|
+
"name": "autocapitalize",
|
|
24867
|
+
"type": {
|
|
24868
|
+
"text": "string"
|
|
24869
|
+
},
|
|
24870
|
+
"default": "''",
|
|
24871
|
+
"description": "Forwarded to the internal `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
24872
|
+
"attribute": "autocapitalize"
|
|
24873
|
+
},
|
|
24660
24874
|
{
|
|
24661
24875
|
"kind": "field",
|
|
24662
24876
|
"name": "cleanupFn",
|
|
@@ -24895,6 +25109,11 @@
|
|
|
24895
25109
|
"name": "onInputChange",
|
|
24896
25110
|
"privacy": "private"
|
|
24897
25111
|
},
|
|
25112
|
+
{
|
|
25113
|
+
"kind": "field",
|
|
25114
|
+
"name": "onInputFocus",
|
|
25115
|
+
"privacy": "private"
|
|
25116
|
+
},
|
|
24898
25117
|
{
|
|
24899
25118
|
"kind": "field",
|
|
24900
25119
|
"name": "onInputKey",
|
|
@@ -24981,6 +25200,16 @@
|
|
|
24981
25200
|
"privacy": "private",
|
|
24982
25201
|
"default": "false"
|
|
24983
25202
|
},
|
|
25203
|
+
{
|
|
25204
|
+
"kind": "field",
|
|
25205
|
+
"name": "spellcheck",
|
|
25206
|
+
"type": {
|
|
25207
|
+
"text": "boolean"
|
|
25208
|
+
},
|
|
25209
|
+
"default": "true",
|
|
25210
|
+
"description": "Forwarded to the internal `<input>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default. Uses spellcheckConverter rather than Lit's default\npresence-based `type: Boolean` converter -- see that converter's doc comment. A bare\n`.spellcheck` property binding can still turn this off with `spellcheck=\"false\"`; a Lit\ntemplate can do the same with either that attribute string or a `.spellcheck=${false}`\nbinding.",
|
|
25211
|
+
"attribute": "spellcheck"
|
|
25212
|
+
},
|
|
24984
25213
|
{
|
|
24985
25214
|
"kind": "field",
|
|
24986
25215
|
"name": "stopLocaleSubscription",
|
|
@@ -25436,10 +25665,18 @@
|
|
|
25436
25665
|
}
|
|
25437
25666
|
],
|
|
25438
25667
|
"events": [
|
|
25668
|
+
{
|
|
25669
|
+
"description": "Re-dispatched from the internal `<input>`'s own `blur`, bubbling and composed unlike the native event.",
|
|
25670
|
+
"name": "blur"
|
|
25671
|
+
},
|
|
25439
25672
|
{
|
|
25440
25673
|
"description": "Fired on committed date transitions.",
|
|
25441
25674
|
"name": "change"
|
|
25442
25675
|
},
|
|
25676
|
+
{
|
|
25677
|
+
"description": "Re-dispatched from the internal `<input>`'s own `focus`, for the same reason as `blur`.",
|
|
25678
|
+
"name": "focus"
|
|
25679
|
+
},
|
|
25443
25680
|
{
|
|
25444
25681
|
"description": "Fired on edits.",
|
|
25445
25682
|
"name": "input"
|
|
@@ -25462,6 +25699,24 @@
|
|
|
25462
25699
|
"default": "null",
|
|
25463
25700
|
"fieldName": "accessibleLabel"
|
|
25464
25701
|
},
|
|
25702
|
+
{
|
|
25703
|
+
"name": "autocapitalize",
|
|
25704
|
+
"type": {
|
|
25705
|
+
"text": "string"
|
|
25706
|
+
},
|
|
25707
|
+
"default": "''",
|
|
25708
|
+
"description": "Forwarded to the internal `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
25709
|
+
"fieldName": "autocapitalize"
|
|
25710
|
+
},
|
|
25711
|
+
{
|
|
25712
|
+
"name": "autocorrect",
|
|
25713
|
+
"type": {
|
|
25714
|
+
"text": "string"
|
|
25715
|
+
},
|
|
25716
|
+
"default": "''",
|
|
25717
|
+
"description": "Forwarded to the internal `<input>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default).\nNamed `autoCorrect` (capital `C`), not `autocorrect`, purely to dodge a TS `lib.dom.d.ts`\ncollision: newer DOM typings declare a `boolean`-typed `HTMLElement.autocorrect` IDL member,\nwhich conflicts with this component's `string`-typed property of the same name. The explicit\nattribute mapping preserves the standard lowercase `autocorrect` wire name in both Lit and\ngenerated component metadata.",
|
|
25718
|
+
"fieldName": "autoCorrect"
|
|
25719
|
+
},
|
|
25465
25720
|
{
|
|
25466
25721
|
"name": "clear-label",
|
|
25467
25722
|
"type": {
|
|
@@ -25600,6 +25855,15 @@
|
|
|
25600
25855
|
},
|
|
25601
25856
|
"fieldName": "readonly"
|
|
25602
25857
|
},
|
|
25858
|
+
{
|
|
25859
|
+
"name": "spellcheck",
|
|
25860
|
+
"type": {
|
|
25861
|
+
"text": "boolean"
|
|
25862
|
+
},
|
|
25863
|
+
"default": "true",
|
|
25864
|
+
"description": "Forwarded to the internal `<input>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default. Uses spellcheckConverter rather than Lit's default\npresence-based `type: Boolean` converter -- see that converter's doc comment. A bare\n`.spellcheck` property binding can still turn this off with `spellcheck=\"false\"`; a Lit\ntemplate can do the same with either that attribute string or a `.spellcheck=${false}`\nbinding.",
|
|
25865
|
+
"fieldName": "spellcheck"
|
|
25866
|
+
},
|
|
25603
25867
|
{
|
|
25604
25868
|
"name": "weekday-format",
|
|
25605
25869
|
"type": {
|
|
@@ -26829,7 +27093,7 @@
|
|
|
26829
27093
|
"declarations": [
|
|
26830
27094
|
{
|
|
26831
27095
|
"kind": "class",
|
|
26832
|
-
"description": "`<lyra-dialog>` — a general-purpose modal/overlay. `role=\"dialog\"`,\nfocus-trapped while open, dismissible via Escape or a backdrop click, and\nscroll-locks the document for as long as it's open. Chrome stays minimal by\ndefault — no built-in title bar or close button; a consumer supplies a\nheading and any close affordance itself via the default/`footer` slots.\n`heading`/`closable` are an opt-in convenience for the common case where\nhand-building that chrome isn't worth it (see below).\n\nAccessible name / visible header, in priority order:\
|
|
27096
|
+
"description": "`<lyra-dialog>` — a general-purpose modal/overlay. `role=\"dialog\"`,\nfocus-trapped while open, dismissible via Escape or a backdrop click, and\nscroll-locks the document for as long as it's open. Chrome stays minimal by\ndefault — no built-in title bar or close button; a consumer supplies a\nheading and any close affordance itself via the default/`footer` slots.\n`heading`/`closable` are an opt-in convenience for the common case where\nhand-building that chrome isn't worth it (see below).\n\nAccessible name / visible header, in priority order:\n0. If the host element itself has an `aria-label` attribute set, its value\n becomes `aria-label` on the panel outright, overriding every source\n below (including a slotted heading) — the standard ARIA convention for\n a consumer that wants full control over the announced name regardless\n of whatever `heading`/`label` props are also set. Also suppresses the\n visible header/`heading` row and the sr-only `label` element from\n rendering at all, same as case 1 already does to cases 2/3 below.\n1. Otherwise, if a heading element (`h1`–`h6` or `[role=\"heading\"]`) is a *direct\n child* (not inside `slot=\"footer\"`), its text content becomes\n `aria-label` on the panel — unchanged, and takes priority over `heading`\n below so an existing consumer that already slots its own heading keeps\n rendering it exactly as before.\n2. Otherwise, when `heading` is set, a visible header row (`part=\"header\"`)\n renders containing that text (`part=\"heading\"`), which becomes the\n `aria-labelledby` target.\n3. Otherwise, when `label` is set, an invisible (`.sr-only`, exposed as the\n `label` part) element carrying that text is rendered inside the panel\n and `aria-labelledby` points at it instead.\nOnly one of cases 2/3 ever renders at a time, so exactly one element ever\nclaims `aria-labelledby`. `label` itself never renders visible chrome on\nits own — `::part(label)` can be restyled to make the sr-only text visible,\nor `heading` can be set instead, if a consumer wants visible chrome without\nslotting a real heading element.\n\nThe slotted-heading case deliberately uses `aria-label` (a copied string)\nrather than `aria-labelledby` pointing at the heading's `id`: the heading is\n*light-DOM* content while `[part=\"panel\"]` lives in this element's\n*shadow* tree, and an ID-reference attribute can't resolve across that\nboundary (verified against axe's `aria-dialog-name` rule) — unlike the\n`heading`/`label`-prop cases above, where the target element is rendered\ninside the same shadow root it labels, so `aria-labelledby` there is safe.\n\n`closable` renders a close (X) button in the header row (creating one, with\nno heading text, if `heading` is unset) that closes the dialog via the same\n`close()` path as Escape/backdrop-dismiss, with reason `'close-button'`.\n\nStacking: opening one `<lyra-dialog>` while another is already open (e.g. a\n`confirm()` launched from within an already-open dialog) is supported --\nEscape and the Tab focus trap only ever act on the topmost open dialog, so\ndialogs beneath it stay open and untouched until the one on top closes.",
|
|
26833
27097
|
"name": "LyraDialog",
|
|
26834
27098
|
"cssParts": [
|
|
26835
27099
|
{
|
|
@@ -26876,6 +27140,17 @@
|
|
|
26876
27140
|
}
|
|
26877
27141
|
],
|
|
26878
27142
|
"members": [
|
|
27143
|
+
{
|
|
27144
|
+
"kind": "field",
|
|
27145
|
+
"name": "accessibleLabel",
|
|
27146
|
+
"type": {
|
|
27147
|
+
"text": "string | null"
|
|
27148
|
+
},
|
|
27149
|
+
"privacy": "private",
|
|
27150
|
+
"default": "null",
|
|
27151
|
+
"description": "Host-level `aria-label` override for the panel's accessible name — wins over every other\nsource (a slotted heading, `heading`, `label`), matching `<lyra-date-input>`'s\n`accessibleLabel` pattern. See the class doc for the full precedence order. Set as a plain\n`aria-label` attribute on `<lyra-dialog>` itself, not a public JS property.",
|
|
27152
|
+
"attribute": "aria-label"
|
|
27153
|
+
},
|
|
26879
27154
|
{
|
|
26880
27155
|
"kind": "field",
|
|
26881
27156
|
"name": "closable",
|
|
@@ -27258,6 +27533,15 @@
|
|
|
27258
27533
|
}
|
|
27259
27534
|
],
|
|
27260
27535
|
"attributes": [
|
|
27536
|
+
{
|
|
27537
|
+
"name": "aria-label",
|
|
27538
|
+
"type": {
|
|
27539
|
+
"text": "string | null"
|
|
27540
|
+
},
|
|
27541
|
+
"default": "null",
|
|
27542
|
+
"description": "Host-level `aria-label` override for the panel's accessible name — wins over every other\nsource (a slotted heading, `heading`, `label`), matching `<lyra-date-input>`'s\n`accessibleLabel` pattern. See the class doc for the full precedence order. Set as a plain\n`aria-label` attribute on `<lyra-dialog>` itself, not a public JS property.",
|
|
27543
|
+
"fieldName": "accessibleLabel"
|
|
27544
|
+
},
|
|
27261
27545
|
{
|
|
27262
27546
|
"name": "closable",
|
|
27263
27547
|
"type": {
|
|
@@ -29026,6 +29310,12 @@
|
|
|
29026
29310
|
"kind": "class",
|
|
29027
29311
|
"description": "`<lyra-empty>` — a generic empty/no-data state. First-party invention (no\nWeb Awesome equivalent); fills a gap common to dashboard-style apps.",
|
|
29028
29312
|
"name": "LyraEmpty",
|
|
29313
|
+
"cssProperties": [
|
|
29314
|
+
{
|
|
29315
|
+
"description": "Cross-axis and text alignment used in compact mode; set to `center` for dense but centered empty states.",
|
|
29316
|
+
"name": "--lyra-empty-compact-align"
|
|
29317
|
+
}
|
|
29318
|
+
],
|
|
29029
29319
|
"cssParts": [
|
|
29030
29320
|
{
|
|
29031
29321
|
"description": "The wrapper around the `actions`-slotted content.",
|
|
@@ -29586,6 +29876,14 @@
|
|
|
29586
29876
|
"description": "`<lyra-export-button>` — a CSV/JSON download button, single-format or a\nformat-choice menu. First-party invention; consolidates the ad-hoc\n\"export CSV\" button pattern common across dashboard UIs.",
|
|
29587
29877
|
"name": "LyraExportButton",
|
|
29588
29878
|
"cssParts": [
|
|
29879
|
+
{
|
|
29880
|
+
"description": "A custom format option's optional secondary text.",
|
|
29881
|
+
"name": "format-description"
|
|
29882
|
+
},
|
|
29883
|
+
{
|
|
29884
|
+
"description": "A format option's primary label.",
|
|
29885
|
+
"name": "format-label"
|
|
29886
|
+
},
|
|
29589
29887
|
{
|
|
29590
29888
|
"description": "The format-choice menu, shown when more than one format is configured.",
|
|
29591
29889
|
"name": "menu"
|
|
@@ -29687,7 +29985,7 @@
|
|
|
29687
29985
|
"kind": "field",
|
|
29688
29986
|
"name": "formats",
|
|
29689
29987
|
"type": {
|
|
29690
|
-
"text": "
|
|
29988
|
+
"text": "ExportFormatOption[]"
|
|
29691
29989
|
},
|
|
29692
29990
|
"default": "['csv']"
|
|
29693
29991
|
},
|
|
@@ -29701,6 +29999,17 @@
|
|
|
29701
29999
|
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.\nLeft at its default English `'Export'`, the rendered text instead\ncomes from `this.localize('exportButtonLabel', ...)` -- override-able\nvia `.strings`/`registerLyraLocale()` -- same convention as\n`lyra-attachment-chip`'s `removeLabel`/`retryLabel`. Set this\nattribute explicitly for a one-off override that always wins.",
|
|
29702
30000
|
"attribute": "label"
|
|
29703
30001
|
},
|
|
30002
|
+
{
|
|
30003
|
+
"kind": "field",
|
|
30004
|
+
"name": "loading",
|
|
30005
|
+
"type": {
|
|
30006
|
+
"text": "boolean"
|
|
30007
|
+
},
|
|
30008
|
+
"default": "false",
|
|
30009
|
+
"description": "Controlled busy state for async/server-generated exports.",
|
|
30010
|
+
"attribute": "loading",
|
|
30011
|
+
"reflects": true
|
|
30012
|
+
},
|
|
29704
30013
|
{
|
|
29705
30014
|
"kind": "field",
|
|
29706
30015
|
"name": "locale",
|
|
@@ -29856,9 +30165,9 @@
|
|
|
29856
30165
|
},
|
|
29857
30166
|
"parameters": [
|
|
29858
30167
|
{
|
|
29859
|
-
"name": "
|
|
30168
|
+
"name": "formatOption",
|
|
29860
30169
|
"type": {
|
|
29861
|
-
"text": "
|
|
30170
|
+
"text": "ExportFormatOption"
|
|
29862
30171
|
}
|
|
29863
30172
|
}
|
|
29864
30173
|
]
|
|
@@ -29949,6 +30258,42 @@
|
|
|
29949
30258
|
],
|
|
29950
30259
|
"description": "Opens the menu (if closed) and focuses `index`, or moves focus there directly if already open."
|
|
29951
30260
|
},
|
|
30261
|
+
{
|
|
30262
|
+
"kind": "method",
|
|
30263
|
+
"name": "formatId",
|
|
30264
|
+
"privacy": "private",
|
|
30265
|
+
"return": {
|
|
30266
|
+
"type": {
|
|
30267
|
+
"text": "string"
|
|
30268
|
+
}
|
|
30269
|
+
},
|
|
30270
|
+
"parameters": [
|
|
30271
|
+
{
|
|
30272
|
+
"name": "format",
|
|
30273
|
+
"type": {
|
|
30274
|
+
"text": "ExportFormatOption"
|
|
30275
|
+
}
|
|
30276
|
+
}
|
|
30277
|
+
]
|
|
30278
|
+
},
|
|
30279
|
+
{
|
|
30280
|
+
"kind": "method",
|
|
30281
|
+
"name": "formatLabel",
|
|
30282
|
+
"privacy": "private",
|
|
30283
|
+
"return": {
|
|
30284
|
+
"type": {
|
|
30285
|
+
"text": "string"
|
|
30286
|
+
}
|
|
30287
|
+
},
|
|
30288
|
+
"parameters": [
|
|
30289
|
+
{
|
|
30290
|
+
"name": "format",
|
|
30291
|
+
"type": {
|
|
30292
|
+
"text": "ExportFormatOption"
|
|
30293
|
+
}
|
|
30294
|
+
}
|
|
30295
|
+
]
|
|
30296
|
+
},
|
|
29952
30297
|
{
|
|
29953
30298
|
"kind": "method",
|
|
29954
30299
|
"name": "localize",
|
|
@@ -30106,6 +30451,15 @@
|
|
|
30106
30451
|
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.\nLeft at its default English `'Export'`, the rendered text instead\ncomes from `this.localize('exportButtonLabel', ...)` -- override-able\nvia `.strings`/`registerLyraLocale()` -- same convention as\n`lyra-attachment-chip`'s `removeLabel`/`retryLabel`. Set this\nattribute explicitly for a one-off override that always wins.",
|
|
30107
30452
|
"fieldName": "label"
|
|
30108
30453
|
},
|
|
30454
|
+
{
|
|
30455
|
+
"name": "loading",
|
|
30456
|
+
"type": {
|
|
30457
|
+
"text": "boolean"
|
|
30458
|
+
},
|
|
30459
|
+
"default": "false",
|
|
30460
|
+
"description": "Controlled busy state for async/server-generated exports.",
|
|
30461
|
+
"fieldName": "loading"
|
|
30462
|
+
},
|
|
30109
30463
|
{
|
|
30110
30464
|
"name": "locale",
|
|
30111
30465
|
"type": {
|
|
@@ -31437,8 +31791,15 @@
|
|
|
31437
31791
|
"declarations": [
|
|
31438
31792
|
{
|
|
31439
31793
|
"kind": "class",
|
|
31440
|
-
"description": "`<lyra-gauge>` — a radial or linear meter. First-party invention; no\ngeneric gauge widget exists in Web Awesome.",
|
|
31794
|
+
"description": "`<lyra-gauge>` — a radial, full-circle ring, or linear meter. First-party invention; no\ngeneric gauge widget exists in Web Awesome.",
|
|
31441
31795
|
"name": "LyraGauge",
|
|
31796
|
+
"cssProperties": [
|
|
31797
|
+
{
|
|
31798
|
+
"description": "Fill stroke for radial, ring, and linear gauges.",
|
|
31799
|
+
"name": "--lyra-gauge-fill",
|
|
31800
|
+
"default": "var(--lyra-color-brand)"
|
|
31801
|
+
}
|
|
31802
|
+
],
|
|
31442
31803
|
"cssParts": [
|
|
31443
31804
|
{
|
|
31444
31805
|
"description": "The root `<svg>`.",
|
|
@@ -31462,6 +31823,15 @@
|
|
|
31462
31823
|
}
|
|
31463
31824
|
],
|
|
31464
31825
|
"members": [
|
|
31826
|
+
{
|
|
31827
|
+
"kind": "field",
|
|
31828
|
+
"name": "appliedAriaLabel",
|
|
31829
|
+
"type": {
|
|
31830
|
+
"text": "string | null"
|
|
31831
|
+
},
|
|
31832
|
+
"privacy": "private",
|
|
31833
|
+
"default": "null"
|
|
31834
|
+
},
|
|
31465
31835
|
{
|
|
31466
31836
|
"kind": "field",
|
|
31467
31837
|
"name": "displayText",
|
|
@@ -31509,6 +31879,15 @@
|
|
|
31509
31879
|
"module": "src/internal/lyra-element.ts"
|
|
31510
31880
|
}
|
|
31511
31881
|
},
|
|
31882
|
+
{
|
|
31883
|
+
"kind": "field",
|
|
31884
|
+
"name": "explicitAriaLabel",
|
|
31885
|
+
"type": {
|
|
31886
|
+
"text": "string | null"
|
|
31887
|
+
},
|
|
31888
|
+
"privacy": "private",
|
|
31889
|
+
"default": "null"
|
|
31890
|
+
},
|
|
31512
31891
|
{
|
|
31513
31892
|
"kind": "field",
|
|
31514
31893
|
"name": "label",
|
|
@@ -31773,6 +32152,16 @@
|
|
|
31773
32152
|
"text": "TemplateResult"
|
|
31774
32153
|
}
|
|
31775
32154
|
}
|
|
32155
|
+
},
|
|
32156
|
+
{
|
|
32157
|
+
"kind": "method",
|
|
32158
|
+
"name": "renderRing",
|
|
32159
|
+
"privacy": "private",
|
|
32160
|
+
"return": {
|
|
32161
|
+
"type": {
|
|
32162
|
+
"text": "TemplateResult"
|
|
32163
|
+
}
|
|
32164
|
+
}
|
|
31776
32165
|
}
|
|
31777
32166
|
],
|
|
31778
32167
|
"attributes": [
|
|
@@ -32429,6 +32818,10 @@
|
|
|
32429
32818
|
"description": "`<lyra-graph>` — a force-directed node-link diagram with pan/zoom/drag.\nRequires the optional peer deps `d3-force`/`d3-drag`/`d3-zoom`/`d3-selection`\n(lazy-loaded; a consumer who never uses this component pays zero d3 cost).\n\nSet `seed` for a deterministic layout: node initial positions become\nreproducible (keyed by node id) and the settle happens synchronously\ninstead of animating, like `prefers-reduced-motion`. `seed` only takes\neffect on the update that first populates `nodes`/`links` (or a later\nupdate that adds genuinely new node ids) — willUpdate() only reads it from\ninside rebuildSimulation(), which itself only ever assigns x/y to nodes\nthat don't already have a settled position, so changing `seed` on an\nalready-rendered graph is a no-op; nothing re-derives already-positioned\nnodes' x/y from the new value.",
|
|
32430
32819
|
"name": "LyraGraph",
|
|
32431
32820
|
"cssParts": [
|
|
32821
|
+
{
|
|
32822
|
+
"description": "The marker used by directed graph links.",
|
|
32823
|
+
"name": "arrowhead"
|
|
32824
|
+
},
|
|
32432
32825
|
{
|
|
32433
32826
|
"description": "The graph wrapper.",
|
|
32434
32827
|
"name": "base"
|
|
@@ -32463,6 +32856,16 @@
|
|
|
32463
32856
|
}
|
|
32464
32857
|
],
|
|
32465
32858
|
"members": [
|
|
32859
|
+
{
|
|
32860
|
+
"kind": "field",
|
|
32861
|
+
"name": "accessibleLabel",
|
|
32862
|
+
"type": {
|
|
32863
|
+
"text": "string | null"
|
|
32864
|
+
},
|
|
32865
|
+
"default": "null",
|
|
32866
|
+
"description": "Accessible name forwarded from the host to the semantic graph SVG.",
|
|
32867
|
+
"attribute": "aria-label"
|
|
32868
|
+
},
|
|
32466
32869
|
{
|
|
32467
32870
|
"kind": "field",
|
|
32468
32871
|
"name": "activeGraphItem",
|
|
@@ -32473,6 +32876,12 @@
|
|
|
32473
32876
|
"default": "0",
|
|
32474
32877
|
"description": "One roving tab stop across all nodes and links; nodes are the initial entry order."
|
|
32475
32878
|
},
|
|
32879
|
+
{
|
|
32880
|
+
"kind": "field",
|
|
32881
|
+
"name": "arrowMarkerId",
|
|
32882
|
+
"privacy": "private",
|
|
32883
|
+
"readonly": true
|
|
32884
|
+
},
|
|
32476
32885
|
{
|
|
32477
32886
|
"kind": "field",
|
|
32478
32887
|
"name": "boundNodeEls",
|
|
@@ -32897,6 +33306,42 @@
|
|
|
32897
33306
|
}
|
|
32898
33307
|
]
|
|
32899
33308
|
},
|
|
33309
|
+
{
|
|
33310
|
+
"kind": "method",
|
|
33311
|
+
"name": "linkAccessibleText",
|
|
33312
|
+
"privacy": "private",
|
|
33313
|
+
"return": {
|
|
33314
|
+
"type": {
|
|
33315
|
+
"text": "string"
|
|
33316
|
+
}
|
|
33317
|
+
},
|
|
33318
|
+
"parameters": [
|
|
33319
|
+
{
|
|
33320
|
+
"name": "link",
|
|
33321
|
+
"type": {
|
|
33322
|
+
"text": "SimLink"
|
|
33323
|
+
}
|
|
33324
|
+
}
|
|
33325
|
+
]
|
|
33326
|
+
},
|
|
33327
|
+
{
|
|
33328
|
+
"kind": "method",
|
|
33329
|
+
"name": "linkCoordinates",
|
|
33330
|
+
"privacy": "private",
|
|
33331
|
+
"return": {
|
|
33332
|
+
"type": {
|
|
33333
|
+
"text": "{ x1: number; y1: number; x2: number; y2: number }"
|
|
33334
|
+
}
|
|
33335
|
+
},
|
|
33336
|
+
"parameters": [
|
|
33337
|
+
{
|
|
33338
|
+
"name": "link",
|
|
33339
|
+
"type": {
|
|
33340
|
+
"text": "SimLink"
|
|
33341
|
+
}
|
|
33342
|
+
}
|
|
33343
|
+
]
|
|
33344
|
+
},
|
|
32900
33345
|
{
|
|
32901
33346
|
"kind": "method",
|
|
32902
33347
|
"name": "localize",
|
|
@@ -32934,6 +33379,24 @@
|
|
|
32934
33379
|
"module": "src/internal/lyra-element.ts"
|
|
32935
33380
|
}
|
|
32936
33381
|
},
|
|
33382
|
+
{
|
|
33383
|
+
"kind": "method",
|
|
33384
|
+
"name": "nodeAccessibleText",
|
|
33385
|
+
"privacy": "private",
|
|
33386
|
+
"return": {
|
|
33387
|
+
"type": {
|
|
33388
|
+
"text": "string"
|
|
33389
|
+
}
|
|
33390
|
+
},
|
|
33391
|
+
"parameters": [
|
|
33392
|
+
{
|
|
33393
|
+
"name": "node",
|
|
33394
|
+
"type": {
|
|
33395
|
+
"text": "GraphNode"
|
|
33396
|
+
}
|
|
33397
|
+
}
|
|
33398
|
+
]
|
|
33399
|
+
},
|
|
32937
33400
|
{
|
|
32938
33401
|
"kind": "method",
|
|
32939
33402
|
"name": "nodeRadius",
|
|
@@ -33112,7 +33575,7 @@
|
|
|
33112
33575
|
],
|
|
33113
33576
|
"events": [
|
|
33114
33577
|
{
|
|
33115
|
-
"description": "`detail: { source, target }`.",
|
|
33578
|
+
"description": "`detail: { source, target, id? }`.",
|
|
33116
33579
|
"name": "lyra-link-click"
|
|
33117
33580
|
},
|
|
33118
33581
|
{
|
|
@@ -33121,6 +33584,15 @@
|
|
|
33121
33584
|
}
|
|
33122
33585
|
],
|
|
33123
33586
|
"attributes": [
|
|
33587
|
+
{
|
|
33588
|
+
"name": "aria-label",
|
|
33589
|
+
"type": {
|
|
33590
|
+
"text": "string | null"
|
|
33591
|
+
},
|
|
33592
|
+
"default": "null",
|
|
33593
|
+
"description": "Accessible name forwarded from the host to the semantic graph SVG.",
|
|
33594
|
+
"fieldName": "accessibleLabel"
|
|
33595
|
+
},
|
|
33124
33596
|
{
|
|
33125
33597
|
"name": "charge-strength",
|
|
33126
33598
|
"type": {
|
|
@@ -36798,7 +37270,7 @@
|
|
|
36798
37270
|
"text": "string"
|
|
36799
37271
|
},
|
|
36800
37272
|
"default": "''",
|
|
36801
|
-
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control
|
|
37273
|
+
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control. A plain\n`aria-label` attribute on the host itself is honored as a fallback when this is left\nunset, matching `<lyra-slider>`/`<lyra-checkbox>`/`<lyra-switch>`. Empty (the default,\nwith no host `aria-label` either) falls back to the localized `'map'` message.",
|
|
36802
37274
|
"attribute": "label"
|
|
36803
37275
|
},
|
|
36804
37276
|
{
|
|
@@ -37108,7 +37580,7 @@
|
|
|
37108
37580
|
"text": "string"
|
|
37109
37581
|
},
|
|
37110
37582
|
"default": "''",
|
|
37111
|
-
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control
|
|
37583
|
+
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control. A plain\n`aria-label` attribute on the host itself is honored as a fallback when this is left\nunset, matching `<lyra-slider>`/`<lyra-checkbox>`/`<lyra-switch>`. Empty (the default,\nwith no host `aria-label` either) falls back to the localized `'map'` message.",
|
|
37112
37584
|
"fieldName": "label"
|
|
37113
37585
|
},
|
|
37114
37586
|
{
|
|
@@ -38539,7 +39011,7 @@
|
|
|
38539
39011
|
"text": "string"
|
|
38540
39012
|
},
|
|
38541
39013
|
"privacy": "private",
|
|
38542
|
-
"description": "Resolves `label`'s effective text: an explicit override wins verbatim; left at the
|
|
39014
|
+
"description": "Resolves `label`'s effective text: a host-level plain `aria-label` attribute on\n`<lyra-mention-popover>` itself wins first (checked via a plain `getAttribute()` read, not a\nreactive property, matching `<lyra-combobox>`'s/`<lyra-table>`'s identical fallback); failing\nthat, an explicit `label` override wins verbatim; left at the built-in default it instead\nroutes through `this.localize()` so a locale/`.strings` override applies without requiring\n`label` itself to be set.",
|
|
38543
39015
|
"readonly": true
|
|
38544
39016
|
},
|
|
38545
39017
|
{
|
|
@@ -38600,7 +39072,7 @@
|
|
|
38600
39072
|
"text": "string"
|
|
38601
39073
|
},
|
|
38602
39074
|
"default": "'Suggestions'",
|
|
38603
|
-
"description": "Accessible name for the `role=\"listbox\"` popup.",
|
|
39075
|
+
"description": "Accessible name for the `role=\"listbox\"` popup. Also settable as a plain `aria-label`\nattribute on `<lyra-mention-popover>` itself, which takes precedence over this property when\npresent -- matches `<lyra-combobox>`'s/`<lyra-table>`'s identical host `aria-label` fallback.",
|
|
38604
39076
|
"attribute": "label"
|
|
38605
39077
|
},
|
|
38606
39078
|
{
|
|
@@ -38984,7 +39456,7 @@
|
|
|
38984
39456
|
"text": "string"
|
|
38985
39457
|
},
|
|
38986
39458
|
"default": "'Suggestions'",
|
|
38987
|
-
"description": "Accessible name for the `role=\"listbox\"` popup.",
|
|
39459
|
+
"description": "Accessible name for the `role=\"listbox\"` popup. Also settable as a plain `aria-label`\nattribute on `<lyra-mention-popover>` itself, which takes precedence over this property when\npresent -- matches `<lyra-combobox>`'s/`<lyra-table>`'s identical host `aria-label` fallback.",
|
|
38988
39460
|
"fieldName": "label"
|
|
38989
39461
|
},
|
|
38990
39462
|
{
|
|
@@ -39588,7 +40060,7 @@
|
|
|
39588
40060
|
"text": "string"
|
|
39589
40061
|
},
|
|
39590
40062
|
"privacy": "private",
|
|
39591
|
-
"description": "Resolves `label`'s effective text: an
|
|
40063
|
+
"description": "Resolves `label`'s effective text: a host-level `aria-label` attribute wins first\n(unset by default, so this is a no-op for every existing consumer); otherwise an\nexplicit `label` override wins verbatim; left at the built-in default it instead\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring `label` itself to be set.",
|
|
39592
40064
|
"readonly": true
|
|
39593
40065
|
},
|
|
39594
40066
|
{
|
|
@@ -39629,7 +40101,7 @@
|
|
|
39629
40101
|
"text": "string"
|
|
39630
40102
|
},
|
|
39631
40103
|
"default": "'Menu'",
|
|
39632
|
-
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default.",
|
|
40104
|
+
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default. A host-level\n`aria-label` attribute takes precedence over both this prop and the\nlocalized default, matching `lyra-select`/`lyra-model-select`'s\nestablished `this.getAttribute('aria-label') || <computed default>`\nprecedence (see `effectiveLabel`).",
|
|
39633
40105
|
"attribute": "label"
|
|
39634
40106
|
},
|
|
39635
40107
|
{
|
|
@@ -40095,7 +40567,7 @@
|
|
|
40095
40567
|
"text": "string"
|
|
40096
40568
|
},
|
|
40097
40569
|
"default": "'Menu'",
|
|
40098
|
-
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default.",
|
|
40570
|
+
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default. A host-level\n`aria-label` attribute takes precedence over both this prop and the\nlocalized default, matching `lyra-select`/`lyra-model-select`'s\nestablished `this.getAttribute('aria-label') || <computed default>`\nprecedence (see `effectiveLabel`).",
|
|
40099
40571
|
"fieldName": "label"
|
|
40100
40572
|
},
|
|
40101
40573
|
{
|
|
@@ -40177,7 +40649,7 @@
|
|
|
40177
40649
|
"declarations": [
|
|
40178
40650
|
{
|
|
40179
40651
|
"kind": "class",
|
|
40180
|
-
"description": "`<lyra-model-select>` — a provider/model picker that renders as a closed\ndropdown when a fixed `catalog` is available, or as a filterable free-text\ncombobox when it isn't (or when `allow-custom` explicitly permits typing\nsomething outside the catalog). Built directly on the shared\ntrigger-button/aria-activedescendant listbox technique `<lyra-select>` uses\nand the filter-as-you-type suggestion-popup technique `<lyra-combobox>`\nuses — not by composing either element, since the mode switch and the\nstale-value handling below are specific to this control.\n\nA `value` that isn't present in `catalog` (e.g. a model id saved from a\nprovider whose live catalog has since changed) is never silently dropped:\n`effectiveEntries` appends it to the rendered option list as a synthetic,\nvisually-distinct row (dashed border, italic label, \"not in catalog\"\nbadge — see `model-select.styles.ts`) computed fresh from `catalog` +\n`value` on every render, without ever mutating the `catalog` property\nitself.",
|
|
40652
|
+
"description": "`<lyra-model-select>` — a provider/model picker that renders as a closed\ndropdown when a fixed `catalog` is available, or as a filterable free-text\ncombobox when it isn't (or when `allow-custom` explicitly permits typing\nsomething outside the catalog). Built directly on the shared\ntrigger-button/aria-activedescendant listbox technique `<lyra-select>` uses\nand the filter-as-you-type suggestion-popup technique `<lyra-combobox>`\nuses — not by composing either element, since the mode switch and the\nstale-value handling below are specific to this control.\n\nA `value` that isn't present in `catalog` (e.g. a model id saved from a\nprovider whose live catalog has since changed) is never silently dropped:\n`effectiveEntries` appends it to the rendered option list as a synthetic,\nvisually-distinct row (dashed border, italic label, \"not in catalog\"\nbadge — see `model-select.styles.ts`) computed fresh from `catalog` +\n`value` on every render, without ever mutating the `catalog` property\nitself.\n\nShips an opt-in `hint`/`errorText` form-control chrome (props + matching named slots +\n`hint`/`error` parts), mirroring `<lyra-select>`'s exact pattern -- left unset, neither renders.\nPairs with the existing `label` prop/part (also mirroring `<lyra-select>`) for a full\nlabel/hint/error field.",
|
|
40181
40653
|
"name": "LyraModelSelect",
|
|
40182
40654
|
"cssParts": [
|
|
40183
40655
|
{
|
|
@@ -40188,6 +40660,10 @@
|
|
|
40188
40660
|
"description": "The free-text mode's text input.",
|
|
40189
40661
|
"name": "combobox-input"
|
|
40190
40662
|
},
|
|
40663
|
+
{
|
|
40664
|
+
"description": "The error message.",
|
|
40665
|
+
"name": "error"
|
|
40666
|
+
},
|
|
40191
40667
|
{
|
|
40192
40668
|
"description": "The dropdown indicator.",
|
|
40193
40669
|
"name": "expand-icon"
|
|
@@ -40196,6 +40672,10 @@
|
|
|
40196
40672
|
"description": "The `<label>` element (only rendered — and only contributes to the accessible name — once `label` is non-empty).",
|
|
40197
40673
|
"name": "form-control-label"
|
|
40198
40674
|
},
|
|
40675
|
+
{
|
|
40676
|
+
"description": "The hint message.",
|
|
40677
|
+
"name": "hint"
|
|
40678
|
+
},
|
|
40199
40679
|
{
|
|
40200
40680
|
"description": "The options popover (shared by both modes).",
|
|
40201
40681
|
"name": "listbox"
|
|
@@ -40221,6 +40701,16 @@
|
|
|
40221
40701
|
"name": "trigger"
|
|
40222
40702
|
}
|
|
40223
40703
|
],
|
|
40704
|
+
"slots": [
|
|
40705
|
+
{
|
|
40706
|
+
"description": "Custom error content.",
|
|
40707
|
+
"name": "error"
|
|
40708
|
+
},
|
|
40709
|
+
{
|
|
40710
|
+
"description": "Custom hint content.",
|
|
40711
|
+
"name": "hint"
|
|
40712
|
+
}
|
|
40713
|
+
],
|
|
40224
40714
|
"members": [
|
|
40225
40715
|
{
|
|
40226
40716
|
"kind": "field",
|
|
@@ -40296,6 +40786,26 @@
|
|
|
40296
40786
|
"attribute": "allow-custom",
|
|
40297
40787
|
"reflects": true
|
|
40298
40788
|
},
|
|
40789
|
+
{
|
|
40790
|
+
"kind": "field",
|
|
40791
|
+
"name": "autoCorrect",
|
|
40792
|
+
"type": {
|
|
40793
|
+
"text": "string"
|
|
40794
|
+
},
|
|
40795
|
+
"default": "''",
|
|
40796
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocorrect` (Safari/WebKit-specific).\nEmpty string omits the attribute (browser default). Named `autoCorrect` (capital `C`), not\n`autocorrect`, purely to dodge a TS `lib.dom.d.ts` collision: newer DOM typings declare a\n`boolean`-typed `HTMLElement.autocorrect` IDL member, which conflicts with this string-typed\nproperty of the same name -- same fix as `<lyra-textarea>`/`<lyra-date-input>`. The explicit\nattribute mapping preserves the lowercase wire name in generated component metadata.",
|
|
40797
|
+
"attribute": "autocorrect"
|
|
40798
|
+
},
|
|
40799
|
+
{
|
|
40800
|
+
"kind": "field",
|
|
40801
|
+
"name": "autocapitalize",
|
|
40802
|
+
"type": {
|
|
40803
|
+
"text": "string"
|
|
40804
|
+
},
|
|
40805
|
+
"default": "''",
|
|
40806
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocapitalize`. Empty string omits\nthe attribute (browser default).",
|
|
40807
|
+
"attribute": "autocapitalize"
|
|
40808
|
+
},
|
|
40299
40809
|
{
|
|
40300
40810
|
"kind": "field",
|
|
40301
40811
|
"name": "catalog",
|
|
@@ -40384,6 +40894,16 @@
|
|
|
40384
40894
|
"module": "src/internal/lyra-element.ts"
|
|
40385
40895
|
}
|
|
40386
40896
|
},
|
|
40897
|
+
{
|
|
40898
|
+
"kind": "field",
|
|
40899
|
+
"name": "errorText",
|
|
40900
|
+
"type": {
|
|
40901
|
+
"text": "string"
|
|
40902
|
+
},
|
|
40903
|
+
"default": "''",
|
|
40904
|
+
"description": "Error text below the field (overridden by slotted `error` content). Unset (the default): no\nerror chrome renders.",
|
|
40905
|
+
"attribute": "error-text"
|
|
40906
|
+
},
|
|
40387
40907
|
{
|
|
40388
40908
|
"kind": "field",
|
|
40389
40909
|
"name": "filteredEntries",
|
|
@@ -40411,6 +40931,34 @@
|
|
|
40411
40931
|
"static": true,
|
|
40412
40932
|
"default": "true"
|
|
40413
40933
|
},
|
|
40934
|
+
{
|
|
40935
|
+
"kind": "field",
|
|
40936
|
+
"name": "hasErrorSlot",
|
|
40937
|
+
"type": {
|
|
40938
|
+
"text": "boolean"
|
|
40939
|
+
},
|
|
40940
|
+
"privacy": "private",
|
|
40941
|
+
"default": "false"
|
|
40942
|
+
},
|
|
40943
|
+
{
|
|
40944
|
+
"kind": "field",
|
|
40945
|
+
"name": "hasHintSlot",
|
|
40946
|
+
"type": {
|
|
40947
|
+
"text": "boolean"
|
|
40948
|
+
},
|
|
40949
|
+
"privacy": "private",
|
|
40950
|
+
"default": "false"
|
|
40951
|
+
},
|
|
40952
|
+
{
|
|
40953
|
+
"kind": "field",
|
|
40954
|
+
"name": "hint",
|
|
40955
|
+
"type": {
|
|
40956
|
+
"text": "string"
|
|
40957
|
+
},
|
|
40958
|
+
"default": "''",
|
|
40959
|
+
"description": "Hint text below the field. Unset (the default): no hint chrome renders.",
|
|
40960
|
+
"attribute": "hint"
|
|
40961
|
+
},
|
|
40414
40962
|
{
|
|
40415
40963
|
"kind": "field",
|
|
40416
40964
|
"name": "internals",
|
|
@@ -40488,6 +41036,16 @@
|
|
|
40488
41036
|
"name": "onDocPointer",
|
|
40489
41037
|
"privacy": "private"
|
|
40490
41038
|
},
|
|
41039
|
+
{
|
|
41040
|
+
"kind": "field",
|
|
41041
|
+
"name": "onErrorSlotChange",
|
|
41042
|
+
"privacy": "private"
|
|
41043
|
+
},
|
|
41044
|
+
{
|
|
41045
|
+
"kind": "field",
|
|
41046
|
+
"name": "onHintSlotChange",
|
|
41047
|
+
"privacy": "private"
|
|
41048
|
+
},
|
|
40491
41049
|
{
|
|
40492
41050
|
"kind": "field",
|
|
40493
41051
|
"name": "onInput",
|
|
@@ -40581,6 +41139,16 @@
|
|
|
40581
41139
|
"attribute": "required",
|
|
40582
41140
|
"reflects": true
|
|
40583
41141
|
},
|
|
41142
|
+
{
|
|
41143
|
+
"kind": "field",
|
|
41144
|
+
"name": "spellcheck",
|
|
41145
|
+
"type": {
|
|
41146
|
+
"text": "boolean"
|
|
41147
|
+
},
|
|
41148
|
+
"default": "true",
|
|
41149
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `spellcheck`. Defaults to `true`,\nmatching the native element's own default. No effect in closed-dropdown mode (no native text\ninput there). `spellcheck=\"false\"` is parsed as `false` (see `spellcheckConverter` above).",
|
|
41150
|
+
"attribute": "spellcheck"
|
|
41151
|
+
},
|
|
40584
41152
|
{
|
|
40585
41153
|
"kind": "field",
|
|
40586
41154
|
"name": "stopLocaleSubscription",
|
|
@@ -40947,6 +41515,31 @@
|
|
|
40947
41515
|
}
|
|
40948
41516
|
}
|
|
40949
41517
|
},
|
|
41518
|
+
{
|
|
41519
|
+
"kind": "method",
|
|
41520
|
+
"name": "renderHintError",
|
|
41521
|
+
"privacy": "private",
|
|
41522
|
+
"return": {
|
|
41523
|
+
"type": {
|
|
41524
|
+
"text": "TemplateResult"
|
|
41525
|
+
}
|
|
41526
|
+
},
|
|
41527
|
+
"parameters": [
|
|
41528
|
+
{
|
|
41529
|
+
"name": "hasError",
|
|
41530
|
+
"type": {
|
|
41531
|
+
"text": "boolean"
|
|
41532
|
+
}
|
|
41533
|
+
},
|
|
41534
|
+
{
|
|
41535
|
+
"name": "hasHint",
|
|
41536
|
+
"type": {
|
|
41537
|
+
"text": "boolean"
|
|
41538
|
+
}
|
|
41539
|
+
}
|
|
41540
|
+
],
|
|
41541
|
+
"description": "`part=\"hint\"`/`part=\"error\"` — mirrors `lyra-select`'s identical hint/error chrome, rendered\nidentically in both closed-dropdown and free-text mode."
|
|
41542
|
+
},
|
|
40950
41543
|
{
|
|
40951
41544
|
"kind": "method",
|
|
40952
41545
|
"name": "renderLabel",
|
|
@@ -41061,6 +41654,10 @@
|
|
|
41061
41654
|
}
|
|
41062
41655
|
],
|
|
41063
41656
|
"events": [
|
|
41657
|
+
{
|
|
41658
|
+
"description": "Re-dispatched from the free-text mode's internal native `<input>`'s own `blur` -- bubbling and composed (unlike the native event, which is neither), so a listener above the shadow boundary can observe it. Closed-dropdown mode's trigger `<button>` has no equivalent re-dispatch, matching `<lyra-select>`'s own trigger.",
|
|
41659
|
+
"name": "blur"
|
|
41660
|
+
},
|
|
41064
41661
|
{
|
|
41065
41662
|
"name": "change",
|
|
41066
41663
|
"type": {
|
|
@@ -41068,6 +41665,10 @@
|
|
|
41068
41665
|
},
|
|
41069
41666
|
"description": "Fired alongside `lyra-change`, mirroring `<lyra-select>`/`<lyra-combobox>`'s native-style value-change pair so native form bindings/framework `v-model` handlers behave consistently across the picker family."
|
|
41070
41667
|
},
|
|
41668
|
+
{
|
|
41669
|
+
"description": "Re-dispatched from the free-text mode's internal native `<input>`'s own `focus`, for the same reason as `blur`.",
|
|
41670
|
+
"name": "focus"
|
|
41671
|
+
},
|
|
41071
41672
|
{
|
|
41072
41673
|
"name": "input",
|
|
41073
41674
|
"type": {
|
|
@@ -41090,6 +41691,24 @@
|
|
|
41090
41691
|
"description": "Let the user type/commit a value that isn't in `catalog`, even when `catalog` is non-empty.",
|
|
41091
41692
|
"fieldName": "allowCustom"
|
|
41092
41693
|
},
|
|
41694
|
+
{
|
|
41695
|
+
"name": "autocapitalize",
|
|
41696
|
+
"type": {
|
|
41697
|
+
"text": "string"
|
|
41698
|
+
},
|
|
41699
|
+
"default": "''",
|
|
41700
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocapitalize`. Empty string omits\nthe attribute (browser default).",
|
|
41701
|
+
"fieldName": "autocapitalize"
|
|
41702
|
+
},
|
|
41703
|
+
{
|
|
41704
|
+
"name": "autocorrect",
|
|
41705
|
+
"type": {
|
|
41706
|
+
"text": "string"
|
|
41707
|
+
},
|
|
41708
|
+
"default": "''",
|
|
41709
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocorrect` (Safari/WebKit-specific).\nEmpty string omits the attribute (browser default). Named `autoCorrect` (capital `C`), not\n`autocorrect`, purely to dodge a TS `lib.dom.d.ts` collision: newer DOM typings declare a\n`boolean`-typed `HTMLElement.autocorrect` IDL member, which conflicts with this string-typed\nproperty of the same name -- same fix as `<lyra-textarea>`/`<lyra-date-input>`. The explicit\nattribute mapping preserves the lowercase wire name in generated component metadata.",
|
|
41710
|
+
"fieldName": "autoCorrect"
|
|
41711
|
+
},
|
|
41093
41712
|
{
|
|
41094
41713
|
"name": "disabled",
|
|
41095
41714
|
"type": {
|
|
@@ -41097,6 +41716,24 @@
|
|
|
41097
41716
|
},
|
|
41098
41717
|
"fieldName": "disabled"
|
|
41099
41718
|
},
|
|
41719
|
+
{
|
|
41720
|
+
"name": "error-text",
|
|
41721
|
+
"type": {
|
|
41722
|
+
"text": "string"
|
|
41723
|
+
},
|
|
41724
|
+
"default": "''",
|
|
41725
|
+
"description": "Error text below the field (overridden by slotted `error` content). Unset (the default): no\nerror chrome renders.",
|
|
41726
|
+
"fieldName": "errorText"
|
|
41727
|
+
},
|
|
41728
|
+
{
|
|
41729
|
+
"name": "hint",
|
|
41730
|
+
"type": {
|
|
41731
|
+
"text": "string"
|
|
41732
|
+
},
|
|
41733
|
+
"default": "''",
|
|
41734
|
+
"description": "Hint text below the field. Unset (the default): no hint chrome renders.",
|
|
41735
|
+
"fieldName": "hint"
|
|
41736
|
+
},
|
|
41100
41737
|
{
|
|
41101
41738
|
"name": "label",
|
|
41102
41739
|
"type": {
|
|
@@ -41159,6 +41796,15 @@
|
|
|
41159
41796
|
},
|
|
41160
41797
|
"fieldName": "required"
|
|
41161
41798
|
},
|
|
41799
|
+
{
|
|
41800
|
+
"name": "spellcheck",
|
|
41801
|
+
"type": {
|
|
41802
|
+
"text": "boolean"
|
|
41803
|
+
},
|
|
41804
|
+
"default": "true",
|
|
41805
|
+
"description": "Forwarded to the free-text mode's native `<input>`'s own `spellcheck`. Defaults to `true`,\nmatching the native element's own default. No effect in closed-dropdown mode (no native text\ninput there). `spellcheck=\"false\"` is parsed as `false` (see `spellcheckConverter` above).",
|
|
41806
|
+
"fieldName": "spellcheck"
|
|
41807
|
+
},
|
|
41162
41808
|
{
|
|
41163
41809
|
"name": "value",
|
|
41164
41810
|
"type": {
|
|
@@ -41733,6 +42379,1778 @@
|
|
|
41733
42379
|
}
|
|
41734
42380
|
]
|
|
41735
42381
|
},
|
|
42382
|
+
{
|
|
42383
|
+
"kind": "javascript-module",
|
|
42384
|
+
"path": "src/components/pagination/pagination.class.ts",
|
|
42385
|
+
"declarations": [
|
|
42386
|
+
{
|
|
42387
|
+
"kind": "class",
|
|
42388
|
+
"description": "`<lyra-pagination>` — controlled, server-friendly page navigation with an\neditable page jump and optional item-range summary.\n\nThe component never mutates `page`. Activating a control emits\n`lyra-page-change`; the consumer applies the requested page after its own\nrouting or data-fetch decision. Once the `page` property changes, a polite\nlive region announces the applied page.",
|
|
42389
|
+
"name": "LyraPagination",
|
|
42390
|
+
"cssProperties": [
|
|
42391
|
+
{
|
|
42392
|
+
"description": "Control inline/block size; defaults from the `size` variant.",
|
|
42393
|
+
"name": "--lyra-pagination-control-size"
|
|
42394
|
+
},
|
|
42395
|
+
{
|
|
42396
|
+
"description": "Control font size; defaults from the `size` variant.",
|
|
42397
|
+
"name": "--lyra-pagination-font-size"
|
|
42398
|
+
}
|
|
42399
|
+
],
|
|
42400
|
+
"cssParts": [
|
|
42401
|
+
{
|
|
42402
|
+
"description": "The navigation wrapper.",
|
|
42403
|
+
"name": "base"
|
|
42404
|
+
},
|
|
42405
|
+
{
|
|
42406
|
+
"description": "The previous/page/next control group.",
|
|
42407
|
+
"name": "controls"
|
|
42408
|
+
},
|
|
42409
|
+
{
|
|
42410
|
+
"description": "The visually hidden applied-page announcement.",
|
|
42411
|
+
"name": "live-region"
|
|
42412
|
+
},
|
|
42413
|
+
{
|
|
42414
|
+
"description": "The next-page button.",
|
|
42415
|
+
"name": "next-button"
|
|
42416
|
+
},
|
|
42417
|
+
{
|
|
42418
|
+
"description": "The next-page directional icon.",
|
|
42419
|
+
"name": "next-icon"
|
|
42420
|
+
},
|
|
42421
|
+
{
|
|
42422
|
+
"description": "The total page count shown after the input.",
|
|
42423
|
+
"name": "page-count"
|
|
42424
|
+
},
|
|
42425
|
+
{
|
|
42426
|
+
"description": "The current-page input and page-count wrapper.",
|
|
42427
|
+
"name": "page-field"
|
|
42428
|
+
},
|
|
42429
|
+
{
|
|
42430
|
+
"description": "The validated numeric page-jump input.",
|
|
42431
|
+
"name": "page-input"
|
|
42432
|
+
},
|
|
42433
|
+
{
|
|
42434
|
+
"description": "The previous-page button.",
|
|
42435
|
+
"name": "previous-button"
|
|
42436
|
+
},
|
|
42437
|
+
{
|
|
42438
|
+
"description": "The previous-page directional icon.",
|
|
42439
|
+
"name": "previous-icon"
|
|
42440
|
+
},
|
|
42441
|
+
{
|
|
42442
|
+
"description": "The item-range summary.",
|
|
42443
|
+
"name": "summary"
|
|
42444
|
+
}
|
|
42445
|
+
],
|
|
42446
|
+
"members": [
|
|
42447
|
+
{
|
|
42448
|
+
"kind": "field",
|
|
42449
|
+
"name": "accessibleLabel",
|
|
42450
|
+
"type": {
|
|
42451
|
+
"text": "string | null"
|
|
42452
|
+
},
|
|
42453
|
+
"default": "null",
|
|
42454
|
+
"description": "Accessible name forwarded from the host to the internal navigation landmark.",
|
|
42455
|
+
"attribute": "aria-label"
|
|
42456
|
+
},
|
|
42457
|
+
{
|
|
42458
|
+
"kind": "field",
|
|
42459
|
+
"name": "commitPage",
|
|
42460
|
+
"privacy": "private"
|
|
42461
|
+
},
|
|
42462
|
+
{
|
|
42463
|
+
"kind": "field",
|
|
42464
|
+
"name": "controlsDisabled",
|
|
42465
|
+
"type": {
|
|
42466
|
+
"text": "boolean"
|
|
42467
|
+
},
|
|
42468
|
+
"privacy": "private",
|
|
42469
|
+
"readonly": true
|
|
42470
|
+
},
|
|
42471
|
+
{
|
|
42472
|
+
"kind": "field",
|
|
42473
|
+
"name": "currentPage",
|
|
42474
|
+
"type": {
|
|
42475
|
+
"text": "number"
|
|
42476
|
+
},
|
|
42477
|
+
"privacy": "private",
|
|
42478
|
+
"readonly": true
|
|
42479
|
+
},
|
|
42480
|
+
{
|
|
42481
|
+
"kind": "field",
|
|
42482
|
+
"name": "disabled",
|
|
42483
|
+
"type": {
|
|
42484
|
+
"text": "boolean"
|
|
42485
|
+
},
|
|
42486
|
+
"default": "false",
|
|
42487
|
+
"attribute": "disabled",
|
|
42488
|
+
"reflects": true
|
|
42489
|
+
},
|
|
42490
|
+
{
|
|
42491
|
+
"kind": "field",
|
|
42492
|
+
"name": "draftPage",
|
|
42493
|
+
"type": {
|
|
42494
|
+
"text": "string"
|
|
42495
|
+
},
|
|
42496
|
+
"privacy": "private",
|
|
42497
|
+
"default": "''"
|
|
42498
|
+
},
|
|
42499
|
+
{
|
|
42500
|
+
"kind": "field",
|
|
42501
|
+
"name": "effectiveDirection",
|
|
42502
|
+
"type": {
|
|
42503
|
+
"text": "'ltr' | 'rtl'"
|
|
42504
|
+
},
|
|
42505
|
+
"privacy": "protected",
|
|
42506
|
+
"description": "The effective text direction, including inherited CSS direction.",
|
|
42507
|
+
"readonly": true,
|
|
42508
|
+
"inheritedFrom": {
|
|
42509
|
+
"name": "LyraElement",
|
|
42510
|
+
"module": "src/internal/lyra-element.ts"
|
|
42511
|
+
}
|
|
42512
|
+
},
|
|
42513
|
+
{
|
|
42514
|
+
"kind": "field",
|
|
42515
|
+
"name": "effectiveLocale",
|
|
42516
|
+
"type": {
|
|
42517
|
+
"text": "string"
|
|
42518
|
+
},
|
|
42519
|
+
"privacy": "protected",
|
|
42520
|
+
"description": "The effective locale used by this component.",
|
|
42521
|
+
"readonly": true,
|
|
42522
|
+
"inheritedFrom": {
|
|
42523
|
+
"name": "LyraElement",
|
|
42524
|
+
"module": "src/internal/lyra-element.ts"
|
|
42525
|
+
}
|
|
42526
|
+
},
|
|
42527
|
+
{
|
|
42528
|
+
"kind": "field",
|
|
42529
|
+
"name": "hideSummary",
|
|
42530
|
+
"type": {
|
|
42531
|
+
"text": "boolean"
|
|
42532
|
+
},
|
|
42533
|
+
"default": "false",
|
|
42534
|
+
"attribute": "hide-summary",
|
|
42535
|
+
"reflects": true
|
|
42536
|
+
},
|
|
42537
|
+
{
|
|
42538
|
+
"kind": "field",
|
|
42539
|
+
"name": "initialized",
|
|
42540
|
+
"type": {
|
|
42541
|
+
"text": "boolean"
|
|
42542
|
+
},
|
|
42543
|
+
"privacy": "private",
|
|
42544
|
+
"default": "false"
|
|
42545
|
+
},
|
|
42546
|
+
{
|
|
42547
|
+
"kind": "field",
|
|
42548
|
+
"name": "invalidDraft",
|
|
42549
|
+
"type": {
|
|
42550
|
+
"text": "boolean"
|
|
42551
|
+
},
|
|
42552
|
+
"privacy": "private",
|
|
42553
|
+
"default": "false"
|
|
42554
|
+
},
|
|
42555
|
+
{
|
|
42556
|
+
"kind": "field",
|
|
42557
|
+
"name": "itemLabel",
|
|
42558
|
+
"type": {
|
|
42559
|
+
"text": "string"
|
|
42560
|
+
},
|
|
42561
|
+
"default": "''",
|
|
42562
|
+
"description": "Optional item noun used in the summary. Empty uses the localized `item`/`items` keys.",
|
|
42563
|
+
"attribute": "item-label"
|
|
42564
|
+
},
|
|
42565
|
+
{
|
|
42566
|
+
"kind": "field",
|
|
42567
|
+
"name": "label",
|
|
42568
|
+
"type": {
|
|
42569
|
+
"text": "string"
|
|
42570
|
+
},
|
|
42571
|
+
"default": "'Pagination'",
|
|
42572
|
+
"attribute": "label"
|
|
42573
|
+
},
|
|
42574
|
+
{
|
|
42575
|
+
"kind": "field",
|
|
42576
|
+
"name": "liveText",
|
|
42577
|
+
"type": {
|
|
42578
|
+
"text": "string"
|
|
42579
|
+
},
|
|
42580
|
+
"privacy": "private",
|
|
42581
|
+
"default": "''"
|
|
42582
|
+
},
|
|
42583
|
+
{
|
|
42584
|
+
"kind": "field",
|
|
42585
|
+
"name": "loading",
|
|
42586
|
+
"type": {
|
|
42587
|
+
"text": "boolean"
|
|
42588
|
+
},
|
|
42589
|
+
"default": "false",
|
|
42590
|
+
"description": "Disables navigation and exposes `aria-busy=\"true\"` while a page is loading.",
|
|
42591
|
+
"attribute": "loading",
|
|
42592
|
+
"reflects": true
|
|
42593
|
+
},
|
|
42594
|
+
{
|
|
42595
|
+
"kind": "field",
|
|
42596
|
+
"name": "locale",
|
|
42597
|
+
"type": {
|
|
42598
|
+
"text": "string"
|
|
42599
|
+
},
|
|
42600
|
+
"default": "''",
|
|
42601
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
42602
|
+
"attribute": "locale",
|
|
42603
|
+
"reflects": true,
|
|
42604
|
+
"inheritedFrom": {
|
|
42605
|
+
"name": "LyraElement",
|
|
42606
|
+
"module": "src/internal/lyra-element.ts"
|
|
42607
|
+
}
|
|
42608
|
+
},
|
|
42609
|
+
{
|
|
42610
|
+
"kind": "field",
|
|
42611
|
+
"name": "nextLabel",
|
|
42612
|
+
"type": {
|
|
42613
|
+
"text": "string"
|
|
42614
|
+
},
|
|
42615
|
+
"default": "'Next'",
|
|
42616
|
+
"attribute": "next-label"
|
|
42617
|
+
},
|
|
42618
|
+
{
|
|
42619
|
+
"kind": "field",
|
|
42620
|
+
"name": "normalizedPageSize",
|
|
42621
|
+
"type": {
|
|
42622
|
+
"text": "number"
|
|
42623
|
+
},
|
|
42624
|
+
"privacy": "private",
|
|
42625
|
+
"readonly": true
|
|
42626
|
+
},
|
|
42627
|
+
{
|
|
42628
|
+
"kind": "field",
|
|
42629
|
+
"name": "normalizedTotalItems",
|
|
42630
|
+
"type": {
|
|
42631
|
+
"text": "number"
|
|
42632
|
+
},
|
|
42633
|
+
"privacy": "private",
|
|
42634
|
+
"readonly": true
|
|
42635
|
+
},
|
|
42636
|
+
{
|
|
42637
|
+
"kind": "field",
|
|
42638
|
+
"name": "onPageInput",
|
|
42639
|
+
"privacy": "private"
|
|
42640
|
+
},
|
|
42641
|
+
{
|
|
42642
|
+
"kind": "field",
|
|
42643
|
+
"name": "onPageKeyDown",
|
|
42644
|
+
"privacy": "private"
|
|
42645
|
+
},
|
|
42646
|
+
{
|
|
42647
|
+
"kind": "field",
|
|
42648
|
+
"name": "page",
|
|
42649
|
+
"type": {
|
|
42650
|
+
"text": "number"
|
|
42651
|
+
},
|
|
42652
|
+
"default": "1",
|
|
42653
|
+
"description": "The currently applied page. Controlled; this component never mutates it.",
|
|
42654
|
+
"attribute": "page",
|
|
42655
|
+
"reflects": true
|
|
42656
|
+
},
|
|
42657
|
+
{
|
|
42658
|
+
"kind": "field",
|
|
42659
|
+
"name": "pageCount",
|
|
42660
|
+
"type": {
|
|
42661
|
+
"text": "number"
|
|
42662
|
+
},
|
|
42663
|
+
"description": "Total page count derived from `totalItems` and `pageSize`.",
|
|
42664
|
+
"readonly": true
|
|
42665
|
+
},
|
|
42666
|
+
{
|
|
42667
|
+
"kind": "field",
|
|
42668
|
+
"name": "pageLabel",
|
|
42669
|
+
"type": {
|
|
42670
|
+
"text": "string"
|
|
42671
|
+
},
|
|
42672
|
+
"default": "'Page'",
|
|
42673
|
+
"attribute": "page-label"
|
|
42674
|
+
},
|
|
42675
|
+
{
|
|
42676
|
+
"kind": "field",
|
|
42677
|
+
"name": "pageSize",
|
|
42678
|
+
"type": {
|
|
42679
|
+
"text": "number"
|
|
42680
|
+
},
|
|
42681
|
+
"default": "20",
|
|
42682
|
+
"description": "Number of items represented by one page. Non-positive values produce no pages.",
|
|
42683
|
+
"attribute": "page-size"
|
|
42684
|
+
},
|
|
42685
|
+
{
|
|
42686
|
+
"kind": "field",
|
|
42687
|
+
"name": "previousLabel",
|
|
42688
|
+
"type": {
|
|
42689
|
+
"text": "string"
|
|
42690
|
+
},
|
|
42691
|
+
"default": "'Previous'",
|
|
42692
|
+
"attribute": "previous-label"
|
|
42693
|
+
},
|
|
42694
|
+
{
|
|
42695
|
+
"kind": "field",
|
|
42696
|
+
"name": "size",
|
|
42697
|
+
"type": {
|
|
42698
|
+
"text": "LyraPaginationSize"
|
|
42699
|
+
},
|
|
42700
|
+
"default": "'m'",
|
|
42701
|
+
"attribute": "size",
|
|
42702
|
+
"reflects": true
|
|
42703
|
+
},
|
|
42704
|
+
{
|
|
42705
|
+
"kind": "field",
|
|
42706
|
+
"name": "stopLocaleSubscription",
|
|
42707
|
+
"type": {
|
|
42708
|
+
"text": "() => void | undefined"
|
|
42709
|
+
},
|
|
42710
|
+
"privacy": "private",
|
|
42711
|
+
"inheritedFrom": {
|
|
42712
|
+
"name": "LyraElement",
|
|
42713
|
+
"module": "src/internal/lyra-element.ts"
|
|
42714
|
+
}
|
|
42715
|
+
},
|
|
42716
|
+
{
|
|
42717
|
+
"kind": "field",
|
|
42718
|
+
"name": "strings",
|
|
42719
|
+
"type": {
|
|
42720
|
+
"text": "LyraLocaleStrings"
|
|
42721
|
+
},
|
|
42722
|
+
"default": "{}",
|
|
42723
|
+
"description": "Per-instance message overrides, useful for application-specific wording.",
|
|
42724
|
+
"inheritedFrom": {
|
|
42725
|
+
"name": "LyraElement",
|
|
42726
|
+
"module": "src/internal/lyra-element.ts"
|
|
42727
|
+
}
|
|
42728
|
+
},
|
|
42729
|
+
{
|
|
42730
|
+
"kind": "field",
|
|
42731
|
+
"name": "totalItems",
|
|
42732
|
+
"type": {
|
|
42733
|
+
"text": "number"
|
|
42734
|
+
},
|
|
42735
|
+
"default": "0",
|
|
42736
|
+
"description": "Total number of items across every page. Non-positive values render the empty state.",
|
|
42737
|
+
"attribute": "total-items"
|
|
42738
|
+
},
|
|
42739
|
+
{
|
|
42740
|
+
"kind": "method",
|
|
42741
|
+
"name": "addEventListener",
|
|
42742
|
+
"return": {
|
|
42743
|
+
"type": {
|
|
42744
|
+
"text": "void"
|
|
42745
|
+
}
|
|
42746
|
+
},
|
|
42747
|
+
"parameters": [
|
|
42748
|
+
{
|
|
42749
|
+
"name": "type",
|
|
42750
|
+
"type": {
|
|
42751
|
+
"text": "K"
|
|
42752
|
+
}
|
|
42753
|
+
},
|
|
42754
|
+
{
|
|
42755
|
+
"name": "listener",
|
|
42756
|
+
"type": {
|
|
42757
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
42758
|
+
}
|
|
42759
|
+
},
|
|
42760
|
+
{
|
|
42761
|
+
"name": "options",
|
|
42762
|
+
"optional": true,
|
|
42763
|
+
"type": {
|
|
42764
|
+
"text": "boolean | AddEventListenerOptions"
|
|
42765
|
+
}
|
|
42766
|
+
}
|
|
42767
|
+
],
|
|
42768
|
+
"inheritedFrom": {
|
|
42769
|
+
"name": "LyraElement",
|
|
42770
|
+
"module": "src/internal/lyra-element.ts"
|
|
42771
|
+
}
|
|
42772
|
+
},
|
|
42773
|
+
{
|
|
42774
|
+
"kind": "method",
|
|
42775
|
+
"name": "emit",
|
|
42776
|
+
"privacy": "protected",
|
|
42777
|
+
"return": {
|
|
42778
|
+
"type": {
|
|
42779
|
+
"text": "CustomEvent<T>"
|
|
42780
|
+
}
|
|
42781
|
+
},
|
|
42782
|
+
"parameters": [
|
|
42783
|
+
{
|
|
42784
|
+
"name": "name",
|
|
42785
|
+
"type": {
|
|
42786
|
+
"text": "string"
|
|
42787
|
+
}
|
|
42788
|
+
},
|
|
42789
|
+
{
|
|
42790
|
+
"name": "detail",
|
|
42791
|
+
"optional": true,
|
|
42792
|
+
"type": {
|
|
42793
|
+
"text": "T"
|
|
42794
|
+
}
|
|
42795
|
+
},
|
|
42796
|
+
{
|
|
42797
|
+
"name": "options",
|
|
42798
|
+
"optional": true,
|
|
42799
|
+
"type": {
|
|
42800
|
+
"text": "LyraEmitOptions"
|
|
42801
|
+
}
|
|
42802
|
+
}
|
|
42803
|
+
],
|
|
42804
|
+
"description": "Dispatch a composed, bubbling custom event; notifications are not veto points by default.",
|
|
42805
|
+
"inheritedFrom": {
|
|
42806
|
+
"name": "LyraElement",
|
|
42807
|
+
"module": "src/internal/lyra-element.ts"
|
|
42808
|
+
}
|
|
42809
|
+
},
|
|
42810
|
+
{
|
|
42811
|
+
"kind": "method",
|
|
42812
|
+
"name": "formatNumber",
|
|
42813
|
+
"privacy": "private",
|
|
42814
|
+
"return": {
|
|
42815
|
+
"type": {
|
|
42816
|
+
"text": "string"
|
|
42817
|
+
}
|
|
42818
|
+
},
|
|
42819
|
+
"parameters": [
|
|
42820
|
+
{
|
|
42821
|
+
"name": "value",
|
|
42822
|
+
"type": {
|
|
42823
|
+
"text": "number"
|
|
42824
|
+
}
|
|
42825
|
+
}
|
|
42826
|
+
]
|
|
42827
|
+
},
|
|
42828
|
+
{
|
|
42829
|
+
"kind": "method",
|
|
42830
|
+
"name": "localize",
|
|
42831
|
+
"privacy": "protected",
|
|
42832
|
+
"return": {
|
|
42833
|
+
"type": {
|
|
42834
|
+
"text": "string"
|
|
42835
|
+
}
|
|
42836
|
+
},
|
|
42837
|
+
"parameters": [
|
|
42838
|
+
{
|
|
42839
|
+
"name": "key",
|
|
42840
|
+
"type": {
|
|
42841
|
+
"text": "string"
|
|
42842
|
+
}
|
|
42843
|
+
},
|
|
42844
|
+
{
|
|
42845
|
+
"name": "fallback",
|
|
42846
|
+
"optional": true,
|
|
42847
|
+
"type": {
|
|
42848
|
+
"text": "string"
|
|
42849
|
+
}
|
|
42850
|
+
},
|
|
42851
|
+
{
|
|
42852
|
+
"name": "values",
|
|
42853
|
+
"optional": true,
|
|
42854
|
+
"type": {
|
|
42855
|
+
"text": "Record<string, string | number>"
|
|
42856
|
+
}
|
|
42857
|
+
}
|
|
42858
|
+
],
|
|
42859
|
+
"description": "Resolve a localized message using this component's overrides and locale.",
|
|
42860
|
+
"inheritedFrom": {
|
|
42861
|
+
"name": "LyraElement",
|
|
42862
|
+
"module": "src/internal/lyra-element.ts"
|
|
42863
|
+
}
|
|
42864
|
+
},
|
|
42865
|
+
{
|
|
42866
|
+
"kind": "method",
|
|
42867
|
+
"name": "localizedProperty",
|
|
42868
|
+
"privacy": "private",
|
|
42869
|
+
"return": {
|
|
42870
|
+
"type": {
|
|
42871
|
+
"text": "string"
|
|
42872
|
+
}
|
|
42873
|
+
},
|
|
42874
|
+
"parameters": [
|
|
42875
|
+
{
|
|
42876
|
+
"name": "key",
|
|
42877
|
+
"type": {
|
|
42878
|
+
"text": "string"
|
|
42879
|
+
}
|
|
42880
|
+
},
|
|
42881
|
+
{
|
|
42882
|
+
"name": "defaultValue",
|
|
42883
|
+
"type": {
|
|
42884
|
+
"text": "string"
|
|
42885
|
+
}
|
|
42886
|
+
},
|
|
42887
|
+
{
|
|
42888
|
+
"name": "value",
|
|
42889
|
+
"type": {
|
|
42890
|
+
"text": "string"
|
|
42891
|
+
}
|
|
42892
|
+
}
|
|
42893
|
+
]
|
|
42894
|
+
},
|
|
42895
|
+
{
|
|
42896
|
+
"kind": "method",
|
|
42897
|
+
"name": "removeEventListener",
|
|
42898
|
+
"return": {
|
|
42899
|
+
"type": {
|
|
42900
|
+
"text": "void"
|
|
42901
|
+
}
|
|
42902
|
+
},
|
|
42903
|
+
"parameters": [
|
|
42904
|
+
{
|
|
42905
|
+
"name": "type",
|
|
42906
|
+
"type": {
|
|
42907
|
+
"text": "K"
|
|
42908
|
+
}
|
|
42909
|
+
},
|
|
42910
|
+
{
|
|
42911
|
+
"name": "listener",
|
|
42912
|
+
"type": {
|
|
42913
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
42914
|
+
}
|
|
42915
|
+
},
|
|
42916
|
+
{
|
|
42917
|
+
"name": "options",
|
|
42918
|
+
"optional": true,
|
|
42919
|
+
"type": {
|
|
42920
|
+
"text": "boolean | EventListenerOptions"
|
|
42921
|
+
}
|
|
42922
|
+
}
|
|
42923
|
+
],
|
|
42924
|
+
"inheritedFrom": {
|
|
42925
|
+
"name": "LyraElement",
|
|
42926
|
+
"module": "src/internal/lyra-element.ts"
|
|
42927
|
+
}
|
|
42928
|
+
},
|
|
42929
|
+
{
|
|
42930
|
+
"kind": "method",
|
|
42931
|
+
"name": "requestPage",
|
|
42932
|
+
"privacy": "private",
|
|
42933
|
+
"return": {
|
|
42934
|
+
"type": {
|
|
42935
|
+
"text": "void"
|
|
42936
|
+
}
|
|
42937
|
+
},
|
|
42938
|
+
"parameters": [
|
|
42939
|
+
{
|
|
42940
|
+
"name": "page",
|
|
42941
|
+
"type": {
|
|
42942
|
+
"text": "number"
|
|
42943
|
+
}
|
|
42944
|
+
}
|
|
42945
|
+
]
|
|
42946
|
+
},
|
|
42947
|
+
{
|
|
42948
|
+
"kind": "method",
|
|
42949
|
+
"name": "summaryText",
|
|
42950
|
+
"privacy": "private",
|
|
42951
|
+
"return": {
|
|
42952
|
+
"type": {
|
|
42953
|
+
"text": "string"
|
|
42954
|
+
}
|
|
42955
|
+
}
|
|
42956
|
+
},
|
|
42957
|
+
{
|
|
42958
|
+
"kind": "method",
|
|
42959
|
+
"name": "validRequestedPage",
|
|
42960
|
+
"privacy": "private",
|
|
42961
|
+
"return": {
|
|
42962
|
+
"type": {
|
|
42963
|
+
"text": "number | null"
|
|
42964
|
+
}
|
|
42965
|
+
},
|
|
42966
|
+
"parameters": [
|
|
42967
|
+
{
|
|
42968
|
+
"name": "value",
|
|
42969
|
+
"type": {
|
|
42970
|
+
"text": "string"
|
|
42971
|
+
}
|
|
42972
|
+
}
|
|
42973
|
+
]
|
|
42974
|
+
}
|
|
42975
|
+
],
|
|
42976
|
+
"events": [
|
|
42977
|
+
{
|
|
42978
|
+
"description": "Fired when a user requests a valid page. `detail: { page }`.",
|
|
42979
|
+
"name": "lyra-page-change"
|
|
42980
|
+
}
|
|
42981
|
+
],
|
|
42982
|
+
"attributes": [
|
|
42983
|
+
{
|
|
42984
|
+
"name": "aria-label",
|
|
42985
|
+
"type": {
|
|
42986
|
+
"text": "string | null"
|
|
42987
|
+
},
|
|
42988
|
+
"default": "null",
|
|
42989
|
+
"description": "Accessible name forwarded from the host to the internal navigation landmark.",
|
|
42990
|
+
"fieldName": "accessibleLabel"
|
|
42991
|
+
},
|
|
42992
|
+
{
|
|
42993
|
+
"name": "disabled",
|
|
42994
|
+
"type": {
|
|
42995
|
+
"text": "boolean"
|
|
42996
|
+
},
|
|
42997
|
+
"default": "false",
|
|
42998
|
+
"fieldName": "disabled"
|
|
42999
|
+
},
|
|
43000
|
+
{
|
|
43001
|
+
"name": "hide-summary",
|
|
43002
|
+
"type": {
|
|
43003
|
+
"text": "boolean"
|
|
43004
|
+
},
|
|
43005
|
+
"default": "false",
|
|
43006
|
+
"fieldName": "hideSummary"
|
|
43007
|
+
},
|
|
43008
|
+
{
|
|
43009
|
+
"name": "item-label",
|
|
43010
|
+
"type": {
|
|
43011
|
+
"text": "string"
|
|
43012
|
+
},
|
|
43013
|
+
"default": "''",
|
|
43014
|
+
"description": "Optional item noun used in the summary. Empty uses the localized `item`/`items` keys.",
|
|
43015
|
+
"fieldName": "itemLabel"
|
|
43016
|
+
},
|
|
43017
|
+
{
|
|
43018
|
+
"name": "label",
|
|
43019
|
+
"type": {
|
|
43020
|
+
"text": "string"
|
|
43021
|
+
},
|
|
43022
|
+
"default": "'Pagination'",
|
|
43023
|
+
"fieldName": "label"
|
|
43024
|
+
},
|
|
43025
|
+
{
|
|
43026
|
+
"name": "loading",
|
|
43027
|
+
"type": {
|
|
43028
|
+
"text": "boolean"
|
|
43029
|
+
},
|
|
43030
|
+
"default": "false",
|
|
43031
|
+
"description": "Disables navigation and exposes `aria-busy=\"true\"` while a page is loading.",
|
|
43032
|
+
"fieldName": "loading"
|
|
43033
|
+
},
|
|
43034
|
+
{
|
|
43035
|
+
"name": "locale",
|
|
43036
|
+
"type": {
|
|
43037
|
+
"text": "string"
|
|
43038
|
+
},
|
|
43039
|
+
"default": "''",
|
|
43040
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
43041
|
+
"fieldName": "locale",
|
|
43042
|
+
"inheritedFrom": {
|
|
43043
|
+
"name": "LyraElement",
|
|
43044
|
+
"module": "src/internal/lyra-element.ts"
|
|
43045
|
+
}
|
|
43046
|
+
},
|
|
43047
|
+
{
|
|
43048
|
+
"name": "next-label",
|
|
43049
|
+
"type": {
|
|
43050
|
+
"text": "string"
|
|
43051
|
+
},
|
|
43052
|
+
"default": "'Next'",
|
|
43053
|
+
"fieldName": "nextLabel"
|
|
43054
|
+
},
|
|
43055
|
+
{
|
|
43056
|
+
"name": "page",
|
|
43057
|
+
"type": {
|
|
43058
|
+
"text": "number"
|
|
43059
|
+
},
|
|
43060
|
+
"default": "1",
|
|
43061
|
+
"description": "The currently applied page. Controlled; this component never mutates it.",
|
|
43062
|
+
"fieldName": "page"
|
|
43063
|
+
},
|
|
43064
|
+
{
|
|
43065
|
+
"name": "page-label",
|
|
43066
|
+
"type": {
|
|
43067
|
+
"text": "string"
|
|
43068
|
+
},
|
|
43069
|
+
"default": "'Page'",
|
|
43070
|
+
"fieldName": "pageLabel"
|
|
43071
|
+
},
|
|
43072
|
+
{
|
|
43073
|
+
"name": "page-size",
|
|
43074
|
+
"type": {
|
|
43075
|
+
"text": "number"
|
|
43076
|
+
},
|
|
43077
|
+
"default": "20",
|
|
43078
|
+
"description": "Number of items represented by one page. Non-positive values produce no pages.",
|
|
43079
|
+
"fieldName": "pageSize"
|
|
43080
|
+
},
|
|
43081
|
+
{
|
|
43082
|
+
"name": "previous-label",
|
|
43083
|
+
"type": {
|
|
43084
|
+
"text": "string"
|
|
43085
|
+
},
|
|
43086
|
+
"default": "'Previous'",
|
|
43087
|
+
"fieldName": "previousLabel"
|
|
43088
|
+
},
|
|
43089
|
+
{
|
|
43090
|
+
"name": "size",
|
|
43091
|
+
"type": {
|
|
43092
|
+
"text": "LyraPaginationSize"
|
|
43093
|
+
},
|
|
43094
|
+
"default": "'m'",
|
|
43095
|
+
"fieldName": "size"
|
|
43096
|
+
},
|
|
43097
|
+
{
|
|
43098
|
+
"name": "total-items",
|
|
43099
|
+
"type": {
|
|
43100
|
+
"text": "number"
|
|
43101
|
+
},
|
|
43102
|
+
"default": "0",
|
|
43103
|
+
"description": "Total number of items across every page. Non-positive values render the empty state.",
|
|
43104
|
+
"fieldName": "totalItems"
|
|
43105
|
+
}
|
|
43106
|
+
],
|
|
43107
|
+
"superclass": {
|
|
43108
|
+
"name": "LyraElement",
|
|
43109
|
+
"module": "/src/internal/lyra-element.js"
|
|
43110
|
+
},
|
|
43111
|
+
"tagName": "lyra-pagination",
|
|
43112
|
+
"customElement": true
|
|
43113
|
+
}
|
|
43114
|
+
],
|
|
43115
|
+
"exports": [
|
|
43116
|
+
{
|
|
43117
|
+
"kind": "js",
|
|
43118
|
+
"name": "LyraPagination",
|
|
43119
|
+
"declaration": {
|
|
43120
|
+
"name": "LyraPagination",
|
|
43121
|
+
"module": "src/components/pagination/pagination.class.ts"
|
|
43122
|
+
}
|
|
43123
|
+
}
|
|
43124
|
+
]
|
|
43125
|
+
},
|
|
43126
|
+
{
|
|
43127
|
+
"kind": "javascript-module",
|
|
43128
|
+
"path": "src/components/pagination/pagination.ts",
|
|
43129
|
+
"declarations": [],
|
|
43130
|
+
"exports": [
|
|
43131
|
+
{
|
|
43132
|
+
"kind": "custom-element-definition",
|
|
43133
|
+
"name": "lyra-pagination",
|
|
43134
|
+
"declaration": {
|
|
43135
|
+
"name": "LyraPagination",
|
|
43136
|
+
"module": "src/components/pagination/pagination.class.ts"
|
|
43137
|
+
}
|
|
43138
|
+
},
|
|
43139
|
+
{
|
|
43140
|
+
"kind": "js",
|
|
43141
|
+
"name": "*",
|
|
43142
|
+
"declaration": {
|
|
43143
|
+
"name": "*",
|
|
43144
|
+
"module": "src/components/pagination/pagination.class.js"
|
|
43145
|
+
}
|
|
43146
|
+
}
|
|
43147
|
+
]
|
|
43148
|
+
},
|
|
43149
|
+
{
|
|
43150
|
+
"kind": "javascript-module",
|
|
43151
|
+
"path": "src/components/phone-input/phone-input.class.ts",
|
|
43152
|
+
"declarations": [
|
|
43153
|
+
{
|
|
43154
|
+
"kind": "class",
|
|
43155
|
+
"description": "`<lyra-phone-input>` — a country-aware telephone field whose form value is\ncanonical E.164. National formatting and numbering-plan validation are\nsupplied through `adapter`; without one, already-international E.164 input\nremains useful and national input stays editable with `incomplete` validity.\n\nUser edits emit native-style `input` and `change` events. Event detail\nexposes both the canonical `value` and editable `inputValue`; programmatic\nproperty changes are silent. Phone-number text is deliberately LTR while\nthe form chrome and country selector follow the inherited direction.",
|
|
43156
|
+
"name": "LyraPhoneInput",
|
|
43157
|
+
"cssParts": [
|
|
43158
|
+
{
|
|
43159
|
+
"description": "The selected country's calling code.",
|
|
43160
|
+
"name": "calling-code"
|
|
43161
|
+
},
|
|
43162
|
+
{
|
|
43163
|
+
"description": "Optional country adornment slot wrapper.",
|
|
43164
|
+
"name": "country-prefix"
|
|
43165
|
+
},
|
|
43166
|
+
{
|
|
43167
|
+
"description": "The native country selector.",
|
|
43168
|
+
"name": "country-select"
|
|
43169
|
+
},
|
|
43170
|
+
{
|
|
43171
|
+
"description": "The error or validation message.",
|
|
43172
|
+
"name": "error"
|
|
43173
|
+
},
|
|
43174
|
+
{
|
|
43175
|
+
"description": "The outer form-control wrapper.",
|
|
43176
|
+
"name": "form-control"
|
|
43177
|
+
},
|
|
43178
|
+
{
|
|
43179
|
+
"description": "The visible label.",
|
|
43180
|
+
"name": "form-control-label"
|
|
43181
|
+
},
|
|
43182
|
+
{
|
|
43183
|
+
"description": "The hint message.",
|
|
43184
|
+
"name": "hint"
|
|
43185
|
+
},
|
|
43186
|
+
{
|
|
43187
|
+
"description": "The native telephone input.",
|
|
43188
|
+
"name": "input"
|
|
43189
|
+
},
|
|
43190
|
+
{
|
|
43191
|
+
"description": "The country selector and telephone input wrapper.",
|
|
43192
|
+
"name": "input-wrapper"
|
|
43193
|
+
}
|
|
43194
|
+
],
|
|
43195
|
+
"slots": [
|
|
43196
|
+
{
|
|
43197
|
+
"description": "Optional visual displayed before the country selector, such as a flag.",
|
|
43198
|
+
"name": "country-prefix"
|
|
43199
|
+
},
|
|
43200
|
+
{
|
|
43201
|
+
"description": "Custom error content.",
|
|
43202
|
+
"name": "error"
|
|
43203
|
+
},
|
|
43204
|
+
{
|
|
43205
|
+
"description": "Custom hint content.",
|
|
43206
|
+
"name": "hint"
|
|
43207
|
+
},
|
|
43208
|
+
{
|
|
43209
|
+
"description": "Custom label content.",
|
|
43210
|
+
"name": "label"
|
|
43211
|
+
}
|
|
43212
|
+
],
|
|
43213
|
+
"members": [
|
|
43214
|
+
{
|
|
43215
|
+
"kind": "field",
|
|
43216
|
+
"name": "accessibleLabel",
|
|
43217
|
+
"type": {
|
|
43218
|
+
"text": "string | null"
|
|
43219
|
+
},
|
|
43220
|
+
"privacy": "private",
|
|
43221
|
+
"default": "null",
|
|
43222
|
+
"attribute": "aria-label"
|
|
43223
|
+
},
|
|
43224
|
+
{
|
|
43225
|
+
"kind": "field",
|
|
43226
|
+
"name": "adapter",
|
|
43227
|
+
"type": {
|
|
43228
|
+
"text": "PhoneNumberAdapter | undefined"
|
|
43229
|
+
},
|
|
43230
|
+
"description": "Formatting and validation implementation. No metadata is bundled by default."
|
|
43231
|
+
},
|
|
43232
|
+
{
|
|
43233
|
+
"kind": "field",
|
|
43234
|
+
"name": "autocomplete",
|
|
43235
|
+
"type": {
|
|
43236
|
+
"text": "string"
|
|
43237
|
+
},
|
|
43238
|
+
"default": "'tel'",
|
|
43239
|
+
"attribute": "autocomplete"
|
|
43240
|
+
},
|
|
43241
|
+
{
|
|
43242
|
+
"kind": "field",
|
|
43243
|
+
"name": "availableCountries",
|
|
43244
|
+
"type": {
|
|
43245
|
+
"text": "PhoneCountry[]"
|
|
43246
|
+
},
|
|
43247
|
+
"privacy": "private",
|
|
43248
|
+
"readonly": true
|
|
43249
|
+
},
|
|
43250
|
+
{
|
|
43251
|
+
"kind": "field",
|
|
43252
|
+
"name": "countries",
|
|
43253
|
+
"type": {
|
|
43254
|
+
"text": "readonly PhoneCountry[]"
|
|
43255
|
+
},
|
|
43256
|
+
"default": "[]",
|
|
43257
|
+
"description": "Explicit country rows. Takes precedence over `adapter.countries`."
|
|
43258
|
+
},
|
|
43259
|
+
{
|
|
43260
|
+
"kind": "field",
|
|
43261
|
+
"name": "country",
|
|
43262
|
+
"privacy": "public",
|
|
43263
|
+
"type": {
|
|
43264
|
+
"text": "string"
|
|
43265
|
+
},
|
|
43266
|
+
"description": "Currently selected ISO 3166-1 alpha-2 country code.",
|
|
43267
|
+
"attribute": "country"
|
|
43268
|
+
},
|
|
43269
|
+
{
|
|
43270
|
+
"kind": "field",
|
|
43271
|
+
"name": "countryLabel",
|
|
43272
|
+
"type": {
|
|
43273
|
+
"text": "string"
|
|
43274
|
+
},
|
|
43275
|
+
"default": "'Select'",
|
|
43276
|
+
"description": "Accessible name for the country selector.",
|
|
43277
|
+
"attribute": "country-label"
|
|
43278
|
+
},
|
|
43279
|
+
{
|
|
43280
|
+
"kind": "field",
|
|
43281
|
+
"name": "defaultCountry",
|
|
43282
|
+
"type": {
|
|
43283
|
+
"text": "string"
|
|
43284
|
+
},
|
|
43285
|
+
"default": "''",
|
|
43286
|
+
"description": "Country selected when no explicit `country` has been set.",
|
|
43287
|
+
"attribute": "default-country"
|
|
43288
|
+
},
|
|
43289
|
+
{
|
|
43290
|
+
"kind": "field",
|
|
43291
|
+
"name": "editableValue",
|
|
43292
|
+
"type": {
|
|
43293
|
+
"text": "string"
|
|
43294
|
+
},
|
|
43295
|
+
"privacy": "private",
|
|
43296
|
+
"default": "''"
|
|
43297
|
+
},
|
|
43298
|
+
{
|
|
43299
|
+
"kind": "field",
|
|
43300
|
+
"name": "effectiveCountryLabel",
|
|
43301
|
+
"type": {
|
|
43302
|
+
"text": "string"
|
|
43303
|
+
},
|
|
43304
|
+
"privacy": "private",
|
|
43305
|
+
"readonly": true
|
|
43306
|
+
},
|
|
43307
|
+
{
|
|
43308
|
+
"kind": "field",
|
|
43309
|
+
"name": "effectiveDirection",
|
|
43310
|
+
"type": {
|
|
43311
|
+
"text": "'ltr' | 'rtl'"
|
|
43312
|
+
},
|
|
43313
|
+
"privacy": "protected",
|
|
43314
|
+
"description": "The effective text direction, including inherited CSS direction.",
|
|
43315
|
+
"readonly": true,
|
|
43316
|
+
"inheritedFrom": {
|
|
43317
|
+
"name": "LyraElement",
|
|
43318
|
+
"module": "src/internal/lyra-element.ts"
|
|
43319
|
+
}
|
|
43320
|
+
},
|
|
43321
|
+
{
|
|
43322
|
+
"kind": "field",
|
|
43323
|
+
"name": "effectiveLocale",
|
|
43324
|
+
"type": {
|
|
43325
|
+
"text": "string"
|
|
43326
|
+
},
|
|
43327
|
+
"privacy": "protected",
|
|
43328
|
+
"description": "The effective locale used by this component.",
|
|
43329
|
+
"readonly": true,
|
|
43330
|
+
"inheritedFrom": {
|
|
43331
|
+
"name": "LyraElement",
|
|
43332
|
+
"module": "src/internal/lyra-element.ts"
|
|
43333
|
+
}
|
|
43334
|
+
},
|
|
43335
|
+
{
|
|
43336
|
+
"kind": "field",
|
|
43337
|
+
"name": "effectivePhoneLabel",
|
|
43338
|
+
"type": {
|
|
43339
|
+
"text": "string | undefined"
|
|
43340
|
+
},
|
|
43341
|
+
"privacy": "private",
|
|
43342
|
+
"readonly": true
|
|
43343
|
+
},
|
|
43344
|
+
{
|
|
43345
|
+
"kind": "field",
|
|
43346
|
+
"name": "enterkeyhint",
|
|
43347
|
+
"type": {
|
|
43348
|
+
"text": "string"
|
|
43349
|
+
},
|
|
43350
|
+
"default": "''",
|
|
43351
|
+
"attribute": "enterkeyhint"
|
|
43352
|
+
},
|
|
43353
|
+
{
|
|
43354
|
+
"kind": "field",
|
|
43355
|
+
"name": "errorId",
|
|
43356
|
+
"privacy": "private"
|
|
43357
|
+
},
|
|
43358
|
+
{
|
|
43359
|
+
"kind": "field",
|
|
43360
|
+
"name": "errorText",
|
|
43361
|
+
"type": {
|
|
43362
|
+
"text": "string"
|
|
43363
|
+
},
|
|
43364
|
+
"default": "''",
|
|
43365
|
+
"attribute": "error-text"
|
|
43366
|
+
},
|
|
43367
|
+
{
|
|
43368
|
+
"kind": "field",
|
|
43369
|
+
"name": "eventDetail",
|
|
43370
|
+
"type": {
|
|
43371
|
+
"text": "LyraPhoneInputEventDetail"
|
|
43372
|
+
},
|
|
43373
|
+
"privacy": "private",
|
|
43374
|
+
"readonly": true
|
|
43375
|
+
},
|
|
43376
|
+
{
|
|
43377
|
+
"kind": "field",
|
|
43378
|
+
"name": "explicitCountry",
|
|
43379
|
+
"type": {
|
|
43380
|
+
"text": "string"
|
|
43381
|
+
},
|
|
43382
|
+
"privacy": "private",
|
|
43383
|
+
"default": "''"
|
|
43384
|
+
},
|
|
43385
|
+
{
|
|
43386
|
+
"kind": "field",
|
|
43387
|
+
"name": "hasCountryPrefixSlot",
|
|
43388
|
+
"type": {
|
|
43389
|
+
"text": "boolean"
|
|
43390
|
+
},
|
|
43391
|
+
"privacy": "private",
|
|
43392
|
+
"default": "false"
|
|
43393
|
+
},
|
|
43394
|
+
{
|
|
43395
|
+
"kind": "field",
|
|
43396
|
+
"name": "hasErrorSlot",
|
|
43397
|
+
"type": {
|
|
43398
|
+
"text": "boolean"
|
|
43399
|
+
},
|
|
43400
|
+
"privacy": "private",
|
|
43401
|
+
"default": "false"
|
|
43402
|
+
},
|
|
43403
|
+
{
|
|
43404
|
+
"kind": "field",
|
|
43405
|
+
"name": "hasHintSlot",
|
|
43406
|
+
"type": {
|
|
43407
|
+
"text": "boolean"
|
|
43408
|
+
},
|
|
43409
|
+
"privacy": "private",
|
|
43410
|
+
"default": "false"
|
|
43411
|
+
},
|
|
43412
|
+
{
|
|
43413
|
+
"kind": "field",
|
|
43414
|
+
"name": "hasLabelSlot",
|
|
43415
|
+
"type": {
|
|
43416
|
+
"text": "boolean"
|
|
43417
|
+
},
|
|
43418
|
+
"privacy": "private",
|
|
43419
|
+
"default": "false"
|
|
43420
|
+
},
|
|
43421
|
+
{
|
|
43422
|
+
"kind": "field",
|
|
43423
|
+
"name": "hint",
|
|
43424
|
+
"type": {
|
|
43425
|
+
"text": "string"
|
|
43426
|
+
},
|
|
43427
|
+
"default": "''",
|
|
43428
|
+
"attribute": "hint"
|
|
43429
|
+
},
|
|
43430
|
+
{
|
|
43431
|
+
"kind": "field",
|
|
43432
|
+
"name": "hintId",
|
|
43433
|
+
"privacy": "private"
|
|
43434
|
+
},
|
|
43435
|
+
{
|
|
43436
|
+
"kind": "field",
|
|
43437
|
+
"name": "incompleteMessage",
|
|
43438
|
+
"type": {
|
|
43439
|
+
"text": "string"
|
|
43440
|
+
},
|
|
43441
|
+
"privacy": "private",
|
|
43442
|
+
"readonly": true
|
|
43443
|
+
},
|
|
43444
|
+
{
|
|
43445
|
+
"kind": "field",
|
|
43446
|
+
"name": "incompleteText",
|
|
43447
|
+
"type": {
|
|
43448
|
+
"text": "string"
|
|
43449
|
+
},
|
|
43450
|
+
"default": "'The value is invalid.'",
|
|
43451
|
+
"description": "Validation message for a number that may still become valid with more digits.",
|
|
43452
|
+
"attribute": "incomplete-text"
|
|
43453
|
+
},
|
|
43454
|
+
{
|
|
43455
|
+
"kind": "field",
|
|
43456
|
+
"name": "input",
|
|
43457
|
+
"type": {
|
|
43458
|
+
"text": "HTMLInputElement | undefined"
|
|
43459
|
+
},
|
|
43460
|
+
"description": "The underlying telephone input for platform-specific integrations.",
|
|
43461
|
+
"readonly": true
|
|
43462
|
+
},
|
|
43463
|
+
{
|
|
43464
|
+
"kind": "field",
|
|
43465
|
+
"name": "inputElement",
|
|
43466
|
+
"type": {
|
|
43467
|
+
"text": "HTMLInputElement | undefined"
|
|
43468
|
+
},
|
|
43469
|
+
"privacy": "private"
|
|
43470
|
+
},
|
|
43471
|
+
{
|
|
43472
|
+
"kind": "field",
|
|
43473
|
+
"name": "inputId",
|
|
43474
|
+
"privacy": "private"
|
|
43475
|
+
},
|
|
43476
|
+
{
|
|
43477
|
+
"kind": "field",
|
|
43478
|
+
"name": "inputValue",
|
|
43479
|
+
"type": {
|
|
43480
|
+
"text": "string"
|
|
43481
|
+
},
|
|
43482
|
+
"description": "Editable display text, including a partial or invalid number.",
|
|
43483
|
+
"readonly": true
|
|
43484
|
+
},
|
|
43485
|
+
{
|
|
43486
|
+
"kind": "field",
|
|
43487
|
+
"name": "inputmode",
|
|
43488
|
+
"type": {
|
|
43489
|
+
"text": "'tel' | 'numeric' | 'text'"
|
|
43490
|
+
},
|
|
43491
|
+
"default": "'tel'",
|
|
43492
|
+
"attribute": "inputmode"
|
|
43493
|
+
},
|
|
43494
|
+
{
|
|
43495
|
+
"kind": "field",
|
|
43496
|
+
"name": "invalidMessage",
|
|
43497
|
+
"type": {
|
|
43498
|
+
"text": "string"
|
|
43499
|
+
},
|
|
43500
|
+
"privacy": "private",
|
|
43501
|
+
"readonly": true
|
|
43502
|
+
},
|
|
43503
|
+
{
|
|
43504
|
+
"kind": "field",
|
|
43505
|
+
"name": "invalidText",
|
|
43506
|
+
"type": {
|
|
43507
|
+
"text": "string"
|
|
43508
|
+
},
|
|
43509
|
+
"default": "'The value is invalid.'",
|
|
43510
|
+
"description": "Validation message for a completed but invalid number.",
|
|
43511
|
+
"attribute": "invalid-text"
|
|
43512
|
+
},
|
|
43513
|
+
{
|
|
43514
|
+
"kind": "field",
|
|
43515
|
+
"name": "label",
|
|
43516
|
+
"type": {
|
|
43517
|
+
"text": "string"
|
|
43518
|
+
},
|
|
43519
|
+
"default": "''",
|
|
43520
|
+
"attribute": "label"
|
|
43521
|
+
},
|
|
43522
|
+
{
|
|
43523
|
+
"kind": "field",
|
|
43524
|
+
"name": "locale",
|
|
43525
|
+
"type": {
|
|
43526
|
+
"text": "string"
|
|
43527
|
+
},
|
|
43528
|
+
"default": "''",
|
|
43529
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
43530
|
+
"attribute": "locale",
|
|
43531
|
+
"reflects": true,
|
|
43532
|
+
"inheritedFrom": {
|
|
43533
|
+
"name": "LyraElement",
|
|
43534
|
+
"module": "src/internal/lyra-element.ts"
|
|
43535
|
+
}
|
|
43536
|
+
},
|
|
43537
|
+
{
|
|
43538
|
+
"kind": "field",
|
|
43539
|
+
"name": "onBlur",
|
|
43540
|
+
"privacy": "private"
|
|
43541
|
+
},
|
|
43542
|
+
{
|
|
43543
|
+
"kind": "field",
|
|
43544
|
+
"name": "onChange",
|
|
43545
|
+
"privacy": "private"
|
|
43546
|
+
},
|
|
43547
|
+
{
|
|
43548
|
+
"kind": "field",
|
|
43549
|
+
"name": "onCountryChange",
|
|
43550
|
+
"privacy": "private"
|
|
43551
|
+
},
|
|
43552
|
+
{
|
|
43553
|
+
"kind": "field",
|
|
43554
|
+
"name": "onCountryPrefixSlotChange",
|
|
43555
|
+
"privacy": "private"
|
|
43556
|
+
},
|
|
43557
|
+
{
|
|
43558
|
+
"kind": "field",
|
|
43559
|
+
"name": "onErrorSlotChange",
|
|
43560
|
+
"privacy": "private"
|
|
43561
|
+
},
|
|
43562
|
+
{
|
|
43563
|
+
"kind": "field",
|
|
43564
|
+
"name": "onFocus",
|
|
43565
|
+
"privacy": "private"
|
|
43566
|
+
},
|
|
43567
|
+
{
|
|
43568
|
+
"kind": "field",
|
|
43569
|
+
"name": "onHintSlotChange",
|
|
43570
|
+
"privacy": "private"
|
|
43571
|
+
},
|
|
43572
|
+
{
|
|
43573
|
+
"kind": "field",
|
|
43574
|
+
"name": "onInput",
|
|
43575
|
+
"privacy": "private"
|
|
43576
|
+
},
|
|
43577
|
+
{
|
|
43578
|
+
"kind": "field",
|
|
43579
|
+
"name": "onLabelSlotChange",
|
|
43580
|
+
"privacy": "private"
|
|
43581
|
+
},
|
|
43582
|
+
{
|
|
43583
|
+
"kind": "field",
|
|
43584
|
+
"name": "phoneLabel",
|
|
43585
|
+
"type": {
|
|
43586
|
+
"text": "string"
|
|
43587
|
+
},
|
|
43588
|
+
"default": "''",
|
|
43589
|
+
"description": "Accessible-name override for the telephone input.",
|
|
43590
|
+
"attribute": "phone-label"
|
|
43591
|
+
},
|
|
43592
|
+
{
|
|
43593
|
+
"kind": "field",
|
|
43594
|
+
"name": "phoneStatus",
|
|
43595
|
+
"type": {
|
|
43596
|
+
"text": "PhoneNumberStatus"
|
|
43597
|
+
},
|
|
43598
|
+
"description": "Current parse/validation state.",
|
|
43599
|
+
"readonly": true
|
|
43600
|
+
},
|
|
43601
|
+
{
|
|
43602
|
+
"kind": "field",
|
|
43603
|
+
"name": "placeholder",
|
|
43604
|
+
"type": {
|
|
43605
|
+
"text": "string"
|
|
43606
|
+
},
|
|
43607
|
+
"default": "''",
|
|
43608
|
+
"attribute": "placeholder"
|
|
43609
|
+
},
|
|
43610
|
+
{
|
|
43611
|
+
"kind": "field",
|
|
43612
|
+
"name": "selectedCountry",
|
|
43613
|
+
"type": {
|
|
43614
|
+
"text": "string"
|
|
43615
|
+
},
|
|
43616
|
+
"privacy": "private",
|
|
43617
|
+
"readonly": true
|
|
43618
|
+
},
|
|
43619
|
+
{
|
|
43620
|
+
"kind": "field",
|
|
43621
|
+
"name": "status",
|
|
43622
|
+
"type": {
|
|
43623
|
+
"text": "PhoneNumberStatus"
|
|
43624
|
+
},
|
|
43625
|
+
"privacy": "private",
|
|
43626
|
+
"default": "'empty'"
|
|
43627
|
+
},
|
|
43628
|
+
{
|
|
43629
|
+
"kind": "field",
|
|
43630
|
+
"name": "stopLocaleSubscription",
|
|
43631
|
+
"type": {
|
|
43632
|
+
"text": "() => void | undefined"
|
|
43633
|
+
},
|
|
43634
|
+
"privacy": "private",
|
|
43635
|
+
"inheritedFrom": {
|
|
43636
|
+
"name": "LyraElement",
|
|
43637
|
+
"module": "src/internal/lyra-element.ts"
|
|
43638
|
+
}
|
|
43639
|
+
},
|
|
43640
|
+
{
|
|
43641
|
+
"kind": "field",
|
|
43642
|
+
"name": "strings",
|
|
43643
|
+
"type": {
|
|
43644
|
+
"text": "LyraLocaleStrings"
|
|
43645
|
+
},
|
|
43646
|
+
"default": "{}",
|
|
43647
|
+
"description": "Per-instance message overrides, useful for application-specific wording.",
|
|
43648
|
+
"inheritedFrom": {
|
|
43649
|
+
"name": "LyraElement",
|
|
43650
|
+
"module": "src/internal/lyra-element.ts"
|
|
43651
|
+
}
|
|
43652
|
+
},
|
|
43653
|
+
{
|
|
43654
|
+
"kind": "field",
|
|
43655
|
+
"name": "touched",
|
|
43656
|
+
"type": {
|
|
43657
|
+
"text": "boolean"
|
|
43658
|
+
},
|
|
43659
|
+
"privacy": "private",
|
|
43660
|
+
"default": "false"
|
|
43661
|
+
},
|
|
43662
|
+
{
|
|
43663
|
+
"kind": "field",
|
|
43664
|
+
"name": "value",
|
|
43665
|
+
"type": {
|
|
43666
|
+
"text": "string"
|
|
43667
|
+
}
|
|
43668
|
+
},
|
|
43669
|
+
{
|
|
43670
|
+
"kind": "method",
|
|
43671
|
+
"name": "addEventListener",
|
|
43672
|
+
"return": {
|
|
43673
|
+
"type": {
|
|
43674
|
+
"text": "void"
|
|
43675
|
+
}
|
|
43676
|
+
},
|
|
43677
|
+
"parameters": [
|
|
43678
|
+
{
|
|
43679
|
+
"name": "type",
|
|
43680
|
+
"type": {
|
|
43681
|
+
"text": "K"
|
|
43682
|
+
}
|
|
43683
|
+
},
|
|
43684
|
+
{
|
|
43685
|
+
"name": "listener",
|
|
43686
|
+
"type": {
|
|
43687
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
43688
|
+
}
|
|
43689
|
+
},
|
|
43690
|
+
{
|
|
43691
|
+
"name": "options",
|
|
43692
|
+
"optional": true,
|
|
43693
|
+
"type": {
|
|
43694
|
+
"text": "boolean | AddEventListenerOptions"
|
|
43695
|
+
}
|
|
43696
|
+
}
|
|
43697
|
+
],
|
|
43698
|
+
"inheritedFrom": {
|
|
43699
|
+
"name": "LyraElement",
|
|
43700
|
+
"module": "src/internal/lyra-element.ts"
|
|
43701
|
+
}
|
|
43702
|
+
},
|
|
43703
|
+
{
|
|
43704
|
+
"kind": "method",
|
|
43705
|
+
"name": "applyParsed",
|
|
43706
|
+
"privacy": "private",
|
|
43707
|
+
"return": {
|
|
43708
|
+
"type": {
|
|
43709
|
+
"text": "void"
|
|
43710
|
+
}
|
|
43711
|
+
},
|
|
43712
|
+
"parameters": [
|
|
43713
|
+
{
|
|
43714
|
+
"name": "raw",
|
|
43715
|
+
"type": {
|
|
43716
|
+
"text": "string"
|
|
43717
|
+
}
|
|
43718
|
+
},
|
|
43719
|
+
{
|
|
43720
|
+
"name": "parsed",
|
|
43721
|
+
"type": {
|
|
43722
|
+
"text": "PhoneNumberParseResult"
|
|
43723
|
+
}
|
|
43724
|
+
}
|
|
43725
|
+
]
|
|
43726
|
+
},
|
|
43727
|
+
{
|
|
43728
|
+
"kind": "method",
|
|
43729
|
+
"name": "blur",
|
|
43730
|
+
"return": {
|
|
43731
|
+
"type": {
|
|
43732
|
+
"text": "void"
|
|
43733
|
+
}
|
|
43734
|
+
},
|
|
43735
|
+
"description": "Blur the internal telephone input."
|
|
43736
|
+
},
|
|
43737
|
+
{
|
|
43738
|
+
"kind": "method",
|
|
43739
|
+
"name": "countryName",
|
|
43740
|
+
"privacy": "private",
|
|
43741
|
+
"return": {
|
|
43742
|
+
"type": {
|
|
43743
|
+
"text": "string"
|
|
43744
|
+
}
|
|
43745
|
+
},
|
|
43746
|
+
"parameters": [
|
|
43747
|
+
{
|
|
43748
|
+
"name": "row",
|
|
43749
|
+
"type": {
|
|
43750
|
+
"text": "PhoneCountry"
|
|
43751
|
+
}
|
|
43752
|
+
}
|
|
43753
|
+
]
|
|
43754
|
+
},
|
|
43755
|
+
{
|
|
43756
|
+
"kind": "method",
|
|
43757
|
+
"name": "emit",
|
|
43758
|
+
"privacy": "protected",
|
|
43759
|
+
"return": {
|
|
43760
|
+
"type": {
|
|
43761
|
+
"text": "CustomEvent<T>"
|
|
43762
|
+
}
|
|
43763
|
+
},
|
|
43764
|
+
"parameters": [
|
|
43765
|
+
{
|
|
43766
|
+
"name": "name",
|
|
43767
|
+
"type": {
|
|
43768
|
+
"text": "string"
|
|
43769
|
+
}
|
|
43770
|
+
},
|
|
43771
|
+
{
|
|
43772
|
+
"name": "detail",
|
|
43773
|
+
"optional": true,
|
|
43774
|
+
"type": {
|
|
43775
|
+
"text": "T"
|
|
43776
|
+
}
|
|
43777
|
+
},
|
|
43778
|
+
{
|
|
43779
|
+
"name": "options",
|
|
43780
|
+
"optional": true,
|
|
43781
|
+
"type": {
|
|
43782
|
+
"text": "LyraEmitOptions"
|
|
43783
|
+
}
|
|
43784
|
+
}
|
|
43785
|
+
],
|
|
43786
|
+
"description": "Dispatch a composed, bubbling custom event; notifications are not veto points by default.",
|
|
43787
|
+
"inheritedFrom": {
|
|
43788
|
+
"name": "LyraElement",
|
|
43789
|
+
"module": "src/internal/lyra-element.ts"
|
|
43790
|
+
}
|
|
43791
|
+
},
|
|
43792
|
+
{
|
|
43793
|
+
"kind": "method",
|
|
43794
|
+
"name": "focus",
|
|
43795
|
+
"return": {
|
|
43796
|
+
"type": {
|
|
43797
|
+
"text": "void"
|
|
43798
|
+
}
|
|
43799
|
+
},
|
|
43800
|
+
"parameters": [
|
|
43801
|
+
{
|
|
43802
|
+
"name": "options",
|
|
43803
|
+
"optional": true,
|
|
43804
|
+
"type": {
|
|
43805
|
+
"text": "FocusOptions"
|
|
43806
|
+
}
|
|
43807
|
+
}
|
|
43808
|
+
],
|
|
43809
|
+
"description": "Focus the internal telephone input."
|
|
43810
|
+
},
|
|
43811
|
+
{
|
|
43812
|
+
"kind": "method",
|
|
43813
|
+
"name": "formResetCallback",
|
|
43814
|
+
"return": {
|
|
43815
|
+
"type": {
|
|
43816
|
+
"text": "void"
|
|
43817
|
+
}
|
|
43818
|
+
}
|
|
43819
|
+
},
|
|
43820
|
+
{
|
|
43821
|
+
"kind": "method",
|
|
43822
|
+
"name": "localize",
|
|
43823
|
+
"privacy": "protected",
|
|
43824
|
+
"return": {
|
|
43825
|
+
"type": {
|
|
43826
|
+
"text": "string"
|
|
43827
|
+
}
|
|
43828
|
+
},
|
|
43829
|
+
"parameters": [
|
|
43830
|
+
{
|
|
43831
|
+
"name": "key",
|
|
43832
|
+
"type": {
|
|
43833
|
+
"text": "string"
|
|
43834
|
+
}
|
|
43835
|
+
},
|
|
43836
|
+
{
|
|
43837
|
+
"name": "fallback",
|
|
43838
|
+
"optional": true,
|
|
43839
|
+
"type": {
|
|
43840
|
+
"text": "string"
|
|
43841
|
+
}
|
|
43842
|
+
},
|
|
43843
|
+
{
|
|
43844
|
+
"name": "values",
|
|
43845
|
+
"optional": true,
|
|
43846
|
+
"type": {
|
|
43847
|
+
"text": "Record<string, string | number>"
|
|
43848
|
+
}
|
|
43849
|
+
}
|
|
43850
|
+
],
|
|
43851
|
+
"description": "Resolve a localized message using this component's overrides and locale.",
|
|
43852
|
+
"inheritedFrom": {
|
|
43853
|
+
"name": "LyraElement",
|
|
43854
|
+
"module": "src/internal/lyra-element.ts"
|
|
43855
|
+
}
|
|
43856
|
+
},
|
|
43857
|
+
{
|
|
43858
|
+
"kind": "method",
|
|
43859
|
+
"name": "parse",
|
|
43860
|
+
"privacy": "private",
|
|
43861
|
+
"return": {
|
|
43862
|
+
"type": {
|
|
43863
|
+
"text": "PhoneNumberParseResult"
|
|
43864
|
+
}
|
|
43865
|
+
},
|
|
43866
|
+
"parameters": [
|
|
43867
|
+
{
|
|
43868
|
+
"name": "input",
|
|
43869
|
+
"type": {
|
|
43870
|
+
"text": "string"
|
|
43871
|
+
}
|
|
43872
|
+
}
|
|
43873
|
+
]
|
|
43874
|
+
},
|
|
43875
|
+
{
|
|
43876
|
+
"kind": "method",
|
|
43877
|
+
"name": "removeEventListener",
|
|
43878
|
+
"return": {
|
|
43879
|
+
"type": {
|
|
43880
|
+
"text": "void"
|
|
43881
|
+
}
|
|
43882
|
+
},
|
|
43883
|
+
"parameters": [
|
|
43884
|
+
{
|
|
43885
|
+
"name": "type",
|
|
43886
|
+
"type": {
|
|
43887
|
+
"text": "K"
|
|
43888
|
+
}
|
|
43889
|
+
},
|
|
43890
|
+
{
|
|
43891
|
+
"name": "listener",
|
|
43892
|
+
"type": {
|
|
43893
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
43894
|
+
}
|
|
43895
|
+
},
|
|
43896
|
+
{
|
|
43897
|
+
"name": "options",
|
|
43898
|
+
"optional": true,
|
|
43899
|
+
"type": {
|
|
43900
|
+
"text": "boolean | EventListenerOptions"
|
|
43901
|
+
}
|
|
43902
|
+
}
|
|
43903
|
+
],
|
|
43904
|
+
"inheritedFrom": {
|
|
43905
|
+
"name": "LyraElement",
|
|
43906
|
+
"module": "src/internal/lyra-element.ts"
|
|
43907
|
+
}
|
|
43908
|
+
},
|
|
43909
|
+
{
|
|
43910
|
+
"kind": "method",
|
|
43911
|
+
"name": "select",
|
|
43912
|
+
"return": {
|
|
43913
|
+
"type": {
|
|
43914
|
+
"text": "void"
|
|
43915
|
+
}
|
|
43916
|
+
},
|
|
43917
|
+
"description": "Select all editable telephone text."
|
|
43918
|
+
},
|
|
43919
|
+
{
|
|
43920
|
+
"kind": "method",
|
|
43921
|
+
"name": "updateValidity",
|
|
43922
|
+
"privacy": "protected",
|
|
43923
|
+
"return": {
|
|
43924
|
+
"type": {
|
|
43925
|
+
"text": "void"
|
|
43926
|
+
}
|
|
43927
|
+
}
|
|
43928
|
+
}
|
|
43929
|
+
],
|
|
43930
|
+
"events": [
|
|
43931
|
+
{
|
|
43932
|
+
"description": "Fired when the internal telephone input loses focus.",
|
|
43933
|
+
"name": "blur"
|
|
43934
|
+
},
|
|
43935
|
+
{
|
|
43936
|
+
"description": "Fired when the native input commits or the country changes.",
|
|
43937
|
+
"name": "change"
|
|
43938
|
+
},
|
|
43939
|
+
{
|
|
43940
|
+
"description": "Fired when the internal telephone input receives focus.",
|
|
43941
|
+
"name": "focus"
|
|
43942
|
+
},
|
|
43943
|
+
{
|
|
43944
|
+
"description": "Fired for user edits and country changes; detail contains canonical and display values.",
|
|
43945
|
+
"name": "input"
|
|
43946
|
+
}
|
|
43947
|
+
],
|
|
43948
|
+
"attributes": [
|
|
43949
|
+
{
|
|
43950
|
+
"name": "aria-label",
|
|
43951
|
+
"type": {
|
|
43952
|
+
"text": "string | null"
|
|
43953
|
+
},
|
|
43954
|
+
"default": "null",
|
|
43955
|
+
"fieldName": "accessibleLabel"
|
|
43956
|
+
},
|
|
43957
|
+
{
|
|
43958
|
+
"name": "autocomplete",
|
|
43959
|
+
"type": {
|
|
43960
|
+
"text": "string"
|
|
43961
|
+
},
|
|
43962
|
+
"default": "'tel'",
|
|
43963
|
+
"fieldName": "autocomplete"
|
|
43964
|
+
},
|
|
43965
|
+
{
|
|
43966
|
+
"name": "country",
|
|
43967
|
+
"type": {
|
|
43968
|
+
"text": "string"
|
|
43969
|
+
},
|
|
43970
|
+
"description": "Currently selected ISO 3166-1 alpha-2 country code.",
|
|
43971
|
+
"fieldName": "country"
|
|
43972
|
+
},
|
|
43973
|
+
{
|
|
43974
|
+
"name": "country-label",
|
|
43975
|
+
"type": {
|
|
43976
|
+
"text": "string"
|
|
43977
|
+
},
|
|
43978
|
+
"default": "'Select'",
|
|
43979
|
+
"description": "Accessible name for the country selector.",
|
|
43980
|
+
"fieldName": "countryLabel"
|
|
43981
|
+
},
|
|
43982
|
+
{
|
|
43983
|
+
"name": "default-country",
|
|
43984
|
+
"type": {
|
|
43985
|
+
"text": "string"
|
|
43986
|
+
},
|
|
43987
|
+
"default": "''",
|
|
43988
|
+
"description": "Country selected when no explicit `country` has been set.",
|
|
43989
|
+
"fieldName": "defaultCountry"
|
|
43990
|
+
},
|
|
43991
|
+
{
|
|
43992
|
+
"name": "enterkeyhint",
|
|
43993
|
+
"type": {
|
|
43994
|
+
"text": "string"
|
|
43995
|
+
},
|
|
43996
|
+
"default": "''",
|
|
43997
|
+
"fieldName": "enterkeyhint"
|
|
43998
|
+
},
|
|
43999
|
+
{
|
|
44000
|
+
"name": "error-text",
|
|
44001
|
+
"type": {
|
|
44002
|
+
"text": "string"
|
|
44003
|
+
},
|
|
44004
|
+
"default": "''",
|
|
44005
|
+
"fieldName": "errorText"
|
|
44006
|
+
},
|
|
44007
|
+
{
|
|
44008
|
+
"name": "hint",
|
|
44009
|
+
"type": {
|
|
44010
|
+
"text": "string"
|
|
44011
|
+
},
|
|
44012
|
+
"default": "''",
|
|
44013
|
+
"fieldName": "hint"
|
|
44014
|
+
},
|
|
44015
|
+
{
|
|
44016
|
+
"name": "incomplete-text",
|
|
44017
|
+
"type": {
|
|
44018
|
+
"text": "string"
|
|
44019
|
+
},
|
|
44020
|
+
"default": "'The value is invalid.'",
|
|
44021
|
+
"description": "Validation message for a number that may still become valid with more digits.",
|
|
44022
|
+
"fieldName": "incompleteText"
|
|
44023
|
+
},
|
|
44024
|
+
{
|
|
44025
|
+
"name": "inputmode",
|
|
44026
|
+
"type": {
|
|
44027
|
+
"text": "'tel' | 'numeric' | 'text'"
|
|
44028
|
+
},
|
|
44029
|
+
"default": "'tel'",
|
|
44030
|
+
"fieldName": "inputmode"
|
|
44031
|
+
},
|
|
44032
|
+
{
|
|
44033
|
+
"name": "invalid-text",
|
|
44034
|
+
"type": {
|
|
44035
|
+
"text": "string"
|
|
44036
|
+
},
|
|
44037
|
+
"default": "'The value is invalid.'",
|
|
44038
|
+
"description": "Validation message for a completed but invalid number.",
|
|
44039
|
+
"fieldName": "invalidText"
|
|
44040
|
+
},
|
|
44041
|
+
{
|
|
44042
|
+
"name": "label",
|
|
44043
|
+
"type": {
|
|
44044
|
+
"text": "string"
|
|
44045
|
+
},
|
|
44046
|
+
"default": "''",
|
|
44047
|
+
"fieldName": "label"
|
|
44048
|
+
},
|
|
44049
|
+
{
|
|
44050
|
+
"name": "locale",
|
|
44051
|
+
"type": {
|
|
44052
|
+
"text": "string"
|
|
44053
|
+
},
|
|
44054
|
+
"default": "''",
|
|
44055
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
44056
|
+
"fieldName": "locale",
|
|
44057
|
+
"inheritedFrom": {
|
|
44058
|
+
"name": "LyraElement",
|
|
44059
|
+
"module": "src/internal/lyra-element.ts"
|
|
44060
|
+
}
|
|
44061
|
+
},
|
|
44062
|
+
{
|
|
44063
|
+
"name": "phone-label",
|
|
44064
|
+
"type": {
|
|
44065
|
+
"text": "string"
|
|
44066
|
+
},
|
|
44067
|
+
"default": "''",
|
|
44068
|
+
"description": "Accessible-name override for the telephone input.",
|
|
44069
|
+
"fieldName": "phoneLabel"
|
|
44070
|
+
},
|
|
44071
|
+
{
|
|
44072
|
+
"name": "placeholder",
|
|
44073
|
+
"type": {
|
|
44074
|
+
"text": "string"
|
|
44075
|
+
},
|
|
44076
|
+
"default": "''",
|
|
44077
|
+
"fieldName": "placeholder"
|
|
44078
|
+
}
|
|
44079
|
+
],
|
|
44080
|
+
"mixins": [
|
|
44081
|
+
{
|
|
44082
|
+
"name": "FormAssociated",
|
|
44083
|
+
"module": "/src/internal/form-associated.js"
|
|
44084
|
+
}
|
|
44085
|
+
],
|
|
44086
|
+
"superclass": {
|
|
44087
|
+
"name": "LyraPhoneInputBase",
|
|
44088
|
+
"module": "src/components/phone-input/phone-input.class.ts"
|
|
44089
|
+
},
|
|
44090
|
+
"tagName": "lyra-phone-input",
|
|
44091
|
+
"customElement": true
|
|
44092
|
+
},
|
|
44093
|
+
{
|
|
44094
|
+
"kind": "function",
|
|
44095
|
+
"name": "loadLibphonenumberAdapter",
|
|
44096
|
+
"return": {
|
|
44097
|
+
"type": {
|
|
44098
|
+
"text": "Promise<PhoneNumberAdapter>"
|
|
44099
|
+
}
|
|
44100
|
+
},
|
|
44101
|
+
"parameters": [
|
|
44102
|
+
{
|
|
44103
|
+
"name": "loader",
|
|
44104
|
+
"type": {
|
|
44105
|
+
"text": "() => Promise<LibphonenumberModuleLike<CountryCode>>"
|
|
44106
|
+
}
|
|
44107
|
+
}
|
|
44108
|
+
],
|
|
44109
|
+
"description": "Lazily creates an adapter from a `libphonenumber-js`-compatible module.\nKeeping the loader consumer-supplied avoids a static import, so neither the\ndependency nor its numbering metadata enters Lyra's base bundle."
|
|
44110
|
+
}
|
|
44111
|
+
],
|
|
44112
|
+
"exports": [
|
|
44113
|
+
{
|
|
44114
|
+
"kind": "js",
|
|
44115
|
+
"name": "LyraPhoneInput",
|
|
44116
|
+
"declaration": {
|
|
44117
|
+
"name": "LyraPhoneInput",
|
|
44118
|
+
"module": "src/components/phone-input/phone-input.class.ts"
|
|
44119
|
+
}
|
|
44120
|
+
},
|
|
44121
|
+
{
|
|
44122
|
+
"kind": "js",
|
|
44123
|
+
"name": "loadLibphonenumberAdapter",
|
|
44124
|
+
"declaration": {
|
|
44125
|
+
"name": "loadLibphonenumberAdapter",
|
|
44126
|
+
"module": "src/components/phone-input/phone-input.class.ts"
|
|
44127
|
+
}
|
|
44128
|
+
}
|
|
44129
|
+
]
|
|
44130
|
+
},
|
|
44131
|
+
{
|
|
44132
|
+
"kind": "javascript-module",
|
|
44133
|
+
"path": "src/components/phone-input/phone-input.ts",
|
|
44134
|
+
"declarations": [],
|
|
44135
|
+
"exports": [
|
|
44136
|
+
{
|
|
44137
|
+
"kind": "custom-element-definition",
|
|
44138
|
+
"name": "lyra-phone-input",
|
|
44139
|
+
"declaration": {
|
|
44140
|
+
"name": "LyraPhoneInput",
|
|
44141
|
+
"module": "src/components/phone-input/phone-input.class.ts"
|
|
44142
|
+
}
|
|
44143
|
+
},
|
|
44144
|
+
{
|
|
44145
|
+
"kind": "js",
|
|
44146
|
+
"name": "*",
|
|
44147
|
+
"declaration": {
|
|
44148
|
+
"name": "*",
|
|
44149
|
+
"module": "src/components/phone-input/phone-input.class.js"
|
|
44150
|
+
}
|
|
44151
|
+
}
|
|
44152
|
+
]
|
|
44153
|
+
},
|
|
41736
44154
|
{
|
|
41737
44155
|
"kind": "javascript-module",
|
|
41738
44156
|
"path": "src/components/playback/playback.class.ts",
|
|
@@ -44115,6 +46533,10 @@
|
|
|
44115
46533
|
"description": "A single `role=\"radio\"` button.",
|
|
44116
46534
|
"name": "segment"
|
|
44117
46535
|
},
|
|
46536
|
+
{
|
|
46537
|
+
"description": "An optional leading icon supplied by the item's `icon` field.",
|
|
46538
|
+
"name": "segment-icon"
|
|
46539
|
+
},
|
|
44118
46540
|
{
|
|
44119
46541
|
"description": "The segment's label text.",
|
|
44120
46542
|
"name": "segment-label"
|
|
@@ -45904,7 +48326,7 @@
|
|
|
45904
48326
|
"declarations": [
|
|
45905
48327
|
{
|
|
45906
48328
|
"kind": "class",
|
|
45907
|
-
"description": "`<lyra-slider>` — a numeric range control (e.g. an LLM \"temperature\"\nsetting), form-associated. Mirrors native `<input type=\"range\">`\nsemantics: `value` is the string form-submitted via `FormAssociated`,\n`valueAsNumber` is the ergonomic numeric accessor (mirroring the native\n`<input type=range>` IDL attribute of the same name) kept in sync with it\nin both directions — reads parse `value`, writes stringify back to it.\n\nUnlike the mixin's other consumers, an unset `value` is eagerly defaulted\n— on connect, and again after `form.reset()` — to the midpoint of\n`[min, max]` snapped to `step`, the same \"range sanitization algorithm\"\ndefault a native range input applies. A slider always represents *some*\nnumber, so `required` (inherited from `FormAssociated`) only has a window\nto block submission before that default lands, matching how `required`\nisn't a meaningful constraint on a native range input either.\n\nClicking anywhere on the track (not just the 16px thumb) jumps the thumb\nto that point and continues the same gesture as a drag, matching native\n`<input type=range>` click-to-seek.",
|
|
48329
|
+
"description": "`<lyra-slider>` — a numeric range control (e.g. an LLM \"temperature\"\nsetting), form-associated. Mirrors native `<input type=\"range\">`\nsemantics: `value` is the string form-submitted via `FormAssociated`,\n`valueAsNumber` is the ergonomic numeric accessor (mirroring the native\n`<input type=range>` IDL attribute of the same name) kept in sync with it\nin both directions — reads parse `value`, writes stringify back to it.\n\nUnlike the mixin's other consumers, an unset `value` is eagerly defaulted\n— on connect, and again after `form.reset()` — to the midpoint of\n`[min, max]` snapped to `step`, the same \"range sanitization algorithm\"\ndefault a native range input applies. A slider always represents *some*\nnumber, so `required` (inherited from `FormAssociated`) only has a window\nto block submission before that default lands, matching how `required`\nisn't a meaningful constraint on a native range input either.\n\nClicking anywhere on the track (not just the 16px thumb) jumps the thumb\nto that point and continues the same gesture as a drag, matching native\n`<input type=range>` click-to-seek.\n\nDeliberately no label/hint/error chrome -- `label` here is an accessible-name override, not\nvisible label text; a labeled-field consumer wraps this element in their own layout.",
|
|
45908
48330
|
"name": "LyraSlider",
|
|
45909
48331
|
"cssParts": [
|
|
45910
48332
|
{
|
|
@@ -50724,13 +53146,25 @@
|
|
|
50724
53146
|
"declarations": [
|
|
50725
53147
|
{
|
|
50726
53148
|
"kind": "class",
|
|
50727
|
-
"description": "`<lyra-switch>` — a boolean toggle-switch form control. Structurally the\nsame idea as a checkbox (form-associated via `ElementInternals`, click and\nSpace/Enter both toggle) but with switch semantics: `role=\"switch\"` +\n`aria-checked` read to assistive tech as an on/off state rather than a\nchecked/unchecked one, and there is no indeterminate state.\n\n`checked` is not a plain string, so this attaches `ElementInternals`\ndirectly and implements its own `updateValidity()` rather than using the\n`FormAssociated` mixin (that mixin's `value` accessor assumes a string —\nsee `<lyra-combobox>` for the same direct-`ElementInternals` shape with a\nnon-string value).",
|
|
53149
|
+
"description": "`<lyra-switch>` — a boolean toggle-switch form control. Structurally the\nsame idea as a checkbox (form-associated via `ElementInternals`, click and\nSpace/Enter both toggle) but with switch semantics: `role=\"switch\"` +\n`aria-checked` read to assistive tech as an on/off state rather than a\nchecked/unchecked one, and there is no indeterminate state.\n\n`checked` is not a plain string, so this attaches `ElementInternals`\ndirectly and implements its own `updateValidity()` rather than using the\n`FormAssociated` mixin (that mixin's `value` accessor assumes a string —\nsee `<lyra-combobox>` for the same direct-`ElementInternals` shape with a\nnon-string value).\n\nShips an opt-in `hint`/`errorText` form-control chrome (props + matching named slots +\n`hint`/`error` CSS parts), mirroring `<lyra-select>`'s pattern for those two pieces -- left\nunset, neither renders. Deliberately no separate top-of-field `label` prop/slot/part mirroring\n`<lyra-select>`'s `form-control-label`: the default slot already *is* this control's visible,\nclickable label (same as `<lyra-checkbox>`), so a second label surface would be redundant.",
|
|
50728
53150
|
"name": "LyraSwitch",
|
|
50729
53151
|
"cssParts": [
|
|
50730
53152
|
{
|
|
50731
53153
|
"description": "The whole interactive control (`role=\"switch\"`); wraps the track and label.",
|
|
50732
53154
|
"name": "base"
|
|
50733
53155
|
},
|
|
53156
|
+
{
|
|
53157
|
+
"description": "The error message.",
|
|
53158
|
+
"name": "error"
|
|
53159
|
+
},
|
|
53160
|
+
{
|
|
53161
|
+
"description": "The outer wrapper around the switch, error and hint.",
|
|
53162
|
+
"name": "form-control"
|
|
53163
|
+
},
|
|
53164
|
+
{
|
|
53165
|
+
"description": "The hint message.",
|
|
53166
|
+
"name": "hint"
|
|
53167
|
+
},
|
|
50734
53168
|
{
|
|
50735
53169
|
"description": "The wrapper around the default slot.",
|
|
50736
53170
|
"name": "label"
|
|
@@ -50748,6 +53182,14 @@
|
|
|
50748
53182
|
{
|
|
50749
53183
|
"description": "Label text, rendered next to the track. Clicking it toggles the switch, the same as clicking a checkbox's associated `<label>`. If left empty, set `aria-label` on the host so the control still has an accessible name.",
|
|
50750
53184
|
"name": ""
|
|
53185
|
+
},
|
|
53186
|
+
{
|
|
53187
|
+
"description": "Custom error content.",
|
|
53188
|
+
"name": "error"
|
|
53189
|
+
},
|
|
53190
|
+
{
|
|
53191
|
+
"description": "Custom hint content.",
|
|
53192
|
+
"name": "hint"
|
|
50751
53193
|
}
|
|
50752
53194
|
],
|
|
50753
53195
|
"members": [
|
|
@@ -50880,6 +53322,16 @@
|
|
|
50880
53322
|
"module": "src/internal/lyra-element.ts"
|
|
50881
53323
|
}
|
|
50882
53324
|
},
|
|
53325
|
+
{
|
|
53326
|
+
"kind": "field",
|
|
53327
|
+
"name": "errorText",
|
|
53328
|
+
"type": {
|
|
53329
|
+
"text": "string"
|
|
53330
|
+
},
|
|
53331
|
+
"default": "''",
|
|
53332
|
+
"description": "Error text below the switch (overridden by slotted `error` content). Unset: no error chrome\nrenders.",
|
|
53333
|
+
"attribute": "error-text"
|
|
53334
|
+
},
|
|
50883
53335
|
{
|
|
50884
53336
|
"kind": "field",
|
|
50885
53337
|
"name": "form",
|
|
@@ -50897,6 +53349,24 @@
|
|
|
50897
53349
|
"static": true,
|
|
50898
53350
|
"default": "true"
|
|
50899
53351
|
},
|
|
53352
|
+
{
|
|
53353
|
+
"kind": "field",
|
|
53354
|
+
"name": "hasErrorSlot",
|
|
53355
|
+
"type": {
|
|
53356
|
+
"text": "boolean"
|
|
53357
|
+
},
|
|
53358
|
+
"privacy": "private",
|
|
53359
|
+
"default": "false"
|
|
53360
|
+
},
|
|
53361
|
+
{
|
|
53362
|
+
"kind": "field",
|
|
53363
|
+
"name": "hasHintSlot",
|
|
53364
|
+
"type": {
|
|
53365
|
+
"text": "boolean"
|
|
53366
|
+
},
|
|
53367
|
+
"privacy": "private",
|
|
53368
|
+
"default": "false"
|
|
53369
|
+
},
|
|
50900
53370
|
{
|
|
50901
53371
|
"kind": "field",
|
|
50902
53372
|
"name": "hasLabelSlot",
|
|
@@ -50906,6 +53376,16 @@
|
|
|
50906
53376
|
"privacy": "private",
|
|
50907
53377
|
"default": "false"
|
|
50908
53378
|
},
|
|
53379
|
+
{
|
|
53380
|
+
"kind": "field",
|
|
53381
|
+
"name": "hint",
|
|
53382
|
+
"type": {
|
|
53383
|
+
"text": "string"
|
|
53384
|
+
},
|
|
53385
|
+
"default": "''",
|
|
53386
|
+
"description": "Hint text below the switch. Unset: no hint chrome renders.",
|
|
53387
|
+
"attribute": "hint"
|
|
53388
|
+
},
|
|
50909
53389
|
{
|
|
50910
53390
|
"kind": "field",
|
|
50911
53391
|
"name": "internals",
|
|
@@ -50953,6 +53433,16 @@
|
|
|
50953
53433
|
"name": "onClick",
|
|
50954
53434
|
"privacy": "private"
|
|
50955
53435
|
},
|
|
53436
|
+
{
|
|
53437
|
+
"kind": "field",
|
|
53438
|
+
"name": "onErrorSlotChange",
|
|
53439
|
+
"privacy": "private"
|
|
53440
|
+
},
|
|
53441
|
+
{
|
|
53442
|
+
"kind": "field",
|
|
53443
|
+
"name": "onHintSlotChange",
|
|
53444
|
+
"privacy": "private"
|
|
53445
|
+
},
|
|
50956
53446
|
{
|
|
50957
53447
|
"kind": "field",
|
|
50958
53448
|
"name": "onKeyDown",
|
|
@@ -51302,6 +53792,24 @@
|
|
|
51302
53792
|
},
|
|
51303
53793
|
"fieldName": "disabled"
|
|
51304
53794
|
},
|
|
53795
|
+
{
|
|
53796
|
+
"name": "error-text",
|
|
53797
|
+
"type": {
|
|
53798
|
+
"text": "string"
|
|
53799
|
+
},
|
|
53800
|
+
"default": "''",
|
|
53801
|
+
"description": "Error text below the switch (overridden by slotted `error` content). Unset: no error chrome\nrenders.",
|
|
53802
|
+
"fieldName": "errorText"
|
|
53803
|
+
},
|
|
53804
|
+
{
|
|
53805
|
+
"name": "hint",
|
|
53806
|
+
"type": {
|
|
53807
|
+
"text": "string"
|
|
53808
|
+
},
|
|
53809
|
+
"default": "''",
|
|
53810
|
+
"description": "Hint text below the switch. Unset: no hint chrome renders.",
|
|
53811
|
+
"fieldName": "hint"
|
|
53812
|
+
},
|
|
51305
53813
|
{
|
|
51306
53814
|
"name": "locale",
|
|
51307
53815
|
"type": {
|
|
@@ -52814,15 +55322,92 @@
|
|
|
52814
55322
|
"declarations": [
|
|
52815
55323
|
{
|
|
52816
55324
|
"kind": "class",
|
|
52817
|
-
"description": "`<lyra-textarea>` — a
|
|
55325
|
+
"description": "`<lyra-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lyra-chat-composer>`/`<lyra-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lyra-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.",
|
|
52818
55326
|
"name": "LyraTextarea",
|
|
55327
|
+
"cssProperties": [
|
|
55328
|
+
{
|
|
55329
|
+
"description": "Maximum auto-grown block size before the textarea scrolls.",
|
|
55330
|
+
"name": "--lyra-textarea-max-block-size",
|
|
55331
|
+
"default": "none"
|
|
55332
|
+
}
|
|
55333
|
+
],
|
|
52819
55334
|
"cssParts": [
|
|
55335
|
+
{
|
|
55336
|
+
"description": "The error message.",
|
|
55337
|
+
"name": "error"
|
|
55338
|
+
},
|
|
55339
|
+
{
|
|
55340
|
+
"description": "The outer wrapper around label, textarea, error and hint.",
|
|
55341
|
+
"name": "form-control"
|
|
55342
|
+
},
|
|
55343
|
+
{
|
|
55344
|
+
"description": "The `<label>` element.",
|
|
55345
|
+
"name": "form-control-label"
|
|
55346
|
+
},
|
|
55347
|
+
{
|
|
55348
|
+
"description": "The hint message.",
|
|
55349
|
+
"name": "hint"
|
|
55350
|
+
},
|
|
52820
55351
|
{
|
|
52821
55352
|
"description": "The native `<textarea>` element.",
|
|
52822
55353
|
"name": "textarea"
|
|
52823
55354
|
}
|
|
52824
55355
|
],
|
|
55356
|
+
"slots": [
|
|
55357
|
+
{
|
|
55358
|
+
"description": "Custom error content.",
|
|
55359
|
+
"name": "error"
|
|
55360
|
+
},
|
|
55361
|
+
{
|
|
55362
|
+
"description": "Custom hint content.",
|
|
55363
|
+
"name": "hint"
|
|
55364
|
+
},
|
|
55365
|
+
{
|
|
55366
|
+
"description": "Custom label content.",
|
|
55367
|
+
"name": "label"
|
|
55368
|
+
}
|
|
55369
|
+
],
|
|
52825
55370
|
"members": [
|
|
55371
|
+
{
|
|
55372
|
+
"kind": "field",
|
|
55373
|
+
"name": "accessibleLabel",
|
|
55374
|
+
"type": {
|
|
55375
|
+
"text": "string | null"
|
|
55376
|
+
},
|
|
55377
|
+
"default": "null",
|
|
55378
|
+
"description": "Accessible name overriding the label/placeholder-derived default. Takes precedence over both\n`label` and `placeholder` when set, matching `<lyra-date-input>`'s `accessibleLabel`.",
|
|
55379
|
+
"attribute": "aria-label"
|
|
55380
|
+
},
|
|
55381
|
+
{
|
|
55382
|
+
"kind": "field",
|
|
55383
|
+
"name": "autoCorrect",
|
|
55384
|
+
"type": {
|
|
55385
|
+
"text": "string"
|
|
55386
|
+
},
|
|
55387
|
+
"default": "''",
|
|
55388
|
+
"description": "Forwarded to the native `<textarea>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default).",
|
|
55389
|
+
"attribute": "autocorrect"
|
|
55390
|
+
},
|
|
55391
|
+
{
|
|
55392
|
+
"kind": "field",
|
|
55393
|
+
"name": "autocapitalize",
|
|
55394
|
+
"type": {
|
|
55395
|
+
"text": "string"
|
|
55396
|
+
},
|
|
55397
|
+
"default": "''",
|
|
55398
|
+
"description": "Forwarded to the native `<textarea>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
55399
|
+
"attribute": "autocapitalize"
|
|
55400
|
+
},
|
|
55401
|
+
{
|
|
55402
|
+
"kind": "field",
|
|
55403
|
+
"name": "autocomplete",
|
|
55404
|
+
"type": {
|
|
55405
|
+
"text": "string"
|
|
55406
|
+
},
|
|
55407
|
+
"default": "''",
|
|
55408
|
+
"description": "Native editing-assistance attributes forwarded to the wrapped textarea. Empty strings omit\nthe corresponding attribute and retain the browser default.",
|
|
55409
|
+
"attribute": "autocomplete"
|
|
55410
|
+
},
|
|
52826
55411
|
{
|
|
52827
55412
|
"kind": "field",
|
|
52828
55413
|
"name": "effectiveDirection",
|
|
@@ -52851,6 +55436,95 @@
|
|
|
52851
55436
|
"module": "src/internal/lyra-element.ts"
|
|
52852
55437
|
}
|
|
52853
55438
|
},
|
|
55439
|
+
{
|
|
55440
|
+
"kind": "field",
|
|
55441
|
+
"name": "enterKeyHint",
|
|
55442
|
+
"type": {
|
|
55443
|
+
"text": "string"
|
|
55444
|
+
},
|
|
55445
|
+
"default": "''",
|
|
55446
|
+
"attribute": "enterkeyhint"
|
|
55447
|
+
},
|
|
55448
|
+
{
|
|
55449
|
+
"kind": "field",
|
|
55450
|
+
"name": "errorText",
|
|
55451
|
+
"type": {
|
|
55452
|
+
"text": "string"
|
|
55453
|
+
},
|
|
55454
|
+
"default": "''",
|
|
55455
|
+
"attribute": "error-text"
|
|
55456
|
+
},
|
|
55457
|
+
{
|
|
55458
|
+
"kind": "field",
|
|
55459
|
+
"name": "hasErrorSlot",
|
|
55460
|
+
"type": {
|
|
55461
|
+
"text": "boolean"
|
|
55462
|
+
},
|
|
55463
|
+
"privacy": "private",
|
|
55464
|
+
"default": "false"
|
|
55465
|
+
},
|
|
55466
|
+
{
|
|
55467
|
+
"kind": "field",
|
|
55468
|
+
"name": "hasHintSlot",
|
|
55469
|
+
"type": {
|
|
55470
|
+
"text": "boolean"
|
|
55471
|
+
},
|
|
55472
|
+
"privacy": "private",
|
|
55473
|
+
"default": "false"
|
|
55474
|
+
},
|
|
55475
|
+
{
|
|
55476
|
+
"kind": "field",
|
|
55477
|
+
"name": "hasLabelSlot",
|
|
55478
|
+
"type": {
|
|
55479
|
+
"text": "boolean"
|
|
55480
|
+
},
|
|
55481
|
+
"privacy": "private",
|
|
55482
|
+
"default": "false"
|
|
55483
|
+
},
|
|
55484
|
+
{
|
|
55485
|
+
"kind": "field",
|
|
55486
|
+
"name": "hint",
|
|
55487
|
+
"type": {
|
|
55488
|
+
"text": "string"
|
|
55489
|
+
},
|
|
55490
|
+
"default": "''",
|
|
55491
|
+
"attribute": "hint"
|
|
55492
|
+
},
|
|
55493
|
+
{
|
|
55494
|
+
"kind": "field",
|
|
55495
|
+
"name": "input",
|
|
55496
|
+
"type": {
|
|
55497
|
+
"text": "HTMLTextAreaElement | null"
|
|
55498
|
+
},
|
|
55499
|
+
"description": "The internal native `<textarea>` element, for direct DOM access (caret position, selection,\n`setRangeText()`) that has no first-class `lyra-*` equivalent -- mirrors `wa-textarea`'s own\n`input` getter.",
|
|
55500
|
+
"readonly": true
|
|
55501
|
+
},
|
|
55502
|
+
{
|
|
55503
|
+
"kind": "field",
|
|
55504
|
+
"name": "inputMode",
|
|
55505
|
+
"type": {
|
|
55506
|
+
"text": "string"
|
|
55507
|
+
},
|
|
55508
|
+
"default": "''",
|
|
55509
|
+
"attribute": "inputmode"
|
|
55510
|
+
},
|
|
55511
|
+
{
|
|
55512
|
+
"kind": "field",
|
|
55513
|
+
"name": "label",
|
|
55514
|
+
"type": {
|
|
55515
|
+
"text": "string"
|
|
55516
|
+
},
|
|
55517
|
+
"default": "''",
|
|
55518
|
+
"attribute": "label"
|
|
55519
|
+
},
|
|
55520
|
+
{
|
|
55521
|
+
"kind": "field",
|
|
55522
|
+
"name": "lastObservedWidth",
|
|
55523
|
+
"type": {
|
|
55524
|
+
"text": "number | undefined"
|
|
55525
|
+
},
|
|
55526
|
+
"privacy": "private"
|
|
55527
|
+
},
|
|
52854
55528
|
{
|
|
52855
55529
|
"kind": "field",
|
|
52856
55530
|
"name": "locale",
|
|
@@ -52866,16 +55540,41 @@
|
|
|
52866
55540
|
"module": "src/internal/lyra-element.ts"
|
|
52867
55541
|
}
|
|
52868
55542
|
},
|
|
55543
|
+
{
|
|
55544
|
+
"kind": "field",
|
|
55545
|
+
"name": "onBlur",
|
|
55546
|
+
"privacy": "private"
|
|
55547
|
+
},
|
|
52869
55548
|
{
|
|
52870
55549
|
"kind": "field",
|
|
52871
55550
|
"name": "onChange",
|
|
52872
55551
|
"privacy": "private"
|
|
52873
55552
|
},
|
|
55553
|
+
{
|
|
55554
|
+
"kind": "field",
|
|
55555
|
+
"name": "onErrorSlotChange",
|
|
55556
|
+
"privacy": "private"
|
|
55557
|
+
},
|
|
55558
|
+
{
|
|
55559
|
+
"kind": "field",
|
|
55560
|
+
"name": "onFocus",
|
|
55561
|
+
"privacy": "private"
|
|
55562
|
+
},
|
|
55563
|
+
{
|
|
55564
|
+
"kind": "field",
|
|
55565
|
+
"name": "onHintSlotChange",
|
|
55566
|
+
"privacy": "private"
|
|
55567
|
+
},
|
|
52874
55568
|
{
|
|
52875
55569
|
"kind": "field",
|
|
52876
55570
|
"name": "onInput",
|
|
52877
55571
|
"privacy": "private"
|
|
52878
55572
|
},
|
|
55573
|
+
{
|
|
55574
|
+
"kind": "field",
|
|
55575
|
+
"name": "onLabelSlotChange",
|
|
55576
|
+
"privacy": "private"
|
|
55577
|
+
},
|
|
52879
55578
|
{
|
|
52880
55579
|
"kind": "field",
|
|
52881
55580
|
"name": "placeholder",
|
|
@@ -52892,9 +55591,25 @@
|
|
|
52892
55591
|
"text": "TextareaResize"
|
|
52893
55592
|
},
|
|
52894
55593
|
"default": "'vertical'",
|
|
52895
|
-
"description": "Native CSS `resize` behavior for the textarea.",
|
|
55594
|
+
"description": "Native CSS `resize` behavior for the textarea, plus `'auto'`: a `ResizeObserver`-driven\ngrow-to-content mode with no manual drag handle (mirrors `wa-textarea`'s `resize=\"auto\"`).",
|
|
52896
55595
|
"attribute": "resize"
|
|
52897
55596
|
},
|
|
55597
|
+
{
|
|
55598
|
+
"kind": "field",
|
|
55599
|
+
"name": "resizeObserver",
|
|
55600
|
+
"type": {
|
|
55601
|
+
"text": "ResizeObserver | undefined"
|
|
55602
|
+
},
|
|
55603
|
+
"privacy": "private"
|
|
55604
|
+
},
|
|
55605
|
+
{
|
|
55606
|
+
"kind": "field",
|
|
55607
|
+
"name": "resizeRaf",
|
|
55608
|
+
"type": {
|
|
55609
|
+
"text": "number | undefined"
|
|
55610
|
+
},
|
|
55611
|
+
"privacy": "private"
|
|
55612
|
+
},
|
|
52898
55613
|
{
|
|
52899
55614
|
"kind": "field",
|
|
52900
55615
|
"name": "rows",
|
|
@@ -52905,6 +55620,37 @@
|
|
|
52905
55620
|
"description": "Visible text rows.",
|
|
52906
55621
|
"attribute": "rows"
|
|
52907
55622
|
},
|
|
55623
|
+
{
|
|
55624
|
+
"kind": "field",
|
|
55625
|
+
"name": "selectionDirection",
|
|
55626
|
+
"type": {
|
|
55627
|
+
"text": "TextareaSelectionDirection | null"
|
|
55628
|
+
}
|
|
55629
|
+
},
|
|
55630
|
+
{
|
|
55631
|
+
"kind": "field",
|
|
55632
|
+
"name": "selectionEnd",
|
|
55633
|
+
"type": {
|
|
55634
|
+
"text": "number | null"
|
|
55635
|
+
}
|
|
55636
|
+
},
|
|
55637
|
+
{
|
|
55638
|
+
"kind": "field",
|
|
55639
|
+
"name": "selectionStart",
|
|
55640
|
+
"type": {
|
|
55641
|
+
"text": "number | null"
|
|
55642
|
+
}
|
|
55643
|
+
},
|
|
55644
|
+
{
|
|
55645
|
+
"kind": "field",
|
|
55646
|
+
"name": "spellcheck",
|
|
55647
|
+
"type": {
|
|
55648
|
+
"text": "boolean"
|
|
55649
|
+
},
|
|
55650
|
+
"default": "true",
|
|
55651
|
+
"description": "Forwarded to the native `<textarea>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default.",
|
|
55652
|
+
"attribute": "spellcheck"
|
|
55653
|
+
},
|
|
52908
55654
|
{
|
|
52909
55655
|
"kind": "field",
|
|
52910
55656
|
"name": "stopLocaleSubscription",
|
|
@@ -52938,6 +55684,25 @@
|
|
|
52938
55684
|
},
|
|
52939
55685
|
"privacy": "private"
|
|
52940
55686
|
},
|
|
55687
|
+
{
|
|
55688
|
+
"kind": "field",
|
|
55689
|
+
"name": "touched",
|
|
55690
|
+
"type": {
|
|
55691
|
+
"text": "boolean"
|
|
55692
|
+
},
|
|
55693
|
+
"privacy": "private",
|
|
55694
|
+
"default": "false"
|
|
55695
|
+
},
|
|
55696
|
+
{
|
|
55697
|
+
"kind": "field",
|
|
55698
|
+
"name": "wrap",
|
|
55699
|
+
"type": {
|
|
55700
|
+
"text": "TextareaWrap"
|
|
55701
|
+
},
|
|
55702
|
+
"default": "'soft'",
|
|
55703
|
+
"description": "Forwarded to the native `<textarea>`'s own `wrap`.",
|
|
55704
|
+
"attribute": "wrap"
|
|
55705
|
+
},
|
|
52941
55706
|
{
|
|
52942
55707
|
"kind": "method",
|
|
52943
55708
|
"name": "addEventListener",
|
|
@@ -52972,6 +55737,25 @@
|
|
|
52972
55737
|
"module": "src/internal/lyra-element.ts"
|
|
52973
55738
|
}
|
|
52974
55739
|
},
|
|
55740
|
+
{
|
|
55741
|
+
"kind": "method",
|
|
55742
|
+
"name": "armResizeObserver",
|
|
55743
|
+
"privacy": "private",
|
|
55744
|
+
"return": {
|
|
55745
|
+
"type": {
|
|
55746
|
+
"text": "void"
|
|
55747
|
+
}
|
|
55748
|
+
}
|
|
55749
|
+
},
|
|
55750
|
+
{
|
|
55751
|
+
"kind": "method",
|
|
55752
|
+
"name": "blur",
|
|
55753
|
+
"return": {
|
|
55754
|
+
"type": {
|
|
55755
|
+
"text": "void"
|
|
55756
|
+
}
|
|
55757
|
+
}
|
|
55758
|
+
},
|
|
52975
55759
|
{
|
|
52976
55760
|
"kind": "method",
|
|
52977
55761
|
"name": "emit",
|
|
@@ -53009,6 +55793,43 @@
|
|
|
53009
55793
|
"module": "src/internal/lyra-element.ts"
|
|
53010
55794
|
}
|
|
53011
55795
|
},
|
|
55796
|
+
{
|
|
55797
|
+
"kind": "method",
|
|
55798
|
+
"name": "fitToContent",
|
|
55799
|
+
"privacy": "private",
|
|
55800
|
+
"return": {
|
|
55801
|
+
"type": {
|
|
55802
|
+
"text": "void"
|
|
55803
|
+
}
|
|
55804
|
+
}
|
|
55805
|
+
},
|
|
55806
|
+
{
|
|
55807
|
+
"kind": "method",
|
|
55808
|
+
"name": "focus",
|
|
55809
|
+
"return": {
|
|
55810
|
+
"type": {
|
|
55811
|
+
"text": "void"
|
|
55812
|
+
}
|
|
55813
|
+
},
|
|
55814
|
+
"parameters": [
|
|
55815
|
+
{
|
|
55816
|
+
"name": "options",
|
|
55817
|
+
"optional": true,
|
|
55818
|
+
"type": {
|
|
55819
|
+
"text": "FocusOptions"
|
|
55820
|
+
}
|
|
55821
|
+
}
|
|
55822
|
+
]
|
|
55823
|
+
},
|
|
55824
|
+
{
|
|
55825
|
+
"kind": "method",
|
|
55826
|
+
"name": "formResetCallback",
|
|
55827
|
+
"return": {
|
|
55828
|
+
"type": {
|
|
55829
|
+
"text": "void"
|
|
55830
|
+
}
|
|
55831
|
+
}
|
|
55832
|
+
},
|
|
53012
55833
|
{
|
|
53013
55834
|
"kind": "method",
|
|
53014
55835
|
"name": "localize",
|
|
@@ -53079,9 +55900,148 @@
|
|
|
53079
55900
|
"name": "LyraElement",
|
|
53080
55901
|
"module": "src/internal/lyra-element.ts"
|
|
53081
55902
|
}
|
|
55903
|
+
},
|
|
55904
|
+
{
|
|
55905
|
+
"kind": "method",
|
|
55906
|
+
"name": "select",
|
|
55907
|
+
"return": {
|
|
55908
|
+
"type": {
|
|
55909
|
+
"text": "void"
|
|
55910
|
+
}
|
|
55911
|
+
}
|
|
55912
|
+
},
|
|
55913
|
+
{
|
|
55914
|
+
"kind": "method",
|
|
55915
|
+
"name": "setRangeText",
|
|
55916
|
+
"return": {
|
|
55917
|
+
"type": {
|
|
55918
|
+
"text": "void"
|
|
55919
|
+
}
|
|
55920
|
+
},
|
|
55921
|
+
"parameters": [
|
|
55922
|
+
{
|
|
55923
|
+
"name": "replacement",
|
|
55924
|
+
"type": {
|
|
55925
|
+
"text": "string"
|
|
55926
|
+
}
|
|
55927
|
+
}
|
|
55928
|
+
],
|
|
55929
|
+
"description": "Passthrough to the native `<textarea>`'s `setRangeText()`. Mirrors `wa-textarea`'s own method\nof the same name/signature. No-op if the element hasn't rendered yet."
|
|
55930
|
+
},
|
|
55931
|
+
{
|
|
55932
|
+
"kind": "method",
|
|
55933
|
+
"name": "setRangeText",
|
|
55934
|
+
"return": {
|
|
55935
|
+
"type": {
|
|
55936
|
+
"text": "void"
|
|
55937
|
+
}
|
|
55938
|
+
},
|
|
55939
|
+
"parameters": [
|
|
55940
|
+
{
|
|
55941
|
+
"name": "replacement",
|
|
55942
|
+
"type": {
|
|
55943
|
+
"text": "string"
|
|
55944
|
+
}
|
|
55945
|
+
},
|
|
55946
|
+
{
|
|
55947
|
+
"name": "start",
|
|
55948
|
+
"optional": true,
|
|
55949
|
+
"type": {
|
|
55950
|
+
"text": "number"
|
|
55951
|
+
}
|
|
55952
|
+
},
|
|
55953
|
+
{
|
|
55954
|
+
"name": "end",
|
|
55955
|
+
"optional": true,
|
|
55956
|
+
"type": {
|
|
55957
|
+
"text": "number"
|
|
55958
|
+
}
|
|
55959
|
+
},
|
|
55960
|
+
{
|
|
55961
|
+
"name": "selectMode",
|
|
55962
|
+
"optional": true,
|
|
55963
|
+
"type": {
|
|
55964
|
+
"text": "SelectionMode"
|
|
55965
|
+
}
|
|
55966
|
+
}
|
|
55967
|
+
]
|
|
55968
|
+
},
|
|
55969
|
+
{
|
|
55970
|
+
"kind": "method",
|
|
55971
|
+
"name": "setRangeText",
|
|
55972
|
+
"return": {
|
|
55973
|
+
"type": {
|
|
55974
|
+
"text": "void"
|
|
55975
|
+
}
|
|
55976
|
+
},
|
|
55977
|
+
"parameters": [
|
|
55978
|
+
{
|
|
55979
|
+
"name": "replacement",
|
|
55980
|
+
"type": {
|
|
55981
|
+
"text": "string"
|
|
55982
|
+
}
|
|
55983
|
+
},
|
|
55984
|
+
{
|
|
55985
|
+
"name": "start",
|
|
55986
|
+
"type": {
|
|
55987
|
+
"text": "number"
|
|
55988
|
+
}
|
|
55989
|
+
},
|
|
55990
|
+
{
|
|
55991
|
+
"name": "end",
|
|
55992
|
+
"type": {
|
|
55993
|
+
"text": "number"
|
|
55994
|
+
}
|
|
55995
|
+
},
|
|
55996
|
+
{
|
|
55997
|
+
"name": "selectMode",
|
|
55998
|
+
"optional": true,
|
|
55999
|
+
"type": {
|
|
56000
|
+
"text": "SelectionMode"
|
|
56001
|
+
}
|
|
56002
|
+
}
|
|
56003
|
+
]
|
|
56004
|
+
},
|
|
56005
|
+
{
|
|
56006
|
+
"kind": "method",
|
|
56007
|
+
"name": "setSelectionRange",
|
|
56008
|
+
"return": {
|
|
56009
|
+
"type": {
|
|
56010
|
+
"text": "void"
|
|
56011
|
+
}
|
|
56012
|
+
},
|
|
56013
|
+
"parameters": [
|
|
56014
|
+
{
|
|
56015
|
+
"name": "start",
|
|
56016
|
+
"type": {
|
|
56017
|
+
"text": "number | null"
|
|
56018
|
+
}
|
|
56019
|
+
},
|
|
56020
|
+
{
|
|
56021
|
+
"name": "end",
|
|
56022
|
+
"type": {
|
|
56023
|
+
"text": "number | null"
|
|
56024
|
+
}
|
|
56025
|
+
},
|
|
56026
|
+
{
|
|
56027
|
+
"name": "direction",
|
|
56028
|
+
"optional": true,
|
|
56029
|
+
"type": {
|
|
56030
|
+
"text": "TextareaSelectionDirection"
|
|
56031
|
+
}
|
|
56032
|
+
}
|
|
56033
|
+
]
|
|
53082
56034
|
}
|
|
53083
56035
|
],
|
|
53084
56036
|
"events": [
|
|
56037
|
+
{
|
|
56038
|
+
"description": "Re-dispatched from the internal native `<textarea>`'s own `blur` -- bubbling and composed (unlike the native event, which is neither), so a listener above the shadow boundary can observe it.",
|
|
56039
|
+
"name": "blur"
|
|
56040
|
+
},
|
|
56041
|
+
{
|
|
56042
|
+
"description": "Re-dispatched from the internal native `<textarea>`'s own `focus`, for the same reason as `blur`.",
|
|
56043
|
+
"name": "focus"
|
|
56044
|
+
},
|
|
53085
56045
|
{
|
|
53086
56046
|
"description": "Fired on the native `change` timing (control loses focus after a committed edit). `detail: { value }`.",
|
|
53087
56047
|
"name": "lyra-change"
|
|
@@ -53092,6 +56052,82 @@
|
|
|
53092
56052
|
}
|
|
53093
56053
|
],
|
|
53094
56054
|
"attributes": [
|
|
56055
|
+
{
|
|
56056
|
+
"name": "aria-label",
|
|
56057
|
+
"type": {
|
|
56058
|
+
"text": "string | null"
|
|
56059
|
+
},
|
|
56060
|
+
"default": "null",
|
|
56061
|
+
"description": "Accessible name overriding the label/placeholder-derived default. Takes precedence over both\n`label` and `placeholder` when set, matching `<lyra-date-input>`'s `accessibleLabel`.",
|
|
56062
|
+
"fieldName": "accessibleLabel"
|
|
56063
|
+
},
|
|
56064
|
+
{
|
|
56065
|
+
"name": "autocapitalize",
|
|
56066
|
+
"type": {
|
|
56067
|
+
"text": "string"
|
|
56068
|
+
},
|
|
56069
|
+
"default": "''",
|
|
56070
|
+
"description": "Forwarded to the native `<textarea>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
56071
|
+
"fieldName": "autocapitalize"
|
|
56072
|
+
},
|
|
56073
|
+
{
|
|
56074
|
+
"name": "autocomplete",
|
|
56075
|
+
"type": {
|
|
56076
|
+
"text": "string"
|
|
56077
|
+
},
|
|
56078
|
+
"default": "''",
|
|
56079
|
+
"description": "Native editing-assistance attributes forwarded to the wrapped textarea. Empty strings omit\nthe corresponding attribute and retain the browser default.",
|
|
56080
|
+
"fieldName": "autocomplete"
|
|
56081
|
+
},
|
|
56082
|
+
{
|
|
56083
|
+
"name": "autocorrect",
|
|
56084
|
+
"type": {
|
|
56085
|
+
"text": "string"
|
|
56086
|
+
},
|
|
56087
|
+
"default": "''",
|
|
56088
|
+
"description": "Forwarded to the native `<textarea>`'s own `autocorrect` (Safari/WebKit-specific). Empty\nstring omits the attribute (browser default).",
|
|
56089
|
+
"fieldName": "autoCorrect"
|
|
56090
|
+
},
|
|
56091
|
+
{
|
|
56092
|
+
"name": "enterkeyhint",
|
|
56093
|
+
"type": {
|
|
56094
|
+
"text": "string"
|
|
56095
|
+
},
|
|
56096
|
+
"default": "''",
|
|
56097
|
+
"fieldName": "enterKeyHint"
|
|
56098
|
+
},
|
|
56099
|
+
{
|
|
56100
|
+
"name": "error-text",
|
|
56101
|
+
"type": {
|
|
56102
|
+
"text": "string"
|
|
56103
|
+
},
|
|
56104
|
+
"default": "''",
|
|
56105
|
+
"fieldName": "errorText"
|
|
56106
|
+
},
|
|
56107
|
+
{
|
|
56108
|
+
"name": "hint",
|
|
56109
|
+
"type": {
|
|
56110
|
+
"text": "string"
|
|
56111
|
+
},
|
|
56112
|
+
"default": "''",
|
|
56113
|
+
"fieldName": "hint"
|
|
56114
|
+
},
|
|
56115
|
+
{
|
|
56116
|
+
"name": "inputmode",
|
|
56117
|
+
"type": {
|
|
56118
|
+
"text": "string"
|
|
56119
|
+
},
|
|
56120
|
+
"default": "''",
|
|
56121
|
+
"fieldName": "inputMode"
|
|
56122
|
+
},
|
|
56123
|
+
{
|
|
56124
|
+
"name": "label",
|
|
56125
|
+
"type": {
|
|
56126
|
+
"text": "string"
|
|
56127
|
+
},
|
|
56128
|
+
"default": "''",
|
|
56129
|
+
"fieldName": "label"
|
|
56130
|
+
},
|
|
53095
56131
|
{
|
|
53096
56132
|
"name": "locale",
|
|
53097
56133
|
"type": {
|
|
@@ -53119,7 +56155,7 @@
|
|
|
53119
56155
|
"text": "TextareaResize"
|
|
53120
56156
|
},
|
|
53121
56157
|
"default": "'vertical'",
|
|
53122
|
-
"description": "Native CSS `resize` behavior for the textarea.",
|
|
56158
|
+
"description": "Native CSS `resize` behavior for the textarea, plus `'auto'`: a `ResizeObserver`-driven\ngrow-to-content mode with no manual drag handle (mirrors `wa-textarea`'s `resize=\"auto\"`).",
|
|
53123
56159
|
"fieldName": "resize"
|
|
53124
56160
|
},
|
|
53125
56161
|
{
|
|
@@ -53130,6 +56166,24 @@
|
|
|
53130
56166
|
"default": "3",
|
|
53131
56167
|
"description": "Visible text rows.",
|
|
53132
56168
|
"fieldName": "rows"
|
|
56169
|
+
},
|
|
56170
|
+
{
|
|
56171
|
+
"name": "spellcheck",
|
|
56172
|
+
"type": {
|
|
56173
|
+
"text": "boolean"
|
|
56174
|
+
},
|
|
56175
|
+
"default": "true",
|
|
56176
|
+
"description": "Forwarded to the native `<textarea>`'s own `spellcheck`. Defaults to `true`, matching the\nnative element's own default.",
|
|
56177
|
+
"fieldName": "spellcheck"
|
|
56178
|
+
},
|
|
56179
|
+
{
|
|
56180
|
+
"name": "wrap",
|
|
56181
|
+
"type": {
|
|
56182
|
+
"text": "TextareaWrap"
|
|
56183
|
+
},
|
|
56184
|
+
"default": "'soft'",
|
|
56185
|
+
"description": "Forwarded to the native `<textarea>`'s own `wrap`.",
|
|
56186
|
+
"fieldName": "wrap"
|
|
53133
56187
|
}
|
|
53134
56188
|
],
|
|
53135
56189
|
"mixins": [
|
|
@@ -53642,7 +56696,7 @@
|
|
|
53642
56696
|
"declarations": [
|
|
53643
56697
|
{
|
|
53644
56698
|
"kind": "class",
|
|
53645
|
-
"description": "`<lyra-time-range>` — a two-handle brush/scrubber over a numeric domain.\nCallers map their own time axis to `[min, max]`; no date logic lives here\n(matches the no-date-library constraint used elsewhere in this library).\n\nOptionally paired with a row of discrete presets (`presets`) — e.g. \"Last\n7 days\" / \"Last 30 days\" — rendered above the track; picking one is just a\nshortcut that sets both handles at once, the continuous brush underneath\nis unaffected and both interaction modes coexist.\n\nForm-associated only for the `<fieldset disabled>` cascade, not for a\nsubmitted value: it attaches `ElementInternals` (like `<lyra-combobox>`'s\nminimal pattern, rather than the single-string-value `FormAssociated`\nmixin, which doesn't fit a two-handle range) purely so an ancestor\n`<fieldset disabled>` disables both handles and every preset button\nthrough `effectiveDisabled`, the same way it would a native `<input>`,\nwithout touching the consumer-facing `disabled` property/attribute itself.\nUnlike `<lyra-combobox>`, it never calls `internals.setFormValue()` and\nhas no `name` — the selected range is not included in the owning form's\n`FormData` on submit; read `start`/`end` directly (e.g. from `lyra-change`)\ninstead of relying on native form submission.",
|
|
56699
|
+
"description": "`<lyra-time-range>` — a two-handle brush/scrubber over a numeric domain.\nCallers map their own time axis to `[min, max]`; no date logic lives here\n(matches the no-date-library constraint used elsewhere in this library).\n\nOptionally paired with a row of discrete presets (`presets`) — e.g. \"Last\n7 days\" / \"Last 30 days\" — rendered above the track; picking one is just a\nshortcut that sets both handles at once, the continuous brush underneath\nis unaffected and both interaction modes coexist.\n\nForm-associated only for the `<fieldset disabled>` cascade, not for a\nsubmitted value: it attaches `ElementInternals` (like `<lyra-combobox>`'s\nminimal pattern, rather than the single-string-value `FormAssociated`\nmixin, which doesn't fit a two-handle range) purely so an ancestor\n`<fieldset disabled>` disables both handles and every preset button\nthrough `effectiveDisabled`, the same way it would a native `<input>`,\nwithout touching the consumer-facing `disabled` property/attribute itself.\nUnlike `<lyra-combobox>`, it never calls `internals.setFormValue()` and\nhas no `name` — the selected range is not included in the owning form's\n`FormData` on submit; read `start`/`end` directly (e.g. from `lyra-change`)\ninstead of relying on native form submission.\n\nDeliberately no label/hint/error chrome -- `startLabel`/`endLabel` here are per-handle\naccessible-name overrides, not visible label text, the same carve-out `<lyra-slider>` states for\nits own single-handle `label`; a labeled-field consumer wraps this element in their own layout.",
|
|
53646
56700
|
"name": "LyraTimeRange",
|
|
53647
56701
|
"cssParts": [
|
|
53648
56702
|
{
|
|
@@ -55293,7 +58347,7 @@
|
|
|
55293
58347
|
"declarations": [
|
|
55294
58348
|
{
|
|
55295
58349
|
"kind": "class",
|
|
55296
|
-
"description": "`<lyra-tool-approval-dialog>` — a human-in-the-loop gate: presents one\nproposed tool/function call (`toolName` + `args`) and blocks an agent from\nexecuting it until a person explicitly approves or denies it, with an\noptional inline \"edit the arguments before approving\" step.\n\nThis renders its own dialog panel rather than nesting a `<lyra-dialog>` in\nits shadow template. Shared overlay infrastructure coordinates stacking,\nfocus trapping, Escape/backdrop dismissal, and focus return with every\nother overlay in the same document.\n\nApprove/Deny/Edit are built-in chrome (not a `footer` slot a consumer must\nassemble) — this component's interaction shape is fixed enough (there is\nexactly one correct set of actions for \"approve this call\") that requiring\nevery consumer to re-build it would just be boilerplate. A `footer` slot is\nstill offered for *supplementary* content a consumer wants alongside those\nbuttons (e.g. a \"remember this choice for this tool\" checkbox) — its\ncontent renders to the start of the action row, before Deny/Edit/Approve.\n\nEditing: while `editable`, an Edit button swaps the read-only\n`<lyra-json-viewer>` for a plain `<textarea>` pre-filled with\n`JSON.stringify(args, null, 2)`. Every keystroke is re-validated with\n`JSON.parse` — the Approve button is `disabled` for as long as the current\ntextarea content fails to parse, so a malformed edit can never be silently\napproved as either the broken text or a stale copy of the original args.\nThe same button relabels to \"Cancel\" while editing; clicking it discards\nthe draft entirely and returns to the read-only view of the *original*\n`args` — there is no separate \"save\" step independent of Approve itself.\nBoth `editing` and any in-progress draft reset back to the read-only view\nevery time the dialog transitions from closed to open, so a reused\ninstance never leaks one proposal's half-finished edit into the next.\n`editable` flipping to `false` mid-edit does the same (see `willUpdate()`)\nand, if the textarea it unmounts still held focus, `updated()` refocuses\nDeny so the focus trap keeps engaging instead of silently letting focus\nfall through to the document.\n\nInitial focus deliberately does *not* land on Approve:\napproving a tool call is a consequential, potentially irreversible action,\nso a user who opens this dialog and reflexively presses Enter/Space before\nreading anything should deny, not approve. Deny gets the initial focus\ninstead — the same \"focus the safe action\" convention a native destructive-\nconfirmation dialog (delete, discard, etc.) typically follows for its own\nCancel button — rather than the inert dialog panel, which would need an\nextra Tab press before *any* action is reachable at all.",
|
|
58350
|
+
"description": "`<lyra-tool-approval-dialog>` — a human-in-the-loop gate: presents one\nproposed tool/function call (`toolName` + `args`) and blocks an agent from\nexecuting it until a person explicitly approves or denies it, with an\noptional inline \"edit the arguments before approving\" step.\n\nThis renders its own dialog panel rather than nesting a `<lyra-dialog>` in\nits shadow template. Shared overlay infrastructure coordinates stacking,\nfocus trapping, Escape/backdrop dismissal, and focus return with every\nother overlay in the same document.\n\nApprove/Deny/Edit are built-in chrome (not a `footer` slot a consumer must\nassemble) — this component's interaction shape is fixed enough (there is\nexactly one correct set of actions for \"approve this call\") that requiring\nevery consumer to re-build it would just be boilerplate. A `footer` slot is\nstill offered for *supplementary* content a consumer wants alongside those\nbuttons (e.g. a \"remember this choice for this tool\" checkbox) — its\ncontent renders to the start of the action row, before Deny/Edit/Approve.\n\nEditing: while `editable`, an Edit button swaps the read-only\n`<lyra-json-viewer>` for a plain `<textarea>` pre-filled with\n`JSON.stringify(args, null, 2)`. Every keystroke is re-validated with\n`JSON.parse` — the Approve button is `disabled` for as long as the current\ntextarea content fails to parse, so a malformed edit can never be silently\napproved as either the broken text or a stale copy of the original args.\nThe textarea always hardcodes `spellcheck=\"false\"`, `autocapitalize=\"off\"`,\nand `autocorrect=\"off\"` (not exposed as configurable properties, unlike\n`<lyra-textarea>`/`<lyra-chat-composer>`'s passthrough props) — its content\nis always raw JSON, never prose, so a mobile browser's default sentence\nauto-capitalization/auto-correction would otherwise silently corrupt keys\nand values as the user types.\nThe same button relabels to \"Cancel\" while editing; clicking it discards\nthe draft entirely and returns to the read-only view of the *original*\n`args` — there is no separate \"save\" step independent of Approve itself.\nBoth `editing` and any in-progress draft reset back to the read-only view\nevery time the dialog transitions from closed to open, so a reused\ninstance never leaks one proposal's half-finished edit into the next.\n`editable` flipping to `false` mid-edit does the same (see `willUpdate()`)\nand, if the textarea it unmounts still held focus, `updated()` refocuses\nDeny so the focus trap keeps engaging instead of silently letting focus\nfall through to the document.\n\nInitial focus deliberately does *not* land on Approve:\napproving a tool call is a consequential, potentially irreversible action,\nso a user who opens this dialog and reflexively presses Enter/Space before\nreading anything should deny, not approve. Deny gets the initial focus\ninstead — the same \"focus the safe action\" convention a native destructive-\nconfirmation dialog (delete, discard, etc.) typically follows for its own\nCancel button — rather than the inert dialog panel, which would need an\nextra Tab press before *any* action is reachable at all.",
|
|
55297
58351
|
"name": "LyraToolApprovalDialog",
|
|
55298
58352
|
"cssParts": [
|
|
55299
58353
|
{
|
|
@@ -59186,10 +62240,22 @@
|
|
|
59186
62240
|
"description": "The optional node badge.",
|
|
59187
62241
|
"name": "badge"
|
|
59188
62242
|
},
|
|
62243
|
+
{
|
|
62244
|
+
"description": "The primary and secondary text wrapper.",
|
|
62245
|
+
"name": "content"
|
|
62246
|
+
},
|
|
62247
|
+
{
|
|
62248
|
+
"description": "The optional secondary description.",
|
|
62249
|
+
"name": "description"
|
|
62250
|
+
},
|
|
59189
62251
|
{
|
|
59190
62252
|
"description": "The wrapper around a node's expanded child items.",
|
|
59191
62253
|
"name": "group"
|
|
59192
62254
|
},
|
|
62255
|
+
{
|
|
62256
|
+
"description": "The optional decorative leading icon.",
|
|
62257
|
+
"name": "icon"
|
|
62258
|
+
},
|
|
59193
62259
|
{
|
|
59194
62260
|
"description": "The node label.",
|
|
59195
62261
|
"name": "label"
|
|
@@ -59681,7 +62747,7 @@
|
|
|
59681
62747
|
"text": "string"
|
|
59682
62748
|
},
|
|
59683
62749
|
"default": "''",
|
|
59684
|
-
"description": "Accessible name
|
|
62750
|
+
"description": "Accessible name forwarded to the internal `role=\"tree\"` element. A host `aria-label` is also\nforwarded as a fallback when `label` is empty; `label` takes precedence when both are set.\nExternal `aria-labelledby` idrefs are not forwarded across the shadow boundary.",
|
|
59685
62751
|
"attribute": "label"
|
|
59686
62752
|
},
|
|
59687
62753
|
{
|
|
@@ -60027,7 +63093,7 @@
|
|
|
60027
63093
|
"text": "string"
|
|
60028
63094
|
},
|
|
60029
63095
|
"default": "''",
|
|
60030
|
-
"description": "Accessible name
|
|
63096
|
+
"description": "Accessible name forwarded to the internal `role=\"tree\"` element. A host `aria-label` is also\nforwarded as a fallback when `label` is empty; `label` takes precedence when both are set.\nExternal `aria-labelledby` idrefs are not forwarded across the shadow boundary.",
|
|
60031
63097
|
"fieldName": "label"
|
|
60032
63098
|
},
|
|
60033
63099
|
{
|
|
@@ -60128,6 +63194,23 @@
|
|
|
60128
63194
|
"kind": "class",
|
|
60129
63195
|
"description": "`<lyra-typing-indicator>` — a purely presentational \"assistant is\nresponding\" presence cue. No events, no interactivity: a consumer mounts\nit while a response is being generated and removes it (or hides it) once\nreal content has arrived.\n\nThree visual variants share one component rather than three separate tags\nbecause callers pick between them along a single axis — how the\nsurrounding surface wants the cue to read — and nothing else about the\ncomponent differs:\n- `dots` (default) — three dots with a staggered bounce, the classic\n \"typing…\" affordance for a standalone status line.\n- `pulse` — a single breathing dot, a quieter cue for a tighter space\n (e.g. next to an avatar).\n- `cursor` — a blinking vertical bar, meant to sit inline at the tail end\n of streamed text that is still being appended to.\n\nAccessibility: this indicator typically mounts and unmounts around a real\ngeneration lifecycle (appears when a response starts, disappears once one\narrives) rather than emitting a stream of updates of its own, so it does\n*not* route through `<lyra-live-region>`/`Announcer`\n(`../../internal/announcer.js`) — that machinery exists to coalesce many\nrapidly-changing announcements into one, and there is only ever a single\nannouncement here: the mount itself. A plain `role=\"status\"` plus an\naccessible name derived from `label` is sufficient, set both as an\n`aria-label` on the host *and* as a visually-hidden text node in the\nshadow tree, so the name survives even if only one of the two is picked up\nby a given assistive-tech/browser pairing. An untouched-default, empty, or\nwhitespace-only `label` falls back to the localized \"Thinking…\" copy in\nboth places, rather than leaving the component with no accessible name at\nall. The animated dots/pulse/cursor\nshape is `aria-hidden=\"true\"` — it's decorative; `label` is the entire\naccessible content, so nothing narrates individual animation frames.",
|
|
60130
63196
|
"name": "LyraTypingIndicator",
|
|
63197
|
+
"cssProperties": [
|
|
63198
|
+
{
|
|
63199
|
+
"description": "Animation duration and timing function shared by all variants.",
|
|
63200
|
+
"name": "--lyra-transition-ambient",
|
|
63201
|
+
"default": "1.8s ease-in-out"
|
|
63202
|
+
},
|
|
63203
|
+
{
|
|
63204
|
+
"description": "Delay for the second dot in the dots variant.",
|
|
63205
|
+
"name": "--lyra-typing-dot-stagger-1",
|
|
63206
|
+
"default": "600ms"
|
|
63207
|
+
},
|
|
63208
|
+
{
|
|
63209
|
+
"description": "Delay for the third dot in the dots variant.",
|
|
63210
|
+
"name": "--lyra-typing-dot-stagger-2",
|
|
63211
|
+
"default": "1200ms"
|
|
63212
|
+
}
|
|
63213
|
+
],
|
|
60131
63214
|
"cssParts": [
|
|
60132
63215
|
{
|
|
60133
63216
|
"description": "The decorative (`aria-hidden`) wrapper around the animated shape.",
|