@unocss/preset-wind 0.49.4 → 0.49.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
@@ -1131,7 +1131,9 @@ const variantOrientations = [
1131
1131
  ];
1132
1132
 
1133
1133
  const variantSpaceAndDivide = (matcher) => {
1134
- if (/^space-?([xy])-?(-?.+)$/.test(matcher) || matcher.startsWith("divide-")) {
1134
+ if (matcher.startsWith("_"))
1135
+ return;
1136
+ if (/space-?([xy])-?(-?.+)$/.test(matcher) || /divide-/.test(matcher)) {
1135
1137
  return {
1136
1138
  matcher,
1137
1139
  selector: (input) => {
package/dist/index.mjs CHANGED
@@ -1128,7 +1128,9 @@ const variantOrientations = [
1128
1128
  ];
1129
1129
 
1130
1130
  const variantSpaceAndDivide = (matcher) => {
1131
- if (/^space-?([xy])-?(-?.+)$/.test(matcher) || matcher.startsWith("divide-")) {
1131
+ if (matcher.startsWith("_"))
1132
+ return;
1133
+ if (/space-?([xy])-?(-?.+)$/.test(matcher) || /divide-/.test(matcher)) {
1132
1134
  return {
1133
1135
  matcher,
1134
1136
  selector: (input) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.49.4",
3
+ "version": "0.49.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.49.4",
39
- "@unocss/preset-mini": "0.49.4"
38
+ "@unocss/core": "0.49.5",
39
+ "@unocss/preset-mini": "0.49.5"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",