@livelayer/react 0.23.0 → 0.23.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/dist/index.js +3 -3
- package/dist/index.mjs +465 -458
- package/dist/styles.css +22 -12
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -649,7 +649,20 @@
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
.ll-expanded__bg { z-index: 0; }
|
|
652
|
-
|
|
652
|
+
|
|
653
|
+
/* Live talking-head sits above the composite poster. Hidden until the
|
|
654
|
+
LemonSlice stream pushes real frames (data-ready, set from agentVideoReady
|
|
655
|
+
in ExpandedLayout) so a frame-less black <video> never flashes over the
|
|
656
|
+
poster during the voice-first greeting. Fades in over the still. */
|
|
657
|
+
.ll-expanded__video {
|
|
658
|
+
z-index: 1;
|
|
659
|
+
pointer-events: none;
|
|
660
|
+
opacity: 0;
|
|
661
|
+
transition: opacity 0.45s ease;
|
|
662
|
+
}
|
|
663
|
+
.ll-expanded__video[data-ready="true"] {
|
|
664
|
+
opacity: 1;
|
|
665
|
+
}
|
|
653
666
|
|
|
654
667
|
.ll-expanded__video > video {
|
|
655
668
|
width: 100%;
|
|
@@ -731,17 +744,14 @@
|
|
|
731
744
|
font-family: inherit;
|
|
732
745
|
}
|
|
733
746
|
|
|
734
|
-
/* Connecting / warming overlay —
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
.ll-expanded__overlay
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
backdrop-filter: blur(18px);
|
|
743
|
-
}
|
|
744
|
-
|
|
747
|
+
/* Connecting / warming overlay — keep it LIGHT so the composite portrait
|
|
748
|
+
(agent + real background, sourced via resolveAvatarStillUrl) stays
|
|
749
|
+
visible underneath while we boot. An opaque scrim here blanked the whole
|
|
750
|
+
connecting screen — the visitor expects to see the composed avatar until
|
|
751
|
+
the agent actually starts talking, at which point the live video is
|
|
752
|
+
revealed. So we inherit only the base .ll-expanded__overlay scrim (0.35 +
|
|
753
|
+
blur 2px): enough to seat the spinner/caption, not enough to hide the
|
|
754
|
+
avatar. The reveal is gated on first "speaking" in ExpandedLayout. */
|
|
745
755
|
.ll-expanded__overlay--gesture {
|
|
746
756
|
cursor: pointer;
|
|
747
757
|
background: rgba(0, 0, 0, 0.5);
|