@poolse/react-ui 2.20.0 → 2.21.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/styles.css CHANGED
@@ -323,6 +323,56 @@
323
323
  border-radius: var(--poolse-radius-pill);
324
324
  }
325
325
 
326
+ /* Call-log line — centered compact pill between bubble clusters,
327
+ same family as the day separator (surface chip, hairline border,
328
+ small semibold label). Missed calls take the error tone. */
329
+ .poolse-call-log {
330
+ display: flex;
331
+ justify-content: center;
332
+ align-items: center;
333
+ margin: 8px 0;
334
+ }
335
+
336
+ .poolse-call-log__chip {
337
+ display: inline-flex;
338
+ align-items: center;
339
+ gap: 6px;
340
+ max-width: 100%;
341
+ padding: 4px 12px;
342
+ font: 600 12px / 1.3 var(--poolse-font-body);
343
+ color: var(--poolse-ink-2);
344
+ background: var(--poolse-surface);
345
+ border: 1px solid var(--poolse-border);
346
+ border-radius: var(--poolse-radius-pill);
347
+ }
348
+
349
+ .poolse-call-log__icon {
350
+ flex: none;
351
+ color: var(--poolse-ink-3);
352
+ }
353
+
354
+ .poolse-call-log__title {
355
+ color: var(--poolse-ink);
356
+ }
357
+
358
+ .poolse-call-log__detail,
359
+ .poolse-call-log__time {
360
+ font-weight: 500;
361
+ color: var(--poolse-ink-3);
362
+ font-variant-numeric: tabular-nums;
363
+ }
364
+
365
+ .poolse-call-log__detail::before,
366
+ .poolse-call-log__time::before {
367
+ content: '·';
368
+ margin-right: 6px;
369
+ }
370
+
371
+ .poolse-call-log--missed .poolse-call-log__icon,
372
+ .poolse-call-log--missed .poolse-call-log__title {
373
+ color: var(--poolse-error);
374
+ }
375
+
326
376
  .poolse-conversation__load-more {
327
377
  align-self: center;
328
378
  margin-bottom: 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolse/react-ui",
3
- "version": "2.20.0",
3
+ "version": "2.21.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": [
@@ -64,8 +64,8 @@
64
64
  "lint": "eslint src test"
65
65
  },
66
66
  "dependencies": {
67
- "@poolse/react": "^2.20.0",
68
- "@poolse/sdk": "^2.20.0",
67
+ "@poolse/react": "^2.25.0",
68
+ "@poolse/sdk": "^2.21.0",
69
69
  "react-markdown": "^9.0.1",
70
70
  "remark-gfm": "^4.0.0"
71
71
  },