@unocss/preset-wind4 66.6.0 → 66.6.2

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.
@@ -67,6 +67,58 @@ const colors = {
67
67
  900: "oklch(21.6% 0.006 56.043)",
68
68
  950: "oklch(14.7% 0.004 49.25)"
69
69
  },
70
+ mauve: {
71
+ 50: "oklch(98.5% 0 0)",
72
+ 100: "oklch(96% 0.003 325.6)",
73
+ 200: "oklch(92.2% 0.005 325.62)",
74
+ 300: "oklch(86.5% 0.012 325.68)",
75
+ 400: "oklch(71.1% 0.019 323.02)",
76
+ 500: "oklch(54.2% 0.034 322.5)",
77
+ 600: "oklch(43.5% 0.029 321.78)",
78
+ 700: "oklch(36.4% 0.029 323.89)",
79
+ 800: "oklch(26.3% 0.024 320.12)",
80
+ 900: "oklch(21.2% 0.019 322.12)",
81
+ 950: "oklch(14.5% 0.008 326)"
82
+ },
83
+ olive: {
84
+ 50: "oklch(98.8% 0.003 106.5)",
85
+ 100: "oklch(96.6% 0.005 106.5)",
86
+ 200: "oklch(93% 0.007 106.5)",
87
+ 300: "oklch(88% 0.011 106.6)",
88
+ 400: "oklch(73.7% 0.021 106.9)",
89
+ 500: "oklch(58% 0.031 107.3)",
90
+ 600: "oklch(46.6% 0.025 107.3)",
91
+ 700: "oklch(39.4% 0.023 107.4)",
92
+ 800: "oklch(28.6% 0.016 107.4)",
93
+ 900: "oklch(22.8% 0.013 107.4)",
94
+ 950: "oklch(15.3% 0.006 107.1)"
95
+ },
96
+ mist: {
97
+ 50: "oklch(98.7% 0.002 197.1)",
98
+ 100: "oklch(96.3% 0.002 197.1)",
99
+ 200: "oklch(92.5% 0.005 214.3)",
100
+ 300: "oklch(87.2% 0.007 219.6)",
101
+ 400: "oklch(72.3% 0.014 214.4)",
102
+ 500: "oklch(56% 0.021 213.5)",
103
+ 600: "oklch(45% 0.017 213.2)",
104
+ 700: "oklch(37.8% 0.015 216)",
105
+ 800: "oklch(27.5% 0.011 216.9)",
106
+ 900: "oklch(21.8% 0.008 223.9)",
107
+ 950: "oklch(14.8% 0.004 228.8)"
108
+ },
109
+ taupe: {
110
+ 50: "oklch(98.6% 0.002 67.8)",
111
+ 100: "oklch(96% 0.002 17.2)",
112
+ 200: "oklch(92.2% 0.005 34.3)",
113
+ 300: "oklch(86.8% 0.007 39.5)",
114
+ 400: "oklch(71.4% 0.014 41.2)",
115
+ 500: "oklch(54.7% 0.021 43.1)",
116
+ 600: "oklch(43.8% 0.017 39.3)",
117
+ 700: "oklch(36.7% 0.016 35.7)",
118
+ 800: "oklch(26.8% 0.011 36.5)",
119
+ 900: "oklch(21.4% 0.009 43.1)",
120
+ 950: "oklch(14.7% 0.004 49.3)"
121
+ },
70
122
  red: {
71
123
  50: "oklch(97.1% 0.013 17.38)",
72
124
  100: "oklch(93.6% 0.032 17.717)",
@@ -67,6 +67,58 @@ declare const colors: {
67
67
  900: string;
68
68
  950: string;
69
69
  };
70
+ mauve: {
71
+ 50: string;
72
+ 100: string;
73
+ 200: string;
74
+ 300: string;
75
+ 400: string;
76
+ 500: string;
77
+ 600: string;
78
+ 700: string;
79
+ 800: string;
80
+ 900: string;
81
+ 950: string;
82
+ };
83
+ olive: {
84
+ 50: string;
85
+ 100: string;
86
+ 200: string;
87
+ 300: string;
88
+ 400: string;
89
+ 500: string;
90
+ 600: string;
91
+ 700: string;
92
+ 800: string;
93
+ 900: string;
94
+ 950: string;
95
+ };
96
+ mist: {
97
+ 50: string;
98
+ 100: string;
99
+ 200: string;
100
+ 300: string;
101
+ 400: string;
102
+ 500: string;
103
+ 600: string;
104
+ 700: string;
105
+ 800: string;
106
+ 900: string;
107
+ 950: string;
108
+ };
109
+ taupe: {
110
+ 50: string;
111
+ 100: string;
112
+ 200: string;
113
+ 300: string;
114
+ 400: string;
115
+ 500: string;
116
+ 600: string;
117
+ 700: string;
118
+ 800: string;
119
+ 900: string;
120
+ 950: string;
121
+ };
70
122
  red: {
71
123
  50: string;
72
124
  100: string;
package/dist/colors.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as colors } from "./colors-CEavILWB.mjs";
1
+ import { t as colors } from "./colors-Dy0ZKdct.mjs";
2
2
  export { colors };
package/dist/colors.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as colors } from "./colors-hDdKuL6f.mjs";
1
+ import { t as colors } from "./colors-DfOpBqNN.mjs";
2
2
 
