@unocss/preset-wind4 66.2.3 → 66.3.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.mjs +5 -5
- package/dist/rules.d.mts +4 -1
- package/dist/rules.d.ts +4 -1
- package/dist/rules.mjs +3 -3
- package/dist/shared/{preset-wind4.CgvxUQFi.mjs → preset-wind4.B-qAdOhA.mjs} +33 -7
- package/dist/shared/{preset-wind4.CYAfjDEV.mjs → preset-wind4.B_j31qY9.mjs} +1 -1
- package/dist/shared/{preset-wind4.dDC8WtZ5.mjs → preset-wind4.BznxXpBJ.mjs} +1 -1
- package/dist/shared/{preset-wind4.BwwuP5Yw.mjs → preset-wind4.C9Rzs5jH.mjs} +1 -1
- package/dist/shared/{preset-wind4.BgkAsChl.mjs → preset-wind4.DkYonoU3.mjs} +180 -5
- package/dist/shortcuts.mjs +3 -3
- package/dist/utils.d.mts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.mjs +2 -2
- package/dist/variants.d.mts +2 -1
- package/dist/variants.d.ts +2 -1
- package/dist/variants.mjs +2 -2
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { uniq, toArray, definePreset } from '@unocss/core';
|
|
2
2
|
import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
|
|
3
|
-
import { n as trackedProperties, k as themeTracking, M as compressCSS, z as getThemeByKey, m as detectThemeValue, t as trackedTheme, g as globalKeywords, P as PRESET_NAME } from './shared/preset-wind4.
|
|
3
|
+
import { n as trackedProperties, k as themeTracking, M as compressCSS, z as getThemeByKey, m as detectThemeValue, t as trackedTheme, g as globalKeywords, P as PRESET_NAME } from './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
4
4
|
import { alphaPlaceholdersRE } from '@unocss/rule-utils';
|
|
5
5
|
import { postprocessors } from './postprocess.mjs';
|
|
6
|
-
import { k as variants } from './shared/preset-wind4.
|
|
6
|
+
import { k as variants } from './shared/preset-wind4.B-qAdOhA.mjs';
|
|
7
7
|
import { theme as theme$1 } from './theme.mjs';
|
|
8
|
-
import { s as shortcuts } from './shared/preset-wind4.
|
|
9
|
-
import { r as rules } from './shared/preset-wind4.
|
|
8
|
+
import { s as shortcuts } from './shared/preset-wind4.B_j31qY9.mjs';
|
|
9
|
+
import { r as rules } from './shared/preset-wind4.DkYonoU3.mjs';
|
|
10
10
|
import './colors.mjs';
|
|
11
|
-
import './shared/preset-wind4.
|
|
11
|
+
import './shared/preset-wind4.BznxXpBJ.mjs';
|
|
12
12
|
|
|
13
13
|
function properties() {
|
|
14
14
|
return {
|
package/dist/rules.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Rule, CSSEntries, Shortcut, StaticRule, CSSValueInput } from '@unocss/core';
|
|
2
2
|
import { T as Theme } from './shared/preset-wind4.CeNzqhCV.mjs';
|
|
3
3
|
export { r as rules } from './shared/preset-wind4.O8irdiHr.mjs';
|
|
4
|
+
import { Theme as Theme$1 } from '@unocss/preset-wind4';
|
|
4
5
|
|
|
5
6
|
declare const verticalAligns: Rule<Theme>[];
|
|
6
7
|
declare const textAligns: Rule<Theme>[];
|
|
@@ -52,6 +53,8 @@ declare const overflows: Rule<Theme>[];
|
|
|
52
53
|
|
|
53
54
|
declare const lineClamps: Rule<Theme>[];
|
|
54
55
|
|
|
56
|
+
declare const masks: Rule<Theme$1>[];
|
|
57
|
+
|
|
55
58
|
declare const placeholders: Rule<Theme>[];
|
|
56
59
|
|
|
57
60
|
declare const positions: Rule<Theme>[];
|
|
@@ -165,4 +168,4 @@ declare const cssProperty: Rule<Theme>[];
|
|
|
165
168
|
|
|
166
169
|
declare const viewTransition: Rule<Theme>[];
|
|
167
170
|
|
|
168
|
-
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, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, 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 };
|
|
171
|
+
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, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, 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.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Rule, CSSEntries, Shortcut, StaticRule, CSSValueInput } from '@unocss/core';
|
|
2
2
|
import { T as Theme } from './shared/preset-wind4.CeNzqhCV.js';
|
|
3
3
|
export { r as rules } from './shared/preset-wind4.oLaz9HAb.js';
|
|
4
|
+
import { Theme as Theme$1 } from '@unocss/preset-wind4';
|
|
4
5
|
|
|
5
6
|
declare const verticalAligns: Rule<Theme>[];
|
|
6
7
|
declare const textAligns: Rule<Theme>[];
|
|
@@ -52,6 +53,8 @@ declare const overflows: Rule<Theme>[];
|
|
|
52
53
|
|
|
53
54
|
declare const lineClamps: Rule<Theme>[];
|
|
54
55
|
|
|
56
|
+
declare const masks: Rule<Theme$1>[];
|
|
57
|
+
|
|
55
58
|
declare const placeholders: Rule<Theme>[];
|
|
56
59
|
|
|
57
60
|
declare const positions: Rule<Theme>[];
|
|
@@ -165,4 +168,4 @@ declare const cssProperty: Rule<Theme>[];
|
|
|
165
168
|
|
|
166
169
|
declare const viewTransition: Rule<Theme>[];
|
|
167
170
|
|
|
168
|
-
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, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, 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 };
|
|
171
|
+
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, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, 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
|
-
export { d as accents,
|
|
2
|
-
export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.
|
|
3
|
-
import './shared/preset-wind4.
|
|
1
|
+
export { d as accents, an as accessibility, I as alignments, a as animations, c as appearance, $ as appearances, V as aspectRatio, ak as backgroundBlendModes, b as backgroundStyles, m as bgColors, g as borderStyles, h as borders, T as boxShadows, O as boxSizing, a8 as breaks, e as carets, n as colorScheme, p as columns, a1 as contains, a6 as contentVisibility, a7 as contents, aD as cssProperty, aC as cssVariables, a0 as cursors, _ as displays, u as divides, am as dynamicViewportHeight, ao as fieldSizing, x as filters, y as flex, K as flexGridJustifiesAlignments, M as floats, ad as fontSmoothings, ac as fontStyles, aA as fontVariantNumeric, av as fonts, z as gaps, A as grids, j as handlerBorderStyle, ae as hyphens, i as imageRenderings, L as insets, ai as isolations, G as justifies, C as lineClamps, l as listStyle, X as margins, D as masks, al as mixBlendModes, Z as notLastChildSelector, aj as objectPositions, k as opacity, H as orders, o as outline, B as overflows, f as overscrolls, W as paddings, E as placeholders, J as placements, a2 as pointerEvents, F as positions, P as questionMark, a3 as resizes, Q as rings, r as rules, ah as screenReadersAccess, s as scrollBehaviors, R as scrolls, S as shadowProperties, U as sizes, Y as spaces, aB as splitShorthand, ap as svgUtilities, aw as tabSizes, aq as tables, t as textAligns, q as textDecorations, ax as textIndents, aa as textOverflows, az as textShadows, ay as textStrokes, ab as textTransforms, a9 as textWraps, ar as touchActions, as as transformBase, at as transforms, au as transitions, a4 as userSelects, v as verticalAligns, aE as viewTransition, a5 as whitespaces, w as willChange, af as writingModes, ag as writingOrientations, N as zIndexes } from './shared/preset-wind4.DkYonoU3.mjs';
|
|
2
|
+
export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.BznxXpBJ.mjs';
|
|
3
|
+
import './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import '@unocss/rule-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { variantGetParameter, calcMaxWidthBySize, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent, createPartClasses, createPseudoClassesAndElements, createPseudoClassFunctions, createTaggedPseudoClasses } from '@unocss/rule-utils';
|
|
2
|
-
import { b as h, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, f as cssMathFnRE, j as cssVarFnRE, E as hasParseableColor } from './preset-wind4.
|
|
2
|
+
import { b as h, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, f as cssMathFnRE, j as cssVarFnRE, E as hasParseableColor } from './preset-wind4.C9Rzs5jH.mjs';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
4
|
|
|
5
5
|
const variantAria = {
|
|
@@ -41,7 +41,9 @@ const variantTaggedAriaAttributes = [
|
|
|
41
41
|
taggedAria("group"),
|
|
42
42
|
taggedAria("peer"),
|
|
43
43
|
taggedAria("parent"),
|
|
44
|
-
taggedAria("previous")
|
|
44
|
+
taggedAria("previous"),
|
|
45
|
+
taggedAria("has"),
|
|
46
|
+
taggedAria("in")
|
|
45
47
|
];
|
|
46
48
|
|
|
47
49
|
const sizePseudo = /(max|min)-\[([^\]]*)\]:/;
|
|
@@ -114,7 +116,8 @@ function variantBreakpoints() {
|
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
const variantChildren = [
|
|
117
|
-
variantMatcher("*", (input) => ({ selector: `${input.selector} > *` }))
|
|
119
|
+
variantMatcher("*", (input) => ({ selector: `${input.selector} > *` }), { order: -1 }),
|
|
120
|
+
variantMatcher("**", (input) => ({ selector: `${input.selector} *` }), { order: -1 })
|
|
118
121
|
];
|
|
119
122
|
|
|
120
123
|
function scopeMatcher(name, combinator) {
|
|
@@ -249,7 +252,9 @@ const variantTaggedDataAttributes = [
|
|
|
249
252
|
taggedData("group"),
|
|
250
253
|
taggedData("peer"),
|
|
251
254
|
taggedData("parent"),
|
|
252
|
-
taggedData("previous")
|
|
255
|
+
taggedData("previous"),
|
|
256
|
+
taggedData("has"),
|
|
257
|
+
taggedData("in")
|
|
253
258
|
];
|
|
254
259
|
|
|
255
260
|
const variantLanguageDirections = [
|
|
@@ -476,11 +481,31 @@ const variantStickyHover = [
|
|
|
476
481
|
selector: `${input.selector || ""}:hover`
|
|
477
482
|
}))
|
|
478
483
|
];
|
|
484
|
+
const variantImplicitGroup = {
|
|
485
|
+
name: "implicit-group",
|
|
486
|
+
match(matcher, ctx) {
|
|
487
|
+
const variant = variantGetParameter("in-", matcher, ctx.generator.config.separators);
|
|
488
|
+
if (variant) {
|
|
489
|
+
const [match, rest] = variant;
|
|
490
|
+
const group = h.bracket(match) ?? match;
|
|
491
|
+
if (group) {
|
|
492
|
+
return {
|
|
493
|
+
matcher: rest,
|
|
494
|
+
handle: (input, next) => next({
|
|
495
|
+
...input,
|
|
496
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}${input.selector}`,
|
|
497
|
+
selector: `:where(*:is(${group})) &`
|
|
498
|
+
})
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
};
|
|
479
504
|
|
|
480
505
|
const anchoredNumberRE = /^-?[0-9.]+(?:[a-z]+|%)?$/;
|
|
481
506
|
const numberRE = /-?[0-9.]+(?:[a-z]+|%)?/;
|
|
482
507
|
const ignoreProps = [
|
|
483
|
-
/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/
|
|
508
|
+
/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/
|
|
484
509
|
];
|
|
485
510
|
function negateMathFunction(value) {
|
|
486
511
|
const match = value.match(cssMathFnRE) || value.match(cssVarFnRE);
|
|
@@ -660,8 +685,9 @@ function variants(options) {
|
|
|
660
685
|
...variantTaggedAriaAttributes,
|
|
661
686
|
variantTheme,
|
|
662
687
|
// variantSpaceAndDivide,
|
|
663
|
-
...variantStickyHover
|
|
688
|
+
...variantStickyHover,
|
|
689
|
+
variantImplicitGroup
|
|
664
690
|
].flat();
|
|
665
691
|
}
|
|
666
692
|
|
|
667
|
-
export { variantVariables as A, variantTheme as B, variantStickyHover as C,
|
|
693
|
+
export { variantVariables as A, variantTheme as B, variantStickyHover as C, variantImplicitGroup as D, variantNegative as E, placeholderModifier as F, variantPseudoClassesAndElements as G, variantPseudoClassFunctions as H, variantTaggedPseudoClasses as I, variantPartClasses as J, variantStartingStyle as K, variantSupports as L, variantTaggedAriaAttributes as a, variantBreakpoints as b, variantChildren as c, variantCombinators as d, variantSvgCombinators as e, variantContainerQuery as f, variantColorsMediaOrClass as g, variantColorsScheme as h, variantDataAttribute as i, variantTaggedDataAttributes as j, variants as k, variantLanguageDirections as l, variantImportant as m, variantNoscript as n, variantScripting as o, variantPrint as p, variantCustomMedia as q, variantContrasts as r, variantMotions as s, variantOrientations as t, variantForcedColors as u, variantAria as v, variantSelector as w, variantCssLayer as x, variantInternalLayer as y, variantScope as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isString } from '@unocss/core';
|
|
2
|
-
import { r as resolveBreakpoints } from './preset-wind4.
|
|
2
|
+
import { r as resolveBreakpoints } from './preset-wind4.C9Rzs5jH.mjs';
|
|
3
3
|
|
|
4
4
|
const containerParent = [
|
|
5
5
|
[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
|
|
@@ -704,8 +704,8 @@ function defineProperty(property, options = {}) {
|
|
|
704
704
|
};
|
|
705
705
|
if (initialValue != null) {
|
|
706
706
|
value["initial-value"] = initialValue;
|
|
707
|
-
propertyTracking(property, String(initialValue));
|
|
708
707
|
}
|
|
708
|
+
propertyTracking(property, initialValue ? String(initialValue) : "initial");
|
|
709
709
|
return value;
|
|
710
710
|
}
|
|
711
711
|
function isCSSMathFn(value) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as globalKeywords, b as h, G as makeGlobalStaticRules, p as positionMap, w as parseColor, S as SpecialColorKey, l as generateThemeVariable, H as defineProperty, k as themeTracking, m as detectThemeValue, B as colorResolver, I as isCSSMathFn, d as directionMap, E as hasParseableColor, c as cornerMap, A as colorCSSGenerator, J as isSize, s as directionSize, q as numberResolver, D as colorableShadows,
|
|
1
|
+
import { g as globalKeywords, b as h, G as makeGlobalStaticRules, p as positionMap, w as parseColor, S as SpecialColorKey, l as generateThemeVariable, H as defineProperty, k as themeTracking, m as detectThemeValue, B as colorResolver, I as isCSSMathFn, d as directionMap, E as hasParseableColor, c as cornerMap, A as colorCSSGenerator, J as isSize, s as directionSize, q as numberResolver, D as colorableShadows, L as hyphenate, i as insetMap, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, x as xyzMap, N as splitComma, e as xyzArray, O as bracketTypeRe } from './preset-wind4.C9Rzs5jH.mjs';
|
|
2
2
|
import { symbols, notNull } from '@unocss/core';
|
|
3
|
-
import { a as container, c as containerParent } from './preset-wind4.
|
|
3
|
+
import { a as container, c as containerParent } from './preset-wind4.BznxXpBJ.mjs';
|
|
4
4
|
import { getStringComponent } from '@unocss/rule-utils';
|
|
5
5
|
|
|
6
6
|
const verticalAlignAlias = {
|
|
@@ -203,7 +203,7 @@ const backgroundStyles = [
|
|
|
203
203
|
[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/, ([, m, d, s]) => {
|
|
204
204
|
let v;
|
|
205
205
|
if (h.number(d) != null) {
|
|
206
|
-
v =
|
|
206
|
+
v = `from ${h.number(d)}deg ${resolveModifier(s)};`;
|
|
207
207
|
} else {
|
|
208
208
|
v = h.bracket(d);
|
|
209
209
|
}
|
|
@@ -1007,6 +1007,180 @@ const lineClamps = [
|
|
|
1007
1007
|
}]
|
|
1008
1008
|
];
|
|
1009
1009
|
|
|
1010
|
+
const linearMap = {
|
|
1011
|
+
t: ["top"],
|
|
1012
|
+
b: ["bottom"],
|
|
1013
|
+
l: ["left"],
|
|
1014
|
+
r: ["right"],
|
|
1015
|
+
x: ["left", "right"],
|
|
1016
|
+
y: ["top", "bottom"]
|
|
1017
|
+
};
|
|
1018
|
+
const maskInitialValue = "linear-gradient(#fff, #fff)";
|
|
1019
|
+
const baseMaskImage = {
|
|
1020
|
+
"mask-image": "var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)",
|
|
1021
|
+
"mask-composite": "intersect"
|
|
1022
|
+
};
|
|
1023
|
+
function handlePosition([, v = ""]) {
|
|
1024
|
+
if (v in cornerMap) {
|
|
1025
|
+
const positions = v.split("").flatMap((c) => linearMap[c]).join(" ");
|
|
1026
|
+
return { "mask-position": positions };
|
|
1027
|
+
}
|
|
1028
|
+
const _v = h.bracket.cssvar.global.position(v);
|
|
1029
|
+
if (_v !== null)
|
|
1030
|
+
return { "mask-position": _v };
|
|
1031
|
+
}
|
|
1032
|
+
function handleImage([_, gradient = "", direction, val], ctx) {
|
|
1033
|
+
const css = { ...baseMaskImage };
|
|
1034
|
+
const props = [];
|
|
1035
|
+
props.push(...["linear", "radial", "conic"].map((g) => defineProperty(`--un-mask-${g}`, { initialValue: maskInitialValue })));
|
|
1036
|
+
if (gradient in linearMap) {
|
|
1037
|
+
css["--un-mask-linear"] = "var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";
|
|
1038
|
+
for (const dir of linearMap[gradient]) {
|
|
1039
|
+
css[`--un-mask-${dir}`] = `linear-gradient(to ${dir}, var(--un-mask-${dir}-from-color) var(--un-mask-${dir}-from-position), var(--un-mask-${dir}-to-color) var(--un-mask-${dir}-to-position))`;
|
|
1040
|
+
if (numberResolver(val) != null) {
|
|
1041
|
+
themeTracking("spacing");
|
|
1042
|
+
css[`--un-mask-${dir}-${direction}-position`] = `calc(var(--spacing) * ${h.bracket.cssvar.fraction.number(val)})`;
|
|
1043
|
+
} else {
|
|
1044
|
+
css[`--un-mask-${dir}-${direction}-position`] = h.bracket.cssvar.fraction.rem(val);
|
|
1045
|
+
}
|
|
1046
|
+
if (hasParseableColor(val, ctx.theme)) {
|
|
1047
|
+
const result = colorResolver(`--un-mask-${dir}-${direction}-color`, hyphenate("colors"))([_, val], ctx);
|
|
1048
|
+
if (result) {
|
|
1049
|
+
const [c, ...p] = result;
|
|
1050
|
+
Object.assign(css, c);
|
|
1051
|
+
props.push(...p);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
props.push(...["from", "to"].flatMap((p) => [
|
|
1055
|
+
defineProperty(`--un-mask-${dir}-${p}-position`, { syntax: "<length-percentage>", initialValue: p === "from" ? "0%" : "100%" }),
|
|
1056
|
+
defineProperty(`--un-mask-${dir}-${p}-color`, { syntax: "<color>", initialValue: p === "from" ? "black" : "transparent" })
|
|
1057
|
+
]));
|
|
1058
|
+
}
|
|
1059
|
+
props.push(...["top", "right", "bottom", "left"].map((d) => defineProperty(`--un-mask-${d}`, { initialValue: maskInitialValue })));
|
|
1060
|
+
} else {
|
|
1061
|
+
if (direction == null) {
|
|
1062
|
+
if (gradient === "radial") {
|
|
1063
|
+
css["--un-mask-radial"] = "radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))";
|
|
1064
|
+
css["--un-mask-radial-size"] = h.bracket.cssvar.rem(val);
|
|
1065
|
+
} else {
|
|
1066
|
+
css[`--un-mask-${gradient}`] = `${gradient}-gradient(var(--un-mask-${gradient}-stops, var(--un-mask-${gradient}-position)))`;
|
|
1067
|
+
css[`--un-mask-${gradient}-position`] = numberResolver(val) ? `calc(1deg * ${h.bracket.cssvar.number(val)})` : h.bracket.cssvar.fraction(val);
|
|
1068
|
+
}
|
|
1069
|
+
} else {
|
|
1070
|
+
const gradientStopsPrefixMap = {
|
|
1071
|
+
linear: "",
|
|
1072
|
+
radial: "var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",
|
|
1073
|
+
conic: "from "
|
|
1074
|
+
};
|
|
1075
|
+
css[`--un-mask-${gradient}-stops`] = `${gradientStopsPrefixMap[gradient]}var(--un-mask-${gradient}-position), var(--un-mask-${gradient}-from-color) var(--un-mask-${gradient}-from-position), var(--un-mask-${gradient}-to-color) var(--un-mask-${gradient}-to-position)`;
|
|
1076
|
+
css[`--un-mask-${gradient}`] = `${gradient}-gradient(var(--un-mask-${gradient}-stops))`;
|
|
1077
|
+
if (hasParseableColor(val, ctx.theme)) {
|
|
1078
|
+
const result = colorResolver(`--un-mask-${gradient}-${direction}-color`, hyphenate("colors"))([_, val], ctx);
|
|
1079
|
+
if (result) {
|
|
1080
|
+
const [c, ...p] = result;
|
|
1081
|
+
Object.assign(css, c);
|
|
1082
|
+
props.push(...p);
|
|
1083
|
+
}
|
|
1084
|
+
} else {
|
|
1085
|
+
if (numberResolver(val) != null) {
|
|
1086
|
+
themeTracking("spacing");
|
|
1087
|
+
css[`--un-mask-${gradient}-${direction}-position`] = `calc(var(--spacing) * ${h.bracket.cssvar.fraction.number(val)})`;
|
|
1088
|
+
} else {
|
|
1089
|
+
css[`--un-mask-${gradient}-${direction}-position`] = h.bracket.cssvar.fraction.rem(val);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
if (gradient === "radial") {
|
|
1094
|
+
props.push(...[
|
|
1095
|
+
defineProperty("--un-mask-radial-shape", { initialValue: "ellipse" }),
|
|
1096
|
+
defineProperty("--un-mask-radial-size", { initialValue: "farthest-corner" })
|
|
1097
|
+
]);
|
|
1098
|
+
}
|
|
1099
|
+
props.push(...["from", "to"].flatMap((p) => [
|
|
1100
|
+
defineProperty(`--un-mask-${gradient}-position`, { initialValue: gradient === "radial" ? "center" : "0deg" }),
|
|
1101
|
+
defineProperty(`--un-mask-${gradient}-${p}-position`, { syntax: "<length-percentage>", initialValue: p === "from" ? "0%" : "100%" }),
|
|
1102
|
+
defineProperty(`--un-mask-${gradient}-${p}-color`, { syntax: "<color>", initialValue: p === "from" ? "black" : "transparent" })
|
|
1103
|
+
]));
|
|
1104
|
+
}
|
|
1105
|
+
return [css, ...props];
|
|
1106
|
+
}
|
|
1107
|
+
function handleSize$1([, v = ""]) {
|
|
1108
|
+
const _v = h.bracket.cssvar.global.fraction.rem(v);
|
|
1109
|
+
if (_v !== null)
|
|
1110
|
+
return { "mask-size": _v };
|
|
1111
|
+
}
|
|
1112
|
+
const masks = [
|
|
1113
|
+
// mask-clip
|
|
1114
|
+
["mask-clip-border", { "mask-clip": "border-box" }],
|
|
1115
|
+
["mask-clip-padding", { "mask-clip": "padding-box" }],
|
|
1116
|
+
["mask-clip-content", { "mask-clip": "content-box" }],
|
|
1117
|
+
["mask-clip-fill", { "mask-clip": "fill-box" }],
|
|
1118
|
+
["mask-clip-stroke", { "mask-clip": "stroke-box" }],
|
|
1119
|
+
["mask-clip-view", { "mask-clip": "view-box" }],
|
|
1120
|
+
["mask-no-clip", { "mask-clip": "no-clip" }],
|
|
1121
|
+
// mask-composite
|
|
1122
|
+
["mask-add", { "mask-composite": "add" }],
|
|
1123
|
+
["mask-subtract", { "mask-composite": "subtract" }],
|
|
1124
|
+
["mask-intersect", { "mask-composite": "intersect" }],
|
|
1125
|
+
["mask-exclude", { "mask-composite": "exclude" }],
|
|
1126
|
+
// mask-image
|
|
1127
|
+
[/^mask-(.+)$/, ([, v]) => ({ "mask-image": h.bracket.cssvar(v) })],
|
|
1128
|
+
[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/, handleImage, {
|
|
1129
|
+
autocomplete: [
|
|
1130
|
+
"mask-(linear|radial|conic)-(from|to)-$colors",
|
|
1131
|
+
"mask-(linear|radial|conic)-(from|to)-<percentage>",
|
|
1132
|
+
"mask-(linear|radial|conic)-(from|to)",
|
|
1133
|
+
"mask-(linear|radial|conic)-<percent>",
|
|
1134
|
+
"mask-(x|y|t|b|l|r)-(from|to)-$colors",
|
|
1135
|
+
"mask-(x|y|t|b|l|r)-(from|to)-<percentage>",
|
|
1136
|
+
"mask-(x|y|t|b|l|r)-(from|to)",
|
|
1137
|
+
"mask-(x|y|t|b|l|r)-<percent>"
|
|
1138
|
+
]
|
|
1139
|
+
}],
|
|
1140
|
+
[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/, handleImage],
|
|
1141
|
+
[/^mask-([trblxy])-(from|to)-(.*)$/, handleImage],
|
|
1142
|
+
["mask-none", { "mask-image": "none" }],
|
|
1143
|
+
["mask-radial-circle", { "--un-mask-radial-shape": "circle" }],
|
|
1144
|
+
["mask-radial-ellipse", { "--un-mask-radial-shape": "ellipse" }],
|
|
1145
|
+
["mask-radial-closest-side", { "--un-mask-radial-size": "closest-side" }],
|
|
1146
|
+
["mask-radial-closest-corner", { "--un-mask-radial-size": "closest-corner" }],
|
|
1147
|
+
["mask-radial-farthest-side", { "--un-mask-radial-size": "farthest-side" }],
|
|
1148
|
+
["mask-radial-farthest-corner", { "--un-mask-radial-size": "farthest-corner" }],
|
|
1149
|
+
[/^mask-radial-at-([-\w]{3,})$/, ([, s]) => ({ "--un-mask-radial-position": positionMap[s] }), {
|
|
1150
|
+
autocomplete: [`mask-radial-at-(${Object.keys(positionMap).filter((p) => p.length > 2).join("|")})`]
|
|
1151
|
+
}],
|
|
1152
|
+
// mask-mode
|
|
1153
|
+
["mask-alpha", { "mask-mode": "alpha" }],
|
|
1154
|
+
["mask-luminance", { "mask-mode": "luminance" }],
|
|
1155
|
+
["mask-match", { "mask-mode": "match-source" }],
|
|
1156
|
+
// mask-origin
|
|
1157
|
+
["mask-origin-border", { "mask-origin": "border-box" }],
|
|
1158
|
+
["mask-origin-padding", { "mask-origin": "padding-box" }],
|
|
1159
|
+
["mask-origin-content", { "mask-origin": "content-box" }],
|
|
1160
|
+
["mask-origin-fill", { "mask-origin": "fill-box" }],
|
|
1161
|
+
["mask-origin-stroke", { "mask-origin": "stroke-box" }],
|
|
1162
|
+
["mask-origin-view", { "mask-origin": "view-box" }],
|
|
1163
|
+
// mask-position
|
|
1164
|
+
[/^mask-([rltb]{1,2})$/, handlePosition],
|
|
1165
|
+
[/^mask-([-\w]{3,})$/, ([, s]) => ({ "mask-position": positionMap[s] })],
|
|
1166
|
+
[/^mask-(?:position-|pos-)(.+)$/, handlePosition],
|
|
1167
|
+
// mask-repeat
|
|
1168
|
+
["mask-repeat", { "mask-repeat": "repeat" }],
|
|
1169
|
+
["mask-no-repeat", { "mask-repeat": "no-repeat" }],
|
|
1170
|
+
["mask-repeat-x", { "mask-repeat": "repeat-x" }],
|
|
1171
|
+
["mask-repeat-y", { "mask-repeat": "repeat-y" }],
|
|
1172
|
+
["mask-repeat-space", { "mask-repeat": "space" }],
|
|
1173
|
+
["mask-repeat-round", { "mask-repeat": "round" }],
|
|
1174
|
+
// mask-size
|
|
1175
|
+
["mask-auto", { "mask-size": "auto" }],
|
|
1176
|
+
["mask-cover", { "mask-size": "cover" }],
|
|
1177
|
+
["mask-contain", { "mask-size": "contain" }],
|
|
1178
|
+
[/^mask-size-(.+)$/, handleSize$1],
|
|
1179
|
+
// mask-type
|
|
1180
|
+
["mask-type-luminance", { "mask-type": "luminance" }],
|
|
1181
|
+
["mask-type-alpha", { "mask-type": "alpha" }]
|
|
1182
|
+
];
|
|
1183
|
+
|
|
1010
1184
|
const placeholders = [
|
|
1011
1185
|
// The prefix `$ ` is intentional. This rule is not to be matched directly from user-generated token.
|
|
1012
1186
|
// See variants/placeholder.
|
|
@@ -2314,7 +2488,7 @@ const fontVariantNumericProperties = [
|
|
|
2314
2488
|
defineProperty("--un-numeric-fraction")
|
|
2315
2489
|
];
|
|
2316
2490
|
const baseFontVariantNumeric = {
|
|
2317
|
-
"font-variant-numeric": "var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"
|
|
2491
|
+
"font-variant-numeric": "var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"
|
|
2318
2492
|
};
|
|
2319
2493
|
const fontVariantNumeric = [
|
|
2320
2494
|
["ordinal", [{ "--un-ordinal": "ordinal", ...baseFontVariantNumeric }, ...fontVariantNumericProperties]],
|
|
@@ -2558,6 +2732,7 @@ const rules = [
|
|
|
2558
2732
|
backgroundBlendModes,
|
|
2559
2733
|
mixBlendModes,
|
|
2560
2734
|
dynamicViewportHeight,
|
|
2735
|
+
masks,
|
|
2561
2736
|
columns,
|
|
2562
2737
|
filters,
|
|
2563
2738
|
lineClamps,
|
|
@@ -2574,4 +2749,4 @@ const rules = [
|
|
|
2574
2749
|
questionMark
|
|
2575
2750
|
].flat();
|
|
2576
2751
|
|
|
2577
|
-
export {
|
|
2752
|
+
export { appearances as $, grids as A, overflows as B, lineClamps as C, masks as D, placeholders as E, positions as F, justifies as G, orders as H, alignments as I, placements as J, flexGridJustifiesAlignments as K, insets as L, floats as M, zIndexes as N, boxSizing as O, questionMark as P, rings as Q, scrolls as R, shadowProperties as S, boxShadows as T, sizes as U, aspectRatio as V, paddings as W, margins as X, spaces as Y, notLastChildSelector as Z, displays as _, animations as a, cursors as a0, contains as a1, pointerEvents as a2, resizes as a3, userSelects as a4, whitespaces as a5, contentVisibility as a6, contents as a7, breaks as a8, textWraps as a9, fontVariantNumeric as aA, splitShorthand as aB, cssVariables as aC, cssProperty as aD, viewTransition as aE, textOverflows as aa, textTransforms as ab, fontStyles as ac, fontSmoothings as ad, hyphens as ae, writingModes as af, writingOrientations as ag, screenReadersAccess as ah, isolations as ai, objectPositions as aj, backgroundBlendModes as ak, mixBlendModes as al, dynamicViewportHeight as am, accessibility as an, fieldSizing as ao, svgUtilities as ap, tables as aq, touchActions as ar, transformBase as as, transforms as at, transitions as au, fonts as av, tabSizes as aw, textIndents as ax, textStrokes as ay, textShadows as az, backgroundStyles as b, appearance as c, accents as d, carets as e, overscrolls as f, borderStyles as g, borders as h, imageRenderings as i, handlerBorderStyle as j, opacity as k, listStyle as l, bgColors as m, colorScheme as n, outline as o, columns as p, textDecorations as q, rules as r, scrollBehaviors as s, textAligns as t, divides as u, verticalAligns as v, willChange as w, filters as x, flex as y, gaps as z };
|
package/dist/shortcuts.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as shortcuts } from './shared/preset-wind4.
|
|
2
|
-
import './shared/preset-wind4.
|
|
1
|
+
export { s as shortcuts } from './shared/preset-wind4.B_j31qY9.mjs';
|
|
2
|
+
import './shared/preset-wind4.BznxXpBJ.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
|
-
import './shared/preset-wind4.
|
|
4
|
+
import './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
5
5
|
import '@unocss/rule-utils';
|
package/dist/utils.d.mts
CHANGED
|
@@ -56,8 +56,8 @@ declare namespace handlers {
|
|
|
56
56
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfFamily as bracketOfFamily, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfNumber as bracketOfNumber, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_none as none, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
60
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
59
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "none" | "properties" | "position" | "global" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
60
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "none" | "properties" | "position" | "global" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
61
61
|
|
|
62
62
|
declare const directionMap: Record<string, string[]>;
|
|
63
63
|
declare const insetMap: Record<string, string[]>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -56,8 +56,8 @@ declare namespace handlers {
|
|
|
56
56
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfFamily as bracketOfFamily, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfNumber as bracketOfNumber, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_none as none, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
60
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
59
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "none" | "properties" | "position" | "global" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
60
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "none" | "properties" | "position" | "global" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
61
61
|
|
|
62
62
|
declare const directionMap: Record<string, string[]>;
|
|
63
63
|
declare const insetMap: Record<string, string[]>;
|
package/dist/utils.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as remRE } from './shared/preset-wind4.
|
|
2
|
-
export { C as CONTROL_NO_NEGATIVE, P as PRESET_NAME, S as SpecialColorKey, K as camelize, A as colorCSSGenerator, B as colorResolver, D as colorableShadows, M as compressCSS, c as cornerMap, f as cssMathFnRE, j as cssVarFnRE, H as defineProperty, m as detectThemeValue, d as directionMap, s as directionSize, l as generateThemeVariable, z as getThemeByKey, g as globalKeywords, b as h, h as handler, E as hasParseableColor, L as hyphenate, i as insetMap, I as isCSSMathFn, J as isSize, G as makeGlobalStaticRules, q as numberResolver, w as parseColor, y as parseThemeColor, p as positionMap, o as propertyTracking, r as resolveBreakpoints, F as resolveVerticalBreakpoints, u as splitShorthand, k as themeTracking, n as trackedProperties, t as trackedTheme, v as valueHandlers, e as xyzArray, x as xyzMap } from './shared/preset-wind4.
|
|
1
|
+
import { a as remRE } from './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
2
|
+
export { C as CONTROL_NO_NEGATIVE, P as PRESET_NAME, S as SpecialColorKey, K as camelize, A as colorCSSGenerator, B as colorResolver, D as colorableShadows, M as compressCSS, c as cornerMap, f as cssMathFnRE, j as cssVarFnRE, H as defineProperty, m as detectThemeValue, d as directionMap, s as directionSize, l as generateThemeVariable, z as getThemeByKey, g as globalKeywords, b as h, h as handler, E as hasParseableColor, L as hyphenate, i as insetMap, I as isCSSMathFn, J as isSize, G as makeGlobalStaticRules, q as numberResolver, w as parseColor, y as parseThemeColor, p as positionMap, o as propertyTracking, r as resolveBreakpoints, F as resolveVerticalBreakpoints, u as splitShorthand, k as themeTracking, n as trackedProperties, t as trackedTheme, v as valueHandlers, e as xyzArray, x as xyzMap } from './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
3
3
|
export * from '@unocss/rule-utils';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
|
package/dist/variants.d.mts
CHANGED
|
@@ -44,6 +44,7 @@ declare const variantScope: Variant<Theme>;
|
|
|
44
44
|
declare const variantVariables: Variant<Theme>;
|
|
45
45
|
declare const variantTheme: Variant<Theme>;
|
|
46
46
|
declare const variantStickyHover: Variant<Theme>[];
|
|
47
|
+
declare const variantImplicitGroup: Variant;
|
|
47
48
|
|
|
48
49
|
declare const variantNegative: Variant<Theme>;
|
|
49
50
|
|
|
@@ -58,4 +59,4 @@ declare const variantStartingStyle: Variant<Theme>;
|
|
|
58
59
|
|
|
59
60
|
declare const variantSupports: VariantObject<Theme>;
|
|
60
61
|
|
|
61
|
-
export { placeholderModifier, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantColorsScheme, variantCombinators, variantContainerQuery, variantContrasts, variantCssLayer, variantCustomMedia, variantDataAttribute, variantForcedColors, variantImportant, variantInternalLayer, variantLanguageDirections, variantMotions, variantNegative, variantNoscript, variantOrientations, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantScripting, variantSelector, variantStartingStyle, variantStickyHover, variantSupports, variantSvgCombinators, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables };
|
|
62
|
+
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 };
|
package/dist/variants.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ declare const variantScope: Variant<Theme>;
|
|
|
44
44
|
declare const variantVariables: Variant<Theme>;
|
|
45
45
|
declare const variantTheme: Variant<Theme>;
|
|
46
46
|
declare const variantStickyHover: Variant<Theme>[];
|
|
47
|
+
declare const variantImplicitGroup: Variant;
|
|
47
48
|
|
|
48
49
|
declare const variantNegative: Variant<Theme>;
|
|
49
50
|
|
|
@@ -58,4 +59,4 @@ declare const variantStartingStyle: Variant<Theme>;
|
|
|
58
59
|
|
|
59
60
|
declare const variantSupports: VariantObject<Theme>;
|
|
60
61
|
|
|
61
|
-
export { placeholderModifier, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantColorsScheme, variantCombinators, variantContainerQuery, variantContrasts, variantCssLayer, variantCustomMedia, variantDataAttribute, variantForcedColors, variantImportant, variantInternalLayer, variantLanguageDirections, variantMotions, variantNegative, variantNoscript, variantOrientations, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantScripting, variantSelector, variantStartingStyle, variantStickyHover, variantSupports, variantSvgCombinators, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables };
|
|
62
|
+
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 };
|
package/dist/variants.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { F as placeholderModifier, v as variantAria, b as variantBreakpoints, c as variantChildren, g as variantColorsMediaOrClass, h as variantColorsScheme, d as variantCombinators, f as variantContainerQuery, r as variantContrasts, x as variantCssLayer, q as variantCustomMedia, i as variantDataAttribute, u as variantForcedColors, D as variantImplicitGroup, m as variantImportant, y as variantInternalLayer, l as variantLanguageDirections, s as variantMotions, E as variantNegative, n as variantNoscript, t as variantOrientations, J as variantPartClasses, p as variantPrint, H as variantPseudoClassFunctions, G as variantPseudoClassesAndElements, z as variantScope, o as variantScripting, w as variantSelector, K as variantStartingStyle, C as variantStickyHover, L as variantSupports, e as variantSvgCombinators, a as variantTaggedAriaAttributes, j as variantTaggedDataAttributes, I as variantTaggedPseudoClasses, B as variantTheme, A as variantVariables, k as variants } from './shared/preset-wind4.B-qAdOhA.mjs';
|
|
2
2
|
import '@unocss/rule-utils';
|
|
3
|
-
import './shared/preset-wind4.
|
|
3
|
+
import './shared/preset-wind4.C9Rzs5jH.mjs';
|
|
4
4
|
import '@unocss/core';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind4",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.
|
|
4
|
+
"version": "66.3.1",
|
|
5
5
|
"description": "Tailwind 4 compact preset for UnoCSS",
|
|
6
6
|
"authors": [
|
|
7
7
|
{
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"dist"
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@unocss/core": "66.
|
|
78
|
-
"@unocss/
|
|
79
|
-
"@unocss/
|
|
77
|
+
"@unocss/core": "66.3.1",
|
|
78
|
+
"@unocss/rule-utils": "66.3.1",
|
|
79
|
+
"@unocss/extractor-arbitrary-variants": "66.3.1"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"build": "unbuild",
|