@spaceandtimelabs/makeinfinite-ui 0.38.0 → 0.39.0

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 CHANGED
@@ -13,8 +13,9 @@ 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 'react';
17
- import { default as default_3 } from 'embla-carousel-react';
16
+ import { default as default_2 } from '@isomorphic-git/lightning-fs';
17
+ import { default as default_3 } from 'react';
18
+ import { default as default_4 } from 'embla-carousel-react';
18
19
  import { DetailedHTMLProps } from 'react';
19
20
  import { Dialog } from 'radix-ui';
20
21
  import { DialogCloseProps } from '@radix-ui/react-dialog';
@@ -135,6 +136,7 @@ export declare const APIHandler: (baseUrl: string) => {
135
136
  deleteProject: (projectName: string) => Promise<Response>;
136
137
  requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise<Response>;
137
138
  addImage: (formData: FormData) => Promise<Response>;
139
+ updateProjectFile: (filePath: string, projectName: string, sourceCode: string) => Promise<Response>;
138
140
  };
139
141
 
140
142
  export declare const APIProxyHandler: (baseUrl: string) => {
@@ -162,6 +164,8 @@ export declare const APIProxyHandler: (baseUrl: string) => {
162
164
  }[]>;
163
165
  };
164
166
 
167
+ export declare const applySxtIgnore: (files: string[], pfs: default_2.PromisifiedFS, dir: string) => Promise<string[]>;
168
+
165
169
  declare const AspectRatio: typeof AspectRatio_2;
166
170
 
167
171
  declare const Avatar: React_2.ForwardRefExoticComponent<Omit<Avatar_2.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
@@ -236,10 +240,10 @@ declare const CarouselNext: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAt
236
240
  declare const CarouselPrevious: ForwardRefExoticComponent<Omit<ButtonProps_2 & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
237
241
 
238
242
  declare type CarouselProps = {
239
- opts?: Parameters<typeof default_3>[0];
240
- plugins?: Parameters<typeof default_3>[1];
243
+ opts?: Parameters<typeof default_4>[0];
244
+ plugins?: Parameters<typeof default_4>[1];
241
245
  orientation?: "horizontal" | "vertical";
242
- setApi?: (api: NonNullable<ReturnType<typeof default_3>[1]>) => void;
246
+ setApi?: (api: NonNullable<ReturnType<typeof default_4>[1]>) => void;
243
247
  };
244
248
 
245
249
  declare const Checkbox: ForwardRefExoticComponent<Omit<Checkbox_2.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
@@ -294,7 +298,7 @@ declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
294
298
  forceMount?: boolean;
295
299
  } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
296
300
 
297
- declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "onChange"> & {
301
+ declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
298
302
  value?: string;
299
303
  onValueChange?: (search: string) => void;
300
304
  } & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
@@ -874,6 +878,8 @@ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
874
878
 
875
879
  declare const Label_2: ForwardRefExoticComponent<Omit<Label.LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & RefAttributes<HTMLLabelElement>>;
876
880
 
881
+ export declare const listAllFiles: (projectName: string, projectRepositoryURL: string) => Promise<string[]>;
882
+
877
883
  export declare const listDir: (dirPath: string) => Promise<string[]>;
878
884
 
879
885
  export declare const loadLibraryComponents: (apiHandler: any) => Promise<any>;
@@ -1025,21 +1031,21 @@ declare const ResizablePanel: ForwardRefExoticComponent<Omit<PanelProps, "ref">
1025
1031
 
1026
1032
  declare const ResizablePanelGroup: any;
1027
1033
 
1028
- export declare const RGComponent: default_2.ForwardRefExoticComponent<Omit<RGContainerProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
1034
+ export declare const RGComponent: default_3.ForwardRefExoticComponent<Omit<RGContainerProps, "ref"> & default_3.RefAttributes<HTMLDivElement>>;
1029
1035
 
1030
- export declare class RGComponentErrorBoundary<T> extends default_2.Component<RGComponentErrorBoundaryProps<T>, RGComponentErrorBoundaryState> {
1036
+ export declare class RGComponentErrorBoundary<T> extends default_3.Component<RGComponentErrorBoundaryProps<T>, RGComponentErrorBoundaryState> {
1031
1037
  constructor(props: RGComponentErrorBoundaryProps<T>);
1032
1038
  static getDerivedStateFromError(error: Error): {
1033
1039
  hasError: boolean;
1034
1040
  error: Error;
1035
1041
  };
1036
- render(): default_2.ReactNode;
1042
+ render(): default_3.ReactNode;
1037
1043
  resetState(): void;
1038
1044
  }
1039
1045
 
1040
1046
  declare interface RGComponentErrorBoundaryProps<T> {
1041
- children: default_2.ReactNode;
1042
- fallback?: default_2.ComponentType<RGFallbackComponentProps & T>;
1047
+ children: default_3.ReactNode;
1048
+ fallback?: default_3.ComponentType<RGFallbackComponentProps & T>;
1043
1049
  fallbackProps?: T;
1044
1050
  }
1045
1051
 
@@ -1054,7 +1060,7 @@ declare interface RGContainerProps {
1054
1060
  onMouseDown?: any;
1055
1061
  onMouseUp?: any;
1056
1062
  onTouchEnd?: any;
1057
- children?: default_2.ReactNode;
1063
+ children?: default_3.ReactNode;
1058
1064
  [key: string]: any;
1059
1065
  componentId: any;
1060
1066
  }