@poolse/react-ui 3.2.0 → 3.3.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
@@ -614,6 +614,33 @@
614
614
  white-space: nowrap;
615
615
  }
616
616
 
617
+ /* Sender label / avatar as buttons (`onSenderPress` / `onAvatarPress`). */
618
+ .poolse-message__sender--button {
619
+ display: block;
620
+ padding: 0;
621
+ border: 0;
622
+ background: none;
623
+ font-family: inherit;
624
+ text-align: start;
625
+ cursor: pointer;
626
+ }
627
+ .poolse-message__sender--button:hover {
628
+ text-decoration: underline;
629
+ }
630
+ .poolse-bubble-shell__avatar-button {
631
+ display: flex;
632
+ padding: 0;
633
+ border: 0;
634
+ border-radius: 50%;
635
+ background: none;
636
+ cursor: pointer;
637
+ }
638
+ .poolse-message__sender--button:focus-visible,
639
+ .poolse-bubble-shell__avatar-button:focus-visible {
640
+ outline: 2px solid var(--poolse-brand, currentColor);
641
+ outline-offset: 2px;
642
+ }
643
+
617
644
  /* Bubble + avatar shell — flex row, avatar slot to the left,
618
645
  bubble to the right. Self bubbles + no-avatar configurations
619
646
  bypass this wrapper entirely (Fragment passthrough). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolse/react-ui",
3
- "version": "3.2.0",
3
+ "version": "3.3.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": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [
@@ -57,16 +57,9 @@
57
57
  "LICENSE",
58
58
  "CHANGELOG.md"
59
59
  ],
60
- "scripts": {
61
- "build": "tsup",
62
- "dev": "tsup --watch src",
63
- "test": "vitest run",
64
- "typecheck": "tsc --noEmit",
65
- "lint": "eslint src test"
66
- },
67
60
  "dependencies": {
68
- "@poolse/react": "^3.2.0",
69
- "@poolse/sdk": "^3.2.0",
61
+ "@poolse/react": "^3.3.0",
62
+ "@poolse/sdk": "^3.3.0",
70
63
  "react-markdown": "^9.0.1",
71
64
  "remark-gfm": "^4.0.0"
72
65
  },
@@ -82,5 +75,12 @@
82
75
  },
83
76
  "publishConfig": {
84
77
  "access": "public"
78
+ },
79
+ "scripts": {
80
+ "build": "tsup",
81
+ "dev": "tsup --watch src",
82
+ "test": "vitest run",
83
+ "typecheck": "tsc --noEmit",
84
+ "lint": "eslint src test"
85
85
  }
86
- }
86
+ }