stream-chat-angular 4.50.0 → 4.51.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.
@@ -75,7 +75,7 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
75
75
  attachmentUploads$: Observable<AttachmentUpload[]>;
76
76
  attachmentUploadInProgressCounter$: Observable<number>;
77
77
  textareaValue: string;
78
- textareaRef: ComponentRef<TextareaInterface> | undefined;
78
+ textareaRef: ComponentRef<TextareaInterface & Partial<OnChanges>> | undefined;
79
79
  mentionedUsers: UserResponse[];
80
80
  quotedMessage: undefined | StreamMessage;
81
81
  typingStart$: Subject<void>;
@@ -4,7 +4,7 @@ import { TextareaInterface } from './textarea.interface';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TextareaDirective implements OnChanges {
6
6
  viewContainerRef: ViewContainerRef;
7
- componentRef: ComponentRef<TextareaInterface> | undefined;
7
+ componentRef: ComponentRef<TextareaInterface & Partial<OnChanges>> | undefined;
8
8
  areMentionsEnabled: boolean | undefined;
9
9
  mentionScope?: 'channel' | 'application';
10
10
  inputMode: 'mobile' | 'desktop';
@@ -1,6 +1,6 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { UserResponse } from 'stream-chat';
3
- export interface TextareaInterface extends OnChanges {
3
+ export interface TextareaInterface {
4
4
  value: string;
5
5
  valueChange: EventEmitter<string>;
6
6
  send: EventEmitter<void>;
@@ -8,6 +8,6 @@ export interface TextareaInterface extends OnChanges {
8
8
  areMentionsEnabled?: boolean;
9
9
  mentionScope?: 'channel' | 'application';
10
10
  placeholder?: string;
11
- inputMode: 'mobile' | 'desktop';
12
- autoFocus: boolean;
11
+ inputMode?: 'mobile' | 'desktop';
12
+ autoFocus?: boolean;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "4.50.0",
3
+ "version": "4.51.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/",
@@ -1 +1 @@
1
- export const version = '4.50.0';
1
+ export const version = '4.51.0';