@livetiles/reach-plugin-types 0.5.0-preview.956 → 0.5.0-preview.958
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 +190 -183
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5941,61 +5941,6 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
|
5941
5941
|
export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
|
|
5942
5942
|
export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
|
|
5943
5943
|
}
|
|
5944
|
-
declare module "libs/reach/ui/common/src/reach-2/icons/IconHost" {
|
|
5945
|
-
import { FC } from 'react';
|
|
5946
|
-
interface IconHostProps {
|
|
5947
|
-
icon: JSX.Element;
|
|
5948
|
-
size?: number;
|
|
5949
|
-
}
|
|
5950
|
-
const IconHost: FC<IconHostProps>;
|
|
5951
|
-
export default IconHost;
|
|
5952
|
-
}
|
|
5953
|
-
declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
|
|
5954
|
-
import { FC } from 'react';
|
|
5955
|
-
export const Skeleton: FC<{
|
|
5956
|
-
className?: string;
|
|
5957
|
-
}>;
|
|
5958
|
-
export const SkeletonInlineGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5959
|
-
gap?: number;
|
|
5960
|
-
}, never>;
|
|
5961
|
-
export const SkeletonBlockGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5962
|
-
gap?: number;
|
|
5963
|
-
marginTop?: number;
|
|
5964
|
-
}, never>;
|
|
5965
|
-
export const SkeletonAvatar: FC<{
|
|
5966
|
-
size?: number;
|
|
5967
|
-
}>;
|
|
5968
|
-
export const SkeletonLine: FC<{
|
|
5969
|
-
width?: number | string;
|
|
5970
|
-
height?: number;
|
|
5971
|
-
}>;
|
|
5972
|
-
export const Line: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5973
|
-
width?: string;
|
|
5974
|
-
height?: number;
|
|
5975
|
-
}, never>;
|
|
5976
|
-
}
|
|
5977
|
-
declare module "libs/reach/ui/common/src/reach-2/progress/PageScrollIndicator" {
|
|
5978
|
-
import { FC } from 'react';
|
|
5979
|
-
export const PageScrollIndicator: FC;
|
|
5980
|
-
}
|
|
5981
|
-
declare module "libs/reach/ui/common/src/reach-2/Icon" {
|
|
5982
|
-
import { FC, SVGProps } from 'react';
|
|
5983
|
-
export enum IconLabelDirection {
|
|
5984
|
-
Row = "row",
|
|
5985
|
-
Column = "column"
|
|
5986
|
-
}
|
|
5987
|
-
export interface IconProps {
|
|
5988
|
-
defaultSVG: SVGProps<SVGElement>;
|
|
5989
|
-
hoveredSVG?: SVGProps<SVGElement>;
|
|
5990
|
-
label?: string | number;
|
|
5991
|
-
labelDirection?: IconLabelDirection;
|
|
5992
|
-
labelGap?: number;
|
|
5993
|
-
reverseIcon?: boolean;
|
|
5994
|
-
size?: number;
|
|
5995
|
-
className?: string;
|
|
5996
|
-
}
|
|
5997
|
-
export const Icon: FC<IconProps>;
|
|
5998
|
-
}
|
|
5999
5944
|
declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
6000
5945
|
export { ReactComponent as AddActiveIcon } from './assets/add-active.svg';
|
|
6001
5946
|
export { ReactComponent as AddIcon } from './assets/add.svg';
|
|
@@ -6094,6 +6039,86 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6094
6039
|
export { ReactComponent as UploadIcon } from './assets/upload.svg';
|
|
6095
6040
|
export { ReactComponent as WindowsIcon } from './assets/windows.svg';
|
|
6096
6041
|
}
|
|
6042
|
+
declare module "libs/reach/ui/common/src/reach-2/Icon" {
|
|
6043
|
+
import { FC, SVGProps } from 'react';
|
|
6044
|
+
export enum IconLabelDirection {
|
|
6045
|
+
Row = "row",
|
|
6046
|
+
Column = "column"
|
|
6047
|
+
}
|
|
6048
|
+
export interface IconProps {
|
|
6049
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6050
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6051
|
+
label?: string | number;
|
|
6052
|
+
labelDirection?: IconLabelDirection;
|
|
6053
|
+
labelGap?: number;
|
|
6054
|
+
reverseIcon?: boolean;
|
|
6055
|
+
size?: number;
|
|
6056
|
+
className?: string;
|
|
6057
|
+
}
|
|
6058
|
+
export const Icon: FC<IconProps>;
|
|
6059
|
+
}
|
|
6060
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconActionButton" {
|
|
6061
|
+
import { MouseEventHandler, SVGProps } from 'react';
|
|
6062
|
+
import { IconProps } from "libs/reach/ui/common/src/reach-2/Icon";
|
|
6063
|
+
export interface IconActionButtonProps extends Omit<IconProps, 'size'> {
|
|
6064
|
+
disabled?: boolean;
|
|
6065
|
+
domIdentifier?: string;
|
|
6066
|
+
iconSize?: number;
|
|
6067
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
6068
|
+
secondarySVG?: SVGProps<SVGElement>;
|
|
6069
|
+
}
|
|
6070
|
+
export const IconActionButton: import("react").ForwardRefExoticComponent<IconActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6071
|
+
}
|
|
6072
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
|
|
6073
|
+
import { FC } from 'react';
|
|
6074
|
+
export const PageBackButton: FC<{
|
|
6075
|
+
navigateTo?: string;
|
|
6076
|
+
onBeforeClose?: () => void;
|
|
6077
|
+
className?: string;
|
|
6078
|
+
}>;
|
|
6079
|
+
export const BackButton: FC<{
|
|
6080
|
+
onClick?: () => void;
|
|
6081
|
+
className?: string;
|
|
6082
|
+
}>;
|
|
6083
|
+
}
|
|
6084
|
+
declare module "libs/reach/ui/common/src/reach-2/icons/IconHost" {
|
|
6085
|
+
import { FC, SVGProps } from 'react';
|
|
6086
|
+
interface IconHostProps {
|
|
6087
|
+
className?: string;
|
|
6088
|
+
icon: SVGProps<SVGElement>;
|
|
6089
|
+
size?: number;
|
|
6090
|
+
}
|
|
6091
|
+
const IconHost: FC<IconHostProps>;
|
|
6092
|
+
export default IconHost;
|
|
6093
|
+
}
|
|
6094
|
+
declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
|
|
6095
|
+
import { FC } from 'react';
|
|
6096
|
+
export const Skeleton: FC<{
|
|
6097
|
+
className?: string;
|
|
6098
|
+
}>;
|
|
6099
|
+
export const SkeletonInlineGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6100
|
+
gap?: number;
|
|
6101
|
+
}, never>;
|
|
6102
|
+
export const SkeletonBlockGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6103
|
+
gap?: number;
|
|
6104
|
+
marginTop?: number;
|
|
6105
|
+
}, never>;
|
|
6106
|
+
export const SkeletonAvatar: FC<{
|
|
6107
|
+
size?: number;
|
|
6108
|
+
}>;
|
|
6109
|
+
export const SkeletonLine: FC<{
|
|
6110
|
+
width?: number | string;
|
|
6111
|
+
height?: number;
|
|
6112
|
+
}>;
|
|
6113
|
+
export const Line: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6114
|
+
width?: string;
|
|
6115
|
+
height?: number;
|
|
6116
|
+
}, never>;
|
|
6117
|
+
}
|
|
6118
|
+
declare module "libs/reach/ui/common/src/reach-2/progress/PageScrollIndicator" {
|
|
6119
|
+
import { FC } from 'react';
|
|
6120
|
+
export const PageScrollIndicator: FC;
|
|
6121
|
+
}
|
|
6097
6122
|
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
6098
6123
|
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
6099
6124
|
}
|
|
@@ -6138,30 +6163,51 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
|
6138
6163
|
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6139
6164
|
export const BaseButtonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
6140
6165
|
}
|
|
6141
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/
|
|
6142
|
-
|
|
6143
|
-
export
|
|
6144
|
-
|
|
6145
|
-
|
|
6166
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton" {
|
|
6167
|
+
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6168
|
+
export interface ContentActionButtonProps extends IconActionButtonProps {
|
|
6169
|
+
isSelected?: boolean;
|
|
6170
|
+
}
|
|
6171
|
+
export const ContentActionButton: import("react").ForwardRefExoticComponent<ContentActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6146
6172
|
}
|
|
6147
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/
|
|
6173
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton" {
|
|
6174
|
+
import { FC } from 'react';
|
|
6175
|
+
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6176
|
+
interface FloatingActionButtonProps extends IconActionButtonProps {
|
|
6177
|
+
offsetRight?: number;
|
|
6178
|
+
offsetBottom?: number;
|
|
6179
|
+
}
|
|
6180
|
+
const FloatingActionButton: FC<FloatingActionButtonProps>;
|
|
6181
|
+
export default FloatingActionButton;
|
|
6182
|
+
}
|
|
6183
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconButton" {
|
|
6148
6184
|
import { MouseEventHandler, SVGProps } from 'react';
|
|
6149
|
-
|
|
6150
|
-
|
|
6185
|
+
export interface BaseIconButtonProps {
|
|
6186
|
+
className?: string;
|
|
6187
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6151
6188
|
disabled?: boolean;
|
|
6152
6189
|
domIdentifier?: string;
|
|
6190
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6153
6191
|
iconSize?: number;
|
|
6154
6192
|
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
6155
|
-
secondarySVG?: SVGProps<SVGElement>;
|
|
6156
6193
|
}
|
|
6157
|
-
|
|
6194
|
+
const BaseIconButton: import("react").ForwardRefExoticComponent<BaseIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6195
|
+
export default BaseIconButton;
|
|
6158
6196
|
}
|
|
6159
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/
|
|
6160
|
-
import {
|
|
6161
|
-
export
|
|
6197
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/IconButton" {
|
|
6198
|
+
import { MouseEventHandler, SVGProps } from 'react';
|
|
6199
|
+
export type IconButtonSizeType = 'Large' | 'Medium' | 'Small';
|
|
6200
|
+
export interface IconButtonProps {
|
|
6201
|
+
buttonSize?: IconButtonSizeType;
|
|
6202
|
+
className?: string;
|
|
6203
|
+
defaultSVG: SVGProps<SVGElement>;
|
|
6204
|
+
disabled?: boolean;
|
|
6205
|
+
hoveredSVG?: SVGProps<SVGElement>;
|
|
6162
6206
|
isSelected?: boolean;
|
|
6207
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6163
6208
|
}
|
|
6164
|
-
|
|
6209
|
+
const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6210
|
+
export default IconButton;
|
|
6165
6211
|
}
|
|
6166
6212
|
declare module "libs/reach/ui/common/src/reach-2/buttons/IconNavLink" {
|
|
6167
6213
|
import { FC, MouseEvent } from 'react';
|
|
@@ -6171,50 +6217,6 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/IconNavLink" {
|
|
|
6171
6217
|
onClick?: (e: MouseEvent<HTMLAnchorElement>) => void;
|
|
6172
6218
|
}>;
|
|
6173
6219
|
}
|
|
6174
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/BackButton" {
|
|
6175
|
-
import { FC } from 'react';
|
|
6176
|
-
export const PageBackButton: FC<{
|
|
6177
|
-
navigateTo?: string;
|
|
6178
|
-
onBeforeClose?: () => void;
|
|
6179
|
-
className?: string;
|
|
6180
|
-
}>;
|
|
6181
|
-
export const BackButton: FC<{
|
|
6182
|
-
onClick?: () => void;
|
|
6183
|
-
className?: string;
|
|
6184
|
-
}>;
|
|
6185
|
-
}
|
|
6186
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseIconicButton" {
|
|
6187
|
-
import { MouseEventHandler, SVGProps } from 'react';
|
|
6188
|
-
export type BaseIconicButtonSizeType = 'Default' | 'Small' | 'Large';
|
|
6189
|
-
export interface BaseIconicButtonProps {
|
|
6190
|
-
defaultSVG: SVGProps<SVGElement>;
|
|
6191
|
-
hoveredSVG?: SVGProps<SVGElement>;
|
|
6192
|
-
buttonSize?: BaseIconicButtonSizeType;
|
|
6193
|
-
disabled?: boolean;
|
|
6194
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6195
|
-
className?: string;
|
|
6196
|
-
}
|
|
6197
|
-
export const BaseIconicButton: import("react").ForwardRefExoticComponent<BaseIconicButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6198
|
-
}
|
|
6199
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/IconicButtons" {
|
|
6200
|
-
import { BaseIconicButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/BaseIconicButton";
|
|
6201
|
-
export const PrimaryIconicButton: import("react").ForwardRefExoticComponent<BaseIconicButtonProps & {
|
|
6202
|
-
isSelected?: boolean;
|
|
6203
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6204
|
-
export const SecondaryIconicButton: import("react").ForwardRefExoticComponent<BaseIconicButtonProps & {
|
|
6205
|
-
isSelected?: boolean;
|
|
6206
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6207
|
-
}
|
|
6208
|
-
declare module "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton" {
|
|
6209
|
-
import { FC } from 'react';
|
|
6210
|
-
import { IconActionButtonProps } from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6211
|
-
interface FloatingActionButtonProps extends IconActionButtonProps {
|
|
6212
|
-
offsetRight?: number;
|
|
6213
|
-
offsetBottom?: number;
|
|
6214
|
-
}
|
|
6215
|
-
const FloatingActionButton: FC<FloatingActionButtonProps>;
|
|
6216
|
-
export default FloatingActionButton;
|
|
6217
|
-
}
|
|
6218
6220
|
declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
6219
6221
|
import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
|
|
6220
6222
|
const variantMapping: {
|
|
@@ -6287,17 +6289,22 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/ProfileButton" {
|
|
|
6287
6289
|
const ProfileButton: FC<IProfileButtonProps>;
|
|
6288
6290
|
export default ProfileButton;
|
|
6289
6291
|
}
|
|
6292
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/StandardButtons" {
|
|
6293
|
+
export const PrimaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6294
|
+
export const SecondaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6295
|
+
export const TertiaryButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6296
|
+
export const LinkButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("libs/reach/ui/common/src/reach-2/buttons/BaseButton").BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6297
|
+
}
|
|
6290
6298
|
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
6291
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6292
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6293
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6294
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6295
6299
|
export * from "libs/reach/ui/common/src/reach-2/buttons/BackButton";
|
|
6296
6300
|
export { BaseButtonStyle } from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
6297
|
-
export * from "libs/reach/ui/common/src/reach-2/buttons/
|
|
6301
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/ContentActionButton";
|
|
6298
6302
|
export { default as FloatingActionButton } from "libs/reach/ui/common/src/reach-2/buttons/FloatingActionButton";
|
|
6303
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconActionButton";
|
|
6304
|
+
export { default as IconButton2 } from "libs/reach/ui/common/src/reach-2/buttons/IconButton";
|
|
6305
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/IconNavLink";
|
|
6299
6306
|
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6300
|
-
export
|
|
6307
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButtons";
|
|
6301
6308
|
}
|
|
6302
6309
|
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
6303
6310
|
import { FC } from 'react';
|
|
@@ -8394,7 +8401,7 @@ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicke
|
|
|
8394
8401
|
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
8395
8402
|
export interface KeywordPickerProps {
|
|
8396
8403
|
value?: Keyword[] | string[];
|
|
8397
|
-
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
8404
|
+
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator, checkAll?: boolean) => void;
|
|
8398
8405
|
showSelectionToggle?: boolean;
|
|
8399
8406
|
availableKeywords?: Keyword[];
|
|
8400
8407
|
mandatoryKeywordIds?: string[];
|
|
@@ -11409,64 +11416,19 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/Bookmark
|
|
|
11409
11416
|
iconSize?: number;
|
|
11410
11417
|
}>;
|
|
11411
11418
|
}
|
|
11412
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
11413
|
-
export function useTransformedCommentContent(commentContent?: string, formattedContent?: string): string;
|
|
11414
|
-
}
|
|
11415
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar" {
|
|
11419
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor" {
|
|
11416
11420
|
import { FC } from 'react';
|
|
11417
11421
|
import { Editor } from '@tiptap/react';
|
|
11418
|
-
export
|
|
11422
|
+
export interface CommentRichTextEditorStyles {
|
|
11423
|
+
minHeight?: number;
|
|
11424
|
+
maxHeight?: number;
|
|
11425
|
+
}
|
|
11426
|
+
const CommentRichTextEditor: FC<{
|
|
11419
11427
|
editor: Editor;
|
|
11420
|
-
|
|
11421
|
-
}
|
|
11422
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
|
|
11423
|
-
import { FC } from 'react';
|
|
11424
|
-
export const CommentEditorOverlay: FC<{
|
|
11425
|
-
isOpen?: boolean;
|
|
11426
|
-
onCloseOverlay: () => void;
|
|
11427
|
-
overlayContent?: (onCloseOverlay: () => void) => JSX.Element;
|
|
11428
|
-
className?: string;
|
|
11429
|
-
}>;
|
|
11430
|
-
}
|
|
11431
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
11432
|
-
import { FC } from 'react';
|
|
11433
|
-
import { BaseEmoji } from 'emoji-mart';
|
|
11434
|
-
const EmojiPicker: FC<{
|
|
11435
|
-
onSelect: (emoji: BaseEmoji) => void;
|
|
11436
|
-
}>;
|
|
11437
|
-
export default EmojiPicker;
|
|
11438
|
-
}
|
|
11439
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
11440
|
-
import { FC } from 'react';
|
|
11441
|
-
import 'emoji-mart/css/emoji-mart.css';
|
|
11442
|
-
export const EmojiEditor: FC<{
|
|
11443
|
-
onEmojiSelect: (emoji: string) => void;
|
|
11444
|
-
onCloseOverlay?: () => void;
|
|
11445
|
-
}>;
|
|
11446
|
-
}
|
|
11447
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionSuggestions" {
|
|
11448
|
-
import { FC } from 'react';
|
|
11449
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
11450
|
-
interface MentionSuggestionsProps {
|
|
11451
|
-
items: Account[];
|
|
11452
|
-
selectSuggestion: (index: number, suggestion: Account) => void;
|
|
11453
|
-
isSuggestionSelected?: (index: number, suggestion: Account) => boolean;
|
|
11454
|
-
isLoading?: boolean;
|
|
11428
|
+
styles?: CommentRichTextEditorStyles;
|
|
11455
11429
|
className?: string;
|
|
11456
|
-
}
|
|
11457
|
-
export const MentionSuggestions: FC<MentionSuggestionsProps>;
|
|
11458
|
-
}
|
|
11459
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
11460
|
-
import { FC } from 'react';
|
|
11461
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
11462
|
-
export const MentionsEditor: FC<{
|
|
11463
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11464
|
-
onMentionSelect: (mention: {
|
|
11465
|
-
id: string;
|
|
11466
|
-
label: string;
|
|
11467
|
-
}) => void;
|
|
11468
|
-
onCloseOverlay: () => void;
|
|
11469
11430
|
}>;
|
|
11431
|
+
export default CommentRichTextEditor;
|
|
11470
11432
|
}
|
|
11471
11433
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/SuggestionsPopover" {
|
|
11472
11434
|
interface MentionsWithSuggestionsPopoverProps {
|
|
@@ -11484,6 +11446,18 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/
|
|
|
11484
11446
|
const EmojiExtension: Extension<any, any>;
|
|
11485
11447
|
export default EmojiExtension;
|
|
11486
11448
|
}
|
|
11449
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionSuggestions" {
|
|
11450
|
+
import { FC } from 'react';
|
|
11451
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
11452
|
+
interface MentionSuggestionsProps {
|
|
11453
|
+
items: Account[];
|
|
11454
|
+
selectSuggestion: (index: number, suggestion: Account) => void;
|
|
11455
|
+
isSuggestionSelected?: (index: number, suggestion: Account) => boolean;
|
|
11456
|
+
isLoading?: boolean;
|
|
11457
|
+
className?: string;
|
|
11458
|
+
}
|
|
11459
|
+
export const MentionSuggestions: FC<MentionSuggestionsProps>;
|
|
11460
|
+
}
|
|
11487
11461
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/MentionExtension" {
|
|
11488
11462
|
import { MutableRefObject } from 'react';
|
|
11489
11463
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -11573,23 +11547,56 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
11573
11547
|
const _default: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
|
|
11574
11548
|
export default _default;
|
|
11575
11549
|
}
|
|
11576
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/
|
|
11550
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
11551
|
+
import { FC } from 'react';
|
|
11552
|
+
import { BaseEmoji } from 'emoji-mart';
|
|
11553
|
+
const EmojiPicker: FC<{
|
|
11554
|
+
onSelect: (emoji: BaseEmoji) => void;
|
|
11555
|
+
}>;
|
|
11556
|
+
export default EmojiPicker;
|
|
11557
|
+
}
|
|
11558
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
11577
11559
|
import { FC } from 'react';
|
|
11560
|
+
import 'emoji-mart/css/emoji-mart.css';
|
|
11561
|
+
export const EmojiEditor: FC<{
|
|
11562
|
+
onEmojiSelect: (emoji: string) => void;
|
|
11563
|
+
onCloseOverlay?: () => void;
|
|
11564
|
+
}>;
|
|
11565
|
+
}
|
|
11566
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
11567
|
+
import { FC } from 'react';
|
|
11568
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
11569
|
+
export const MentionsEditor: FC<{
|
|
11570
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11571
|
+
onMentionSelect: (mention: {
|
|
11572
|
+
id: string;
|
|
11573
|
+
label: string;
|
|
11574
|
+
}) => void;
|
|
11575
|
+
onCloseOverlay: () => void;
|
|
11576
|
+
}>;
|
|
11577
|
+
}
|
|
11578
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
|
|
11579
|
+
import { FC } from 'react';
|
|
11580
|
+
export const CommentEditorOverlay: FC<{
|
|
11581
|
+
isOpen?: boolean;
|
|
11582
|
+
onCloseOverlay: () => void;
|
|
11583
|
+
overlayContent?: (onCloseOverlay: () => void) => JSX.Element;
|
|
11584
|
+
className?: string;
|
|
11585
|
+
}>;
|
|
11586
|
+
}
|
|
11587
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar" {
|
|
11578
11588
|
import { Editor } from '@tiptap/react';
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
maxHeight?: number;
|
|
11582
|
-
}
|
|
11583
|
-
const CommentRichTextEditor: FC<{
|
|
11589
|
+
import { FC } from 'react';
|
|
11590
|
+
export const CommentFormattingToolbar: FC<{
|
|
11584
11591
|
editor: Editor;
|
|
11585
|
-
styles?: CommentRichTextEditorStyles;
|
|
11586
|
-
className?: string;
|
|
11587
11592
|
}>;
|
|
11588
|
-
|
|
11593
|
+
}
|
|
11594
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent" {
|
|
11595
|
+
export function useTransformedCommentContent(commentContent?: string, formattedContent?: string): string;
|
|
11589
11596
|
}
|
|
11590
11597
|
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditor" {
|
|
11591
|
-
import { FC } from 'react';
|
|
11592
11598
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
11599
|
+
import { FC } from 'react';
|
|
11593
11600
|
interface BaseCommentEditorProps {
|
|
11594
11601
|
onSave: (newContent: {
|
|
11595
11602
|
formattedContent?: string;
|