@iconify/tools 2.1.0 → 2.1.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.
Files changed (123) hide show
  1. package/lib/colors/attribs.d.ts +4 -4
  2. package/lib/colors/detect.cjs +68 -0
  3. package/lib/colors/detect.d.ts +15 -0
  4. package/lib/colors/detect.mjs +64 -0
  5. package/lib/colors/parse.cjs +31 -7
  6. package/lib/colors/parse.d.ts +5 -5
  7. package/lib/colors/parse.mjs +31 -7
  8. package/lib/colors/validate.cjs +9 -3
  9. package/lib/colors/validate.d.ts +1 -1
  10. package/lib/colors/validate.mjs +9 -3
  11. package/lib/css/parser/error.cjs +1 -1
  12. package/lib/css/parser/error.mjs +1 -1
  13. package/lib/css/parser/strings.cjs +10 -2
  14. package/lib/css/parser/strings.mjs +10 -2
  15. package/lib/css/parser/tokens.cjs +133 -109
  16. package/lib/css/parser/tokens.mjs +133 -109
  17. package/lib/css/parser/types.d.ts +4 -4
  18. package/lib/download/api/cache.cjs +28 -21
  19. package/lib/download/api/cache.mjs +28 -21
  20. package/lib/download/git/branch.cjs +1 -1
  21. package/lib/download/git/branch.mjs +1 -1
  22. package/lib/download/git/hash.cjs +1 -1
  23. package/lib/download/git/hash.mjs +1 -1
  24. package/lib/download/git/index.cjs +7 -4
  25. package/lib/download/git/index.mjs +7 -4
  26. package/lib/download/git/reset.cjs +1 -2
  27. package/lib/download/git/reset.mjs +1 -2
  28. package/lib/download/github/index.cjs +10 -7
  29. package/lib/download/github/index.mjs +10 -7
  30. package/lib/download/gitlab/hash.cjs +3 -1
  31. package/lib/download/gitlab/hash.mjs +3 -1
  32. package/lib/download/gitlab/index.cjs +9 -6
  33. package/lib/download/gitlab/index.mjs +9 -6
  34. package/lib/download/index.cjs +4 -3
  35. package/lib/download/index.d.ts +4 -4
  36. package/lib/download/index.mjs +4 -3
  37. package/lib/download/npm/index.cjs +12 -8
  38. package/lib/download/npm/index.mjs +12 -8
  39. package/lib/download/npm/version.cjs +4 -2
  40. package/lib/download/npm/version.mjs +4 -2
  41. package/lib/download/types/modified.d.ts +1 -1
  42. package/lib/download/types/sources.d.ts +1 -1
  43. package/lib/export/directory.d.ts +1 -1
  44. package/lib/export/helpers/types-version.cjs +3 -1
  45. package/lib/export/helpers/types-version.mjs +3 -1
  46. package/lib/export/icon-package.d.ts +1 -1
  47. package/lib/export/json-package.cjs +13 -3
  48. package/lib/export/json-package.d.ts +1 -1
  49. package/lib/export/json-package.mjs +13 -3
  50. package/lib/icon-set/index.cjs +20 -8
  51. package/lib/icon-set/index.d.ts +1 -1
  52. package/lib/icon-set/index.mjs +20 -8
  53. package/lib/icon-set/match.d.ts +1 -1
  54. package/lib/icon-set/merge.d.ts +1 -1
  55. package/lib/icon-set/modified.d.ts +1 -1
  56. package/lib/icon-set/props.d.ts +1 -1
  57. package/lib/icon-set/tags.cjs +97 -0
  58. package/lib/icon-set/tags.d.ts +22 -0
  59. package/lib/icon-set/tags.mjs +91 -0
  60. package/lib/icon-set/types.d.ts +8 -8
  61. package/lib/import/directory.cjs +4 -1
  62. package/lib/import/directory.d.ts +3 -3
  63. package/lib/import/directory.mjs +4 -1
  64. package/lib/import/figma/index.cjs +5 -2
  65. package/lib/import/figma/index.d.ts +1 -1
  66. package/lib/import/figma/index.mjs +5 -2
  67. package/lib/import/figma/nodes.cjs +6 -2
  68. package/lib/import/figma/nodes.d.ts +2 -2
  69. package/lib/import/figma/nodes.mjs +6 -2
  70. package/lib/import/figma/query.cjs +29 -15
  71. package/lib/import/figma/query.d.ts +1 -1
  72. package/lib/import/figma/query.mjs +29 -15
  73. package/lib/import/figma/types/api.d.ts +1 -1
  74. package/lib/import/figma/types/nodes.d.ts +6 -6
  75. package/lib/import/figma/types/options.d.ts +2 -2
  76. package/lib/import/figma/types/result.d.ts +1 -1
  77. package/lib/index.cjs +6 -3
  78. package/lib/index.d.ts +3 -1
  79. package/lib/index.mjs +4 -3
  80. package/lib/misc/cheerio.d.ts +2 -2
  81. package/lib/misc/compare-dirs.cjs +3 -1
  82. package/lib/misc/compare-dirs.mjs +3 -1
  83. package/lib/misc/exec.cjs +7 -8
  84. package/lib/misc/exec.mjs +7 -8
  85. package/lib/misc/keyword.cjs +4 -1
  86. package/lib/misc/keyword.mjs +4 -1
  87. package/lib/misc/scan.cjs +3 -1
  88. package/lib/misc/scan.d.ts +5 -5
  89. package/lib/misc/scan.mjs +3 -1
  90. package/lib/optimise/flags.cjs +9 -3
  91. package/lib/optimise/flags.d.ts +1 -1
  92. package/lib/optimise/flags.mjs +9 -3
  93. package/lib/optimise/global-style.cjs +10 -3
  94. package/lib/optimise/global-style.d.ts +1 -1
  95. package/lib/optimise/global-style.mjs +10 -3
  96. package/lib/optimise/scale.d.ts +1 -1
  97. package/lib/optimise/svgo.d.ts +2 -2
  98. package/lib/svg/analyse/types.d.ts +1 -1
  99. package/lib/svg/analyse.cjs +20 -6
  100. package/lib/svg/analyse.d.ts +1 -1
  101. package/lib/svg/analyse.mjs +20 -6
  102. package/lib/svg/cleanup/attribs.d.ts +1 -1
  103. package/lib/svg/cleanup/bad-tags.cjs +7 -2
  104. package/lib/svg/cleanup/bad-tags.d.ts +1 -1
  105. package/lib/svg/cleanup/bad-tags.mjs +7 -2
  106. package/lib/svg/cleanup/inline-style.cjs +12 -4
  107. package/lib/svg/cleanup/inline-style.d.ts +1 -1
  108. package/lib/svg/cleanup/inline-style.mjs +12 -4
  109. package/lib/svg/cleanup/root-style.d.ts +1 -1
  110. package/lib/svg/cleanup/root-svg.d.ts +1 -1
  111. package/lib/svg/cleanup/svgo-style.d.ts +1 -1
  112. package/lib/svg/cleanup.d.ts +1 -1
  113. package/lib/svg/data/attributes.cjs +0 -1
  114. package/lib/svg/data/attributes.mjs +0 -1
  115. package/lib/svg/index.cjs +12 -3
  116. package/lib/svg/index.d.ts +2 -2
  117. package/lib/svg/index.mjs +12 -3
  118. package/lib/svg/parse-style.cjs +13 -8
  119. package/lib/svg/parse-style.d.ts +4 -4
  120. package/lib/svg/parse-style.mjs +13 -8
  121. package/lib/svg/parse.d.ts +2 -2
  122. package/package.json +209 -100
  123. package/lib/types-6360d61e.d.ts +0 -261
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": "2.1.0",
6
+ "version": "2.1.2",
7
7
  "license": "MIT",
