@unocss/preset-mini 66.6.7 → 66.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-N6PyQljA.d.mts → index-Df-rxaWU.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/{theme-r-ur3K_H.d.mts → theme-DmprjxKd.d.mts} +2 -2
- package/dist/theme.d.mts +1 -1
- package/dist/{utils-DqTKpOev.d.mts → utils-C6ZYvciN.d.mts} +3 -3
- package/dist/utils.d.mts +1 -1
- package/dist/variants.d.mts +1 -1
- package/dist/variants.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as Theme } from "./colors-DCBiEX2u.mjs";
|
|
2
|
-
import * as _unocss_core0 from "@unocss/core";
|
|
2
|
+
import * as _$_unocss_core0 from "@unocss/core";
|
|
3
3
|
import { Postprocessor, Preflight, PresetOptions } from "@unocss/core";
|
|
4
4
|
|
|
5
5
|
//#region src/preflights.d.ts
|
|
@@ -65,7 +65,7 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
65
65
|
*
|
|
66
66
|
* @see https://unocss.dev/presets/mini
|
|
67
67
|
*/
|
|
68
|
-
declare const presetMini: _unocss_core0.PresetFactory<Theme, PresetMiniOptions>;
|
|
68
|
+
declare const presetMini: _$_unocss_core0.PresetFactory<Theme, PresetMiniOptions>;
|
|
69
69
|
declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { preflights as a, presetMini as i, PresetMiniOptions as n, VarPrefixPostprocessor as r, DarkModeSelectors as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ThemeAnimation, r as Theme, t as colors } from "./colors-DCBiEX2u.mjs";
|
|
2
|
-
import { N as theme } from "./theme-
|
|
3
|
-
import { a as preflights, i as presetMini, n as PresetMiniOptions, r as VarPrefixPostprocessor, t as DarkModeSelectors } from "./index-
|
|
4
|
-
import { l as parseColor } from "./utils-
|
|
2
|
+
import { N as theme } from "./theme-DmprjxKd.mjs";
|
|
3
|
+
import { a as preflights, i as presetMini, n as PresetMiniOptions, r as VarPrefixPostprocessor, t as DarkModeSelectors } from "./index-Df-rxaWU.mjs";
|
|
4
|
+
import { l as parseColor } from "./utils-C6ZYvciN.mjs";
|
|
5
5
|
export { DarkModeSelectors, PresetMiniOptions, Theme, ThemeAnimation, VarPrefixPostprocessor, colors, presetMini as default, presetMini, parseColor, preflights, theme };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Colors, r as Theme } from "./colors-DCBiEX2u.mjs";
|
|
2
|
-
import * as _unocss_core0 from "@unocss/core";
|
|
2
|
+
import * as _$_unocss_core0 from "@unocss/core";
|
|
3
3
|
|
|
4
4
|
//#region src/_theme/default.d.ts
|
|
5
5
|
declare const theme: {
|
|
@@ -549,7 +549,7 @@ declare const theme: {
|
|
|
549
549
|
serif: string;
|
|
550
550
|
mono: string;
|
|
551
551
|
};
|
|
552
|
-
fontSize: Record<string, string | [string, string | _unocss_core0.CSSObject] | [string, string, string]> | undefined;
|
|
552
|
+
fontSize: Record<string, string | [string, string | _$_unocss_core0.CSSObject] | [string, string, string]> | undefined;
|
|
553
553
|
fontWeight: {
|
|
554
554
|
thin: string;
|
|
555
555
|
extralight: string;
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as ThemeAnimation, n as Colors, r as Theme, t as colors } from "./colors-DCBiEX2u.mjs";
|
|
2
|
-
import { A as wordSpacing, C as fontSize, D as textIndent, E as lineHeight, M as dropShadow, N as theme, O as textShadow, S as fontFamily, T as letterSpacing, _ as media, a as inlineSize, b as verticalBreakpoints, c as maxInlineSize, d as preflightBase, f as borderRadius, g as lineWidth, h as duration, i as height, j as blur, k as textStrokeWidth, l as maxWidth, m as breakpoints, n as blockSize, o as maxBlockSize, p as boxShadow, r as containers, s as maxHeight, t as baseSize, u as width, v as ringWidth, w as fontWeight, x as zIndex, y as spacing } from "./theme-
|
|
2
|
+
import { A as wordSpacing, C as fontSize, D as textIndent, E as lineHeight, M as dropShadow, N as theme, O as textShadow, S as fontFamily, T as letterSpacing, _ as media, a as inlineSize, b as verticalBreakpoints, c as maxInlineSize, d as preflightBase, f as borderRadius, g as lineWidth, h as duration, i as height, j as blur, k as textStrokeWidth, l as maxWidth, m as breakpoints, n as blockSize, o as maxBlockSize, p as boxShadow, r as containers, s as maxHeight, t as baseSize, u as width, v as ringWidth, w as fontWeight, x as zIndex, y as spacing } from "./theme-DmprjxKd.mjs";
|
|
3
3
|
export { Colors, Theme, ThemeAnimation, baseSize, blockSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, fontFamily, fontSize, fontWeight, height, inlineSize, letterSpacing, lineHeight, lineWidth, maxBlockSize, maxHeight, maxInlineSize, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing, zIndex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as Theme } from "./colors-DCBiEX2u.mjs";
|
|
2
2
|
import { CSSObject, DynamicMatcher, StaticRule, VariantContext } from "@unocss/core";
|
|
3
|
-
import * as _unocss_rule_utils0 from "@unocss/rule-utils";
|
|
3
|
+
import * as _$_unocss_rule_utils0 from "@unocss/rule-utils";
|
|
4
4
|
import { ParsedColorValue } from "@unocss/rule-utils";
|
|
5
5
|
|
|
6
6
|
//#region src/_utils/handlers/handlers.d.ts
|
|
@@ -26,8 +26,8 @@ declare function properties(str: string): string | undefined;
|
|
|
26
26
|
declare function position(str: string): string | undefined;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/_utils/handlers/index.d.ts
|
|
29
|
-
declare const handler: _unocss_rule_utils0.ValueHandler<"number" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties", object>;
|
|
30
|
-
declare const h: _unocss_rule_utils0.ValueHandler<"number" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties", object>;
|
|
29
|
+
declare const handler: _$_unocss_rule_utils0.ValueHandler<"number" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties", object>;
|
|
30
|
+
declare const h: _$_unocss_rule_utils0.ValueHandler<"number" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties", object>;
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/_utils/mappings.d.ts
|
|
33
33
|
declare const directionMap: Record<string, string[]>;
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as h, S as xyzMap, T as handlers_d_exports, _ as directionMap, a as hasParseableColor, b as positionMap, c as makeGlobalStaticRules, d as resolveVerticalBreakpoints, f as splitShorthand, g as cssVarFnRE, h as cssMathFnRE, i as directionSize, l as parseColor, m as cornerMap, n as colorResolver, o as isCSSMathFn, p as transformXYZ, r as colorableShadows, s as isSize, t as CONTROL_MINI_NO_NEGATIVE, u as resolveBreakpoints, v as globalKeywords, w as handler, x as xyzArray, y as insetMap } from "./utils-
|
|
1
|
+
import { C as h, S as xyzMap, T as handlers_d_exports, _ as directionMap, a as hasParseableColor, b as positionMap, c as makeGlobalStaticRules, d as resolveVerticalBreakpoints, f as splitShorthand, g as cssVarFnRE, h as cssMathFnRE, i as directionSize, l as parseColor, m as cornerMap, n as colorResolver, o as isCSSMathFn, p as transformXYZ, r as colorableShadows, s as isSize, t as CONTROL_MINI_NO_NEGATIVE, u as resolveBreakpoints, v as globalKeywords, w as handler, x as xyzArray, y as insetMap } from "./utils-C6ZYvciN.mjs";
|
|
2
2
|
export * from "@unocss/rule-utils";
|
|
3
3
|
export { CONTROL_MINI_NO_NEGATIVE, colorResolver, colorableShadows, cornerMap, cssMathFnRE, cssVarFnRE, directionMap, directionSize, globalKeywords, h, handler, hasParseableColor, insetMap, isCSSMathFn, isSize, makeGlobalStaticRules, parseColor, positionMap, resolveBreakpoints, resolveVerticalBreakpoints, splitShorthand, transformXYZ, handlers_d_exports as valueHandlers, xyzArray, xyzMap };
|
package/dist/variants.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as Theme } from "./colors-DCBiEX2u.mjs";
|
|
2
|
-
import { n as PresetMiniOptions } from "./index-
|
|
2
|
+
import { n as PresetMiniOptions } from "./index-Df-rxaWU.mjs";
|
|
3
3
|
import { Variant, VariantObject } from "@unocss/core";
|
|
4
4
|
|
|
5
5
|
//#region src/_variants/aria.d.ts
|
package/dist/variants.mjs
CHANGED
|
@@ -516,7 +516,7 @@ const variantNegative = {
|
|
|
516
516
|
return {
|
|
517
517
|
matcher: matcher.slice(1),
|
|
518
518
|
body: (body) => {
|
|
519
|
-
if (body.
|
|
519
|
+
if (body.some((v) => v[0] === "$$mini-no-negative")) return;
|
|
520
520
|
let changed = false;
|
|
521
521
|
body.forEach((v) => {
|
|
522
522
|
const value = v[1]?.toString();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.6.
|
|
4
|
+
"version": "66.6.8",
|
|
5
5
|
"description": "The minimal preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@unocss/
|
|
46
|
-
"@unocss/
|
|
47
|
-
"@unocss/extractor-arbitrary-variants": "66.6.
|
|
45
|
+
"@unocss/core": "66.6.8",
|
|
46
|
+
"@unocss/rule-utils": "66.6.8",
|
|
47
|
+
"@unocss/extractor-arbitrary-variants": "66.6.8"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsdown",
|