3
3
  export { colors };
@@ -1,4 +1,4 @@
1
- import { w as resolveBreakpoints } from "./utils-BiCtQrPC.mjs";
1
+ import { w as resolveBreakpoints } from "./utils-C1uvQCt6.mjs";
2
2
  import { isString } from "@unocss/core";
3
3
 
4
4
  //#region src/rules/container.ts
@@ -1,4 +1,4 @@
1
- import { C as Theme } from "./theme-BcMDscP8.mjs";
1
+ import { C as Theme } from "./theme-BEjX_ZME.mjs";
2
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
 
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Theme, E as theme } from "./theme-BcMDscP8.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-DG4CYhPr.mjs";
3
- import { bt as rules } from "./rules-CWCmuPTy.mjs";
1
+ import { C as Theme, E as theme } from "./theme-BEjX_ZME.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-CG7jV-T1.mjs";
3
+ import { bt as rules } from "./rules-C5vHFC6_.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-BiCtQrPC.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-C1uvQCt6.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-jhZqwv4U.mjs";
6
+ import { t as variants } from "./variants-BqQ8LqhD.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,3 +1,3 @@
1
- import { J as postprocessors, K as varPrefix, q as important } from "./index-DG4CYhPr.mjs";
2
- import "./rules-CWCmuPTy.mjs";
1
+ import { J as postprocessors, K as varPrefix, q as important } from "./index-CG7jV-T1.mjs";
2
+ import "./rules-C5vHFC6_.mjs";
3
3
  export { important, postprocessors, varPrefix };
@@ -1,4 +1,4 @@
1
- import { C as Theme$1 } from "./theme-BcMDscP8.mjs";
1
+ import { C as Theme$1 } from "./theme-BEjX_ZME.mjs";
2
2
  import { CSSEntries, CSSValueInput, Rule, Shortcut, StaticRule, VariantHandler } from "@unocss/core";
3
3
  import { Theme } from "@unocss/preset-wind4";
4
4
 
