@livetiles/reach-plugin-types 0.5.0-preview.500 → 0.5.0-preview.502

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 +67 -15
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -7835,7 +7835,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
7835
7835
  className?: string;
7836
7836
  }>;
7837
7837
  }
7838
- declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
7838
+ declare module "libs/reach/feature/content/src/comments/LegacyCommentDisplay" {
7839
7839
  import { FC } from 'react';
7840
7840
  import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7841
7841
  interface Props {
@@ -7860,14 +7860,14 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
7860
7860
  enableModalRouting?: boolean;
7861
7861
  className?: string;
7862
7862
  }
7863
- export const CommentDisplay: FC<Props>;
7863
+ export const LegacyCommentDisplay: FC<Props>;
7864
7864
  }
7865
7865
  declare module "libs/reach/feature/content/src/comments/index" {
7866
7866
  export * from "libs/reach/feature/content/src/comments/ContentDisplay";
7867
7867
  export * from "libs/reach/feature/content/src/comments/FollowComments";
7868
7868
  export * from "libs/reach/feature/content/src/comments/CreateComment";
7869
7869
  export * from "libs/reach/feature/content/src/comments/useCommentApi";
7870
- export * from "libs/reach/feature/content/src/comments/CommentDisplay";
7870
+ export * from "libs/reach/feature/content/src/comments/LegacyCommentDisplay";
7871
7871
  export * from "libs/reach/feature/content/src/comments/useCommentApi";
7872
7872
  export * from "libs/reach/feature/content/src/comments/UrlMatcher";
7873
7873
  export * from "libs/reach/feature/content/src/comments/ContentDisplay";
@@ -10562,19 +10562,78 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/Bookmark
10562
10562
  className?: string;
10563
10563
  }>;
10564
10564
  }
10565
+ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton" {
10566
+ import { FC } from 'react';
10567
+ export const ContextMenuButton: FC<{
10568
+ onDismiss?: () => void;
10569
+ className?: string;
10570
+ }>;
10571
+ }
10572
+ declare module "libs/reach/feature/content/src/reach-2/comments/CommentHeader" {
10573
+ import { FC } from 'react';
10574
+ import { Account } from "libs/reach/util/common/src/index";
10575
+ export const CommentHeader: FC<{
10576
+ sender: Account;
10577
+ receivedDateTime: string;
10578
+ modifiedTime?: string;
10579
+ }>;
10580
+ }
10581
+ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/BaseLikeButton" {
10582
+ import { FC } from 'react';
10583
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10584
+ export const BaseLikeButton: FC<{
10585
+ itemId: string;
10586
+ itemType: ItemResourceTypes;
10587
+ isLiked?: boolean;
10588
+ likeCount?: number;
10589
+ disabled?: boolean;
10590
+ onLike?: (isNowLiked: boolean) => void;
10591
+ isVertical?: boolean;
10592
+ }>;
10593
+ }
10594
+ declare module "libs/reach/feature/content/src/reach-2/comments/CommentLikeButton" {
10595
+ import { FC } from 'react';
10596
+ export const CommentLikeButton: FC<{
10597
+ commentId: string;
10598
+ isLiked?: boolean;
10599
+ likeCount?: number;
10600
+ }>;
10601
+ }
10602
+ declare module "libs/reach/feature/content/src/reach-2/comments/CommentMetadata" {
10603
+ import { FC } from 'react';
10604
+ import { Comment } from "libs/reach/util/common/src/index";
10605
+ export const CommentMetadata: FC<{
10606
+ comment: Comment;
10607
+ }>;
10608
+ }
10609
+ declare module "libs/reach/feature/content/src/reach-2/comments/CommentContent" {
10610
+ import { FC } from 'react';
10611
+ export const CommentContent: FC<{
10612
+ content: string;
10613
+ }>;
10614
+ }
10615
+ declare module "libs/reach/feature/content/src/reach-2/comments/CommentDisplay" {
10616
+ import { FC } from 'react';
10617
+ import { Comment } from "libs/reach/util/common/src/index";
10618
+ export const CommentDisplay: FC<{
10619
+ comment: Comment;
10620
+ }>;
10621
+ }
10622
+ declare module "libs/reach/feature/content/src/reach-2/comments/index" {
10623
+ export * from "libs/reach/feature/content/src/reach-2/comments/CommentDisplay";
10624
+ }
10565
10625
  declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton" {
10566
- import { FC, MouseEvent } from 'react';
10626
+ import { FC } from 'react';
10567
10627
  export const CommentButton: FC<{
10568
10628
  commentCount?: number;
10569
- onClick?: (e: MouseEvent<any>) => void;
10570
10629
  isVertical?: boolean;
10571
10630
  className?: string;
10572
10631
  }>;
10573
10632
  }
10574
- declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/LikeButton" {
10633
+ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton" {
10575
10634
  import { FC } from 'react';
10576
10635
  import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
10577
- export const LikeButton: FC<{
10636
+ export const ItemLikeButton: FC<{
10578
10637
  item: PublishableItem;
10579
10638
  itemType: ItemResourceTypes;
10580
10639
  isVertical?: boolean;
@@ -10601,17 +10660,10 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareBut
10601
10660
  permalink: string;
10602
10661
  }>;
10603
10662
  }
10604
- declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton" {
10605
- import { FC } from 'react';
10606
- export const ContextMenuButton: FC<{
10607
- onDismiss?: () => void;
10608
- className?: string;
10609
- }>;
10610
- }
10611
10663
  declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/index" {
10612
10664
  export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/BookmarkButton";
10613
10665
  export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton";
10614
- export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/LikeButton";
10666
+ export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton";
10615
10667
  export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton";
10616
10668
  export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButtonWithCallout";
10617
10669
  export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ContextMenuButton";
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.500",
7
+ "version": "0.5.0-preview.502",
8
8
  "dependencies": {}
9
9
  }