stream-chat-react 11.0.0-rc.7 → 11.0.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.
Files changed (77) hide show
  1. package/dist/browser.full-bundle.js +22757 -16666
  2. package/dist/browser.full-bundle.js.map +1 -1
  3. package/dist/browser.full-bundle.min.js +8 -18
  4. package/dist/browser.full-bundle.min.js.map +1 -1
  5. package/dist/components/Channel/Channel.d.ts +64 -54
  6. package/dist/components/Channel/Channel.d.ts.map +1 -1
  7. package/dist/components/Channel/Channel.js +28 -21
  8. package/dist/components/Channel/channelState.d.ts +1 -0
  9. package/dist/components/Channel/channelState.d.ts.map +1 -1
  10. package/dist/components/Channel/channelState.js +2 -2
  11. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +1 -0
  12. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts +3 -0
  13. package/dist/components/Message/renderText/componentRenderers/Anchor.d.ts.map +1 -0
  14. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts +3 -0
  15. package/dist/components/Message/renderText/componentRenderers/Emoji.d.ts.map +1 -0
  16. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts +10 -0
  17. package/dist/components/Message/renderText/componentRenderers/Mention.d.ts.map +1 -0
  18. package/dist/components/Message/renderText/componentRenderers/index.d.ts +4 -0
  19. package/dist/components/Message/renderText/componentRenderers/index.d.ts.map +1 -0
  20. package/dist/components/Message/renderText/componentRenderers/index.js +3 -0
  21. package/dist/components/Message/renderText/index.d.ts +1 -2
  22. package/dist/components/Message/renderText/index.d.ts.map +1 -1
  23. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.d.ts +2 -2
  24. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.d.ts.map +1 -1
  25. package/dist/components/Message/renderText/rehypePlugins/emojiMarkdownPlugin.js +2 -2
  26. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts +4 -4
  27. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts.map +1 -1
  28. package/dist/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.js +6 -4
  29. package/dist/components/Message/renderText/remarkPlugins/htmlToTextPlugin.d.ts +2 -2
  30. package/dist/components/Message/renderText/remarkPlugins/htmlToTextPlugin.d.ts.map +1 -1
  31. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.d.ts +2 -2
  32. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.d.ts.map +1 -1
  33. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.js +2 -3
  34. package/dist/components/Message/renderText/renderText.d.ts +3 -4
  35. package/dist/components/Message/renderText/renderText.d.ts.map +1 -1
  36. package/dist/components/Message/renderText/renderText.js +11 -24
  37. package/dist/components/MessageInput/index.d.ts +1 -0
  38. package/dist/components/MessageInput/index.d.ts.map +1 -1
  39. package/dist/components/MessageInput/index.js +1 -0
  40. package/dist/components/MessageList/CustomNotification.d.ts.map +1 -1
  41. package/dist/components/MessageList/CustomNotification.js +1 -1
  42. package/dist/components/MessageList/index.d.ts +1 -0
  43. package/dist/components/MessageList/index.d.ts.map +1 -1
  44. package/dist/components/MessageList/index.js +1 -0
  45. package/dist/components/MessageList/utils.d.ts.map +1 -1
  46. package/dist/components/MessageList/utils.js +1 -0
  47. package/dist/components/Thread/Thread.js +1 -0
  48. package/dist/css/v2/index.css +1 -1
  49. package/dist/css/v2/index.layout.css +1 -1
  50. package/dist/index.cjs.js +24962 -19753
  51. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +1 -0
  52. package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +4 -0
  53. package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +1 -0
  54. package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +5 -0
  55. package/dist/scss/v2/Message/Message-layout.scss +8 -0
  56. package/dist/scss/v2/MessageList/MessageList-layout.scss +1 -0
  57. package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +4 -0
  58. package/dist/scss/v2/Notification/Notification-layout.scss +4 -0
  59. package/dist/scss/v2/Thread/Thread-layout.scss +4 -0
  60. package/dist/scss/v2/Tooltip/Tooltip-layout.scss +1 -0
  61. package/dist/scss/v2/_utils.scss +5 -0
  62. package/dist/utils/getChannel.d.ts +4 -2
  63. package/dist/utils/getChannel.d.ts.map +1 -1
  64. package/dist/utils/getChannel.js +3 -2
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.d.ts.map +1 -1
  67. package/dist/version.js +1 -1
  68. package/package.json +14 -12
  69. package/dist/components/Message/renderText/Anchor.d.ts +0 -4
  70. package/dist/components/Message/renderText/Anchor.d.ts.map +0 -1
  71. package/dist/components/Message/renderText/Emoji.d.ts +0 -3
  72. package/dist/components/Message/renderText/Emoji.d.ts.map +0 -1
  73. package/dist/components/Message/renderText/Mention.d.ts +0 -18
  74. package/dist/components/Message/renderText/Mention.d.ts.map +0 -1
  75. /package/dist/components/Message/renderText/{Anchor.js → componentRenderers/Anchor.js} +0 -0
  76. /package/dist/components/Message/renderText/{Emoji.js → componentRenderers/Emoji.js} +0 -0
  77. /package/dist/components/Message/renderText/{Mention.js → componentRenderers/Mention.js} +0 -0
