@livetiles/reach-plugin-types 0.5.0-preview.516 → 0.5.0-preview.518
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 +18 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5779,6 +5779,22 @@ declare module "libs/reach/ui/common/src/reach-2/Panel" {
|
|
|
5779
5779
|
import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/BaseDialog";
|
|
5780
5780
|
export const Panel: FC<BaseDialogProps>;
|
|
5781
5781
|
}
|
|
5782
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/BaseButton" {
|
|
5783
|
+
import { MouseEventHandler } from 'react';
|
|
5784
|
+
export type BaseButtonSizeType = 'Default' | 'Small';
|
|
5785
|
+
export interface BaseButtonProps {
|
|
5786
|
+
size?: BaseButtonSizeType;
|
|
5787
|
+
label?: string;
|
|
5788
|
+
icon?: JSX.Element;
|
|
5789
|
+
disabled?: boolean;
|
|
5790
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
5791
|
+
className?: string;
|
|
5792
|
+
}
|
|
5793
|
+
export const BaseButton: import("react").ForwardRefExoticComponent<BaseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5794
|
+
}
|
|
5795
|
+
declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
5796
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/BaseButton";
|
|
5797
|
+
}
|
|
5782
5798
|
declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
5783
5799
|
export * from "libs/reach/ui/common/src/reach-2/Icon";
|
|
5784
5800
|
export * from "libs/reach/ui/common/src/reach-2/icons/index";
|
|
@@ -5788,6 +5804,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
5788
5804
|
export * from "libs/reach/ui/common/src/reach-2/ModalBottomSheetWithStackedChildren";
|
|
5789
5805
|
export * from "libs/reach/ui/common/src/reach-2/Dialog";
|
|
5790
5806
|
export * from "libs/reach/ui/common/src/reach-2/Panel";
|
|
5807
|
+
export * from "libs/reach/ui/common/src/reach-2/buttons/index";
|
|
5791
5808
|
}
|
|
5792
5809
|
declare module "libs/reach/ui/common/src/index" {
|
|
5793
5810
|
export * from "libs/reach/ui/common/src/LegacyDialog";
|
|
@@ -7888,7 +7905,7 @@ declare module "libs/reach/feature/content/src/comments/useCommentsPageLoader" {
|
|
|
7888
7905
|
type loadNextPageType = () => unknown;
|
|
7889
7906
|
type setCommentsType = (updateComments: (prevComments: Comment[]) => Comment[]) => unknown;
|
|
7890
7907
|
type hasMoreUnreadCommentsType = boolean;
|
|
7891
|
-
export function useCommentsPageLoader(type: ItemResourceTypes, scope: ConversationScope, itemId: string, pageSize: number, initialPageSize: number, initialComments?: PaginatedList<Comment>, preventLoading?: boolean, threadId?: string, shouldNotRefreshUserDetails?: boolean): [
|
|
7908
|
+
export function useCommentsPageLoader(type: ItemResourceTypes, scope: ConversationScope, itemId: string, pageSize: number, initialPageSize: number, initialComments?: PaginatedList<Comment>, preventLoading?: boolean, threadId?: string, shouldNotRefreshUserDetails?: boolean, shouldNotReverseOrder?: boolean): [
|
|
7892
7909
|
Comment[],
|
|
7893
7910
|
isLoadingType,
|
|
7894
7911
|
hasNextPageType,
|