stream-chat-angular 2.13.0 → 2.15.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 (58) hide show
  1. package/assets/version.d.ts +1 -1
  2. package/bundles/stream-chat-angular.umd.js +305 -49
  3. package/bundles/stream-chat-angular.umd.js.map +1 -1
  4. package/esm2015/assets/version.js +2 -2
  5. package/esm2015/lib/attachment-list/attachment-list.component.js +7 -1
  6. package/esm2015/lib/attachment-preview-list/attachment-preview-list.component.js +4 -1
  7. package/esm2015/lib/attachment.service.js +1 -1
  8. package/esm2015/lib/avatar/avatar.component.js +7 -1
  9. package/esm2015/lib/channel/channel.component.js +4 -1
  10. package/esm2015/lib/channel-header/channel-header.component.js +4 -1
  11. package/esm2015/lib/channel-list/channel-list.component.js +4 -1
  12. package/esm2015/lib/channel-preview/channel-preview.component.js +4 -1
  13. package/esm2015/lib/channel.service.js +64 -2
  14. package/esm2015/lib/icon/icon.component.js +4 -1
  15. package/esm2015/lib/loading-indicator/loading-indicator.component.js +10 -1
  16. package/esm2015/lib/message/message.component.js +10 -1
  17. package/esm2015/lib/message-actions-box/message-actions-box.component.js +19 -1
  18. package/esm2015/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.js +22 -1
  19. package/esm2015/lib/message-input/emoji-input.service.js +3 -3
  20. package/esm2015/lib/message-input/message-input-config.service.js +2 -2
  21. package/esm2015/lib/message-input/message-input.component.js +25 -9
  22. package/esm2015/lib/message-input/textarea/textarea.component.js +13 -1
  23. package/esm2015/lib/message-list/message-list.component.js +26 -7
  24. package/esm2015/lib/message-reactions/message-reactions.component.js +22 -4
  25. package/esm2015/lib/modal/modal.component.js +10 -1
  26. package/esm2015/lib/notification/notification.component.js +4 -1
  27. package/esm2015/lib/notification-list/notification-list.component.js +4 -1
  28. package/esm2015/lib/notification.service.js +2 -2
  29. package/esm2015/lib/thread/thread.component.js +4 -1
  30. package/fesm2015/stream-chat-angular.js +264 -34
  31. package/fesm2015/stream-chat-angular.js.map +1 -1
  32. package/lib/attachment-list/attachment-list.component.d.ts +9 -0
  33. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +3 -0
  34. package/lib/attachment.service.d.ts +1 -1
  35. package/lib/avatar/avatar.component.d.ts +12 -0
  36. package/lib/channel/channel.component.d.ts +3 -0
  37. package/lib/channel-header/channel-header.component.d.ts +3 -0
  38. package/lib/channel-list/channel-list.component.d.ts +6 -0
  39. package/lib/channel-preview/channel-preview.component.d.ts +6 -0
  40. package/lib/channel.service.d.ts +17 -1
  41. package/lib/icon/icon.component.d.ts +9 -0
  42. package/lib/loading-indicator/loading-indicator.component.d.ts +9 -0
  43. package/lib/message/message.component.d.ts +27 -3
  44. package/lib/message-actions-box/message-actions-box.component.d.ts +24 -0
  45. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +27 -0
  46. package/lib/message-input/emoji-input.service.d.ts +2 -2
  47. package/lib/message-input/message-input-config.service.d.ts +1 -1
  48. package/lib/message-input/message-input.component.d.ts +39 -2
  49. package/lib/message-input/textarea/textarea.component.d.ts +12 -0
  50. package/lib/message-list/message-list.component.d.ts +30 -4
  51. package/lib/message-reactions/message-reactions.component.d.ts +22 -1
  52. package/lib/modal/modal.component.d.ts +9 -0
  53. package/lib/notification/notification.component.d.ts +6 -0
  54. package/lib/notification-list/notification-list.component.d.ts +3 -0
  55. package/lib/notification.service.d.ts +1 -1
  56. package/lib/thread/thread.component.d.ts +3 -0
  57. package/package.json +2 -2
  58. package/src/assets/version.ts +1 -1
@@ -1,6 +1,12 @@
1
1
  import { NotificationType } from '../notification.service';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * The `Notification` component displays a notification within the [`NotificationList`](./NotificationListComponent.mdx)
5
+ */
3
6
  export declare class NotificationComponent {
7
+ /**
8
+ * The type of the notification
9
+ */
4
10
  type: NotificationType | undefined;
5
11
  constructor();
6
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
@@ -1,6 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { NotificationPayload, NotificationService } from '../notification.service';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * The `NotificationList` component displays the list of active notifications.
6
+ */
4
7
  export declare class NotificationListComponent {
5
8
  private notificationService;
6
9
  notifications$: Observable<NotificationPayload[]>;
@@ -7,7 +7,7 @@ export declare type NotificationPayload = {
7
7
  translateParams?: Object;
8
8
  };
9
9
  /**
10
- * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/notifications.mdx) component displays the currently active notifications.
10
+ * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
11
11
  */
12
12
  export declare class NotificationService {
13
13
  /**
@@ -2,6 +2,9 @@ import { OnDestroy } from '@angular/core';
2
2
  import { ChannelService } from '../channel.service';
3
3
  import { StreamMessage } from '../types';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * The `Thread` component represents a [message thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript), it is a container component that displays a thread with a header, [`MessageList`](./MessageListComponent.mdx) and [`MessageInput`](./MessageInputComponent.mdx) components.
7
+ */
5
8
  export declare class ThreadComponent implements OnDestroy {
6
9
  private channelService;
7
10
  private class;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "2.13.0",
3
+ "version": "2.15.0",
4
4
  "description": "Angular components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -12,7 +12,7 @@
12
12
  "@angular/common": "^12.2.0 || ^13.0.0",
13
13
  "@angular/core": "^12.2.0 || ^13.0.0",
14
14
  "@ngx-translate/core": "^13.0.0 || ^14.0.0",
15
- "stream-chat": ">=4.3.0",
15
+ "stream-chat": "^4.3.0 || ^5.0.0",
16
16
  "@stream-io/stream-chat-css": "2.3.2"
17
17
  },
18
18
  "dependencies": {
@@ -1 +1 @@
1
- export const version = '2.13.0';
1
+ export const version = '2.15.0';