@livetiles/reach-plugin-types 0.5.0-preview.1035 → 0.5.0-preview.1036

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 +74 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -4256,6 +4256,7 @@ declare module "libs/reach/util/common/src/reach-2/ThemeContext" {
4256
4256
  export const ThemeContextProvider: FC<{
4257
4257
  children: ReactNode;
4258
4258
  }>;
4259
+ export function useReach2Theme(): any;
4259
4260
  }
4260
4261
  declare module "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls" {
4261
4262
  export function usePageScrollDirectionForTogglingControls(disableOnLargeScreen?: boolean, maximumAllowedScreenWidth?: number, upThreshold?: number, downThreshold?: number): boolean;
@@ -12432,14 +12433,85 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
12432
12433
  export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
12433
12434
  export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
12434
12435
  export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
12435
- export { EmojiEditor } from "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor";
12436
+ export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor";
12437
+ export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor";
12436
12438
  export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
12437
12439
  export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
12438
12440
  export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
12439
12441
  }
12442
+ declare module "libs/reach/feature/content/src/reach-2/comments/index" {
12443
+ export * from "libs/reach/feature/content/src/reach-2/comments/CommentDisplay";
12444
+ export * from "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay";
12445
+ export * from "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar";
12446
+ export * from "libs/reach/feature/content/src/reach-2/comments/CommentsList";
12447
+ export * from "libs/reach/feature/content/src/reach-2/comments/useCommentsQuery";
12448
+ export * from "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent";
12449
+ }
12450
+ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/components/Footer" {
12451
+ import { FC } from 'react';
12452
+ import { TextStylingOptions } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/CommentEditor";
12453
+ interface IFooterProps {
12454
+ editorCharacterLimit: number;
12455
+ getCharacterCount: () => number;
12456
+ onSave: () => void;
12457
+ onClickButton: (option: TextStylingOptions) => void;
12458
+ shouldShowTextFormatting: boolean;
12459
+ showTextStylingOptions: TextStylingOptions;
12460
+ }
12461
+ const Footer: FC<IFooterProps>;
12462
+ export default Footer;
12463
+ }
12464
+ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/components/Header" {
12465
+ import { FC } from 'react';
12466
+ const Header: FC;
12467
+ export default Header;
12468
+ }
12469
+ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/components/Main" {
12470
+ import { Account } from "libs/reach/util/common/src/index";
12471
+ import { Editor } from '@tiptap/react';
12472
+ import { FC } from 'react';
12473
+ import { TextStylingOptions } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/CommentEditor";
12474
+ interface IMainProps {
12475
+ editor: Editor;
12476
+ getMentionsSearchHandler: (searchText: string) => Promise<Account[]>;
12477
+ setShowTextStylingOptions: (option: TextStylingOptions) => void;
12478
+ shouldShowOverlay: boolean;
12479
+ shouldShowTextFormatting: boolean;
12480
+ showTextStylingOptions: TextStylingOptions;
12481
+ }
12482
+ const Main: FC<IMainProps>;
12483
+ export default Main;
12484
+ }
12485
+ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/comment-editor/CommentEditor" {
12486
+ import { Comment } from "libs/reach/util/common/src/index";
12487
+ import { FC } from 'react';
12488
+ export enum TextStylingOptions {
12489
+ None = 0,
12490
+ EmojiOverlay = 1,
12491
+ MentionOverlay = 2,
12492
+ TextFormatting = 3
12493
+ }
12494
+ interface ICommentEditorProps {
12495
+ className?: string;
12496
+ comment?: Comment;
12497
+ parentItemId: string;
12498
+ placeholder?: string;
12499
+ }
12500
+ const CommentEditor: FC<ICommentEditorProps>;
12501
+ export default CommentEditor;
12502
+ }
12503
+ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/CommentsList" {
12504
+ import { FC } from 'react';
12505
+ interface ICommentsListProps {
12506
+ itemId: string;
12507
+ }
12508
+ const CommentsList: FC<ICommentsListProps>;
12509
+ export default CommentsList;
12510
+ }
12440
12511
  declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/Footer" {
12441
12512
  import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
12442
12513
  interface IFooterProps {
12514
+ commentCount?: number;
12443
12515
  item: PostStreamItem;
12444
12516
  }
12445
12517
  const Footer: React.FC<IFooterProps>;
@@ -12531,6 +12603,7 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/index" {
12531
12603
  }
12532
12604
  declare module "libs/reach/feature/content/src/reach-2/index" {
12533
12605
  export * from "libs/reach/feature/content/src/reach-2/buttons/index";
12606
+ export * from "libs/reach/feature/content/src/reach-2/comments/index";
12534
12607
  export * from "libs/reach/feature/content/src/reach-2/common/index";
12535
12608
  }
12536
12609
  declare module "libs/reach/feature/content/src/index" {
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.1035",
7
+ "version": "0.5.0-preview.1036",
8
8
  "dependencies": {}
9
9
  }