@figma-export/core
Advanced tools
Comparing version 4.0.0-alpha.0 to 4.0.0-alpha.1
import * as FigmaExport from '@figma-export/types'; | ||
declare type Options = FigmaExport.BaseCommandOptions & FigmaExport.ComponentsCommandOptions; | ||
export declare const components: ({ token, fileId, version, onlyFromPages, transformers, outputters, concurrency, log, }: Options) => Promise<FigmaExport.PageNode[]>; | ||
export {}; | ||
export declare const components: FigmaExport.ComponentsCommand; | ||
//# sourceMappingURL=export-components.d.ts.map |
@@ -36,2 +36,3 @@ "use strict"; | ||
yield Promise.all(outputters.map((outputter) => outputter(pagesWithSvg))); | ||
log(`exported components from ${fileId}`); | ||
return pagesWithSvg; | ||
@@ -38,0 +39,0 @@ }); |
import * as FigmaExport from '@figma-export/types'; | ||
declare type Options = FigmaExport.BaseCommandOptions & FigmaExport.StylesCommandOptions; | ||
export declare const styles: ({ token, fileId, version, outputters, log, }: Options) => Promise<FigmaExport.Style[]>; | ||
export {}; | ||
export declare const styles: FigmaExport.StylesCommand; | ||
//# sourceMappingURL=export-styles.d.ts.map |
@@ -25,2 +25,3 @@ "use strict"; | ||
yield Promise.all(outputters.map((outputter) => outputter(parsedStyles))); | ||
log(`exported styles from ${fileId}`); | ||
return parsedStyles; | ||
@@ -27,0 +28,0 @@ }); |
{ | ||
"name": "@figma-export/core", | ||
"version": "4.0.0-alpha.0", | ||
"version": "4.0.0-alpha.1", | ||
"description": "@figma-export core functionalities", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@figma-export/types": "^4.0.0-alpha.0", | ||
"@figma-export/types": "^4.0.0-alpha.1", | ||
"axios": "~0.24.0", | ||
@@ -35,3 +35,3 @@ "figma-js": "~1.14.0", | ||
}, | ||
"gitHead": "69e5443cdb4a4f8ad9bf482d0a7dcca1bb261d96" | ||
"gitHead": "086711cbbf9ef49e4d49dc143b01902cb0909afc" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52636
622