@@ -49,6 +49,7 @@
49
49
 
50
50
  .str-chat__user-item--name {
51
51
  @include utils.ellipsis-text;
52
+ @include utils.prevent-glitch-text-overflow;
52
53
  width: 100%;
53
54
  }
54
55
  }
@@ -19,5 +19,9 @@
19
19
  .str-chat__channel-header-info {
20
20
  @include utils.ellipsis-text;
21
21
  }
22
+
23
+ .str-chat__channel-header-title {
24
+ @include utils.prevent-glitch-text-overflow;
25
+ }
22
26
  }
23
27
  }
@@ -53,6 +53,7 @@
53
53
  .str-chat__channel-preview-messenger--name,
54
54
  .str-chat__channel-preview-messenger--last-message {
55
55
  @include utils.ellipsis-text;
56
+ @include utils.prevent-glitch-text-overflow;
56
57
  min-width: 0;
57
58
 
58
59
  p {
@@ -110,6 +110,11 @@
110
110
  width: 100%;
111
111
  column-gap: var(--str-chat__spacing-2);
112
112
  padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2);
113
+
114
+ .channel-search__result-text,
115
+ .str-chat__channel-search-result--display-name {
116
+ @include utils.prevent-glitch-text-overflow;
117
+ }
113
118
  }
114
119
  }
115
120
  }
@@ -150,6 +150,10 @@
150
150
  .str-chat__message-text {
151
151
  @include chat-bubble-spacing;
152
152
 
153
+ .str-chat__message-text-inner {
154
+ @include utils.prevent-glitch-text-overflow;
155
+ }
156
+
153
157
  p {
154
158
  white-space: pre-line;
155
159
  }
@@ -184,6 +188,10 @@
184
188
  align-items: center;
185
189
  column-gap: var(--str-chat__spacing-1);
186
190
  margin-block-start: var(--str-chat__spacing-0_5);
191
+
192
+ .str-chat__message-simple-name {
193
+ @include utils.prevent-glitch-text-overflow;
194
+ }
187
195
  }
188
196
 
