@ttt-productions/chat-react 0.12.0 → 0.12.2
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 +4 -4
- package/src/styles/chat.css +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/chat-react",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Chat React UI, hooks, and Firebase-client adapter for TTT Productions apps (realtime newest window + infinite older pagination)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"@ttt-productions/chat-schemas": "^0.9.0",
|
|
65
65
|
"@ttt-productions/realtime-core": "^0.1.1",
|
|
66
66
|
"@ttt-productions/media-schemas": "^0.14.0",
|
|
67
|
-
"@ttt-productions/ui-core": "^0.11.
|
|
67
|
+
"@ttt-productions/ui-core": "^0.11.4",
|
|
68
68
|
"@ttt-productions/file-input": "^0.11.0",
|
|
69
69
|
"@ttt-productions/upload-ui": "^0.7.3",
|
|
70
|
-
"@ttt-productions/media-viewer": "^0.10.
|
|
70
|
+
"@ttt-productions/media-viewer": "^0.10.1",
|
|
71
71
|
"@ttt-productions/mobile-core": "^0.9.0",
|
|
72
|
-
"@ttt-productions/firebase-helpers": "^0.
|
|
72
|
+
"@ttt-productions/firebase-helpers": "^0.12.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@ttt-productions/query-core": "^0.14.0",
|
package/src/styles/chat.css
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
.chat-bubble {
|
|
9
9
|
padding: 0.75rem;
|
|
10
10
|
border-radius: 0.5rem;
|
|
11
|
+
/* An unbroken long token (a URL, an id, "xxxx…") must WRAP, never widen the
|
|
12
|
+
bubble past its cap — a right-anchored (own) bubble that overflows spills
|
|
13
|
+
its start off-screen LEFT, making the message unreadable. min-width: 0
|
|
14
|
+
lets the bubble shrink below the token's intrinsic width inside its flex
|
|
15
|
+
column; overflow-wrap breaks the token at the edge. */
|
|
16
|
+
min-width: 0;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
overflow-wrap: anywhere;
|
|
11
19
|
}
|
|
12
20
|
|
|
13
21
|
.chat-bubble--mine {
|