@iconify/json 2.0.28 → 2.0.32
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/collections.json +13 -13
- package/collections.md +12 -12
- package/composer.json +1 -1
- package/dist/index.js +53 -15
- package/dist/index.mjs +11 -4
- package/json/bi.json +439 -1
- package/json/codicon.json +40 -1
- package/json/fluent.json +1359 -37
- package/json/lucide.json +7 -1
- package/json/majesticons.json +2587 -427
- package/json/mdi.json +70 -32
- package/json/octicon.json +24 -3
- package/json/simple-icons.json +35 -2
- package/package.json +14 -17
- package/readme.md +1 -1
package/collections.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mdi": {
|
|
3
3
|
"name": "Material Design Icons",
|
|
4
|
-
"total":
|
|
4
|
+
"total": 6682,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Austin Andrews",
|
|
7
7
|
"url": "https://github.com/Templarian/MaterialDesign"
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
},
|
|
279
279
|
"bi": {
|
|
280
280
|
"name": "Bootstrap Icons",
|
|
281
|
-
"total":
|
|
281
|
+
"total": 1668,
|
|
282
282
|
"version": "1.7.2",
|
|
283
283
|
"author": {
|
|
284
284
|
"name": "The Bootstrap Authors",
|
|
@@ -558,8 +558,8 @@
|
|
|
558
558
|
},
|
|
559
559
|
"majesticons": {
|
|
560
560
|
"name": "Majesticons",
|
|
561
|
-
"total":
|
|
562
|
-
"version": "1.
|
|
561
|
+
"total": 760,
|
|
562
|
+
"version": "2.1.1",
|
|
563
563
|
"author": {
|
|
564
564
|
"name": "Gerrit Halfmann",
|
|
565
565
|
"url": "https://github.com/halfmage/majesticons"
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"samples": [
|
|
572
572
|
"chats-line",
|
|
573
573
|
"home",
|
|
574
|
-
"
|
|
574
|
+
"edit-pen-4-line"
|
|
575
575
|
],
|
|
576
576
|
"height": 24,
|
|
577
577
|
"displayHeight": 24,
|
|
@@ -709,8 +709,8 @@
|
|
|
709
709
|
},
|
|
710
710
|
"octicon": {
|
|
711
711
|
"name": "Octicons",
|
|
712
|
-
"total":
|
|
713
|
-
"version": "16.
|
|
712
|
+
"total": 483,
|
|
713
|
+
"version": "16.3.0",
|
|
714
714
|
"author": {
|
|
715
715
|
"name": "GitHub",
|
|
716
716
|
"url": "https://github.com/primer/octicons/"
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
},
|
|
735
735
|
"codicon": {
|
|
736
736
|
"name": "Codicons",
|
|
737
|
-
"total":
|
|
737
|
+
"total": 401,
|
|
738
738
|
"version": "0.0.27",
|
|
739
739
|
"author": {
|
|
740
740
|
"name": "Microsoft Corporation",
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
},
|
|
780
780
|
"lucide": {
|
|
781
781
|
"name": "Lucide",
|
|
782
|
-
"total":
|
|
782
|
+
"total": 542,
|
|
783
783
|
"author": {
|
|
784
784
|
"name": "Lucide Contributors",
|
|
785
785
|
"url": "https://github.com/lucide-icons/lucide"
|
|
@@ -1464,8 +1464,8 @@
|
|
|
1464
1464
|
},
|
|
1465
1465
|
"fluent": {
|
|
1466
1466
|
"name": "Fluent UI System Icons",
|
|
1467
|
-
"total":
|
|
1468
|
-
"version": "1.1.
|
|
1467
|
+
"total": 10082,
|
|
1468
|
+
"version": "1.1.158",
|
|
1469
1469
|
"author": {
|
|
1470
1470
|
"name": "Microsoft Corporation",
|
|
1471
1471
|
"url": "https://github.com/microsoft/fluentui-system-icons"
|
|
@@ -2110,8 +2110,8 @@
|
|
|
2110
2110
|
},
|
|
2111
2111
|
"simple-icons": {
|
|
2112
2112
|
"name": "Simple Icons",
|
|
2113
|
-
"total":
|
|
2114
|
-
"version": "6.
|
|
2113
|
+
"total": 2163,
|
|
2114
|
+
"version": "6.8.0",
|
|
2115
2115
|
"author": {
|
|
2116
2116
|
"name": "Simple Icons Collaborators",
|
|
2117
2117
|
"url": "https://github.com/simple-icons/simple-icons"
|
package/collections.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
### Material Design Icons
|
|
6
|
-
* Number of icons:
|
|
6
|
+
* Number of icons: 6682
|
|
7
7
|
* Author: Austin Andrews
|
|
8
8
|
* URL: https://github.com/Templarian/MaterialDesign
|
|
9
9
|
* License: Open Font License
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
### Bootstrap Icons
|
|
127
|
-
* Number of icons:
|
|
127
|
+
* Number of icons: 1668
|
|
128
128
|
* Author: The Bootstrap Authors
|
|
129
129
|
* URL: https://github.com/twbs/icons
|
|
130
130
|
* License: MIT
|
|
@@ -249,12 +249,12 @@
|
|
|
249
249
|
|
|
250
250
|
|
|
251
251
|
### Majesticons
|
|
252
|
-
* Number of icons:
|
|
252
|
+
* Number of icons: 760
|
|
253
253
|
* Author: Gerrit Halfmann
|
|
254
254
|
* URL: https://github.com/halfmage/majesticons
|
|
255
255
|
* License: MIT
|
|
256
256
|
* License URL: https://github.com/halfmage/majesticons/blob/main/LICENSE
|
|
257
|
-
* Version: 1.
|
|
257
|
+
* Version: 2.1.1
|
|
258
258
|
* Palette: Colorless
|
|
259
259
|
|
|
260
260
|
|
|
@@ -316,17 +316,17 @@
|
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
### Octicons
|
|
319
|
-
* Number of icons:
|
|
319
|
+
* Number of icons: 483
|
|
320
320
|
* Author: GitHub
|
|
321
321
|
* URL: https://github.com/primer/octicons/
|
|
322
322
|
* License: Open Font License
|
|
323
323
|
* License URL: https://raw.githubusercontent.com/primer/octicons/main/LICENSE
|
|
324
|
-
* Version: 16.
|
|
324
|
+
* Version: 16.3.0
|
|
325
325
|
* Palette: Colorless
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
### Codicons
|
|
329
|
-
* Number of icons:
|
|
329
|
+
* Number of icons: 401
|
|
330
330
|
* Author: Microsoft Corporation
|
|
331
331
|
* URL: https://github.com/microsoft/vscode-codicons
|
|
332
332
|
* License: CC BY 4.0
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
|
|
345
345
|
|
|
346
346
|
### Lucide
|
|
347
|
-
* Number of icons:
|
|
347
|
+
* Number of icons: 542
|
|
348
348
|
* Author: Lucide Contributors
|
|
349
349
|
* URL: https://github.com/lucide-icons/lucide
|
|
350
350
|
* License: ISC
|
|
@@ -640,12 +640,12 @@
|
|
|
640
640
|
|
|
641
641
|
|
|
642
642
|
### Fluent UI System Icons
|
|
643
|
-
* Number of icons:
|
|
643
|
+
* Number of icons: 10082
|
|
644
644
|
* Author: Microsoft Corporation
|
|
645
645
|
* URL: https://github.com/microsoft/fluentui-system-icons
|
|
646
646
|
* License: MIT
|
|
647
647
|
* License URL: https://github.com/microsoft/fluentui-system-icons/blob/master/LICENSE
|
|
648
|
-
* Version: 1.1.
|
|
648
|
+
* Version: 1.1.158
|
|
649
649
|
* Palette: Colorless
|
|
650
650
|
|
|
651
651
|
|
|
@@ -941,12 +941,12 @@
|
|
|
941
941
|
|
|
942
942
|
|
|
943
943
|
### Simple Icons
|
|
944
|
-
* Number of icons:
|
|
944
|
+
* Number of icons: 2163
|
|
945
945
|
* Author: Simple Icons Collaborators
|
|
946
946
|
* URL: https://github.com/simple-icons/simple-icons
|
|
947
947
|
* License: CC0 1.0
|
|
948
948
|
* License URL: https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md
|
|
949
|
-
* Version: 6.
|
|
949
|
+
* Version: 6.8.0
|
|
950
950
|
* Palette: Colorless
|
|
951
951
|
|
|
952
952
|
|
package/composer.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,25 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
19
|
+
return (module2, temp) => {
|
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
21
|
+
};
|
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
23
|
+
|
|
24
|
+
// src/index.ts
|
|
25
|
+
var src_exports = {};
|
|
26
|
+
__export(src_exports, {
|
|
27
|
+
loadCollection: () => loadCollection,
|
|
28
|
+
locate: () => locate,
|
|
29
|
+
lookupCollection: () => lookupCollection,
|
|
30
|
+
lookupCollections: () => lookupCollections
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// node_modules/tsup/assets/cjs_shims.js
|
|
34
|
+
var getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
35
|
+
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
36
|
+
|
|
37
|
+
// src/index.ts
|
|
38
|
+
var import_fs = require("fs");
|
|
39
|
+
var import_url = require("url");
|
|
40
|
+
var import_pathe = require("pathe");
|
|
41
|
+
var _dirname = typeof __dirname !== "undefined" ? __dirname : (0, import_pathe.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
|
|
42
|
+
var dir = (0, import_pathe.join)(_dirname, "/..");
|
|
43
|
+
var locate = (name) => (0, import_pathe.join)(dir, `./json/${name}.json`);
|
|
8
44
|
var loadCollection = async (path) => {
|
|
9
|
-
return JSON.parse(await
|
|
45
|
+
return JSON.parse(await import_fs.promises.readFile(path, "utf8"));
|
|
10
46
|
};
|
|
11
47
|
var lookupCollection = async (name) => {
|
|
12
48
|
return await loadCollection(locate(name));
|
|
13
49
|
};
|
|
14
50
|
var lookupCollections = async () => {
|
|
15
|
-
return JSON.parse(await
|
|
51
|
+
return JSON.parse(await import_fs.promises.readFile((0, import_pathe.join)(dir, "./collections.json"), "utf8"));
|
|
16
52
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
53
|
+
module.exports = __toCommonJS(src_exports);
|
|
54
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
55
|
+
0 && (module.exports = {
|
|
56
|
+
loadCollection,
|
|
57
|
+
locate,
|
|
58
|
+
lookupCollection,
|
|
59
|
+
lookupCollections
|
|
60
|
+
});
|
|
23
61
|
/**
|
|
24
62
|
* This file is part of the iconify.design libraries.
|
|
25
63
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
|
+
// node_modules/tsup/assets/esm_shims.js
|
|
2
|
+
import { fileURLToPath } from "url";
|
|
3
|
+
import path from "path";
|
|
4
|
+
var getFilename = () => fileURLToPath(import.meta.url);
|
|
5
|
+
var getDirname = () => path.dirname(getFilename());
|
|
6
|
+
var __dirname = /* @__PURE__ */ getDirname();
|
|
7
|
+
|
|
1
8
|
// src/index.ts
|
|
2
9
|
import { promises as fs } from "fs";
|
|
3
|
-
import { fileURLToPath } from "url";
|
|
10
|
+
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
4
11
|
import { dirname, join } from "pathe";
|
|
5
|
-
var _dirname = typeof __dirname !== "undefined" ? __dirname : dirname(
|
|
12
|
+
var _dirname = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath2(import.meta.url));
|
|
6
13
|
var dir = join(_dirname, "/..");
|
|
7
14
|
var locate = (name) => join(dir, `./json/${name}.json`);
|
|
8
|
-
var loadCollection = async (
|
|
9
|
-
return JSON.parse(await fs.readFile(
|
|
15
|
+
var loadCollection = async (path2) => {
|
|
16
|
+
return JSON.parse(await fs.readFile(path2, "utf8"));
|
|
10
17
|
};
|
|
11
18
|
var lookupCollection = async (name) => {
|
|
12
19
|
return await loadCollection(locate(name));
|