@spaceandtimelabs/makeinfinite-ui 0.39.0 → 0.41.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
@@ -130,13 +130,12 @@ export declare const APIHandler: (baseUrl: string) => {
130
130
  updateProjectComponentSourceCode: (projectName: string, componentId: string, sourceCode: string) => Promise<Response>;
131
131
  updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise<Response>;
132
132
  updateApplicationSettings: (projectName: string, applicationLoginEnabled: boolean) => Promise<Response>;
133
- updateProjectTheme: (projectName: string, theme: object) => Promise<Response>;
133
+ updateProjectFile: (filePath: string, projectName: string, sourceCode: string, abortSignal?: AbortSignal) => Promise<Response>;
134
134
  deleteProjectFile: (projectName: string, filePath: string) => Promise<Response>;
135
135
  resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise<Response>;
136
136
  deleteProject: (projectName: string) => Promise<Response>;
137
137
  requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise<Response>;
138
138
  addImage: (formData: FormData) => Promise<Response>;
139
- updateProjectFile: (filePath: string, projectName: string, sourceCode: string) => Promise<Response>;
140
139
  };
141
140
 
142
141
  export declare const APIProxyHandler: (baseUrl: string) => {
@@ -1240,8 +1239,10 @@ declare const TailwindThemeContext_2: Context<any>;
1240
1239
 
1241
1240
  export declare namespace TailwindThemeHooks {
1242
1241
  export {
1243
- useFont,
1244
- useVariants
1242
+ useVariants,
1243
+ useTheme,
1244
+ useFontFamily,
1245
+ useColors
1245
1246
  }
1246
1247
  }
1247
1248
 
@@ -1296,9 +1297,14 @@ export declare const useAppVersions: (projectName: string, projectURL: string, d
1296
1297
 
1297
1298
  export declare const useB64UrlForProjectImage: (projectName: string, imageFilename: string) => string;
1298
1299
 
1299
- declare const useFont: () => {
1300
- font: any;
1301
- setFont: any;
1300
+ declare const useColors: () => {
1301
+ colors: any;
1302
+ setColors: any;
1303
+ };
1304
+
1305
+ declare const useFontFamily: () => {
1306
+ fontFamily: any;
1307
+ setFontFamily: any;
1302
1308
  };
1303
1309
 
1304
1310
  declare const useFormField: () => {
@@ -1316,6 +1322,11 @@ declare const useFormField: () => {
1316
1322
 
1317
1323
  export declare const useProject: () => any;
1318
1324
 
1325
+ declare const useTheme: () => {
1326
+ theme: any;
1327
+ setTheme: any;
1328
+ };
1329
+
1319
1330
  declare const useVariants: () => {
1320
1331
  variants: any;
1321
1332
  setVariants: any;