@aceshooting/lyra-ui 2.9.0 → 2.10.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 +3 -1
- package/custom-elements.json +1282 -56
- package/dist/components/button/button.class.d.ts +57 -0
- package/dist/components/button/button.class.d.ts.map +1 -0
- package/dist/components/button/button.class.js +108 -0
- package/dist/components/button/button.class.js.map +1 -0
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +5 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.styles.d.ts +2 -0
- package/dist/components/button/button.styles.d.ts.map +1 -0
- package/dist/components/button/button.styles.js +121 -0
- package/dist/components/button/button.styles.js.map +1 -0
- package/dist/components/heatmap/heatmap.class.d.ts +29 -0
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.class.js +97 -5
- 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 +6 -0
- package/dist/components/heatmap/heatmap.styles.js.map +1 -1
- package/dist/components/input/input.class.d.ts +109 -0
- package/dist/components/input/input.class.d.ts.map +1 -0
- package/dist/components/input/input.class.js +269 -0
- package/dist/components/input/input.class.js.map +1 -0
- package/dist/components/input/input.d.ts +2 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +5 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input/input.styles.d.ts +2 -0
- package/dist/components/input/input.styles.d.ts.map +1 -0
- package/dist/components/input/input.styles.js +88 -0
- package/dist/components/input/input.styles.js.map +1 -0
- package/dist/components/tool-result-view/tool-result-view.class.d.ts +13 -5
- package/dist/components/tool-result-view/tool-result-view.class.d.ts.map +1 -1
- package/dist/components/tool-result-view/tool-result-view.class.js +26 -7
- package/dist/components/tool-result-view/tool-result-view.class.js.map +1 -1
- package/dist/components/tool-result-view/tool-result-view.styles.d.ts.map +1 -1
- package/dist/components/tool-result-view/tool-result-view.styles.js +11 -0
- package/dist/components/tool-result-view/tool-result-view.styles.js.map +1 -1
- package/dist/internal/icons.d.ts +6 -0
- package/dist/internal/icons.d.ts.map +1 -1
- package/dist/internal/icons.js +20 -0
- package/dist/internal/icons.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 +7 -0
- 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 +136 -9
- package/llms.txt +1 -1
- package/package.json +7 -2
package/custom-elements.json
CHANGED
|
@@ -3139,6 +3139,472 @@
|
|
|
3139
3139
|
}
|
|
3140
3140
|
]
|
|
3141
3141
|
},
|
|
3142
|
+
{
|
|
3143
|
+
"kind": "javascript-module",
|
|
3144
|
+
"path": "src/components/button/button.class.ts",
|
|
3145
|
+
"declarations": [
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "class",
|
|
3148
|
+
"description": "`<lyra-button>` — a generic action-button primitive, the `lyra-*` equivalent of a plain\n`wa-button`. Renders an internal native `<button part=\"base\">` (never a real `<wa-button>` —\nthis library has no runtime dependency on Web Awesome, matching `<lyra-copy-button>`/\n`<lyra-export-button>`'s own clean-room, API-mirroring approach). `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.",
|
|
3149
|
+
"name": "LyraButton",
|
|
3150
|
+
"cssParts": [
|
|
3151
|
+
{
|
|
3152
|
+
"description": "The internal native `<button>`.",
|
|
3153
|
+
"name": "base"
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"description": "The `end` slot wrapper.",
|
|
3157
|
+
"name": "end"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"description": "The default-slot label wrapper.",
|
|
3161
|
+
"name": "label"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"description": "The loading spinner, present only while `loading` is `true`.",
|
|
3165
|
+
"name": "spinner"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"description": "The `start` slot wrapper.",
|
|
3169
|
+
"name": "start"
|
|
3170
|
+
}
|
|
3171
|
+
],
|
|
3172
|
+
"slots": [
|
|
3173
|
+
{
|
|
3174
|
+
"description": "Default slot: the button's label content.",
|
|
3175
|
+
"name": ""
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"description": "Trailing icon/content, rendered after the label.",
|
|
3179
|
+
"name": "end"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"description": "Leading icon/content, rendered before the label.",
|
|
3183
|
+
"name": "start"
|
|
3184
|
+
}
|
|
3185
|
+
],
|
|
3186
|
+
"members": [
|
|
3187
|
+
{
|
|
3188
|
+
"kind": "field",
|
|
3189
|
+
"name": "appearance",
|
|
3190
|
+
"type": {
|
|
3191
|
+
"text": "ButtonAppearance"
|
|
3192
|
+
},
|
|
3193
|
+
"default": "'filled'",
|
|
3194
|
+
"attribute": "appearance",
|
|
3195
|
+
"reflects": true
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"kind": "field",
|
|
3199
|
+
"name": "buttonEl",
|
|
3200
|
+
"type": {
|
|
3201
|
+
"text": "HTMLButtonElement | undefined"
|
|
3202
|
+
},
|
|
3203
|
+
"privacy": "private"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"kind": "field",
|
|
3207
|
+
"name": "disabled",
|
|
3208
|
+
"type": {
|
|
3209
|
+
"text": "boolean"
|
|
3210
|
+
},
|
|
3211
|
+
"default": "false",
|
|
3212
|
+
"attribute": "disabled",
|
|
3213
|
+
"reflects": true
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "field",
|
|
3217
|
+
"name": "effectiveDirection",
|
|
3218
|
+
"type": {
|
|
3219
|
+
"text": "'ltr' | 'rtl'"
|
|
3220
|
+
},
|
|
3221
|
+
"privacy": "protected",
|
|
3222
|
+
"description": "The effective text direction, including inherited CSS direction.",
|
|
3223
|
+
"readonly": true,
|
|
3224
|
+
"inheritedFrom": {
|
|
3225
|
+
"name": "LyraElement",
|
|
3226
|
+
"module": "src/internal/lyra-element.ts"
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"kind": "field",
|
|
3231
|
+
"name": "effectiveLocale",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "string"
|
|
3234
|
+
},
|
|
3235
|
+
"privacy": "protected",
|
|
3236
|
+
"description": "The effective locale used by this component.",
|
|
3237
|
+
"readonly": true,
|
|
3238
|
+
"inheritedFrom": {
|
|
3239
|
+
"name": "LyraElement",
|
|
3240
|
+
"module": "src/internal/lyra-element.ts"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"kind": "field",
|
|
3245
|
+
"name": "loading",
|
|
3246
|
+
"type": {
|
|
3247
|
+
"text": "boolean"
|
|
3248
|
+
},
|
|
3249
|
+
"default": "false",
|
|
3250
|
+
"description": "Shows an internal spinner in place of interaction affordance and disables the button, without\nclearing `disabled` — a consumer's own `disabled` state and a transient `loading` state are\nindependent (mirrors `<lyra-export-button>`'s own `loading`/`disabled` pair).",
|
|
3251
|
+
"attribute": "loading",
|
|
3252
|
+
"reflects": true
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"kind": "field",
|
|
3256
|
+
"name": "locale",
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "string"
|
|
3259
|
+
},
|
|
3260
|
+
"default": "''",
|
|
3261
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
3262
|
+
"attribute": "locale",
|
|
3263
|
+
"reflects": true,
|
|
3264
|
+
"inheritedFrom": {
|
|
3265
|
+
"name": "LyraElement",
|
|
3266
|
+
"module": "src/internal/lyra-element.ts"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "field",
|
|
3271
|
+
"name": "onClick",
|
|
3272
|
+
"privacy": "private"
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "field",
|
|
3276
|
+
"name": "size",
|
|
3277
|
+
"type": {
|
|
3278
|
+
"text": "ButtonSize"
|
|
3279
|
+
},
|
|
3280
|
+
"default": "'m'",
|
|
3281
|
+
"attribute": "size",
|
|
3282
|
+
"reflects": true
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"kind": "field",
|
|
3286
|
+
"name": "stopLocaleSubscription",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "() => void | undefined"
|
|
3289
|
+
},
|
|
3290
|
+
"privacy": "private",
|
|
3291
|
+
"inheritedFrom": {
|
|
3292
|
+
"name": "LyraElement",
|
|
3293
|
+
"module": "src/internal/lyra-element.ts"
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "strings",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "LyraLocaleStrings"
|
|
3301
|
+
},
|
|
3302
|
+
"default": "{}",
|
|
3303
|
+
"description": "Per-instance message overrides, useful for application-specific wording.",
|
|
3304
|
+
"inheritedFrom": {
|
|
3305
|
+
"name": "LyraElement",
|
|
3306
|
+
"module": "src/internal/lyra-element.ts"
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "field",
|
|
3311
|
+
"name": "type",
|
|
3312
|
+
"type": {
|
|
3313
|
+
"text": "ButtonType"
|
|
3314
|
+
},
|
|
3315
|
+
"default": "'button'",
|
|
3316
|
+
"description": "Forwarded to this component's own submit/reset handling — see the class doc comment above\nfor why this component (not the shadow-internal `<button>`) owns that behavior.",
|
|
3317
|
+
"attribute": "type"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"kind": "field",
|
|
3321
|
+
"name": "variant",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "ButtonVariant"
|
|
3324
|
+
},
|
|
3325
|
+
"default": "'neutral'",
|
|
3326
|
+
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to mirror `wa-button`'s own attribute name for a mechanical\nmigration off a plain `wa-button`.",
|
|
3327
|
+
"attribute": "variant",
|
|
3328
|
+
"reflects": true
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"kind": "method",
|
|
3332
|
+
"name": "addEventListener",
|
|
3333
|
+
"return": {
|
|
3334
|
+
"type": {
|
|
3335
|
+
"text": "void"
|
|
3336
|
+
}
|
|
3337
|
+
},
|
|
3338
|
+
"parameters": [
|
|
3339
|
+
{
|
|
3340
|
+
"name": "type",
|
|
3341
|
+
"type": {
|
|
3342
|
+
"text": "K"
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"name": "listener",
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
3349
|
+
}
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"name": "options",
|
|
3353
|
+
"optional": true,
|
|
3354
|
+
"type": {
|
|
3355
|
+
"text": "boolean | AddEventListenerOptions"
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
],
|
|
3359
|
+
"inheritedFrom": {
|
|
3360
|
+
"name": "LyraElement",
|
|
3361
|
+
"module": "src/internal/lyra-element.ts"
|
|
3362
|
+
}
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"kind": "method",
|
|
3366
|
+
"name": "blur",
|
|
3367
|
+
"return": {
|
|
3368
|
+
"type": {
|
|
3369
|
+
"text": "void"
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"kind": "method",
|
|
3375
|
+
"name": "emit",
|
|
3376
|
+
"privacy": "protected",
|
|
3377
|
+
"return": {
|
|
3378
|
+
"type": {
|
|
3379
|
+
"text": "CustomEvent<T>"
|
|
3380
|
+
}
|
|
3381
|
+
},
|
|
3382
|
+
"parameters": [
|
|
3383
|
+
{
|
|
3384
|
+
"name": "name",
|
|
3385
|
+
"type": {
|
|
3386
|
+
"text": "string"
|
|
3387
|
+
}
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
"name": "detail",
|
|
3391
|
+
"optional": true,
|
|
3392
|
+
"type": {
|
|
3393
|
+
"text": "T"
|
|
3394
|
+
}
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"name": "options",
|
|
3398
|
+
"optional": true,
|
|
3399
|
+
"type": {
|
|
3400
|
+
"text": "LyraEmitOptions"
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
],
|
|
3404
|
+
"description": "Dispatch a composed, bubbling custom event; notifications are not veto points by default.",
|
|
3405
|
+
"inheritedFrom": {
|
|
3406
|
+
"name": "LyraElement",
|
|
3407
|
+
"module": "src/internal/lyra-element.ts"
|
|
3408
|
+
}
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"kind": "method",
|
|
3412
|
+
"name": "focus",
|
|
3413
|
+
"return": {
|
|
3414
|
+
"type": {
|
|
3415
|
+
"text": "void"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
"parameters": [
|
|
3419
|
+
{
|
|
3420
|
+
"name": "options",
|
|
3421
|
+
"optional": true,
|
|
3422
|
+
"type": {
|
|
3423
|
+
"text": "FocusOptions"
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
]
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "method",
|
|
3430
|
+
"name": "localize",
|
|
3431
|
+
"privacy": "protected",
|
|
3432
|
+
"return": {
|
|
3433
|
+
"type": {
|
|
3434
|
+
"text": "string"
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
"parameters": [
|
|
3438
|
+
{
|
|
3439
|
+
"name": "key",
|
|
3440
|
+
"type": {
|
|
3441
|
+
"text": "string"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"name": "fallback",
|
|
3446
|
+
"optional": true,
|
|
3447
|
+
"type": {
|
|
3448
|
+
"text": "string"
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"name": "values",
|
|
3453
|
+
"optional": true,
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "Record<string, string | number>"
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
],
|
|
3459
|
+
"description": "Resolve a localized message using this component's overrides and locale.",
|
|
3460
|
+
"inheritedFrom": {
|
|
3461
|
+
"name": "LyraElement",
|
|
3462
|
+
"module": "src/internal/lyra-element.ts"
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
"kind": "method",
|
|
3467
|
+
"name": "removeEventListener",
|
|
3468
|
+
"return": {
|
|
3469
|
+
"type": {
|
|
3470
|
+
"text": "void"
|
|
3471
|
+
}
|
|
3472
|
+
},
|
|
3473
|
+
"parameters": [
|
|
3474
|
+
{
|
|
3475
|
+
"name": "type",
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "K"
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
"name": "listener",
|
|
3482
|
+
"type": {
|
|
3483
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
3484
|
+
}
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "options",
|
|
3488
|
+
"optional": true,
|
|
3489
|
+
"type": {
|
|
3490
|
+
"text": "boolean | EventListenerOptions"
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
],
|
|
3494
|
+
"inheritedFrom": {
|
|
3495
|
+
"name": "LyraElement",
|
|
3496
|
+
"module": "src/internal/lyra-element.ts"
|
|
3497
|
+
}
|
|
3498
|
+
}
|
|
3499
|
+
],
|
|
3500
|
+
"attributes": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "appearance",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "ButtonAppearance"
|
|
3505
|
+
},
|
|
3506
|
+
"default": "'filled'",
|
|
3507
|
+
"fieldName": "appearance"
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"name": "disabled",
|
|
3511
|
+
"type": {
|
|
3512
|
+
"text": "boolean"
|
|
3513
|
+
},
|
|
3514
|
+
"default": "false",
|
|
3515
|
+
"fieldName": "disabled"
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"name": "loading",
|
|
3519
|
+
"type": {
|
|
3520
|
+
"text": "boolean"
|
|
3521
|
+
},
|
|
3522
|
+
"default": "false",
|
|
3523
|
+
"description": "Shows an internal spinner in place of interaction affordance and disables the button, without\nclearing `disabled` — a consumer's own `disabled` state and a transient `loading` state are\nindependent (mirrors `<lyra-export-button>`'s own `loading`/`disabled` pair).",
|
|
3524
|
+
"fieldName": "loading"
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"name": "locale",
|
|
3528
|
+
"type": {
|
|
3529
|
+
"text": "string"
|
|
3530
|
+
},
|
|
3531
|
+
"default": "''",
|
|
3532
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
3533
|
+
"fieldName": "locale",
|
|
3534
|
+
"inheritedFrom": {
|
|
3535
|
+
"name": "LyraElement",
|
|
3536
|
+
"module": "src/internal/lyra-element.ts"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"name": "size",
|
|
3541
|
+
"type": {
|
|
3542
|
+
"text": "ButtonSize"
|
|
3543
|
+
},
|
|
3544
|
+
"default": "'m'",
|
|
3545
|
+
"fieldName": "size"
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"name": "type",
|
|
3549
|
+
"type": {
|
|
3550
|
+
"text": "ButtonType"
|
|
3551
|
+
},
|
|
3552
|
+
"default": "'button'",
|
|
3553
|
+
"description": "Forwarded to this component's own submit/reset handling — see the class doc comment above\nfor why this component (not the shadow-internal `<button>`) owns that behavior.",
|
|
3554
|
+
"fieldName": "type"
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
"name": "variant",
|
|
3558
|
+
"type": {
|
|
3559
|
+
"text": "ButtonVariant"
|
|
3560
|
+
},
|
|
3561
|
+
"default": "'neutral'",
|
|
3562
|
+
"description": "Tone vocabulary shared with `<lyra-chip>`/`<lyra-avatar>`'s own `tone` property, named\n`variant` here (not `tone`) to mirror `wa-button`'s own attribute name for a mechanical\nmigration off a plain `wa-button`.",
|
|
3563
|
+
"fieldName": "variant"
|
|
3564
|
+
}
|
|
3565
|
+
],
|
|
3566
|
+
"superclass": {
|
|
3567
|
+
"name": "LyraElement",
|
|
3568
|
+
"module": "/src/internal/lyra-element.js"
|
|
3569
|
+
},
|
|
3570
|
+
"tagName": "lyra-button",
|
|
3571
|
+
"customElement": true
|
|
3572
|
+
}
|
|
3573
|
+
],
|
|
3574
|
+
"exports": [
|
|
3575
|
+
{
|
|
3576
|
+
"kind": "js",
|
|
3577
|
+
"name": "LyraButton",
|
|
3578
|
+
"declaration": {
|
|
3579
|
+
"name": "LyraButton",
|
|
3580
|
+
"module": "src/components/button/button.class.ts"
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
]
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
"kind": "javascript-module",
|
|
3587
|
+
"path": "src/components/button/button.ts",
|
|
3588
|
+
"declarations": [],
|
|
3589
|
+
"exports": [
|
|
3590
|
+
{
|
|
3591
|
+
"kind": "custom-element-definition",
|
|
3592
|
+
"name": "lyra-button",
|
|
3593
|
+
"declaration": {
|
|
3594
|
+
"name": "LyraButton",
|
|
3595
|
+
"module": "src/components/button/button.class.ts"
|
|
3596
|
+
}
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "*",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "*",
|
|
3603
|
+
"module": "src/components/button/button.class.js"
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
]
|
|
3607
|
+
},
|
|
3142
3608
|
{
|
|
3143
3609
|
"kind": "javascript-module",
|
|
3144
3610
|
"path": "src/components/card/card.class.ts",
|
|
@@ -34385,6 +34851,15 @@
|
|
|
34385
34851
|
"name": "scheduleDraw",
|
|
34386
34852
|
"privacy": "private"
|
|
34387
34853
|
},
|
|
34854
|
+
{
|
|
34855
|
+
"kind": "field",
|
|
34856
|
+
"name": "selectedCell",
|
|
34857
|
+
"type": {
|
|
34858
|
+
"text": "HeatmapSelectedCell | null"
|
|
34859
|
+
},
|
|
34860
|
+
"default": "null",
|
|
34861
|
+
"description": "The single cell to mark as persistently selected -- `row`/`col` in matrix mode, `date` in\ncalendar mode. Purely a controlled, consumer-owned visual/accessibility marker, mirroring\n`<lyra-lite-chart>`'s `selectedIndex` -- this component never mutates it itself; a consumer\nwires it up from `lyra-cell-click` (or any other source) to build a toggle-select\ninteraction. Unset (the default, `null`) draws no selection ring, adds no selected-cell text\nto the host's `aria-label`, and adds no \"(selected)\" suffix to the live-region announcement,\nreproducing today's exact output."
|
|
34862
|
+
},
|
|
34388
34863
|
{
|
|
34389
34864
|
"kind": "field",
|
|
34390
34865
|
"name": "stopLocaleSubscription",
|
|
@@ -34882,6 +35357,25 @@
|
|
|
34882
35357
|
],
|
|
34883
35358
|
"description": "Dispatches to the host-provided `cellInteractive` predicate when set, otherwise `true`\n(every cell interactive, today's unchanged default)."
|
|
34884
35359
|
},
|
|
35360
|
+
{
|
|
35361
|
+
"kind": "method",
|
|
35362
|
+
"name": "isSelectedPos",
|
|
35363
|
+
"privacy": "private",
|
|
35364
|
+
"return": {
|
|
35365
|
+
"type": {
|
|
35366
|
+
"text": "boolean"
|
|
35367
|
+
}
|
|
35368
|
+
},
|
|
35369
|
+
"parameters": [
|
|
35370
|
+
{
|
|
35371
|
+
"name": "pos",
|
|
35372
|
+
"type": {
|
|
35373
|
+
"text": "CellPos"
|
|
35374
|
+
}
|
|
35375
|
+
}
|
|
35376
|
+
],
|
|
35377
|
+
"description": "Whether `selectedCell` refers to the given grid position, in whichever mode is active --\n`row`/`col` equality in matrix mode, resolved-date equality in calendar mode (looking the\nposition's actual date up via `calendarCellAt()`, the same way the annotation ring resolves\n`ann.date` against `cells`). Shared by the live-region announcement, which needs to know\nwhether the just-announced cell *is* the selection."
|
|
35378
|
+
},
|
|
34885
35379
|
{
|
|
34886
35380
|
"kind": "method",
|
|
34887
35381
|
"name": "labelColor",
|
|
@@ -35254,6 +35748,28 @@
|
|
|
35254
35748
|
},
|
|
35255
35749
|
"description": "Reads the customizable ramp endpoints off the host's computed style."
|
|
35256
35750
|
},
|
|
35751
|
+
{
|
|
35752
|
+
"kind": "method",
|
|
35753
|
+
"name": "selectedCellDescription",
|
|
35754
|
+
"privacy": "private",
|
|
35755
|
+
"return": {
|
|
35756
|
+
"type": {
|
|
35757
|
+
"text": "string"
|
|
35758
|
+
}
|
|
35759
|
+
},
|
|
35760
|
+
"description": "The localized \"Selected: <cell>.\" description appended to the host `aria-label`, or `''` when\n`selectedCell` is unset or doesn't resolve to a real cell in the current grid."
|
|
35761
|
+
},
|
|
35762
|
+
{
|
|
35763
|
+
"kind": "method",
|
|
35764
|
+
"name": "selectedColor",
|
|
35765
|
+
"privacy": "private",
|
|
35766
|
+
"return": {
|
|
35767
|
+
"type": {
|
|
35768
|
+
"text": "string"
|
|
35769
|
+
}
|
|
35770
|
+
},
|
|
35771
|
+
"description": "Reads the customizable canvas-drawn selected-cell-ring stroke color off the host's computed style."
|
|
35772
|
+
},
|
|
35257
35773
|
{
|
|
35258
35774
|
"kind": "method",
|
|
35259
35775
|
"name": "tooltipStyle",
|
|
@@ -35646,74 +36162,75 @@
|
|
|
35646
36162
|
},
|
|
35647
36163
|
{
|
|
35648
36164
|
"kind": "javascript-module",
|
|
35649
|
-
"path": "src/components/
|
|
36165
|
+
"path": "src/components/input/input.class.ts",
|
|
35650
36166
|
"declarations": [
|
|
35651
36167
|
{
|
|
35652
36168
|
"kind": "class",
|
|
35653
|
-
"description": "`<lyra-
|
|
35654
|
-
"name": "
|
|
36169
|
+
"description": "`<lyra-input>` — a single-line plain-text input primitive, the `lyra-*` equivalent of a plain\n`wa-input`, form-associated via the `FormAssociated` mixin (same shape as `<lyra-textarea>`).\n\nShips the same opt-in `label`/`hint`/`errorText` form-control chrome as `<lyra-textarea>`/\n`<lyra-select>` (props + matching named slots + `form-control`/`form-control-label`/`hint`/`error`\nparts) — left unset, the chrome stays hidden. `type=\"password\"` always renders a\n`password-toggle` eye-icon button that flips the internal native input between\n`type=\"password\"`/`type=\"text\"` and tracks `passwordVisible`. `type=\"email\"`/`type=\"number\"`\n(with `min`/`max`/`step`) delegate constraint validation to the internal native `<input>`'s own\nbrowser-computed `validity`, bridged into this element's `ElementInternals` by `updateValidity()`.\n\nA host `aria-label` is forwarded to the internal textbox via the typed `accessibleLabel` property;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.",
|
|
36170
|
+
"name": "LyraInput",
|
|
35655
36171
|
"cssParts": [
|
|
35656
36172
|
{
|
|
35657
|
-
"description": "The
|
|
35658
|
-
"name": "
|
|
36173
|
+
"description": "The error message.",
|
|
36174
|
+
"name": "error"
|
|
35659
36175
|
},
|
|
35660
36176
|
{
|
|
35661
|
-
"description": "
|
|
35662
|
-
"name": "
|
|
36177
|
+
"description": "The outer wrapper around label, input, error and hint.",
|
|
36178
|
+
"name": "form-control"
|
|
35663
36179
|
},
|
|
35664
36180
|
{
|
|
35665
|
-
"description": "
|
|
35666
|
-
"name": "
|
|
36181
|
+
"description": "The `<label>` element.",
|
|
36182
|
+
"name": "form-control-label"
|
|
35667
36183
|
},
|
|
35668
36184
|
{
|
|
35669
|
-
"description": "
|
|
35670
|
-
"name": "
|
|
36185
|
+
"description": "The hint message.",
|
|
36186
|
+
"name": "hint"
|
|
35671
36187
|
},
|
|
35672
36188
|
{
|
|
35673
|
-
"description": "
|
|
35674
|
-
"name": "
|
|
36189
|
+
"description": "The native `<input>` element.",
|
|
36190
|
+
"name": "input"
|
|
35675
36191
|
},
|
|
35676
36192
|
{
|
|
35677
|
-
"description": "The
|
|
35678
|
-
"name": "
|
|
36193
|
+
"description": "The row wrapping the native input and the password-toggle button.",
|
|
36194
|
+
"name": "input-wrapper"
|
|
35679
36195
|
},
|
|
35680
36196
|
{
|
|
35681
|
-
"description": "The
|
|
35682
|
-
"name": "
|
|
36197
|
+
"description": "The show/hide-password button, present only when `type=\"password\"`.",
|
|
36198
|
+
"name": "password-toggle"
|
|
36199
|
+
}
|
|
36200
|
+
],
|
|
36201
|
+
"slots": [
|
|
36202
|
+
{
|
|
36203
|
+
"description": "Custom error content.",
|
|
36204
|
+
"name": "error"
|
|
35683
36205
|
},
|
|
35684
36206
|
{
|
|
35685
|
-
"description": "
|
|
35686
|
-
"name": "
|
|
36207
|
+
"description": "Custom hint content.",
|
|
36208
|
+
"name": "hint"
|
|
36209
|
+
},
|
|
36210
|
+
{
|
|
36211
|
+
"description": "Custom label content.",
|
|
36212
|
+
"name": "label"
|
|
35687
36213
|
}
|
|
35688
36214
|
],
|
|
35689
36215
|
"members": [
|
|
35690
36216
|
{
|
|
35691
36217
|
"kind": "field",
|
|
35692
|
-
"name": "
|
|
35693
|
-
"type": {
|
|
35694
|
-
"text": "number | undefined"
|
|
35695
|
-
},
|
|
35696
|
-
"description": "Nodes at or beyond this nesting depth (root = 0) start collapsed. Omit/undefined: nothing auto-collapses.",
|
|
35697
|
-
"attribute": "collapsed-depth"
|
|
35698
|
-
},
|
|
35699
|
-
{
|
|
35700
|
-
"kind": "field",
|
|
35701
|
-
"name": "copyable",
|
|
36218
|
+
"name": "accessibleLabel",
|
|
35702
36219
|
"type": {
|
|
35703
|
-
"text": "
|
|
36220
|
+
"text": "string | null"
|
|
35704
36221
|
},
|
|
35705
|
-
"default": "
|
|
35706
|
-
"description": "
|
|
35707
|
-
"attribute": "
|
|
35708
|
-
"reflects": true
|
|
36222
|
+
"default": "null",
|
|
36223
|
+
"description": "Accessible name overriding the label/placeholder-derived default. Takes precedence over both\n`label` and `placeholder` when set, matching `<lyra-textarea>`'s `accessibleLabel`.",
|
|
36224
|
+
"attribute": "aria-label"
|
|
35709
36225
|
},
|
|
35710
36226
|
{
|
|
35711
36227
|
"kind": "field",
|
|
35712
|
-
"name": "
|
|
36228
|
+
"name": "autocomplete",
|
|
35713
36229
|
"type": {
|
|
35714
|
-
"text": "
|
|
36230
|
+
"text": "string"
|
|
35715
36231
|
},
|
|
35716
|
-
"
|
|
36232
|
+
"default": "''",
|
|
36233
|
+
"attribute": "autocomplete"
|
|
35717
36234
|
},
|
|
35718
36235
|
{
|
|
35719
36236
|
"kind": "field",
|
|
@@ -35745,10 +36262,74 @@
|
|
|
35745
36262
|
},
|
|
35746
36263
|
{
|
|
35747
36264
|
"kind": "field",
|
|
35748
|
-
"name": "
|
|
36265
|
+
"name": "errorText",
|
|
36266
|
+
"type": {
|
|
36267
|
+
"text": "string"
|
|
36268
|
+
},
|
|
36269
|
+
"default": "''",
|
|
36270
|
+
"attribute": "error-text"
|
|
36271
|
+
},
|
|
36272
|
+
{
|
|
36273
|
+
"kind": "field",
|
|
36274
|
+
"name": "hasErrorSlot",
|
|
36275
|
+
"type": {
|
|
36276
|
+
"text": "boolean"
|
|
36277
|
+
},
|
|
35749
36278
|
"privacy": "private",
|
|
35750
|
-
"default": "
|
|
35751
|
-
|
|
36279
|
+
"default": "false"
|
|
36280
|
+
},
|
|
36281
|
+
{
|
|
36282
|
+
"kind": "field",
|
|
36283
|
+
"name": "hasHintSlot",
|
|
36284
|
+
"type": {
|
|
36285
|
+
"text": "boolean"
|
|
36286
|
+
},
|
|
36287
|
+
"privacy": "private",
|
|
36288
|
+
"default": "false"
|
|
36289
|
+
},
|
|
36290
|
+
{
|
|
36291
|
+
"kind": "field",
|
|
36292
|
+
"name": "hasLabelSlot",
|
|
36293
|
+
"type": {
|
|
36294
|
+
"text": "boolean"
|
|
36295
|
+
},
|
|
36296
|
+
"privacy": "private",
|
|
36297
|
+
"default": "false"
|
|
36298
|
+
},
|
|
36299
|
+
{
|
|
36300
|
+
"kind": "field",
|
|
36301
|
+
"name": "hint",
|
|
36302
|
+
"type": {
|
|
36303
|
+
"text": "string"
|
|
36304
|
+
},
|
|
36305
|
+
"default": "''",
|
|
36306
|
+
"attribute": "hint"
|
|
36307
|
+
},
|
|
36308
|
+
{
|
|
36309
|
+
"kind": "field",
|
|
36310
|
+
"name": "input",
|
|
36311
|
+
"type": {
|
|
36312
|
+
"text": "HTMLInputElement | null"
|
|
36313
|
+
},
|
|
36314
|
+
"description": "The internal native `<input>` element, for direct DOM access — mirrors `<lyra-textarea>`'s own `input` getter.",
|
|
36315
|
+
"readonly": true
|
|
36316
|
+
},
|
|
36317
|
+
{
|
|
36318
|
+
"kind": "field",
|
|
36319
|
+
"name": "inputEl",
|
|
36320
|
+
"type": {
|
|
36321
|
+
"text": "HTMLInputElement | undefined"
|
|
36322
|
+
},
|
|
36323
|
+
"privacy": "private"
|
|
36324
|
+
},
|
|
36325
|
+
{
|
|
36326
|
+
"kind": "field",
|
|
36327
|
+
"name": "label",
|
|
36328
|
+
"type": {
|
|
36329
|
+
"text": "string"
|
|
36330
|
+
},
|
|
36331
|
+
"default": "''",
|
|
36332
|
+
"attribute": "label"
|
|
35752
36333
|
},
|
|
35753
36334
|
{
|
|
35754
36335
|
"kind": "field",
|
|
@@ -35767,33 +36348,640 @@
|
|
|
35767
36348
|
},
|
|
35768
36349
|
{
|
|
35769
36350
|
"kind": "field",
|
|
35770
|
-
"name": "
|
|
36351
|
+
"name": "max",
|
|
35771
36352
|
"type": {
|
|
35772
|
-
"text": "
|
|
36353
|
+
"text": "number | undefined"
|
|
35773
36354
|
},
|
|
35774
|
-
"
|
|
35775
|
-
"description": "A CSS length (e.g. `\"20rem\"`); once set, the viewer scrolls internally past this height instead of growing the page.",
|
|
35776
|
-
"attribute": "max-height"
|
|
36355
|
+
"attribute": "max"
|
|
35777
36356
|
},
|
|
35778
36357
|
{
|
|
35779
36358
|
"kind": "field",
|
|
35780
|
-
"name": "
|
|
36359
|
+
"name": "min",
|
|
36360
|
+
"type": {
|
|
36361
|
+
"text": "number | undefined"
|
|
36362
|
+
},
|
|
36363
|
+
"description": "`type=\"number\"` only — forwarded to the internal native `<input>`'s own `min`/`max`/`step`\nand consulted by that same native input's constraint validation (see `updateValidity()`).",
|
|
36364
|
+
"attribute": "min"
|
|
36365
|
+
},
|
|
36366
|
+
{
|
|
36367
|
+
"kind": "field",
|
|
36368
|
+
"name": "onBlur",
|
|
36369
|
+
"privacy": "private"
|
|
36370
|
+
},
|
|
36371
|
+
{
|
|
36372
|
+
"kind": "field",
|
|
36373
|
+
"name": "onChange",
|
|
36374
|
+
"privacy": "private"
|
|
36375
|
+
},
|
|
36376
|
+
{
|
|
36377
|
+
"kind": "field",
|
|
36378
|
+
"name": "onErrorSlotChange",
|
|
36379
|
+
"privacy": "private"
|
|
36380
|
+
},
|
|
36381
|
+
{
|
|
36382
|
+
"kind": "field",
|
|
36383
|
+
"name": "onFocus",
|
|
36384
|
+
"privacy": "private"
|
|
36385
|
+
},
|
|
36386
|
+
{
|
|
36387
|
+
"kind": "field",
|
|
36388
|
+
"name": "onHintSlotChange",
|
|
36389
|
+
"privacy": "private"
|
|
36390
|
+
},
|
|
36391
|
+
{
|
|
36392
|
+
"kind": "field",
|
|
36393
|
+
"name": "onInput",
|
|
36394
|
+
"privacy": "private"
|
|
36395
|
+
},
|
|
36396
|
+
{
|
|
36397
|
+
"kind": "field",
|
|
36398
|
+
"name": "onLabelSlotChange",
|
|
36399
|
+
"privacy": "private"
|
|
36400
|
+
},
|
|
36401
|
+
{
|
|
36402
|
+
"kind": "field",
|
|
36403
|
+
"name": "onTogglePasswordVisible",
|
|
36404
|
+
"privacy": "private"
|
|
36405
|
+
},
|
|
36406
|
+
{
|
|
36407
|
+
"kind": "field",
|
|
36408
|
+
"name": "passwordVisible",
|
|
36409
|
+
"type": {
|
|
36410
|
+
"text": "boolean"
|
|
36411
|
+
},
|
|
36412
|
+
"default": "false",
|
|
36413
|
+
"description": "`type=\"password\"` only — whether the field currently reveals its raw text. Toggled by the\nbuilt-in `password-toggle` button; also settable by a consumer up front.",
|
|
36414
|
+
"attribute": "password-visible"
|
|
36415
|
+
},
|
|
36416
|
+
{
|
|
36417
|
+
"kind": "field",
|
|
36418
|
+
"name": "placeholder",
|
|
35781
36419
|
"type": {
|
|
35782
36420
|
"text": "string"
|
|
35783
36421
|
},
|
|
35784
36422
|
"default": "''",
|
|
35785
|
-
"
|
|
35786
|
-
"attribute": "search"
|
|
36423
|
+
"attribute": "placeholder"
|
|
35787
36424
|
},
|
|
35788
36425
|
{
|
|
35789
36426
|
"kind": "field",
|
|
35790
|
-
"name": "
|
|
36427
|
+
"name": "step",
|
|
35791
36428
|
"type": {
|
|
35792
|
-
"text": "
|
|
36429
|
+
"text": "number | undefined"
|
|
35793
36430
|
},
|
|
35794
|
-
"
|
|
35795
|
-
|
|
35796
|
-
|
|
36431
|
+
"attribute": "step"
|
|
36432
|
+
},
|
|
36433
|
+
{
|
|
36434
|
+
"kind": "field",
|
|
36435
|
+
"name": "stopLocaleSubscription",
|
|
36436
|
+
"type": {
|
|
36437
|
+
"text": "() => void | undefined"
|
|
36438
|
+
},
|
|
36439
|
+
"privacy": "private",
|
|
36440
|
+
"inheritedFrom": {
|
|
36441
|
+
"name": "LyraElement",
|
|
36442
|
+
"module": "src/internal/lyra-element.ts"
|
|
36443
|
+
}
|
|
36444
|
+
},
|
|
36445
|
+
{
|
|
36446
|
+
"kind": "field",
|
|
36447
|
+
"name": "strings",
|
|
36448
|
+
"type": {
|
|
36449
|
+
"text": "LyraLocaleStrings"
|
|
36450
|
+
},
|
|
36451
|
+
"default": "{}",
|
|
36452
|
+
"description": "Per-instance message overrides, useful for application-specific wording.",
|
|
36453
|
+
"inheritedFrom": {
|
|
36454
|
+
"name": "LyraElement",
|
|
36455
|
+
"module": "src/internal/lyra-element.ts"
|
|
36456
|
+
}
|
|
36457
|
+
},
|
|
36458
|
+
{
|
|
36459
|
+
"kind": "field",
|
|
36460
|
+
"name": "touched",
|
|
36461
|
+
"type": {
|
|
36462
|
+
"text": "boolean"
|
|
36463
|
+
},
|
|
36464
|
+
"privacy": "private",
|
|
36465
|
+
"default": "false"
|
|
36466
|
+
},
|
|
36467
|
+
{
|
|
36468
|
+
"kind": "field",
|
|
36469
|
+
"name": "type",
|
|
36470
|
+
"type": {
|
|
36471
|
+
"text": "LyraInputType"
|
|
36472
|
+
},
|
|
36473
|
+
"default": "'text'",
|
|
36474
|
+
"attribute": "type"
|
|
36475
|
+
},
|
|
36476
|
+
{
|
|
36477
|
+
"kind": "method",
|
|
36478
|
+
"name": "addEventListener",
|
|
36479
|
+
"return": {
|
|
36480
|
+
"type": {
|
|
36481
|
+
"text": "void"
|
|
36482
|
+
}
|
|
36483
|
+
},
|
|
36484
|
+
"parameters": [
|
|
36485
|
+
{
|
|
36486
|
+
"name": "type",
|
|
36487
|
+
"type": {
|
|
36488
|
+
"text": "K"
|
|
36489
|
+
}
|
|
36490
|
+
},
|
|
36491
|
+
{
|
|
36492
|
+
"name": "listener",
|
|
36493
|
+
"type": {
|
|
36494
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
36495
|
+
}
|
|
36496
|
+
},
|
|
36497
|
+
{
|
|
36498
|
+
"name": "options",
|
|
36499
|
+
"optional": true,
|
|
36500
|
+
"type": {
|
|
36501
|
+
"text": "boolean | AddEventListenerOptions"
|
|
36502
|
+
}
|
|
36503
|
+
}
|
|
36504
|
+
],
|
|
36505
|
+
"inheritedFrom": {
|
|
36506
|
+
"name": "LyraElement",
|
|
36507
|
+
"module": "src/internal/lyra-element.ts"
|
|
36508
|
+
}
|
|
36509
|
+
},
|
|
36510
|
+
{
|
|
36511
|
+
"kind": "method",
|
|
36512
|
+
"name": "blur",
|
|
36513
|
+
"return": {
|
|
36514
|
+
"type": {
|
|
36515
|
+
"text": "void"
|
|
36516
|
+
}
|
|
36517
|
+
}
|
|
36518
|
+
},
|
|
36519
|
+
{
|
|
36520
|
+
"kind": "method",
|
|
36521
|
+
"name": "emit",
|
|
36522
|
+
"privacy": "protected",
|
|
36523
|
+
"return": {
|
|
36524
|
+
"type": {
|
|
36525
|
+
"text": "CustomEvent<T>"
|
|
36526
|
+
}
|
|
36527
|
+
},
|
|
36528
|
+
"parameters": [
|
|
36529
|
+
{
|
|
36530
|
+
"name": "name",
|
|
36531
|
+
"type": {
|
|
36532
|
+
"text": "string"
|
|
36533
|
+
}
|
|
36534
|
+
},
|
|
36535
|
+
{
|
|
36536
|
+
"name": "detail",
|
|
36537
|
+
"optional": true,
|
|
36538
|
+
"type": {
|
|
36539
|
+
"text": "T"
|
|
36540
|
+
}
|
|
36541
|
+
},
|
|
36542
|
+
{
|
|
36543
|
+
"name": "options",
|
|
36544
|
+
"optional": true,
|
|
36545
|
+
"type": {
|
|
36546
|
+
"text": "LyraEmitOptions"
|
|
36547
|
+
}
|
|
36548
|
+
}
|
|
36549
|
+
],
|
|
36550
|
+
"description": "Dispatch a composed, bubbling custom event; notifications are not veto points by default.",
|
|
36551
|
+
"inheritedFrom": {
|
|
36552
|
+
"name": "LyraElement",
|
|
36553
|
+
"module": "src/internal/lyra-element.ts"
|
|
36554
|
+
}
|
|
36555
|
+
},
|
|
36556
|
+
{
|
|
36557
|
+
"kind": "method",
|
|
36558
|
+
"name": "focus",
|
|
36559
|
+
"return": {
|
|
36560
|
+
"type": {
|
|
36561
|
+
"text": "void"
|
|
36562
|
+
}
|
|
36563
|
+
},
|
|
36564
|
+
"parameters": [
|
|
36565
|
+
{
|
|
36566
|
+
"name": "options",
|
|
36567
|
+
"optional": true,
|
|
36568
|
+
"type": {
|
|
36569
|
+
"text": "FocusOptions"
|
|
36570
|
+
}
|
|
36571
|
+
}
|
|
36572
|
+
]
|
|
36573
|
+
},
|
|
36574
|
+
{
|
|
36575
|
+
"kind": "method",
|
|
36576
|
+
"name": "localize",
|
|
36577
|
+
"privacy": "protected",
|
|
36578
|
+
"return": {
|
|
36579
|
+
"type": {
|
|
36580
|
+
"text": "string"
|
|
36581
|
+
}
|
|
36582
|
+
},
|
|
36583
|
+
"parameters": [
|
|
36584
|
+
{
|
|
36585
|
+
"name": "key",
|
|
36586
|
+
"type": {
|
|
36587
|
+
"text": "string"
|
|
36588
|
+
}
|
|
36589
|
+
},
|
|
36590
|
+
{
|
|
36591
|
+
"name": "fallback",
|
|
36592
|
+
"optional": true,
|
|
36593
|
+
"type": {
|
|
36594
|
+
"text": "string"
|
|
36595
|
+
}
|
|
36596
|
+
},
|
|
36597
|
+
{
|
|
36598
|
+
"name": "values",
|
|
36599
|
+
"optional": true,
|
|
36600
|
+
"type": {
|
|
36601
|
+
"text": "Record<string, string | number>"
|
|
36602
|
+
}
|
|
36603
|
+
}
|
|
36604
|
+
],
|
|
36605
|
+
"description": "Resolve a localized message using this component's overrides and locale.",
|
|
36606
|
+
"inheritedFrom": {
|
|
36607
|
+
"name": "LyraElement",
|
|
36608
|
+
"module": "src/internal/lyra-element.ts"
|
|
36609
|
+
}
|
|
36610
|
+
},
|
|
36611
|
+
{
|
|
36612
|
+
"kind": "method",
|
|
36613
|
+
"name": "removeEventListener",
|
|
36614
|
+
"return": {
|
|
36615
|
+
"type": {
|
|
36616
|
+
"text": "void"
|
|
36617
|
+
}
|
|
36618
|
+
},
|
|
36619
|
+
"parameters": [
|
|
36620
|
+
{
|
|
36621
|
+
"name": "type",
|
|
36622
|
+
"type": {
|
|
36623
|
+
"text": "K"
|
|
36624
|
+
}
|
|
36625
|
+
},
|
|
36626
|
+
{
|
|
36627
|
+
"name": "listener",
|
|
36628
|
+
"type": {
|
|
36629
|
+
"text": "(this: this, event: Events[K]) => unknown"
|
|
36630
|
+
}
|
|
36631
|
+
},
|
|
36632
|
+
{
|
|
36633
|
+
"name": "options",
|
|
36634
|
+
"optional": true,
|
|
36635
|
+
"type": {
|
|
36636
|
+
"text": "boolean | EventListenerOptions"
|
|
36637
|
+
}
|
|
36638
|
+
}
|
|
36639
|
+
],
|
|
36640
|
+
"inheritedFrom": {
|
|
36641
|
+
"name": "LyraElement",
|
|
36642
|
+
"module": "src/internal/lyra-element.ts"
|
|
36643
|
+
}
|
|
36644
|
+
},
|
|
36645
|
+
{
|
|
36646
|
+
"kind": "method",
|
|
36647
|
+
"name": "select",
|
|
36648
|
+
"return": {
|
|
36649
|
+
"type": {
|
|
36650
|
+
"text": "void"
|
|
36651
|
+
}
|
|
36652
|
+
}
|
|
36653
|
+
},
|
|
36654
|
+
{
|
|
36655
|
+
"kind": "method",
|
|
36656
|
+
"name": "updateValidity",
|
|
36657
|
+
"privacy": "protected",
|
|
36658
|
+
"return": {
|
|
36659
|
+
"type": {
|
|
36660
|
+
"text": "void"
|
|
36661
|
+
}
|
|
36662
|
+
},
|
|
36663
|
+
"description": "Bridges the internal native `<input>`'s own browser-computed constraint validation (format for\n`type=\"email\"`, range/step for `type=\"number\"`) into this element's `ElementInternals`, instead\nof hand-rolling a second regex-based check — a real native input of the right `type` already\ncomputes `typeMismatch`/`rangeUnderflow`/`rangeOverflow`/`stepMismatch` correctly. Falls back to\nthe base mixin's plain required-and-empty check before the first render (`inputEl` unset).\n\nA typed native input (`number`, `email`, …) also runs its own value-sanitization algorithm on\nassignment, which silently rewrites an unparseable non-empty value to `''` without setting any\n`ValidityState` flag — left unchecked, `native.validity.valid` would then read `true` (empty is\nfine when not required) while `this.value`/the bridged form value still held the literal invalid\nstring. Detect that mismatch and report it as `badInput` instead of trusting native blindly."
|
|
36664
|
+
}
|
|
36665
|
+
],
|
|
36666
|
+
"events": [
|
|
36667
|
+
{
|
|
36668
|
+
"description": "Re-dispatched from the internal native `<input>`'s own `blur` — bubbling and composed (unlike the native event, which is neither).",
|
|
36669
|
+
"name": "blur"
|
|
36670
|
+
},
|
|
36671
|
+
{
|
|
36672
|
+
"description": "Re-dispatched from the internal native `<input>`'s own `focus`, for the same reason as `blur`.",
|
|
36673
|
+
"name": "focus"
|
|
36674
|
+
},
|
|
36675
|
+
{
|
|
36676
|
+
"description": "Fired on the native `change` timing (control loses focus after a committed edit). `detail: { value }`.",
|
|
36677
|
+
"name": "lyra-change"
|
|
36678
|
+
},
|
|
36679
|
+
{
|
|
36680
|
+
"description": "Fired on every user-driven edit (not a programmatic `.value` assignment). `detail: { value }`.",
|
|
36681
|
+
"name": "lyra-input"
|
|
36682
|
+
}
|
|
36683
|
+
],
|
|
36684
|
+
"attributes": [
|
|
36685
|
+
{
|
|
36686
|
+
"name": "aria-label",
|
|
36687
|
+
"type": {
|
|
36688
|
+
"text": "string | null"
|
|
36689
|
+
},
|
|
36690
|
+
"default": "null",
|
|
36691
|
+
"description": "Accessible name overriding the label/placeholder-derived default. Takes precedence over both\n`label` and `placeholder` when set, matching `<lyra-textarea>`'s `accessibleLabel`.",
|
|
36692
|
+
"fieldName": "accessibleLabel"
|
|
36693
|
+
},
|
|
36694
|
+
{
|
|
36695
|
+
"name": "autocomplete",
|
|
36696
|
+
"type": {
|
|
36697
|
+
"text": "string"
|
|
36698
|
+
},
|
|
36699
|
+
"default": "''",
|
|
36700
|
+
"fieldName": "autocomplete"
|
|
36701
|
+
},
|
|
36702
|
+
{
|
|
36703
|
+
"name": "error-text",
|
|
36704
|
+
"type": {
|
|
36705
|
+
"text": "string"
|
|
36706
|
+
},
|
|
36707
|
+
"default": "''",
|
|
36708
|
+
"fieldName": "errorText"
|
|
36709
|
+
},
|
|
36710
|
+
{
|
|
36711
|
+
"name": "hint",
|
|
36712
|
+
"type": {
|
|
36713
|
+
"text": "string"
|
|
36714
|
+
},
|
|
36715
|
+
"default": "''",
|
|
36716
|
+
"fieldName": "hint"
|
|
36717
|
+
},
|
|
36718
|
+
{
|
|
36719
|
+
"name": "label",
|
|
36720
|
+
"type": {
|
|
36721
|
+
"text": "string"
|
|
36722
|
+
},
|
|
36723
|
+
"default": "''",
|
|
36724
|
+
"fieldName": "label"
|
|
36725
|
+
},
|
|
36726
|
+
{
|
|
36727
|
+
"name": "locale",
|
|
36728
|
+
"type": {
|
|
36729
|
+
"text": "string"
|
|
36730
|
+
},
|
|
36731
|
+
"default": "''",
|
|
36732
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
36733
|
+
"fieldName": "locale",
|
|
36734
|
+
"inheritedFrom": {
|
|
36735
|
+
"name": "LyraElement",
|
|
36736
|
+
"module": "src/internal/lyra-element.ts"
|
|
36737
|
+
}
|
|
36738
|
+
},
|
|
36739
|
+
{
|
|
36740
|
+
"name": "max",
|
|
36741
|
+
"type": {
|
|
36742
|
+
"text": "number | undefined"
|
|
36743
|
+
},
|
|
36744
|
+
"fieldName": "max"
|
|
36745
|
+
},
|
|
36746
|
+
{
|
|
36747
|
+
"name": "min",
|
|
36748
|
+
"type": {
|
|
36749
|
+
"text": "number | undefined"
|
|
36750
|
+
},
|
|
36751
|
+
"description": "`type=\"number\"` only — forwarded to the internal native `<input>`'s own `min`/`max`/`step`\nand consulted by that same native input's constraint validation (see `updateValidity()`).",
|
|
36752
|
+
"fieldName": "min"
|
|
36753
|
+
},
|
|
36754
|
+
{
|
|
36755
|
+
"name": "password-visible",
|
|
36756
|
+
"type": {
|
|
36757
|
+
"text": "boolean"
|
|
36758
|
+
},
|
|
36759
|
+
"default": "false",
|
|
36760
|
+
"description": "`type=\"password\"` only — whether the field currently reveals its raw text. Toggled by the\nbuilt-in `password-toggle` button; also settable by a consumer up front.",
|
|
36761
|
+
"fieldName": "passwordVisible"
|
|
36762
|
+
},
|
|
36763
|
+
{
|
|
36764
|
+
"name": "placeholder",
|
|
36765
|
+
"type": {
|
|
36766
|
+
"text": "string"
|
|
36767
|
+
},
|
|
36768
|
+
"default": "''",
|
|
36769
|
+
"fieldName": "placeholder"
|
|
36770
|
+
},
|
|
36771
|
+
{
|
|
36772
|
+
"name": "step",
|
|
36773
|
+
"type": {
|
|
36774
|
+
"text": "number | undefined"
|
|
36775
|
+
},
|
|
36776
|
+
"fieldName": "step"
|
|
36777
|
+
},
|
|
36778
|
+
{
|
|
36779
|
+
"name": "type",
|
|
36780
|
+
"type": {
|
|
36781
|
+
"text": "LyraInputType"
|
|
36782
|
+
},
|
|
36783
|
+
"default": "'text'",
|
|
36784
|
+
"fieldName": "type"
|
|
36785
|
+
}
|
|
36786
|
+
],
|
|
36787
|
+
"mixins": [
|
|
36788
|
+
{
|
|
36789
|
+
"name": "FormAssociated",
|
|
36790
|
+
"module": "/src/internal/form-associated.js"
|
|
36791
|
+
}
|
|
36792
|
+
],
|
|
36793
|
+
"superclass": {
|
|
36794
|
+
"name": "LyraInputBase",
|
|
36795
|
+
"module": "src/components/input/input.class.ts"
|
|
36796
|
+
},
|
|
36797
|
+
"tagName": "lyra-input",
|
|
36798
|
+
"customElement": true
|
|
36799
|
+
}
|
|
36800
|
+
],
|
|
36801
|
+
"exports": [
|
|
36802
|
+
{
|
|
36803
|
+
"kind": "js",
|
|
36804
|
+
"name": "LyraInput",
|
|
36805
|
+
"declaration": {
|
|
36806
|
+
"name": "LyraInput",
|
|
36807
|
+
"module": "src/components/input/input.class.ts"
|
|
36808
|
+
}
|
|
36809
|
+
}
|
|
36810
|
+
]
|
|
36811
|
+
},
|
|
36812
|
+
{
|
|
36813
|
+
"kind": "javascript-module",
|
|
36814
|
+
"path": "src/components/input/input.ts",
|
|
36815
|
+
"declarations": [],
|
|
36816
|
+
"exports": [
|
|
36817
|
+
{
|
|
36818
|
+
"kind": "custom-element-definition",
|
|
36819
|
+
"name": "lyra-input",
|
|
36820
|
+
"declaration": {
|
|
36821
|
+
"name": "LyraInput",
|
|
36822
|
+
"module": "src/components/input/input.class.ts"
|
|
36823
|
+
}
|
|
36824
|
+
},
|
|
36825
|
+
{
|
|
36826
|
+
"kind": "js",
|
|
36827
|
+
"name": "*",
|
|
36828
|
+
"declaration": {
|
|
36829
|
+
"name": "*",
|
|
36830
|
+
"module": "src/components/input/input.class.js"
|
|
36831
|
+
}
|
|
36832
|
+
}
|
|
36833
|
+
]
|
|
36834
|
+
},
|
|
36835
|
+
{
|
|
36836
|
+
"kind": "javascript-module",
|
|
36837
|
+
"path": "src/components/json-viewer/json-viewer.class.ts",
|
|
36838
|
+
"declarations": [
|
|
36839
|
+
{
|
|
36840
|
+
"kind": "class",
|
|
36841
|
+
"description": "`<lyra-json-viewer>` — a collapsible, copyable tree view for an arbitrary\nJSON-serializable value (object/array/string/number/boolean/null/\nundefined). Serves as the fallback renderer wherever a raw payload (tool\ncall arguments, a tool result, an API response) needs inspecting without a\nbespoke view.\n\nExpand/collapse state is keyed by structural path (not by object identity),\nso it survives a `data` reassignment that keeps the same shape -- e.g. a\nstreaming tool result being patched in place.",
|
|
36842
|
+
"name": "LyraJsonViewer",
|
|
36843
|
+
"cssParts": [
|
|
36844
|
+
{
|
|
36845
|
+
"description": "The root scroll container; respects `max-height`.",
|
|
36846
|
+
"name": "base"
|
|
36847
|
+
},
|
|
36848
|
+
{
|
|
36849
|
+
"description": "A `{`, `}`, `[`, or `]` delimiter.",
|
|
36850
|
+
"name": "bracket"
|
|
36851
|
+
},
|
|
36852
|
+
{
|
|
36853
|
+
"description": "A copy-to-clipboard button -- the top-level one (in `toolbar`, labelled \"Copy JSON to clipboard\") or a per-node one (only rendered when `copyable`; labelled with its own key/type, e.g. \"Copy age\", so assistive tech can tell rows apart).",
|
|
36854
|
+
"name": "copy-button"
|
|
36855
|
+
},
|
|
36856
|
+
{
|
|
36857
|
+
"description": "An object property key or array index label.",
|
|
36858
|
+
"name": "key"
|
|
36859
|
+
},
|
|
36860
|
+
{
|
|
36861
|
+
"description": "A container node's expand/collapse button (hidden, but present for row alignment, on leaf/empty nodes).",
|
|
36862
|
+
"name": "toggle"
|
|
36863
|
+
},
|
|
36864
|
+
{
|
|
36865
|
+
"description": "The wrapper around the top-level copy button (only rendered when `copyable`).",
|
|
36866
|
+
"name": "toolbar"
|
|
36867
|
+
},
|
|
36868
|
+
{
|
|
36869
|
+
"description": "The wrapper around the rendered node tree.",
|
|
36870
|
+
"name": "tree"
|
|
36871
|
+
},
|
|
36872
|
+
{
|
|
36873
|
+
"description": "A primitive value's text -- carries `data-type` (`string`/`number`/`boolean`/`null`/`undefined`, or `circular` for a self-reference marker in place of a re-visited container's subtree) for per-type coloring, and `data-match` while it matches `search`.",
|
|
36874
|
+
"name": "value"
|
|
36875
|
+
}
|
|
36876
|
+
],
|
|
36877
|
+
"members": [
|
|
36878
|
+
{
|
|
36879
|
+
"kind": "field",
|
|
36880
|
+
"name": "collapsedDepth",
|
|
36881
|
+
"type": {
|
|
36882
|
+
"text": "number | undefined"
|
|
36883
|
+
},
|
|
36884
|
+
"description": "Nodes at or beyond this nesting depth (root = 0) start collapsed. Omit/undefined: nothing auto-collapses.",
|
|
36885
|
+
"attribute": "collapsed-depth"
|
|
36886
|
+
},
|
|
36887
|
+
{
|
|
36888
|
+
"kind": "field",
|
|
36889
|
+
"name": "copyable",
|
|
36890
|
+
"type": {
|
|
36891
|
+
"text": "boolean"
|
|
36892
|
+
},
|
|
36893
|
+
"default": "false",
|
|
36894
|
+
"description": "Shows copy-to-clipboard affordances: one for the whole value, plus one per node.",
|
|
36895
|
+
"attribute": "copyable",
|
|
36896
|
+
"reflects": true
|
|
36897
|
+
},
|
|
36898
|
+
{
|
|
36899
|
+
"kind": "field",
|
|
36900
|
+
"name": "data",
|
|
36901
|
+
"type": {
|
|
36902
|
+
"text": "unknown"
|
|
36903
|
+
},
|
|
36904
|
+
"description": "The value to render. Any JSON-serializable value, plus `undefined`."
|
|
36905
|
+
},
|
|
36906
|
+
{
|
|
36907
|
+
"kind": "field",
|
|
36908
|
+
"name": "effectiveDirection",
|
|
36909
|
+
"type": {
|
|
36910
|
+
"text": "'ltr' | 'rtl'"
|
|
36911
|
+
},
|
|
36912
|
+
"privacy": "protected",
|
|
36913
|
+
"description": "The effective text direction, including inherited CSS direction.",
|
|
36914
|
+
"readonly": true,
|
|
36915
|
+
"inheritedFrom": {
|
|
36916
|
+
"name": "LyraElement",
|
|
36917
|
+
"module": "src/internal/lyra-element.ts"
|
|
36918
|
+
}
|
|
36919
|
+
},
|
|
36920
|
+
{
|
|
36921
|
+
"kind": "field",
|
|
36922
|
+
"name": "effectiveLocale",
|
|
36923
|
+
"type": {
|
|
36924
|
+
"text": "string"
|
|
36925
|
+
},
|
|
36926
|
+
"privacy": "protected",
|
|
36927
|
+
"description": "The effective locale used by this component.",
|
|
36928
|
+
"readonly": true,
|
|
36929
|
+
"inheritedFrom": {
|
|
36930
|
+
"name": "LyraElement",
|
|
36931
|
+
"module": "src/internal/lyra-element.ts"
|
|
36932
|
+
}
|
|
36933
|
+
},
|
|
36934
|
+
{
|
|
36935
|
+
"kind": "field",
|
|
36936
|
+
"name": "expandedOverrides",
|
|
36937
|
+
"privacy": "private",
|
|
36938
|
+
"default": "new Map<string, boolean>()",
|
|
36939
|
+
"description": "Per-path (`JSON.stringify(path)`) explicit expand/collapse, overriding\nthe `collapsedDepth`/search defaults once a node's toggle has been used.\nPruned in `willUpdate()` (to the paths still reachable in the tree)\nwhenever `data` changes, so a long-lived instance bound to reshaping\ndata -- this component's own stated streaming use case -- doesn't\naccumulate one entry per path ever toggled for the life of the instance."
|
|
36940
|
+
},
|
|
36941
|
+
{
|
|
36942
|
+
"kind": "field",
|
|
36943
|
+
"name": "locale",
|
|
36944
|
+
"type": {
|
|
36945
|
+
"text": "string"
|
|
36946
|
+
},
|
|
36947
|
+
"default": "''",
|
|
36948
|
+
"description": "Optional locale override. Otherwise the nearest `locale`/`lang` ancestor is used.",
|
|
36949
|
+
"attribute": "locale",
|
|
36950
|
+
"reflects": true,
|
|
36951
|
+
"inheritedFrom": {
|
|
36952
|
+
"name": "LyraElement",
|
|
36953
|
+
"module": "src/internal/lyra-element.ts"
|
|
36954
|
+
}
|
|
36955
|
+
},
|
|
36956
|
+
{
|
|
36957
|
+
"kind": "field",
|
|
36958
|
+
"name": "maxHeight",
|
|
36959
|
+
"type": {
|
|
36960
|
+
"text": "string"
|
|
36961
|
+
},
|
|
36962
|
+
"default": "''",
|
|
36963
|
+
"description": "A CSS length (e.g. `\"20rem\"`); once set, the viewer scrolls internally past this height instead of growing the page.",
|
|
36964
|
+
"attribute": "max-height"
|
|
36965
|
+
},
|
|
36966
|
+
{
|
|
36967
|
+
"kind": "field",
|
|
36968
|
+
"name": "search",
|
|
36969
|
+
"type": {
|
|
36970
|
+
"text": "string"
|
|
36971
|
+
},
|
|
36972
|
+
"default": "''",
|
|
36973
|
+
"description": "Case-insensitive substring match against keys/values; matches are highlighted and their ancestors auto-expanded.",
|
|
36974
|
+
"attribute": "search"
|
|
36975
|
+
},
|
|
36976
|
+
{
|
|
36977
|
+
"kind": "field",
|
|
36978
|
+
"name": "searchState",
|
|
36979
|
+
"type": {
|
|
36980
|
+
"text": "SearchState"
|
|
36981
|
+
},
|
|
36982
|
+
"privacy": "private",
|
|
36983
|
+
"default": "{ keyMatches: new Set(), valueMatches: new Set(), forceExpand: new Set(), paths: new Set(), }",
|
|
36984
|
+
"description": "Memoized result of the last `computeSearch()` walk -- see `willUpdate()`."
|
|
35797
36985
|
},
|
|
35798
36986
|
{
|
|
35799
36987
|
"kind": "field",
|
|
@@ -61139,12 +62327,20 @@
|
|
|
61139
62327
|
"declarations": [
|
|
61140
62328
|
{
|
|
61141
62329
|
"kind": "class",
|
|
61142
|
-
"description": "`<lyra-tool-result-view>` — renders a tool call's result via whichever\ncustom renderer a host app has registered for it (see `registerToolRenderer()`\nin `registry.ts`), falling back to `<lyra-json-viewer>` whenever no\nrenderer matches, a candidate renderer's `matches()` predicate throws during\ndispatch, a renderer's optional `load()` rejects, or its `render()` throws.\nThis component owns none of the actual visual weight of a\npopulated tool result — that's entirely whatever the registered renderer\nreturns; this is just the dispatch + fallback + loading-state shell.\n\nDispatch runs against `registry` when set, otherwise against the\nmodule-level default registry `registerToolRenderer()` writes to — see\n`findToolRenderer()`'s two-step (exact name, then shape-based `matches()`)\nlookup order for the full rule.\n\n`fallback`
|
|
62330
|
+
"description": "`<lyra-tool-result-view>` — renders a tool call's result via whichever\ncustom renderer a host app has registered for it (see `registerToolRenderer()`\nin `registry.ts`), falling back to `<lyra-json-viewer>` whenever no\nrenderer matches, a candidate renderer's `matches()` predicate throws during\ndispatch, a renderer's optional `load()` rejects, or its `render()` throws.\nThis component owns none of the actual visual weight of a\npopulated tool result — that's entirely whatever the registered renderer\nreturns; this is just the dispatch + fallback + loading-state shell.\n\nDispatch runs against `registry` when set, otherwise against the\nmodule-level default registry `registerToolRenderer()` writes to — see\n`findToolRenderer()`'s two-step (exact name, then shape-based `matches()`)\nlookup order for the full rule.\n\n`fallback` implements two kinds: `\"json\"` (the default, an unconditional `<lyra-json-viewer>`)\nand `\"text\"`, which renders a *string* `result` as preformatted text instead — falling back to\nthe `\"json\"` behavior when `result` isn't a string, so setting `fallback=\"text\"` defensively\nagainst an unpredictable result shape never renders broken output. `copyable` adds a\ncopy-to-clipboard affordance to either fallback kind (forwarded to `<lyra-json-viewer>`'s own\n`copyable` for `\"json\"`; a `<lyra-copy-button>` alongside the text for `\"text\"`).",
|
|
61143
62331
|
"name": "LyraToolResultView",
|
|
61144
62332
|
"cssParts": [
|
|
61145
62333
|
{
|
|
61146
62334
|
"description": "The root wrapper around the resolved renderer's output (or the loading/fallback view).",
|
|
61147
62335
|
"name": "base"
|
|
62336
|
+
},
|
|
62337
|
+
{
|
|
62338
|
+
"description": "The `<lyra-copy-button>` shown when `copyable` is set alongside the `fallback=\"text\"` kind (only present when both are set).",
|
|
62339
|
+
"name": "fallback-copy"
|
|
62340
|
+
},
|
|
62341
|
+
{
|
|
62342
|
+
"description": "The `<pre>` element for the `fallback=\"text\"` kind's preformatted result text (only present in that mode).",
|
|
62343
|
+
"name": "fallback-text"
|
|
61148
62344
|
}
|
|
61149
62345
|
],
|
|
61150
62346
|
"members": [
|
|
@@ -61156,6 +62352,17 @@
|
|
|
61156
62352
|
},
|
|
61157
62353
|
"description": "The tool call's original arguments, if available — handed to the matched renderer's `render()` alongside `result`."
|
|
61158
62354
|
},
|
|
62355
|
+
{
|
|
62356
|
+
"kind": "field",
|
|
62357
|
+
"name": "copyable",
|
|
62358
|
+
"type": {
|
|
62359
|
+
"text": "boolean"
|
|
62360
|
+
},
|
|
62361
|
+
"default": "false",
|
|
62362
|
+
"description": "Shows a copy-to-clipboard affordance alongside the fallback view (both `\"json\"` and `\"text\"` kinds) — forwarded to `<lyra-json-viewer>`'s own `copyable`, or renders a `<lyra-copy-button>` next to the text fallback.",
|
|
62363
|
+
"attribute": "copyable",
|
|
62364
|
+
"reflects": true
|
|
62365
|
+
},
|
|
61159
62366
|
{
|
|
61160
62367
|
"kind": "field",
|
|
61161
62368
|
"name": "effectiveDirection",
|
|
@@ -61191,7 +62398,7 @@
|
|
|
61191
62398
|
"text": "string"
|
|
61192
62399
|
},
|
|
61193
62400
|
"default": "'json'",
|
|
61194
|
-
"description": "
|
|
62401
|
+
"description": "Fallback-kind selector — see the class doc's `fallback` paragraph for the full \"json\" vs \"text\" behavior.",
|
|
61195
62402
|
"attribute": "fallback",
|
|
61196
62403
|
"reflects": true
|
|
61197
62404
|
},
|
|
@@ -61447,6 +62654,16 @@
|
|
|
61447
62654
|
"module": "src/internal/lyra-element.ts"
|
|
61448
62655
|
}
|
|
61449
62656
|
},
|
|
62657
|
+
{
|
|
62658
|
+
"kind": "method",
|
|
62659
|
+
"name": "renderFallback",
|
|
62660
|
+
"privacy": "private",
|
|
62661
|
+
"return": {
|
|
62662
|
+
"type": {
|
|
62663
|
+
"text": "unknown"
|
|
62664
|
+
}
|
|
62665
|
+
}
|
|
62666
|
+
},
|
|
61450
62667
|
{
|
|
61451
62668
|
"kind": "method",
|
|
61452
62669
|
"name": "renderWith",
|
|
@@ -61483,13 +62700,22 @@
|
|
|
61483
62700
|
}
|
|
61484
62701
|
],
|
|
61485
62702
|
"attributes": [
|
|
62703
|
+
{
|
|
62704
|
+
"name": "copyable",
|
|
62705
|
+
"type": {
|
|
62706
|
+
"text": "boolean"
|
|
62707
|
+
},
|
|
62708
|
+
"default": "false",
|
|
62709
|
+
"description": "Shows a copy-to-clipboard affordance alongside the fallback view (both `\"json\"` and `\"text\"` kinds) — forwarded to `<lyra-json-viewer>`'s own `copyable`, or renders a `<lyra-copy-button>` next to the text fallback.",
|
|
62710
|
+
"fieldName": "copyable"
|
|
62711
|
+
},
|
|
61486
62712
|
{
|
|
61487
62713
|
"name": "fallback",
|
|
61488
62714
|
"type": {
|
|
61489
62715
|
"text": "string"
|
|
61490
62716
|
},
|
|
61491
62717
|
"default": "'json'",
|
|
61492
|
-
"description": "
|
|
62718
|
+
"description": "Fallback-kind selector — see the class doc's `fallback` paragraph for the full \"json\" vs \"text\" behavior.",
|
|
61493
62719
|
"fieldName": "fallback"
|
|
61494
62720
|
},
|
|
61495
62721
|
{
|