@iconify/json 2.0.26 → 2.0.30
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 +8 -8
- package/collections.md +8 -8
- package/composer.json +1 -1
- package/dist/index.js +53 -15
- package/dist/index.mjs +11 -4
- package/json/codicon.json +40 -1
- package/json/ep.json +1 -1
- package/json/fluent.json +5479 -4921
- package/json/lucide.json +23 -2
- package/json/mdi.json +246 -20
- package/json/octicon.json +23 -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": 6675,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Austin Andrews",
|
|
7
7
|
"url": "https://github.com/Templarian/MaterialDesign"
|
|
@@ -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"
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
"ep": {
|
|
802
802
|
"name": "Element Plus",
|
|
803
803
|
"total": 281,
|
|
804
|
-
"version": "0.2.
|
|
804
|
+
"version": "0.2.6",
|
|
805
805
|
"author": {
|
|
806
806
|
"name": "Element Plus",
|
|
807
807
|
"url": "https://github.com/element-plus/element-plus-icons"
|
|
@@ -1464,8 +1464,8 @@
|
|
|
1464
1464
|
},
|
|
1465
1465
|
"fluent": {
|
|
1466
1466
|
"name": "Fluent UI System Icons",
|
|
1467
|
-
"total":
|
|
1468
|
-
"version": "1.1.
|
|
1467
|
+
"total": 9804,
|
|
1468
|
+
"version": "1.1.157",
|
|
1469
1469
|
"author": {
|
|
1470
1470
|
"name": "Microsoft Corporation",
|
|
1471
1471
|
"url": "https://github.com/microsoft/fluentui-system-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: 6675
|
|
7
7
|
* Author: Austin Andrews
|
|
8
8
|
* URL: https://github.com/Templarian/MaterialDesign
|
|
9
9
|
* License: Open Font License
|
|
@@ -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
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
* URL: https://github.com/element-plus/element-plus-icons
|
|
359
359
|
* License: MIT
|
|
360
360
|
* License URL: https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json
|
|
361
|
-
* Version: 0.2.
|
|
361
|
+
* Version: 0.2.6
|
|
362
362
|
* Palette: Colorless
|
|
363
363
|
|
|
364
364
|
|
|
@@ -640,12 +640,12 @@
|
|
|
640
640
|
|
|
641
641
|
|
|
642
642
|
### Fluent UI System Icons
|
|
643
|
-
* Number of icons:
|
|
643
|
+
* Number of icons: 9804
|
|
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.157
|
|
649
649
|
* Palette: Colorless
|
|
650
650
|
|
|
651
651
|
|
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));
|
package/json/codicon.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"prefix": "codicon",
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "Codicons",
|
|
5
|
-
"total":
|
|
5
|
+
"total": 401,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft Corporation",
|
|
8
8
|
"url": "https://github.com/microsoft/vscode-codicons"
|
|
@@ -623,6 +623,42 @@
|
|
|
623
623
|
"width": 13,
|
|
624
624
|
"height": 13
|
|
625
625
|
},
|
|
626
|
+
"layout-activitybar-left": {
|
|
627
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm12 13H4V2h10v12z\"/></g>"
|
|
628
|
+
},
|
|
629
|
+
"layout-activitybar-right": {
|
|
630
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 13V2h10v12H2z\"/></g>"
|
|
631
|
+
},
|
|
632
|
+
"layout-centered": {
|
|
633
|
+
"body": "<g fill=\"currentColor\"><path d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 13V2h4v12H2zm8 0V2h4v12h-4z\"/></g>"
|
|
634
|
+
},
|
|
635
|
+
"layout-menubar": {
|
|
636
|
+
"body": "<g fill=\"currentColor\"><path d=\"M6 3H3v1h3V3z\"/><path d=\"M3 5h3v1H3V5z\"/><path d=\"M6 7H3v1h3V7z\"/><path d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 13V2h12v12H2z\"/></g>"
|
|
637
|
+
},
|
|
638
|
+
"layout-panel": {
|
|
639
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 9V2h12v8H2z\"/></g>"
|
|
640
|
+
},
|
|
641
|
+
"layout-panel-center": {
|
|
642
|
+
"body": "<g fill=\"currentColor\"><path d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 13V2h2v12H2zm3-4V2h6v8H5zm7-8h2v12h-2V2z\"/></g>"
|
|
643
|
+
},
|
|
644
|
+
"layout-panel-justify": {
|
|
645
|
+
"body": "<g fill=\"currentColor\"><path d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 9V2h2v8H2zm3 0V2h6v8H5zm7 0V2h2v8h-2z\"/></g>"
|
|
646
|
+
},
|
|
647
|
+
"layout-panel-left": {
|
|
648
|
+
"body": "<g fill=\"currentColor\"><path d=\"M1 2l1-1h12l1 1v12l-1 1H2l-1-1V2zm1 0v8h8V2H2zm9 0v12h3V2h-3z\"/></g>"
|
|
649
|
+
},
|
|
650
|
+
"layout-panel-right": {
|
|
651
|
+
"body": "<g fill=\"currentColor\"><path d=\"M1 2l1-1h12l1 1v12l-1 1H2l-1-1V2zm1 0v12h3V2H2zm4 0v8h8V2H6z\"/></g>"
|
|
652
|
+
},
|
|
653
|
+
"layout-sidebar-left": {
|
|
654
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm12 13H7V2h7v12z\"/></g>"
|
|
655
|
+
},
|
|
656
|
+
"layout-sidebar-right": {
|
|
657
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 13V2h7v12H2z\"/></g>"
|
|
658
|
+
},
|
|
659
|
+
"layout-statusbar": {
|
|
660
|
+
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 1L1 2v12l1 1h12l1-1V2l-1-1H2zm0 11V2h12v10H2z\"/></g>"
|
|
661
|
+
},
|
|
626
662
|
"library": {
|
|
627
663
|
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 2.5l.5-.5h2l.5.5v11l-.5.5h-2l-.5-.5v-11zM6 3v10h1V3H6zm3.171.345l.299-.641l1.88-.684l.64.299l3.762 10.336l-.299.641l-1.879.684l-.64-.299L9.17 3.345zm1.11.128l3.42 9.396l.94-.341l-3.42-9.397l-.94.342zM1 2.5l.5-.5h2l.5.5v11l-.5.5h-2l-.5-.5v-11zM2 3v10h1V3H2z\"/></g>"
|
|
628
664
|
},
|
|
@@ -1083,6 +1119,9 @@
|
|
|
1083
1119
|
"tag": {
|
|
1084
1120
|
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.2 2H8.017l-.353.146L1 8.81v.707L6.183 14.7h.707l2.215-2.215A4.48 4.48 0 0 0 15.65 9c.027-.166.044-.332.051-.5a4.505 4.505 0 0 0-2-3.74V2.5l-.5-.5zm-.5 2.259A4.504 4.504 0 0 0 11.2 4a.5.5 0 1 0 0 1a3.5 3.5 0 0 1 1.5.338v2.138L8.775 11.4a.506.506 0 0 0-.217.217l-2.022 2.022l-4.475-4.476L8.224 3H12.7v1.259zm1 1.792a3.5 3.5 0 0 1 1 2.449a3.438 3.438 0 0 1-.051.5a3.487 3.487 0 0 1-4.793 2.735l3.698-3.698l.146-.354V6.051z\"/></g>"
|
|
1085
1121
|
},
|
|
1122
|
+
"target": {
|
|
1123
|
+
"body": "<g fill=\"currentColor\"><path d=\"M8 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2z\"/><path d=\"M12 8a4 4 0 1 1-8 0a4 4 0 0 1 8 0zm-4 3a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\"/><path d=\"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0zm-7 6A6 6 0 1 0 8 2a6 6 0 0 0 0 12z\"/></g>"
|
|
1124
|
+
},
|
|
1086
1125
|
"tasklist": {
|
|
1087
1126
|
"body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.57 6.699l5.693-4.936L8.585 1L3.273 5.596l-1.51-1.832L1 4.442l1.85 2.214l.72.043zM15 5H6.824l2.307-2H15v2zM6 7h9v2H6V7zm9 4H6v2h9v-2z\"/></g>"
|
|
1088
1127
|
},
|