@linktr.ee/messaging-react 4.4.6 → 4.4.7-rc-1788243598
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 +4 -4
- package/dist/index.js +692 -660
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/CustomMessage/CustomMessage.test.tsx +255 -6
- package/src/components/CustomMessage/index.tsx +41 -1
- package/src/components/MessageAttachment/MessageAttachment.behavior.test.tsx +45 -2
- package/src/components/MessageAttachment/Video/index.tsx +24 -8
- package/src/logging/index.test.tsx +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1870,10 +1870,10 @@ declare interface VideoAttachmentSharedProps extends MessageAttachmentBaseProps
|
|
|
1870
1870
|
items?: MessageAttachmentVideoItem[];
|
|
1871
1871
|
/**
|
|
1872
1872
|
* `<video preload>` hint forwarded into the viewer. Defaults to
|
|
1873
|
-
* `'none'` —
|
|
1874
|
-
*
|
|
1875
|
-
*
|
|
1876
|
-
* `VideoItem.preload`. The opened `VideoViewer` always preloads
|
|
1873
|
+
* `'none'` — poster images carry the visual weight on the bubble surface,
|
|
1874
|
+
* while posterless tiles fetch metadata to paint a first frame unless
|
|
1875
|
+
* `'none'` is explicitly set, in which case they use the placeholder icon.
|
|
1876
|
+
* Per-item overrides live on `VideoItem.preload`. The opened `VideoViewer` always preloads
|
|
1877
1877
|
* metadata for the active item (so duration / first-frame appear
|
|
1878
1878
|
* immediately) regardless of this value.
|
|
1879
1879
|
*/
|