@livetiles/reach-plugin-types 0.5.0-preview.1152 → 0.5.0-preview.1153
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.
- package/lib/index.d.ts +147 -104
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6530,6 +6530,25 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
|
6530
6530
|
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6531
6531
|
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
|
|
6532
6532
|
}
|
|
6533
|
+
declare module "libs/reach/ui/common/src/reach-2/carousel/Carousel" {
|
|
6534
|
+
import { FC } from 'react';
|
|
6535
|
+
export interface ICarouselImageProps {
|
|
6536
|
+
caption?: string;
|
|
6537
|
+
id: string;
|
|
6538
|
+
url: string;
|
|
6539
|
+
}
|
|
6540
|
+
interface ICarouselProps {
|
|
6541
|
+
className?: string;
|
|
6542
|
+
images: ICarouselImageProps[];
|
|
6543
|
+
selectedImageId: string;
|
|
6544
|
+
}
|
|
6545
|
+
const Carousel: FC<ICarouselProps>;
|
|
6546
|
+
export default Carousel;
|
|
6547
|
+
}
|
|
6548
|
+
declare module "libs/reach/ui/common/src/reach-2/carousel/index" {
|
|
6549
|
+
export { default as Carousel } from "libs/reach/ui/common/src/reach-2/carousel/Carousel";
|
|
6550
|
+
export type { ICarouselImageProps } from "libs/reach/ui/common/src/reach-2/carousel/Carousel";
|
|
6551
|
+
}
|
|
6533
6552
|
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
6534
6553
|
import { FC } from 'react';
|
|
6535
6554
|
interface Props {
|
|
@@ -6684,6 +6703,27 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
|
|
|
6684
6703
|
}
|
|
6685
6704
|
export const BaseDialog: import("react").ForwardRefExoticComponent<BaseDialogProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6686
6705
|
}
|
|
6706
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
6707
|
+
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
6708
|
+
import { FC } from 'react';
|
|
6709
|
+
export type BasePopoverAlignType = 'start' | 'center' | 'end';
|
|
6710
|
+
export type BasePopoverSideType = 'top' | 'left' | 'bottom' | 'right';
|
|
6711
|
+
export interface BasePopoverProps {
|
|
6712
|
+
align?: BasePopoverAlignType;
|
|
6713
|
+
alignOffset?: number;
|
|
6714
|
+
anchor?: JSX.Element;
|
|
6715
|
+
className?: string;
|
|
6716
|
+
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
6717
|
+
isOpen?: boolean;
|
|
6718
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
6719
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
6720
|
+
onOpenChange?: (open: boolean) => void;
|
|
6721
|
+
side?: BasePopoverSideType;
|
|
6722
|
+
sideOffset?: number;
|
|
6723
|
+
trigger?: JSX.Element;
|
|
6724
|
+
}
|
|
6725
|
+
export const BasePopover: FC<BasePopoverProps>;
|
|
6726
|
+
}
|
|
6687
6727
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/Dialog" {
|
|
6688
6728
|
import { MouseEvent } from 'react';
|
|
6689
6729
|
import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
@@ -6703,6 +6743,16 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Dialog" {
|
|
|
6703
6743
|
}
|
|
6704
6744
|
export const Dialog: import("react").ForwardRefExoticComponent<DialogProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6705
6745
|
}
|
|
6746
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog" {
|
|
6747
|
+
import { FC } from 'react';
|
|
6748
|
+
import { DialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
6749
|
+
export const ConfirmationDialog: FC<Omit<DialogProps, 'onSave' | 'disableSave' | 'saveButtonLabel'> & {
|
|
6750
|
+
onConfirm?: () => void;
|
|
6751
|
+
confirmButtonLabel?: string;
|
|
6752
|
+
isDestructive?: boolean;
|
|
6753
|
+
description?: string;
|
|
6754
|
+
}>;
|
|
6755
|
+
}
|
|
6706
6756
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
|
|
6707
6757
|
import { FC, SVGProps } from 'react';
|
|
6708
6758
|
import { AnimationBuilder } from '@ionic/core';
|
|
@@ -6717,10 +6767,17 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
|
|
|
6717
6767
|
};
|
|
6718
6768
|
export const MobileInlineModal: FC<MobileInlineModalProps>;
|
|
6719
6769
|
}
|
|
6720
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/
|
|
6721
|
-
import { FC } from 'react';
|
|
6722
|
-
|
|
6723
|
-
|
|
6770
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren" {
|
|
6771
|
+
import { FC, ReactNode } from 'react';
|
|
6772
|
+
export interface ModalBottomSheetWithStackedChildrenProps {
|
|
6773
|
+
addNewLayer: (children: (closeCurrentLayer: () => void) => ReactNode, onDismiss: (() => void) | undefined, initialBreakpoint: number) => void;
|
|
6774
|
+
closeCurrentLayer: () => void;
|
|
6775
|
+
closeAllLayers: () => void;
|
|
6776
|
+
}
|
|
6777
|
+
export const StackedChildrenContext: import("react").Context<ModalBottomSheetWithStackedChildrenProps>;
|
|
6778
|
+
export const ModalBottomSheetWithStackedChildren: FC<{
|
|
6779
|
+
className?: string;
|
|
6780
|
+
}>;
|
|
6724
6781
|
}
|
|
6725
6782
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet" {
|
|
6726
6783
|
import { ReactNode } from 'react';
|
|
@@ -6736,18 +6793,6 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet" {
|
|
|
6736
6793
|
}
|
|
6737
6794
|
export const ModalBottomSheet: import("react").ForwardRefExoticComponent<ModalBottomSheetProps & import("react").RefAttributes<HTMLIonModalElement>>;
|
|
6738
6795
|
}
|
|
6739
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren" {
|
|
6740
|
-
import { FC, ReactNode } from 'react';
|
|
6741
|
-
export interface ModalBottomSheetWithStackedChildrenProps {
|
|
6742
|
-
addNewLayer: (children: (closeCurrentLayer: () => void) => ReactNode, onDismiss: (() => void) | undefined, initialBreakpoint: number) => void;
|
|
6743
|
-
closeCurrentLayer: () => void;
|
|
6744
|
-
closeAllLayers: () => void;
|
|
6745
|
-
}
|
|
6746
|
-
export const StackedChildrenContext: import("react").Context<ModalBottomSheetWithStackedChildrenProps>;
|
|
6747
|
-
export const ModalBottomSheetWithStackedChildren: FC<{
|
|
6748
|
-
className?: string;
|
|
6749
|
-
}>;
|
|
6750
|
-
}
|
|
6751
6796
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/Modal" {
|
|
6752
6797
|
import { FC } from 'react';
|
|
6753
6798
|
import { DialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
@@ -6758,47 +6803,22 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Modal" {
|
|
|
6758
6803
|
}
|
|
6759
6804
|
export const Modal: FC<ModalProps>;
|
|
6760
6805
|
}
|
|
6761
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/
|
|
6762
|
-
import { FC } from 'react';
|
|
6763
|
-
import { DialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
6764
|
-
export const ConfirmationDialog: FC<Omit<DialogProps, 'onSave' | 'disableSave' | 'saveButtonLabel'> & {
|
|
6765
|
-
onConfirm?: () => void;
|
|
6766
|
-
confirmButtonLabel?: string;
|
|
6767
|
-
isDestructive?: boolean;
|
|
6768
|
-
description?: string;
|
|
6769
|
-
}>;
|
|
6770
|
-
}
|
|
6771
|
-
declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
|
|
6772
|
-
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
6806
|
+
declare module "libs/reach/ui/common/src/reach-2/surfaces/Panel" {
|
|
6773
6807
|
import { FC } from 'react';
|
|
6774
|
-
|
|
6775
|
-
export
|
|
6776
|
-
export interface BasePopoverProps {
|
|
6777
|
-
align?: BasePopoverAlignType;
|
|
6778
|
-
alignOffset?: number;
|
|
6779
|
-
anchor?: JSX.Element;
|
|
6780
|
-
className?: string;
|
|
6781
|
-
collisionPadding?: PopoverContentProps['collisionPadding'];
|
|
6782
|
-
isOpen?: boolean;
|
|
6783
|
-
onCloseAutoFocus?: (event: Event) => void;
|
|
6784
|
-
onOpenAutoFocus?: (event: Event) => void;
|
|
6785
|
-
onOpenChange?: (open: boolean) => void;
|
|
6786
|
-
side?: BasePopoverSideType;
|
|
6787
|
-
sideOffset?: number;
|
|
6788
|
-
trigger?: JSX.Element;
|
|
6789
|
-
}
|
|
6790
|
-
export const BasePopover: FC<BasePopoverProps>;
|
|
6808
|
+
import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
6809
|
+
export const Panel: FC<BaseDialogProps>;
|
|
6791
6810
|
}
|
|
6792
6811
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/index" {
|
|
6812
|
+
export { DialogType } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
6813
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
6814
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/BasePopover";
|
|
6815
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog";
|
|
6793
6816
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Dialog";
|
|
6794
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/Panel";
|
|
6795
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren";
|
|
6796
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet";
|
|
6797
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/Modal";
|
|
6798
6817
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal";
|
|
6799
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/
|
|
6800
|
-
export * from "libs/reach/ui/common/src/reach-2/surfaces/
|
|
6801
|
-
export
|
|
6818
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/Modal";
|
|
6819
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet";
|
|
6820
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren";
|
|
6821
|
+
export * from "libs/reach/ui/common/src/reach-2/surfaces/Panel";
|
|
6802
6822
|
}
|
|
6803
6823
|
declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
6804
6824
|
import { TagSize } from "libs/reach/ui/common/src/reach-2/tags/Tag";
|
|
@@ -7010,6 +7030,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
7010
7030
|
export * from "libs/reach/ui/common/src/reach-2/assets/index";
|
|
7011
7031
|
export * from "libs/reach/ui/common/src/reach-2/avatar/index";
|
|
7012
7032
|
export * from "libs/reach/ui/common/src/reach-2/buttons/index";
|
|
7033
|
+
export * from "libs/reach/ui/common/src/reach-2/carousel/index";
|
|
7013
7034
|
export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
|
|
7014
7035
|
export * from "libs/reach/ui/common/src/reach-2/divider/Divider";
|
|
7015
7036
|
export * from "libs/reach/ui/common/src/reach-2/icons/index";
|
|
@@ -12158,6 +12179,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/format/inde
|
|
|
12158
12179
|
export { FormatContextProvider, useFormatContext } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatContext";
|
|
12159
12180
|
}
|
|
12160
12181
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
12182
|
+
import { ICarouselImageProps } from "libs/reach/ui/common/src/index";
|
|
12161
12183
|
import { StreamAttachment } from "libs/reach/feature/content/src/stream/index";
|
|
12162
12184
|
export interface AttachmentStorageInfo {
|
|
12163
12185
|
attachmentContainerId?: string;
|
|
@@ -12165,12 +12187,14 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
|
12165
12187
|
postAttachments?: StreamAttachment[];
|
|
12166
12188
|
subscriptionId?: string;
|
|
12167
12189
|
}
|
|
12190
|
+
export type IEditorImage = ICarouselImageProps;
|
|
12168
12191
|
}
|
|
12169
12192
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFigure" {
|
|
12170
12193
|
import { Node } from '@tiptap/react';
|
|
12171
12194
|
import { AttachmentStorageInfo } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12172
12195
|
interface CustomFigureProps {
|
|
12173
12196
|
attachmentStorageInfo?: AttachmentStorageInfo;
|
|
12197
|
+
onImageClick?: (imageId: string) => void;
|
|
12174
12198
|
}
|
|
12175
12199
|
const CustomFigure: (props: CustomFigureProps) => Node<any, any>;
|
|
12176
12200
|
export default CustomFigure;
|
|
@@ -12187,11 +12211,13 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/Custo
|
|
|
12187
12211
|
}
|
|
12188
12212
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomGallery" {
|
|
12189
12213
|
import { Node } from '@tiptap/react';
|
|
12214
|
+
import { IEditorImage } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12190
12215
|
interface ICustomGallery {
|
|
12191
12216
|
onEditImages?: (files: {
|
|
12192
12217
|
caption: string;
|
|
12193
12218
|
id: string;
|
|
12194
12219
|
}[]) => void;
|
|
12220
|
+
setImagesStored?: (images: IEditorImage[]) => void;
|
|
12195
12221
|
}
|
|
12196
12222
|
const CustomGallery: (props: ICustomGallery) => Node;
|
|
12197
12223
|
export default CustomGallery;
|
|
@@ -12204,7 +12230,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/index
|
|
|
12204
12230
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor" {
|
|
12205
12231
|
import { Account } from "libs/reach/util/common/src/index";
|
|
12206
12232
|
import { Editor, FocusPosition } from '@tiptap/react';
|
|
12207
|
-
import { AttachmentStorageInfo } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12233
|
+
import { AttachmentStorageInfo, IEditorImage } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12208
12234
|
export const editorCharacterLimit = 1000;
|
|
12209
12235
|
export interface EnhancedRichTextEditorContent {
|
|
12210
12236
|
content?: string;
|
|
@@ -12230,16 +12256,18 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12230
12256
|
onAddImages?: (files: {
|
|
12231
12257
|
file: File;
|
|
12232
12258
|
}[], isDrop?: boolean) => Promise<void>;
|
|
12259
|
+
onCreate?: (editor: Editor) => void;
|
|
12233
12260
|
onEditImages?: (files: {
|
|
12234
12261
|
caption: string;
|
|
12235
12262
|
id: string;
|
|
12236
12263
|
}[]) => void;
|
|
12237
|
-
onCreate?: (editor: Editor) => void;
|
|
12238
12264
|
onFocus?: (editor: Editor) => void;
|
|
12265
|
+
onImageClick?: (imgSrc: string) => void;
|
|
12239
12266
|
onShortcut?: (shortcut: string) => void;
|
|
12240
|
-
onUpdate?: (content: EnhancedRichTextEditorContent | null) => void;
|
|
12241
12267
|
onTransaction?: (editor: Editor) => void;
|
|
12268
|
+
onUpdate?: (content: EnhancedRichTextEditorContent | null) => void;
|
|
12242
12269
|
placeholder?: string;
|
|
12270
|
+
setImagesStored?: (images: IEditorImage[]) => void;
|
|
12243
12271
|
shortcuts?: string[];
|
|
12244
12272
|
useHardBreak?: boolean;
|
|
12245
12273
|
}
|
|
@@ -12610,6 +12638,68 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentsList" {
|
|
|
12610
12638
|
itemId: string;
|
|
12611
12639
|
}>;
|
|
12612
12640
|
}
|
|
12641
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
|
|
12642
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
12643
|
+
import { Editor } from '@tiptap/react';
|
|
12644
|
+
import { FC } from 'react';
|
|
12645
|
+
interface IMentionsButtonProps {
|
|
12646
|
+
editor: Editor;
|
|
12647
|
+
getMentionsSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
12648
|
+
setShowMentions: (value: boolean) => void;
|
|
12649
|
+
shouldCenterPopover: boolean;
|
|
12650
|
+
showMentions: boolean;
|
|
12651
|
+
}
|
|
12652
|
+
const MentionsButton: FC<IMentionsButtonProps>;
|
|
12653
|
+
export default MentionsButton;
|
|
12654
|
+
}
|
|
12655
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor" {
|
|
12656
|
+
import { Editor } from '@tiptap/react';
|
|
12657
|
+
import { FC } from 'react';
|
|
12658
|
+
interface IContentRichTextEditor {
|
|
12659
|
+
className?: string;
|
|
12660
|
+
dialogPosition?: Partial<DOMRect> | null;
|
|
12661
|
+
editor: Editor;
|
|
12662
|
+
hidePlaceholder?: boolean;
|
|
12663
|
+
isReadOnly?: boolean;
|
|
12664
|
+
}
|
|
12665
|
+
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
12666
|
+
export default ContentRichTextEditor;
|
|
12667
|
+
}
|
|
12668
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/hooks/index" {
|
|
12669
|
+
export { default as useEditorActions } from "libs/reach/feature/content/src/reach-2/common/editor/hooks/useEditorActions";
|
|
12670
|
+
}
|
|
12671
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
12672
|
+
export const getTrimmedContent: (content: string) => string;
|
|
12673
|
+
export const getTrimmedFormattedContent: (formattedContent: string) => string;
|
|
12674
|
+
}
|
|
12675
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
12676
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12677
|
+
export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12678
|
+
export { default as MentionsButton } from "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton";
|
|
12679
|
+
export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
|
|
12680
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor";
|
|
12681
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor";
|
|
12682
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12683
|
+
export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12684
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/format/index";
|
|
12685
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
|
|
12686
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12687
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/utils";
|
|
12688
|
+
}
|
|
12689
|
+
declare module "libs/reach/feature/content/src/reach-2/common/carousel/CarouselModal" {
|
|
12690
|
+
import { FC } from 'react';
|
|
12691
|
+
import { IEditorImage } from "libs/reach/feature/content/src/reach-2/common/editor/index";
|
|
12692
|
+
interface ICarouselModalProps {
|
|
12693
|
+
imagesStored: IEditorImage[];
|
|
12694
|
+
onDismiss: () => void;
|
|
12695
|
+
selectedImageId: string;
|
|
12696
|
+
}
|
|
12697
|
+
const CarouselModal: FC<ICarouselModalProps>;
|
|
12698
|
+
export default CarouselModal;
|
|
12699
|
+
}
|
|
12700
|
+
declare module "libs/reach/feature/content/src/reach-2/common/carousel/index" {
|
|
12701
|
+
export { default as CarouselModal } from "libs/reach/feature/content/src/reach-2/common/carousel/CarouselModal";
|
|
12702
|
+
}
|
|
12613
12703
|
declare module "libs/reach/feature/content/src/reach-2/listItems/CopyLinkListItem" {
|
|
12614
12704
|
import { FC } from 'react';
|
|
12615
12705
|
interface CopyLinkListItemProps {
|
|
@@ -12764,54 +12854,6 @@ declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
|
12764
12854
|
export * from "libs/reach/feature/content/src/reach-2/comments/useCommentsQuery";
|
|
12765
12855
|
export * from "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent";
|
|
12766
12856
|
}
|
|
12767
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
|
|
12768
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
12769
|
-
import { Editor } from '@tiptap/react';
|
|
12770
|
-
import { FC } from 'react';
|
|
12771
|
-
interface IMentionsButtonProps {
|
|
12772
|
-
editor: Editor;
|
|
12773
|
-
getMentionsSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
12774
|
-
setShowMentions: (value: boolean) => void;
|
|
12775
|
-
shouldCenterPopover: boolean;
|
|
12776
|
-
showMentions: boolean;
|
|
12777
|
-
}
|
|
12778
|
-
const MentionsButton: FC<IMentionsButtonProps>;
|
|
12779
|
-
export default MentionsButton;
|
|
12780
|
-
}
|
|
12781
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor" {
|
|
12782
|
-
import { Editor } from '@tiptap/react';
|
|
12783
|
-
import { FC } from 'react';
|
|
12784
|
-
interface IContentRichTextEditor {
|
|
12785
|
-
className?: string;
|
|
12786
|
-
dialogPosition?: Partial<DOMRect> | null;
|
|
12787
|
-
editor: Editor;
|
|
12788
|
-
hidePlaceholder?: boolean;
|
|
12789
|
-
isReadOnly?: boolean;
|
|
12790
|
-
}
|
|
12791
|
-
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
12792
|
-
export default ContentRichTextEditor;
|
|
12793
|
-
}
|
|
12794
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/hooks/index" {
|
|
12795
|
-
export { default as useEditorActions } from "libs/reach/feature/content/src/reach-2/common/editor/hooks/useEditorActions";
|
|
12796
|
-
}
|
|
12797
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
12798
|
-
export const getTrimmedContent: (content: string) => string;
|
|
12799
|
-
export const getTrimmedFormattedContent: (formattedContent: string) => string;
|
|
12800
|
-
}
|
|
12801
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
12802
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12803
|
-
export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12804
|
-
export { default as MentionsButton } from "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton";
|
|
12805
|
-
export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
|
|
12806
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor";
|
|
12807
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor";
|
|
12808
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12809
|
-
export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12810
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/format/index";
|
|
12811
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
|
|
12812
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12813
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/utils";
|
|
12814
|
-
}
|
|
12815
12857
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/utils" {
|
|
12816
12858
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
12817
12859
|
export enum TextStylingOptions {
|
|
@@ -13080,10 +13122,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/index" {
|
|
|
13080
13122
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/common/index";
|
|
13081
13123
|
}
|
|
13082
13124
|
declare module "libs/reach/feature/content/src/reach-2/common/index" {
|
|
13125
|
+
export * from "libs/reach/feature/content/src/reach-2/common/carousel/index";
|
|
13083
13126
|
export * from "libs/reach/feature/content/src/reach-2/common/detail/index";
|
|
13127
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/index";
|
|
13084
13128
|
export * from "libs/reach/feature/content/src/reach-2/common/feedback/index";
|
|
13085
13129
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/index";
|
|
13086
|
-
export * from "libs/reach/feature/content/src/reach-2/common/editor/index";
|
|
13087
13130
|
}
|
|
13088
13131
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton" {
|
|
13089
13132
|
import { FC } from 'react';
|