@livelayer/react 0.2.3 → 0.2.4

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
@@ -618,10 +618,10 @@
618
618
  }
619
619
 
620
620
  .ll-hpill__label {
621
+ /* No max-width — labels size to content. The header's flex container
622
+ handles overflow (wrap when crowded). Truncating "Dean Dijour" or
623
+ "English" with an ellipsis looked broken; let the pill grow. */
621
624
  white-space: nowrap;
622
- overflow: hidden;
623
- text-overflow: ellipsis;
624
- max-width: 160px;
625
625
  }
626
626
 
627
627
  /* Ghost icon button (close / minimize) */
@@ -650,6 +650,21 @@
650
650
  background: rgba(0, 0, 0, 0.28);
651
651
  }
652
652
 
653
+ /* Destructive end-call button. Reserved for the X that fully ends a
654
+ live session (vs. the minimize button, which preserves it). The red
655
+ tint signals "this terminates" so users can't conflate it with a
656
+ benign dismiss. */
657
+ .ll-hbtn--danger {
658
+ background: rgba(239, 68, 68, 0.78);
659
+ border-color: rgba(255, 120, 120, 0.55);
660
+ color: #fff;
661
+ }
662
+
663
+ .ll-hbtn--danger:hover {
664
+ background: rgba(220, 38, 38, 0.92);
665
+ border-color: rgba(255, 140, 140, 0.7);
666
+ }
667
+
653
668
  /* Dropdown menu under a pill */
654
669
  .ll-hmenu {
655
670
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livelayer/react",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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",