@aceshooting/lyra-ui 11.1.0 → 11.2.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 +68 -0
- package/README.md +8 -0
- package/custom-elements.json +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.js +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +1 -1
- package/dist/components/agent-tools/browser-frame/browser-frame.class.js +1 -1
- package/dist/components/agent-tools/commit-card/commit-card.class.js +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +1 -1
- package/dist/components/agent-tools/task-list/task-list.class.js +2 -2
- package/dist/components/agent-tools/test-results/test-results.class.js +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +2 -2
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.d.ts +1 -0
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.js +1 -1
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.js +2 -2
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +2 -2
- package/dist/components/charts/chart/bar-chart.class.js +1 -1
- package/dist/components/charts/chart/bubble-chart.class.js +1 -1
- package/dist/components/charts/chart/chart.class.js +1 -1
- package/dist/components/charts/chart/doughnut-chart.class.js +1 -1
- package/dist/components/charts/chart/histogram.class.js +1 -1
- package/dist/components/charts/chart/line-chart.class.js +1 -1
- package/dist/components/charts/chart/pie-chart.class.js +1 -1
- package/dist/components/charts/chart/polar-area-chart.class.js +1 -1
- package/dist/components/charts/chart/radar-chart.class.js +1 -1
- package/dist/components/charts/chart/scatter-chart.class.js +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.js +2 -2
- package/dist/components/conversation/chat-viewport/chat-viewport.class.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +1 -0
- package/dist/components/conversation/model-select/model-select.class.js +1 -1
- package/dist/components/conversation/usage-badge/usage-badge.class.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +1 -0
- package/dist/components/conversation/voice-picker/voice-picker.class.js +1 -1
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +1 -0
- package/dist/components/data/graph-query-builder/graph-query-builder.class.js +1 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +36 -1
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/data/table/table.class.js +1 -1
- package/dist/components/forms/checkbox/checkbox.class.d.ts +1 -0
- package/dist/components/forms/checkbox/checkbox.class.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +1 -0
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +1 -0
- package/dist/components/forms/combobox/combobox.class.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +1 -0
- package/dist/components/forms/locale-picker/locale-picker.class.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +1 -0
- package/dist/components/forms/radio/radio-group.class.js +1 -1
- package/dist/components/forms/radio/radio.class.d.ts +1 -0
- package/dist/components/forms/radio/radio.class.js +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +1 -0
- package/dist/components/forms/rubric-form/rubric-form.class.js +1 -1
- package/dist/components/forms/select/select.class.d.ts +1 -0
- package/dist/components/forms/select/select.class.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +1 -0
- package/dist/components/forms/slider/slider.class.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +1 -0
- package/dist/components/forms/switch/switch.class.js +1 -1
- package/dist/components/forms/time-range/time-range.class.d.ts +1 -0
- package/dist/components/forms/time-range/time-range.class.js +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +1 -0
- package/dist/components/forms/token-input/token-input.class.js +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.js +2 -2
- package/dist/components/media/attachment-trigger/attachment-trigger.class.js +2 -2
- package/dist/components/media/file-icon/file-icon.class.js +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +1 -0
- package/dist/components/media/file-input/file-input.class.js +1 -1
- package/dist/components/media/flag/flag-peer-bulk.d.ts +12 -0
- package/dist/components/media/flag/flag-peer-bulk.js +1 -0
- package/dist/components/media/flag/flag.class.d.ts +28 -0
- package/dist/components/media/flag/flag.class.js +2 -2
- package/dist/components/retrieval/citation-badge/citation-badge.class.js +1 -1
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +2 -2
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
- package/dist/components/viewers/document-compare/document-compare.class.js +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +2 -2
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/events.d.ts +7 -0
- package/dist/internal/form-associated.d.ts +1 -0
- package/dist/internal/form-associated.js +1 -1
- package/dist/internal/form-control-labels.js +1 -1
- package/dist/internal/lyra-element.js +1 -1
- package/dist/internal/package-metadata.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-flag.md +24 -1
- package/llms/components/lr-heatmap.md +16 -4
- package/llms/peers.md +2 -2
- package/llms/shared.md +19 -0
- package/llms-full.txt +61 -5
- package/package.json +6 -6
- package/vscode-html-data.json +1 -1
- package/web-types.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 11.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a44e6e1: Added a first-class bulk-resolution path for `<lr-flag>`, for a page that renders most/all flags at
|
|
8
|
+
once (a country table, a full locale picker) instead of independently resolving each instance:
|
|
9
|
+
|
|
10
|
+
- `@aceshooting/lyra-flags` gained `createFlagUrlResolver()`, a `flagUrl`-shaped resolver factory
|
|
11
|
+
backed by one shared `flagUrls()` fetch instead of a fresh per-code lazy resolution per call.
|
|
12
|
+
- `@aceshooting/lyra-ui` gained `flag-peer-bulk.js` (`components/media/flag/flag-peer-bulk.js`), an
|
|
13
|
+
opt-in alternative peer-registration entry point to the default `flag-peer.js` — import one or the
|
|
14
|
+
other, never both. Only worthwhile when the page renders most/all flags; `flag-peer.js` remains
|
|
15
|
+
the right default for a handful of flags. `fidelity="compact"/"detailed"` on individual elements
|
|
16
|
+
still resolves correctly either way — only the standard tier is bulk-fetched.
|
|
17
|
+
- a44e6e1: Two consumer-filed `<lr-heatmap>` gaps:
|
|
18
|
+
|
|
19
|
+
- **`matrixGeometry` readback + `lr-matrix-geometry-change` event.** Matrix mode's resolved gutter/
|
|
20
|
+
cell geometry (`padLeft`, `padTop`, `cellSize`) was entirely private, so a consumer building a
|
|
21
|
+
sticky light-DOM header mirror for a tall matrix had to hardcode numbers that `row-label-width`/
|
|
22
|
+
`col-label-height`'s `"auto"` resolution could silently change out from under them. `matrixGeometry`
|
|
23
|
+
now exposes exactly what the last matrix-mode draw painted with (reusing the same internal getters
|
|
24
|
+
`drawMatrix()` itself calls, so it can never disagree), and `lr-matrix-geometry-change` fires
|
|
25
|
+
whenever a redraw actually changes it.
|
|
26
|
+
- **`HeatmapLegendStop.partOfRamp`.** The dev-mode ramp/legend-mismatch warning had no way to
|
|
27
|
+
express a legend swatch that is intentionally outside `colorSteps` — e.g. a calendar heatmap's
|
|
28
|
+
fixed neutral "no data" color shown alongside an N-step sequential ramp. Set `partOfRamp: false`
|
|
29
|
+
on that stop to exclude it from the comparison; every other stop (and every existing consumer
|
|
30
|
+
that never sets this) keeps today's exact behavior.
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- f5dde67: Bumped the optional `dompurify` peer dependency range floor from `^3.4.13` to `^3.4.14` (a
|
|
35
|
+
DOMPurify patch release). Every other dependency change in this release is dev-tooling only
|
|
36
|
+
(Storybook, Vite, publint, oxc-parser) and carries no published surface.
|
|
37
|
+
- a44e6e1: Four documentation gaps reported against 11.1.0 by a real-world consumer audit:
|
|
38
|
+
|
|
39
|
+
- **`<lr-flag>` sizing.** The host sizes from `font-size` (`block-size: 1em`, `inline-size` derived
|
|
40
|
+
via `aspect-ratio`), never documented anywhere. Setting `width`/`inline-size` directly makes both
|
|
41
|
+
axes definite, which defeats `aspect-ratio` and squashes the image instead of scaling it. Now
|
|
42
|
+
documented on the class JSDoc and in `llms/media.md`.
|
|
43
|
+
- **`<lr-flag>` bulk rendering.** Nothing pointed a consumer rendering many flags at once (a country
|
|
44
|
+
table, a locale picker) at `@aceshooting/lyra-flags`'s existing `flagUrls()` — one call resolving
|
|
45
|
+
every flag, instead of each `<lr-flag>` instance independently calling `flagUrl()`. Now
|
|
46
|
+
cross-linked from the class JSDoc and `llms/media.md`, alongside the new per-tier peer-resolver
|
|
47
|
+
entry points (see the paired `@aceshooting/lyra-flags` changeset).
|
|
48
|
+
- **`accessibleLabel`'s two conventions.** Most components alias it directly onto native
|
|
49
|
+
`aria-label`; a minority (e.g. `lr-callout`, `lr-table`) that separately compute an internal
|
|
50
|
+
accessible name expose it through a bespoke `accessible-label` attribute instead, so a host
|
|
51
|
+
`aria-label` can still override it. Both are individually correct, but nothing stated the split,
|
|
52
|
+
so `accessible-label="…"` on an `aria-label`-only component was a silent no-op. Now documented in
|
|
53
|
+
`llms/shared.md`'s accessibility contract section.
|
|
54
|
+
- **Shadow-scoped resolved tokens.** The quick-start theming snippet (README and `llms/shared.md`)
|
|
55
|
+
never warned that the resolved `--lr-color-*`/`--lr-space-*`/`--lr-radius`/`--lr-shadow-*`/
|
|
56
|
+
`--lr-font-*` layer is declared only on each `lr-*` element's own shadow `:host` — unreachable
|
|
57
|
+
from plain application CSS or a consumer's own custom elements. The deeper explanation already
|
|
58
|
+
existed in "Where an override actually reaches"; it's now also stated up front, at the first
|
|
59
|
+
theming snippet.
|
|
60
|
+
- a44e6e1: `LyraElement` no longer statically imports `internal/form-control-labels.js` (the external-label
|
|
61
|
+
bridge + form-internals capture that only a form-associated component ever uses). Every
|
|
62
|
+
presentational component — `lr-flag`, `lr-popover`, and everything else that doesn't opt into form
|
|
63
|
+
association — no longer ships that module in its reachable bundle graph (measured previously at
|
|
64
|
+
~6KB gzip on `lr-flag`). Form-associated components register it themselves (the `FormAssociated`
|
|
65
|
+
mixin and 19 hand-rolled form controls each now import it explicitly), so every form control's
|
|
66
|
+
label/hint/error/reset/validity behavior is unchanged.
|
|
67
|
+
- Updated dependencies [a44e6e1]
|
|
68
|
+
- Updated dependencies [a44e6e1]
|
|
69
|
+
- @aceshooting/lyra-flags@2.1.0
|
|
70
|
+
|
|
3
71
|
## 11.1.0
|
|
4
72
|
|
|
5
73
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -650,6 +650,14 @@ previews and design-tool validation; it is not a replacement for the production
|
|
|
650
650
|
</body>
|
|
651
651
|
```
|
|
652
652
|
|
|
653
|
+
**The resolved `--lr-color-*`/`--lr-space-*`/`--lr-radius`/`--lr-shadow-*`/`--lr-font-*` output
|
|
654
|
+
layer is declared only on each `lr-*` element's own shadow `:host`** — it is not readable from
|
|
655
|
+
plain application CSS or your own custom elements outside any `lr-*` shadow root (a rule like
|
|
656
|
+
`body { color: var(--lr-color-text) }` silently resolves to nothing, not an error). Set the
|
|
657
|
+
`--lr-theme-*` **input** layer shown below to retheme; see
|
|
658
|
+
[Where an override actually reaches](./llms/shared.md#where-an-override-actually-reaches) for
|
|
659
|
+
exactly how far each layer inherits.
|
|
660
|
+
|
|
653
661
|
Applications can override any `--lr-theme-*` input directly:
|
|
654
662
|
|
|
655
663
|
```css
|