@linktr.ee/messaging-react 3.9.1-rc-1783580113 → 3.9.1-rc-1783580772
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/{Card-t7hyYqE2.js → Card-BLLADEC_.js} +3 -3
- package/dist/{Card-t7hyYqE2.js.map → Card-BLLADEC_.js.map} +1 -1
- package/dist/{Card-Bm6-f8ki.cjs → Card-BMau-mI5.cjs} +2 -2
- package/dist/{Card-Bm6-f8ki.cjs.map → Card-BMau-mI5.cjs.map} +1 -1
- package/dist/{Card-BacmKRPX.cjs → Card-C3rbCPM7.cjs} +2 -2
- package/dist/{Card-BacmKRPX.cjs.map → Card-C3rbCPM7.cjs.map} +1 -1
- package/dist/{Card-CbRJaszK.js → Card-D3QNullZ.js} +2 -2
- package/dist/{Card-CbRJaszK.js.map → Card-D3QNullZ.js.map} +1 -1
- package/dist/{Card-CT51GZA-.js → Card-Dau41drB.js} +2 -2
- package/dist/{Card-CT51GZA-.js.map → Card-Dau41drB.js.map} +1 -1
- package/dist/{Card-BAWe1nw6.cjs → Card-MJ0x2roP.cjs} +2 -2
- package/dist/{Card-BAWe1nw6.cjs.map → Card-MJ0x2roP.cjs.map} +1 -1
- package/dist/{LockedThumbnail-DA2ypEZM.js → LockedThumbnail-Bq54AT8J.js} +2 -2
- package/dist/{LockedThumbnail-DA2ypEZM.js.map → LockedThumbnail-Bq54AT8J.js.map} +1 -1
- package/dist/{LockedThumbnail-D2AyOLj7.cjs → LockedThumbnail-a03GYGJz.cjs} +2 -2
- package/dist/{LockedThumbnail-D2AyOLj7.cjs.map → LockedThumbnail-a03GYGJz.cjs.map} +1 -1
- package/dist/{index-C2r41RoF.js → index-CBm9au-T.js} +7 -3
- package/dist/{index-C2r41RoF.js.map → index-CBm9au-T.js.map} +1 -1
- package/dist/{index-DgqwF0XA.cjs → index-CWopIWxB.cjs} +2 -2
- package/dist/{index-DgqwF0XA.cjs.map → index-CWopIWxB.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/CustomMessage/index.tsx +4 -0
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CWopIWxB.cjs");exports.ActionButton=e.ActionButton;exports.Avatar=e.Avatar;exports.ChannelEmptyState=e.ChannelEmptyState;exports.ChannelList=e.ChannelList;exports.ChannelView=e.ChannelView;exports.CustomMessageProvider=e.CustomMessageProvider;exports.FaqList=e.FaqList;exports.FaqListItem=e.FaqListItem;exports.LinkAttachment=e.LinkAttachment;exports.LockedAttachment=e.LockedAttachment;exports.MediaMessage=e.MediaMessage;exports.MessageAttachment=e.MessageAttachment;exports.MessageVoteButtons=e.MessageVoteButtons;exports.MessagingProvider=e.MessagingProvider;exports.MessagingShell=e.MessagingShell;exports.buildCompactMetaLabel=e.buildCompactMetaLabel;exports.formatFileSize=e.formatFileSize;exports.formatRelativeTime=e.formatRelativeTime;exports.getFileExtensionLabel=e.getFileExtensionLabel;exports.getMessageDisplayText=e.getMessageDisplayText;exports.isLinkAttachment=e.isLinkAttachment;exports.isUuidLike=e.isUuidLike;exports.messageAttachmentGroupPositionFromStream=e.bubbleGroupPositionFromStream;exports.normalizeLanguageCode=e.normalizeLanguageCode;exports.resolveConversationParticipant=e.resolveConversationParticipant;exports.resolveLinkAttachment=e.resolveLinkAttachment;exports.resolveMediaFromMessage=e.resolveMediaFromMessage;exports.resolveParticipantDisplayName=e.resolveParticipantDisplayName;exports.useComposerLocked=e.useComposerLocked;exports.useCustomMessage=e.useCustomMessage;exports.useMessageVote=e.useMessageVote;exports.useMessaging=e.useMessaging;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, b as t, C as i, c as o, d as n, e as m, F as r, f as g, L as l, h as M, M as c, i as u, j as L, k as h, l as d, m as p, n as v, o as C, p as A, q as k, s as F, t as P, u as b, v as f, w as x, x as y, y as S, z as q, B as z, D as B, E as D, G as E } from "./index-
|
|
1
|
+
import { a as e, b as t, C as i, c as o, d as n, e as m, F as r, f as g, L as l, h as M, M as c, i as u, j as L, k as h, l as d, m as p, n as v, o as C, p as A, q as k, s as F, t as P, u as b, v as f, w as x, x as y, y as S, z as q, B as z, D as B, E as D, G as E } from "./index-CBm9au-T.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ActionButton,
|
|
4
4
|
t as Avatar,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linktr.ee/messaging-react",
|
|
3
|
-
"version": "3.9.1-rc-
|
|
3
|
+
"version": "3.9.1-rc-1783580772",
|
|
4
4
|
"description": "React messaging components built on messaging-core for web applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@linktr.ee/component-library": "11.8.6",
|
|
53
|
-
"@linktr.ee/messaging-core": "2.3.0-rc-
|
|
53
|
+
"@linktr.ee/messaging-core": "2.3.0-rc-1783580772",
|
|
54
54
|
"@phosphor-icons/react": "^2.1.10"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -332,6 +332,10 @@ const CustomMessageWithContext = (props: CustomMessageWithContextProps) => {
|
|
|
332
332
|
message={{
|
|
333
333
|
...displayMessage,
|
|
334
334
|
attachments: finalAttachments,
|
|
335
|
+
// MessageText prefers message.i18n[userLanguage_text] from
|
|
336
|
+
// Stream's TranslationContext over message.text. Drop i18n so
|
|
337
|
+
// the caption uses displayMessage.text from viewerLanguage.
|
|
338
|
+
i18n: undefined,
|
|
335
339
|
}}
|
|
336
340
|
renderText={renderText}
|
|
337
341
|
/>
|