@livetiles/reach-plugin-types 0.5.0-preview.1123 → 0.5.0-preview.1125
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 +22 -12
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6134,17 +6134,19 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
|
6134
6134
|
export default GroupAvatar;
|
|
6135
6135
|
}
|
|
6136
6136
|
declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
|
|
6137
|
-
import { FC } from 'react';
|
|
6138
6137
|
import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
|
|
6139
6138
|
interface IProps {
|
|
6140
6139
|
className?: string;
|
|
6141
6140
|
displayName: string;
|
|
6141
|
+
onClick?: () => void;
|
|
6142
|
+
onMouseLeave?: () => void;
|
|
6143
|
+
onMouseOver?: () => void;
|
|
6142
6144
|
size?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
6143
6145
|
subtitle?: string | JSX.Element;
|
|
6144
6146
|
title: string;
|
|
6145
6147
|
userPrincipalName: string;
|
|
6146
6148
|
}
|
|
6147
|
-
const Persona:
|
|
6149
|
+
const Persona: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6148
6150
|
export default Persona;
|
|
6149
6151
|
}
|
|
6150
6152
|
declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
|
|
@@ -6706,13 +6708,14 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Panel" {
|
|
|
6706
6708
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheet" {
|
|
6707
6709
|
import { ReactNode } from 'react';
|
|
6708
6710
|
export interface ModalBottomSheetProps {
|
|
6709
|
-
isOpen?: boolean;
|
|
6710
|
-
onDismiss?: () => void;
|
|
6711
|
-
initialBreakpoint: number;
|
|
6712
6711
|
breakpoints?: number[];
|
|
6713
|
-
neverStackChildren?: boolean;
|
|
6714
6712
|
children?: (closeCurrentLayer: () => void) => ReactNode;
|
|
6715
6713
|
className?: string;
|
|
6714
|
+
initialBreakpoint: number;
|
|
6715
|
+
isOpen?: boolean;
|
|
6716
|
+
neverStackChildren?: boolean;
|
|
6717
|
+
onDismiss?: () => void;
|
|
6718
|
+
title?: string;
|
|
6716
6719
|
}
|
|
6717
6720
|
export const ModalBottomSheet: import("react").ForwardRefExoticComponent<ModalBottomSheetProps & import("react").RefAttributes<HTMLIonModalElement>>;
|
|
6718
6721
|
}
|
|
@@ -12000,22 +12003,28 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/like/ind
|
|
|
12000
12003
|
export { default as LikeButton } from "libs/reach/feature/content/src/reach-2/buttons/feedback/like/LikeButton";
|
|
12001
12004
|
}
|
|
12002
12005
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/UserDetails" {
|
|
12006
|
+
import { AvatarSize } from "libs/reach/ui/common/src/index";
|
|
12003
12007
|
import { FC } from 'react';
|
|
12004
12008
|
interface IUserDetailsProps {
|
|
12009
|
+
avatarSize?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
12005
12010
|
id: string;
|
|
12006
12011
|
}
|
|
12007
12012
|
const UserDetails: FC<IUserDetailsProps>;
|
|
12008
12013
|
export default UserDetails;
|
|
12009
12014
|
}
|
|
12010
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/
|
|
12015
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/UserProfile" {
|
|
12016
|
+
import { AvatarSize } from "libs/reach/ui/common/src/index";
|
|
12011
12017
|
import { FC } from 'react';
|
|
12012
|
-
interface
|
|
12013
|
-
|
|
12014
|
-
|
|
12018
|
+
interface IUserProfileProps {
|
|
12019
|
+
avatarSize?: AvatarSize.sm | AvatarSize.md | AvatarSize.lg;
|
|
12020
|
+
dialogPosition?: Partial<DOMRect> | null;
|
|
12021
|
+
position: Partial<DOMRect> | null;
|
|
12022
|
+
onDismiss?: () => void;
|
|
12023
|
+
onPopoverOpenChange?: (open: boolean) => void;
|
|
12015
12024
|
userId: string;
|
|
12016
12025
|
}
|
|
12017
|
-
const
|
|
12018
|
-
export default
|
|
12026
|
+
const UserProfile: FC<IUserProfileProps>;
|
|
12027
|
+
export default UserProfile;
|
|
12019
12028
|
}
|
|
12020
12029
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor" {
|
|
12021
12030
|
import { Editor } from '@tiptap/react';
|
|
@@ -12760,6 +12769,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12760
12769
|
import { FC } from 'react';
|
|
12761
12770
|
interface IContentRichTextEditor {
|
|
12762
12771
|
className?: string;
|
|
12772
|
+
dialogPosition?: Partial<DOMRect> | null;
|
|
12763
12773
|
editor: Editor;
|
|
12764
12774
|
hidePlaceholder?: boolean;
|
|
12765
12775
|
isFullscreen?: boolean;
|