@unocss/preset-wind 0.31.16 → 0.32.1

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
@@ -490,16 +490,6 @@ const screenReadersAccess = [
490
490
  }
491
491
  ]
492
492
  ];
493
- const contents = [
494
- [/^content-(.+)$/, ([, v]) => {
495
- const c = utils.handler.bracket.cssvar(v);
496
- if (c != null)
497
- return { content: c };
498
- return { content: `"${v}"` };
499
- }],
500
- ["content-empty", { content: '""' }],
501
- ["content-none", { content: '""' }]
502
- ];
503
493
  const isolations = [
504
494
  ["isolate", { isolation: "isolate" }],
505
495
  ["isolate-auto", { isolation: "auto" }],
@@ -825,7 +815,7 @@ const rules = [
825
815
  filters,
826
816
  rules$1.transitions,
827
817
  rules$1.willChange,
828
- contents,
818
+ rules$1.contents,
829
819
  placeholders,
830
820
  rules$1.questionMark
831
821
  ].flat(1);
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { toArray, CONTROL_SHORTCUT_NO_MERGE } from '@unocss/core';
2
2
  import { handler, positionMap, parseColor, colorToString, colorResolver, resolveBreakpoints, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
3
3
  import { theme as theme$1 } from '@unocss/preset-mini/theme';
4
4
  export { colors } from '@unocss/preset-mini';
5
- import { varEmpty, cssVariables as cssVariables$1, cssProperty, pointerEvents, appearances, positions, insets, zIndexes, orders, grids, floats, margins, boxSizing, displays, aspectRatio, sizes, flex, transforms, cursors, userSelects, resizes, appearance, placements, alignments, justifies, gaps, overflows, textOverflows, whitespaces, breaks, borders, bgColors, svgUtilities, paddings, textAligns, textIndents, verticalAligns, fonts, fontStyles, textColors, textDecorations, fontSmoothings, tabSizes, textStrokes, textShadows, opacity, boxShadows, outline, rings, transitions, willChange, questionMark } from '@unocss/preset-mini/rules';
5
+ import { varEmpty, cssVariables as cssVariables$1, cssProperty, pointerEvents, appearances, positions, insets, zIndexes, orders, grids, floats, margins, boxSizing, displays, aspectRatio, sizes, flex, transforms, cursors, userSelects, resizes, appearance, placements, alignments, justifies, gaps, overflows, textOverflows, whitespaces, breaks, borders, bgColors, svgUtilities, paddings, textAligns, textIndents, verticalAligns, fonts, fontStyles, textColors, textDecorations, fontSmoothings, tabSizes, textStrokes, textShadows, opacity, boxShadows, outline, rings, transitions, willChange, contents, questionMark } from '@unocss/preset-mini/rules';
6
6
  import { variants as variants$1 } from '@unocss/preset-mini/variants';
7
7
 
8
8
  const animations = [
@@ -486,16 +486,6 @@ const screenReadersAccess = [
486
486
  }
487
487
  ]
488
488
  ];
489
- const contents = [
490
- [/^content-(.+)$/, ([, v]) => {
491
- const c = handler.bracket.cssvar(v);
492
- if (c != null)
493
- return { content: c };
494
- return { content: `"${v}"` };
495
- }],
496
- ["content-empty", { content: '""' }],
497
- ["content-none", { content: '""' }]
498
- ];
499
489
  const isolations = [
500
490
  ["isolate", { isolation: "isolate" }],
501
491
  ["isolate-auto", { isolation: "auto" }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.31.16",
3
+ "version": "0.32.1",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "sideEffects": false,
37
37
  "dependencies": {
38
- "@unocss/core": "0.31.16",
39
- "@unocss/preset-mini": "0.31.16"
38
+ "@unocss/core": "0.32.1",
39
+ "@unocss/preset-mini": "0.32.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",