@poolse/react-ui 3.2.0-dev.2 → 3.2.0-dev.3

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
@@ -3380,7 +3380,7 @@
3380
3380
 
3381
3381
  .poolse-room__head {
3382
3382
  display: flex;
3383
- align-items: baseline;
3383
+ align-items: center;
3384
3384
  justify-content: space-between;
3385
3385
  gap: 12px;
3386
3386
  padding: 12px 16px 6px;
@@ -3398,6 +3398,65 @@
3398
3398
  color: rgba(255, 255, 255, 0.7);
3399
3399
  font-variant-numeric: tabular-nums;
3400
3400
  white-space: nowrap;
3401
+ margin-left: auto;
3402
+ }
3403
+
3404
+ /* Full screen: the whole room from its header, or only a shared screen
3405
+ from the button on it (double-clicking the screen does the same). */
3406
+ .poolse-room__fullscreen,
3407
+ .callpresent__fullscreen {
3408
+ display: inline-flex;
3409
+ align-items: center;
3410
+ justify-content: center;
3411
+ flex: none;
3412
+ padding: 0;
3413
+ border: none;
3414
+ border-radius: 999px;
3415
+ color: #fff;
3416
+ cursor: pointer;
3417
+ }
3418
+
3419
+ .poolse-room__fullscreen {
3420
+ width: 30px;
3421
+ height: 30px;
3422
+ margin: -4px -6px -4px 0;
3423
+ background: transparent;
3424
+ }
3425
+
3426
+ .poolse-room__fullscreen:hover,
3427
+ .poolse-room__fullscreen:focus-visible {
3428
+ background: rgba(255, 255, 255, 0.12);
3429
+ }
3430
+
3431
+ .poolse-room:fullscreen {
3432
+ border-radius: 0;
3433
+ }
3434
+
3435
+ .callpresent__fullscreen {
3436
+ position: absolute;
3437
+ top: 10px;
3438
+ right: 10px;
3439
+ width: 38px;
3440
+ height: 38px;
3441
+ background: rgba(0, 0, 0, 0.6);
3442
+ opacity: 0;
3443
+ transition: opacity 0.15s ease;
3444
+ }
3445
+
3446
+ .callpresent__screen:hover .callpresent__fullscreen,
3447
+ .callpresent__fullscreen:focus-visible {
3448
+ opacity: 1;
3449
+ }
3450
+
3451
+ /* No hover on touch screens: keep it visible. */
3452
+ @media (hover: none) {
3453
+ .callpresent__fullscreen {
3454
+ opacity: 1;
3455
+ }
3456
+ }
3457
+
3458
+ .callpresent__screen:fullscreen {
3459
+ border-radius: 0;
3401
3460
  }
3402
3461
 
3403
3462
  .poolse-room__stage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolse/react-ui",
3
- "version": "3.2.0-dev.2",
3
+ "version": "3.2.0-dev.3",
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.2",
62
- "@poolse/sdk": "^3.2.0-dev.2",
61
+ "@poolse/react": "^3.2.0-dev.3",
62
+ "@poolse/sdk": "^3.2.0-dev.3",
63
63
  "react-markdown": "^9.0.1",
64
64
  "remark-gfm": "^4.0.0"
65
65
  },