@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 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