@livetiles/reach-plugin-types 0.5.0-preview.1099 → 0.5.0-preview.1100

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 +19 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -11975,6 +11975,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/CommentRich
11975
11975
  }
11976
11976
  declare module "libs/reach/feature/content/src/reach-2/common/editor/common/SuggestionsPopover" {
11977
11977
  interface MentionsWithSuggestionsPopoverProps {
11978
+ dialogPosition?: Partial<DOMRect> | null;
11978
11979
  suggestionsPosition: Partial<DOMRect> | null;
11979
11980
  }
11980
11981
  export const SuggestionsPopover: import("react").ForwardRefExoticComponent<MentionsWithSuggestionsPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -12002,8 +12003,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/common/Ment
12002
12003
  export const MentionSuggestions: FC<MentionSuggestionsProps>;
12003
12004
  }
12004
12005
  declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/MentionExtension" {
12005
- import { MutableRefObject } from 'react';
12006
12006
  import { Account } from "libs/reach/util/common/src/index";
12007
+ import { MutableRefObject } from 'react';
12007
12008
  module '@tiptap/core' {
12008
12009
  interface Commands<ReturnType> {
12009
12010
  customExtension: {
@@ -12682,6 +12683,20 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/inde
12682
12683
  export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/NewsCardContextMenu";
12683
12684
  export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/ImageAndTextNewsItemCard";
12684
12685
  }
12686
+ declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
12687
+ import { Account } from "libs/reach/util/common/src/index";
12688
+ import { Editor } from '@tiptap/react';
12689
+ import { FC } from 'react';
12690
+ interface IMentionsButtonProps {
12691
+ editor: Editor;
12692
+ getMentionsSearchHandler: (searchText: string) => Promise<Account[]>;
12693
+ setShowMentions: (value: boolean) => void;
12694
+ shouldCenterPopover: boolean;
12695
+ showMentions: boolean;
12696
+ }
12697
+ const MentionsButton: FC<IMentionsButtonProps>;
12698
+ export default MentionsButton;
12699
+ }
12685
12700
  declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor" {
12686
12701
  import { Editor } from '@tiptap/react';
12687
12702
  import { FC } from 'react';
@@ -12698,13 +12713,14 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/hooks/index
12698
12713
  export { default as useEditorActions } from "libs/reach/feature/content/src/reach-2/common/editor/hooks/useEditorActions";
12699
12714
  }
12700
12715
  declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
12701
- export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
12702
12716
  export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
12717
+ export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
12718
+ export { default as MentionsButton } from "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton";
12703
12719
  export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
12704
12720
  export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor";
12705
12721
  export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor";
12706
- export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
12707
12722
  export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
12723
+ export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
12708
12724
  export * from "libs/reach/feature/content/src/reach-2/common/editor/format/index";
12709
12725
  export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
12710
12726
  export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
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.1099",
7
+ "version": "0.5.0-preview.1100",
8
8
  "dependencies": {}
9
9
  }