189
197
  .str-chat__message-status {
@@ -11,6 +11,7 @@
11
11
 
12
12
  .str-chat__list {
13
13
  @include utils.scrollable;
14
+ overscroll-behavior: none;
14
15
  width: 100%;
15
16
  height: 100%;
16
17
  max-height: 100%;
@@ -10,6 +10,10 @@
10
10
  width: 100%;
11
11
  height: 100%;
12
12
 
13
+ .str-chat__message-list-scroll {
14
+ overscroll-behavior: none;
15
+ }
16
+
13
17
  .str-chat__message-list-scroll > div {
14
18
  @include utils.message-list-spacing;
15
19
  }
@@ -1,3 +1,7 @@
1
1
  .str-chat__notification {
2
2
  padding: var(--str-chat__spacing-3_5) var(--str-chat__spacing-4);
3
3
  }
4
+
5
+ .str-chat-react__notification {
6
+ z-index: 101;
7
+ }
@@ -19,6 +19,10 @@
19
19
  .str-chat__thread-header-title {
20
20
  @include utils.ellipsis-text;
21
21
  }
22
+
23
+ .str-chat__thread-header-subtitle {
24
+ @include utils.prevent-glitch-text-overflow;
25
+ }
22
26
  }
23
27
 
24
28
  .str-chat__close-thread-button {
@@ -1,6 +1,7 @@
1
1
  @use '../utils';
2
2
 
3
3
  .str-chat__tooltip {
4
+ @include utils.prevent-glitch-text-overflow;
4
5
  display: flex;
5
6
  padding: var(--str-chat__spacing-2);
6
7
  z-index: 1;
@@ -34,6 +34,11 @@
34
34
  text-overflow: ellipsis;
35
35
  }
36
36
 
37
+ @mixin prevent-glitch-text-overflow {
38
+ // Prevent glitch text from overflowing. See the generator: https://lingojam.com/GlitchTextGenerator
39
+ overflow-y: hidden;
40
+ }
41
+
37
42
  @mixin scrollable {
38
43
  overflow-x: hidden;
39
44
  overflow-y: auto;
@@ -1,20 +1,22 @@
1
- import type { Channel, StreamChat } from 'stream-chat';
1
+ import type { Channel, ChannelQueryOptions, StreamChat } from 'stream-chat';
2
2
  import type { DefaultStreamChatGenerics } from '../types/types';
3
3
  declare type GetChannelParams<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
4
  client: StreamChat<StreamChatGenerics>;
5
5
  channel?: Channel<StreamChatGenerics>;
6
6
  id?: string;
7
7
  members?: string[];
8
+ options?: ChannelQueryOptions<StreamChatGenerics>;
8
9
  type?: string;
9
10
  };
10
11
  /**
11
12
  * Calls channel.watch() if it was not already recently called. Waits for watch promise to resolve even if it was invoked previously.
12
13
  * @param client
13
14
  * @param members
15
+ * @param options
14
16
  * @param type
15
17
  * @param id
16
18
  * @param channel
17
19
  */
18
- export declare const getChannel: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channel, client, id, members, type, }: GetChannelParams<StreamChatGenerics>) => Promise<Channel<StreamChatGenerics>>;
20
+ export declare const getChannel: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ channel, client, id, members, options, type, }: GetChannelParams<StreamChatGenerics>) => Promise<Channel<StreamChatGenerics>>;
19
21
  export {};
20
22
  //# sourceMappingURL=getChannel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getChannel.d.ts","sourceRoot":"","sources":["../../src/utils/getChannel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAWhE,aAAK,gBAAgB,CACnB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AACF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,2MAuCtB,CAAC"}
