@unocss/preset-wind4 66.1.0-beta.2 → 66.1.0-beta.3
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +5 -10
- package/dist/postprocess.d.mts +2 -2
- package/dist/postprocess.d.ts +2 -2
- package/dist/rules.d.mts +2 -2
- package/dist/rules.d.ts +2 -2
- package/dist/rules.mjs +3 -3
- package/dist/shared/{preset-wind4.CegCmYvq.d.ts → preset-wind4.BJEl798_.d.ts} +1 -1
- package/dist/shared/{preset-wind4.MCNDoe4h.mjs → preset-wind4.Bjnac6Vf.mjs} +1 -1
- package/dist/shared/{preset-wind4.DczDGrCy.mjs → preset-wind4.C2WJ-LPg.mjs} +6 -3
- package/dist/shared/{preset-wind4.BX_E70AB.mjs → preset-wind4.D0X5sI2o.mjs} +1 -1
- package/dist/shared/{preset-wind4.X9frrw1J.mjs → preset-wind4.DAFeae-M.mjs} +1 -1
- package/dist/shared/{preset-wind4.2MnQGJ1R.d.mts → preset-wind4.DIUjJahF.d.mts} +1 -1
- package/dist/shared/{preset-wind4.LxGeOha5.d.mts → preset-wind4.MiZzPO05.d.mts} +1 -1
- package/dist/shared/{preset-wind4.LxGeOha5.d.ts → preset-wind4.MiZzPO05.d.ts} +1 -1
- package/dist/shared/{preset-wind4.Bw3HyQpC.mjs → preset-wind4.kLLgLvQk.mjs} +4 -4
- package/dist/shortcuts.d.mts +1 -1
- package/dist/shortcuts.d.ts +1 -1
- package/dist/shortcuts.mjs +3 -3
- package/dist/theme.d.mts +2 -2
- package/dist/theme.d.ts +2 -2
- package/dist/utils.d.mts +2 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.mjs +1 -1
- package/dist/variants.d.mts +2 -2
- package/dist/variants.d.ts +2 -2
- package/dist/variants.mjs +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _unocss_core from '@unocss/core';
|
|
2
2
|
import { Postprocessor, Preflight, Variant, PresetOptions } from '@unocss/core';
|
|
3
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
4
|
-
export { r as rules } from './shared/preset-wind4.
|
|
3
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
4
|
+
export { r as rules } from './shared/preset-wind4.DIUjJahF.mjs';
|
|
5
5
|
export { shortcuts } from './shortcuts.mjs';
|
|
6
6
|
export { t as theme } from './shared/preset-wind4.pue_BigB.mjs';
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _unocss_core from '@unocss/core';
|
|
2
2
|
import { Postprocessor, Preflight, Variant, PresetOptions } from '@unocss/core';
|
|
3
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
4
|
-
export { r as rules } from './shared/preset-wind4.
|
|
3
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.js';
|
|
4
|
+
export { r as rules } from './shared/preset-wind4.BJEl798_.js';
|
|
5
5
|
export { shortcuts } from './shortcuts.js';
|
|
6
6
|
export { t as theme } from './shared/preset-wind4.pue_BigB.js';
|
|
7
7
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { LAYER_PREFLIGHTS, definePreset } from '@unocss/core';
|
|
2
2
|
import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
|
|
3
|
-
import { E as compressCSS, D as camelToHyphen, g as globalKeywords } from './shared/preset-wind4.
|
|
3
|
+
import { E as compressCSS, D as camelToHyphen, g as globalKeywords } from './shared/preset-wind4.C2WJ-LPg.mjs';
|
|
4
4
|
import { alphaPlaceholdersRE } from '@unocss/rule-utils';
|
|
5
5
|
import { p as passThemeKey } from './shared/preset-wind4.DRtKeBWc.mjs';
|
|
6
6
|
import { postprocessors } from './postprocess.mjs';
|
|
7
|
-
import { l as variants } from './shared/preset-wind4.
|
|
7
|
+
import { l as variants } from './shared/preset-wind4.D0X5sI2o.mjs';
|
|
8
8
|
import { theme as theme$1 } from './theme.mjs';
|
|
9
|
-
import { s as shortcuts } from './shared/preset-wind4.
|
|
10
|
-
import { r as rules } from './shared/preset-wind4.
|
|
9
|
+
import { s as shortcuts } from './shared/preset-wind4.DAFeae-M.mjs';
|
|
10
|
+
import { r as rules } from './shared/preset-wind4.kLLgLvQk.mjs';
|
|
11
11
|
import './colors.mjs';
|
|
12
|
-
import './shared/preset-wind4.
|
|
12
|
+
import './shared/preset-wind4.Bjnac6Vf.mjs';
|
|
13
13
|
|
|
14
14
|
const resetCSS = `
|
|
15
15
|
/*
|
|
@@ -188,11 +188,6 @@ table {
|
|
|
188
188
|
border-collapse: collapse; /* 3 */
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
th {
|
|
192
|
-
text-align: inherit;
|
|
193
|
-
font-weight: inherit;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
191
|
/*
|
|
197
192
|
Use the modern Firefox focus style for all focusable elements.
|
|
198
193
|
*/
|
package/dist/postprocess.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PresetWind4Options } from './index.mjs';
|
|
2
2
|
export { postprocessors } from './index.mjs';
|
|
3
3
|
import { Postprocessor } from '@unocss/core';
|
|
4
|
-
import './shared/preset-wind4.
|
|
5
|
-
import './shared/preset-wind4.
|
|
4
|
+
import './shared/preset-wind4.MiZzPO05.mjs';
|
|
5
|
+
import './shared/preset-wind4.DIUjJahF.mjs';
|
|
6
6
|
import './shortcuts.mjs';
|
|
7
7
|
import './shared/preset-wind4.pue_BigB.mjs';
|
|
8
8
|
|
package/dist/postprocess.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PresetWind4Options } from './index.js';
|
|
2
2
|
export { postprocessors } from './index.js';
|
|
3
3
|
import { Postprocessor } from '@unocss/core';
|
|
4
|
-
import './shared/preset-wind4.
|
|
5
|
-
import './shared/preset-wind4.
|
|
4
|
+
import './shared/preset-wind4.MiZzPO05.js';
|
|
5
|
+
import './shared/preset-wind4.BJEl798_.js';
|
|
6
6
|
import './shortcuts.js';
|
|
7
7
|
import './shared/preset-wind4.pue_BigB.js';
|
|
8
8
|
|
package/dist/rules.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Rule, CSSEntries, Shortcut, StaticRule } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
3
|
-
export { r as rules } from './shared/preset-wind4.
|
|
2
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
3
|
+
export { r as rules } from './shared/preset-wind4.DIUjJahF.mjs';
|
|
4
4
|
|
|
5
5
|
declare const verticalAligns: Rule<Theme>[];
|
|
6
6
|
declare const textAligns: Rule<Theme>[];
|
package/dist/rules.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Rule, CSSEntries, Shortcut, StaticRule } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
3
|
-
export { r as rules } from './shared/preset-wind4.
|
|
2
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.js';
|
|
3
|
+
export { r as rules } from './shared/preset-wind4.BJEl798_.js';
|
|
4
4
|
|
|
5
5
|
declare const verticalAligns: Rule<Theme>[];
|
|
6
6
|
declare const textAligns: Rule<Theme>[];
|
package/dist/rules.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { d as accents, ar as accessibility, J as alignments, a as animations, c as appearance, a3 as appearances, Y as aspectRatio, y as backdropFilterBase, ao as backgroundBlendModes, b as backgroundStyles, m as bgColors, at as borderSpacingBase, g as borderStyles, h as borders, W as boxShadows, V as boxShadowsBase, P as boxSizing, ac as breaks, e as carets, n as colorScheme, p as columns, a5 as contains, aa as contentVisibility, ab as contents, aJ as cssProperty, aI as cssVariables, a4 as cursors, a2 as displays, u as divides, aq as dynamicViewportHeight, x as filterBase, z as filters, A as flex, L as flexGridJustifiesAlignments, N as floats, ah as fontSmoothings, ag as fontStyles, aG as fontVariantNumeric, aF as fontVariantNumericBase, aA as fonts, B as gaps, C as grids, j as handlerBorderStyle, ai as hyphens, i as imageRenderings, M as insets, am as isolations, H as justifies, E as lineClamps, l as listStyle, _ as margins, ap as mixBlendModes, a0 as notLastChildSelector, an as objectPositions, k as opacity, I as orders, o as outline, D as overflows, f as overscrolls, Z as paddings, F as placeholders, K as placements, a6 as pointerEvents, G as positions, Q as questionMark, a7 as resizes, R as ringBase, S as rings, r as rules, al as screenReadersAccess, s as scrollBehaviors, T as scrollSnapTypeBase, U as scrolls, X as sizes, $ as spaces, aH as splitShorthand, as as svgUtilities, aB as tabSizes, au as tables, t as textAligns, q as textDecorations, aC as textIndents, ae as textOverflows, aE as textShadows, aD as textStrokes, af as textTransforms, ad as textWraps, av as touchActionBase, aw as touchActions, ax as transformBase, ay as transforms, az as transitions, a8 as userSelects, a1 as varEmpty, v as verticalAligns, aK as viewTransition, a9 as whitespaces, w as willChange, aj as writingModes, ak as writingOrientations, O as zIndexes } from './shared/preset-wind4.
|
|
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, ar as accessibility, J as alignments, a as animations, c as appearance, a3 as appearances, Y as aspectRatio, y as backdropFilterBase, ao as backgroundBlendModes, b as backgroundStyles, m as bgColors, at as borderSpacingBase, g as borderStyles, h as borders, W as boxShadows, V as boxShadowsBase, P as boxSizing, ac as breaks, e as carets, n as colorScheme, p as columns, a5 as contains, aa as contentVisibility, ab as contents, aJ as cssProperty, aI as cssVariables, a4 as cursors, a2 as displays, u as divides, aq as dynamicViewportHeight, x as filterBase, z as filters, A as flex, L as flexGridJustifiesAlignments, N as floats, ah as fontSmoothings, ag as fontStyles, aG as fontVariantNumeric, aF as fontVariantNumericBase, aA as fonts, B as gaps, C as grids, j as handlerBorderStyle, ai as hyphens, i as imageRenderings, M as insets, am as isolations, H as justifies, E as lineClamps, l as listStyle, _ as margins, ap as mixBlendModes, a0 as notLastChildSelector, an as objectPositions, k as opacity, I as orders, o as outline, D as overflows, f as overscrolls, Z as paddings, F as placeholders, K as placements, a6 as pointerEvents, G as positions, Q as questionMark, a7 as resizes, R as ringBase, S as rings, r as rules, al as screenReadersAccess, s as scrollBehaviors, T as scrollSnapTypeBase, U as scrolls, X as sizes, $ as spaces, aH as splitShorthand, as as svgUtilities, aB as tabSizes, au as tables, t as textAligns, q as textDecorations, aC as textIndents, ae as textOverflows, aE as textShadows, aD as textStrokes, af as textTransforms, ad as textWraps, av as touchActionBase, aw as touchActions, ax as transformBase, ay as transforms, az as transitions, a8 as userSelects, a1 as varEmpty, v as verticalAligns, aK as viewTransition, a9 as whitespaces, w as willChange, aj as writingModes, ak as writingOrientations, O as zIndexes } from './shared/preset-wind4.kLLgLvQk.mjs';
|
|
2
|
+
export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.Bjnac6Vf.mjs';
|
|
3
|
+
import './shared/preset-wind4.C2WJ-LPg.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import '@unocss/rule-utils';
|
|
6
6
|
import './shared/preset-wind4.DRtKeBWc.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isString } from '@unocss/core';
|
|
2
|
-
import { u as resolveBreakpoints } from './preset-wind4.
|
|
2
|
+
import { u as resolveBreakpoints } from './preset-wind4.C2WJ-LPg.mjs';
|
|
3
3
|
|
|
4
4
|
const containerParent = [
|
|
5
5
|
[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { escapeSelector, toArray } from '@unocss/core';
|
|
2
|
-
import { createValueHandler,
|
|
2
|
+
import { createValueHandler, parseCssColor, getStringComponents, colorToString, getStringComponent } from '@unocss/rule-utils';
|
|
3
3
|
|
|
4
4
|
const directionMap = {
|
|
5
5
|
"l": ["-left"],
|
|
@@ -493,7 +493,7 @@ function colorResolver(property, varName) {
|
|
|
493
493
|
css[property] = color;
|
|
494
494
|
} else {
|
|
495
495
|
css[`--un-${varName}-opacity`] = `${opacity || 100}%`;
|
|
496
|
-
const value = key ? `var(--
|
|
496
|
+
const value = key ? `var(--colors-${key})` : color;
|
|
497
497
|
css[property] = `color-mix(in oklch, ${value} var(--un-${varName}-opacity), transparent)${rawColorComment}`;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
@@ -532,7 +532,10 @@ function parseColor(body, theme) {
|
|
|
532
532
|
/**
|
|
533
533
|
* Key means the color is from theme object.
|
|
534
534
|
*/
|
|
535
|
-
key
|
|
535
|
+
key,
|
|
536
|
+
get cssColor() {
|
|
537
|
+
return parseCssColor(this.color);
|
|
538
|
+
}
|
|
536
539
|
};
|
|
537
540
|
}
|
|
538
541
|
function parseThemeColor(theme, keys) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { variantGetParameter, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
|
|
2
|
-
import { a as h, u as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE, t as hasParseableColor } from './preset-wind4.
|
|
2
|
+
import { a as h, u as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE, t as hasParseableColor } from './preset-wind4.C2WJ-LPg.mjs';
|
|
3
3
|
import { escapeRegExp, escapeSelector } from '@unocss/core';
|
|
4
4
|
|
|
5
5
|
const variantAria = {
|
|
@@ -16,7 +16,7 @@ interface Theme {
|
|
|
16
16
|
breakpoint?: Record<string, string>;
|
|
17
17
|
verticalBreakpoint?: Record<string, string>;
|
|
18
18
|
container?: Record<string, string>;
|
|
19
|
-
text
|
|
19
|
+
text?: Record<string, {
|
|
20
20
|
fontSize?: string;
|
|
21
21
|
lineHeight?: string;
|
|
22
22
|
letterSpacing?: string;
|
|
@@ -16,7 +16,7 @@ interface Theme {
|
|
|
16
16
|
breakpoint?: Record<string, string>;
|
|
17
17
|
verticalBreakpoint?: Record<string, string>;
|
|
18
18
|
container?: Record<string, string>;
|
|
19
|
-
text
|
|
19
|
+
text?: Record<string, {
|
|
20
20
|
fontSize?: string;
|
|
21
21
|
lineHeight?: string;
|
|
22
22
|
letterSpacing?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as globalKeywords, a as h, y as makeGlobalStaticRules, p as positionMap, m as parseColor, S as SpecialColorKey, l as colorResolver, z as isCSSMathFn, d as directionMap, t as hasParseableColor, c as cornerMap, A as isSize, j as directionSize, n as numberResolver, k as colorableShadows, i as insetMap, D as camelToHyphen, u as resolveBreakpoints, B as transformXYZ, x as xyzMap, F as bracketTypeRe } from './preset-wind4.
|
|
1
|
+
import { g as globalKeywords, a as h, y as makeGlobalStaticRules, p as positionMap, m as parseColor, S as SpecialColorKey, l as colorResolver, z as isCSSMathFn, d as directionMap, t as hasParseableColor, c as cornerMap, A as isSize, j as directionSize, n as numberResolver, k as colorableShadows, i as insetMap, D as camelToHyphen, u as resolveBreakpoints, B as transformXYZ, x as xyzMap, F as bracketTypeRe } from './preset-wind4.C2WJ-LPg.mjs';
|
|
2
2
|
import { p as passThemeKey } from './preset-wind4.DRtKeBWc.mjs';
|
|
3
|
-
import { a as container, c as containerParent } from './preset-wind4.
|
|
3
|
+
import { a as container, c as containerParent } from './preset-wind4.Bjnac6Vf.mjs';
|
|
4
4
|
import { getStringComponent } from '@unocss/rule-utils';
|
|
5
5
|
|
|
6
6
|
const verticalAlignAlias = {
|
|
@@ -131,7 +131,7 @@ function bgGradientColorResolver() {
|
|
|
131
131
|
css[`--un-gradient-${position}`] = color;
|
|
132
132
|
} else {
|
|
133
133
|
css[`--un-${position}-opacity`] = `${opacity || 100}%`;
|
|
134
|
-
const value = key ? `var(--
|
|
134
|
+
const value = key ? `var(--colors-${key})` : color;
|
|
135
135
|
css[`--un-gradient-${position}`] = `color-mix(in oklab, ${value} var(--un-${position}-opacity), transparent)`;
|
|
136
136
|
}
|
|
137
137
|
} else {
|
|
@@ -421,7 +421,7 @@ function transformBorderColor(color, opacity, key, direction) {
|
|
|
421
421
|
if (direction && direction !== "") {
|
|
422
422
|
css[`--un-border${direction}-opacity`] = `var(--un-border-opacity)`;
|
|
423
423
|
}
|
|
424
|
-
const value = key ? `var(--
|
|
424
|
+
const value = key ? `var(--colors-${key})` : color;
|
|
425
425
|
css[`border${direction}-color`] = `color-mix(in oklch, ${value} var(--un-border${direction}-opacity), transparent)`;
|
|
426
426
|
}
|
|
427
427
|
}
|
package/dist/shortcuts.d.mts
CHANGED
package/dist/shortcuts.d.ts
CHANGED
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.DAFeae-M.mjs';
|
|
2
|
+
import './shared/preset-wind4.Bjnac6Vf.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
|
-
import './shared/preset-wind4.
|
|
4
|
+
import './shared/preset-wind4.C2WJ-LPg.mjs';
|
|
5
5
|
import '@unocss/rule-utils';
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { colors } from './colors.mjs';
|
|
2
2
|
export { t as theme } from './shared/preset-wind4.pue_BigB.mjs';
|
|
3
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
4
|
-
export { C as Colors, a as ThemeAnimation } from './shared/preset-wind4.
|
|
3
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
4
|
+
export { C as Colors, a as ThemeAnimation } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
5
5
|
|
|
6
6
|
declare const animation: {
|
|
7
7
|
keyframes: {
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { colors } from './colors.js';
|
|
2
2
|
export { t as theme } from './shared/preset-wind4.pue_BigB.js';
|
|
3
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
4
|
-
export { C as Colors, a as ThemeAnimation } from './shared/preset-wind4.
|
|
3
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.js';
|
|
4
|
+
export { C as Colors, a as ThemeAnimation } from './shared/preset-wind4.MiZzPO05.js';
|
|
5
5
|
|
|
6
6
|
declare const animation: {
|
|
7
7
|
keyframes: {
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
3
|
import { DynamicMatcher, RuleContext, CSSObject, VariantContext, StaticRule } from '@unocss/core';
|
|
4
|
-
import { T as Theme, C as Colors } from './shared/preset-wind4.
|
|
4
|
+
import { T as Theme, C as Colors } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
5
5
|
|
|
6
6
|
/** Keys will not appear in the theme variable. */
|
|
7
7
|
declare const passThemeKey: string[];
|
|
@@ -103,6 +103,7 @@ declare function parseColor(body: string, theme: Theme): {
|
|
|
103
103
|
* Key means the color is from theme object.
|
|
104
104
|
*/
|
|
105
105
|
key: string | undefined;
|
|
106
|
+
readonly cssColor: _unocss_rule_utils.CSSColorValue | undefined;
|
|
106
107
|
} | undefined;
|
|
107
108
|
declare function parseThemeColor(theme: Theme, keys: string[]): {
|
|
108
109
|
color: string;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
3
|
import { DynamicMatcher, RuleContext, CSSObject, VariantContext, StaticRule } from '@unocss/core';
|
|
4
|
-
import { T as Theme, C as Colors } from './shared/preset-wind4.
|
|
4
|
+
import { T as Theme, C as Colors } from './shared/preset-wind4.MiZzPO05.js';
|
|
5
5
|
|
|
6
6
|
/** Keys will not appear in the theme variable. */
|
|
7
7
|
declare const passThemeKey: string[];
|
|
@@ -103,6 +103,7 @@ declare function parseColor(body: string, theme: Theme): {
|
|
|
103
103
|
* Key means the color is from theme object.
|
|
104
104
|
*/
|
|
105
105
|
key: string | undefined;
|
|
106
|
+
readonly cssColor: _unocss_rule_utils.CSSColorValue | undefined;
|
|
106
107
|
} | undefined;
|
|
107
108
|
declare function parseThemeColor(theme: Theme, keys: string[]): {
|
|
108
109
|
color: string;
|
package/dist/utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { p as passThemeKey } from './shared/preset-wind4.DRtKeBWc.mjs';
|
|
2
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, S as SpecialColorKey, D as camelToHyphen, l as colorResolver, r as colorVariable, k as colorableShadows, E as compressCSS, c as cornerMap, e as cssMathFnRE, f as cssVarFnRE, d as directionMap, j as directionSize, q as getThemeColor, g as globalKeywords, a as h, h as handler, t as hasParseableColor, i as insetMap, z as isCSSMathFn, A as isSize, y as makeGlobalStaticRules, n as numberResolver, m as parseColor, o as parseThemeColor, p as positionMap, u as resolveBreakpoints, w as resolveVerticalBreakpoints, s as splitShorthand, B as transformXYZ, v as valueHandlers, b as xyzArray, x as xyzMap } from './shared/preset-wind4.
|
|
2
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, S as SpecialColorKey, D as camelToHyphen, l as colorResolver, r as colorVariable, k as colorableShadows, E as compressCSS, c as cornerMap, e as cssMathFnRE, f as cssVarFnRE, d as directionMap, j as directionSize, q as getThemeColor, g as globalKeywords, a as h, h as handler, t as hasParseableColor, i as insetMap, z as isCSSMathFn, A as isSize, y as makeGlobalStaticRules, n as numberResolver, m as parseColor, o as parseThemeColor, p as positionMap, u as resolveBreakpoints, w as resolveVerticalBreakpoints, s as splitShorthand, B as transformXYZ, v as valueHandlers, b as xyzArray, x as xyzMap } from './shared/preset-wind4.C2WJ-LPg.mjs';
|
|
3
3
|
export * from '@unocss/rule-utils';
|
|
4
4
|
import '@unocss/core';
|
package/dist/variants.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantObject, Variant, VariantFunction } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
2
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.mjs';
|
|
3
3
|
import { PresetWind4Options } from './index.mjs';
|
|
4
4
|
export { variants } from './index.mjs';
|
|
5
|
-
import './shared/preset-wind4.
|
|
5
|
+
import './shared/preset-wind4.DIUjJahF.mjs';
|
|
6
6
|
import './shortcuts.mjs';
|
|
7
7
|
import './shared/preset-wind4.pue_BigB.mjs';
|
|
8
8
|
|
package/dist/variants.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantObject, Variant, VariantFunction } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './shared/preset-wind4.
|
|
2
|
+
import { T as Theme } from './shared/preset-wind4.MiZzPO05.js';
|
|
3
3
|
import { PresetWind4Options } from './index.js';
|
|
4
4
|
export { variants } from './index.js';
|
|
5
|
-
import './shared/preset-wind4.
|
|
5
|
+
import './shared/preset-wind4.BJEl798_.js';
|
|
6
6
|
import './shortcuts.js';
|
|
7
7
|
import './shared/preset-wind4.pue_BigB.js';
|
|
8
8
|
|
package/dist/variants.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as calcMaxWidthBySize, D as placeholderModifier, v as variantAria, b as variantBreakpoints, d as variantChildren, h as variantColorsMediaOrClass, i as variantColorsScheme, e as variantCombinators, g as variantContainerQuery, q as variantContrasts, w as variantCssLayer, p as variantCustomMedia, j as variantDataAttribute, t as variantForcedColors, n as variantImportant, x as variantInternalLayer, m as variantLanguageDirections, r as variantMotions, C as variantNegative, s as variantOrientations, H as variantPartClasses, o as variantPrint, F as variantPseudoClassFunctions, E as variantPseudoClassesAndElements, y as variantScope, u as variantSelector, I as variantStartingStyle, B as variantStickyHover, J as variantSupports, f as variantSvgCombinators, a as variantTaggedAriaAttributes, k as variantTaggedDataAttributes, G as variantTaggedPseudoClasses, A as variantTheme, z as variantVariables, l as variants } from './shared/preset-wind4.
|
|
1
|
+
export { c as calcMaxWidthBySize, D as placeholderModifier, v as variantAria, b as variantBreakpoints, d as variantChildren, h as variantColorsMediaOrClass, i as variantColorsScheme, e as variantCombinators, g as variantContainerQuery, q as variantContrasts, w as variantCssLayer, p as variantCustomMedia, j as variantDataAttribute, t as variantForcedColors, n as variantImportant, x as variantInternalLayer, m as variantLanguageDirections, r as variantMotions, C as variantNegative, s as variantOrientations, H as variantPartClasses, o as variantPrint, F as variantPseudoClassFunctions, E as variantPseudoClassesAndElements, y as variantScope, u as variantSelector, I as variantStartingStyle, B as variantStickyHover, J as variantSupports, f as variantSvgCombinators, a as variantTaggedAriaAttributes, k as variantTaggedDataAttributes, G as variantTaggedPseudoClasses, A as variantTheme, z as variantVariables, l as variants } from './shared/preset-wind4.D0X5sI2o.mjs';
|
|
2
2
|
import '@unocss/rule-utils';
|
|
3
|
-
import './shared/preset-wind4.
|
|
3
|
+
import './shared/preset-wind4.C2WJ-LPg.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.1.0-beta.
|
|
4
|
+
"version": "66.1.0-beta.3",
|
|
5
5
|
"description": "Tailwind 4 compact preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"dist"
|
|
66
66
|
],
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@unocss/core": "66.1.0-beta.
|
|
69
|
-
"@unocss/extractor-arbitrary-variants": "66.1.0-beta.
|
|
70
|
-
"@unocss/rule-utils": "66.1.0-beta.
|
|
68
|
+
"@unocss/core": "66.1.0-beta.3",
|
|
69
|
+
"@unocss/extractor-arbitrary-variants": "66.1.0-beta.3",
|
|
70
|
+
"@unocss/rule-utils": "66.1.0-beta.3"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "unbuild",
|