stream-chat-angular 3.0.0-beta.3 → 3.0.0-beta.4

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 (65) hide show
  1. package/assets/version.d.ts +1 -1
  2. package/bundles/stream-chat-angular.umd.js +58 -18
  3. package/bundles/stream-chat-angular.umd.js.map +1 -1
  4. package/esm2015/assets/version.js +2 -2
  5. package/esm2015/lib/custom-templates.service.js +58 -18
  6. package/fesm2015/stream-chat-angular.js +58 -18
  7. package/fesm2015/stream-chat-angular.js.map +1 -1
  8. package/lib/custom-templates.service.d.ts +57 -17
  9. package/package.json +2 -3
  10. package/src/assets/styles/assets/EmojiOneColor.woff2 +0 -0
  11. package/src/assets/styles/assets/NotoColorEmoji-flags.woff2 +0 -0
  12. package/src/assets/styles/assets/Poweredby_100px-White_VertText.png +0 -0
  13. package/src/assets/styles/assets/str-chat__reaction-list-sprite@1x.png +0 -0
  14. package/src/assets/styles/assets/str-chat__reaction-list-sprite@2x.png +0 -0
  15. package/src/assets/styles/assets/str-chat__reaction-list-sprite@3x.png +0 -0
  16. package/src/assets/styles/css/index.css +1 -0
  17. package/src/assets/styles/css/index.css.map +1 -0
  18. package/src/assets/styles/scss/ActionsBox.scss +56 -0
  19. package/src/assets/styles/scss/Attachment.scss +227 -0
  20. package/src/assets/styles/scss/AttachmentActions.scss +44 -0
  21. package/src/assets/styles/scss/Audio.scss +112 -0
  22. package/src/assets/styles/scss/Avatar.scss +79 -0
  23. package/src/assets/styles/scss/Card.scss +100 -0
  24. package/src/assets/styles/scss/ChannelHeader.scss +282 -0
  25. package/src/assets/styles/scss/ChannelList.scss +117 -0
  26. package/src/assets/styles/scss/ChannelListMessenger.scss +9 -0
  27. package/src/assets/styles/scss/ChannelPreview.scss +108 -0
  28. package/src/assets/styles/scss/ChannelSearch.scss +111 -0
  29. package/src/assets/styles/scss/ChatDown.scss +15 -0
  30. package/src/assets/styles/scss/DateSeparator.scss +51 -0
  31. package/src/assets/styles/scss/EditMessageForm.scss +112 -0
  32. package/src/assets/styles/scss/EventComponent.scss +48 -0
  33. package/src/assets/styles/scss/Gallery.scss +135 -0
  34. package/src/assets/styles/scss/InfiniteScrollPaginator.scss +6 -0
  35. package/src/assets/styles/scss/LoadMoreButton.scss +44 -0
  36. package/src/assets/styles/scss/LoadingChannels.scss +70 -0
  37. package/src/assets/styles/scss/LoadingIndicator.scss +38 -0
  38. package/src/assets/styles/scss/Message.scss +1261 -0
  39. package/src/assets/styles/scss/MessageActions.scss +112 -0
  40. package/src/assets/styles/scss/MessageCommerce.scss +564 -0
  41. package/src/assets/styles/scss/MessageInput.scss +385 -0
  42. package/src/assets/styles/scss/MessageInputFlat.scss +305 -0
  43. package/src/assets/styles/scss/MessageList.scss +203 -0
  44. package/src/assets/styles/scss/MessageLivestream.scss +325 -0
  45. package/src/assets/styles/scss/MessageNotification.scss +49 -0
  46. package/src/assets/styles/scss/MessageRepliesCountButton.scss +33 -0
  47. package/src/assets/styles/scss/MessageTeam.scss +617 -0
  48. package/src/assets/styles/scss/Modal.scss +77 -0
  49. package/src/assets/styles/scss/ReactionList.scss +183 -0
  50. package/src/assets/styles/scss/ReactionSelector.scss +212 -0
  51. package/src/assets/styles/scss/SendButton.scss +14 -0
  52. package/src/assets/styles/scss/SimpleReactionsList.scss +76 -0
  53. package/src/assets/styles/scss/SmallMessageInput.scss +172 -0
  54. package/src/assets/styles/scss/Thread.scss +306 -0
  55. package/src/assets/styles/scss/Tooltip.scss +38 -0
  56. package/src/assets/styles/scss/TypingIndicator.scss +75 -0
  57. package/src/assets/styles/scss/VirtualMessage.scss +286 -0
  58. package/src/assets/styles/scss/_base.scss +206 -0
  59. package/src/assets/styles/scss/_variables.scss +158 -0
  60. package/src/assets/styles/scss/index.scss +50 -0
  61. package/src/assets/styles/scss/vendor/emoji-mart.scss +495 -0
  62. package/src/assets/styles/scss/vendor/mml-react.scss +1749 -0
  63. package/src/assets/styles/scss/vendor/react-file-utils.scss +378 -0
  64. package/src/assets/styles/scss/vendor/react-image-gallery.scss +224 -0
  65. package/src/assets/version.ts +1 -1
