@linktr.ee/messaging-react 4.4.6-rc-1788235358 → 4.4.6
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +175 -178
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/CustomMessage/StreamAttachmentMessage.stories.tsx +14 -0
- package/src/components/CustomMessage/StreamAttachmentMessage.test.tsx +27 -0
- package/src/components/CustomMessage/StreamAttachmentMessage.tsx +9 -1
- package/src/components/MessageAttachment/MessageAttachment.behavior.test.tsx +4 -8
- package/src/components/MessageAttachment/Video/index.tsx +6 -17
package/dist/index.d.ts
CHANGED
|
@@ -1870,8 +1870,9 @@ declare interface VideoAttachmentSharedProps extends MessageAttachmentBaseProps
|
|
|
1870
1870
|
items?: MessageAttachmentVideoItem[];
|
|
1871
1871
|
/**
|
|
1872
1872
|
* `<video preload>` hint forwarded into the viewer. Defaults to
|
|
1873
|
-
* `'none'` — poster
|
|
1874
|
-
*
|
|
1873
|
+
* `'none'` — the poster `<img>` carries the visual weight on the
|
|
1874
|
+
* bubble surface, and we shouldn't fetch any video bytes until the
|
|
1875
|
+
* user actually opens the viewer. Per-item overrides live on
|
|
1875
1876
|
* `VideoItem.preload`. The opened `VideoViewer` always preloads
|
|
1876
1877
|
* metadata for the active item (so duration / first-frame appear
|
|
1877
1878
|
* immediately) regardless of this value.
|