@aceshooting/lyra-ui 18.3.0 → 19.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/CHANGELOG.md +39 -0
- package/custom-elements.json +1 -1
- package/dist/cli/migration-contract.json +1 -1
- package/dist/components/agent-tools/mcp-app/mcp-app.class.d.ts +6 -2
- package/dist/components/agent-tools/mcp-app/mcp-app.class.js +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +11 -2
- package/dist/components/charts/chart/chart.class.js +1 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +2 -2
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +3 -3
- package/dist/components/conversation/checkpoint/checkpoint.class.js +1 -1
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.js +1 -1
- package/dist/components/media/drop-zone/drop-zone.class.js +2 -2
- package/dist/components/media/file-input/file-input.class.d.ts +6 -5
- package/dist/components/media/file-input/file-input.class.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +2 -2
- package/dist/components/media/lightbox/lightbox.class.d.ts +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.class.d.ts +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.d.ts +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +12 -6
- package/dist/components/overlays/dialog/dialog.class.js +3 -6
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +3 -4
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.js +2 -2
- package/dist/components/utility/copy-button/copy-button.class.d.ts +9 -6
- package/dist/components/utility/copy-button/copy-button.class.js +1 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +12 -0
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/icon/icon.class.d.ts +3 -2
- package/dist/components/utility/icon/icon.class.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/internal/overlay-stack.js +1 -1
- package/dist/internal/package-metadata.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/safe-svg.d.ts +15 -11
- package/dist/internal/safe-svg.js +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-agent-workspace.md +2 -2
- package/llms/components/lr-chart.md +13 -6
- package/llms/components/lr-copy-button.md +6 -6
- package/llms/components/lr-dialog.md +5 -3
- package/llms/components/lr-export-button.md +11 -3
- package/llms/components/lr-file-input.md +3 -2
- package/llms/components/lr-mcp-app.md +5 -0
- package/llms/components/lr-retrieval-search.md +2 -2
- package/llms-full.txt +47 -23
- package/package.json +2 -2
- package/vscode-css-data.json +1 -1
- package/vscode-html-data.json +1 -1
- package/web-types.json +1 -1
|
@@ -83,10 +83,10 @@ Citation; truncated?: boolean; omittedTokens?: number; redactions?: ContextInspe
|
|
|
83
83
|
- `composerStatus: ChatComposerStatus = 'idle'` (attribute `composer-status`) — `'idle' | 'sending' |
|
|
84
84
|
'streaming'`, `lr-chat-composer`'s own union; invalid values read as `idle` without rewriting the
|
|
85
85
|
host attribute
|
|
86
|
-
- `composerPlaceholder
|
|
86
|
+
- `composerPlaceholder?: string` (attribute `composer-placeholder`)
|
|
87
87
|
- `composerMinRows: number = 1` (attribute `composer-min-rows`), `composerMaxRows: number = 8`
|
|
88
88
|
(attribute `composer-max-rows`)
|
|
89
|
-
- `label
|
|
89
|
+
- `label?: string` — accessible name and visible heading; omission uses the localized default and an explicit empty string suppresses it
|
|
90
90
|
- `accessibleLabel: string | null = null` (attribute `aria-label`) — host-level accessible-name
|
|
91
91
|
override for the internal `role="region"` root
|
|
92
92
|
|
|
@@ -100,10 +100,11 @@ structured points retain their y-value formatting.
|
|
|
100
100
|
draws side by side with the first on that axis. Omitted series share one implicit group, so
|
|
101
101
|
every chart written before `stack` existed sums exactly as it always did. Only meaningful on an
|
|
102
102
|
axis that is actually stacked — see `stacked`/`stackedAxes` below.
|
|
103
|
-
`LyraChartPoint { readonly x: number; readonly
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
`LyraChartPoint { readonly x: number; readonly y: number; readonly r?: number; readonly id?:
|
|
104
|
+
string | number; readonly label?: string }`: `r` is the bubble radius, and the optional primitive
|
|
105
|
+
`id` is retained by activation events for application navigation or selection. Objects, symbols,
|
|
106
|
+
and non-finite numeric ids are omitted. The optional per-point `label` is retained by events, CSV
|
|
107
|
+
export, keyboard announcements, generated summaries, and the accessible table. Point wording is localized as
|
|
107
108
|
whole messages: `chartPointCoordinates`, `chartBubblePointCoordinates`, and
|
|
108
109
|
`chartLabeledPoint` own coordinate names, order, separators, and the label wrapper. A caller's
|
|
109
110
|
point label is interpolated verbatim rather than translated or parsed. At runtime, non-record
|
|
@@ -381,9 +382,15 @@ const series = [
|
|
|
381
382
|
point/segment, when a generated-table value is activated, or when Enter/Space activates the
|
|
382
383
|
keyboard-current canvas datum; `detail: { datasetIndex: number, index: number, label: string |
|
|
383
384
|
undefined, value: unknown }`). For scatter/bubble points, `label` prefers the per-point label and
|
|
384
|
-
`value` is the complete `LyraChartPoint`, including optional `r` and `label`.
|
|
385
|
+
`value` is the complete `LyraChartPoint`, including optional `r`, `id`, and `label`. A primitive
|
|
386
|
+
`id` survives the same pointer, data-table, and keyboard activation paths; invalid ids are omitted.
|
|
385
387
|
`lr-datum-activate` emits the same activation with `kind: 'bar'|'point'|'segment'|'slice'` for
|
|
386
|
-
family-wide handling
|
|
388
|
+
family-wide handling. For scatter/bubble, both events carry the same `LyraChartPoint` value,
|
|
389
|
+
including a string or finite-number `id` when supplied; invalid ids are omitted. The public
|
|
390
|
+
`LyraChartPoint.id` type is `string | number`, while the activation event's heterogeneous `value`
|
|
391
|
+
is typed `unknown`. Validate or explicitly narrow the value itself before reading point fields;
|
|
392
|
+
checking `detail.kind === 'point'` alone does not narrow `detail.value` in TypeScript.
|
|
393
|
+
`lr-point-click` remains as a compatibility event. Also
|
|
387
394
|
`lr-before-legend-visibility-change` (cancelable proposal), and
|
|
388
395
|
`lr-legend-visibility-change` (accepted commit). Both legend events carry
|
|
389
396
|
`{ datasetIndex: number, visible: boolean, hiddenDatasets: readonly number[] }`; the latter is the
|
|
@@ -35,12 +35,12 @@ buttons.
|
|
|
35
35
|
Resolution prefers an element in the button's own root, then falls back to the owner document;
|
|
36
36
|
a duplicate same-root id therefore wins without preventing a shadow-contained button from
|
|
37
37
|
targeting an otherwise valid document-owned source.
|
|
38
|
-
- `copyLabel
|
|
39
|
-
tooltip text;
|
|
40
|
-
- `successLabel
|
|
41
|
-
uses localized `copied
|
|
42
|
-
- `errorLabel
|
|
43
|
-
localized `copyFailed
|
|
38
|
+
- `copyLabel?: string` (attribute `copy-label`) — built-in button accessible name and resting
|
|
39
|
+
tooltip text; omission uses localized `copy`, while an explicit empty string suppresses it.
|
|
40
|
+
- `successLabel?: string` (attribute `success-label`) — confirmation name/tooltip text; omission
|
|
41
|
+
uses localized `copied`, while an explicit empty string suppresses it.
|
|
42
|
+
- `errorLabel?: string` (attribute `error-label`) — failure name/tooltip text; omission uses
|
|
43
|
+
localized `copyFailed`, while an explicit empty string suppresses it.
|
|
44
44
|
- `tooltip: 'full' | 'copy' | 'none' = 'full'` (reflected) — `full` shows the resting tooltip on
|
|
45
45
|
hover/focus and feedback after activation, `copy` shows feedback only, and `none` disables it.
|
|
46
46
|
- `tooltipPlacement: 'top' | 'right' | 'bottom' | 'left' = 'top'` (attribute
|
|
@@ -178,10 +178,12 @@ painted surface sits one boundary deeper. `<lr-drawer>` inherits this control an
|
|
|
178
178
|
`<lr-icon-button>` itself.
|
|
179
179
|
|
|
180
180
|
**The body is keyboard-reachable while it overflows.** `[part="body"]` is the element that scrolls,
|
|
181
|
-
so it carries `tabindex="
|
|
182
|
-
|
|
181
|
+
so it carries `tabindex="0"` **only while its content actually overflows** — a dialog whose
|
|
182
|
+
content is nothing but prose, a table, or a rendered document used to
|
|
183
183
|
be scrollable with a mouse and completely unreachable from the keyboard, because a scroll container
|
|
184
|
-
with no focusable child is not a stop of its own. A short body
|
|
184
|
+
with no focusable child is not a stop of its own. A short body keeps `tabindex="-1"` and never
|
|
185
|
+
becomes a gratuitous stop. Resize and content changes update the body's tabindex as its overflow
|
|
186
|
+
changes; `<lr-drawer>` uses the same behavior.
|
|
185
187
|
|
|
186
188
|
It takes focus like any other stop, so it styles like one: `::part(body):focus-visible` draws the
|
|
187
189
|
standard `--lr-focus-ring-*` ring, inset (`outline-offset` is negative) because the body is flush
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 6 parts,
|
|
12
|
+
- **Themeable via** 6 parts, 14 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -98,8 +98,16 @@ closes caused by disablement, loading, or an unusable format list emit neither e
|
|
|
98
98
|
attempt regardless of outcome — style with `::part(trigger-error)`), `menu`, `menu-item`,
|
|
99
99
|
`format-label`, `format-description`
|
|
100
100
|
|
|
101
|
-
**Themeable custom properties:**
|
|
102
|
-
|
|
101
|
+
**Themeable custom properties:** the trigger's paint is settable per state. At rest,
|
|
102
|
+
`--lr-export-button-background`, `--lr-export-button-color` and `--lr-export-button-border`; on
|
|
103
|
+
hover, `--lr-export-button-hover-background`, `--lr-export-button-hover-color` and
|
|
104
|
+
`--lr-export-button-hover-border`; while pressed, `--lr-export-button-active-background`,
|
|
105
|
+
`--lr-export-button-active-color` and `--lr-export-button-active-border`. Each layers over whatever
|
|
106
|
+
the current `appearance` resolves to and leaves the other paints alone, so they are also the way to
|
|
107
|
+
keep `appearance="outlined"` chrome while returning its label to neutral text — `outlined` paints
|
|
108
|
+
the label `--lr-color-brand` and, unlike `lr-button`, this component has no `variant` of its own to
|
|
109
|
+
opt out. Before 18.4.0 none of these existed and the only lever was `::part(trigger)`. Plus shared
|
|
110
|
+
tokens, including `--lr-popover-viewport-clamp` (default `92vw`) — the shared narrow-viewport ceiling the `menu`'s max-inline-size is `min()`ed
|
|
103
111
|
against, alongside its own `20rem` cap and the positioner's available space. See `lr-tour` for the
|
|
104
112
|
shared-clamp note.
|
|
105
113
|
|
|
@@ -87,8 +87,9 @@ enabled buttons retain pointer feedback.
|
|
|
87
87
|
constrained spaces (a toolbar, a table cell) — the same convention as `lr-empty`'s `compact`. The
|
|
88
88
|
dashed border stays; only the internal spacing shrinks. `false` (the default) keeps the full
|
|
89
89
|
`--lr-space-l` dropzone.
|
|
90
|
-
- `label
|
|
91
|
-
|
|
90
|
+
- `label?: string` — form-control label. Omission uses the localized dropzone instruction
|
|
91
|
+
(`fileInputDefaultLabel`); an explicit empty string suppresses that fallback. `hint: string = ''`
|
|
92
|
+
remains empty when omitted and can be supplied through the named slot as well
|
|
92
93
|
- `errorText: string = ''` (attribute `error-text`) — plain-text owned validation feedback. When
|
|
93
94
|
it is empty, a `customError` message is rendered when present; otherwise an intrinsic validation
|
|
94
95
|
message appears after the control has been interacted with. Rich `error` slot content replaces
|
|
@@ -47,6 +47,11 @@ typed events. Capabilities are denied unless explicitly enabled in `resource.per
|
|
|
47
47
|
request with exactly one of `{ frameGeneration, result }` or `{ frameGeneration, error }`. Missing,
|
|
48
48
|
stale, or ambiguous correlation fails closed. Both methods are no-ops before a frame exists.
|
|
49
49
|
|
|
50
|
+
The initial `host-context` message includes a document-bound nonce and transfers a `MessagePort` to
|
|
51
|
+
the executable document. Frame requests and host messages after bootstrap use that port. A same-frame
|
|
52
|
+
navigation closes the port, invalidates the nonce and generation, and mounts a fresh sandbox before
|
|
53
|
+
host data can be delivered.
|
|
54
|
+
|
|
50
55
|
**Exported types:** `McpAppResource`, `McpAppCsp`, `McpAppPermissions`,
|
|
51
56
|
`McpAppToolCallDetail`, `McpAppToolResultOptions`, and `LyraMcpAppEventMap`.
|
|
52
57
|
|
|
@@ -60,8 +60,8 @@ at the same size tier, so the toolbar row renders as one flush line.
|
|
|
60
60
|
Remove any host `role="status"`/`role="alert"` hand-added before this property existed once it
|
|
61
61
|
is set — otherwise the initial state is announced twice, through the native role and again
|
|
62
62
|
through the shared sink
|
|
63
|
-
- `placeholder
|
|
64
|
-
|
|
63
|
+
- `placeholder?: string` — query-field placeholder. Omission uses the localized generic "Search"
|
|
64
|
+
placeholder; an explicit empty string suppresses that fallback
|
|
65
65
|
- `label?: string` — fallback name for the `role="search"` landmark; omission uses the localized
|
|
66
66
|
retrieval-search label, while an explicit empty string stays empty
|
|
67
67
|
- `accessibleLabel: string | null = null` (attribute `aria-label`) — as a JS-only property while
|
package/llms-full.txt
CHANGED
|
@@ -22621,10 +22621,12 @@ painted surface sits one boundary deeper. `<lr-drawer>` inherits this control an
|
|
|
22621
22621
|
`<lr-icon-button>` itself.
|
|
22622
22622
|
|
|
22623
22623
|
**The body is keyboard-reachable while it overflows.** `[part="body"]` is the element that scrolls,
|
|
22624
|
-
so it carries `tabindex="
|
|
22625
|
-
|
|
22624
|
+
so it carries `tabindex="0"` **only while its content actually overflows** — a dialog whose
|
|
22625
|
+
content is nothing but prose, a table, or a rendered document used to
|
|
22626
22626
|
be scrollable with a mouse and completely unreachable from the keyboard, because a scroll container
|
|
22627
|
-
with no focusable child is not a stop of its own. A short body
|
|
22627
|
+
with no focusable child is not a stop of its own. A short body keeps `tabindex="-1"` and never
|
|
22628
|
+
becomes a gratuitous stop. Resize and content changes update the body's tabindex as its overflow
|
|
22629
|
+
changes; `<lr-drawer>` uses the same behavior.
|
|
22628
22630
|
|
|
22629
22631
|
It takes focus like any other stop, so it styles like one: `::part(body):focus-visible` draws the
|
|
22630
22632
|
standard `--lr-focus-ring-*` ring, inset (`outline-offset` is negative) because the body is flush
|
|
@@ -24874,8 +24876,16 @@ closes caused by disablement, loading, or an unusable format list emit neither e
|
|
|
24874
24876
|
attempt regardless of outcome — style with `::part(trigger-error)`), `menu`, `menu-item`,
|
|
24875
24877
|
`format-label`, `format-description`
|
|
24876
24878
|
|
|
24877
|
-
**Themeable custom properties:**
|
|
24878
|
-
|
|
24879
|
+
**Themeable custom properties:** the trigger's paint is settable per state. At rest,
|
|
24880
|
+
`--lr-export-button-background`, `--lr-export-button-color` and `--lr-export-button-border`; on
|
|
24881
|
+
hover, `--lr-export-button-hover-background`, `--lr-export-button-hover-color` and
|
|
24882
|
+
`--lr-export-button-hover-border`; while pressed, `--lr-export-button-active-background`,
|
|
24883
|
+
`--lr-export-button-active-color` and `--lr-export-button-active-border`. Each layers over whatever
|
|
24884
|
+
the current `appearance` resolves to and leaves the other paints alone, so they are also the way to
|
|
24885
|
+
keep `appearance="outlined"` chrome while returning its label to neutral text — `outlined` paints
|
|
24886
|
+
the label `--lr-color-brand` and, unlike `lr-button`, this component has no `variant` of its own to
|
|
24887
|
+
opt out. Before 18.4.0 none of these existed and the only lever was `::part(trigger)`. Plus shared
|
|
24888
|
+
tokens, including `--lr-popover-viewport-clamp` (default `92vw`) — the shared narrow-viewport ceiling the `menu`'s max-inline-size is `min()`ed
|
|
24879
24889
|
against, alongside its own `20rem` cap and the positioner's available space. See `lr-tour` for the
|
|
24880
24890
|
shared-clamp note.
|
|
24881
24891
|
|
|
@@ -25004,12 +25014,12 @@ buttons.
|
|
|
25004
25014
|
Resolution prefers an element in the button's own root, then falls back to the owner document;
|
|
25005
25015
|
a duplicate same-root id therefore wins without preventing a shadow-contained button from
|
|
25006
25016
|
targeting an otherwise valid document-owned source.
|
|
25007
|
-
- `copyLabel
|
|
25008
|
-
tooltip text;
|
|
25009
|
-
- `successLabel
|
|
25010
|
-
uses localized `copied
|
|
25011
|
-
- `errorLabel
|
|
25012
|
-
localized `copyFailed
|
|
25017
|
+
- `copyLabel?: string` (attribute `copy-label`) — built-in button accessible name and resting
|
|
25018
|
+
tooltip text; omission uses localized `copy`, while an explicit empty string suppresses it.
|
|
25019
|
+
- `successLabel?: string` (attribute `success-label`) — confirmation name/tooltip text; omission
|
|
25020
|
+
uses localized `copied`, while an explicit empty string suppresses it.
|
|
25021
|
+
- `errorLabel?: string` (attribute `error-label`) — failure name/tooltip text; omission uses
|
|
25022
|
+
localized `copyFailed`, while an explicit empty string suppresses it.
|
|
25013
25023
|
- `tooltip: 'full' | 'copy' | 'none' = 'full'` (reflected) — `full` shows the resting tooltip on
|
|
25014
25024
|
hover/focus and feedback after activation, `copy` shows feedback only, and `none` disables it.
|
|
25015
25025
|
- `tooltipPlacement: 'top' | 'right' | 'bottom' | 'left' = 'top'` (attribute
|
|
@@ -28145,8 +28155,9 @@ enabled buttons retain pointer feedback.
|
|
|
28145
28155
|
constrained spaces (a toolbar, a table cell) — the same convention as `lr-empty`'s `compact`. The
|
|
28146
28156
|
dashed border stays; only the internal spacing shrinks. `false` (the default) keeps the full
|
|
28147
28157
|
`--lr-space-l` dropzone.
|
|
28148
|
-
- `label
|
|
28149
|
-
|
|
28158
|
+
- `label?: string` — form-control label. Omission uses the localized dropzone instruction
|
|
28159
|
+
(`fileInputDefaultLabel`); an explicit empty string suppresses that fallback. `hint: string = ''`
|
|
28160
|
+
remains empty when omitted and can be supplied through the named slot as well
|
|
28150
28161
|
- `errorText: string = ''` (attribute `error-text`) — plain-text owned validation feedback. When
|
|
28151
28162
|
it is empty, a `customError` message is rendered when present; otherwise an intrinsic validation
|
|
28152
28163
|
message appears after the control has been interacted with. Rich `error` slot content replaces
|
|
@@ -30794,10 +30805,11 @@ structured points retain their y-value formatting.
|
|
|
30794
30805
|
draws side by side with the first on that axis. Omitted series share one implicit group, so
|
|
30795
30806
|
every chart written before `stack` existed sums exactly as it always did. Only meaningful on an
|
|
30796
30807
|
axis that is actually stacked — see `stacked`/`stackedAxes` below.
|
|
30797
|
-
`LyraChartPoint { readonly x: number; readonly
|
|
30798
|
-
|
|
30799
|
-
|
|
30800
|
-
|
|
30808
|
+
`LyraChartPoint { readonly x: number; readonly y: number; readonly r?: number; readonly id?:
|
|
30809
|
+
string | number; readonly label?: string }`: `r` is the bubble radius, and the optional primitive
|
|
30810
|
+
`id` is retained by activation events for application navigation or selection. Objects, symbols,
|
|
30811
|
+
and non-finite numeric ids are omitted. The optional per-point `label` is retained by events, CSV
|
|
30812
|
+
export, keyboard announcements, generated summaries, and the accessible table. Point wording is localized as
|
|
30801
30813
|
whole messages: `chartPointCoordinates`, `chartBubblePointCoordinates`, and
|
|
30802
30814
|
`chartLabeledPoint` own coordinate names, order, separators, and the label wrapper. A caller's
|
|
30803
30815
|
point label is interpolated verbatim rather than translated or parsed. At runtime, non-record
|
|
@@ -31075,9 +31087,15 @@ const series = [
|
|
|
31075
31087
|
point/segment, when a generated-table value is activated, or when Enter/Space activates the
|
|
31076
31088
|
keyboard-current canvas datum; `detail: { datasetIndex: number, index: number, label: string |
|
|
31077
31089
|
undefined, value: unknown }`). For scatter/bubble points, `label` prefers the per-point label and
|
|
31078
|
-
`value` is the complete `LyraChartPoint`, including optional `r` and `label`.
|
|
31090
|
+
`value` is the complete `LyraChartPoint`, including optional `r`, `id`, and `label`. A primitive
|
|
31091
|
+
`id` survives the same pointer, data-table, and keyboard activation paths; invalid ids are omitted.
|
|
31079
31092
|
`lr-datum-activate` emits the same activation with `kind: 'bar'|'point'|'segment'|'slice'` for
|
|
31080
|
-
family-wide handling
|
|
31093
|
+
family-wide handling. For scatter/bubble, both events carry the same `LyraChartPoint` value,
|
|
31094
|
+
including a string or finite-number `id` when supplied; invalid ids are omitted. The public
|
|
31095
|
+
`LyraChartPoint.id` type is `string | number`, while the activation event's heterogeneous `value`
|
|
31096
|
+
is typed `unknown`. Validate or explicitly narrow the value itself before reading point fields;
|
|
31097
|
+
checking `detail.kind === 'point'` alone does not narrow `detail.value` in TypeScript.
|
|
31098
|
+
`lr-point-click` remains as a compatibility event. Also
|
|
31081
31099
|
`lr-before-legend-visibility-change` (cancelable proposal), and
|
|
31082
31100
|
`lr-legend-visibility-change` (accepted commit). Both legend events carry
|
|
31083
31101
|
`{ datasetIndex: number, visible: boolean, hiddenDatasets: readonly number[] }`; the latter is the
|
|
@@ -32241,6 +32259,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
32241
32259
|
readonly x: number;
|
|
32242
32260
|
readonly y: number;
|
|
32243
32261
|
readonly r?: number;
|
|
32262
|
+
readonly id?: string | number;
|
|
32244
32263
|
readonly label?: string;
|
|
32245
32264
|
}`
|
|
32246
32265
|
Import: `@aceshooting/lyra-ui/components/charts/chart/chart.class.js`.
|
|
@@ -38711,10 +38730,10 @@ Citation; truncated?: boolean; omittedTokens?: number; redactions?: ContextInspe
|
|
|
38711
38730
|
- `composerStatus: ChatComposerStatus = 'idle'` (attribute `composer-status`) — `'idle' | 'sending' |
|
|
38712
38731
|
'streaming'`, `lr-chat-composer`'s own union; invalid values read as `idle` without rewriting the
|
|
38713
38732
|
host attribute
|
|
38714
|
-
- `composerPlaceholder
|
|
38733
|
+
- `composerPlaceholder?: string` (attribute `composer-placeholder`)
|
|
38715
38734
|
- `composerMinRows: number = 1` (attribute `composer-min-rows`), `composerMaxRows: number = 8`
|
|
38716
38735
|
(attribute `composer-max-rows`)
|
|
38717
|
-
- `label
|
|
38736
|
+
- `label?: string` — accessible name and visible heading; omission uses the localized default and an explicit empty string suppresses it
|
|
38718
38737
|
- `accessibleLabel: string | null = null` (attribute `aria-label`) — host-level accessible-name
|
|
38719
38738
|
override for the internal `role="region"` root
|
|
38720
38739
|
|
|
@@ -42622,6 +42641,11 @@ typed events. Capabilities are denied unless explicitly enabled in `resource.per
|
|
|
42622
42641
|
request with exactly one of `{ frameGeneration, result }` or `{ frameGeneration, error }`. Missing,
|
|
42623
42642
|
stale, or ambiguous correlation fails closed. Both methods are no-ops before a frame exists.
|
|
42624
42643
|
|
|
42644
|
+
The initial `host-context` message includes a document-bound nonce and transfers a `MessagePort` to
|
|
42645
|
+
the executable document. Frame requests and host messages after bootstrap use that port. A same-frame
|
|
42646
|
+
navigation closes the port, invalidates the nonce and generation, and mounts a fresh sandbox before
|
|
42647
|
+
host data can be delivered.
|
|
42648
|
+
|
|
42625
42649
|
**Exported types:** `McpAppResource`, `McpAppCsp`, `McpAppPermissions`,
|
|
42626
42650
|
`McpAppToolCallDetail`, `McpAppToolResultOptions`, and `LyraMcpAppEventMap`.
|
|
42627
42651
|
|
|
@@ -45723,8 +45747,8 @@ at the same size tier, so the toolbar row renders as one flush line.
|
|
|
45723
45747
|
Remove any host `role="status"`/`role="alert"` hand-added before this property existed once it
|
|
45724
45748
|
is set — otherwise the initial state is announced twice, through the native role and again
|
|
45725
45749
|
through the shared sink
|
|
45726
|
-
- `placeholder
|
|
45727
|
-
|
|
45750
|
+
- `placeholder?: string` — query-field placeholder. Omission uses the localized generic "Search"
|
|
45751
|
+
placeholder; an explicit empty string suppresses that fallback
|
|
45728
45752
|
- `label?: string` — fallback name for the `role="search"` landmark; omission uses the localized
|
|
45729
45753
|
retrieval-search label, while an explicit empty string stays empty
|
|
45730
45754
|
- `accessibleLabel: string | null = null` (attribute `aria-label`) — as a JS-only property while
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aceshooting/lyra-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "Free, independent Lit web components: an open-source alternative to Shoelace and Web Awesome with accessible forms, dashboards, charts, and agent UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -2890,7 +2890,7 @@
|
|
|
2890
2890
|
"test:translation-slices": "node scripts/generate-translation-slices.test.mjs",
|
|
2891
2891
|
"check:default-strings": "node scripts/check-default-strings.mjs",
|
|
2892
2892
|
"test:default-strings": "node scripts/check-default-strings.test.mjs",
|
|
2893
|
-
"test:tooling": "node scripts/build-llms.test.mjs && node --test scripts/create-component.test.mjs && node --test scripts/full-engine-shard.test.mjs && node --test scripts/coverage-shard-runner.test.mjs && node --test scripts/lint-ci-shard.test.mjs && node --test scripts/web-test-runner-config.test.mjs && node scripts/component-families.test.mjs && node scripts/maplibre-peer-range.test.mjs && node scripts/migrate-wa.test.mjs && node scripts/visual-regression-compare.test.mjs && node --test scripts/visual-regression-shard.test.mjs && node scripts/visual-regression-config.test.mjs && node --test scripts/check-source-policy.test.mjs scripts/check-test-assertions.test.mjs && node scripts/bundle-budgets.test.mjs && node scripts/compact-build-js.test.mjs && node scripts/compact-build-css.test.mjs && node scripts/compact-build-declarations.test.mjs && node --test scripts/normalize-mixin-declarations.test.mjs && node --test scripts/check-palette-freshness.test.mjs && node --test scripts/is-main-module.test.mjs && node scripts/manifest-compact.test.mjs && node --test scripts/viewer-fixture-generators.test.mjs && node --test scripts/strip-css-comments.test.mjs && node scripts/editor-web-types.test.mjs && node scripts/check-migration-coverage.test.mjs && node --test scripts/generate-theme-bootstrap.test.mjs",
|
|
2893
|
+
"test:tooling": "node scripts/build-llms.test.mjs && node --test scripts/build-testing-event-registry.test.mjs && node --test scripts/create-component.test.mjs && node --test scripts/full-engine-shard.test.mjs && node --test scripts/coverage-shard-runner.test.mjs && node --test scripts/lint-ci-shard.test.mjs && node --test scripts/web-test-runner-config.test.mjs && node scripts/component-families.test.mjs && node scripts/maplibre-peer-range.test.mjs && node scripts/migrate-wa.test.mjs && node scripts/visual-regression-compare.test.mjs && node --test scripts/visual-regression-shard.test.mjs && node scripts/visual-regression-config.test.mjs && node --test scripts/check-source-policy.test.mjs scripts/check-test-assertions.test.mjs && node scripts/bundle-budgets.test.mjs && node scripts/compact-build-js.test.mjs && node scripts/compact-build-css.test.mjs && node scripts/compact-build-declarations.test.mjs && node --test scripts/normalize-mixin-declarations.test.mjs && node --test scripts/check-palette-freshness.test.mjs && node --test scripts/is-main-module.test.mjs && node scripts/manifest-compact.test.mjs && node --test scripts/viewer-fixture-generators.test.mjs && node --test scripts/strip-css-comments.test.mjs && node scripts/editor-web-types.test.mjs && node scripts/check-migration-coverage.test.mjs && node --test scripts/generate-theme-bootstrap.test.mjs",
|
|
2894
2894
|
"framework-types": "node scripts/generate-framework-types.mjs",
|
|
2895
2895
|
"check:framework-types": "node scripts/check-framework-types.mjs",
|
|
2896
2896
|
"test:framework-types": "node scripts/generate-framework-types.test.mjs",
|