@unocss/preset-wind 0.59.3 → 0.60.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1252,7 +1252,7 @@ function important(option) {
1252
1252
  if (selector.startsWith(":is(") && selector.endsWith(")"))
1253
1253
  return selector;
1254
1254
  if (selector.includes("::"))
1255
- return selector.replace(/(.*)(::.*)/, ":is($1)$2");
1255
+ return selector.replace(/(.*?)(\s*::.*)/, ":is($1)$2");
1256
1256
  return `:is(${selector})`;
1257
1257
  };
1258
1258
  return [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
3
  "type": "module",
4
- "version": "0.59.3",
4
+ "version": "0.60.0",
5
5
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -35,9 +35,9 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/preset-mini": "0.59.3",
39
- "@unocss/rule-utils": "0.59.3",
40
- "@unocss/core": "0.59.3"
38
+ "@unocss/core": "0.60.0",
39
+ "@unocss/rule-utils": "0.60.0",
40
+ "@unocss/preset-mini": "0.60.0"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "unbuild",