@unocss/preset-icons 0.41.2 → 0.43.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/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -97,7 +97,7 @@ const preset = (options = {}) => {
|
|
|
97
97
|
options,
|
|
98
98
|
layers: { icons: -30 },
|
|
99
99
|
rules: [[
|
|
100
|
-
|
|
100
|
+
/^([a-z0-9:-]+)(?:\?(mask|bg|auto))?$/,
|
|
101
101
|
async ([full, body, _mode = mode]) => {
|
|
102
102
|
let collection = "";
|
|
103
103
|
let name = "";
|
|
@@ -144,7 +144,7 @@ const preset = (options = {}) => {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
-
{ layer }
|
|
147
|
+
{ layer, prefix }
|
|
148
148
|
]]
|
|
149
149
|
};
|
|
150
150
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -93,7 +93,7 @@ const preset = (options = {}) => {
|
|
|
93
93
|
options,
|
|
94
94
|
layers: { icons: -30 },
|
|
95
95
|
rules: [[
|
|
96
|
-
|
|
96
|
+
/^([a-z0-9:-]+)(?:\?(mask|bg|auto))?$/,
|
|
97
97
|
async ([full, body, _mode = mode]) => {
|
|
98
98
|
let collection = "";
|
|
99
99
|
let name = "";
|
|
@@ -140,7 +140,7 @@ const preset = (options = {}) => {
|
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
{ layer }
|
|
143
|
+
{ layer, prefix }
|
|
144
144
|
]]
|
|
145
145
|
};
|
|
146
146
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "Pure CSS Icons for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@iconify/utils": "^1.0.33",
|
|
41
|
-
"@unocss/core": "0.
|
|
41
|
+
"@unocss/core": "0.43.0",
|
|
42
42
|
"ohmyfetch": "^0.4.18"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|