8
8
  "bugs": "https://github.com/iconify/tools/issues",
9
9
  "homepage": "https://github.com/iconify/tools",
@@ -25,384 +25,493 @@
25
25
  "test": "npm run test:jest-cjs && npm run test:jest-esm && npm run test:jasmine"
26
26
  },
27
27
  "dependencies": {
28
- "@iconify/utils": "^2.0.0",
29
- "@types/cheerio": "^0.22.30",
30
- "@types/node-fetch": "^2.5.12",
31
- "@types/svgo": "^2.6.0",
32
- "@types/tar": "^6.1.0",
33
- "cheerio": "^1.0.0-rc.10",
28
+ "@iconify/utils": "^2.0.1",
29
+ "@types/cheerio": "^0.22.31",
30
+ "@types/node-fetch": "^2.6.2",
31
+ "@types/svgo": "^2.6.4",
32
+ "@types/tar": "^6.1.3",
33
+ "cheerio": "^1.0.0-rc.12",
34
34
  "extract-zip": "^2.0.1",
35
35
  "local-pkg": "^0.4.2",
36
36
  "node-fetch": "^2.6.7",
37
- "pathe": "^0.3.7",
37
+ "pathe": "^0.3.9",
38
38
  "svgo": "^2.8.0",
39
- "tar": "^6.1.11"
39
+ "tar": "^6.1.12"
40
+ },
41
+ "peerDependencies": {
42
+ "@iconify/types": "*"
40
43
  },
