sceyt-chat-react-uikit 1.7.5-beta.11 → 1.7.5-beta.12
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/index.js +3 -3
- package/index.modern.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -35203,7 +35203,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35203
35203
|
ogContainerShowBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerShowBackground,
|
|
35204
35204
|
ogContainerBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerBackground,
|
|
35205
35205
|
infoPadding: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.infoPadding
|
|
35206
|
-
})), /*#__PURE__*/React__default.createElement("span", {
|
|
35206
|
+
})), message.type !== exports.MESSAGE_TYPE.POLL && (/*#__PURE__*/React__default.createElement("span", {
|
|
35207
35207
|
ref: messageTextRef
|
|
35208
35208
|
}, MessageTextFormat({
|
|
35209
35209
|
text: message.body,
|
|
@@ -35215,7 +35215,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35215
35215
|
onMentionNameClick: handleOpenUserProfile,
|
|
35216
35216
|
shouldOpenUserProfileForMention: !!shouldOpenUserProfileForMention,
|
|
35217
35217
|
unsupportedMessage: unsupportedMessage
|
|
35218
|
-
})), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
|
|
35218
|
+
}))), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
|
|
35219
35219
|
color: textSecondary
|
|
35220
35220
|
}, " Message was deleted. ")) : '', !ogContainerFirst && linkAttachment && !mediaAttachment && !withMediaAttachment && !fileAttachment && (/*#__PURE__*/React__default.createElement(OGMetadata, {
|
|
35221
35221
|
maxWidth: (ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.maxWidth) || 400,
|
|
@@ -35299,7 +35299,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35299
35299
|
channelId: message.channelId,
|
|
35300
35300
|
incoming: message.incoming
|
|
35301
35301
|
});
|
|
35302
|
-
}), message.type ===
|
|
35302
|
+
}), message.type === exports.MESSAGE_TYPE.POLL && /*#__PURE__*/React__default.createElement(PollMessage, {
|
|
35303
35303
|
message: message
|
|
35304
35304
|
}), emojisPopupOpen && emojisPopupPosition && (/*#__PURE__*/React__default.createElement(EmojiContainer, {
|
|
35305
35305
|
id: message.id + "_emoji_popup_container",
|
package/index.modern.js
CHANGED
|
@@ -35202,7 +35202,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35202
35202
|
ogContainerShowBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerShowBackground,
|
|
35203
35203
|
ogContainerBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerBackground,
|
|
35204
35204
|
infoPadding: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.infoPadding
|
|
35205
|
-
})), /*#__PURE__*/React__default.createElement("span", {
|
|
35205
|
+
})), message.type !== MESSAGE_TYPE.POLL && (/*#__PURE__*/React__default.createElement("span", {
|
|
35206
35206
|
ref: messageTextRef
|
|
35207
35207
|
}, MessageTextFormat({
|
|
35208
35208
|
text: message.body,
|
|
@@ -35214,7 +35214,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35214
35214
|
onMentionNameClick: handleOpenUserProfile,
|
|
35215
35215
|
shouldOpenUserProfileForMention: !!shouldOpenUserProfileForMention,
|
|
35216
35216
|
unsupportedMessage: unsupportedMessage
|
|
35217
|
-
})), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
|
|
35217
|
+
}))), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
|
|
35218
35218
|
color: textSecondary
|
|
35219
35219
|
}, " Message was deleted. ")) : '', !ogContainerFirst && linkAttachment && !mediaAttachment && !withMediaAttachment && !fileAttachment && (/*#__PURE__*/React__default.createElement(OGMetadata, {
|
|
35220
35220
|
maxWidth: (ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.maxWidth) || 400,
|
|
@@ -35298,7 +35298,7 @@ var MessageBody = function MessageBody(_ref) {
|
|
|
35298
35298
|
channelId: message.channelId,
|
|
35299
35299
|
incoming: message.incoming
|
|
35300
35300
|
});
|
|
35301
|
-
}), message.type ===
|
|
35301
|
+
}), message.type === MESSAGE_TYPE.POLL && /*#__PURE__*/React__default.createElement(PollMessage, {
|
|
35302
35302
|
message: message
|
|
35303
35303
|
}), emojisPopupOpen && emojisPopupPosition && (/*#__PURE__*/React__default.createElement(EmojiContainer, {
|
|
35304
35304
|
id: message.id + "_emoji_popup_container",
|