@dytesdk/angular-ui-kit 1.66.2-staging.9 → 1.66.2

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.
@@ -16,6 +16,8 @@ import type { Message as IDyteChatMessageMessage } from '@dytesdk/ui-kit';
16
16
  import type { Message as IDyteChatMessagesUiMessage } from '@dytesdk/ui-kit';
17
17
  import type { States as IDyteChatMessagesUiStates } from '@dytesdk/ui-kit';
18
18
  import type { TextMessage as IDyteChatMessagesUiPaginatedTextMessage } from '@dytesdk/ui-kit';
19
+ import type { Message as IDyteChatMessagesUiPaginatedMessage } from '@dytesdk/ui-kit';
20
+ import type { States as IDyteChatMessagesUiPaginatedStates } from '@dytesdk/ui-kit';
19
21
  import type { ChatGroupChangedType as IDyteChatSelectorUiChatGroupChangedType } from '@dytesdk/ui-kit';
20
22
  import type { States as IDyteChatToggleStates } from '@dytesdk/ui-kit';
21
23
  import type { States as IDyteConfirmationModalStates } from '@dytesdk/ui-kit';
@@ -426,9 +428,13 @@ export declare interface DyteChatMessage extends Components.DyteChatMessage {
426
428
  */
427
429
  edit: EventEmitter<CustomEvent<IDyteChatMessageMessage>>;
428
430
  /**
429
- * Event for when edit is clicked on a message
431
+ * Event for when reply is clicked on a message
430
432
  */
431
433
  reply: EventEmitter<CustomEvent<IDyteChatMessageMessage>>;
434
+ /**
435
+ * Event for when pin is clicked on a message
436
+ */
437
+ pin: EventEmitter<CustomEvent<IDyteChatMessageMessage>>;
432
438
  /**
433
439
  * Event for when edit is clicked on a message
434
440
  */
@@ -439,7 +445,7 @@ export declare class DyteChatMessage {
439
445
  protected el: HTMLElement;
440
446
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
441
447
  static ɵfac: i0.ɵɵFactoryDeclaration<DyteChatMessage, never>;
442
- static ɵcmp: i0.ɵɵComponentDeclaration<DyteChatMessage, "dyte-chat-message", never, { "alignRight": "alignRight"; "canDelete": "canDelete"; "canEdit": "canEdit"; "canReply": "canReply"; "child": "child"; "disableControls": "disableControls"; "hideAvatar": "hideAvatar"; "iconPack": "iconPack"; "isContinued": "isContinued"; "isSelf": "isSelf"; "isUnread": "isUnread"; "leftAlign": "leftAlign"; "message": "message"; "senderDisplayPicture": "senderDisplayPicture"; "size": "size"; "t": "t"; }, {}, never, ["*"]>;
448
+ static ɵcmp: i0.ɵɵComponentDeclaration<DyteChatMessage, "dyte-chat-message", never, { "alignRight": "alignRight"; "canDelete": "canDelete"; "canEdit": "canEdit"; "canPin": "canPin"; "canReply": "canReply"; "child": "child"; "disableControls": "disableControls"; "hideAvatar": "hideAvatar"; "iconPack": "iconPack"; "isContinued": "isContinued"; "isSelf": "isSelf"; "isUnread": "isUnread"; "leftAlign": "leftAlign"; "message": "message"; "senderDisplayPicture": "senderDisplayPicture"; "size": "size"; "t": "t"; }, {}, never, ["*"]>;
443
449
  }
444
450
  export declare interface DyteChatMessagesUi extends Components.DyteChatMessagesUi {
445
451
  /**
@@ -469,6 +475,18 @@ export declare interface DyteChatMessagesUiPaginated extends Components.DyteChat
469
475
  isEdit?: boolean;
470
476
  };
471
477
  }>>;
478
+ /**
479
+ * Event emitted when a message is pinned or unpinned
480
+ */
481
+ pinMessage: EventEmitter<CustomEvent<IDyteChatMessagesUiPaginatedMessage>>;
482
+ /**
483
+ * Event emitted when a message is deleted
484
+ */
485
+ deleteMessage: EventEmitter<CustomEvent<IDyteChatMessagesUiPaginatedMessage>>;
486
+ /**
487
+ * Emits updated state data
488
+ */
489
+ dyteStateUpdate: EventEmitter<CustomEvent<IDyteChatMessagesUiPaginatedStates>>;
472
490
  }
473
491
  export declare class DyteChatMessagesUiPaginated {
474
492
  protected z: NgZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dytesdk/angular-ui-kit",
3
- "version": "1.66.2-staging.9",
3
+ "version": "1.66.2",
4
4
  "description": "Dyte's UI Kit to support easy UI development for Angular Projects",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13 || ^14 || ^15 || ^16 || ^17",
@@ -8,10 +8,11 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.3.0",
11
- "@dytesdk/ui-kit": "1.66.2-staging.9"
11
+ "@dytesdk/ui-kit": "1.66.2"
12
12
  },
13
13
  "publishConfig": {
14
- "tag": "staging"
14
+ "access": "public",
15
+ "tag": "latest"
15
16
  },
16
17
  "files": [
17
18
  "dist/"