41
44
  "exports": {
42
45
  "./*": "./*",
43
46
  ".": {
44
47
  "require": "./lib/index.cjs",
45
- "import": "./lib/index.mjs"
48
+ "import": "./lib/index.mjs",
49
+ "types": "./lib/index.d.ts"
46
50
  },
47
51
  "./lib/colors/attribs": {
48
52
  "require": "./lib/colors/attribs.cjs",
49
- "import": "./lib/colors/attribs.mjs"
53
+ "import": "./lib/colors/attribs.mjs",
54
+ "types": "./lib/colors/attribs.d.ts"
55
+ },
56
+ "./lib/colors/detect": {
57
+ "require": "./lib/colors/detect.cjs",
58
+ "import": "./lib/colors/detect.mjs",
59
+ "types": "./lib/colors/detect.d.ts"
50
60
  },
51
61
  "./lib/colors/parse": {
52
62
  "require": "./lib/colors/parse.cjs",
53
- "import": "./lib/colors/parse.mjs"
63
+ "import": "./lib/colors/parse.mjs",
64
+ "types": "./lib/colors/parse.d.ts"
54
65
  },
55
66
  "./lib/colors/validate": {
56
67
  "require": "./lib/colors/validate.cjs",
57
- "import": "./lib/colors/validate.mjs"
68
+ "import": "./lib/colors/validate.mjs",
69
+ "types": "./lib/colors/validate.d.ts"
58
70
  },
59
71
  "./lib/css/parse": {
60
72
  "require": "./lib/css/parse.cjs",
61
- "import": "./lib/css/parse.mjs"
73
+ "import": "./lib/css/parse.mjs",
74
+ "types": "./lib/css/parse.d.ts"
62
75
  },
63
76
  "./lib/css/parser/error": {
64
77
  "require": "./lib/css/parser/error.cjs",
65
- "import": "./lib/css/parser/error.mjs"
78
+ "import": "./lib/css/parser/error.mjs",
79
+ "types": "./lib/css/parser/error.d.ts"
66
80
  },
67
81
  "./lib/css/parser/export": {
68
82
  "require": "./lib/css/parser/export.cjs",
69
- "import": "./lib/css/parser/export.mjs"
83
+ "import": "./lib/css/parser/export.mjs",
84
+ "types": "./lib/css/parser/export.d.ts"
70
85
  },
71
86
  "./lib/css/parser/strings": {
72
87
  "require": "./lib/css/parser/strings.cjs",
73
- "import": "./lib/css/parser/strings.mjs"
88
+ "import": "./lib/css/parser/strings.mjs",
89
+ "types": "./lib/css/parser/strings.d.ts"
74
90
  },
75
91
  "./lib/css/parser/text": {
76
92
  "require": "./lib/css/parser/text.cjs",
77
- "import": "./lib/css/parser/text.mjs"
93
+ "import": "./lib/css/parser/text.mjs",
94
+ "types": "./lib/css/parser/text.d.ts"
78
95
  },
79
96
  "./lib/css/parser/tokens": {
80
97
  "require": "./lib/css/parser/tokens.cjs",
81
- "import": "./lib/css/parser/tokens.mjs"
98
+ "import": "./lib/css/parser/tokens.mjs",
99
+ "types": "./lib/css/parser/tokens.d.ts"
82
100
  },
83
101
  "./lib/css/parser/tree": {
84
102
  "require": "./lib/css/parser/tree.cjs",
85
- "import": "./lib/css/parser/tree.mjs"
103
+ "import": "./lib/css/parser/tree.mjs",
104
+ "types": "./lib/css/parser/tree.d.ts"
86
105
  },
87
106
  "./lib/css/parser/types": {
88
107
  "require": "./lib/css/parser/types.cjs",
89
- "import": "./lib/css/parser/types.mjs"
108
+ "import": "./lib/css/parser/types.mjs",
109
+ "types": "./lib/css/parser/types.d.ts"
90
110
  },
91
111
  "./lib/download/api/cache": {
92
112
  "require": "./lib/download/api/cache.cjs",
93
- "import": "./lib/download/api/cache.mjs"
113
+ "import": "./lib/download/api/cache.mjs",
114
+ "types": "./lib/download/api/cache.d.ts"
94
115
  },
95
116
  "./lib/download/api/download": {
96
117
  "require": "./lib/download/api/download.cjs",
97
- "import": "./lib/download/api/download.mjs"
118
+ "import": "./lib/download/api/download.mjs",
119
+ "types": "./lib/download/api/download.d.ts"
98
120
  },
99
121
  "./lib/download/api": {
100
122
  "require": "./lib/download/api/index.cjs",
101
- "import": "./lib/download/api/index.mjs"
123
+ "import": "./lib/download/api/index.mjs",
124
+ "types": "./lib/download/api/index.d.ts"
102
125
  },
103
126
  "./lib/download/api/index": {
104
127
  "require": "./lib/download/api/index.cjs",
105
- "import": "./lib/download/api/index.mjs"
128
+ "import": "./lib/download/api/index.mjs",
129
+ "types": "./lib/download/api/index.d.ts"
106
130
  },
107
131
  "./lib/download/api/types": {
108
132
  "require": "./lib/download/api/types.cjs",
109
- "import": "./lib/download/api/types.mjs"
133
+ "import": "./lib/download/api/types.mjs",
134
+ "types": "./lib/download/api/types.d.ts"
110
135
  },
111
136
  "./lib/download/git/branch": {
112
137
  "require": "./lib/download/git/branch.cjs",
113
- "import": "./lib/download/git/branch.mjs"
138
+ "import": "./lib/download/git/branch.mjs",
139
+ "types": "./lib/download/git/branch.d.ts"
114
140
  },
115
141
  "./lib/download/git/hash": {
116
142
  "require": "./lib/download/git/hash.cjs",
117
- "import": "./lib/download/git/hash.mjs"
143
+ "import": "./lib/download/git/hash.mjs",
144
+ "types": "./lib/download/git/hash.d.ts"
118
145
  },
119
146
  "./lib/download/git": {
120
147
  "require": "./lib/download/git/index.cjs",
121
- "import": "./lib/download/git/index.mjs"
148
+ "import": "./lib/download/git/index.mjs",
149
+ "types": "./lib/download/git/index.d.ts"
122
150
  },
123
151
  "./lib/download/git/index": {
124
152
  "require": "./lib/download/git/index.cjs",
125
- "import": "./lib/download/git/index.mjs"
153
+ "import": "./lib/download/git/index.mjs",
154
+ "types": "./lib/download/git/index.d.ts"
126
155
  },
127
156
  "./lib/download/git/reset": {
128
157
  "require": "./lib/download/git/reset.cjs",
129
- "import": "./lib/download/git/reset.mjs"
158
+ "import": "./lib/download/git/reset.mjs",
159
+ "types": "./lib/download/git/reset.d.ts"
130
160
  },
131
161
  "./lib/download/github/hash": {
132
162
  "require": "./lib/download/github/hash.cjs",
133
- "import": "./lib/download/github/hash.mjs"
163
+ "import": "./lib/download/github/hash.mjs",
164
+ "types": "./lib/download/github/hash.d.ts"
134
165
  },
135
166
  "./lib/download/github": {
136
167
  "require": "./lib/download/github/index.cjs",
137
- "import": "./lib/download/github/index.mjs"
168
+ "import": "./lib/download/github/index.mjs",
169
+ "types": "./lib/download/github/index.d.ts"
138
170
  },
139
171
  "./lib/download/github/index": {
140
172
  "require": "./lib/download/github/index.cjs",
141
- "import": "./lib/download/github/index.mjs"
173
+ "import": "./lib/download/github/index.mjs",
174
+ "types": "./lib/download/github/index.d.ts"
142
175
  },
143
176
  "./lib/download/github/types": {
144
177
  "require": "./lib/download/github/types.cjs",
145
- "import": "./lib/download/github/types.mjs"
178
+ "import": "./lib/download/github/types.mjs",
179
+ "types": "./lib/download/github/types.d.ts"
146
180
  },
147
181
  "./lib/download/gitlab/hash": {
148
182
  "require": "./lib/download/gitlab/hash.cjs",
149
- "import": "./lib/download/gitlab/hash.mjs"
183
+ "import": "./lib/download/gitlab/hash.mjs",
184
+ "types": "./lib/download/gitlab/hash.d.ts"
150
185
  },
151
186
  "./lib/download/gitlab": {
152
187
  "require": "./lib/download/gitlab/index.cjs",
153
- "import": "./lib/download/gitlab/index.mjs"
188
+ "import": "./lib/download/gitlab/index.mjs",
189
+ "types": "./lib/download/gitlab/index.d.ts"
154
190
  },
155
191
  "./lib/download/gitlab/index": {
156
192
  "require": "./lib/download/gitlab/index.cjs",
157
- "import": "./lib/download/gitlab/index.mjs"
193
+ "import": "./lib/download/gitlab/index.mjs",
194
+ "types": "./lib/download/gitlab/index.d.ts"
158
195
  },
159
196
  "./lib/download/gitlab/types": {
160
197
  "require": "./lib/download/gitlab/types.cjs",
161
- "import": "./lib/download/gitlab/types.mjs"
198
+ "import": "./lib/download/gitlab/types.mjs",
199
+ "types": "./lib/download/gitlab/types.d.ts"
162
200
  },
163
201
  "./lib/download/helpers/untar": {
164
202
  "require": "./lib/download/helpers/untar.cjs",
165
- "import": "./lib/download/helpers/untar.mjs"
203
+ "import": "./lib/download/helpers/untar.mjs",
204
+ "types": "./lib/download/helpers/untar.d.ts"
166
205
  },
167
206
  "./lib/download/helpers/unzip": {
168
207
  "require": "./lib/download/helpers/unzip.cjs",
169
- "import": "./lib/download/helpers/unzip.mjs"
208
+ "import": "./lib/download/helpers/unzip.mjs",
209
+ "types": "./lib/download/helpers/unzip.d.ts"
170
210
  },
171
211
  "./lib/download": {
172
212
  "require": "./lib/download/index.cjs",
173
- "import": "./lib/download/index.mjs"
213
+ "import": "./lib/download/index.mjs",
214
+ "types": "./lib/download/index.d.ts"
174
215
  },
175
216
  "./lib/download/index": {
176
217
  "require": "./lib/download/index.cjs",
177
- "import": "./lib/download/index.mjs"
218
+ "import": "./lib/download/index.mjs",
219
+ "types": "./lib/download/index.d.ts"
178
220
  },
179
221
  "./lib/download/npm": {
180
222
  "require": "./lib/download/npm/index.cjs",
181
- "import": "./lib/download/npm/index.mjs"
223
+ "import": "./lib/download/npm/index.mjs",
224
+ "types": "./lib/download/npm/index.d.ts"
182
225
  },
183
226
  "./lib/download/npm/index": {
184
227
  "require": "./lib/download/npm/index.cjs",
185
- "import": "./lib/download/npm/index.mjs"
228
+ "import": "./lib/download/npm/index.mjs",
229
+ "types": "./lib/download/npm/index.d.ts"
186
230
  },
187
231
  "./lib/download/npm/types": {
188
232
  "require": "./lib/download/npm/types.cjs",
189
- "import": "./lib/download/npm/types.mjs"
233
+ "import": "./lib/download/npm/types.mjs",
234
+ "types": "./lib/download/npm/types.d.ts"
190
235
  },
191
236
  "./lib/download/npm/version": {
192
237
  "require": "./lib/download/npm/version.cjs",
193
- "import": "./lib/download/npm/version.mjs"
238
+ "import": "./lib/download/npm/version.mjs",
239
+ "types": "./lib/download/npm/version.d.ts"
194
240
  },
195
241
  "./lib/download/types/modified": {
196
242
  "require": "./lib/download/types/modified.cjs",
197
- "import": "./lib/download/types/modified.mjs"
243
+ "import": "./lib/download/types/modified.mjs",
244
+ "types": "./lib/download/types/modified.d.ts"
198
245
  },
199
246
  "./lib/download/types/sources": {
200
247
  "require": "./lib/download/types/sources.cjs",
201
- "import": "./lib/download/types/sources.mjs"
248
+ "import": "./lib/download/types/sources.mjs",
249
+ "types": "./lib/download/types/sources.d.ts"
202
250
  },
203
251
  "./lib/export/directory": {
204
252
  "require": "./lib/export/directory.cjs",
205
- "import": "./lib/export/directory.mjs"
253
+ "import": "./lib/export/directory.mjs",
254
+ "types": "./lib/export/directory.d.ts"
206
255
  },
207
256
  "./lib/export/helpers/custom-files": {
208
257
  "require": "./lib/export/helpers/custom-files.cjs",
209
- "import": "./lib/export/helpers/custom-files.mjs"
258
+ "import": "./lib/export/helpers/custom-files.mjs",
259
+ "types": "./lib/export/helpers/custom-files.d.ts"
210
260
  },
211
261
  "./lib/export/helpers/prepare": {
212
262
  "require": "./lib/export/helpers/prepare.cjs",
213
- "import": "./lib/export/helpers/prepare.mjs"
263
+ "import": "./lib/export/helpers/prepare.mjs",
264
+ "types": "./lib/export/helpers/prepare.d.ts"
214
265
  },
215
266
  "./lib/export/helpers/types-version": {
216
267
  "require": "./lib/export/helpers/types-version.cjs",
217
- "import": "./lib/export/helpers/types-version.mjs"
268
+ "import": "./lib/export/helpers/types-version.mjs",
269
+ "types": "./lib/export/helpers/types-version.d.ts"
218
270
  },
219
271
  "./lib/export/icon-package": {
220
272
  "require": "./lib/export/icon-package.cjs",
221
- "import": "./lib/export/icon-package.mjs"
273
+ "import": "./lib/export/icon-package.mjs",
274
+ "types": "./lib/export/icon-package.d.ts"
222
275
  },
223
276
  "./lib/export/json-package": {
224
277
  "require": "./lib/export/json-package.cjs",
225
- "import": "./lib/export/json-package.mjs"
278
+ "import": "./lib/export/json-package.mjs",
279
+ "types": "./lib/export/json-package.d.ts"
226
280
  },
227
281
  "./lib/icon-set": {
228
282
  "require": "./lib/icon-set/index.cjs",
229
- "import": "./lib/icon-set/index.mjs"
283
+ "import": "./lib/icon-set/index.mjs",
284
+ "types": "./lib/icon-set/index.d.ts"
230
285
  },
231
286
  "./lib/icon-set/index": {
232
287
  "require": "./lib/icon-set/index.cjs",
233
- "import": "./lib/icon-set/index.mjs"
288
+ "import": "./lib/icon-set/index.mjs",
289
+ "types": "./lib/icon-set/index.d.ts"
234
290
  },
235
291
  "./lib/icon-set/match": {
236
292
  "require": "./lib/icon-set/match.cjs",
237
- "import": "./lib/icon-set/match.mjs"
293
+ "import": "./lib/icon-set/match.mjs",
294
+ "types": "./lib/icon-set/match.d.ts"
238
295
  },
239
296
  "./lib/icon-set/merge": {
240
297
  "require": "./lib/icon-set/merge.cjs",
241
- "import": "./lib/icon-set/merge.mjs"
298
+ "import": "./lib/icon-set/merge.mjs",
299
+ "types": "./lib/icon-set/merge.d.ts"
242
300
  },
243
301
  "./lib/icon-set/modified": {
244
302
  "require": "./lib/icon-set/modified.cjs",
245
- "import": "./lib/icon-set/modified.mjs"
303
+ "import": "./lib/icon-set/modified.mjs",
304
+ "types": "./lib/icon-set/modified.d.ts"
246
305
  },
247
306
  "./lib/icon-set/props": {
248
307
  "require": "./lib/icon-set/props.cjs",
249
- "import": "./lib/icon-set/props.mjs"
308
+ "import": "./lib/icon-set/props.mjs",
309
+ "types": "./lib/icon-set/props.d.ts"
310
+ },
311
+ "./lib/icon-set/tags": {
312
+ "require": "./lib/icon-set/tags.cjs",
313
+ "import": "./lib/icon-set/tags.mjs",
314
+ "types": "./lib/icon-set/tags.d.ts"
250
315
  },
251
316
  "./lib/icon-set/types": {
252
317
  "require": "./lib/icon-set/types.cjs",
253
- "import": "./lib/icon-set/types.mjs"
318
+ "import": "./lib/icon-set/types.mjs",
319
+ "types": "./lib/icon-set/types.d.ts"
254
320
  },
255
321
  "./lib/import/directory": {
256
322
  "require": "./lib/import/directory.cjs",
257
- "import": "./lib/import/directory.mjs"
323
+ "import": "./lib/import/directory.mjs",
324
+ "types": "./lib/import/directory.d.ts"
258
325
  },
259
326
  "./lib/import/figma": {
260
327
  "require": "./lib/import/figma/index.cjs",
261
- "import": "./lib/import/figma/index.mjs"
328
+ "import": "./lib/import/figma/index.mjs",
329
+ "types": "./lib/import/figma/index.d.ts"
262
330
  },
263
331
  "./lib/import/figma/index": {
264
332
  "require": "./lib/import/figma/index.cjs",
265
- "import": "./lib/import/figma/index.mjs"
333
+ "import": "./lib/import/figma/index.mjs",
334
+ "types": "./lib/import/figma/index.d.ts"
266
335
  },
267
336
  "./lib/import/figma/nodes": {
268
337
  "require": "./lib/import/figma/nodes.cjs",
269
- "import": "./lib/import/figma/nodes.mjs"
338
+ "import": "./lib/import/figma/nodes.mjs",
339
+ "types": "./lib/import/figma/nodes.d.ts"
270
340
  },
271
341
  "./lib/import/figma/query": {
272
342
  "require": "./lib/import/figma/query.cjs",
273
- "import": "./lib/import/figma/query.mjs"
343
+ "import": "./lib/import/figma/query.mjs",
344
+ "types": "./lib/import/figma/query.d.ts"
274
345
  },
275
346
  "./lib/import/figma/types/api": {
276
347
  "require": "./lib/import/figma/types/api.cjs",
277
- "import": "./lib/import/figma/types/api.mjs"
348
+ "import": "./lib/import/figma/types/api.mjs",
349
+ "types": "./lib/import/figma/types/api.d.ts"
278
350
  },
279
351
  "./lib/import/figma/types/nodes": {
280
352
  "require": "./lib/import/figma/types/nodes.cjs",
281
- "import": "./lib/import/figma/types/nodes.mjs"
353
+ "import": "./lib/import/figma/types/nodes.mjs",
354
+ "types": "./lib/import/figma/types/nodes.d.ts"
282
355
  },
283
356
  "./lib/import/figma/types/options": {
284
357
  "require": "./lib/import/figma/types/options.cjs",
285
- "import": "./lib/import/figma/types/options.mjs"
358
+ "import": "./lib/import/figma/types/options.mjs",
359
+ "types": "./lib/import/figma/types/options.d.ts"
286
360
  },
287
361
  "./lib/import/figma/types/result": {
288
362
  "require": "./lib/import/figma/types/result.cjs",
289
- "import": "./lib/import/figma/types/result.mjs"
363
+ "import": "./lib/import/figma/types/result.mjs",
364
+ "types": "./lib/import/figma/types/result.d.ts"
290
365
  },
291
366
  "./lib": {
292
367
  "require": "./lib/index.cjs",
293
- "import": "./lib/index.mjs"
368
+ "import": "./lib/index.mjs",
369
+ "types": "./lib/index.d.ts"
294
370
  },
295
371
  "./lib/index": {
296
372
  "require": "./lib/index.cjs",
297
- "import": "./lib/index.mjs"
373
+ "import": "./lib/index.mjs",
374
+ "types": "./lib/index.d.ts"
298
375
  },
299
376
  "./lib/misc/bump-version": {
300
377
  "require": "./lib/misc/bump-version.cjs",
301
- "import": "./lib/misc/bump-version.mjs"
378
+ "import": "./lib/misc/bump-version.mjs",
379
+ "types": "./lib/misc/bump-version.d.ts"
302
380
  },
303
381
  "./lib/misc/cheerio": {
304
382
  "require": "./lib/misc/cheerio.cjs",
305
- "import": "./lib/misc/cheerio.mjs"
383
+ "import": "./lib/misc/cheerio.mjs",
384
+ "types": "./lib/misc/cheerio.d.ts"
306
385
  },
307
386
  "./lib/misc/compare-dirs": {
308
387
  "require": "./lib/misc/compare-dirs.cjs",
309
- "import": "./lib/misc/compare-dirs.mjs"
388
+ "import": "./lib/misc/compare-dirs.mjs",
389
+ "types": "./lib/misc/compare-dirs.d.ts"
310
390
  },
311
391
  "./lib/misc/exec": {
312
392
  "require": "./lib/misc/exec.cjs",
313
- "import": "./lib/misc/exec.mjs"
393
+ "import": "./lib/misc/exec.mjs",
394
+ "types": "./lib/misc/exec.d.ts"
314
395
  },
315
396
  "./lib/misc/keyword": {
316
397
  "require": "./lib/misc/keyword.cjs",
317
- "import": "./lib/misc/keyword.mjs"
398
+ "import": "./lib/misc/keyword.mjs",
399
+ "types": "./lib/misc/keyword.d.ts"
318
400
  },
319
401
  "./lib/misc/scan": {
320
402
  "require": "./lib/misc/scan.cjs",
321
- "import": "./lib/misc/scan.mjs"
403
+ "import": "./lib/misc/scan.mjs",
404
+ "types": "./lib/misc/scan.d.ts"
322
405
  },
323
406
  "./lib/misc/write-json": {
324
407
  "require": "./lib/misc/write-json.cjs",
325
- "import": "./lib/misc/write-json.mjs"
408
+ "import": "./lib/misc/write-json.mjs",
409
+ "types": "./lib/misc/write-json.d.ts"
326
410
  },
327
411
  "./lib/optimise/flags": {
328
412
  "require": "./lib/optimise/flags.cjs",
329
- "import": "./lib/optimise/flags.mjs"
413
+ "import": "./lib/optimise/flags.mjs",
414
+ "types": "./lib/optimise/flags.d.ts"
330
415
  },
331
416
  "./lib/optimise/global-style": {
332
417
  "require": "./lib/optimise/global-style.cjs",
333
- "import": "./lib/optimise/global-style.mjs"
418
+ "import": "./lib/optimise/global-style.mjs",
419
+ "types": "./lib/optimise/global-style.d.ts"
334
420
  },
335
421
  "./lib/optimise/scale": {
336
422
  "require": "./lib/optimise/scale.cjs",
337
- "import": "./lib/optimise/scale.mjs"
423
+ "import": "./lib/optimise/scale.mjs",
424
+ "types": "./lib/optimise/scale.d.ts"
338
425
  },
339
426
  "./lib/optimise/svgo": {
340
427
  "require": "./lib/optimise/svgo.cjs",
341
- "import": "./lib/optimise/svgo.mjs"
428
+ "import": "./lib/optimise/svgo.mjs",
429
+ "types": "./lib/optimise/svgo.d.ts"
342
430
  },
343
431
  "./lib/svg/analyse": {
344
432
  "require": "./lib/svg/analyse.cjs",
345
- "import": "./lib/svg/analyse.mjs"
433
+ "import": "./lib/svg/analyse.mjs",
434
+ "types": "./lib/svg/analyse.d.ts"
346
435
  },
347
436
  "./lib/svg/analyse/error": {
348
437
  "require": "./lib/svg/analyse/error.cjs",
349
- "import": "./lib/svg/analyse/error.mjs"
438
+ "import": "./lib/svg/analyse/error.mjs",
439
+ "types": "./lib/svg/analyse/error.d.ts"
350
440
  },
351
441
  "./lib/svg/analyse/types": {
352
442
  "require": "./lib/svg/analyse/types.cjs",
353
- "import": "./lib/svg/analyse/types.mjs"
443
+ "import": "./lib/svg/analyse/types.mjs",
444
+ "types": "./lib/svg/analyse/types.d.ts"
354
445
  },
355
446
  "./lib/svg/cleanup": {
356
447
  "require": "./lib/svg/cleanup.cjs",
357
- "import": "./lib/svg/cleanup.mjs"
448
+ "import": "./lib/svg/cleanup.mjs",
449
+ "types": "./lib/svg/cleanup.d.ts"
358
450
  },
359
451
  "./lib/svg/cleanup/attribs": {
360
452
  "require": "./lib/svg/cleanup/attribs.cjs",
361
- "import": "./lib/svg/cleanup/attribs.mjs"
453
+ "import": "./lib/svg/cleanup/attribs.mjs",
454
+ "types": "./lib/svg/cleanup/attribs.d.ts"
362
455
  },
363
456
  "./lib/svg/cleanup/bad-tags": {
364
457
  "require": "./lib/svg/cleanup/bad-tags.cjs",
365
- "import": "./lib/svg/cleanup/bad-tags.mjs"
458
+ "import": "./lib/svg/cleanup/bad-tags.mjs",
459
+ "types": "./lib/svg/cleanup/bad-tags.d.ts"
366
460
  },
367
461
  "./lib/svg/cleanup/inline-style": {
368
462
  "require": "./lib/svg/cleanup/inline-style.cjs",
369
- "import": "./lib/svg/cleanup/inline-style.mjs"
463
+ "import": "./lib/svg/cleanup/inline-style.mjs",
464
+ "types": "./lib/svg/cleanup/inline-style.d.ts"
370
465
  },
371
466
  "./lib/svg/cleanup/root-style": {
372
467
  "require": "./lib/svg/cleanup/root-style.cjs",
373
- "import": "./lib/svg/cleanup/root-style.mjs"
468
+ "import": "./lib/svg/cleanup/root-style.mjs",
469
+ "types": "./lib/svg/cleanup/root-style.d.ts"
374
470
  },
375
471
  "./lib/svg/cleanup/root-svg": {
376
472
  "require": "./lib/svg/cleanup/root-svg.cjs",
377
- "import": "./lib/svg/cleanup/root-svg.mjs"
473
+ "import": "./lib/svg/cleanup/root-svg.mjs",
474
+ "types": "./lib/svg/cleanup/root-svg.d.ts"
378
475
  },
379
476
  "./lib/svg/cleanup/svgo-style": {
380
477
  "require": "./lib/svg/cleanup/svgo-style.cjs",
381
- "import": "./lib/svg/cleanup/svgo-style.mjs"
478
+ "import": "./lib/svg/cleanup/svgo-style.mjs",
479
+ "types": "./lib/svg/cleanup/svgo-style.d.ts"
382
480
  },
383
481
  "./lib/svg/data/attributes": {
384
482
  "require": "./lib/svg/data/attributes.cjs",
385
- "import": "./lib/svg/data/attributes.mjs"
483
+ "import": "./lib/svg/data/attributes.mjs",
484
+ "types": "./lib/svg/data/attributes.d.ts"
386
485
  },
387
486
  "./lib/svg/data/tags": {
388
487
  "require": "./lib/svg/data/tags.cjs",
389
- "import": "./lib/svg/data/tags.mjs"
488
+ "import": "./lib/svg/data/tags.mjs",
489
+ "types": "./lib/svg/data/tags.d.ts"
390
490
  },
391
491
  "./lib/svg": {
392
492
  "require": "./lib/svg/index.cjs",
393
- "import": "./lib/svg/index.mjs"
493
+ "import": "./lib/svg/index.mjs",
494
+ "types": "./lib/svg/index.d.ts"
394
495
  },
395
496
  "./lib/svg/index": {
396
497
  "require": "./lib/svg/index.cjs",
397
- "import": "./lib/svg/index.mjs"
498
+ "import": "./lib/svg/index.mjs",
499
+ "types": "./lib/svg/index.d.ts"
398
500
  },
399
501
  "./lib/svg/parse": {
400
502
  "require": "./lib/svg/parse.cjs",
401
- "import": "./lib/svg/parse.mjs"
503
+ "import": "./lib/svg/parse.mjs",
504
+ "types": "./lib/svg/parse.d.ts"
402
505
  },
403
506
  "./lib/svg/parse-style": {
404
507
  "require": "./lib/svg/parse-style.cjs",
405
- "import": "./lib/svg/parse-style.mjs"
508
+ "import": "./lib/svg/parse-style.mjs",
509
+ "types": "./lib/svg/parse-style.d.ts"
510
+ },
511
+ "./lib/tests/load": {
512
+ "require": "./lib/tests/load.cjs",
513
+ "import": "./lib/tests/load.mjs",
514
+ "types": "./lib/tests/load.d.ts"
406
515
  }
407
516
  }
408
517
  }