stream-chat-react-native-core 4.5.0 → 4.6.0
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/README.md +3 -3
- package/lib/commonjs/components/Attachment/FileIcon.js +9 -1
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +232 -48
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +39 -21
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.md +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +129 -44
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +25 -9
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +15 -8
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.md +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.md +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.md +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.md +1 -1
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.md +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.md +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +10 -7
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.md +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +16 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.md +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.md +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.md +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.md +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.md +1 -1
- package/lib/commonjs/icons/Recorder.js +47 -0
- package/lib/commonjs/icons/Recorder.js.map +1 -0
- package/lib/commonjs/icons/Video.js +82 -0
- package/lib/commonjs/icons/Video.js.map +1 -0
- package/lib/commonjs/icons/index.js +26 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/FileIcon.js +9 -1
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +232 -48
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +39 -21
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.md +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +129 -44
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +25 -9
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +15 -8
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.md +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.md +1 -1
- package/lib/module/contexts/chatContext/ChatContext.md +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.md +1 -1
- package/lib/module/contexts/keyboardContext/KeyboardContext.md +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.md +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +10 -7
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.md +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +16 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.md +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.md +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.md +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.md +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.md +1 -1
- package/lib/module/icons/Recorder.js +47 -0
- package/lib/module/icons/Recorder.js.map +1 -0
- package/lib/module/icons/Video.js +82 -0
- package/lib/module/icons/Video.js.map +1 -0
- package/lib/module/icons/index.js +26 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +6 -6
- package/lib/typescript/components/Channel/Channel.d.ts +2 -2
- package/lib/typescript/components/Chat/Chat.d.ts +1 -1
- package/lib/typescript/components/Message/Message.d.ts +2 -2
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +9 -8
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +2 -2
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +6 -6
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +2 -2
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +10 -21
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +6 -6
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +20 -20
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +2 -1
- package/lib/typescript/icons/Recorder.d.ts +3 -0
- package/lib/typescript/icons/Video.d.ts +3 -0
- package/lib/typescript/icons/index.d.ts +2 -0
- package/lib/typescript/native.d.ts +3 -14
- package/lib/typescript/types/types.d.ts +24 -0
- package/package.json +1 -1
- package/src/components/Attachment/FileIcon.tsx +45 -0
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +210 -60
- package/src/components/Channel/Channel.tsx +2 -2
- package/src/components/Chat/Chat.tsx +1 -1
- package/src/components/Message/Message.tsx +2 -2
- package/src/components/Message/MessageSimple/MessageContent.tsx +23 -12
- package/src/components/Message/MessageSimple/utils/renderText.md +1 -1
- package/src/components/MessageInput/FileUploadPreview.tsx +1 -1
- package/src/components/MessageInput/MessageInput.tsx +106 -19
- package/src/components/Reply/Reply.tsx +31 -14
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +12 -0
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +12 -8
- package/src/contexts/channelContext/ChannelContext.md +1 -1
- package/src/contexts/channelContext/ChannelContext.tsx +2 -2
- package/src/contexts/channelsContext/ChannelsContext.md +1 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +6 -6
- package/src/contexts/chatContext/ChatContext.md +1 -1
- package/src/contexts/imageGalleryContext/ImageGalleryContext.md +1 -1
- package/src/contexts/keyboardContext/KeyboardContext.md +1 -1
- package/src/contexts/messageContext/MessageContext.md +1 -1
- package/src/contexts/messageContext/MessageContext.tsx +2 -2
- package/src/contexts/messageInputContext/MessageInputContext.md +1 -1
- package/src/contexts/messageInputContext/MessageInputContext.tsx +23 -30
- package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +17 -1
- package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +6 -6
- package/src/contexts/messagesContext/MessagesContext.md +1 -1
- package/src/contexts/messagesContext/MessagesContext.tsx +20 -20
- package/src/contexts/overlayContext/OverlayContext.md +1 -1
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.md +1 -1
- package/src/contexts/suggestionsContext/SuggestionsContext.md +1 -1
- package/src/contexts/themeContext/utils/theme.ts +3 -1
- package/src/contexts/typingContext/TypingContext.md +1 -1
- package/src/icons/Recorder.tsx +16 -0
- package/src/icons/Video.tsx +37 -0
- package/src/icons/index.ts +2 -0
- package/src/native.ts +4 -14
- package/src/types/types.ts +27 -0
- package/src/version.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Video = void 0;
|
|
7
|
+
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _base = require("./utils/base");
|
|
13
|
+
|
|
14
|
+
var _this = this,
|
|
15
|
+
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/Video.tsx";
|
|
16
|
+
|
|
17
|
+
var Video = function Video(props) {
|
|
18
|
+
return _react["default"].createElement(_base.RootSvg, (0, _extends2["default"])({
|
|
19
|
+
height: props.height || 40,
|
|
20
|
+
viewBox: props.viewBox || '0 0 34 40',
|
|
21
|
+
width: props.width || 34
|
|
22
|
+
}, props, {
|
|
23
|
+
__self: _this,
|
|
24
|
+
__source: {
|
|
25
|
+
fileName: _jsxFileName,
|
|
26
|
+
lineNumber: 6,
|
|
27
|
+
columnNumber: 3
|
|
28
|
+
}
|
|
29
|
+
}), _react["default"].createElement(_base.RootPath, (0, _extends2["default"])({
|
|
30
|
+
d: "M 17.7168 33.172 C 18.2348 33.172 18.4238 33.655 18.4238 34.18 C 18.4238 34.642 18.2978 35.195 17.7168 35.195 C 17.1708 35.195 16.9888 34.642 16.9888 34.145 C 16.9888 33.683 17.1708 33.172 17.7168 33.172 Z M 19.5718 31.002 H 18.3818 V 32.7589 H 18.3678 C 18.1228 32.43 17.7798 32.262 17.3318 32.262 C 16.3028 32.262 15.7988 33.158 15.7988 34.103 C 15.7988 35.125 16.2818 36.1049 17.4228 36.1049 C 17.8428 36.1049 18.1928 35.923 18.4238 35.58 H 18.4378 V 36 H 19.5718 V 31.002 Z M 12.7095 34.1872 C 12.7095 33.7252 12.8775 33.1722 13.4305 33.1722 C 13.9835 33.1722 14.1585 33.7252 14.1585 34.1872 C 14.1585 34.6492 13.9835 35.1952 13.4305 35.1952 C 12.8775 35.1952 12.7095 34.6492 12.7095 34.1872 Z M 11.5195 34.1872 C 11.5195 35.2792 12.3035 36.1052 13.4305 36.1052 C 14.5575 36.1052 15.3485 35.2792 15.3485 34.1872 C 15.3485 33.0952 14.5575 32.2622 13.4305 32.2622 C 12.3035 32.2622 11.5195 33.0952 11.5195 34.1872 Z M 21.839 32.3671 H 22.574 V 33.1371 H 21.839 V 34.7891 C 21.839 35.0761 22.007 35.1391 22.266 35.1391 C 22.3142 35.1391 22.364 35.1357 22.4147 35.1323 C 22.4672 35.1287 22.5206 35.1251 22.574 35.1251 V 36.0001 C 22.481 36.0031 22.388 36.0099 22.295 36.0168 C 22.171 36.0259 22.047 36.0351 21.923 36.0351 C 20.908 36.0351 20.649 35.7411 20.649 34.7541 V 33.1371 H 20.047 V 32.3671 H 20.649 V 31.2681 H 21.839 V 32.3671 Z"
|
|
31
|
+
}, props, {
|
|
32
|
+
__self: _this,
|
|
33
|
+
__source: {
|
|
34
|
+
fileName: _jsxFileName,
|
|
35
|
+
lineNumber: 12,
|
|
36
|
+
columnNumber: 5
|
|
37
|
+
}
|
|
38
|
+
})), _react["default"].createElement(_base.RootPath, (0, _extends2["default"])({
|
|
39
|
+
d: "M 0 28 H 34 V 37 C 34 38.6569 32.6569 40 31 40 H 3 C 1.34315 40 0 38.6569 0 37 V 28 Z",
|
|
40
|
+
pathFill: 'rgb(157, 39, 176)'
|
|
41
|
+
}, props, {
|
|
42
|
+
__self: _this,
|
|
43
|
+
__source: {
|
|
44
|
+
fileName: _jsxFileName,
|
|
45
|
+
lineNumber: 16,
|
|
46
|
+
columnNumber: 5
|
|
47
|
+
}
|
|
48
|
+
})), _react["default"].createElement(_base.RootPath, (0, _extends2["default"])({
|
|
49
|
+
d: "M 0 3 C 0 1.34315 1.34315 0 3 0 H 23 L 34 11 V 28 H 0 V 3 Z",
|
|
50
|
+
pathFill: 'rgb(245, 245, 245)'
|
|
51
|
+
}, props, {
|
|
52
|
+
__self: _this,
|
|
53
|
+
__source: {
|
|
54
|
+
fileName: _jsxFileName,
|
|
55
|
+
lineNumber: 21,
|
|
56
|
+
columnNumber: 5
|
|
57
|
+
}
|
|
58
|
+
})), _react["default"].createElement(_base.RootPath, (0, _extends2["default"])({
|
|
59
|
+
d: "M 34 11 L 26 11 C 24.3431 11 23 9.65685 23 8 V 0 L 34 11 Z",
|
|
60
|
+
pathFill: 'rgb(219, 219, 219)'
|
|
61
|
+
}, props, {
|
|
62
|
+
__self: _this,
|
|
63
|
+
__source: {
|
|
64
|
+
fileName: _jsxFileName,
|
|
65
|
+
lineNumber: 26,
|
|
66
|
+
columnNumber: 5
|
|
67
|
+
}
|
|
68
|
+
})), _react["default"].createElement(_base.RootPath, (0, _extends2["default"])({
|
|
69
|
+
d: "M 9 17 H 25 V 24 H 9 V 17 Z M 27 14 C 27 12.8954 26.1046 12 25 12 H 22 L 24 15 H 21 L 19 12 H 17 L 19 15 H 16 L 14 12 H 12 L 14 15 H 11 L 9 12 C 7.9 12 7.01 12.9 7.01 14 L 7 24 C 7 25.1 7.9 26 9 26 H 25 C 26.1 26 27 25.1 27 24 V 14 Z",
|
|
70
|
+
pathFill: 'rgb(157, 39, 176)'
|
|
71
|
+
}, props, {
|
|
72
|
+
__self: _this,
|
|
73
|
+
__source: {
|
|
74
|
+
fileName: _jsxFileName,
|
|
75
|
+
lineNumber: 31,
|
|
76
|
+
columnNumber: 5
|
|
77
|
+
}
|
|
78
|
+
})));
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
exports.Video = Video;
|
|
82
|
+
//# sourceMappingURL=Video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Video.tsx"],"names":["Video","props","height","viewBox","width"],"mappings":";;;;;;;;;AAAA;;AAEA;;;;;AAEO,IAAMA,KAA0B,GAAG,SAA7BA,KAA6B,CAACC,KAAD;AAAA,SACxC,gCAAC,aAAD;AACE,IAAA,MAAM,EAAEA,KAAK,CAACC,MAAN,IAAgB,EAD1B;AAEE,IAAA,OAAO,EAAED,KAAK,CAACE,OAAN,IAAiB,WAF5B;AAGE,IAAA,KAAK,EAAEF,KAAK,CAACG,KAAN,IAAe;AAHxB,KAIMH,KAJN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAME,gCAAC,cAAD;AACE,IAAA,CAAC,EAAC;AADJ,KAEMA,KAFN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KANF,EAUE,gCAAC,cAAD;AACE,IAAA,CAAC,EAAC,uFADJ;AAEE,IAAA,QAAQ,EAAE;AAFZ,KAGMA,KAHN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAVF,EAeE,gCAAC,cAAD;AACE,IAAA,CAAC,EAAC,6DADJ;AAEE,IAAA,QAAQ,EAAE;AAFZ,KAGMA,KAHN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAfF,EAoBE,gCAAC,cAAD;AACE,IAAA,CAAC,EAAC,4DADJ;AAEE,IAAA,QAAQ,EAAE;AAFZ,KAGMA,KAHN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KApBF,EAyBE,gCAAC,cAAD;AACE,IAAA,CAAC,EAAC,2OADJ;AAEE,IAAA,QAAQ,EAAE;AAFZ,KAGMA,KAHN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAzBF,CADwC;AAAA,CAAnC","sourcesContent":["import React from 'react';\n\nimport { IconProps, RootPath, RootSvg } from './utils/base';\n\nexport const Video: React.FC<IconProps> = (props) => (\n <RootSvg\n height={props.height || 40}\n viewBox={props.viewBox || '0 0 34 40'}\n width={props.width || 34}\n {...props}\n >\n <RootPath\n d='M 17.7168 33.172 C 18.2348 33.172 18.4238 33.655 18.4238 34.18 C 18.4238 34.642 18.2978 35.195 17.7168 35.195 C 17.1708 35.195 16.9888 34.642 16.9888 34.145 C 16.9888 33.683 17.1708 33.172 17.7168 33.172 Z M 19.5718 31.002 H 18.3818 V 32.7589 H 18.3678 C 18.1228 32.43 17.7798 32.262 17.3318 32.262 C 16.3028 32.262 15.7988 33.158 15.7988 34.103 C 15.7988 35.125 16.2818 36.1049 17.4228 36.1049 C 17.8428 36.1049 18.1928 35.923 18.4238 35.58 H 18.4378 V 36 H 19.5718 V 31.002 Z M 12.7095 34.1872 C 12.7095 33.7252 12.8775 33.1722 13.4305 33.1722 C 13.9835 33.1722 14.1585 33.7252 14.1585 34.1872 C 14.1585 34.6492 13.9835 35.1952 13.4305 35.1952 C 12.8775 35.1952 12.7095 34.6492 12.7095 34.1872 Z M 11.5195 34.1872 C 11.5195 35.2792 12.3035 36.1052 13.4305 36.1052 C 14.5575 36.1052 15.3485 35.2792 15.3485 34.1872 C 15.3485 33.0952 14.5575 32.2622 13.4305 32.2622 C 12.3035 32.2622 11.5195 33.0952 11.5195 34.1872 Z M 21.839 32.3671 H 22.574 V 33.1371 H 21.839 V 34.7891 C 21.839 35.0761 22.007 35.1391 22.266 35.1391 C 22.3142 35.1391 22.364 35.1357 22.4147 35.1323 C 22.4672 35.1287 22.5206 35.1251 22.574 35.1251 V 36.0001 C 22.481 36.0031 22.388 36.0099 22.295 36.0168 C 22.171 36.0259 22.047 36.0351 21.923 36.0351 C 20.908 36.0351 20.649 35.7411 20.649 34.7541 V 33.1371 H 20.047 V 32.3671 H 20.649 V 31.2681 H 21.839 V 32.3671 Z'\n {...props}\n />\n <RootPath\n d='M 0 28 H 34 V 37 C 34 38.6569 32.6569 40 31 40 H 3 C 1.34315 40 0 38.6569 0 37 V 28 Z'\n pathFill={'rgb(157, 39, 176)'}\n {...props}\n />\n <RootPath\n d='M 0 3 C 0 1.34315 1.34315 0 3 0 H 23 L 34 11 V 28 H 0 V 3 Z'\n pathFill={'rgb(245, 245, 245)'}\n {...props}\n />\n <RootPath\n d='M 34 11 L 26 11 C 24.3431 11 23 9.65685 23 8 V 0 L 34 11 Z'\n pathFill={'rgb(219, 219, 219)'}\n {...props}\n />\n <RootPath\n d='M 9 17 H 25 V 24 H 9 V 17 Z M 27 14 C 27 12.8954 26.1046 12 25 12 H 22 L 24 15 H 21 L 19 12 H 17 L 19 15 H 16 L 14 12 H 12 L 14 15 H 11 L 9 12 C 7.9 12 7.01 12.9 7.01 14 L 7 24 C 7 25.1 7.9 26 9 26 H 25 C 26.1 26 27 25.1 27 24 V 14 Z'\n pathFill={'rgb(157, 39, 176)'}\n {...props}\n />\n </RootSvg>\n);\n"]}
|
|
@@ -912,6 +912,19 @@ Object.keys(_Unknown).forEach(function (key) {
|
|
|
912
912
|
});
|
|
913
913
|
});
|
|
914
914
|
|
|
915
|
+
var _Recorder = require("./Recorder");
|
|
916
|
+
|
|
917
|
+
Object.keys(_Recorder).forEach(function (key) {
|
|
918
|
+
if (key === "default" || key === "__esModule") return;
|
|
919
|
+
if (key in exports && exports[key] === _Recorder[key]) return;
|
|
920
|
+
Object.defineProperty(exports, key, {
|
|
921
|
+
enumerable: true,
|
|
922
|
+
get: function get() {
|
|
923
|
+
return _Recorder[key];
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
});
|
|
927
|
+
|
|
915
928
|
var _Unpin = require("./Unpin");
|
|
916
929
|
|
|
917
930
|
Object.keys(_Unpin).forEach(function (key) {
|
|
@@ -977,6 +990,19 @@ Object.keys(_UserMinus).forEach(function (key) {
|
|
|
977
990
|
});
|
|
978
991
|
});
|
|
979
992
|
|
|
993
|
+
var _Video = require("./Video");
|
|
994
|
+
|
|
995
|
+
Object.keys(_Video).forEach(function (key) {
|
|
996
|
+
if (key === "default" || key === "__esModule") return;
|
|
997
|
+
if (key in exports && exports[key] === _Video[key]) return;
|
|
998
|
+
Object.defineProperty(exports, key, {
|
|
999
|
+
enumerable: true,
|
|
1000
|
+
get: function get() {
|
|
1001
|
+
return _Video[key];
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
});
|
|
1005
|
+
|
|
980
1006
|
var _Warning = require("./Warning");
|
|
981
1007
|
|
|
982
1008
|
Object.keys(_Warning).forEach(function (key) {
|
|
@@ -1 +1 @@
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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './utils/base';\n\nexport * from './ArrowRight';\nexport * from './AtMentions';\nexport * from './Attach';\nexport * from './Audio';\nexport * from './Camera';\nexport * from './Check';\nexport * from './CheckAll';\nexport * from './CheckSend';\nexport * from './CircleClose';\nexport * from './Close';\nexport * from './Copy';\nexport * from './CSV';\nexport * from './CurveLineLeftUp';\nexport * from './Delete';\nexport * from './DOC';\nexport * from './DOCX';\nexport * from './Down';\nexport * from './DownloadArrow';\nexport * from './DownloadCloud';\nexport * from './Edit';\nexport * from './Error';\nexport * from './Eye';\nexport * from './Flag';\nexport * from './Folder';\nexport * from './GenericFile';\nexport * from './GiphyIcon';\nexport * from './Grid';\nexport * from './Group';\nexport * from './HTML';\nexport * from './Imgur';\nexport * from './Lightning';\nexport * from './Link';\nexport * from './Loading';\nexport * from './Logo';\nexport * from './LOLReaction';\nexport * from './LoveReaction';\nexport * from './MailOpen';\nexport * from './MD';\nexport * from './MenuPointHorizontal';\nexport * from './MenuPointVertical';\nexport * from './MessageFlag';\nexport * from './MessageIcon';\nexport * from './Mute';\nexport * from './Notification';\nexport * from './ODT';\nexport * from './PDF';\nexport * from './Picture';\nexport * from './Pin';\nexport * from './PinHeader';\nexport * from './PPT';\nexport * from './PPTX';\nexport * from './RAR';\nexport * from './Refresh';\nexport * from './RTF';\nexport * from './Search';\nexport * from './SendRight';\nexport * from './SendUp';\nexport * from './SEVEN_Z';\nexport * from './Share';\nexport * from './ShareRightArrow';\nexport * from './Smile';\nexport * from './Sound';\nexport * from './TAR';\nexport * from './ThreadReply';\nexport * from './ThumbsDownReaction';\nexport * from './ThumbsUpReaction';\nexport * from './Time';\nexport * from './TXT';\nexport * from './Unknown';\nexport * from './Unpin';\nexport * from './User';\nexport * from './UserAdd';\nexport * from './UserDelete';\nexport * from './UserMinus';\nexport * from './Warning';\nexport * from './WutReaction';\nexport * from './XLS';\nexport * from './XLSX';\nexport * from './ZIP';\n"]}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAEA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './utils/base';\n\nexport * from './ArrowRight';\nexport * from './AtMentions';\nexport * from './Attach';\nexport * from './Audio';\nexport * from './Camera';\nexport * from './Check';\nexport * from './CheckAll';\nexport * from './CheckSend';\nexport * from './CircleClose';\nexport * from './Close';\nexport * from './Copy';\nexport * from './CSV';\nexport * from './CurveLineLeftUp';\nexport * from './Delete';\nexport * from './DOC';\nexport * from './DOCX';\nexport * from './Down';\nexport * from './DownloadArrow';\nexport * from './DownloadCloud';\nexport * from './Edit';\nexport * from './Error';\nexport * from './Eye';\nexport * from './Flag';\nexport * from './Folder';\nexport * from './GenericFile';\nexport * from './GiphyIcon';\nexport * from './Grid';\nexport * from './Group';\nexport * from './HTML';\nexport * from './Imgur';\nexport * from './Lightning';\nexport * from './Link';\nexport * from './Loading';\nexport * from './Logo';\nexport * from './LOLReaction';\nexport * from './LoveReaction';\nexport * from './MailOpen';\nexport * from './MD';\nexport * from './MenuPointHorizontal';\nexport * from './MenuPointVertical';\nexport * from './MessageFlag';\nexport * from './MessageIcon';\nexport * from './Mute';\nexport * from './Notification';\nexport * from './ODT';\nexport * from './PDF';\nexport * from './Picture';\nexport * from './Pin';\nexport * from './PinHeader';\nexport * from './PPT';\nexport * from './PPTX';\nexport * from './RAR';\nexport * from './Refresh';\nexport * from './RTF';\nexport * from './Search';\nexport * from './SendRight';\nexport * from './SendUp';\nexport * from './SEVEN_Z';\nexport * from './Share';\nexport * from './ShareRightArrow';\nexport * from './Smile';\nexport * from './Sound';\nexport * from './TAR';\nexport * from './ThreadReply';\nexport * from './ThumbsDownReaction';\nexport * from './ThumbsUpReaction';\nexport * from './Time';\nexport * from './TXT';\nexport * from './Unknown';\nexport * from './Recorder';\nexport * from './Unpin';\nexport * from './User';\nexport * from './UserAdd';\nexport * from './UserDelete';\nexport * from './UserMinus';\nexport * from './Video';\nexport * from './Warning';\nexport * from './WutReaction';\nexport * from './XLS';\nexport * from './XLSX';\nexport * from './ZIP';\n"]}
|
package/lib/module/native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["native.ts"],"names":["fail","Error","compressImage","deleteFile","getLocalAssetUri","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","shareImage","takePhoto","triggerHaptic","SDK","registerNativeHandlers","handlers"],"mappings":";;;;;AAAA;;
|
|
1
|
+
{"version":3,"sources":["native.ts"],"names":["fail","Error","compressImage","deleteFile","getLocalAssetUri","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","shareImage","takePhoto","triggerHaptic","SDK","registerNativeHandlers","handlers"],"mappings":";;;;;AAAA;;AAMA,IAAMA,IAAI,GAAG,SAAPA,IAAO,GAAM;AACjB,QAAMC,KAAK,CACT,mGADS,CAAX;AAGD,CAJD;;AAiBO,IAAIC,aAA4B,GAAGF,IAAnC;;AAGA,IAAIG,UAAsB,GAAGH,IAA7B;;AAGA,IAAII,gBAAkC,GAAGJ,IAAzC;;AASA,IAAIK,SAAoB,GAAGL,IAA3B;;AAOA,IAAIM,QAAQ,GAAGC,qBAAf;;AAEA,IAAIC,OAAgB,GAAG;AAC5BC,EAAAA,gBAAgB,EAAET,IADU;AAE5BU,EAAAA,KAAK,EAAEV;AAFqB,CAAvB;;AAWA,IAAIW,YAA0B,GAAGX,IAAjC;;AAOA,IAAIY,QAAkB,GAAGZ,IAAzB;;AAOA,IAAIa,UAAsB,GAAGb,IAA7B;;AASA,IAAIc,SAAoB,GAAGd,IAA3B;;AAWA,IAAIe,aAA4B,GAAGf,IAAnC;;AAEA,IAAIgB,GAAJ;;;AAiBA,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,QAAD,EAAwB;AAC5D,MAAIA,QAAQ,CAAChB,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGgB,QAAQ,CAAChB,aAAzB;AACD;;AAED,MAAIgB,QAAQ,CAACf,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGe,QAAQ,CAACf,UAAtB;AACD;;AAED,MAAIe,QAAQ,CAACZ,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGY,QAAQ,CAACZ,QAApB;AACD;;AACD,MAAIY,QAAQ,CAACV,OAAb,EAAsB;AACpB,sBAAAA,OAAO,GAAGU,QAAQ,CAACV,OAAnB;AACD;;AAED,MAAIU,QAAQ,CAACd,gBAAb,EAA+B;AAC7B,+BAAAA,gBAAgB,GAAGc,QAAQ,CAACd,gBAA5B;AACD;;AAED,MAAIc,QAAQ,CAACb,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGa,QAAQ,CAACb,SAArB;AACD;;AAED,MAAIa,QAAQ,CAACV,OAAb,EAAsB;AACpB,sBAAAA,OAAO,GAAGU,QAAQ,CAACV,OAAnB;AACD;;AAED,MAAIU,QAAQ,CAACP,YAAb,EAA2B;AACzB,2BAAAA,YAAY,GAAGO,QAAQ,CAACP,YAAxB;AACD;;AAED,MAAIO,QAAQ,CAACN,QAAb,EAAuB;AACrB,uBAAAA,QAAQ,GAAGM,QAAQ,CAACN,QAApB;AACD;;AAED,MAAIM,QAAQ,CAACF,GAAb,EAAkB;AAChB,kBAAAA,GAAG,GAAGE,QAAQ,CAACF,GAAf;AACD;;AAED,MAAIE,QAAQ,CAACL,UAAb,EAAyB;AACvB,yBAAAA,UAAU,GAAGK,QAAQ,CAACL,UAAtB;AACD;;AAED,MAAIK,QAAQ,CAACJ,SAAb,EAAwB;AACtB,wBAAAA,SAAS,GAAGI,QAAQ,CAACJ,SAArB;AACD;;AAED,MAAII,QAAQ,CAACH,aAAb,EAA4B;AAC1B,4BAAAA,aAAa,GAAGG,QAAQ,CAACH,aAAzB;AACD;AACF,CAnDM","sourcesContent":["import { FlatList as DefaultFlatList } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n docs?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport let SDK: string;\n\ntype Handlers = {\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n shareImage?: ShareImage;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.pickDocument) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n};\n"]}
|
package/lib/module/version.json
CHANGED
|
@@ -3,27 +3,27 @@ import { BottomSheetHandleProps } from '@gorhom/bottom-sheet';
|
|
|
3
3
|
import type { AttachmentPickerErrorProps } from './components/AttachmentPickerError';
|
|
4
4
|
export declare type AttachmentPickerProps = {
|
|
5
5
|
/**
|
|
6
|
-
* Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
6
|
+
* Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment picker.
|
|
7
7
|
*
|
|
8
|
-
* **Default** [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
8
|
+
* **Default** [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx)
|
|
9
9
|
*/
|
|
10
10
|
AttachmentPickerBottomSheetHandle: React.FC<BottomSheetHandleProps>;
|
|
11
11
|
/**
|
|
12
12
|
* Custom UI component to render error component while opening attachment picker.
|
|
13
13
|
*
|
|
14
|
-
* **Default** [AttachmentPickerError](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
14
|
+
* **Default** [AttachmentPickerError](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx)
|
|
15
15
|
*/
|
|
16
16
|
AttachmentPickerError: React.ComponentType<AttachmentPickerErrorProps>;
|
|
17
17
|
/**
|
|
18
18
|
* Custom UI component to render error image for attachment picker
|
|
19
19
|
*
|
|
20
|
-
* **Default** [AttachmentPickerErrorImage](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
20
|
+
* **Default** [AttachmentPickerErrorImage](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx)
|
|
21
21
|
*/
|
|
22
22
|
AttachmentPickerErrorImage: React.ComponentType;
|
|
23
23
|
/**
|
|
24
|
-
* Custom UI component to render overlay component, that shows up on top of [selected image](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
24
|
+
* Custom UI component to render overlay component, that shows up on top of [selected image](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) (with tick mark)
|
|
25
25
|
*
|
|
26
|
-
* **Default** [ImageOverlaySelectedComponent](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
26
|
+
* **Default** [ImageOverlaySelectedComponent](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx)
|
|
27
27
|
*/
|
|
28
28
|
ImageOverlaySelectedComponent: React.ComponentType;
|
|
29
29
|
attachmentPickerBottomSheetHandleHeight?: number;
|
|
@@ -28,7 +28,7 @@ export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultSt
|
|
|
28
28
|
/**
|
|
29
29
|
* When true, disables the KeyboardCompatibleView wrapper
|
|
30
30
|
*
|
|
31
|
-
* Channel internally uses the [KeyboardCompatibleView](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
31
|
+
* Channel internally uses the [KeyboardCompatibleView](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx)
|
|
32
32
|
* component to adjust the height of Channel when the keyboard is opened or dismissed. This prop provides the ability to disable this functionality in case you
|
|
33
33
|
* want to use [KeyboardAvoidingView](https://facebook.github.io/react-native/docs/keyboardavoidingview) or handle dismissal yourself.
|
|
34
34
|
* KeyboardAvoidingView works well when your component occupies 100% of screen height, otherwise it may raise some issues.
|
|
@@ -63,7 +63,7 @@ export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultSt
|
|
|
63
63
|
keyboardBehavior?: KeyboardAvoidingViewProps['behavior'];
|
|
64
64
|
/**
|
|
65
65
|
* Custom wrapper component that handles height adjustment of Channel component when keyboard is opened or dismissed
|
|
66
|
-
* Default component (accepts the same props): [KeyboardCompatibleView](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
66
|
+
* Default component (accepts the same props): [KeyboardCompatibleView](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx)
|
|
67
67
|
*
|
|
68
68
|
* **Example:**
|
|
69
69
|
*
|
|
@@ -65,7 +65,7 @@ export declare type ChatProps<StreamChatGenerics extends DefaultStreamChatGeneri
|
|
|
65
65
|
*/
|
|
66
66
|
i18nInstance?: Streami18n;
|
|
67
67
|
/**
|
|
68
|
-
* You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
68
|
+
* You can pass the theme object to customize the styles of Chat components. You can check the default theme in [theme.ts](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts)
|
|
69
69
|
*
|
|
70
70
|
* Please check section about [themes in cookbook](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#theme) for details.
|
|
71
71
|
*
|
|
@@ -56,7 +56,7 @@ export declare type MessagePropsWithContext<StreamChatGenerics extends DefaultSt
|
|
|
56
56
|
* You can call methods available on the Message
|
|
57
57
|
* component such as handleEdit, handleDelete, handleAction etc.
|
|
58
58
|
*
|
|
59
|
-
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
59
|
+
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)
|
|
60
60
|
*
|
|
61
61
|
* By default, we show the overlay with all the message actions on long press.
|
|
62
62
|
*
|
|
@@ -68,7 +68,7 @@ export declare type MessagePropsWithContext<StreamChatGenerics extends DefaultSt
|
|
|
68
68
|
* You can call methods available on the Message
|
|
69
69
|
* component such as handleEdit, handleDelete, handleAction etc.
|
|
70
70
|
*
|
|
71
|
-
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
71
|
+
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)
|
|
72
72
|
*
|
|
73
73
|
* By default, we will dismiss the keyboard on press.
|
|
74
74
|
*
|
|
@@ -5,7 +5,7 @@ import { SuggestionsContextValue } from '../../contexts/suggestionsContext/Sugge
|
|
|
5
5
|
import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
|
|
6
6
|
import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
|
|
7
7
|
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
8
|
-
declare type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'asyncUploads' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'removeImage' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'> & {
|
|
8
|
+
declare type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'asyncUploads' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'removeFile' | 'removeImage' | 'uploadNewFile' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'> & {
|
|
9
9
|
threadList?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare type MessageInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageInputPropsWithContext<StreamChatGenerics>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import type { Asset } from '../../
|
|
3
|
-
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
2
|
+
import type { Asset, DefaultStreamChatGenerics, File } from '../../types/types';
|
|
4
3
|
export declare type AttachmentPickerIconProps = {
|
|
5
4
|
numberOfImageUploads: number;
|
|
6
5
|
selectedPicker?: 'images';
|
|
@@ -15,22 +14,22 @@ export declare type AttachmentPickerContextValue = {
|
|
|
15
14
|
*/
|
|
16
15
|
bottomInset: number;
|
|
17
16
|
/**
|
|
18
|
-
* Custom UI component for [camera selector icon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
17
|
+
* Custom UI component for [camera selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
|
|
19
18
|
*
|
|
20
|
-
* **Default: ** [CameraSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
19
|
+
* **Default: ** [CameraSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx)
|
|
21
20
|
*/
|
|
22
21
|
CameraSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
|
|
23
22
|
closePicker: () => void;
|
|
24
23
|
/**
|
|
25
|
-
* Custom UI component for [file selector icon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
24
|
+
* Custom UI component for [file selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
|
|
26
25
|
*
|
|
27
|
-
* **Default: ** [FileSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
26
|
+
* **Default: ** [FileSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx)
|
|
28
27
|
*/
|
|
29
28
|
FileSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
|
|
30
29
|
/**
|
|
31
|
-
* Custom UI component for [image selector icon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
30
|
+
* Custom UI component for [image selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
|
|
32
31
|
*
|
|
33
|
-
* **Default: ** [ImageSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
32
|
+
* **Default: ** [ImageSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx)
|
|
34
33
|
*/
|
|
35
34
|
ImageSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
|
|
36
35
|
/**
|
|
@@ -38,9 +37,11 @@ export declare type AttachmentPickerContextValue = {
|
|
|
38
37
|
*/
|
|
39
38
|
maxNumberOfFiles: number;
|
|
40
39
|
openPicker: () => void;
|
|
40
|
+
selectedFiles: File[];
|
|
41
41
|
selectedImages: Asset[];
|
|
42
42
|
setBottomInset: React.Dispatch<React.SetStateAction<number>>;
|
|
43
43
|
setMaxNumberOfFiles: React.Dispatch<React.SetStateAction<number>>;
|
|
44
|
+
setSelectedFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
44
45
|
setSelectedImages: React.Dispatch<React.SetStateAction<Asset[]>>;
|
|
45
46
|
setSelectedPicker: React.Dispatch<React.SetStateAction<'images' | undefined>>;
|
|
46
47
|
setTopInset: React.Dispatch<React.SetStateAction<number>>;
|
|
@@ -30,7 +30,7 @@ export declare type ChannelContextValue<StreamChatGenerics extends DefaultStream
|
|
|
30
30
|
/**
|
|
31
31
|
* Custom UI component to display empty state when channel has no messages.
|
|
32
32
|
*
|
|
33
|
-
* **Default** [EmptyStateIndicator](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
33
|
+
* **Default** [EmptyStateIndicator](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Indicators/EmptyStateIndicator.tsx)
|
|
34
34
|
*/
|
|
35
35
|
EmptyStateIndicator: React.ComponentType<EmptyStateProps>;
|
|
36
36
|
/**
|
|
@@ -145,7 +145,7 @@ export declare type ChannelContextValue<StreamChatGenerics extends DefaultStream
|
|
|
145
145
|
/**
|
|
146
146
|
* Custom UI component for sticky header of channel.
|
|
147
147
|
*
|
|
148
|
-
* **Default** [DateHeader](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
148
|
+
* **Default** [DateHeader](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageList/DateHeader.tsx)
|
|
149
149
|
*/
|
|
150
150
|
StickyHeader?: React.ComponentType<{
|
|
151
151
|
dateString: string;
|
|
@@ -158,37 +158,37 @@ export declare type ChannelsContextValue<StreamChatGenerics extends DefaultStrea
|
|
|
158
158
|
/**
|
|
159
159
|
* Custom UI component to render preview avatar.
|
|
160
160
|
*
|
|
161
|
-
* **Default** [ChannelAvatar](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
161
|
+
* **Default** [ChannelAvatar](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelAvatar.tsx)
|
|
162
162
|
*/
|
|
163
163
|
PreviewAvatar?: React.ComponentType<ChannelAvatarProps<StreamChatGenerics>>;
|
|
164
164
|
/**
|
|
165
165
|
* Custom UI component to render preview of latest message on channel.
|
|
166
166
|
*
|
|
167
|
-
* **Default** [ChannelPreviewMessage](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
167
|
+
* **Default** [ChannelPreviewMessage](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewMessage.tsx)
|
|
168
168
|
*/
|
|
169
169
|
PreviewMessage?: React.ComponentType<ChannelPreviewMessageProps<StreamChatGenerics>>;
|
|
170
170
|
/**
|
|
171
171
|
* Custom UI component to render muted status.
|
|
172
172
|
*
|
|
173
|
-
* **Default** [ChannelMutedStatus](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
173
|
+
* **Default** [ChannelMutedStatus](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx)
|
|
174
174
|
*/
|
|
175
175
|
PreviewMutedStatus?: React.ComponentType<ChannelPreviewMutedStatusProps<StreamChatGenerics>>;
|
|
176
176
|
/**
|
|
177
177
|
* Custom UI component to render preview avatar.
|
|
178
178
|
*
|
|
179
|
-
* **Default** [ChannelPreviewStatus](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
179
|
+
* **Default** [ChannelPreviewStatus](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewStatus.tsx)
|
|
180
180
|
*/
|
|
181
181
|
PreviewStatus?: React.ComponentType<ChannelPreviewStatusProps<StreamChatGenerics>>;
|
|
182
182
|
/**
|
|
183
183
|
* Custom UI component to render preview avatar.
|
|
184
184
|
*
|
|
185
|
-
* **Default** [ChannelPreviewTitle](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
185
|
+
* **Default** [ChannelPreviewTitle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewTitle.tsx)
|
|
186
186
|
*/
|
|
187
187
|
PreviewTitle?: React.ComponentType<ChannelPreviewTitleProps<StreamChatGenerics>>;
|
|
188
188
|
/**
|
|
189
189
|
* Custom UI component to render preview avatar.
|
|
190
190
|
*
|
|
191
|
-
* **Default** [ChannelPreviewUnreadCount](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
191
|
+
* **Default** [ChannelPreviewUnreadCount](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx)
|
|
192
192
|
*/
|
|
193
193
|
PreviewUnreadCount?: React.ComponentType<ChannelPreviewUnreadCountProps<StreamChatGenerics>>;
|
|
194
194
|
};
|
|
@@ -50,7 +50,7 @@ export declare type MessageContextValue<StreamChatGenerics extends DefaultStream
|
|
|
50
50
|
* You can call methods available on the Message
|
|
51
51
|
* component such as handleEdit, handleDelete, handleAction etc.
|
|
52
52
|
*
|
|
53
|
-
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
53
|
+
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)
|
|
54
54
|
*
|
|
55
55
|
* By default, we show the overlay with all the message actions on long press.
|
|
56
56
|
*
|
|
@@ -65,7 +65,7 @@ export declare type MessageContextValue<StreamChatGenerics extends DefaultStream
|
|
|
65
65
|
* You can call methods available on the Message
|
|
66
66
|
* component such as handleEdit, handleDelete, handleAction etc.
|
|
67
67
|
*
|
|
68
|
-
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
68
|
+
* Source - [Message](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/Message.tsx)
|
|
69
69
|
*
|
|
70
70
|
* By default, we will dismiss the keyboard on press.
|
|
71
71
|
*
|
|
@@ -15,17 +15,11 @@ import type { MoreOptionsButtonProps } from '../../components/MessageInput/MoreO
|
|
|
15
15
|
import type { SendButtonProps } from '../../components/MessageInput/SendButton';
|
|
16
16
|
import type { UploadProgressIndicatorProps } from '../../components/MessageInput/UploadProgressIndicator';
|
|
17
17
|
import type { MessageType } from '../../components/MessageList/hooks/useMessageList';
|
|
18
|
-
import { Asset } from '../../
|
|
19
|
-
import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';
|
|
18
|
+
import type { Asset, DefaultStreamChatGenerics, File, UnknownType } from '../../types/types';
|
|
20
19
|
import { ACITriggerSettingsParams, FileStateValue, TriggerSettings } from '../../utils/utils';
|
|
21
20
|
import { ChannelContextValue } from '../channelContext/ChannelContext';
|
|
22
21
|
export declare type FileUpload = {
|
|
23
|
-
file:
|
|
24
|
-
name: string;
|
|
25
|
-
size?: number | string;
|
|
26
|
-
type?: string;
|
|
27
|
-
uri?: string;
|
|
28
|
-
};
|
|
22
|
+
file: File;
|
|
29
23
|
id: string;
|
|
30
24
|
state: FileStateValue;
|
|
31
25
|
url?: string;
|
|
@@ -167,13 +161,8 @@ export declare type LocalMessageInputContext<StreamChatGenerics extends DefaultS
|
|
|
167
161
|
uploadImage: ({ newImage }: {
|
|
168
162
|
newImage: ImageUpload;
|
|
169
163
|
}) => Promise<void>;
|
|
170
|
-
uploadNewFile: (file:
|
|
171
|
-
|
|
172
|
-
size?: number | string;
|
|
173
|
-
type?: string;
|
|
174
|
-
uri?: string;
|
|
175
|
-
}) => Promise<void>;
|
|
176
|
-
uploadNewImage: (image: Partial<Asset>) => Promise<void>;
|
|
164
|
+
uploadNewFile: (file: File) => Promise<void>;
|
|
165
|
+
uploadNewImage: (image: Asset) => Promise<void>;
|
|
177
166
|
};
|
|
178
167
|
export declare type InputMessageInputContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
|
|
179
168
|
/**
|
|
@@ -195,14 +184,14 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
|
|
|
195
184
|
* being allowed to send another message. This component is displayed in place of the
|
|
196
185
|
* send button for the MessageInput component.
|
|
197
186
|
*
|
|
198
|
-
* **default** [CooldownTimer](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
187
|
+
* **default** [CooldownTimer](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageInput/CooldownTimer.tsx)
|
|
199
188
|
*/
|
|
200
189
|
CooldownTimer: React.ComponentType<CooldownTimerProps>;
|
|
201
190
|
editing: boolean | MessageType<StreamChatGenerics>;
|
|
202
191
|
editMessage: StreamChat<StreamChatGenerics>['updateMessage'];
|
|
203
192
|
/**
|
|
204
193
|
* Custom UI component for FileUploadPreview.
|
|
205
|
-
* Defaults to and accepts same props as: https://github.com/GetStream/stream-chat-react-native/blob/
|
|
194
|
+
* Defaults to and accepts same props as: https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageInput/FileUploadPreview.tsx
|
|
206
195
|
*/
|
|
207
196
|
FileUploadPreview: React.ComponentType<FileUploadPreviewProps<StreamChatGenerics>>;
|
|
208
197
|
/** When false, CommandsButton will be hidden */
|
|
@@ -213,7 +202,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
|
|
|
213
202
|
hasImagePicker: boolean;
|
|
214
203
|
/**
|
|
215
204
|
* Custom UI component for ImageUploadPreview.
|
|
216
|
-
* Defaults to and accepts same props as: https://github.com/GetStream/stream-chat-react-native/blob/
|
|
205
|
+
* Defaults to and accepts same props as: https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageInput/ImageUploadPreview.tsx
|
|
217
206
|
*/
|
|
218
207
|
ImageUploadPreview: React.ComponentType<ImageUploadPreviewProps<StreamChatGenerics>>;
|
|
219
208
|
InputEditingStateHeader: React.ComponentType<InputEditingStateHeaderProps<StreamChatGenerics>>;
|
|
@@ -249,7 +238,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
|
|
|
249
238
|
/**
|
|
250
239
|
* Custom UI component to render upload progress indicator on attachment preview.
|
|
251
240
|
*
|
|
252
|
-
* **Default** [UploadProgressIndicator](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
241
|
+
* **Default** [UploadProgressIndicator](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageInput/UploadProgressIndicator.tsx)
|
|
253
242
|
*/
|
|
254
243
|
UploadProgressIndicator: React.ComponentType<UploadProgressIndicatorProps>;
|
|
255
244
|
/**
|
|
@@ -301,14 +290,14 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
|
|
|
301
290
|
initialValue?: string;
|
|
302
291
|
/**
|
|
303
292
|
* Custom UI component for AutoCompleteInput.
|
|
304
|
-
* Has access to all of [MessageInputContext](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
293
|
+
* Has access to all of [MessageInputContext](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/messageInputContext/MessageInputContext.tsx)
|
|
305
294
|
*/
|
|
306
295
|
Input?: React.ComponentType<Omit<MessageInputProps<StreamChatGenerics>, 'Input'> & InputButtonsProps<StreamChatGenerics> & {
|
|
307
296
|
getUsers: () => UserResponse<StreamChatGenerics>[];
|
|
308
297
|
}>;
|
|
309
298
|
/**
|
|
310
299
|
* Custom UI component to override buttons on left side of input box
|
|
311
|
-
* Defaults to [InputButtons](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
300
|
+
* Defaults to [InputButtons](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageInput/InputButtons.tsx),
|
|
312
301
|
* which contain following components/buttons:
|
|
313
302
|
*
|
|
314
303
|
* - AttachButton
|
|
@@ -32,22 +32,22 @@ export declare type MessageOverlayData<StreamChatGenerics extends DefaultStreamC
|
|
|
32
32
|
};
|
|
33
33
|
export declare type MessageOverlayContextValue<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
|
|
34
34
|
/**
|
|
35
|
-
* Custom UI component for rendering [message actions](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
35
|
+
* Custom UI component for rendering [message actions](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/2.png) in overlay.
|
|
36
36
|
*
|
|
37
|
-
* **Default** [MessageActionList](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
37
|
+
* **Default** [MessageActionList](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageOverlay/MessageActions.tsx)
|
|
38
38
|
*/
|
|
39
39
|
MessageActionList: React.ComponentType<MessageActionListProps<StreamChatGenerics>>;
|
|
40
40
|
MessageActionListItem: React.ComponentType<MessageActionListItemProps<StreamChatGenerics>>;
|
|
41
41
|
/**
|
|
42
|
-
* Custom UI component for rendering [reaction selector](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
42
|
+
* Custom UI component for rendering [reaction selector](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/2.png) in overlay (which shows up on long press on message).
|
|
43
43
|
*
|
|
44
|
-
* **Default** [OverlayReactionList](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
44
|
+
* **Default** [OverlayReactionList](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageOverlay/OverlayReactionList.tsx)
|
|
45
45
|
*/
|
|
46
46
|
OverlayReactionList: React.ComponentType<OverlayReactionListProps<StreamChatGenerics>>;
|
|
47
47
|
/**
|
|
48
|
-
* Custom UI component for rendering [reactions list](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
48
|
+
* Custom UI component for rendering [reactions list](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/2.png), in overlay (which shows up on long press on message).
|
|
49
49
|
*
|
|
50
|
-
* **Default** [OverlayReactions](https://github.com/GetStream/stream-chat-react-native/blob/
|
|
50
|
+
* **Default** [OverlayReactions](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageOverlay/OverlayReactions.tsx)
|
|
51
51
|
*/
|
|
52
52
|
OverlayReactions: React.ComponentType<OverlayReactionsProps<StreamChatGenerics>>;
|
|
53
53
|
OverlayReactionsAvatar: React.ComponentType<OverlayReactionsAvatarProps>;
|