1
+ {"version":3,"file":"getChannel.d.ts","sourceRoot":"","sources":["../../src/utils/getChannel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,mBAAmB,EAEnB,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAWhE,aAAK,gBAAgB,CACnB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AACF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,oNAwCtB,CAAC"}
@@ -8,12 +8,13 @@ var WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL = {};
8
8
  * Calls channel.watch() if it was not already recently called. Waits for watch promise to resolve even if it was invoked previously.
9
9
  * @param client
10
10
  * @param members
11
+ * @param options
11
12
  * @param type
12
13
  * @param id
13
14
  * @param channel
14
15
  */
15
16
  export var getChannel = function (_a) {
16
- var channel = _a.channel, client = _a.client, id = _a.id, members = _a.members, type = _a.type;
17
+ var channel = _a.channel, client = _a.client, id = _a.id, members = _a.members, options = _a.options, type = _a.type;
17
18
  return __awaiter(void 0, void 0, void 0, function () {
18
19
  var theChannel, originalCid, queryPromise;
19
20
  return __generator(this, function (_b) {
@@ -38,7 +39,7 @@ export var getChannel = function (_a) {
38
39
  _b.sent();
39
40
  return [3 /*break*/, 4];
40
41
  case 2:
41
- WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid] = theChannel.watch();
42
+ WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid] = theChannel.watch(options);
42
43
  return [4 /*yield*/, WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid]];
43
44
  case 3:
44
45
  _b.sent();
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "11.0.0-rc.7";
1
+ export declare const version = "11.0.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,gBAAgB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '11.0.0-rc.7';
1
+ export var version = '11.0.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "11.0.0-rc.7",
3
+ "version": "11.0.0",
4
4
  "description": "React components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -60,11 +60,11 @@
60
60
  "dependencies": {
61
61
  "@braintree/sanitize-url": "^6.0.4",
62
62
  "@popperjs/core": "^2.11.5",
63
- "@stream-io/stream-chat-css": "^4.0.0-rc.5",
63
+ "@stream-io/stream-chat-css": "^4.0.0",
64
64
  "clsx": "^2.0.0",
65
65
  "dayjs": "^1.10.4",
66
66
  "emoji-regex": "^9.2.0",
67
- "hast-util-find-and-replace": "^4.1.2",
67
+ "hast-util-find-and-replace": "^5.0.1",
68
68
  "i18next": "^21.6.14",
69
69
  "isomorphic-ws": "^4.0.1",
70
70
  "linkifyjs": "^4.1.0",
@@ -78,16 +78,16 @@
78
78
  "react-fast-compare": "^3.2.2",
79
79
  "react-image-gallery": "1.2.12",
80
80
  "react-is": "^18.1.0",
81
- "react-markdown": "^8.0.7",
81
+ "react-markdown": "^9.0.0",
82
82
  "react-player": "2.10.1",
83
83
  "react-popper": "^2.3.0",
84
84
  "react-textarea-autosize": "^8.3.0",
85
85
  "react-virtuoso": "^2.16.5",
86
- "remark-gfm": "^3.0.1",
86
+ "remark-gfm": "^4.0.0",
87
87
  "textarea-caret": "^3.1.0",
88
88
  "tslib": "^2.6.2",
89
89
  "unist-builder": "^3.0.0",
90
- "unist-util-visit": "^4.1.1"
90
+ "unist-util-visit": "^5.0.0"
91
91
  },
92
92
  "optionalDependencies": {
93
93
  "@stream-io/transliterate": "^1.5.5",
@@ -125,7 +125,7 @@
125
125
  "@babel/plugin-proposal-class-properties": "^7.12.1",
126
126
  "@babel/plugin-transform-runtime": "^7.12.1",
127
127
  "@babel/preset-env": "^7.12.7",
128
- "@babel/preset-react": "^7.12.7",
128
+ "@babel/preset-react": "^7.23.3",
129
129
  "@babel/preset-typescript": "^7.12.7",
130
130
  "@commitlint/cli": "^16.2.3",
131
131
  "@commitlint/config-conventional": "^16.2.1",
@@ -143,12 +143,13 @@
143
143
  "@semantic-release/changelog": "^6.0.2",
144
144
  "@semantic-release/git": "^10.0.1",
145
145
  "@stream-io/rollup-plugin-node-builtins": "^2.1.5",
146
- "@testing-library/jest-dom": "^5.16.4",
146
+ "@testing-library/jest-dom": "^6.1.4",
147
147
  "@testing-library/react": "^13.1.1",
148
148
  "@testing-library/react-hooks": "^8.0.0",
149
149
  "@types/deep-equal": "^1.0.1",
150
150
  "@types/dotenv": "^8.2.0",
151
151
  "@types/hast": "^2.3.4",
152
+ "@types/jsdom": "^21.1.5",
152
153
  "@types/linkifyjs": "^2.1.3",
153
154
  "@types/lodash.debounce": "^4.0.7",
154
155
  "@types/lodash.throttle": "^4.1.7",
@@ -164,7 +165,7 @@
164
165
  "@typescript-eslint/parser": "4.27.0",
165
166
  "autoprefixer": "^10.0.3",
166
167
  "babel-eslint": "^10.1.0",
167
- "babel-jest": "^26.3.0",
168
+ "babel-jest": "^28.1.3",
168
169
  "babel-loader": "8.2.2",
169
170
  "babel-plugin-module-resolver": "^4.1.0",
170
171
  "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
@@ -197,8 +198,9 @@
197
198
  "file-loader": "^6.2.0",
198
199
  "husky": "^4.3.0",
199
200
  "i18next-parser": "^6.0.0",
200
- "jest": "^26.6.3",
201
- "jest-axe": "^6.0.0",
201
+ "jest": "^28.1.3",
202
+ "jest-axe": "^8.0.0",
203
+ "jest-environment-jsdom": "^28.1.3",
202
204
  "moment-timezone": "^0.5.43",
203
205
  "postcss": "^8.1.10",
204
206
  "postcss-loader": "^4.1.0",
@@ -217,7 +219,7 @@
217
219
  "semantic-release": "^19.0.5",
218
220
  "stream-chat": "^8.13.1",
219
221
  "style-loader": "^2.0.0",
220
- "ts-jest": "^26.5.1",
222
+ "ts-jest": "^28.0.8",
221
223
  "typescript": "^4.7.4",
222
224
  "url-loader": "^4.1.1",
223
225
  "webpack": "4.44.2",
@@ -1,4 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { ReactMarkdownProps } from 'react-markdown/lib/complex-types';
3
- export declare const Anchor: ({ children, href }: ComponentProps<'a'> & ReactMarkdownProps) => JSX.Element;
4
- //# sourceMappingURL=Anchor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/renderText/Anchor.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,MAAM,uBAAwB,eAAe,GAAG,CAAC,GAAG,kBAAkB,gBAgBlF,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ReactMarkdownProps } from 'react-markdown/lib/complex-types';
2
- export declare const Emoji: ({ children }: ReactMarkdownProps) => JSX.Element;
3
- //# sourceMappingURL=Emoji.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Emoji.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/renderText/Emoji.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,KAAK,iBAAkB,kBAAkB,gBAIrD,CAAC"}
@@ -1,18 +0,0 @@
1
- import type { ReactMarkdownProps } from 'react-markdown/lib/complex-types';
2
- import type { UserResponse } from 'stream-chat';
3
- import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- export declare type MentionProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = ReactMarkdownProps & {
5
- /**
6
- * @deprecated will be removed in the next major release, transition to using `node.mentionedUser` instead
7
- */
8
- mentioned_user: UserResponse<StreamChatGenerics>;
9
- node: {
10
- /**
11
- * @deprecated will be removed in the next major release, transition to using `node.mentionedUser` instead
12
- */
13
- mentioned_user: UserResponse<StreamChatGenerics>;
14
- mentionedUser: UserResponse<StreamChatGenerics>;
15
- };
16
- };
17
- export declare const Mention: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ children, node: { mentionedUser }, }: MentionProps<StreamChatGenerics>) => JSX.Element;
18
- //# sourceMappingURL=Mention.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Mention.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/renderText/Mention.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,oBAAY,YAAY,CACtB,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,kBAAkB,GAAG;IACvB;;OAEG;IACH,cAAc,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IACjD,IAAI,EAAE;QACJ;;WAEG;QACH,cAAc,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;QACjD,aAAa,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;KACjD,CAAC;CACH,CAAC;AACF,eAAO,MAAM,OAAO,6KASnB,CAAC"}