@poolse/react-native 2.19.0 → 2.20.1
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/CHANGELOG.md +48 -0
- package/dist/index.cjs +304 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -3
- package/dist/index.d.ts +37 -3
- package/dist/index.js +304 -178
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,54 @@ All notable changes to `@poolse/react-native` are documented here.
|
|
|
4
4
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
|
|
5
5
|
versions follow [semver](https://semver.org).
|
|
6
6
|
|
|
7
|
+
## [2.20.1] — 2026-10-13
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Long-press on an image-only message never opened the actions
|
|
12
|
+
sheet.** The mosaic tiles are Pressables (tap opens the viewer) and
|
|
13
|
+
a nested Pressable wins the gesture, so the row's long-press never
|
|
14
|
+
fired when the image WAS the whole bubble. The long-press now
|
|
15
|
+
threads through `MessageBubble onLongPress` into every tile.
|
|
16
|
+
|
|
17
|
+
## [2.20.0] — 2026-10-13
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **The message bubble, rebuilt.** Same props, new rendering:
|
|
22
|
+
- The timestamp (with `edited` and the read ticks) sits on the last
|
|
23
|
+
line of plain-text bodies — an invisible twin reserves its exact
|
|
24
|
+
footprint, so it shares the line or wraps flush right. Short
|
|
25
|
+
messages are one-line bubbles again; the `minWidth` floor that
|
|
26
|
+
padded them out is gone.
|
|
27
|
+
- Media bleeds to a 3px frame of bubble color, capped at 420pt,
|
|
28
|
+
corners concentric with the bubble (default radius 16 → 18). When
|
|
29
|
+
a caption or file cards follow, the mosaic squares its bottom
|
|
30
|
+
corners into the text instead of leaving "ears" of bubble color.
|
|
31
|
+
- Image-only messages float the meta on a scrim pill over the
|
|
32
|
+
picture, matching the web package.
|
|
33
|
+
- 1–3 emoji and nothing else render large, without bubble chrome.
|
|
34
|
+
- Quote cards: 10pt radius, darker-than-bubble tint on both sides,
|
|
35
|
+
and a quoted-of-deleted fallback matching web.
|
|
36
|
+
- A deleted message renders its tombstone even when the body was
|
|
37
|
+
cleared server-side.
|
|
38
|
+
|
|
39
|
+
- **The always-visible corner chevron is gone.** It stamped a control
|
|
40
|
+
into the bubble's rounded corner and duplicated affordances a phone
|
|
41
|
+
already has — long-press opens the actions sheet, swipe quotes.
|
|
42
|
+
`MessageBubble`'s `actionsTrigger` slot remains for custom rows.
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- `AttachmentPreview tone="onBrand"` — restyles the file card for
|
|
47
|
+
brand-colored self bubbles (translucent white instead of a surface
|
|
48
|
+
patch). `MessageBubble` passes it automatically.
|
|
49
|
+
- `ImageMosaic squareBottom` — small bottom radii for mosaics that
|
|
50
|
+
flow into a caption; `radius` now applies per-corner. The mosaic
|
|
51
|
+
also takes an explicit pixel width from the bubble, fixing a layout
|
|
52
|
+
where a percentage against the auto-sized bubble could collapse or
|
|
53
|
+
blow the row open.
|
|
54
|
+
|
|
7
55
|
## [2.19.0] — 2026-08-25
|
|
8
56
|
|
|
9
57
|
### Added
|