@aceshooting/lyra-ui 12.1.1 → 12.1.2
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 +6 -0
- package/custom-elements.json +1 -1
- package/dist/cli/migration-contract.json +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +2 -2
- package/dist/components/agent-tools/stack-trace/stack-trace.class.js +2 -2
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +2 -2
- package/dist/components/agent-tools/task-list/task-list.class.js +2 -2
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
- package/dist/components/data/calendar/calendar.class.js +1 -1
- package/dist/components/data/data-grid/data-grid.class.d.ts +5 -0
- package/dist/components/data/data-grid/data-grid.class.js +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +1 -0
- package/dist/components/data/flow-canvas/flow-canvas.class.js +4 -4
- package/dist/components/data/flow-canvas/flow-model.js +1 -1
- package/dist/components/data/pagination/pagination.class.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.js +1 -1
- package/dist/components/data/stat/stat.class.js +1 -1
- package/dist/components/forms/button/button.class.js +2 -2
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +2 -2
- package/dist/components/forms/date-picker/date-input.class.js +1 -1
- package/dist/components/forms/input/input.class.js +1 -1
- package/dist/components/forms/input/time-input.class.js +3 -3
- package/dist/components/forms/radio/radio.class.d.ts +1 -0
- package/dist/components/forms/radio/radio.class.js +1 -1
- package/dist/components/layout/segmented/segmented.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/media/flag/flag.class.js +3 -3
- package/dist/components/overlays/dialog/dialog.class.js +1 -1
- package/dist/components/retrieval/graph/graph-model.d.ts +7 -2
- package/dist/components/retrieval/graph/graph-model.js +1 -1
- package/dist/components/retrieval/graph/graph.class.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +3 -3
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +1 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +2 -2
- package/dist/components/retrieval/retrieval-identity.d.ts +3 -0
- package/dist/components/retrieval/retrieval-identity.js +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +2 -2
- package/dist/components/retrieval/source-list/source-list.class.d.ts +2 -2
- package/dist/components/retrieval/source-list/source-list.class.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +2 -0
- package/dist/components/retrieval/source-picker/source-picker.class.js +4 -4
- package/dist/components/utility/divider/divider.class.js +1 -1
- package/dist/components/utility/export-button/export-button.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.d.ts +3 -3
- package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +3 -1
- package/dist/components/viewers/passive-markup.js +1 -1
- package/dist/internal/autoloader-manifest.js +1 -1
- package/dist/internal/package-metadata.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/llms/components/lr-command-palette.md +1 -1
- package/llms/components/lr-date-input.md +1 -1
- package/llms/components/lr-date-picker.md +1 -1
- package/llms/components/lr-document-preview.md +9 -8
- package/llms/components/lr-docx-viewer.md +3 -2
- package/llms/components/lr-filter-bar.md +2 -2
- package/llms/components/lr-geojson-view.md +2 -1
- package/llms/components/lr-geojson-viewer.md +2 -1
- package/llms/components/lr-map.md +1 -1
- package/llms-full.txt +19 -16
- package/package.json +1 -1
- package/vscode-html-data.json +1 -1
- package/web-types.json +6 -6
|
@@ -48,7 +48,8 @@ text, independent of whether the optional map peer is available.
|
|
|
48
48
|
|
|
49
49
|
**Events:**
|
|
50
50
|
|
|
51
|
-
- `lr-render-error` — `detail: { error }` — fetch, parse,
|
|
51
|
+
- `lr-render-error` — `detail: { error }` — fetch, parse, shape-validation, or missing-map capability
|
|
52
|
+
failure. A missing optional MapLibre peer also keeps the serialized metadata fallback visible.
|
|
52
53
|
- `lr-search-change` — `detail: { query: string; matchCount: number; matchCountExact: boolean; activeIndex: number }` — fired
|
|
53
54
|
whenever serialized-metadata search state changes.
|
|
54
55
|
- `lr-anchor-result` — `detail: { found: boolean }` — fired after an `anchor` assignment or
|
|
@@ -136,7 +136,7 @@ heatmap?: LyraMapHeatmapOptions; cluster?: LyraMapClusterOptions }`. `sourceId`
|
|
|
136
136
|
its private source/layers removed, and a genuinely new `sourceId` gets new resources — nothing
|
|
137
137
|
leaks on removal, style change, or disconnect.
|
|
138
138
|
|
|
139
|
-
`cluster` and `kind` (both new in 12.
|
|
139
|
+
`cluster` and `kind` (both new in 12.0.0) opt one entry out of that three-layer geometry split.
|
|
140
140
|
**Both are strictly additive: an entry that sets neither renders exactly what it rendered before,
|
|
141
141
|
down to the layer ids and the point layer's filter.**
|
|
142
142
|
|
package/llms-full.txt
CHANGED
|
@@ -5114,7 +5114,7 @@ Text field + calendar popover, **form-associated** via the shared `FormAssociate
|
|
|
5114
5114
|
**Properties (44):**
|
|
5115
5115
|
|
|
5116
5116
|
- `appearance: 'filled'|'outlined'|'filled-outlined' = 'outlined'` (reflected)
|
|
5117
|
-
- `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.
|
|
5117
|
+
- `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.0.0) — the `presets` entry
|
|
5118
5118
|
whose button produced the current `value`, or `undefined` when the value was picked on the
|
|
5119
5119
|
calendar, typed into the field, cleared, or reset. Read it inside your own `change`/`input`
|
|
5120
5120
|
handler; it is updated before those events are relayed, so a handler observes the preset that
|
|
@@ -16424,7 +16424,7 @@ no-op if already open),
|
|
|
16424
16424
|
cycling) at the ends; the active row is scrolled into view. Enter selects. Hovering a non-disabled
|
|
16425
16425
|
row also makes it active.
|
|
16426
16426
|
|
|
16427
|
-
**Events:** `lr-open`, `lr-close` (both `detail:
|
|
16427
|
+
**Events:** `lr-open`, `lr-close` (both `detail: null`, cancelable — fired before the
|
|
16428
16428
|
mutation, `preventDefault()` keeps the palette in its current open state), `lr-select`
|
|
16429
16429
|
(`detail: { command }`, fired before the command's own `onSelect` runs and before the palette
|
|
16430
16430
|
closes), and no-detail `focus`/`blur` events re-dispatched from the host whenever the search input
|
|
@@ -16922,7 +16922,7 @@ value therefore stays inside a 320px LTR or RTL bar, with the chip's own label e
|
|
|
16922
16922
|
overflow ownership rather than widening the page.
|
|
16923
16923
|
|
|
16924
16924
|
Each edit exposes one filter-bar `lr-input` carrying a detached, deeply frozen snapshot of the
|
|
16925
|
-
complete value object, plus the `filterId` that changed and (new in 12.
|
|
16925
|
+
complete value object, plus the `filterId` that changed and (new in 12.0.0) `appliedPreset` — see
|
|
16926
16926
|
"Date-range quick ranges" below. A built-in or
|
|
16927
16927
|
custom control's own `lr-input`/`lr-change` aliases stay inside the wrapper so their incompatible
|
|
16928
16928
|
detail shapes cannot escape as duplicate bar events; native-style `input`/`change` events from the
|
|
@@ -16975,7 +16975,7 @@ text the user typed, not a truncated or normalized form.
|
|
|
16975
16975
|
|
|
16976
16976
|
### Date-range quick ranges
|
|
16977
16977
|
|
|
16978
|
-
A `'date-range'` definition also accepts `presets?: readonly LyraDateRangePreset[]` (new in 12.
|
|
16978
|
+
A `'date-range'` definition also accepts `presets?: readonly LyraDateRangePreset[]` (new in 12.0.0),
|
|
16979
16979
|
forwarded to its composed `<lr-date-input>` exactly like `min`/`max`, so the quick-range row
|
|
16980
16980
|
("Today", "Last 7 days", "All time") renders inside that filter's own calendar popover. Entries are
|
|
16981
16981
|
`LyraDateRangePreset { label, start?, end? }` with ISO `YYYY-MM-DD` bounds; an omitted bound is open
|
|
@@ -22609,7 +22609,7 @@ heatmap?: LyraMapHeatmapOptions; cluster?: LyraMapClusterOptions }`. `sourceId`
|
|
|
22609
22609
|
its private source/layers removed, and a genuinely new `sourceId` gets new resources — nothing
|
|
22610
22610
|
leaks on removal, style change, or disconnect.
|
|
22611
22611
|
|
|
22612
|
-
`cluster` and `kind` (both new in 12.
|
|
22612
|
+
`cluster` and `kind` (both new in 12.0.0) opt one entry out of that three-layer geometry split.
|
|
22613
22613
|
**Both are strictly additive: an entry that sets neither renders exactly what it rendered before,
|
|
22614
22614
|
down to the layer ids and the point layer's filter.**
|
|
22615
22615
|
|
|
@@ -26491,9 +26491,9 @@ matches, the anchor isn't `region`, or the format isn't currently `image`.
|
|
|
26491
26491
|
- `lr-download` — `detail: { src, filename }` — fired when the generic-download fallback's link is
|
|
26492
26492
|
activated. The browser download itself needs no JS (a plain `<a download>` handles it); this is
|
|
26493
26493
|
purely for a host that wants to observe/log the download.
|
|
26494
|
-
- `lr-render-error` — `detail: { error }` — fired when this component
|
|
26495
|
-
`application/json` `fetch(src)` fails (network error or non-2xx
|
|
26496
|
-
`status="error"`, which is entirely host-driven.
|
|
26494
|
+
- `lr-render-error` — `detail: { error }` — fired when this component rejects an unsafe text/JSON
|
|
26495
|
+
URL or when its own `text/*`/`application/json` `fetch(src)` fails (network error or non-2xx
|
|
26496
|
+
response). Distinct from `status="error"`, which is entirely host-driven.
|
|
26497
26497
|
- `lr-highlight-activate` — `detail: { highlightId }` — a region highlight was clicked or activated via
|
|
26498
26498
|
Enter/Space (image format only).
|
|
26499
26499
|
|
|
@@ -26603,11 +26603,12 @@ document-level assertive sink.
|
|
|
26603
26603
|
for text/image sinks and `mailto:` is accepted for navigation anchors elsewhere in the library — a
|
|
26604
26604
|
`src="data:..."` document renders/fetches fine but falls back to no download affordance in the
|
|
26605
26605
|
generic state, and a `mailto:` names no retrievable bytes so it cannot be a download target at all.
|
|
26606
|
-
- A `src` that fails its sink's URL-safety check
|
|
26607
|
-
|
|
26608
|
-
malformed `src` is
|
|
26609
|
-
|
|
26610
|
-
fallback directly, so an `unsupported` slot the host supplied is
|
|
26606
|
+
- A `src` that fails its sink's URL-safety check raises `lr-render-error` for the text/JSON path,
|
|
26607
|
+
with the localized URL-rejection error; the event is also raised when an allowed `fetch()` fails
|
|
26608
|
+
at the network layer. An unsafe/malformed image or download `src` is instead treated as unusable
|
|
26609
|
+
without an event (a silent image fallback or omitted download link — and on the image path that
|
|
26610
|
+
fallback is the download fallback directly, so an `unsupported` slot the host supplied is
|
|
26611
|
+
bypassed).
|
|
26611
26612
|
|
|
26612
26613
|
---
|
|
26613
26614
|
|
|
@@ -26774,8 +26775,9 @@ exactly one `lr-anchor-result` with `{ found: false }`.
|
|
|
26774
26775
|
|
|
26775
26776
|
Fetches a `.docx` Word document as an `ArrayBuffer`, converts it to semantic HTML with the optional
|
|
26776
26777
|
`mammoth` peer, sanitizes that HTML through the optional `dompurify` peer, and renders the result.
|
|
26777
|
-
Mammoth preserves document structure such as headings, paragraphs, lists, tables, and
|
|
26778
|
-
not intended to reproduce pixel-exact Word page layout. There is no
|
|
26778
|
+
Mammoth preserves document structure such as headings, paragraphs, lists, tables, and validated
|
|
26779
|
+
inline raster images; it is not intended to reproduce pixel-exact Word page layout. There is no
|
|
26780
|
+
unsanitized rendering escape
|
|
26779
26781
|
hatch: if `dompurify` is unavailable, rendering is blocked even when Mammoth converted successfully.
|
|
26780
26782
|
|
|
26781
26783
|
Every rendered heading's slug (the same GitHub-slugger-style algorithm `<lr-markdown>` uses) is
|
|
@@ -28298,7 +28300,8 @@ text, independent of whether the optional map peer is available.
|
|
|
28298
28300
|
|
|
28299
28301
|
**Events:**
|
|
28300
28302
|
|
|
28301
|
-
- `lr-render-error` — `detail: { error }` — fetch, parse,
|
|
28303
|
+
- `lr-render-error` — `detail: { error }` — fetch, parse, shape-validation, or missing-map capability
|
|
28304
|
+
failure. A missing optional MapLibre peer also keeps the serialized metadata fallback visible.
|
|
28302
28305
|
- `lr-search-change` — `detail: { query: string; matchCount: number; matchCountExact: boolean; activeIndex: number }` — fired
|
|
28303
28306
|
whenever serialized-metadata search state changes.
|
|
28304
28307
|
- `lr-anchor-result` — `detail: { found: boolean }` — fired after an `anchor` assignment or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aceshooting/lyra-ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.2",
|
|
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",
|
package/vscode-html-data.json
CHANGED
|
@@ -23089,7 +23089,7 @@
|
|
|
23089
23089
|
"name": "label",
|
|
23090
23090
|
"description": {
|
|
23091
23091
|
"kind": "markdown",
|
|
23092
|
-
"value": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string
|
|
23092
|
+
"value": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string uses that localized accessible fallback so the\ndisclosure button always has a name (still overridden by `label-plural` when that's set).\n\nType: `string | undefined`"
|
|
23093
23093
|
}
|
|
23094
23094
|
},
|
|
23095
23095
|
{
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@aceshooting/lyra-ui",
|
|
4
|
-
"version": "12.1.
|
|
4
|
+
"version": "12.1.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -17400,7 +17400,7 @@
|
|
|
17400
17400
|
},
|
|
17401
17401
|
{
|
|
17402
17402
|
"name": "lr-render-error",
|
|
17403
|
-
"description": "`detail: { error }` — fired when this component
|
|
17403
|
+
"description": "`detail: { error }` — fired when this component rejects an unsafe text/JSON URL or when its own `text/*`/`application/json` `fetch(src)` fails. Distinct from `status=\"error\"`, which is entirely host-driven (see the class doc).",
|
|
17404
17404
|
"type": "CustomEvent<{ error: unknown }>"
|
|
17405
17405
|
}
|
|
17406
17406
|
]
|
|
@@ -23626,7 +23626,7 @@
|
|
|
23626
23626
|
},
|
|
23627
23627
|
{
|
|
23628
23628
|
"name": "lr-render-error",
|
|
23629
|
-
"description": "Fetch, parse,
|
|
23629
|
+
"description": "Fetch, parse, shape-validation, or missing-map-capability failure. `detail: { error }`. A missing optional MapLibre peer leaves the serialized metadata fallback visible while reporting the degraded map capability.",
|
|
23630
23630
|
"type": "CustomEvent<{ error: unknown }>"
|
|
23631
23631
|
},
|
|
23632
23632
|
{
|
|
@@ -23737,7 +23737,7 @@
|
|
|
23737
23737
|
},
|
|
23738
23738
|
{
|
|
23739
23739
|
"name": "lr-render-error",
|
|
23740
|
-
"description": "Fetch, parse,
|
|
23740
|
+
"description": "Fetch, parse, shape-validation, or missing-map-capability failure. `detail: { error }`. A missing optional MapLibre peer leaves the serialized metadata fallback visible while reporting the degraded map capability.",
|
|
23741
23741
|
"type": "CustomEvent<{ error: unknown }>"
|
|
23742
23742
|
},
|
|
23743
23743
|
{
|
|
@@ -47331,7 +47331,7 @@
|
|
|
47331
47331
|
},
|
|
47332
47332
|
{
|
|
47333
47333
|
"name": "label",
|
|
47334
|
-
"description": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string
|
|
47334
|
+
"description": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string uses that localized accessible fallback so the\ndisclosure button always has a name (still overridden by `label-plural` when that's set).\n\nType: `string | undefined`"
|
|
47335
47335
|
},
|
|
47336
47336
|
{
|
|
47337
47337
|
"name": "label-plural",
|
|
@@ -47368,7 +47368,7 @@
|
|
|
47368
47368
|
},
|
|
47369
47369
|
{
|
|
47370
47370
|
"name": "label",
|
|
47371
|
-
"description": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string
|
|
47371
|
+
"description": "Header text used when `label-plural` isn't set, e.g. `\"Sources\"`. Omitting it falls back to\na localized default; an explicit empty string uses that localized accessible fallback so the\ndisclosure button always has a name (still overridden by `label-plural` when that's set).\n\nAttribute: `label`",
|
|
47372
47372
|
"type": "string | undefined"
|
|
47373
47373
|
},
|
|
47374
47374
|
{
|