@spaceandtimelabs/makeinfinite-ui 0.53.2 → 0.53.4
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/dist/index.d.ts +22 -19
- package/dist/makeinfinite-ui.es.js +23994 -23769
- package/dist/makeinfinite-ui.umd.js +79 -153
- package/package.json +10 -6
package/dist/index.d.ts
CHANGED
|
@@ -13,9 +13,8 @@ import { Context } from 'react';
|
|
|
13
13
|
import { ContextMenu as ContextMenu_2 } from 'radix-ui';
|
|
14
14
|
import { ControllerProps } from 'react-hook-form';
|
|
15
15
|
import { DayPicker } from 'react-day-picker';
|
|
16
|
-
import { default as default_2 } from '
|
|
17
|
-
import { default as default_3 } from 'react';
|
|
18
|
-
import { default as default_4 } from 'embla-carousel-react';
|
|
16
|
+
import { default as default_2 } from 'react';
|
|
17
|
+
import { default as default_3 } from 'embla-carousel-react';
|
|
19
18
|
import { DetailedHTMLProps } from 'react';
|
|
20
19
|
import { Dialog } from 'radix-ui';
|
|
21
20
|
import { DialogCloseProps } from '@radix-ui/react-dialog';
|
|
@@ -169,7 +168,7 @@ export declare const APIProxyHandler: (baseUrl: string) => {
|
|
|
169
168
|
}[]>;
|
|
170
169
|
};
|
|
171
170
|
|
|
172
|
-
export declare const applySxtIgnore: (files: string[], pfs:
|
|
171
|
+
export declare const applySxtIgnore: (files: string[], pfs: any, dir: string) => Promise<string[]>;
|
|
173
172
|
|
|
174
173
|
declare const AspectRatio: ForwardRefExoticComponent<AspectRatio_2.AspectRatioProps & RefAttributes<HTMLDivElement>>;
|
|
175
174
|
|
|
@@ -245,10 +244,10 @@ declare const CarouselNext: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAt
|
|
|
245
244
|
declare const CarouselPrevious: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
246
245
|
|
|
247
246
|
declare type CarouselProps = {
|
|
248
|
-
opts?: Parameters<typeof
|
|
249
|
-
plugins?: Parameters<typeof
|
|
247
|
+
opts?: Parameters<typeof default_3>[0];
|
|
248
|
+
plugins?: Parameters<typeof default_3>[1];
|
|
250
249
|
orientation?: "horizontal" | "vertical";
|
|
251
|
-
setApi?: (api: NonNullable<ReturnType<typeof
|
|
250
|
+
setApi?: (api: NonNullable<ReturnType<typeof default_3>[1]>) => void;
|
|
252
251
|
};
|
|
253
252
|
|
|
254
253
|
declare const Checkbox: ForwardRefExoticComponent<Omit<Checkbox_2.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
@@ -872,13 +871,17 @@ export declare const getHeadCommit: (projectName: string) => Promise<string>;
|
|
|
872
871
|
|
|
873
872
|
export declare const getRedoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
874
873
|
|
|
875
|
-
export declare const getTags: (projectName: string, projectUrl: string,
|
|
874
|
+
export declare const getTags: (projectName: string, projectUrl: string, { fetch }?: GetTagsOptions) => Promise<{
|
|
876
875
|
tag: string;
|
|
877
876
|
targetCommitTimestamp: number;
|
|
878
877
|
targetCommit: string;
|
|
879
878
|
ref: string;
|
|
880
879
|
}[]>;
|
|
881
880
|
|
|
881
|
+
declare type GetTagsOptions = {
|
|
882
|
+
fetch?: boolean;
|
|
883
|
+
};
|
|
884
|
+
|
|
882
885
|
export declare const getUndoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
|
|
883
886
|
|
|
884
887
|
declare const HoverCard: FC<HoverCard_2.HoverCardProps>;
|
|
@@ -896,9 +899,9 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
896
899
|
|
|
897
900
|
declare const Label_2: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & RefAttributes<HTMLLabelElement>>;
|
|
898
901
|
|
|
899
|
-
export declare const listAllFiles: (projectName: string,
|
|
902
|
+
export declare const listAllFiles: (projectName: string, repoURL: string) => Promise<never[] | string[]>;
|
|
900
903
|
|
|
901
|
-
export declare const listDir: (dirPath: string) => Promise<
|
|
904
|
+
export declare const listDir: (dirPath: string) => Promise<any>;
|
|
902
905
|
|
|
903
906
|
export declare const loadLibraryComponents: (apiHandler: any) => Promise<any>;
|
|
904
907
|
|
|
@@ -1049,21 +1052,21 @@ declare const ResizablePanel: ForwardRefExoticComponent<Omit<PanelProps, "ref">
|
|
|
1049
1052
|
|
|
1050
1053
|
declare const ResizablePanelGroup: any;
|
|
1051
1054
|
|
|
1052
|
-
export declare const RGComponent:
|
|
1055
|
+
export declare const RGComponent: default_2.ForwardRefExoticComponent<Omit<RGContainerProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
1053
1056
|
|
|
1054
|
-
export declare class RGComponentErrorBoundary<T> extends
|
|
1057
|
+
export declare class RGComponentErrorBoundary<T> extends default_2.Component<RGComponentErrorBoundaryProps<T>, RGComponentErrorBoundaryState> {
|
|
1055
1058
|
constructor(props: RGComponentErrorBoundaryProps<T>);
|
|
1056
1059
|
static getDerivedStateFromError(error: Error): {
|
|
1057
1060
|
hasError: boolean;
|
|
1058
1061
|
error: Error;
|
|
1059
1062
|
};
|
|
1060
|
-
render():
|
|
1063
|
+
render(): default_2.ReactNode;
|
|
1061
1064
|
resetState(): void;
|
|
1062
1065
|
}
|
|
1063
1066
|
|
|
1064
1067
|
declare interface RGComponentErrorBoundaryProps<T> {
|
|
1065
|
-
children:
|
|
1066
|
-
fallback?:
|
|
1068
|
+
children: default_2.ReactNode;
|
|
1069
|
+
fallback?: default_2.ComponentType<RGFallbackComponentProps & T>;
|
|
1067
1070
|
fallbackProps?: T;
|
|
1068
1071
|
}
|
|
1069
1072
|
|
|
@@ -1078,7 +1081,7 @@ declare interface RGContainerProps {
|
|
|
1078
1081
|
onMouseDown?: any;
|
|
1079
1082
|
onMouseUp?: any;
|
|
1080
1083
|
onTouchEnd?: any;
|
|
1081
|
-
children?:
|
|
1084
|
+
children?: default_2.ReactNode;
|
|
1082
1085
|
[key: string]: any;
|
|
1083
1086
|
componentId: any;
|
|
1084
1087
|
}
|
|
@@ -1223,7 +1226,7 @@ declare const Slider: ForwardRefExoticComponent<Omit<Slider_2.SliderProps & RefA
|
|
|
1223
1226
|
|
|
1224
1227
|
declare const Switch: ForwardRefExoticComponent<Omit<Switch_2.SwitchProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1225
1228
|
|
|
1226
|
-
export declare const syncAndRetry: (projectName: string, projectRepository: string
|
|
1229
|
+
export declare const syncAndRetry: (projectName: string, projectRepository: string) => Promise<void>;
|
|
1227
1230
|
|
|
1228
1231
|
declare const Table: ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & RefAttributes<HTMLTableElement>>;
|
|
1229
1232
|
|
|
@@ -1421,8 +1424,8 @@ export { }
|
|
|
1421
1424
|
|
|
1422
1425
|
declare global {
|
|
1423
1426
|
interface Window {
|
|
1424
|
-
fs:
|
|
1425
|
-
pfs:
|
|
1427
|
+
fs: any;
|
|
1428
|
+
pfs: any;
|
|
1426
1429
|
miDir: string;
|
|
1427
1430
|
Buffer: typeof Buffer;
|
|
1428
1431
|
ethers: any;
|