@unocss/preset-wind 0.52.3 → 0.52.5

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 CHANGED
@@ -1184,7 +1184,8 @@ const variantSpaceAndDivide = (matcher) => {
1184
1184
  return {
1185
1185
  matcher,
1186
1186
  selector: (input) => {
1187
- return `${input}>:not([hidden])~:not([hidden])`;
1187
+ const not = ">:not([hidden])~:not([hidden])";
1188
+ return input.includes(not) ? input : `${input}${not}`;
1188
1189
  }
1189
1190
  };
1190
1191
  }
package/dist/index.mjs CHANGED
@@ -1168,7 +1168,8 @@ const variantSpaceAndDivide = (matcher) => {
1168
1168
  return {
1169
1169
  matcher,
1170
1170
  selector: (input) => {
1171
- return `${input}>:not([hidden])~:not([hidden])`;
1171
+ const not = ">:not([hidden])~:not([hidden])";
1172
+ return input.includes(not) ? input : `${input}${not}`;
1172
1173
  }
1173
1174
  };
1174
1175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.52.3",
3
+ "version": "0.52.5",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  "*.css"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.52.3",
39
- "@unocss/preset-mini": "0.52.3"
38
+ "@unocss/core": "0.52.5",
39
+ "@unocss/preset-mini": "0.52.5"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",