@spaceandtimelabs/makeinfinite-ui 0.53.4 → 0.55.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 +22 -12
- package/dist/makeinfinite-ui.es.js +7655 -7602
- package/dist/makeinfinite-ui.umd.js +58 -58
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,6 +119,7 @@ declare interface APIContextType {
|
|
|
119
119
|
|
|
120
120
|
export declare const APIHandler: (baseUrl: string) => {
|
|
121
121
|
createProject: (description: string, theme: string, siteBackground?: File | null) => Promise<Response>;
|
|
122
|
+
createBlankProject: (description: string, theme: string, siteBackground?: File | null) => Promise<Response>;
|
|
122
123
|
getProjects: () => Promise<Response>;
|
|
123
124
|
getSubdomains: (projectName: string) => Promise<Response>;
|
|
124
125
|
allocateSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
|
|
@@ -135,6 +136,12 @@ export declare const APIHandler: (baseUrl: string) => {
|
|
|
135
136
|
updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise<Response>;
|
|
136
137
|
updateApplicationSettings: (projectName: string, applicationLoginEnabled?: boolean | null, defaultDeploymentChainReference?: string | null) => Promise<Response>;
|
|
137
138
|
updateProjectFile: (filePath: string, projectName: string, sourceCode: string, abortSignal?: AbortSignal) => Promise<Response>;
|
|
139
|
+
updateProjectFiles: (files: [{
|
|
140
|
+
projectName: string;
|
|
141
|
+
filePath: string;
|
|
142
|
+
fileContent: string;
|
|
143
|
+
}], abortSignal?: AbortSignal) => Promise<Response>;
|
|
144
|
+
deleteProjectComponent: (projectName: string, filePath: string) => Promise<Response>;
|
|
138
145
|
deleteProjectFile: (projectName: string, filePath: string) => Promise<Response>;
|
|
139
146
|
resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise<Response>;
|
|
140
147
|
deleteProject: (projectName: string) => Promise<Response>;
|
|
@@ -210,7 +217,7 @@ declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonEleme
|
|
|
210
217
|
|
|
211
218
|
declare const buttonVariants: (props?: ({
|
|
212
219
|
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
213
|
-
size?: "default" | "
|
|
220
|
+
size?: "default" | "lg" | "sm" | "icon" | null | undefined;
|
|
214
221
|
} & ClassProp) | undefined) => string;
|
|
215
222
|
|
|
216
223
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): JSX_2.Element;
|
|
@@ -1099,11 +1106,14 @@ export declare const RGDroppable: (props: {
|
|
|
1099
1106
|
|
|
1100
1107
|
export declare const RGEditLayout: (props: {
|
|
1101
1108
|
components: JSX.Element[];
|
|
1102
|
-
|
|
1103
|
-
onLayoutChange: (layout:
|
|
1109
|
+
layouts: any;
|
|
1110
|
+
onLayoutChange: (layout: any) => void;
|
|
1104
1111
|
onResize: ItemCallback;
|
|
1105
1112
|
onDrag: ItemCallback;
|
|
1106
|
-
onDrop: (layout:
|
|
1113
|
+
onDrop: (layout: any, item: Layout, e: Event) => void;
|
|
1114
|
+
isDraggable: boolean;
|
|
1115
|
+
isResizable: boolean;
|
|
1116
|
+
isDroppable: boolean;
|
|
1107
1117
|
}) => JSX_2.Element;
|
|
1108
1118
|
|
|
1109
1119
|
declare interface RGFallbackComponentProps {
|
|
@@ -1112,7 +1122,7 @@ declare interface RGFallbackComponentProps {
|
|
|
1112
1122
|
|
|
1113
1123
|
export declare const RGPreviewLayout: (props: {
|
|
1114
1124
|
components: any;
|
|
1115
|
-
|
|
1125
|
+
layouts: any;
|
|
1116
1126
|
}) => JSX_2.Element;
|
|
1117
1127
|
|
|
1118
1128
|
export declare const RGProvider: FC<PropsWithChildren<ReactNode>>;
|
|
@@ -1185,7 +1195,7 @@ declare const SheetTitle: ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps
|
|
|
1185
1195
|
declare const SheetTrigger: ForwardRefExoticComponent<Dialog.DialogTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1186
1196
|
|
|
1187
1197
|
declare const sheetVariants: (props?: ({
|
|
1188
|
-
side?: "
|
|
1198
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1189
1199
|
} & ClassProp) | undefined) => string;
|
|
1190
1200
|
|
|
1191
1201
|
declare const Sidebar: ForwardRefExoticComponent<SidebarProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -1205,7 +1215,7 @@ declare interface SidebarItemProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
|
1205
1215
|
}
|
|
1206
1216
|
|
|
1207
1217
|
declare const sidebarItemVariants: (props?: ({
|
|
1208
|
-
variant?: "default" | "
|
|
1218
|
+
variant?: "default" | "ghost" | "active" | null | undefined;
|
|
1209
1219
|
} & ClassProp) | undefined) => string;
|
|
1210
1220
|
|
|
1211
1221
|
declare const SidebarNav: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
@@ -1216,7 +1226,7 @@ declare interface SidebarProps extends React.HTMLAttributes<HTMLDivElement>, Var
|
|
|
1216
1226
|
|
|
1217
1227
|
declare const sidebarVariants: (props?: ({
|
|
1218
1228
|
variant?: "default" | "floating" | null | undefined;
|
|
1219
|
-
size?: "default" | "
|
|
1229
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1220
1230
|
collapsed?: boolean | null | undefined;
|
|
1221
1231
|
} & ClassProp) | undefined) => string;
|
|
1222
1232
|
|
|
@@ -1290,22 +1300,22 @@ declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
|
1290
1300
|
|
|
1291
1301
|
declare const Toggle: ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1292
1302
|
variant?: "default" | "outline" | null | undefined;
|
|
1293
|
-
size?: "default" | "
|
|
1303
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1294
1304
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1295
1305
|
|
|
1296
1306
|
declare const ToggleGroup: ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
1297
1307
|
variant?: "default" | "outline" | null | undefined;
|
|
1298
|
-
size?: "default" | "
|
|
1308
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1299
1309
|
} & ClassProp) | undefined) => string>) & RefAttributes<HTMLDivElement>>;
|
|
1300
1310
|
|
|
1301
1311
|
declare const ToggleGroupItem: ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1302
1312
|
variant?: "default" | "outline" | null | undefined;
|
|
1303
|
-
size?: "default" | "
|
|
1313
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1304
1314
|
} & ClassProp) | undefined) => string> & RefAttributes<HTMLButtonElement>>;
|
|
1305
1315
|
|
|
1306
1316
|
declare const toggleVariants: (props?: ({
|
|
1307
1317
|
variant?: "default" | "outline" | null | undefined;
|
|
1308
|
-
size?: "default" | "
|
|
1318
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1309
1319
|
} & ClassProp) | undefined) => string;
|
|
1310
1320
|
|
|
1311
1321
|
declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
|