@poolse/react-ui 2.21.0 → 2.22.0
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.cjs +87 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -5
- package/dist/index.d.ts +32 -5
- package/dist/index.js +88 -15
- package/dist/index.js.map +1 -1
- package/dist/styles.css +70 -0
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -368,6 +368,76 @@
|
|
|
368
368
|
margin-right: 6px;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
+
.poolse-call-log__call-back {
|
|
372
|
+
margin-left: 8px;
|
|
373
|
+
padding: 2px 8px;
|
|
374
|
+
font: 600 12px / 1.3 var(--poolse-font-body);
|
|
375
|
+
color: var(--poolse-brand);
|
|
376
|
+
background: none;
|
|
377
|
+
border: none;
|
|
378
|
+
border-radius: var(--poolse-radius-pill);
|
|
379
|
+
cursor: pointer;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.poolse-call-log__call-back:hover {
|
|
383
|
+
background: var(--poolse-surface);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.poolse-call-log__call-back:focus-visible {
|
|
387
|
+
outline: 2px solid var(--poolse-brand);
|
|
388
|
+
outline-offset: 1px;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/* Live-call banner — a strip across the top of the conversation while a
|
|
392
|
+
call runs that the viewer is not on. */
|
|
393
|
+
.poolse-live-call {
|
|
394
|
+
display: flex;
|
|
395
|
+
align-items: center;
|
|
396
|
+
gap: 10px;
|
|
397
|
+
padding: 8px 16px;
|
|
398
|
+
color: #fff;
|
|
399
|
+
background: var(--poolse-success);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.poolse-live-call__icon {
|
|
403
|
+
flex: none;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.poolse-live-call__text {
|
|
407
|
+
display: flex;
|
|
408
|
+
flex-direction: column;
|
|
409
|
+
flex: 1;
|
|
410
|
+
min-width: 0;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.poolse-live-call__title {
|
|
414
|
+
font: 600 14px / 1.3 var(--poolse-font-body);
|
|
415
|
+
white-space: nowrap;
|
|
416
|
+
overflow: hidden;
|
|
417
|
+
text-overflow: ellipsis;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.poolse-live-call__meta {
|
|
421
|
+
font: 500 12px / 1.3 var(--poolse-font-body);
|
|
422
|
+
opacity: 0.85;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.poolse-live-call__join {
|
|
426
|
+
flex: none;
|
|
427
|
+
padding: 6px 16px;
|
|
428
|
+
font: 700 14px / 1 var(--poolse-font-body);
|
|
429
|
+
color: var(--poolse-success);
|
|
430
|
+
background: #fff;
|
|
431
|
+
border: none;
|
|
432
|
+
border-radius: var(--poolse-radius-pill);
|
|
433
|
+
cursor: pointer;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.poolse-live-call__join:focus-visible {
|
|
437
|
+
outline: 2px solid #fff;
|
|
438
|
+
outline-offset: 2px;
|
|
439
|
+
}
|
|
440
|
+
|
|
371
441
|
.poolse-call-log--missed .poolse-call-log__icon,
|
|
372
442
|
.poolse-call-log--missed .poolse-call-log__title {
|
|
373
443
|
color: var(--poolse-error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolse/react-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
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": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -56,16 +56,9 @@
|
|
|
56
56
|
"README.md",
|
|
57
57
|
"CHANGELOG.md"
|
|
58
58
|
],
|
|
59
|
-
"scripts": {
|
|
60
|
-
"build": "tsup",
|
|
61
|
-
"dev": "tsup --watch src",
|
|
62
|
-
"test": "vitest run",
|
|
63
|
-
"typecheck": "tsc --noEmit",
|
|
64
|
-
"lint": "eslint src test"
|
|
65
|
-
},
|
|
66
59
|
"dependencies": {
|
|
67
|
-
"@poolse/react": "^2.
|
|
68
|
-
"@poolse/sdk": "^2.
|
|
60
|
+
"@poolse/react": "^2.26.0",
|
|
61
|
+
"@poolse/sdk": "^2.22.0",
|
|
69
62
|
"react-markdown": "^9.0.1",
|
|
70
63
|
"remark-gfm": "^4.0.0"
|
|
71
64
|
},
|
|
@@ -81,5 +74,12 @@
|
|
|
81
74
|
},
|
|
82
75
|
"publishConfig": {
|
|
83
76
|
"access": "public"
|
|
77
|
+
},
|
|
78
|
+
"scripts": {
|
|
79
|
+
"build": "tsup",
|
|
80
|
+
"dev": "tsup --watch src",
|
|
81
|
+
"test": "vitest run",
|
|
82
|
+
"typecheck": "tsc --noEmit",
|
|
83
|
+
"lint": "eslint src test"
|
|
84
84
|
}
|
|
85
|
-
}
|
|
85
|
+
}
|