stream-chat-react 11.12.2 → 11.13.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/dist/browser.full-bundle.js +4 -1
- package/dist/browser.full-bundle.js.map +1 -1
- package/dist/browser.full-bundle.min.js +2 -2
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts +6 -4
- package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts.map +1 -1
- package/dist/components/Emojis/EmojiPicker.d.ts +1 -0
- package/dist/components/Emojis/EmojiPicker.d.ts.map +1 -1
- package/dist/components/Emojis/EmojiPicker.js +3 -0
- package/dist/components/Emojis/index.cjs.js +3 -0
- package/dist/index.cjs.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
|
@@ -59850,7 +59850,7 @@ var StreamChatReact = (function (exports, React$2, jsxRuntime, ReactDOM, streamC
|
|
|
59850
59850
|
|
|
59851
59851
|
window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
|
|
59852
59852
|
|
|
59853
|
-
window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var version$1 = '11.
|
|
59853
|
+
window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var version$1 = '11.13.1';
|
|
59854
59854
|
|
|
59855
59855
|
window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var useChat = function (_a) {
|
|
59856
59856
|
var _b, _c;
|
|
@@ -60258,6 +60258,9 @@ var StreamChatReact = (function (exports, React$2, jsxRuntime, ReactDOM, streamC
|
|
|
60258
60258
|
var _a;
|
|
60259
60259
|
insertText(e.native);
|
|
60260
60260
|
(_a = textareaRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
60261
|
+
if (props.closeOnEmojiSelect) {
|
|
60262
|
+
setDisplayPicker(false);
|
|
60263
|
+
}
|
|
60261
60264
|
} }, props.pickerProps)))),
|
|
60262
60265
|
themeVersion === '1' && (React__default["default"].createElement(Tooltip, null, displayPicker ? t('Close emoji picker') : t('Open emoji picker'))),
|
|
60263
60266
|
React__default["default"].createElement("button", { "aria-expanded": displayPicker, "aria-label": t('aria/Emoji picker'), className: (_c = props.buttonClassName) !== null && _c !== void 0 ? _c : buttonClassName, onClick: function () { return setDisplayPicker(function (cv) { return !cv; }); }, ref: setReferenceElement, type: 'button' }, ButtonIconComponent && React__default["default"].createElement(ButtonIconComponent, null))));
|