@linktr.ee/messaging-react 3.5.6-rc-1783097662 → 3.5.6-rc-1783100793

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/messaging-react",
3
- "version": "3.5.6-rc-1783097662",
3
+ "version": "3.5.6-rc-1783100793",
4
4
  "description": "React messaging components built on messaging-core for web applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@linktr.ee/component-library": "11.8.6",
41
- "@linktr.ee/messaging-core": "2.3.0-rc-1783097662",
41
+ "@linktr.ee/messaging-core": "2.3.0-rc-1783100793",
42
42
  "@phosphor-icons/react": "^2.1.10"
43
43
  },
44
44
  "devDependencies": {
package/src/styles.css CHANGED
@@ -564,34 +564,6 @@
564
564
  letter-spacing: 0.14px;
565
565
  }
566
566
 
567
- /* Keep every bubble a full pill regardless of its position in a same-author
568
- run. stream-chat-react's default theme flattens the inner corners of
569
- grouped bubbles (bottom-/top-inline-end for `--me`, inline-start for
570
- `--other`) via `.str-chat__li--{top,middle,bottom} .str-chat__message--{me,other}
571
- .str-chat__message-bubble` rules at specificity (0,3,0). We prepend the
572
- `.str-chat` root class to reach (0,4,0) so this wins independently of
573
- stylesheet load order and restores the fully-rounded pill from the Figma
574
- spec — only the trailing bubble's tail (`::after`, below) breaks the pill. */
575
- .str-chat .str-chat__li--single .str-chat__message--me .str-chat__message-bubble,
576
- .str-chat .str-chat__li--top .str-chat__message--me .str-chat__message-bubble,
577
- .str-chat .str-chat__li--middle .str-chat__message--me .str-chat__message-bubble,
578
- .str-chat .str-chat__li--bottom .str-chat__message--me .str-chat__message-bubble,
579
- .str-chat
580
- .str-chat__li--single
581
- .str-chat__message--other
582
- .str-chat__message-bubble,
583
- .str-chat .str-chat__li--top .str-chat__message--other .str-chat__message-bubble,
584
- .str-chat
585
- .str-chat__li--middle
586
- .str-chat__message--other
587
- .str-chat__message-bubble,
588
- .str-chat
589
- .str-chat__li--bottom
590
- .str-chat__message--other
591
- .str-chat__message-bubble {
592
- border-radius: var(--str-chat__message-bubble-border-radius);
593
- }
594
-
595
567
  /* Chatbot reply markdown — restore semantics that consumer Tailwind preflight
596
568
  (or other resets) strip from the body of `.str-chat__message-text-inner`. */
597
569
  .str-chat__message-text-inner :where(h1, h2, h3, h4, h5, h6) {
@@ -696,22 +668,24 @@
696
668
  margin-bottom: 0;
697
669
  }
698
670
 
699
- /* Roomier, even vertical gap between bubbles within a same-author run.
700
- stream defaults grouped messages to 0.125rem (2px), which reads as
701
- cramped now that each bubble is a full pill; the Figma grouped-message
702
- spacing is closer to 6px. `.str-chat` prefix → (0,3,0) so it beats
703
- stream's (0,2,0) grouping rule regardless of stylesheet load order. */
704
- .str-chat .str-chat__li--top .str-chat__message,
705
- .str-chat .str-chat__li--middle .str-chat__message {
706
- margin-block-end: 0.375rem;
707
- }
708
-
709
671
  .str-chat__li--single,
710
672
  .str-chat__li--bottom {
711
673
  .str-chat__message {
712
674
  margin-block-end: 0.875rem;
713
675
  }
714
676
 
677
+ /* Re-round the outer bottom corner of the trailing/standalone bubble
678
+ (bottom-inline-start for `--other`, bottom-inline-end for `--me`) that
679
+ stream's grouping flattens — matches main's merged-run shape where the
680
+ run reads as one column capped by a rounded bottom corner. The inner
681
+ corners stay flattened so consecutive bubbles still merge. */
682
+ .str-chat__message--other .str-chat__message-bubble {
683
+ border-end-start-radius: var(--str-chat__message-bubble-border-radius);
684
+ }
685
+ .str-chat__message--me .str-chat__message-bubble {
686
+ border-end-end-radius: var(--str-chat__message-bubble-border-radius);
687
+ }
688
+
715
689
  /* `:not([data-attachment-bubble])` keeps the tail off self-contained
716
690
  attachment/media cards (see `MediaMessage`): those render their own
717
691
  shadowed card inside a transparent bubble, so a tail tinted from the