@aceshooting/lyra-ui 18.2.0 → 18.4.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 +31 -0
- package/custom-elements.json +1 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +10 -0
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.js +1 -1
- package/dist/components/media/lightbox/lightbox.class.d.ts +7 -2
- package/dist/components/media/lightbox/lightbox.class.js +3 -2
- package/dist/components/media/pan-zoom/pan-zoom.class.d.ts +6 -2
- package/dist/components/media/pan-zoom/pan-zoom.class.js +2 -2
- package/dist/components/media/pan-zoom/pan-zoom.styles.js +1 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +25 -2
- package/dist/components/utility/export-button/export-button.class.js +2 -2
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/internal/image-fit.d.ts +1 -0
- package/dist/internal/image-fit.js +1 -0
- 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-export-button.md +16 -3
- package/llms/components/lr-heatmap.md +7 -3
- package/llms/components/lr-lightbox.md +11 -0
- package/llms/components/lr-pan-zoom.md +4 -0
- package/llms-full.txt +37 -5
- package/package.json +1 -1
- package/vscode-css-data.json +1 -1
- package/vscode-html-data.json +1 -1
- package/web-types.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 18.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cd2c1e9: `<lr-export-button>`: expose the trigger's paint as public custom properties.
|
|
8
|
+
|
|
9
|
+
The component resolved nine paint values — resting, hover and active fill/label/border — but only
|
|
10
|
+
through private `--_lr-export-button-*` names, so the one and only way to repaint a trigger was to
|
|
11
|
+
reach for `::part(trigger)`. Its sibling `lr-button` has layered the same nine over public
|
|
12
|
+
`--lr-button-*` names for a long time; this is that pattern, applied here.
|
|
13
|
+
|
|
14
|
+
`--lr-export-button-background`, `--lr-export-button-color`, `--lr-export-button-border` and the
|
|
15
|
+
matching `--lr-export-button-hover-*` / `--lr-export-button-active-*` triples each layer over
|
|
16
|
+
whatever the current `appearance` resolves to and leave the other paints untouched.
|
|
17
|
+
|
|
18
|
+
That last point is the reported case. `appearance="outlined"` paints the label `--lr-color-brand`,
|
|
19
|
+
and `lr-export-button` — unlike `lr-button` — has no `variant` of its own to return it to neutral
|
|
20
|
+
text, so an outlined trigger sitting next to neutral-text buttons could not be matched through
|
|
21
|
+
documented properties at all. `--lr-export-button-color` is now that escape hatch.
|
|
22
|
+
|
|
23
|
+
Nothing changes for a consumer who sets none of them: every `appearance` still resolves exactly the
|
|
24
|
+
values it did, and the private defaults are untouched.
|
|
25
|
+
|
|
26
|
+
## 18.3.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- f652e93: Add compact sizing and outlined or quiet appearances to `lr-export-button`, plus a public PNG export
|
|
31
|
+
method for `lr-heatmap` that captures the painted canvas and frozen label bands.
|
|
32
|
+
- 29e5202: Add an opt-in fit-to-viewport policy to `lr-lightbox`, reusing the image viewer fit vocabulary for landscape and tall images.
|
|
33
|
+
|
|
3
34
|
## 18.2.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|