@unocss/preset-icons 0.46.5 → 0.47.0
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/dist/browser.cjs +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{preset-icons.5c258cf1.cjs → preset-icons.985b2721.cjs} +4 -2
- package/dist/shared/{preset-icons.b465130e.mjs → preset-icons.c7dcf441.mjs} +4 -2
- package/package.json +4 -4
package/dist/browser.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const cdn = require('./shared/preset-icons.
|
|
5
|
+
const cdn = require('./shared/preset-icons.985b2721.cjs');
|
|
6
6
|
const core = require('./core.cjs');
|
|
7
7
|
require('ohmyfetch');
|
|
8
8
|
require('@unocss/core');
|
package/dist/browser.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createCDNLoader, l as loadIcon } from './shared/preset-icons.
|
|
1
|
+
import { c as createCDNLoader, l as loadIcon } from './shared/preset-icons.c7dcf441.mjs';
|
|
2
2
|
import { createPresetIcons } from './core.mjs';
|
|
3
3
|
export { combineLoaders, createPresetIcons } from './core.mjs';
|
|
4
4
|
import 'ohmyfetch';
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const cdn = require('./shared/preset-icons.
|
|
5
|
+
const cdn = require('./shared/preset-icons.985b2721.cjs');
|
|
6
6
|
const core = require('./core.cjs');
|
|
7
7
|
require('ohmyfetch');
|
|
8
8
|
require('@unocss/core');
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createCDNLoader, l as loadIcon } from './shared/preset-icons.
|
|
1
|
+
import { c as createCDNLoader, l as loadIcon } from './shared/preset-icons.c7dcf441.mjs';
|
|
2
2
|
import { createPresetIcons, combineLoaders } from './core.mjs';
|
|
3
3
|
export { combineLoaders, createPresetIcons } from './core.mjs';
|
|
4
4
|
import 'ohmyfetch';
|
|
@@ -67,7 +67,7 @@ function mergeIconData(parent, child) {
|
|
|
67
67
|
|
|
68
68
|
function getIconsTree(data, names) {
|
|
69
69
|
const icons = data.icons;
|
|
70
|
-
const aliases = data.aliases ||
|
|
70
|
+
const aliases = data.aliases || /* @__PURE__ */ Object.create(null);
|
|
71
71
|
const resolved = /* @__PURE__ */ Object.create(null);
|
|
72
72
|
function resolve(name) {
|
|
73
73
|
if (icons[name]) {
|
|
@@ -89,7 +89,7 @@ function getIconsTree(data, names) {
|
|
|
89
89
|
|
|
90
90
|
function internalGetIconData(data, name, tree) {
|
|
91
91
|
const icons = data.icons;
|
|
92
|
-
const aliases = data.aliases ||
|
|
92
|
+
const aliases = data.aliases || /* @__PURE__ */ Object.create(null);
|
|
93
93
|
let currentProps = {};
|
|
94
94
|
function parse(name2) {
|
|
95
95
|
currentProps = mergeIconData(
|
|
@@ -646,8 +646,10 @@ var collections = [
|
|
|
646
646
|
"cif",
|
|
647
647
|
"cil",
|
|
648
648
|
"circle-flags",
|
|
649
|
+
"circum",
|
|
649
650
|
"clarity",
|
|
650
651
|
"codicon",
|
|
652
|
+
"cryptocurrency-color",
|
|
651
653
|
"cryptocurrency",
|
|
652
654
|
"dashicons",
|
|
653
655
|
"ei",
|
|
@@ -65,7 +65,7 @@ function mergeIconData(parent, child) {
|
|
|
65
65
|
|
|
66
66
|
function getIconsTree(data, names) {
|
|
67
67
|
const icons = data.icons;
|
|
68
|
-
const aliases = data.aliases ||
|
|
68
|
+
const aliases = data.aliases || /* @__PURE__ */ Object.create(null);
|
|
69
69
|
const resolved = /* @__PURE__ */ Object.create(null);
|
|
70
70
|
function resolve(name) {
|
|
71
71
|
if (icons[name]) {
|
|
@@ -87,7 +87,7 @@ function getIconsTree(data, names) {
|
|
|
87
87
|
|
|
88
88
|
function internalGetIconData(data, name, tree) {
|
|
89
89
|
const icons = data.icons;
|
|
90
|
-
const aliases = data.aliases ||
|
|
90
|
+
const aliases = data.aliases || /* @__PURE__ */ Object.create(null);
|
|
91
91
|
let currentProps = {};
|
|
92
92
|
function parse(name2) {
|
|
93
93
|
currentProps = mergeIconData(
|
|
@@ -644,8 +644,10 @@ var collections = [
|
|
|
644
644
|
"cif",
|
|
645
645
|
"cil",
|
|
646
646
|
"circle-flags",
|
|
647
|
+
"circum",
|
|
647
648
|
"clarity",
|
|
648
649
|
"codicon",
|
|
650
|
+
"cryptocurrency-color",
|
|
649
651
|
"cryptocurrency",
|
|
650
652
|
"dashicons",
|
|
651
653
|
"ei",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "Pure CSS Icons for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"*.css"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@iconify/utils": "^2.0.
|
|
51
|
-
"@unocss/core": "0.
|
|
52
|
-
"ohmyfetch": "^0.4.
|
|
50
|
+
"@iconify/utils": "^2.0.2",
|
|
51
|
+
"@unocss/core": "0.47.0",
|
|
52
|
+
"ohmyfetch": "^0.4.21"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@iconify/types": "^2.0.0"
|