@motion-proto/live-tokens 0.87.0 → 0.87.1
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,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.87.1 — Floating parts stay above the page in sketch mode
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **Sketch mode keeps a floating part's z-index.** The lightbox scrim and
|
|
8
|
+
close button, the video lightbox, and the tooltip dropped below a sticky
|
|
9
|
+
header whenever sketch mode drew them. They now stack over the page as
|
|
10
|
+
they do without sketch mode.
|
|
11
|
+
|
|
3
12
|
## 0.87.0 — VideoLightbox play badge
|
|
4
13
|
|
|
5
14
|
### Added
|
package/package.json
CHANGED
|
@@ -867,7 +867,10 @@ export function buildStylesheet(s: SketchStyleSettings): string {
|
|
|
867
867
|
`--sketch-jit-rot:var(--sketch-jit-rot-base);` +
|
|
868
868
|
`--sketch-jit-scale:var(--sketch-jit-scale-base);` +
|
|
869
869
|
`--sketch-corner-spread:var(--sketch-corner-spread-base);` +
|
|
870
|
-
|
|
870
|
+
// Holds the fill's z-index:-1 inside the part. A z-index would do the same
|
|
871
|
+
// but overwrite the one a floating part stacks by: a lightbox scrim or a
|
|
872
|
+
// tooltip at 0 falls under the page's sticky header.
|
|
873
|
+
`isolation:isolate;` +
|
|
871
874
|
// The shadow is re-cast on the fill layer, where it follows the shape
|
|
872
875
|
// that is actually drawn.
|
|
873
876
|
`background:transparent !important;border-color:transparent !important;` +
|