@livetiles/reach-plugin-types 0.5.0-preview.658 → 0.5.0-preview.660

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 (2) hide show
  1. package/lib/index.d.ts +6 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -10710,6 +10710,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/RepliesList" {
10710
10710
  replyCount?: number;
10711
10711
  isReplyInputShown?: boolean;
10712
10712
  onReplyInputClose?: () => void;
10713
+ onReplyCountChange?: (threadId: string, newReplyCount: number) => void;
10713
10714
  isMobile?: boolean;
10714
10715
  }
10715
10716
  export const RepliesList: FC<RepliesListProps>;
@@ -10725,10 +10726,14 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentListItem"
10725
10726
  onToggleEditor?: () => void;
10726
10727
  isMobile?: boolean;
10727
10728
  }
10728
- export const CommentListItem: FC<CommentItemProps & {
10729
+ export const CommentListItemWithReplies: FC<CommentItemProps & {
10729
10730
  parentItemId: string;
10730
10731
  itemResourceType: ItemResourceTypes;
10731
10732
  scope: ConversationScope;
10733
+ onReplyCountChange?: (threadId: string, newReplyCount: number) => void;
10734
+ }>;
10735
+ export const CommentListItem: FC<CommentItemProps & {
10736
+ onReply?: () => void;
10732
10737
  }>;
10733
10738
  }
10734
10739
  declare module "libs/reach/feature/content/src/reach-2/comments/CommentsList" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.658",
7
+ "version": "0.5.0-preview.660",
8
8
  "dependencies": {}
9
9
  }