package/dist/rules.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as rings, A as hyphens, At as borders, B as userSelects, Bt as willChange, C as contents, Ct as containerParent, D as fieldSizing, Dt as colorScheme, E as dynamicViewportHeight, Et as bgColors, F as resizes, Ft as imageRenderings, G as notLastChildSelectorVariant, H as writingModes, Ht as animations, I as screenReadersAccess, It as listStyle, J as aspectRatio, K as paddings, L as textOverflows, Lt as outline, M as mixBlendModes, Mt as accents, N as objectPositions, Nt as appearance, O as fontSmoothings, Ot as opacity, P as pointerEvents, Pt as carets, Q as scrolls, R as textTransforms, Rt as overscrolls, S as contentVisibility, St as container, T as displays, Tt as columns, U as writingOrientations, Ut as textAligns, V as whitespaces, Vt as backgroundStyles, W as margins, Wt as verticalAligns, X as boxShadows, Y as sizes, Z as shadowProperties, _ as accessibility, _t as flex, a as fonts, at as insets, b as breaks, bt as rules, c as textIndents, ct as placements, d as transitions, dt as placeholders, et as questionMark, f as transformBase, ft as masks, g as svgUtilities, gt as gaps, h as tables, ht as grids, i as fontVariantNumeric, it as floats, j as isolations, jt as handlerBorderStyle, k as fontStyles, kt as borderStyles, l as textShadows, lt as positions, m as touchActions, mt as overflows, n as cssProperty, nt as boxSizing, o as splitShorthand, ot as justifies, p as transforms, pt as lineClamps, q as spaces, r as cssVariables, rt as flexGridJustifiesAlignments, s as tabSizes, st as orders, t as viewTransition, tt as alignments, u as textStrokes, ut as zIndexes, v as appearances, vt as filters, w as cursors, wt as containerShortcuts, x as contains, xt as textDecorations, y as backgroundBlendModes, yt as divides, z as textWraps, zt as scrollBehaviors } from "./rules-CWCmuPTy.mjs";
1
+ import { $ as rings, A as hyphens, At as borders, B as userSelects, Bt as willChange, C as contents, Ct as containerParent, D as fieldSizing, Dt as colorScheme, E as dynamicViewportHeight, Et as bgColors, F as resizes, Ft as imageRenderings, G as notLastChildSelectorVariant, H as writingModes, Ht as animations, I as screenReadersAccess, It as listStyle, J as aspectRatio, K as paddings, L as textOverflows, Lt as outline, M as mixBlendModes, Mt as accents, N as objectPositions, Nt as appearance, O as fontSmoothings, Ot as opacity, P as pointerEvents, Pt as carets, Q as scrolls, R as textTransforms, Rt as overscrolls, S as contentVisibility, St as container, T as displays, Tt as columns, U as writingOrientations, Ut as textAligns, V as whitespaces, Vt as backgroundStyles, W as margins, Wt as verticalAligns, X as boxShadows, Y as sizes, Z as shadowProperties, _ as accessibility, _t as flex, a as fonts, at as insets, b as breaks, bt as rules, c as textIndents, ct as placements, d as transitions, dt as placeholders, et as questionMark, f as transformBase, ft as masks, g as svgUtilities, gt as gaps, h as tables, ht as grids, i as fontVariantNumeric, it as floats, j as isolations, jt as handlerBorderStyle, k as fontStyles, kt as borderStyles, l as textShadows, lt as positions, m as touchActions, mt as overflows, n as cssProperty, nt as boxSizing, o as splitShorthand, ot as justifies, p as transforms, pt as lineClamps, q as spaces, r as cssVariables, rt as flexGridJustifiesAlignments, s as tabSizes, st as orders, t as viewTransition, tt as alignments, u as textStrokes, ut as zIndexes, v as appearances, vt as filters, w as cursors, wt as containerShortcuts, x as contains, xt as textDecorations, y as backgroundBlendModes, yt as divides, z as textWraps, zt as scrollBehaviors } from "./rules-C5vHFC6_.mjs";
2
2
  export { accents, accessibility, alignments, animations, appearance, appearances, aspectRatio, backgroundBlendModes, backgroundStyles, bgColors, borderStyles, borders, boxShadows, boxSizing, breaks, carets, colorScheme, columns, container, containerParent, containerShortcuts, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, divides, dynamicViewportHeight, fieldSizing, filters, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fontVariantNumeric, fonts, gaps, grids, handlerBorderStyle, hyphens, imageRenderings, insets, isolations, justifies, lineClamps, listStyle, margins, masks, mixBlendModes, notLastChildSelectorVariant, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, rules, screenReadersAccess, scrollBehaviors, scrolls, shadowProperties, sizes, spaces, splitShorthand, svgUtilities, tabSizes, tables, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, touchActions, transformBase, transforms, transitions, userSelects, verticalAligns, viewTransition, whitespaces, willChange, writingModes, writingOrientations, zIndexes };
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-BiCtQrPC.mjs";
2
- import { n as containerParent, r as containerShortcuts, t as container } from "./container-Bma9LDm4.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-C1uvQCt6.mjs";
2
+ import { n as containerParent, r as containerShortcuts, t as container } from "./container-DKNdsyjo.mjs";
3
3
  import { notNull, symbols } from "@unocss/core";
