@unocss/preset-attributify 0.51.4 → 0.51.6
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 +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -163,8 +163,7 @@ function extractorAttributify(options) {
|
|
|
163
163
|
} else {
|
|
164
164
|
if (options?.prefixedOnly && options.prefix && !name.startsWith(options.prefix))
|
|
165
165
|
return [];
|
|
166
|
-
|
|
167
|
-
return (extractTernary.length ? extractTernary : content.split(splitterRE)).filter((v) => Boolean(v) && v !== ":").map((v) => `[${name}~="${v}"]`);
|
|
166
|
+
return content.split(splitterRE).filter((v) => Boolean(v) && v !== ":").map((v) => `[${name}~="${v}"]`);
|
|
168
167
|
}
|
|
169
168
|
});
|
|
170
169
|
return new Set(result);
|
package/dist/index.mjs
CHANGED
|
@@ -159,8 +159,7 @@ function extractorAttributify(options) {
|
|
|
159
159
|
} else {
|
|
160
160
|
if (options?.prefixedOnly && options.prefix && !name.startsWith(options.prefix))
|
|
161
161
|
return [];
|
|
162
|
-
|
|
163
|
-
return (extractTernary.length ? extractTernary : content.split(splitterRE)).filter((v) => Boolean(v) && v !== ":").map((v) => `[${name}~="${v}"]`);
|
|
162
|
+
return content.split(splitterRE).filter((v) => Boolean(v) && v !== ":").map((v) => `[${name}~="${v}"]`);
|
|
164
163
|
}
|
|
165
164
|
});
|
|
166
165
|
return new Set(result);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-attributify",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.6",
|
|
4
4
|
"description": "Attributify preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.51.
|
|
36
|
+
"@unocss/core": "0.51.6"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "unbuild",
|