@aceshooting/lyra-ui 2.13.0 → 3.0.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 +83 -26
- package/custom-elements.json +526 -13
- package/dist/components/attachment-chip/attachment-chip.styles.js +2 -2
- package/dist/components/button/button.class.d.ts +7 -9
- package/dist/components/button/button.class.d.ts.map +1 -1
- package/dist/components/button/button.class.js +12 -14
- package/dist/components/button/button.class.js.map +1 -1
- package/dist/components/button/button.styles.d.ts.map +1 -1
- package/dist/components/button/button.styles.js +30 -10
- package/dist/components/button/button.styles.js.map +1 -1
- package/dist/components/callout/callout.class.d.ts +4 -0
- package/dist/components/callout/callout.class.d.ts.map +1 -1
- package/dist/components/callout/callout.class.js +7 -0
- package/dist/components/callout/callout.class.js.map +1 -1
- package/dist/components/callout/callout.styles.d.ts.map +1 -1
- package/dist/components/callout/callout.styles.js +13 -0
- package/dist/components/callout/callout.styles.js.map +1 -1
- package/dist/components/chat-message/chat-message.styles.js +1 -1
- package/dist/components/code-block/code-block.styles.js +1 -1
- package/dist/components/date-picker/date-input.class.d.ts +4 -0
- package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
- package/dist/components/date-picker/date-input.class.js +16 -0
- package/dist/components/date-picker/date-input.class.js.map +1 -1
- package/dist/components/details/details.class.d.ts +7 -2
- package/dist/components/details/details.class.d.ts.map +1 -1
- package/dist/components/details/details.class.js +23 -3
- package/dist/components/details/details.class.js.map +1 -1
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/heatmap/heatmap.class.d.ts +27 -0
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.class.js +125 -1
- package/dist/components/heatmap/heatmap.class.js.map +1 -1
- package/dist/components/heatmap/heatmap.styles.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.styles.js +27 -0
- package/dist/components/heatmap/heatmap.styles.js.map +1 -1
- package/dist/components/json-viewer/json-viewer.styles.js +1 -1
- package/dist/components/markdown/markdown.styles.js +1 -1
- package/dist/components/model-select/model-select.class.d.ts +4 -0
- package/dist/components/model-select/model-select.class.d.ts.map +1 -1
- package/dist/components/model-select/model-select.class.js +16 -1
- package/dist/components/model-select/model-select.class.js.map +1 -1
- package/dist/components/overlay/overlay.styles.d.ts.map +1 -1
- package/dist/components/overlay/overlay.styles.js +11 -1
- package/dist/components/overlay/overlay.styles.js.map +1 -1
- package/dist/components/responsive-panel/responsive-panel.styles.js +1 -1
- package/dist/components/segmented/segmented.class.d.ts +6 -4
- package/dist/components/segmented/segmented.class.d.ts.map +1 -1
- package/dist/components/segmented/segmented.class.js +3 -2
- package/dist/components/segmented/segmented.class.js.map +1 -1
- package/dist/components/segmented/segmented.styles.js +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts +13 -6
- 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 +48 -10
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.styles.js +1 -1
- package/dist/components/tool-result-dialog/tool-result-dialog.styles.js +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts +7 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js +31 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js.map +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.styles.js +1 -1
- package/dist/components/widget/widget.styles.js +1 -1
- package/dist/components/word-cloud/word-cloud.styles.js +4 -4
- package/dist/internal/lyra-element.d.ts +2 -2
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/tokens.styles.d.ts.map +1 -1
- package/dist/internal/tokens.styles.js +202 -198
- package/dist/internal/tokens.styles.js.map +1 -1
- package/dist/testing/happy-dom-shims.d.ts +4 -2
- package/dist/testing/happy-dom-shims.d.ts.map +1 -1
- package/dist/testing/happy-dom-shims.js +6 -2
- package/dist/testing/happy-dom-shims.js.map +1 -1
- package/dist/theme.css +58 -0
- package/llms-full.txt +117 -33
- package/llms.txt +9 -8
- package/package.json +9 -2
package/custom-elements.json
CHANGED
|
@@ -4742,7 +4742,7 @@
|
|
|
4742
4742
|
"declarations": [
|
|
4743
4743
|
{
|
|
4744
4744
|
"kind": "class",
|
|
4745
|
-
"description": "`<lyra-button>` — a generic action-button primitive
|
|
4745
|
+
"description": "`<lyra-button>` — a generic action-button primitive. Renders an internal native\n`<button part=\"base\">`. `type=\"submit\"`/`type=\"reset\"`\nare handled by this component itself via the host's own `closest('form')` — a shadow-internal\nnative `<button type=\"submit\">` does not participate in an ancestor light-DOM form's submission\non its own, since form-submitter semantics don't cross the shadow boundary.\n\nA host `aria-label` is forwarded to the internal button as a literal string (for an icon-only\nbutton with no visible label); external `aria-labelledby`/`aria-describedby` idrefs are not\ncopied across the shadow boundary.",
|
|
4746
4746
|
"name": "LyraButton",
|
|
4747
4747
|
"cssParts": [
|
|
4748
4748
|
{
|
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
"text": "ButtonAppearance"
|
|
4789
4789
|
},
|
|
4790
4790
|
"default": "'filled'",
|
|
4791
|
-
"description": "`'filled'` (the default) reads `--lyra-button-fill`, which for `variant=\"neutral\"` is the\nambient `--lyra-color-surface` -- matching this component's own container, by design, for a\nlow-emphasis default. `'accent'` is the loud tier
|
|
4791
|
+
"description": "`'filled'` (the default) reads `--lyra-button-fill`, which for `variant=\"neutral\"` is the\nambient `--lyra-color-surface` -- matching this component's own container, by design, for a\nlow-emphasis default. `'accent'` is the loud tier: a solid, high-contrast fill for every\nvariant, including `neutral`.",
|
|
4792
4792
|
"attribute": "appearance",
|
|
4793
4793
|
"reflects": true
|
|
4794
4794
|
},
|
|
@@ -4930,7 +4930,7 @@
|
|
|
4930
4930
|
"text": "ButtonVariant"
|
|
4931
4931
|
},
|
|
4932
4932
|
"default": "'neutral'",
|
|
4933
|
-
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to
|
|
4933
|
+
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to keep the component's semantic tone vocabulary consistent.",
|
|
4934
4934
|
"attribute": "variant",
|
|
4935
4935
|
"reflects": true
|
|
4936
4936
|
},
|
|
@@ -4977,6 +4977,16 @@
|
|
|
4977
4977
|
}
|
|
4978
4978
|
}
|
|
4979
4979
|
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "method",
|
|
4982
|
+
"name": "click",
|
|
4983
|
+
"return": {
|
|
4984
|
+
"type": {
|
|
4985
|
+
"text": "void"
|
|
4986
|
+
}
|
|
4987
|
+
},
|
|
4988
|
+
"description": "Activates the internal native button, including submit/reset behavior."
|
|
4989
|
+
},
|
|
4980
4990
|
{
|
|
4981
4991
|
"kind": "method",
|
|
4982
4992
|
"name": "emit",
|
|
@@ -5111,7 +5121,7 @@
|
|
|
5111
5121
|
"text": "ButtonAppearance"
|
|
5112
5122
|
},
|
|
5113
5123
|
"default": "'filled'",
|
|
5114
|
-
"description": "`'filled'` (the default) reads `--lyra-button-fill`, which for `variant=\"neutral\"` is the\nambient `--lyra-color-surface` -- matching this component's own container, by design, for a\nlow-emphasis default. `'accent'` is the loud tier
|
|
5124
|
+
"description": "`'filled'` (the default) reads `--lyra-button-fill`, which for `variant=\"neutral\"` is the\nambient `--lyra-color-surface` -- matching this component's own container, by design, for a\nlow-emphasis default. `'accent'` is the loud tier: a solid, high-contrast fill for every\nvariant, including `neutral`.",
|
|
5115
5125
|
"fieldName": "appearance"
|
|
5116
5126
|
},
|
|
5117
5127
|
{
|
|
@@ -5167,7 +5177,7 @@
|
|
|
5167
5177
|
"text": "ButtonVariant"
|
|
5168
5178
|
},
|
|
5169
5179
|
"default": "'neutral'",
|
|
5170
|
-
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to
|
|
5180
|
+
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to keep the component's semantic tone vocabulary consistent.",
|
|
5171
5181
|
"fieldName": "variant"
|
|
5172
5182
|
}
|
|
5173
5183
|
],
|
|
@@ -5219,7 +5229,7 @@
|
|
|
5219
5229
|
"declarations": [
|
|
5220
5230
|
{
|
|
5221
5231
|
"kind": "class",
|
|
5222
|
-
"description": "`<lyra-callout>` — an inline message surface for status, warning, and error content.",
|
|
5232
|
+
"description": "`<lyra-callout>` — an inline message surface for status, warning, and error content.\nSet `inline` for lightweight reactive status/error text: it removes the panel chrome while\npreserving the semantic role, optional leading icon, and close action.",
|
|
5223
5233
|
"name": "LyraCallout",
|
|
5224
5234
|
"cssParts": [
|
|
5225
5235
|
{
|
|
@@ -5337,6 +5347,16 @@
|
|
|
5337
5347
|
"default": "''",
|
|
5338
5348
|
"attribute": "heading"
|
|
5339
5349
|
},
|
|
5350
|
+
{
|
|
5351
|
+
"kind": "field",
|
|
5352
|
+
"name": "inline",
|
|
5353
|
+
"type": {
|
|
5354
|
+
"text": "boolean"
|
|
5355
|
+
},
|
|
5356
|
+
"default": "false",
|
|
5357
|
+
"attribute": "inline",
|
|
5358
|
+
"reflects": true
|
|
5359
|
+
},
|
|
5340
5360
|
{
|
|
5341
5361
|
"kind": "field",
|
|
5342
5362
|
"name": "locale",
|
|
@@ -5576,6 +5596,15 @@
|
|
|
5576
5596
|
"default": "''",
|
|
5577
5597
|
"fieldName": "heading"
|
|
5578
5598
|
},
|
|
5599
|
+
{
|
|
5600
|
+
"description": "Uses the lightweight inline treatment without border, background, or panel padding.",
|
|
5601
|
+
"name": "inline",
|
|
5602
|
+
"type": {
|
|
5603
|
+
"text": "boolean"
|
|
5604
|
+
},
|
|
5605
|
+
"default": "false",
|
|
5606
|
+
"fieldName": "inline"
|
|
5607
|
+
},
|
|
5579
5608
|
{
|
|
5580
5609
|
"name": "locale",
|
|
5581
5610
|
"type": {
|
|
@@ -29985,6 +30014,16 @@
|
|
|
29985
30014
|
"description": "Forwarded to the internal `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
29986
30015
|
"attribute": "autocapitalize"
|
|
29987
30016
|
},
|
|
30017
|
+
{
|
|
30018
|
+
"kind": "field",
|
|
30019
|
+
"name": "autocomplete",
|
|
30020
|
+
"type": {
|
|
30021
|
+
"text": "string"
|
|
30022
|
+
},
|
|
30023
|
+
"default": "''",
|
|
30024
|
+
"description": "Forwarded to the internal date text input. Empty strings preserve the browser default.",
|
|
30025
|
+
"attribute": "autocomplete"
|
|
30026
|
+
},
|
|
29988
30027
|
{
|
|
29989
30028
|
"kind": "field",
|
|
29990
30029
|
"name": "cleanupFn",
|
|
@@ -30068,6 +30107,15 @@
|
|
|
30068
30107
|
"module": "src/internal/lyra-element.ts"
|
|
30069
30108
|
}
|
|
30070
30109
|
},
|
|
30110
|
+
{
|
|
30111
|
+
"kind": "field",
|
|
30112
|
+
"name": "enterKeyHint",
|
|
30113
|
+
"type": {
|
|
30114
|
+
"text": "string"
|
|
30115
|
+
},
|
|
30116
|
+
"default": "''",
|
|
30117
|
+
"attribute": "enterkeyhint"
|
|
30118
|
+
},
|
|
30071
30119
|
{
|
|
30072
30120
|
"kind": "field",
|
|
30073
30121
|
"name": "errorText",
|
|
@@ -30127,6 +30175,15 @@
|
|
|
30127
30175
|
"name": "inputId",
|
|
30128
30176
|
"privacy": "private"
|
|
30129
30177
|
},
|
|
30178
|
+
{
|
|
30179
|
+
"kind": "field",
|
|
30180
|
+
"name": "inputMode",
|
|
30181
|
+
"type": {
|
|
30182
|
+
"text": "string"
|
|
30183
|
+
},
|
|
30184
|
+
"default": "''",
|
|
30185
|
+
"attribute": "inputmode"
|
|
30186
|
+
},
|
|
30130
30187
|
{
|
|
30131
30188
|
"kind": "field",
|
|
30132
30189
|
"name": "label",
|
|
@@ -30822,6 +30879,15 @@
|
|
|
30822
30879
|
"description": "Forwarded to the internal `<input>`'s own `autocapitalize`. Empty string omits the\nattribute (browser default).",
|
|
30823
30880
|
"fieldName": "autocapitalize"
|
|
30824
30881
|
},
|
|
30882
|
+
{
|
|
30883
|
+
"name": "autocomplete",
|
|
30884
|
+
"type": {
|
|
30885
|
+
"text": "string"
|
|
30886
|
+
},
|
|
30887
|
+
"default": "''",
|
|
30888
|
+
"description": "Forwarded to the internal date text input. Empty strings preserve the browser default.",
|
|
30889
|
+
"fieldName": "autocomplete"
|
|
30890
|
+
},
|
|
30825
30891
|
{
|
|
30826
30892
|
"name": "autocorrect",
|
|
30827
30893
|
"type": {
|
|
@@ -30863,6 +30929,14 @@
|
|
|
30863
30929
|
},
|
|
30864
30930
|
"fieldName": "disablePast"
|
|
30865
30931
|
},
|
|
30932
|
+
{
|
|
30933
|
+
"name": "enterkeyhint",
|
|
30934
|
+
"type": {
|
|
30935
|
+
"text": "string"
|
|
30936
|
+
},
|
|
30937
|
+
"default": "''",
|
|
30938
|
+
"fieldName": "enterKeyHint"
|
|
30939
|
+
},
|
|
30866
30940
|
{
|
|
30867
30941
|
"name": "error-text",
|
|
30868
30942
|
"type": {
|
|
@@ -30887,6 +30961,14 @@
|
|
|
30887
30961
|
"default": "''",
|
|
30888
30962
|
"fieldName": "hint"
|
|
30889
30963
|
},
|
|
30964
|
+
{
|
|
30965
|
+
"name": "inputmode",
|
|
30966
|
+
"type": {
|
|
30967
|
+
"text": "string"
|
|
30968
|
+
},
|
|
30969
|
+
"default": "''",
|
|
30970
|
+
"fieldName": "inputMode"
|
|
30971
|
+
},
|
|
30890
30972
|
{
|
|
30891
30973
|
"name": "label",
|
|
30892
30974
|
"type": {
|
|
@@ -32191,7 +32273,7 @@
|
|
|
32191
32273
|
}
|
|
32192
32274
|
},
|
|
32193
32275
|
{
|
|
32194
|
-
"description": "Summary content.",
|
|
32276
|
+
"description": "Summary content. Takes priority over `summary` when any light-DOM child carries `slot=\"summary\"` — the fallback localized \"Details\" text only appears when neither is set.",
|
|
32195
32277
|
"name": "summary",
|
|
32196
32278
|
"inheritedFrom": {
|
|
32197
32279
|
"name": "LyraDetails",
|
|
@@ -32319,6 +32401,19 @@
|
|
|
32319
32401
|
"module": "src/internal/lyra-element.ts"
|
|
32320
32402
|
}
|
|
32321
32403
|
},
|
|
32404
|
+
{
|
|
32405
|
+
"kind": "field",
|
|
32406
|
+
"name": "hasSummarySlot",
|
|
32407
|
+
"type": {
|
|
32408
|
+
"text": "boolean"
|
|
32409
|
+
},
|
|
32410
|
+
"privacy": "private",
|
|
32411
|
+
"default": "false",
|
|
32412
|
+
"inheritedFrom": {
|
|
32413
|
+
"name": "LyraDetails",
|
|
32414
|
+
"module": "src/components/details/details.class.ts"
|
|
32415
|
+
}
|
|
32416
|
+
},
|
|
32322
32417
|
{
|
|
32323
32418
|
"kind": "field",
|
|
32324
32419
|
"name": "locale",
|
|
@@ -32343,6 +32438,15 @@
|
|
|
32343
32438
|
"module": "src/components/details/details.class.ts"
|
|
32344
32439
|
}
|
|
32345
32440
|
},
|
|
32441
|
+
{
|
|
32442
|
+
"kind": "field",
|
|
32443
|
+
"name": "onSummarySlotChange",
|
|
32444
|
+
"privacy": "private",
|
|
32445
|
+
"inheritedFrom": {
|
|
32446
|
+
"name": "LyraDetails",
|
|
32447
|
+
"module": "src/components/details/details.class.ts"
|
|
32448
|
+
}
|
|
32449
|
+
},
|
|
32346
32450
|
{
|
|
32347
32451
|
"kind": "field",
|
|
32348
32452
|
"name": "onToggle",
|
|
@@ -32948,7 +33052,7 @@
|
|
|
32948
33052
|
"name": ""
|
|
32949
33053
|
},
|
|
32950
33054
|
{
|
|
32951
|
-
"description": "Summary content.",
|
|
33055
|
+
"description": "Summary content. Takes priority over `summary` when any light-DOM child carries `slot=\"summary\"` — the fallback localized \"Details\" text only appears when neither is set.",
|
|
32952
33056
|
"name": "summary"
|
|
32953
33057
|
}
|
|
32954
33058
|
],
|
|
@@ -32991,6 +33095,15 @@
|
|
|
32991
33095
|
"module": "src/internal/lyra-element.ts"
|
|
32992
33096
|
}
|
|
32993
33097
|
},
|
|
33098
|
+
{
|
|
33099
|
+
"kind": "field",
|
|
33100
|
+
"name": "hasSummarySlot",
|
|
33101
|
+
"type": {
|
|
33102
|
+
"text": "boolean"
|
|
33103
|
+
},
|
|
33104
|
+
"privacy": "private",
|
|
33105
|
+
"default": "false"
|
|
33106
|
+
},
|
|
32994
33107
|
{
|
|
32995
33108
|
"kind": "field",
|
|
32996
33109
|
"name": "locale",
|
|
@@ -33011,6 +33124,11 @@
|
|
|
33011
33124
|
"name": "onClick",
|
|
33012
33125
|
"privacy": "private"
|
|
33013
33126
|
},
|
|
33127
|
+
{
|
|
33128
|
+
"kind": "field",
|
|
33129
|
+
"name": "onSummarySlotChange",
|
|
33130
|
+
"privacy": "private"
|
|
33131
|
+
},
|
|
33014
33132
|
{
|
|
33015
33133
|
"kind": "field",
|
|
33016
33134
|
"name": "onToggle",
|
|
@@ -42896,7 +43014,7 @@
|
|
|
42896
43014
|
"declarations": [
|
|
42897
43015
|
{
|
|
42898
43016
|
"kind": "class",
|
|
42899
|
-
"description": "`<lyra-heatmap>` — a Canvas heatmap with a DPR-aware, resize-aware redraw\nloop, in one of two `mode`s:\n\n- `\"matrix\"` (default): a `rowLabels` x `colLabels` grid of `values`. `-1`\n (or any non-finite value) is treated as \"no data\". `scale=\"sqrt\"`\n compresses the ramp via `sqrtStep()` so one heavy cell doesn't wash out\n the rest; the default `\"linear\"` scale maps linearly instead.\n- `\"calendar\"`: a GitHub-style Sunday-Saturday (or `firstDayOfWeek`-anchored\n — see below) x week grid built from `days`. `scale` governs its\n bucketing too: the default `\"linear\"` buckets by `quartileBucket()`\n (today's original behavior, unchanged); `\"sqrt\"` instead compresses via\n the same `sqrtStep()` magnitude compression matrix mode uses, so one\n heavy day doesn't wash out the rest. As in matrix mode, a cell whose\n `value` is negative or non-finite is treated as \"no data\" rather than\n being bucketed — as is a grid position with no matching entry in `days`\n at all (a gap in a sparse calendar).\n\nThe sequential color ramp's endpoints are read from the\n`--lyra-heatmap-scale-lo`/`-hi` custom properties (declared in\n`heatmap.styles.ts`) so hosts can retheme it — canvas can't consume\n`var()` directly, so they're resolved once per draw via\n`getComputedStyle`, then normalized to RGB by `resolveRgb()` (any valid\nCSS color syntax, not just hex — see its doc comment).\n\nEvery cell is independently addressable: a `pointermove` hit test over the\ncanvas shows `[part=\"tooltip\"]` with that cell's label + value (hidden on\n`pointerleave`); the canvas is `tabindex=\"0\"` with arrow-key roving focus\n(a stroked ring redrawn over the focused cell on every draw, plus a\nvisually-hidden `aria-live=\"polite\"` status announcement — avoids a\nDOM-node-per-cell overlay, which would be hundreds of nodes for a year\ncalendar); and a click, or Enter/Space on the focused cell, fires\n`lyra-cell-click`. `annotations` additionally strokes a ring around\nspecific cells (e.g. to call out an anomaly), each one optionally\nsurfaced in the legend too via `[part=\"legend-annotation\"]`.\n\n`columnX` (calendar mode only) overrides the x-origin computed for each\nweek column — drawing, hit-testing, the focus ring, and month-label\npositioning all consult it consistently, so a consumer can pixel-align a\ncalendar's week columns with a sibling chart's coordinate system. Unset\n(the default) keeps the original evenly-spaced formula. `rowY` is its\ncalendar-mode vertical analogue — overrides the y-origin computed for each\nweekday row, consulted consistently by drawing, hit-testing, and the focus\nring via the private `rowYFor()` helper (mirroring `columnXFor()` exactly).\n\n`firstDayOfWeek` (calendar mode only, default `0`/Sunday, no-op in matrix\nmode) anchors the calendar grid at a different weekday — `0`-`6`, same\nnumbering as `CalendarCellPos.weekday` (`0` Sunday .. `6` Saturday) —\nthreaded into `buildCalendarGrid()`.\n\n`cellSize`/`fitToWidth` (previously matrix-mode only) also drive calendar\nmode's per-cell size: unset, calendar mode keeps today's original 11px\ncell size unchanged; explicitly set, the same fixed size (or, with\n`fitToWidth`, the same host-width-derived size matrix mode already\nsupports) governs calendar mode's grid too.",
|
|
43017
|
+
"description": "`<lyra-heatmap>` — a Canvas heatmap with a DPR-aware, resize-aware redraw\nloop, in one of two `mode`s:\n\n- `\"matrix\"` (default): a `rowLabels` x `colLabels` grid of `values`. `-1`\n (or any non-finite value) is treated as \"no data\". `scale=\"sqrt\"`\n compresses the ramp via `sqrtStep()` so one heavy cell doesn't wash out\n the rest; the default `\"linear\"` scale maps linearly instead.\n- `\"calendar\"`: a GitHub-style Sunday-Saturday (or `firstDayOfWeek`-anchored\n — see below) x week grid built from `days`. `scale` governs its\n bucketing too: the default `\"linear\"` buckets by `quartileBucket()`\n (today's original behavior, unchanged); `\"sqrt\"` instead compresses via\n the same `sqrtStep()` magnitude compression matrix mode uses, so one\n heavy day doesn't wash out the rest. As in matrix mode, a cell whose\n `value` is negative or non-finite is treated as \"no data\" rather than\n being bucketed — as is a grid position with no matching entry in `days`\n at all (a gap in a sparse calendar).\n\nThe sequential color ramp's endpoints are read from the\n`--lyra-heatmap-scale-lo`/`-hi` custom properties (declared in\n`heatmap.styles.ts`) so hosts can retheme it — canvas can't consume\n`var()` directly, so they're resolved once per draw via\n`getComputedStyle`, then normalized to RGB by `resolveRgb()` (any valid\nCSS color syntax, not just hex — see its doc comment).\n\nEvery cell is independently addressable: a `pointermove` hit test over the\ncanvas shows `[part=\"tooltip\"]` with that cell's label + value (hidden on\n`pointerleave`); the canvas is `tabindex=\"0\"` with arrow-key roving focus\n(a stroked ring redrawn over the focused cell on every draw, plus a\nvisually-hidden `aria-live=\"polite\"` status announcement — avoids a\nDOM-node-per-cell overlay, which would be hundreds of nodes for a year\ncalendar); and a click, or Enter/Space on the focused cell, fires\n`lyra-cell-click`. `annotations` additionally strokes a ring around\nspecific cells (e.g. to call out an anomaly), each one optionally\nsurfaced in the legend too via `[part=\"legend-annotation\"]`.\nSet `accessibleCells` when each cell needs a persistent DOM control for\nassistive technology. The opt-in overlay uses native buttons with a\nroving tabindex, localized `aria-label`, and explicit `aria-pressed` state\nderived from the controlled `selectedCell` property; the canvas remains the\nvisual rendering surface underneath.\n\n`columnX` (calendar mode only) overrides the x-origin computed for each\nweek column — drawing, hit-testing, the focus ring, and month-label\npositioning all consult it consistently, so a consumer can pixel-align a\ncalendar's week columns with a sibling chart's coordinate system. Unset\n(the default) keeps the original evenly-spaced formula. `rowY` is its\ncalendar-mode vertical analogue — overrides the y-origin computed for each\nweekday row, consulted consistently by drawing, hit-testing, and the focus\nring via the private `rowYFor()` helper (mirroring `columnXFor()` exactly).\n\n`firstDayOfWeek` (calendar mode only, default `0`/Sunday, no-op in matrix\nmode) anchors the calendar grid at a different weekday — `0`-`6`, same\nnumbering as `CalendarCellPos.weekday` (`0` Sunday .. `6` Saturday) —\nthreaded into `buildCalendarGrid()`.\n\n`cellSize`/`fitToWidth` (previously matrix-mode only) also drive calendar\nmode's per-cell size: unset, calendar mode keeps today's original 11px\ncell size unchanged; explicitly set, the same fixed size (or, with\n`fitToWidth`, the same host-width-derived size matrix mode already\nsupports) governs calendar mode's grid too.",
|
|
42900
43018
|
"name": "LyraHeatmap",
|
|
42901
43019
|
"cssParts": [
|
|
42902
43020
|
{
|
|
@@ -42907,6 +43025,14 @@
|
|
|
42907
43025
|
"description": "The heatmap canvas.",
|
|
42908
43026
|
"name": "canvas"
|
|
42909
43027
|
},
|
|
43028
|
+
{
|
|
43029
|
+
"description": "An opt-in native button for one matrix or calendar cell.",
|
|
43030
|
+
"name": "cell"
|
|
43031
|
+
},
|
|
43032
|
+
{
|
|
43033
|
+
"description": "The opt-in per-cell accessibility overlay.",
|
|
43034
|
+
"name": "cells"
|
|
43035
|
+
},
|
|
42910
43036
|
{
|
|
42911
43037
|
"description": "The color legend.",
|
|
42912
43038
|
"name": "legend"
|
|
@@ -42950,6 +43076,16 @@
|
|
|
42950
43076
|
},
|
|
42951
43077
|
"privacy": "private"
|
|
42952
43078
|
},
|
|
43079
|
+
{
|
|
43080
|
+
"kind": "field",
|
|
43081
|
+
"name": "accessibleCells",
|
|
43082
|
+
"type": {
|
|
43083
|
+
"text": "boolean"
|
|
43084
|
+
},
|
|
43085
|
+
"default": "false",
|
|
43086
|
+
"description": "Renders an opt-in DOM overlay of native buttons over the canvas. Each\nbutton has a localized accessible name, explicit `aria-pressed=\"true\"` or\n`\"false\"` from `selectedCell`, and participates in a roving tabindex so a\ndense calendar does not create hundreds of tab stops. The selection is\ncontrolled: clicking a cell still emits `lyra-cell-click`, and the\nconsumer updates `selectedCell` when it wants `aria-pressed` to change.",
|
|
43087
|
+
"attribute": "accessible-cells"
|
|
43088
|
+
},
|
|
42953
43089
|
{
|
|
42954
43090
|
"kind": "field",
|
|
42955
43091
|
"name": "annotations",
|
|
@@ -43248,6 +43384,21 @@
|
|
|
43248
43384
|
},
|
|
43249
43385
|
"description": "Overrides the month-axis label text in calendar mode -- receives the real JS month index\n(`0` January .. `11` December) and full year for a month boundary that would otherwise\nrender a label and, when it returns a string, uses it instead of the built-in\n`Intl.DateTimeFormat`-derived short month name. Mirrors `weekdayLabelText`'s exact\noverride-with-fallback shape -- unset (the default) reproduces today's exact\n`toLocaleString(undefined, ...)`-derived output."
|
|
43250
43386
|
},
|
|
43387
|
+
{
|
|
43388
|
+
"kind": "field",
|
|
43389
|
+
"name": "onAccessibleCellClick",
|
|
43390
|
+
"privacy": "private"
|
|
43391
|
+
},
|
|
43392
|
+
{
|
|
43393
|
+
"kind": "field",
|
|
43394
|
+
"name": "onAccessibleCellFocus",
|
|
43395
|
+
"privacy": "private"
|
|
43396
|
+
},
|
|
43397
|
+
{
|
|
43398
|
+
"kind": "field",
|
|
43399
|
+
"name": "onAccessibleCellKeyDown",
|
|
43400
|
+
"privacy": "private"
|
|
43401
|
+
},
|
|
43251
43402
|
{
|
|
43252
43403
|
"kind": "field",
|
|
43253
43404
|
"name": "onCanvasClick",
|
|
@@ -43398,6 +43549,53 @@
|
|
|
43398
43549
|
},
|
|
43399
43550
|
"description": "Overrides the weekday-axis label text in calendar mode -- receives the real JS weekday index\n(`0` Sunday .. `6` Saturday) for a row that would otherwise render a label (today, only rows\n1/3/5 relative to `firstDayOfWeek` ever do) and, when it returns a string, uses it instead of\nthe built-in `Intl.DateTimeFormat`-derived short weekday name. Unset (the default) reproduces\ntoday's exact locale-derived output."
|
|
43400
43551
|
},
|
|
43552
|
+
{
|
|
43553
|
+
"kind": "method",
|
|
43554
|
+
"name": "accessibleCellAtKey",
|
|
43555
|
+
"privacy": "private",
|
|
43556
|
+
"return": {
|
|
43557
|
+
"type": {
|
|
43558
|
+
"text": "CellPos | null"
|
|
43559
|
+
}
|
|
43560
|
+
},
|
|
43561
|
+
"parameters": [
|
|
43562
|
+
{
|
|
43563
|
+
"name": "key",
|
|
43564
|
+
"type": {
|
|
43565
|
+
"text": "string"
|
|
43566
|
+
}
|
|
43567
|
+
}
|
|
43568
|
+
]
|
|
43569
|
+
},
|
|
43570
|
+
{
|
|
43571
|
+
"kind": "method",
|
|
43572
|
+
"name": "accessibleCellKey",
|
|
43573
|
+
"privacy": "private",
|
|
43574
|
+
"return": {
|
|
43575
|
+
"type": {
|
|
43576
|
+
"text": "string"
|
|
43577
|
+
}
|
|
43578
|
+
},
|
|
43579
|
+
"parameters": [
|
|
43580
|
+
{
|
|
43581
|
+
"name": "pos",
|
|
43582
|
+
"type": {
|
|
43583
|
+
"text": "CellPos"
|
|
43584
|
+
}
|
|
43585
|
+
}
|
|
43586
|
+
]
|
|
43587
|
+
},
|
|
43588
|
+
{
|
|
43589
|
+
"kind": "method",
|
|
43590
|
+
"name": "accessibleCellPositions",
|
|
43591
|
+
"privacy": "private",
|
|
43592
|
+
"return": {
|
|
43593
|
+
"type": {
|
|
43594
|
+
"text": "CellPos[]"
|
|
43595
|
+
}
|
|
43596
|
+
},
|
|
43597
|
+
"description": "Positions represented by the optional DOM accessibility overlay. The\ncanvas paints empty calendar grid positions too, so those positions get a\nreal date and a no-data announcement just like pointer/keyboard hit tests."
|
|
43598
|
+
},
|
|
43401
43599
|
{
|
|
43402
43600
|
"kind": "method",
|
|
43403
43601
|
"name": "addEventListener",
|
|
@@ -43725,6 +43923,24 @@
|
|
|
43725
43923
|
],
|
|
43726
43924
|
"description": "The first interactive matrix cell in row-major order, or `null` if every cell is excluded —\nused by `onMatrixKeyDown()`'s first-arrow-press case."
|
|
43727
43925
|
},
|
|
43926
|
+
{
|
|
43927
|
+
"kind": "method",
|
|
43928
|
+
"name": "focusAccessibleCell",
|
|
43929
|
+
"privacy": "private",
|
|
43930
|
+
"return": {
|
|
43931
|
+
"type": {
|
|
43932
|
+
"text": "void"
|
|
43933
|
+
}
|
|
43934
|
+
},
|
|
43935
|
+
"parameters": [
|
|
43936
|
+
{
|
|
43937
|
+
"name": "pos",
|
|
43938
|
+
"type": {
|
|
43939
|
+
"text": "CellPos | null"
|
|
43940
|
+
}
|
|
43941
|
+
}
|
|
43942
|
+
]
|
|
43943
|
+
},
|
|
43728
43944
|
{
|
|
43729
43945
|
"kind": "method",
|
|
43730
43946
|
"name": "focusRingColor",
|
|
@@ -44154,6 +44370,16 @@
|
|
|
44154
44370
|
"module": "src/internal/lyra-element.ts"
|
|
44155
44371
|
}
|
|
44156
44372
|
},
|
|
44373
|
+
{
|
|
44374
|
+
"kind": "method",
|
|
44375
|
+
"name": "renderAccessibleCells",
|
|
44376
|
+
"privacy": "private",
|
|
44377
|
+
"return": {
|
|
44378
|
+
"type": {
|
|
44379
|
+
"text": "TemplateResult"
|
|
44380
|
+
}
|
|
44381
|
+
}
|
|
44382
|
+
},
|
|
44157
44383
|
{
|
|
44158
44384
|
"kind": "method",
|
|
44159
44385
|
"name": "resolveCanvasColor",
|
|
@@ -44398,6 +44624,15 @@
|
|
|
44398
44624
|
}
|
|
44399
44625
|
],
|
|
44400
44626
|
"attributes": [
|
|
44627
|
+
{
|
|
44628
|
+
"name": "accessible-cells",
|
|
44629
|
+
"type": {
|
|
44630
|
+
"text": "boolean"
|
|
44631
|
+
},
|
|
44632
|
+
"default": "false",
|
|
44633
|
+
"description": "Renders an opt-in DOM overlay of native buttons over the canvas. Each\nbutton has a localized accessible name, explicit `aria-pressed=\"true\"` or\n`\"false\"` from `selectedCell`, and participates in a roving tabindex so a\ndense calendar does not create hundreds of tab stops. The selection is\ncontrolled: clicking a cell still emits `lyra-cell-click`, and the\nconsumer updates `selectedCell` when it wants `aria-pressed` to change.",
|
|
44634
|
+
"fieldName": "accessibleCells"
|
|
44635
|
+
},
|
|
44401
44636
|
{
|
|
44402
44637
|
"name": "bucket-count",
|
|
44403
44638
|
"type": {
|
|
@@ -54054,6 +54289,16 @@
|
|
|
54054
54289
|
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocapitalize`. Empty string omits\nthe attribute (browser default).",
|
|
54055
54290
|
"attribute": "autocapitalize"
|
|
54056
54291
|
},
|
|
54292
|
+
{
|
|
54293
|
+
"kind": "field",
|
|
54294
|
+
"name": "autocomplete",
|
|
54295
|
+
"type": {
|
|
54296
|
+
"text": "string"
|
|
54297
|
+
},
|
|
54298
|
+
"default": "'off'",
|
|
54299
|
+
"description": "Native editing and virtual-keyboard hints forwarded to free-text mode's input.",
|
|
54300
|
+
"attribute": "autocomplete"
|
|
54301
|
+
},
|
|
54057
54302
|
{
|
|
54058
54303
|
"kind": "field",
|
|
54059
54304
|
"name": "catalog",
|
|
@@ -54142,6 +54387,15 @@
|
|
|
54142
54387
|
"module": "src/internal/lyra-element.ts"
|
|
54143
54388
|
}
|
|
54144
54389
|
},
|
|
54390
|
+
{
|
|
54391
|
+
"kind": "field",
|
|
54392
|
+
"name": "enterKeyHint",
|
|
54393
|
+
"type": {
|
|
54394
|
+
"text": "string"
|
|
54395
|
+
},
|
|
54396
|
+
"default": "''",
|
|
54397
|
+
"attribute": "enterkeyhint"
|
|
54398
|
+
},
|
|
54145
54399
|
{
|
|
54146
54400
|
"kind": "field",
|
|
54147
54401
|
"name": "errorText",
|
|
@@ -54207,6 +54461,15 @@
|
|
|
54207
54461
|
"description": "Hint text below the field. Unset (the default): no hint chrome renders.",
|
|
54208
54462
|
"attribute": "hint"
|
|
54209
54463
|
},
|
|
54464
|
+
{
|
|
54465
|
+
"kind": "field",
|
|
54466
|
+
"name": "inputMode",
|
|
54467
|
+
"type": {
|
|
54468
|
+
"text": "string"
|
|
54469
|
+
},
|
|
54470
|
+
"default": "''",
|
|
54471
|
+
"attribute": "inputmode"
|
|
54472
|
+
},
|
|
54210
54473
|
{
|
|
54211
54474
|
"kind": "field",
|
|
54212
54475
|
"name": "internals",
|
|
@@ -54948,6 +55211,15 @@
|
|
|
54948
55211
|
"description": "Forwarded to the free-text mode's native `<input>`'s own `autocapitalize`. Empty string omits\nthe attribute (browser default).",
|
|
54949
55212
|
"fieldName": "autocapitalize"
|
|
54950
55213
|
},
|
|
55214
|
+
{
|
|
55215
|
+
"name": "autocomplete",
|
|
55216
|
+
"type": {
|
|
55217
|
+
"text": "string"
|
|
55218
|
+
},
|
|
55219
|
+
"default": "'off'",
|
|
55220
|
+
"description": "Native editing and virtual-keyboard hints forwarded to free-text mode's input.",
|
|
55221
|
+
"fieldName": "autocomplete"
|
|
55222
|
+
},
|
|
54951
55223
|
{
|
|
54952
55224
|
"name": "autocorrect",
|
|
54953
55225
|
"type": {
|
|
@@ -54964,6 +55236,14 @@
|
|
|
54964
55236
|
},
|
|
54965
55237
|
"fieldName": "disabled"
|
|
54966
55238
|
},
|
|
55239
|
+
{
|
|
55240
|
+
"name": "enterkeyhint",
|
|
55241
|
+
"type": {
|
|
55242
|
+
"text": "string"
|
|
55243
|
+
},
|
|
55244
|
+
"default": "''",
|
|
55245
|
+
"fieldName": "enterKeyHint"
|
|
55246
|
+
},
|
|
54967
55247
|
{
|
|
54968
55248
|
"name": "error-text",
|
|
54969
55249
|
"type": {
|
|
@@ -54982,6 +55262,14 @@
|
|
|
54982
55262
|
"description": "Hint text below the field. Unset (the default): no hint chrome renders.",
|
|
54983
55263
|
"fieldName": "hint"
|
|
54984
55264
|
},
|
|
55265
|
+
{
|
|
55266
|
+
"name": "inputmode",
|
|
55267
|
+
"type": {
|
|
55268
|
+
"text": "string"
|
|
55269
|
+
},
|
|
55270
|
+
"default": "''",
|
|
55271
|
+
"fieldName": "inputMode"
|
|
55272
|
+
},
|
|
54985
55273
|
{
|
|
54986
55274
|
"name": "label",
|
|
54987
55275
|
"type": {
|
|
@@ -65171,7 +65459,7 @@
|
|
|
65171
65459
|
"declarations": [
|
|
65172
65460
|
{
|
|
65173
65461
|
"kind": "class",
|
|
65174
|
-
"description": "`<lyra-segmented>` — a single-select button row with the WAI-ARIA APG `radiogroup` contract\nbuilt in: `role=\"radiogroup\"`/`role=\"radio\"`, roving tabindex, automatic activation (click or\narrow-key move both select immediately, like a native radio group), cyclic Arrow/Home/End\nnavigation among non-disabled items. First-party invention
|
|
65462
|
+
"description": "`<lyra-segmented>` — a single-select button row with the WAI-ARIA APG `radiogroup` contract\nbuilt in: `role=\"radiogroup\"`/`role=\"radio\"`, roving tabindex, automatic activation (click or\narrow-key move both select immediately, like a native radio group), cyclic Arrow/Home/End\nnavigation among non-disabled items. First-party invention --\n\"choose exactly one of N labeled options, rendered as a button row\" is ubiquitous\nsettings/filter-panel UI.",
|
|
65175
65463
|
"name": "LyraSegmented",
|
|
65176
65464
|
"cssParts": [
|
|
65177
65465
|
{
|
|
@@ -65183,7 +65471,7 @@
|
|
|
65183
65471
|
"name": "segment"
|
|
65184
65472
|
},
|
|
65185
65473
|
{
|
|
65186
|
-
"description": "
|
|
65474
|
+
"description": "Optional leading visual supplied by the item's `icon` field; content may have a natural aspect ratio and is not restricted to a square icon.",
|
|
65187
65475
|
"name": "segment-icon"
|
|
65188
65476
|
},
|
|
65189
65477
|
{
|
|
@@ -77961,7 +78249,7 @@
|
|
|
77961
78249
|
"declarations": [
|
|
77962
78250
|
{
|
|
77963
78251
|
"kind": "class",
|
|
77964
|
-
"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
|
|
78252
|
+
"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 editor defaults to `spellcheck=\"false\"`, `autocapitalize=\"off\"`,\n`autocorrect=\"off\"`, and `autocomplete=\"off\"` because its content is raw\nJSON, never prose. The corresponding native editing properties remain\nconfigurable for integrations that need different browser behavior.\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.",
|
|
77965
78253
|
"name": "LyraToolApprovalDialog",
|
|
77966
78254
|
"cssParts": [
|
|
77967
78255
|
{
|
|
@@ -78029,6 +78317,33 @@
|
|
|
78029
78317
|
"default": "{}",
|
|
78030
78318
|
"description": "The proposed call's arguments — any JSON-serializable value, rendered via `<lyra-json-viewer>` (or, while editing, stringified into the textarea)."
|
|
78031
78319
|
},
|
|
78320
|
+
{
|
|
78321
|
+
"kind": "field",
|
|
78322
|
+
"name": "autoCorrect",
|
|
78323
|
+
"type": {
|
|
78324
|
+
"text": "string"
|
|
78325
|
+
},
|
|
78326
|
+
"default": "'off'",
|
|
78327
|
+
"attribute": "autocorrect"
|
|
78328
|
+
},
|
|
78329
|
+
{
|
|
78330
|
+
"kind": "field",
|
|
78331
|
+
"name": "autocapitalize",
|
|
78332
|
+
"type": {
|
|
78333
|
+
"text": "string"
|
|
78334
|
+
},
|
|
78335
|
+
"default": "'off'",
|
|
78336
|
+
"attribute": "autocapitalize"
|
|
78337
|
+
},
|
|
78338
|
+
{
|
|
78339
|
+
"kind": "field",
|
|
78340
|
+
"name": "autocomplete",
|
|
78341
|
+
"type": {
|
|
78342
|
+
"text": "string"
|
|
78343
|
+
},
|
|
78344
|
+
"default": "'off'",
|
|
78345
|
+
"attribute": "autocomplete"
|
|
78346
|
+
},
|
|
78032
78347
|
{
|
|
78033
78348
|
"kind": "field",
|
|
78034
78349
|
"name": "draftError",
|
|
@@ -78097,12 +78412,30 @@
|
|
|
78097
78412
|
"module": "src/internal/lyra-element.ts"
|
|
78098
78413
|
}
|
|
78099
78414
|
},
|
|
78415
|
+
{
|
|
78416
|
+
"kind": "field",
|
|
78417
|
+
"name": "enterKeyHint",
|
|
78418
|
+
"type": {
|
|
78419
|
+
"text": "string"
|
|
78420
|
+
},
|
|
78421
|
+
"default": "''",
|
|
78422
|
+
"attribute": "enterkeyhint"
|
|
78423
|
+
},
|
|
78100
78424
|
{
|
|
78101
78425
|
"kind": "field",
|
|
78102
78426
|
"name": "errorId",
|
|
78103
78427
|
"privacy": "private",
|
|
78104
78428
|
"readonly": true
|
|
78105
78429
|
},
|
|
78430
|
+
{
|
|
78431
|
+
"kind": "field",
|
|
78432
|
+
"name": "inputMode",
|
|
78433
|
+
"type": {
|
|
78434
|
+
"text": "string"
|
|
78435
|
+
},
|
|
78436
|
+
"default": "''",
|
|
78437
|
+
"attribute": "inputmode"
|
|
78438
|
+
},
|
|
78106
78439
|
{
|
|
78107
78440
|
"kind": "field",
|
|
78108
78441
|
"name": "locale",
|
|
@@ -78165,6 +78498,16 @@
|
|
|
78165
78498
|
},
|
|
78166
78499
|
"privacy": "private"
|
|
78167
78500
|
},
|
|
78501
|
+
{
|
|
78502
|
+
"kind": "field",
|
|
78503
|
+
"name": "spellcheck",
|
|
78504
|
+
"type": {
|
|
78505
|
+
"text": "boolean"
|
|
78506
|
+
},
|
|
78507
|
+
"default": "false",
|
|
78508
|
+
"description": "Native editing-assistance attributes forwarded to the raw-JSON textarea.",
|
|
78509
|
+
"attribute": "spellcheck"
|
|
78510
|
+
},
|
|
78168
78511
|
{
|
|
78169
78512
|
"kind": "field",
|
|
78170
78513
|
"name": "stopLocaleSubscription",
|
|
@@ -78211,6 +78554,15 @@
|
|
|
78211
78554
|
"description": "The proposed tool/function's name, e.g. `web_search`. Drives the heading and the dialog's accessible name.",
|
|
78212
78555
|
"attribute": "tool-name"
|
|
78213
78556
|
},
|
|
78557
|
+
{
|
|
78558
|
+
"kind": "field",
|
|
78559
|
+
"name": "wrap",
|
|
78560
|
+
"type": {
|
|
78561
|
+
"text": "ToolApprovalDialogWrap"
|
|
78562
|
+
},
|
|
78563
|
+
"default": "'soft'",
|
|
78564
|
+
"attribute": "wrap"
|
|
78565
|
+
},
|
|
78214
78566
|
{
|
|
78215
78567
|
"kind": "method",
|
|
78216
78568
|
"name": "activateOverlay",
|
|
@@ -78408,6 +78760,30 @@
|
|
|
78408
78760
|
}
|
|
78409
78761
|
],
|
|
78410
78762
|
"attributes": [
|
|
78763
|
+
{
|
|
78764
|
+
"name": "autocapitalize",
|
|
78765
|
+
"type": {
|
|
78766
|
+
"text": "string"
|
|
78767
|
+
},
|
|
78768
|
+
"default": "'off'",
|
|
78769
|
+
"fieldName": "autocapitalize"
|
|
78770
|
+
},
|
|
78771
|
+
{
|
|
78772
|
+
"name": "autocomplete",
|
|
78773
|
+
"type": {
|
|
78774
|
+
"text": "string"
|
|
78775
|
+
},
|
|
78776
|
+
"default": "'off'",
|
|
78777
|
+
"fieldName": "autocomplete"
|
|
78778
|
+
},
|
|
78779
|
+
{
|
|
78780
|
+
"name": "autocorrect",
|
|
78781
|
+
"type": {
|
|
78782
|
+
"text": "string"
|
|
78783
|
+
},
|
|
78784
|
+
"default": "'off'",
|
|
78785
|
+
"fieldName": "autoCorrect"
|
|
78786
|
+
},
|
|
78411
78787
|
{
|
|
78412
78788
|
"name": "editable",
|
|
78413
78789
|
"type": {
|
|
@@ -78417,6 +78793,22 @@
|
|
|
78417
78793
|
"description": "Whether an \"Edit\" affordance is offered at all. When `false`, `args` is always shown read-only and can never be changed before approval.",
|
|
78418
78794
|
"fieldName": "editable"
|
|
78419
78795
|
},
|
|
78796
|
+
{
|
|
78797
|
+
"name": "enterkeyhint",
|
|
78798
|
+
"type": {
|
|
78799
|
+
"text": "string"
|
|
78800
|
+
},
|
|
78801
|
+
"default": "''",
|
|
78802
|
+
"fieldName": "enterKeyHint"
|
|
78803
|
+
},
|
|
78804
|
+
{
|
|
78805
|
+
"name": "inputmode",
|
|
78806
|
+
"type": {
|
|
78807
|
+
"text": "string"
|
|
78808
|
+
},
|
|
78809
|
+
"default": "''",
|
|
78810
|
+
"fieldName": "inputMode"
|
|
78811
|
+
},
|
|
78420
78812
|
{
|
|
78421
78813
|
"name": "locale",
|
|
78422
78814
|
"type": {
|
|
@@ -78439,6 +78831,15 @@
|
|
|
78439
78831
|
"description": "Whether the dialog is open. Set this (or call `close()`) — there is no separate `show()`/`hide()` pair.",
|
|
78440
78832
|
"fieldName": "open"
|
|
78441
78833
|
},
|
|
78834
|
+
{
|
|
78835
|
+
"name": "spellcheck",
|
|
78836
|
+
"type": {
|
|
78837
|
+
"text": "boolean"
|
|
78838
|
+
},
|
|
78839
|
+
"default": "false",
|
|
78840
|
+
"description": "Native editing-assistance attributes forwarded to the raw-JSON textarea.",
|
|
78841
|
+
"fieldName": "spellcheck"
|
|
78842
|
+
},
|
|
78442
78843
|
{
|
|
78443
78844
|
"name": "tool-name",
|
|
78444
78845
|
"type": {
|
|
@@ -78447,6 +78848,14 @@
|
|
|
78447
78848
|
"default": "''",
|
|
78448
78849
|
"description": "The proposed tool/function's name, e.g. `web_search`. Drives the heading and the dialog's accessible name.",
|
|
78449
78850
|
"fieldName": "toolName"
|
|
78851
|
+
},
|
|
78852
|
+
{
|
|
78853
|
+
"name": "wrap",
|
|
78854
|
+
"type": {
|
|
78855
|
+
"text": "ToolApprovalDialogWrap"
|
|
78856
|
+
},
|
|
78857
|
+
"default": "'soft'",
|
|
78858
|
+
"fieldName": "wrap"
|
|
78450
78859
|
}
|
|
78451
78860
|
],
|
|
78452
78861
|
"superclass": {
|
|
@@ -81387,6 +81796,34 @@
|
|
|
81387
81796
|
}
|
|
81388
81797
|
],
|
|
81389
81798
|
"members": [
|
|
81799
|
+
{
|
|
81800
|
+
"kind": "field",
|
|
81801
|
+
"name": "autoCorrect",
|
|
81802
|
+
"type": {
|
|
81803
|
+
"text": "string"
|
|
81804
|
+
},
|
|
81805
|
+
"default": "''",
|
|
81806
|
+
"attribute": "autocorrect"
|
|
81807
|
+
},
|
|
81808
|
+
{
|
|
81809
|
+
"kind": "field",
|
|
81810
|
+
"name": "autocapitalize",
|
|
81811
|
+
"type": {
|
|
81812
|
+
"text": "string"
|
|
81813
|
+
},
|
|
81814
|
+
"default": "''",
|
|
81815
|
+
"attribute": "autocapitalize"
|
|
81816
|
+
},
|
|
81817
|
+
{
|
|
81818
|
+
"kind": "field",
|
|
81819
|
+
"name": "autocomplete",
|
|
81820
|
+
"type": {
|
|
81821
|
+
"text": "string"
|
|
81822
|
+
},
|
|
81823
|
+
"default": "''",
|
|
81824
|
+
"description": "Native editing-assistance and virtual-keyboard hints forwarded to the search input.",
|
|
81825
|
+
"attribute": "autocomplete"
|
|
81826
|
+
},
|
|
81390
81827
|
{
|
|
81391
81828
|
"kind": "field",
|
|
81392
81829
|
"name": "categoryIds",
|
|
@@ -81422,6 +81859,15 @@
|
|
|
81422
81859
|
"module": "src/internal/lyra-element.ts"
|
|
81423
81860
|
}
|
|
81424
81861
|
},
|
|
81862
|
+
{
|
|
81863
|
+
"kind": "field",
|
|
81864
|
+
"name": "enterKeyHint",
|
|
81865
|
+
"type": {
|
|
81866
|
+
"text": "string"
|
|
81867
|
+
},
|
|
81868
|
+
"default": "''",
|
|
81869
|
+
"attribute": "enterkeyhint"
|
|
81870
|
+
},
|
|
81425
81871
|
{
|
|
81426
81872
|
"kind": "field",
|
|
81427
81873
|
"name": "filter",
|
|
@@ -81450,6 +81896,15 @@
|
|
|
81450
81896
|
"privacy": "private",
|
|
81451
81897
|
"default": "false"
|
|
81452
81898
|
},
|
|
81899
|
+
{
|
|
81900
|
+
"kind": "field",
|
|
81901
|
+
"name": "inputMode",
|
|
81902
|
+
"type": {
|
|
81903
|
+
"text": "string"
|
|
81904
|
+
},
|
|
81905
|
+
"default": "''",
|
|
81906
|
+
"attribute": "inputmode"
|
|
81907
|
+
},
|
|
81453
81908
|
{
|
|
81454
81909
|
"kind": "field",
|
|
81455
81910
|
"name": "label",
|
|
@@ -81549,6 +82004,15 @@
|
|
|
81549
82004
|
"default": "[]",
|
|
81550
82005
|
"description": "The currently-enabled tool ids."
|
|
81551
82006
|
},
|
|
82007
|
+
{
|
|
82008
|
+
"kind": "field",
|
|
82009
|
+
"name": "spellcheck",
|
|
82010
|
+
"type": {
|
|
82011
|
+
"text": "boolean"
|
|
82012
|
+
},
|
|
82013
|
+
"default": "true",
|
|
82014
|
+
"attribute": "spellcheck"
|
|
82015
|
+
},
|
|
81552
82016
|
{
|
|
81553
82017
|
"kind": "field",
|
|
81554
82018
|
"name": "stopLocaleSubscription",
|
|
@@ -81871,6 +82335,47 @@
|
|
|
81871
82335
|
}
|
|
81872
82336
|
],
|
|
81873
82337
|
"attributes": [
|
|
82338
|
+
{
|
|
82339
|
+
"name": "autocapitalize",
|
|
82340
|
+
"type": {
|
|
82341
|
+
"text": "string"
|
|
82342
|
+
},
|
|
82343
|
+
"default": "''",
|
|
82344
|
+
"fieldName": "autocapitalize"
|
|
82345
|
+
},
|
|
82346
|
+
{
|
|
82347
|
+
"name": "autocomplete",
|
|
82348
|
+
"type": {
|
|
82349
|
+
"text": "string"
|
|
82350
|
+
},
|
|
82351
|
+
"default": "''",
|
|
82352
|
+
"description": "Native editing-assistance and virtual-keyboard hints forwarded to the search input.",
|
|
82353
|
+
"fieldName": "autocomplete"
|
|
82354
|
+
},
|
|
82355
|
+
{
|
|
82356
|
+
"name": "autocorrect",
|
|
82357
|
+
"type": {
|
|
82358
|
+
"text": "string"
|
|
82359
|
+
},
|
|
82360
|
+
"default": "''",
|
|
82361
|
+
"fieldName": "autoCorrect"
|
|
82362
|
+
},
|
|
82363
|
+
{
|
|
82364
|
+
"name": "enterkeyhint",
|
|
82365
|
+
"type": {
|
|
82366
|
+
"text": "string"
|
|
82367
|
+
},
|
|
82368
|
+
"default": "''",
|
|
82369
|
+
"fieldName": "enterKeyHint"
|
|
82370
|
+
},
|
|
82371
|
+
{
|
|
82372
|
+
"name": "inputmode",
|
|
82373
|
+
"type": {
|
|
82374
|
+
"text": "string"
|
|
82375
|
+
},
|
|
82376
|
+
"default": "''",
|
|
82377
|
+
"fieldName": "inputMode"
|
|
82378
|
+
},
|
|
81874
82379
|
{
|
|
81875
82380
|
"name": "label",
|
|
81876
82381
|
"type": {
|
|
@@ -81910,6 +82415,14 @@
|
|
|
81910
82415
|
"default": "'Search tools…'",
|
|
81911
82416
|
"fieldName": "searchPlaceholder"
|
|
81912
82417
|
},
|
|
82418
|
+
{
|
|
82419
|
+
"name": "spellcheck",
|
|
82420
|
+
"type": {
|
|
82421
|
+
"text": "boolean"
|
|
82422
|
+
},
|
|
82423
|
+
"default": "true",
|
|
82424
|
+
"fieldName": "spellcheck"
|
|
82425
|
+
},
|
|
81913
82426
|
{
|
|
81914
82427
|
"name": "use-defaults",
|
|
81915
82428
|
"type": {
|
|
@@ -86063,7 +86576,7 @@
|
|
|
86063
86576
|
"declarations": [
|
|
86064
86577
|
{
|
|
86065
86578
|
"kind": "class",
|
|
86066
|
-
"description": "Shared base for every Lyra component. Supplies the design-token layer\n(
|
|
86579
|
+
"description": "Shared base for every Lyra component. Supplies the design-token layer\n(`--lyra-theme-*` theme-input properties with hardcoded `--lyra-*` fallbacks).\nRTL is handled by components using CSS logical properties rather than a forced `dir`.",
|
|
86067
86580
|
"name": "LyraElement",
|
|
86068
86581
|
"members": [
|
|
86069
86582
|
{
|