4
4
  import { getStringComponent, getStringComponents } from "@unocss/rule-utils";
5
5
 
@@ -2416,20 +2416,22 @@ const transforms = [
2416
2416
  { autocomplete: [`transform-origin-(${Object.keys(positionMap).join("|")})`, `origin-(${Object.keys(positionMap).join("|")})`] }
2417
2417
  ],
2418
2418
  [
2419
- /^(?:transform-)?perspect(?:ive)?-(.+)$/,
2420
- ([, s], { theme }) => {
2419
+ /^(transform-)?perspect(?:ive)?-(.+)$/,
2420
+ ([, t, s], { theme }) => {
2421
2421
  let v;
2422
2422
  if (theme.perspective?.[s]) {
2423
2423
  themeTracking(`perspective`, s);
2424
2424
  v = generateThemeVariable("perspective", s);
2425
2425
  } else v = h.bracket.cssvar.px.numberWithUnit(s);
2426
- if (v != null) return { perspective: v };
2426
+ if (v != null) {
2427
+ if (t) return {
2428
+ "--un-perspective": `perspective(${v})`,
2429
+ "transform": `var(--un-perspective) ${transform}`
2430
+ };
2431
+ return { perspective: v };
2432
+ }
2427
2433
  },
2428
- { autocomplete: [
2429
- `transform-perspective-<num>`,
2430
- `perspective-<num>`,
2431
- `perspective-$perspective`
2432
- ] }
2434
+ { autocomplete: [`perspective-<num>`, `perspective-$perspective`] }
2433
2435
  ],
2434
2436
  [/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/, ([, s]) => {
2435
2437
  const v = h.bracket.cssvar(s) ?? (s.length >= 3 ? positionMap[s] : void 0);
@@ -1,3 +1,3 @@
1
- import { W as shortcuts } from "./index-DG4CYhPr.mjs";
2
- import "./rules-CWCmuPTy.mjs";
1
+ import { W as shortcuts } from "./index-CG7jV-T1.mjs";
2
+ import "./rules-C5vHFC6_.mjs";
3
3
  export { shortcuts };
@@ -1,4 +1,4 @@
1
- import { r as containerShortcuts } from "./container-Bma9LDm4.mjs";
1
+ import { r as containerShortcuts } from "./container-DKNdsyjo.mjs";
2
2
 
3
3
  //#region src/shortcuts/index.ts
4
4
  const shortcuts = [...containerShortcuts];
@@ -395,6 +395,58 @@ declare const theme: {
395
395
  900: string;
396
396
  950: string;
397
397
  };
398
+ mauve: {
399
+ 50: string;
400
+ 100: string;
401
+ 200: string;
402
+ 300: string;
403
+ 400: string;
404
+ 500: string;
405
+ 600: string;
406
+ 700: string;
407
+ 800: string;
408
+ 900: string;
409
+ 950: string;
410
+ };
411
+ olive: {
412
+ 50: string;
413
+ 100: string;
414
+ 200: string;
415
+ 300: string;
416
+ 400: string;
417
+ 500: string;
418
+ 600: string;
419
+ 700: string;
420
+ 800: string;
421
+ 900: string;
422
+ 950: string;
423
+ };
424
+ mist: {
425
+ 50: string;
426
+ 100: string;
427
+ 200: string;
428
+ 300: string;
429
+ 400: string;
430
+ 500: string;
431
+ 600: string;
432
+ 700: string;
433
+ 800: string;
434
+ 900: string;
435
+ 950: string;
436
+ };
437
+ taupe: {
438
+ 50: string;
439
+ 100: string;
440
+ 200: string;
441
+ 300: string;
442
+ 400: string;
443
+ 500: string;
444
+ 600: string;
445
+ 700: string;
446
+ 800: string;
447
+ 900: string;
448
+ 950: string;
449
+ };
398
450
  red: {
399
451
  50: string;
400
452
  100: string;
package/dist/theme.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { t as colors } from "./colors-CEavILWB.mjs";
2
- import { C as Theme, D as aria, E as theme, O as animation, S as Colors, T as blur, _ as fontWeight, a as container, b as textStrokeWidth, c as dropShadow, d as radius, f as shadow, g as font, h as media, i as breakpoint, l as insetShadow, m as textShadow, n as property, o as verticalBreakpoint, p as spacing, r as supports, s as defaults, t as ease, u as perspective, v as leading, w as ThemeAnimation, x as tracking, y as text } from "./theme-BcMDscP8.mjs";
1
+ import { t as colors } from "./colors-Dy0ZKdct.mjs";
2
+ import { C as Theme, D as aria, E as theme, O as animation, S as Colors, T as blur, _ as fontWeight, a as container, b as textStrokeWidth, c as dropShadow, d as radius, f as shadow, g as font, h as media, i as breakpoint, l as insetShadow, m as textShadow, n as property, o as verticalBreakpoint, p as spacing, r as supports, s as defaults, t as ease, u as perspective, v as leading, w as ThemeAnimation, x as tracking, y as text } from "./theme-BEjX_ZME.mjs";
3
3
  export { Colors, Theme, ThemeAnimation, animation, aria, blur, breakpoint, colors, container, defaults, dropShadow, ease, font, fontWeight, insetShadow, leading, media, perspective, property, radius, shadow, spacing, supports, text, textShadow, textStrokeWidth, theme, tracking, verticalBreakpoint };
package/dist/theme.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as colors } from "./colors-hDdKuL6f.mjs";
1
+ import { t as colors } from "./colors-DfOpBqNN.mjs";
2
2
 
3
3
  //#region src/theme/animate.ts
4
4
  const animation = {
@@ -177,6 +177,9 @@ const cssProps = [
177
177
  "flex-grow",
178
178
  "flex",
179
179
  "flex-shrink",
180
+ "grid",
181
+ "grid-template-columns",
182
+ "grid-template-rows",
180
183
  "caret-color",
181
184
  "font",
182
185
  "gap",
package/dist/utils.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as __reExport, t as __exportAll } from "./chunk-w_xFUvYo.mjs";
2
- import { C as Theme } from "./theme-BcMDscP8.mjs";
2
+ import { C as Theme } from "./theme-BEjX_ZME.mjs";
3
3
  import { Arrayable, CSSEntry, CSSObject, CSSValueInput, DynamicMatcher, RuleContext, StaticRule, UtilObject, VariantContext } from "@unocss/core";
4
4
  import * as _unocss_rule_utils0 from "@unocss/rule-utils";
5
5
  export * from "@unocss/rule-utils";
package/dist/utils.mjs CHANGED
@@ -1,4 +1,4 @@
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-BiCtQrPC.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-C1uvQCt6.mjs";
2
2
 
3
3
  export * from "@unocss/rule-utils"
4
4
 
@@ -1,4 +1,4 @@
1
- import { D as h, N as cssMathFnRE, P as cssVarFnRE, V as CONTROL_NO_NEGATIVE, g as hasParseableColor, w as resolveBreakpoints } from "./utils-BiCtQrPC.mjs";
1
+ import { D as h, N as cssMathFnRE, P as cssVarFnRE, V as CONTROL_NO_NEGATIVE, g as hasParseableColor, w as resolveBreakpoints } from "./utils-C1uvQCt6.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
 
@@ -1,3 +1,3 @@
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-DG4CYhPr.mjs";
2
- import "./rules-CWCmuPTy.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-CG7jV-T1.mjs";
2
+ import "./rules-C5vHFC6_.mjs";
3
3
  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,3 +1,3 @@
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-jhZqwv4U.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-BqQ8LqhD.mjs";
2
2
 
3
3
  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.0",
4
+ "version": "66.6.2",
5
5
  "description": "Tailwind 4 compact preset for UnoCSS",
6
6
  "authors": [
7
7
  {
@@ -31,52 +31,32 @@
31
31
  ],
32
32
  "sideEffects": false,
33
33
  "exports": {
34
- ".": {
35
- "types": "./dist/index.d.mts",
36
- "default": "./dist/index.mjs"
37
- },
38
- "./rules": {
39
- "types": "./dist/rules.d.mts",
40
- "default": "./dist/rules.mjs"
41
- },
42
- "./theme": {
43
- "types": "./dist/theme.d.mts",
44
- "default": "./dist/theme.mjs"
45
- },
46
- "./colors": {
47
- "types": "./dist/colors.d.mts",
48
- "default": "./dist/colors.mjs"
49
- },
50
- "./shortcuts": {
51
- "types": "./dist/shortcuts.d.mts",
52
- "default": "./dist/shortcuts.mjs"
53
- },
54
- "./variants": {
55
- "types": "./dist/variants.d.mts",
56
- "default": "./dist/variants.mjs"
57
- },
58
- "./postprocess": {
59
- "types": "./dist/postprocess.d.mts",
60
- "default": "./dist/postprocess.mjs"
61
- },
62
- "./utils": {
63
- "types": "./dist/utils.d.mts",
64
- "default": "./dist/utils.mjs"
65
- },
66
- "./*": "./*"
34
+ ".": "./dist/index.mjs",
35
+ "./colors": "./dist/colors.mjs",
36
+ "./postprocess": "./dist/postprocess.mjs",
37
+ "./rules": "./dist/rules.mjs",
38
+ "./shortcuts": "./dist/shortcuts.mjs",
39
+ "./theme": "./dist/theme.mjs",
40
+ "./utils": "./dist/utils.mjs",
41
+ "./variants": "./dist/variants.mjs",
42
+ "./package.json": "./package.json"
67
43
  },
68
- "main": "dist/index.mjs",
69
- "module": "dist/index.mjs",
70
44
  "types": "dist/index.d.mts",
45
+ "typesVersions": {
46
+ "*": {
47
+ "*": [
48
+ "./dist/*.d.mts",
49
+ "./*"
50
+ ]
51
+ }
52
+ },
71
53
  "files": [
72
- "*.css",
73
- "*.d.ts",
74
54
  "dist"
75
55
  ],
76
56
  "dependencies": {
77
- "@unocss/core": "66.6.0",
78
- "@unocss/rule-utils": "66.6.0",
79
- "@unocss/extractor-arbitrary-variants": "66.6.0"
57
+ "@unocss/core": "66.6.2",
58
+ "@unocss/extractor-arbitrary-variants": "66.6.2",
59
+ "@unocss/rule-utils": "66.6.2"
80
60
  },
81
61
  "scripts": {
82
62
  "build": "tsdown --config-loader unrun",