@livelayer/react 0.5.5-pr66c.4 → 0.5.5-pr66c.5

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/styles.css CHANGED
@@ -683,12 +683,13 @@
683
683
  background: rgba(0, 0, 0, 0.55);
684
684
  }
685
685
 
686
- /* Compact pill — used for short codes like "EN". Tightens horizontal
687
- padding and slightly shrinks the type so it reads as an icon-style
688
- chip next to the full-size agent name pill. */
686
+ /* Compact pill — used for short codes like "EN". Same height as the
687
+ sibling pills/buttons in the topbar (40px) so the row is uniform.
688
+ Compact horizontal padding + uppercase / tracked type so it reads
689
+ as an icon-style chip next to the full-size agent name pill. */
689
690
  .ll-hpill--compact {
690
- height: 32px;
691
- padding: 0 10px;
691
+ height: 40px;
692
+ padding: 0 12px;
692
693
  font-size: 12px;
693
694
  font-weight: 600;
694
695
  letter-spacing: 0.04em;
@@ -942,6 +943,31 @@
942
943
  background: rgba(0, 0, 0, 0.4);
943
944
  -webkit-backdrop-filter: blur(14px);
944
945
  backdrop-filter: blur(14px);
946
+ /* Smooth the agent → user role handoff so the orange glow doesn't
947
+ hard-flip on every transcript turn. */
948
+ border: 1px solid transparent;
949
+ transition: background 220ms ease, box-shadow 220ms ease,
950
+ border-color 220ms ease;
951
+ }
952
+
953
+ /* Captions affordance for deaf-friendly UX: when the latest transcript
954
+ line is the AGENT's spoken output, tint the pill with a soft orange
955
+ glow signalling "this text is coming from Live Layer." The user's STT
956
+ keeps default styling (no glow) so the two voices read distinctly.
957
+ Hue is the warm side of the brand; opacity is tuned so the text on
958
+ the dark blurred backdrop stays readable. */
959
+ .ll-expanded__transcript--agent {
960
+ background: rgba(255, 139, 61, 0.18);
961
+ border-color: rgba(255, 175, 110, 0.45);
962
+ box-shadow:
963
+ 0 0 18px rgba(255, 139, 61, 0.3),
964
+ inset 0 0 0 1px rgba(255, 175, 110, 0.2);
965
+ }
966
+
967
+ @media (prefers-reduced-motion: reduce) {
968
+ .ll-expanded__transcript {
969
+ transition: none;
970
+ }
945
971
  }
946
972
 
947
973
  .ll-expanded__transcript-text {
@@ -1000,6 +1026,24 @@
1000
1026
  color: #fff;
1001
1027
  }
1002
1028
 
1029
+ /* Danger variant — used for End conversation in the toolbar row.
1030
+ Same shape/size as a regular tool; red tint signals "this ends the
1031
+ call." Sits at the right edge of the toolbar so eye flow is L→R:
1032
+ share → camera → mic → speaker → END. */
1033
+ .ll-tool--danger {
1034
+ background: rgba(239, 68, 68, 0.78);
1035
+ border-color: rgba(255, 120, 120, 0.55);
1036
+ color: #fff;
1037
+ /* Pull slightly away from the speaker so it visually groups as
1038
+ "exit", not "yet another media control." */
1039
+ margin-left: 6px;
1040
+ }
1041
+
1042
+ .ll-tool--danger:hover {
1043
+ background: rgba(220, 38, 38, 0.92);
1044
+ border-color: rgba(255, 140, 140, 0.7);
1045
+ }
1046
+
1003
1047
  /* Split button: left = toggle, right = device menu */
1004
1048
  .ll-tool-split {
1005
1049
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livelayer/react",
3
- "version": "0.5.5-pr66c.4",
3
+ "version": "0.5.5-pr66c.5",
4
4
  "description": "LiveLayer agent widget for React — avatar video, team switching, responsive layouts, full-fidelity embed",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "livekit-client": "^2.17.3",
25
- "@livelayer/sdk": "0.3.0-pr66c.4"
25
+ "@livelayer/sdk": "0.3.0-pr66c.5"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@testing-library/dom": "^10.4.1",