@poolse/react-ui 3.2.0-dev.1 → 3.2.0-dev.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/styles.css CHANGED
@@ -3408,7 +3408,8 @@
3408
3408
  }
3409
3409
 
3410
3410
  .poolse-room__stage > .callgrid,
3411
- .poolse-room__stage > .callstage {
3411
+ .poolse-room__stage > .callstage,
3412
+ .poolse-room__stage > .callpresent {
3412
3413
  position: absolute;
3413
3414
  inset: 8px;
3414
3415
  }
@@ -3451,6 +3452,85 @@
3451
3452
  min-height: 0;
3452
3453
  }
3453
3454
 
3455
+ /* A shared screen fills the stage, uncropped, with everyone's faces in a
3456
+ strip beside it (under it on a narrow screen). */
3457
+ .callpresent {
3458
+ display: grid;
3459
+ grid-template-columns: minmax(0, 1fr) clamp(140px, 16vw, 200px);
3460
+ gap: 8px;
3461
+ min-height: 0;
3462
+ }
3463
+
3464
+ .callpresent__screen {
3465
+ position: relative;
3466
+ min-width: 0;
3467
+ min-height: 0;
3468
+ border-radius: 12px;
3469
+ overflow: hidden;
3470
+ background: #000;
3471
+ }
3472
+
3473
+ .callpresent__screen .callgrid__video {
3474
+ width: 100%;
3475
+ height: 100%;
3476
+ }
3477
+
3478
+ .callpresent__strip {
3479
+ display: flex;
3480
+ flex-direction: column;
3481
+ gap: 8px;
3482
+ min-height: 0;
3483
+ overflow-y: auto;
3484
+ }
3485
+
3486
+ .callpresent__strip .callgrid__tile {
3487
+ flex: none;
3488
+ aspect-ratio: 16 / 10;
3489
+ min-height: 0;
3490
+ }
3491
+
3492
+ @media (max-width: 640px) {
3493
+ .callpresent {
3494
+ grid-template-columns: minmax(0, 1fr);
3495
+ grid-template-rows: minmax(0, 1fr) 96px;
3496
+ }
3497
+
3498
+ .callpresent__strip {
3499
+ flex-direction: row;
3500
+ overflow-x: auto;
3501
+ overflow-y: hidden;
3502
+ }
3503
+
3504
+ .callpresent__strip .callgrid__tile {
3505
+ height: 100%;
3506
+ aspect-ratio: 4 / 3;
3507
+ }
3508
+ }
3509
+
3510
+ .poolse-room__sharing {
3511
+ display: flex;
3512
+ align-items: center;
3513
+ justify-content: center;
3514
+ gap: 10px;
3515
+ margin: 0 8px;
3516
+ padding: 8px 12px;
3517
+ border-radius: 10px;
3518
+ font-size: 13.5px;
3519
+ color: #fff;
3520
+ background: color-mix(in srgb, var(--poolse-brand, #e25a3a) 85%, #000);
3521
+ }
3522
+
3523
+ .poolse-room__sharing button {
3524
+ font: inherit;
3525
+ font-weight: 600;
3526
+ color: inherit;
3527
+ background: rgba(255, 255, 255, 0.18);
3528
+ border: none;
3529
+ border-radius: 999px;
3530
+ padding: 4px 12px;
3531
+ cursor: pointer;
3532
+ }
3533
+
3454
3534
  /* Initials sized to the tile, so the small self-view bubble does not
3455
3535
  overflow its circle. */
3456
3536
  .callgrid__placeholder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolse/react-ui",
3
- "version": "3.2.0-dev.1",
3
+ "version": "3.2.0-dev.2",
4
4
  "description": "React chat UI components — ConversationView, PoolseInbox, MessageBubble, TypingIndicator, ReactionPicker, ThreadView. CSS-variable theming, render-prop escape hatches. MIT — alternative to Sendbird, Stream, TalkJS, CometChat.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [
@@ -58,8 +58,8 @@
58
58
  "CHANGELOG.md"
59
59
  ],
60
60
  "dependencies": {
61
- "@poolse/react": "^3.2.0-dev.1",
62
- "@poolse/sdk": "^3.2.0-dev.1",
61
+ "@poolse/react": "^3.2.0-dev.2",
62
+ "@poolse/sdk": "^3.2.0-dev.2",
63
63
  "react-markdown": "^9.0.1",
64
64
  "remark-gfm": "^4.0.0"
65
65
  },