@iconify/tools 5.0.0-beta.1 → 5.0.0-beta.2

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.
@@ -38,4 +38,15 @@ interface FigmaDocument {
38
38
  role: string;
39
39
  editorType: 'figma' | 'figjam';
40
40
  }
41
- export { FigmaDocument, IconFigmaNode };
41
+ interface FigmaAPIError {
42
+ status: number;
43
+ err: string;
44
+ }
45
+ /**
46
+ * Result for retrieved icons
47
+ */
48
+ interface FigmaAPIImagesResponse {
49
+ err?: string | null;
50
+ images: Record<string, string | null>;
51
+ }
52
+ export { FigmaAPIError, FigmaAPIImagesResponse, FigmaDocument, FigmaDocumentNode, FigmaNode, IconFigmaNode };
@@ -0,0 +1 @@
1
+ export { };
@@ -32,4 +32,4 @@ type FigmaImportParentNodeFilter = (node: FigmaParentNodeData[], document: Figma
32
32
  */
33
33
  type FigmaIconNodeWithKeyword = Partial<FigmaIconNode> & Pick<FigmaIconNode, 'keyword'>;
34
34
  type FigmaImportNodeFilter = (node: FigmaImportNodeData, nodes: FigmaNodesImportResult, document: FigmaDocument) => string | FigmaIconNodeWithKeyword | null | undefined;
35
- export { FigmaImportNodeFilter, FigmaImportParentNodeFilter };
35
+ export { FigmaImportIconNodeType, FigmaImportNodeData, FigmaImportNodeFilter, FigmaImportParentNodeFilter, FigmaImportParentNodeType, FigmaParentNodeData };
@@ -0,0 +1 @@
1
+ export { };
@@ -47,4 +47,4 @@ interface FigmaImportOptions extends FigmaFilesQueryOptions, FigmaImagesQueryOpt
47
47
  beforeImportingIcon?: FigmaImportedIconCallback;
48
48
  afterImportingIcon?: FigmaImportedIconCallback;
49
49
  }
50
- export { FigmaFilesQueryOptions, FigmaGetIconNodesOptions, FigmaIfModifiedSinceOption, FigmaImagesQueryOptions, FigmaImportOptions };
50
+ export { FigmaFilesQueryOptions, FigmaGetIconNodesOptions, FigmaIfModifiedSinceOption, FigmaImagesQueryOptions, FigmaImportOptions, FigmaImportSVGOptions };
@@ -0,0 +1 @@
1
+ export { };
@@ -33,4 +33,4 @@ interface FigmaImportResult extends FigmaNodesCount {
33
33
  iconSet: IconSet;
34
34
  missing: FigmaIconNode[];
35
35
  }
36
- export { FigmaIconNode, FigmaImportResult, FigmaNodesImportResult };
36
+ export { FigmaIconNode, FigmaImportResult, FigmaNodesCount, FigmaNodesImportResult };
@@ -0,0 +1 @@
1
+ export { };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
5
5
  "author": "Vjacheslav Trushkin",
6
- "version": "5.0.0-beta.1",
6
+ "version": "5.0.0-beta.2",
7
7
  "publishConfig": {
8
8
  "tag": "next"
9
9
  },