@@ -1 +1 @@
1
- export declare const version = "3.0.0-beta.3";
1
+ export declare const version = "3.0.0-beta.4";
@@ -354,7 +354,7 @@
354
354
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
355
355
  }
356
356
 
357
- var version = '3.0.0-beta.3';
357
+ var version = '3.0.0-beta.4';
358
358
 
359
359
  /**
360
360
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -2214,88 +2214,128 @@
2214
2214
  }] } });
2215
2215
 
2216
2216
  /**
2217
- * A central location for registering your custom templates to override parts of the chat application
2217
+ * A central location for registering your custom templates to override parts of the chat application.
2218
+ *
2219
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2218
2220
  */
2219
2221
  var CustomTemplatesService = /** @class */ (function () {
2220
2222
  function CustomTemplatesService() {
2221
2223
  /**
2222
- * The autocomplete list item template for mentioning users
2224
+ * The autocomplete list item template for mentioning users (used in the [`AutocompleteTextareaComponent`](../components/AutocompleteTextareaComponent.mdx))
2223
2225
  */
2224
2226
  this.mentionAutocompleteItemTemplate$ = new rxjs.BehaviorSubject(undefined);
2225
2227
  /**
2226
- * The autocomplete list item template for commands
2228
+ * The autocomplete list item template for commands (used in the [`AutocompleteTextareaComponent`](../components/AutocompleteTextareaComponent.mdx))
2229
+ *
2230
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2227
2231
  */
2228
2232
  this.commandAutocompleteItemTemplate$ = new rxjs.BehaviorSubject(undefined);
2229
2233
  /**
2230
- * Item in the channel list
2234
+ * Template used to display an item in the [channel list](../components/ChannelListComponent.mdx) (instead of the default [channal list item](../components/ChannelPreviewComponent.mdx))
2235
+ *
2236
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2231
2237
  */
2232
2238
  this.channelPreviewTemplate$ = new rxjs.BehaviorSubject(undefined);
2233
2239
  /**
2234
- * The message input template used when editing a message
2240
+ * The message input template used when editing a message (instead of the [default message input](../components/MessageInputComponent.mdx))
2241
+ *
2242
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2235
2243
  */
2236
2244
  this.messageInputTemplate$ = new rxjs.BehaviorSubject(undefined);
2237
2245
  /**
2238
- * The template used for displaying a mention inside a message
2246
+ * The template used for displaying a [mention inside a message](../code-examples/mention-actions.mdx)
2247
+ *
2248
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2239
2249
  */
2240
2250
  this.mentionTemplate$ = new rxjs.BehaviorSubject(undefined);
2241
2251
  /**
2242
- * The template for emoji picker
2252
+ * The template for [emoji picker](../code-examples/emoji-picker.mdx)
2253
+ *
2254
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2243
2255
  */
2244
2256
  this.emojiPickerTemplate$ = new rxjs.BehaviorSubject(undefined);
2245
2257
  /**
2246
- * The typing indicator template used in the message list
2258
+ * The typing indicator template used in the [message list](../components/MessageListComponent.mdx)
2259
+ *
2260
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2247
2261
  */
2248
2262
  this.typingIndicatorTemplate$ = new rxjs.BehaviorSubject(undefined);
2249
2263
  /**
2250
- * The template used to display a message in the message list
2264
+ * The template used to display a message in the [message list](../components/MessageListComponent.mdx) (instead of the [default message component](../components/MessageComponent.mdx))
2265
+ *
2266
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2251
2267
  */
2252
2268
  this.messageTemplate$ = new rxjs.BehaviorSubject(undefined);
2253
2269
  /**
2254
- * The template for channel actions
2270
+ * The template for channel actions displayed in the [channel header](../components/ChannelHeaderComponent.mdx) (by default no channel action is displayed)
2271
+ *
2272
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2255
2273
  */
2256
2274
  this.channelActionsTemplate$ = new rxjs.BehaviorSubject(undefined);
2257
2275
  /**
2258
- * The template used to display attachments of a message
2276
+ * The template used to display attachments of a [message](../components/MessageComponent.mdx) (instead of the [default attachment list](../components/AttachmentListComponent.mdx))
2277
+ *
2278
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2259
2279
  */
2260
2280
  this.attachmentListTemplate$ = new rxjs.BehaviorSubject(undefined);
2261
2281
  /**
2262
- * The template used to display attachments in the message input component
2282
+ * The template used to display attachments in the [message input](../components/MessageInputComponent.mdx) component (instead of the [default attachment preview](../components/AttachmentPreviewListComponent.mdx))
2283
+ *
2284
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2263
2285
  */
2264
2286
  this.attachmentPreviewListTemplate$ = new rxjs.BehaviorSubject(undefined);
2265
2287
  /**
2266
- * The template used to display avatars for channels and users
2288
+ * The template used to display avatars for channels and users (instead of the [default avatar](../components/AvatarComponent.mdx))
2289
+ *
2290
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2267
2291
  */
2268
2292
  this.avatarTemplate$ = new rxjs.BehaviorSubject(undefined);
2269
2293
  /**
2270
- * Template for displaying icons
2294
+ * Template for displaying icons (instead of the [default icon component](../components/IconComponent.mdx))
2295
+ *
2296
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2271
2297
  */
2272
2298
  this.iconTemplate$ = new rxjs.BehaviorSubject(undefined);
2273
2299
  /**
2274
2300
  * Template for displaying the loading indicator (instead of the [default loading indicator](../components/LoadingIndicatorComponent.mdx))
2301
+ *
2302
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2275
2303
  */
2276
2304
  this.loadingIndicatorTemplate$ = new rxjs.BehaviorSubject(undefined);
2277
2305
  /**
2278
2306
  * Template for displaying the message actions box (instead of the [default message actions box](../components/MessageActionsBoxComponent.mdx))
2307
+ *
2308
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2279
2309
  */
2280
2310
  this.messageActionsBoxTemplate$ = new rxjs.BehaviorSubject(undefined);
2281
2311
  /**
2282
- * The template used for displaying an item in the [message actions box](../components/MessageActionsBoxComponent.mdx)]
2312
+ * The template used for displaying an item in the [message actions box](../components/MessageActionsBoxComponent.mdx)
2313
+ *
2314
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2283
2315
  */
2284
2316
  this.messageActionsBoxItemTemplate$ = new rxjs.BehaviorSubject(undefined);
2285
2317
  /**
2286
- * The template used to display the reactions of a message, and the selector to add a reaction to a message (instead of the [default message reactions component](../components/MessageReactionsComponent.mdx))
2318
+ * The template used to display the reactions of a [message](../components/MessageComponent.mdx), and the selector to add a reaction to a message (instead of the [default message reactions component](../components/MessageReactionsComponent.mdx))
2319
+ *
2320
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2287
2321
  */
2288
2322
  this.messageReactionsTemplate$ = new rxjs.BehaviorSubject(undefined);
2289
2323
  /**
2290
2324
  * The template used to display a modal window (instead of the [default modal](../components/ModalComponent.mdx))
2325
+ *
2326
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2291
2327
  */
2292
2328
  this.modalTemplate$ = new rxjs.BehaviorSubject(undefined);
2293
2329
  /**
2294
2330
  * The template used to override the [default notification component](../components/NotificationComponent.mdx)
2331
+ *
2332
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2295
2333
  */
2296
2334
  this.notificationTemplate$ = new rxjs.BehaviorSubject(undefined);
2297
2335
  /**
2298
- * The template used for header of thread
2336
+ * The template used for header of a [thread](../components/ThreadComponent.mdx)
2337
+ *
2338
+ * For code examples to the different customizations see our [customizations example application](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example), specifically the [AppComponent](https://github.com/GetStream/stream-chat-angular/tree/master/projects/customizations-example/src/app) (see [README](https://github.com/GetStream/stream-chat-angular/blob/master/README.md#customization-examples) for instructions on how to start the application).
2299
2339
  */
2300
2340
  this.threadHeaderTemplate$ = new rxjs.BehaviorSubject(undefined);
2301
2341
  }