@unocss/preset-wind4 66.6.7 → 66.6.8

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.
@@ -1,4 +1,4 @@
1
- import { w as resolveBreakpoints } from "./utils-BamiTVVE.mjs";
1
+ import { w as resolveBreakpoints } from "./utils-B60b98El.mjs";
2
2
  import { isString } from "@unocss/core";
3
3
  //#region src/rules/container.ts
4
4
  const containerParent = [[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
@@ -1,5 +1,5 @@
1
1
  import { C as Theme } from "./theme-C7zgiweA.mjs";
2
- import * as _unocss_core0 from "@unocss/core";
2
+ import * as _$_unocss_core0 from "@unocss/core";
3
3
  import { Arrayable, CSSEntry, Postprocessor, Preflight, PreflightContext, PresetOptions, Variant, VariantFunction, VariantObject } from "@unocss/core";
4
4
 
5
5
  //#region src/postprocess/default.d.ts
@@ -19,7 +19,7 @@ declare function varPrefix({
19
19
  declare const preflights: (options: PresetWind4Options) => Preflight<Theme>[];
20
20
  //#endregion
21
21
  //#region src/shortcuts/index.d.ts
22
- declare const shortcuts: _unocss_core0.Shortcut<Theme>[];
22
+ declare const shortcuts: _$_unocss_core0.Shortcut<Theme>[];
23
23
  //#endregion
24
24
  //#region src/shorthands.d.ts
25
25
  declare const shorthands: {
@@ -221,6 +221,6 @@ interface PresetWind4Options extends PresetOptions {
221
221
  };
222
222
  };
223
223
  }
224
- declare const presetWind4: _unocss_core0.PresetFactory<Theme, PresetWind4Options>;
224
+ declare const presetWind4: _$_unocss_core0.PresetFactory<Theme, PresetWind4Options>;
225
225
  //#endregion
226
226
  export { variantLanguageDirections as A, variantBreakpoints as B, variantForcedColors as C, variantPrint as D, variantOrientations as E, variantColorsScheme as F, preflights as G, variantTaggedAriaAttributes as H, variantContainerQuery as I, postprocessors as J, varPrefix as K, variantCombinators as L, variantDataAttribute as M, variantTaggedDataAttributes as N, variantScripting as O, variantColorsMediaOrClass as P, variantSvgCombinators as R, variantCustomMedia as S, variantNoscript as T, shorthands as U, variantAria as V, shortcuts as W, variantSelector as _, variantSupports as a, variantVariables as b, variantPseudoClassFunctions as c, placeholderModifier as d, variantNegative as f, variantScope as g, variantInternalLayer as h, presetWind4 as i, variants as j, variantImportant as k, variantPseudoClassesAndElements as l, variantImplicitGroup as m, PreflightsTheme as n, variantStartingStyle as o, variantCssLayer as p, important as q, PresetWind4Options as r, variantPartClasses as s, DarkModeSelectors as t, variantTaggedPseudoClasses as u, variantStickyHover as v, variantMotions as w, variantContrasts as x, variantTheme as y, variantChildren as z };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { C as Theme, E as theme } from "./theme-C7zgiweA.mjs";
2
- import { G as preflights, J as postprocessors, U as shorthands, W as shortcuts, i as presetWind4, j as variants, n as PreflightsTheme, r as PresetWind4Options, t as DarkModeSelectors } from "./index-Br5yJM3P.mjs";
2
+ import { G as preflights, J as postprocessors, U as shorthands, W as shortcuts, i as presetWind4, j as variants, n as PreflightsTheme, r as PresetWind4Options, t as DarkModeSelectors } from "./index-CWcFBUbk.mjs";
3
3
  import { bt as rules } from "./rules-BpaLAJkj.mjs";
4
4
  export { DarkModeSelectors, PreflightsTheme, PresetWind4Options, Theme, presetWind4 as default, presetWind4, postprocessors, preflights, rules, shortcuts, shorthands, theme, variants };
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { postprocessors } from "./postprocess.mjs";
2
- import { H as PRESET_NAME, I as globalKeywords, a as themeTracking, f as compressCSS, h as getThemeByKey, n as detectThemeValue, o as trackedProperties, s as trackedTheme } from "./utils-BamiTVVE.mjs";
2
+ import { H as PRESET_NAME, I as globalKeywords, a as themeTracking, f as compressCSS, h as getThemeByKey, n as detectThemeValue, o as trackedProperties, s as trackedTheme } from "./utils-B60b98El.mjs";
3
3
  import { rules } from "./rules.mjs";
4
4
  import { shortcuts } from "./shortcuts.mjs";
5
5
  import { theme } from "./theme.mjs";
6
- import { t as variants } from "./variants-BQhcPCjX.mjs";
6
+ import { t as variants } from "./variants-B5PDncV-.mjs";
7
7
  import { definePreset, escapeSelector, toArray, uniq } from "@unocss/core";
8
8
  import { extractorArbitraryVariants } from "@unocss/extractor-arbitrary-variants";
9
9
  import { alphaPlaceholdersRE } from "@unocss/rule-utils";
@@ -1,2 +1,2 @@
1
- import { J as postprocessors, K as varPrefix, q as important } from "./index-Br5yJM3P.mjs";
1
+ import { J as postprocessors, K as varPrefix, q as important } from "./index-CWcFBUbk.mjs";
2
2
  export { important, postprocessors, varPrefix };
package/dist/rules.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { A as bracketTypeRe, B as xyzMap, D as h, F as directionMap, I as globalKeywords, L as insetMap, M as cornerMap, R as positionMap, S as parseColor, U as SpecialColorKey, V as CONTROL_NO_NEGATIVE, _ as hyphenate, a as themeTracking, b as makeGlobalStaticRules, d as colorableShadows, g as hasParseableColor, j as splitComma, l as colorCSSGenerator, m as directionSize, n as detectThemeValue, p as defineProperty, r as generateThemeVariable, u as colorResolver, v as isCSSMathFn, w as resolveBreakpoints, x as numberResolver, y as isSize, z as xyzArray } from "./utils-BamiTVVE.mjs";
2
- import { n as containerParent, r as containerShortcuts, t as container } from "./container-_7pdPWQl.mjs";
1
+ import { A as bracketTypeRe, B as xyzMap, D as h, F as directionMap, I as globalKeywords, L as insetMap, M as cornerMap, R as positionMap, S as parseColor, U as SpecialColorKey, V as CONTROL_NO_NEGATIVE, _ as hyphenate, a as themeTracking, b as makeGlobalStaticRules, d as colorableShadows, g as hasParseableColor, j as splitComma, l as colorCSSGenerator, m as directionSize, n as detectThemeValue, p as defineProperty, r as generateThemeVariable, u as colorResolver, v as isCSSMathFn, w as resolveBreakpoints, x as numberResolver, y as isSize, z as xyzArray } from "./utils-B60b98El.mjs";
2
+ import { n as containerParent, r as containerShortcuts, t as container } from "./container-m1WfKD7R.mjs";
3
3
  import { notNull, symbols } from "@unocss/core";
4
4
  import { getStringComponent, getStringComponents } from "@unocss/rule-utils";
5
5
  //#region src/rules/align.ts
@@ -1817,7 +1817,7 @@ function getSizeValue(theme, hw, prop) {
1817
1817
  themeTracking(`spacing`);
1818
1818
  v = `calc(var(--spacing) * ${h.number(prop)})`;
1819
1819
  }
1820
- return v ?? h.bracket.cssvar.global.auto.none.fraction.rem(prop);
1820
+ return v ?? h.bracket.cssvar.global.auto.none.fraction.rem(prop, theme);
1821
1821
  }
1822
1822
  const sizes = [
1823
1823
  [/^size-(min-|max-)?(.+)$/, ([, m, s], { theme }) => ({
@@ -1,2 +1,2 @@
1
- import { W as shortcuts } from "./index-Br5yJM3P.mjs";
1
+ import { W as shortcuts } from "./index-CWcFBUbk.mjs";
2
2
  export { shortcuts };
@@ -1,4 +1,4 @@
1
- import { r as containerShortcuts } from "./container-_7pdPWQl.mjs";
1
+ import { r as containerShortcuts } from "./container-m1WfKD7R.mjs";
2
2
  //#region src/shortcuts/index.ts
3
3
  const shortcuts = [...containerShortcuts];
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./chunk-D1SwGrFN.mjs";
2
2
  import { escapeSelector, symbols, toArray } from "@unocss/core";
3
- import { colorToString, createValueHandler, getStringComponent, getStringComponents, isInterpolatedMethod, parseCssColor } from "@unocss/rule-utils";
3
+ import { colorToString, createValueHandler, getStringComponent, getStringComponents, isInterpolatedMethod, parseCssColor, transformThemeFn } from "@unocss/rule-utils";
4
4
  //#region src/utils/constant.ts
5
5
  const PRESET_NAME = "@unocss/preset-wind4";
6
6
  const CONTROL_NO_NEGATIVE = "$$mini-no-negative";
@@ -140,6 +140,7 @@ const unitOnlyMap = {
140
140
  const bracketTypeRe = /^\[(color|image|length|size|position|quoted|string|number|family):/i;
141
141
  const splitComma = /,(?![^()]*\))/g;
142
142
  const remRE = /(-?[.\d]+)rem/g;
143
+ const cssVarsRE = /(?<!var\()--([\w.-]+)(\([^)]+\)|,[#.\s\w]+)?/g;
143
144
  //#endregion
144
145
  //#region src/utils/handlers/handlers.ts
145
146
  var handlers_exports = /* @__PURE__ */ __exportAll({
@@ -276,13 +277,23 @@ function fraction(str) {
276
277
  return `${round(num * 100)}%`;
277
278
  }
278
279
  }
279
- function processThemeVariable(name, key, paths, theme) {
280
- const valOrObj = getThemeByKey(theme, key, paths);
280
+ /**
281
+ * Process a theme variable reference and retrieve its value and corresponding CSS variable key.
282
+ *
283
+ * @example theme => Theme object
284
+ * @example themeKey => 'colors
285
+ * @example themeKeyPaths => ['blue', '500']
286
+ * @example varPaths => 'colors.blue.500'
287
+ *
288
+ * @returns An object containing the resolved value from the theme and the corresponding CSS variable key.
289
+ */
290
+ function processThemeVariable(theme, themeKey, themeKeyPaths, varPaths) {
291
+ const valOrObj = getThemeByKey(theme, themeKey, themeKeyPaths);
281
292
  const hasDefault = typeof valOrObj === "object" && "DEFAULT" in valOrObj;
282
- if (hasDefault) paths.push("DEFAULT");
293
+ if (hasDefault) themeKeyPaths.push("DEFAULT");
283
294
  const val = hasDefault ? valOrObj.DEFAULT : valOrObj;
284
- const varKey = hasDefault && key !== "spacing" ? `${name}.DEFAULT` : name;
285
- if (val != null) themeTracking(key, paths.length ? paths : void 0);
295
+ const varKey = hasDefault && themeKey !== "spacing" ? `${varPaths}.DEFAULT` : varPaths;
296
+ if (val != null) themeTracking(themeKey, themeKeyPaths.length ? themeKeyPaths : void 0);
286
297
  return {
287
298
  val,
288
299
  varKey
@@ -301,23 +312,24 @@ function bracketWithType(str, requiredType, theme) {
301
312
  }
302
313
  if (!base) return;
303
314
  if (base === "=\"\"") return;
304
- if (base.startsWith("--")) {
305
- const calcMatch = base.match(/^--([\w.-]+)\(([^)]+)\)$/);
306
- if (calcMatch != null && theme) {
307
- const [, name, factor] = calcMatch;
308
- const [key, ...paths] = name.split(".");
309
- const { val, varKey } = processThemeVariable(name, key, paths, theme);
310
- if (val != null) base = `calc(var(--${escapeSelector(varKey.replaceAll(".", "-"))}) * ${factor})`;
311
- } else {
312
- const [name, defaultValue] = base.slice(2).split(",");
313
- const suffix = defaultValue ? `, ${defaultValue}` : "";
314
- const escapedName = escapeSelector(name);
315
- if (theme) {
316
- const [key, ...paths] = name.split(".");
317
- const { val, varKey } = processThemeVariable(name, key, paths, theme);
318
- base = val != null ? `var(--${escapeSelector(varKey.replaceAll(".", "-"))}${suffix})` : `var(--${escapedName}${suffix})`;
319
- } else base = `var(--${escapedName}${suffix})`;
315
+ if (theme) base = transformThemeFn(base, theme);
316
+ const matches = Array.from(base.matchAll(cssVarsRE));
317
+ for (const match of matches) {
318
+ const [full, varPaths, _value] = match;
319
+ if (theme) {
320
+ const [key, ...paths] = varPaths.split(".");
321
+ const { val, varKey } = processThemeVariable(theme, key, paths, varPaths);
322
+ if (val != null) {
323
+ const cssVar = `--${varKey.replaceAll(".", "-")}`;
324
+ if (_value && !_value.startsWith(",")) base = base.replace(full, `calc(var(${cssVar}) * ${_value.slice(1, -1)})`);
325
+ else {
326
+ const fallback = _value?.slice(1);
327
+ base = base.replace(full, `var(${cssVar}${fallback ? `, ${fallback}` : ""})`);
328
+ }
329
+ continue;
330
+ }
320
331
  }
332
+ base = base.replace(full, `var(${full})`);
321
333
  }
322
334
  let curly = 0;
323
335
  for (const i of base) if (i === "[") curly += 1;
package/dist/utils.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { C as Theme } from "./theme-C7zgiweA.mjs";
2
2
  import { Arrayable, CSSEntry, CSSObject, CSSValueInput, DynamicMatcher, RuleContext, StaticRule, UtilObject, VariantContext } from "@unocss/core";
3
- import * as _unocss_rule_utils0 from "@unocss/rule-utils";
3
+ import * as _$_unocss_rule_utils0 from "@unocss/rule-utils";
4
4
  export * from "@unocss/rule-utils";
5
5
 
6
6
  //#region src/utils/constant.d.ts
@@ -36,8 +36,8 @@ declare function position(str: string): string | undefined;
36
36
  declare function none(str: string): "none" | undefined;
37
37
  //#endregion
38
38
  //#region src/utils/handlers/index.d.ts
39
- declare const handler: _unocss_rule_utils0.ValueHandler<string, Theme>;
40
- declare const h: _unocss_rule_utils0.ValueHandler<string, Theme>;
39
+ declare const handler: _$_unocss_rule_utils0.ValueHandler<string, Theme>;
40
+ declare const h: _$_unocss_rule_utils0.ValueHandler<string, Theme>;
41
41
  //#endregion
42
42
  //#region src/utils/mappings.d.ts
43
43
  declare const directionMap: Record<string, string[]>;
@@ -108,7 +108,7 @@ declare function parseColor(body: string, theme: Theme): {
108
108
  * Keys means the color is from theme object.
109
109
  */
110
110
  keys: string[] | undefined;
111
- readonly cssColor: _unocss_rule_utils0.CSSColorValue | undefined;
111
+ readonly cssColor: _$_unocss_rule_utils0.CSSColorValue | undefined;
112
112
  } | undefined;
113
113
  declare function parseThemeColor(theme: Theme, keys: string[]): {
114
114
  color: string;
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { B as xyzMap, C as parseThemeColor, D as h, E as splitShorthand, F as directionMap, H as PRESET_NAME, I as globalKeywords, L as insetMap, M as cornerMap, N as cssMathFnRE, O as handler, P as cssVarFnRE, R as positionMap, S as parseColor, T as resolveVerticalBreakpoints, U as SpecialColorKey, V as CONTROL_NO_NEGATIVE, _ as hyphenate, a as themeTracking, b as makeGlobalStaticRules, c as camelize, d as colorableShadows, f as compressCSS, g as hasParseableColor, h as getThemeByKey, i as propertyTracking, k as handlers_exports, l as colorCSSGenerator, m as directionSize, n as detectThemeValue, o as trackedProperties, p as defineProperty, r as generateThemeVariable, s as trackedTheme, t as createRemToPxProcessor, u as colorResolver, v as isCSSMathFn, w as resolveBreakpoints, x as numberResolver, y as isSize, z as xyzArray } from "./utils-BamiTVVE.mjs";
1
+ import { B as xyzMap, C as parseThemeColor, D as h, E as splitShorthand, F as directionMap, H as PRESET_NAME, I as globalKeywords, L as insetMap, M as cornerMap, N as cssMathFnRE, O as handler, P as cssVarFnRE, R as positionMap, S as parseColor, T as resolveVerticalBreakpoints, U as SpecialColorKey, V as CONTROL_NO_NEGATIVE, _ as hyphenate, a as themeTracking, b as makeGlobalStaticRules, c as camelize, d as colorableShadows, f as compressCSS, g as hasParseableColor, h as getThemeByKey, i as propertyTracking, k as handlers_exports, l as colorCSSGenerator, m as directionSize, n as detectThemeValue, o as trackedProperties, p as defineProperty, r as generateThemeVariable, s as trackedTheme, t as createRemToPxProcessor, u as colorResolver, v as isCSSMathFn, w as resolveBreakpoints, x as numberResolver, y as isSize, z as xyzArray } from "./utils-B60b98El.mjs";
2
2
  export * from "@unocss/rule-utils";
3
3
  export { CONTROL_NO_NEGATIVE, PRESET_NAME, SpecialColorKey, camelize, colorCSSGenerator, colorResolver, colorableShadows, compressCSS, cornerMap, createRemToPxProcessor, cssMathFnRE, cssVarFnRE, defineProperty, detectThemeValue, directionMap, directionSize, generateThemeVariable, getThemeByKey, globalKeywords, h, handler, hasParseableColor, hyphenate, insetMap, isCSSMathFn, isSize, makeGlobalStaticRules, numberResolver, parseColor, parseThemeColor, positionMap, propertyTracking, resolveBreakpoints, resolveVerticalBreakpoints, splitShorthand, themeTracking, trackedProperties, trackedTheme, handlers_exports as valueHandlers, xyzArray, xyzMap };
@@ -1,4 +1,4 @@
1
- import { D as h, N as cssMathFnRE, P as cssVarFnRE, g as hasParseableColor, w as resolveBreakpoints } from "./utils-BamiTVVE.mjs";
1
+ import { D as h, N as cssMathFnRE, P as cssVarFnRE, g as hasParseableColor, w as resolveBreakpoints } from "./utils-B60b98El.mjs";
2
2
  import { toArray } from "@unocss/core";
3
3
  import { calcMaxWidthBySize, createPartClasses, createPseudoClassFunctions, createPseudoClassesAndElements, createTaggedPseudoClasses, getBracket, getStringComponent, hasThemeFn, transformThemeFn, variantGetBracket, variantGetParameter, variantMatcher, variantParentMatcher } from "@unocss/rule-utils";
4
4
  //#region src/variants/aria.ts
@@ -513,7 +513,7 @@ const variantNegative = {
513
513
  return {
514
514
  matcher: matcher.slice(1),
515
515
  body: (body) => {
516
- if (body.find((v) => v[0] === "$$mini-no-negative")) return;
516
+ if (body.some((v) => v[0] === "$$mini-no-negative")) return;
517
517
  let changed = false;
518
518
  for (const v of body) {
519
519
  const [prop, rawValue, meta] = v;
@@ -1,2 +1,2 @@
1
- import { A as variantLanguageDirections, B as variantBreakpoints, C as variantForcedColors, D as variantPrint, E as variantOrientations, F as variantColorsScheme, H as variantTaggedAriaAttributes, I as variantContainerQuery, L as variantCombinators, M as variantDataAttribute, N as variantTaggedDataAttributes, O as variantScripting, P as variantColorsMediaOrClass, R as variantSvgCombinators, S as variantCustomMedia, T as variantNoscript, V as variantAria, _ as variantSelector, a as variantSupports, b as variantVariables, c as variantPseudoClassFunctions, d as placeholderModifier, f as variantNegative, g as variantScope, h as variantInternalLayer, j as variants, k as variantImportant, l as variantPseudoClassesAndElements, m as variantImplicitGroup, o as variantStartingStyle, p as variantCssLayer, s as variantPartClasses, u as variantTaggedPseudoClasses, v as variantStickyHover, w as variantMotions, x as variantContrasts, y as variantTheme, z as variantChildren } from "./index-Br5yJM3P.mjs";
1
+ import { A as variantLanguageDirections, B as variantBreakpoints, C as variantForcedColors, D as variantPrint, E as variantOrientations, F as variantColorsScheme, H as variantTaggedAriaAttributes, I as variantContainerQuery, L as variantCombinators, M as variantDataAttribute, N as variantTaggedDataAttributes, O as variantScripting, P as variantColorsMediaOrClass, R as variantSvgCombinators, S as variantCustomMedia, T as variantNoscript, V as variantAria, _ as variantSelector, a as variantSupports, b as variantVariables, c as variantPseudoClassFunctions, d as placeholderModifier, f as variantNegative, g as variantScope, h as variantInternalLayer, j as variants, k as variantImportant, l as variantPseudoClassesAndElements, m as variantImplicitGroup, o as variantStartingStyle, p as variantCssLayer, s as variantPartClasses, u as variantTaggedPseudoClasses, v as variantStickyHover, w as variantMotions, x as variantContrasts, y as variantTheme, z as variantChildren } from "./index-CWcFBUbk.mjs";
2
2
  export { placeholderModifier, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantColorsScheme, variantCombinators, variantContainerQuery, variantContrasts, variantCssLayer, variantCustomMedia, variantDataAttribute, variantForcedColors, variantImplicitGroup, variantImportant, variantInternalLayer, variantLanguageDirections, variantMotions, variantNegative, variantNoscript, variantOrientations, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantScripting, variantSelector, variantStartingStyle, variantStickyHover, variantSupports, variantSvgCombinators, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
package/dist/variants.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { A as variantColorsMediaOrClass, C as variantOrientations, D as variantLanguageDirections, E as variantImportant, F as variantChildren, I as variantBreakpoints, L as variantAria, M as variantContainerQuery, N as variantCombinators, O as variantDataAttribute, P as variantSvgCombinators, R as variantTaggedAriaAttributes, S as variantNoscript, T as variantScripting, _ as variantVariables, a as variantPseudoClassFunctions, b as variantForcedColors, c as placeholderModifier, d as variantImplicitGroup, f as variantInternalLayer, g as variantTheme, h as variantStickyHover, i as variantPartClasses, j as variantColorsScheme, k as variantTaggedDataAttributes, l as variantNegative, m as variantSelector, n as variantSupports, o as variantPseudoClassesAndElements, p as variantScope, r as variantStartingStyle, s as variantTaggedPseudoClasses, t as variants, u as variantCssLayer, v as variantContrasts, w as variantPrint, x as variantMotions, y as variantCustomMedia } from "./variants-BQhcPCjX.mjs";
1
+ import { A as variantColorsMediaOrClass, C as variantOrientations, D as variantLanguageDirections, E as variantImportant, F as variantChildren, I as variantBreakpoints, L as variantAria, M as variantContainerQuery, N as variantCombinators, O as variantDataAttribute, P as variantSvgCombinators, R as variantTaggedAriaAttributes, S as variantNoscript, T as variantScripting, _ as variantVariables, a as variantPseudoClassFunctions, b as variantForcedColors, c as placeholderModifier, d as variantImplicitGroup, f as variantInternalLayer, g as variantTheme, h as variantStickyHover, i as variantPartClasses, j as variantColorsScheme, k as variantTaggedDataAttributes, l as variantNegative, m as variantSelector, n as variantSupports, o as variantPseudoClassesAndElements, p as variantScope, r as variantStartingStyle, s as variantTaggedPseudoClasses, t as variants, u as variantCssLayer, v as variantContrasts, w as variantPrint, x as variantMotions, y as variantCustomMedia } from "./variants-B5PDncV-.mjs";
2
2
  export { placeholderModifier, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantColorsScheme, variantCombinators, variantContainerQuery, variantContrasts, variantCssLayer, variantCustomMedia, variantDataAttribute, variantForcedColors, variantImplicitGroup, variantImportant, variantInternalLayer, variantLanguageDirections, variantMotions, variantNegative, variantNoscript, variantOrientations, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantScripting, variantSelector, variantStartingStyle, variantStickyHover, variantSupports, variantSvgCombinators, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind4",
3
3
  "type": "module",
4
- "version": "66.6.7",
4
+ "version": "66.6.8",
5
5
  "description": "Tailwind 4 compact preset for UnoCSS",
6
6
  "authors": [
7
7
  {
@@ -54,9 +54,9 @@
54
54
  "dist"
55
55
  ],
56
56
  "dependencies": {
57
- "@unocss/core": "66.6.7",
58
- "@unocss/extractor-arbitrary-variants": "66.6.7",
59
- "@unocss/rule-utils": "66.6.7"
57
+ "@unocss/core": "66.6.8",
58
+ "@unocss/extractor-arbitrary-variants": "66.6.8",
59
+ "@unocss/rule-utils": "66.6.8"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown --config-loader unrun",