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