@unocss/preset-mini 66.5.12 → 66.6.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as globalKeywords, d as parseColor } from "./utils-DLpYZ57Q.mjs";
|
|
2
|
-
import { t as rules } from "./rules-
|
|
2
|
+
import { t as rules } from "./rules-Cc0JK3VG.mjs";
|
|
3
3
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
4
|
-
import { t as theme } from "./theme-
|
|
4
|
+
import { t as theme } from "./theme-B2Jp9h34.mjs";
|
|
5
5
|
import { variants } from "./variants.mjs";
|
|
6
6
|
import { definePreset, entriesToCss, toArray } from "@unocss/core";
|
|
7
7
|
import { extractorArbitraryVariants } from "@unocss/extractor-arbitrary-variants";
|
|
@@ -790,9 +790,20 @@ const whitespaces = [[
|
|
|
790
790
|
]];
|
|
791
791
|
const contentVisibility = [
|
|
792
792
|
[
|
|
793
|
-
/^intrinsic
|
|
794
|
-
([, d]) =>
|
|
795
|
-
|
|
793
|
+
/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,
|
|
794
|
+
([, d, s]) => {
|
|
795
|
+
return { [`contain-intrinsic-${{
|
|
796
|
+
block: "block-size",
|
|
797
|
+
inline: "inline-size",
|
|
798
|
+
w: "width",
|
|
799
|
+
h: "height"
|
|
800
|
+
}[d] ?? "size"}`]: h.bracket.cssvar.global.fraction.rem(s) };
|
|
801
|
+
},
|
|
802
|
+
{ autocomplete: [
|
|
803
|
+
"intrinsic-size-<num>",
|
|
804
|
+
"intrinsic-<num>",
|
|
805
|
+
"intrinsic-(block|inline|w|h)-<num>"
|
|
806
|
+
] }
|
|
796
807
|
],
|
|
797
808
|
["content-visibility-visible", { "content-visibility": "visible" }],
|
|
798
809
|
["content-visibility-hidden", { "content-visibility": "hidden" }],
|
|
@@ -983,6 +994,7 @@ function getSizeValue(minmax, hw, theme, prop) {
|
|
|
983
994
|
case "fit":
|
|
984
995
|
case "max":
|
|
985
996
|
case "min": return `${prop}-content`;
|
|
997
|
+
case "stretch": return "stretch";
|
|
986
998
|
}
|
|
987
999
|
return h.bracket.cssvar.global.auto.fraction.rem(prop);
|
|
988
1000
|
}
|
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { $ as flex, A as fontStyles, B as alignments, C as contains, D as displays, E as cursors, F as textWraps, G as justifies, H as flexGridJustifiesAlignments, I as userSelects, J as positions, K as orders, L as varEmpty, M as resizes, N as textOverflows, O as fieldSizing, P as textTransforms, Q as gaps, R as whitespaces, S as breaks, T as contents, U as floats, V as boxSizing, W as insets, X as overflows, Y as zIndexes, Z as grids, _ as boxShadows, a as tabSizes, at as borderStyles, b as rings, c as textStrokes, ct as appearance, d as transforms, dt as textAligns, et as textDecorations, f as svgUtilities, ft as verticalAligns, g as sizes, h as aspectRatio, i as fonts, it as opacity, j as pointerEvents, k as fontSmoothings, l as transitions, lt as outline, m as paddings, n as cssProperty, nt as bgColors, o as textIndents, ot as borders, p as margins, q as placements, r as cssVariables, rt as colorScheme, s as textShadows, st as handlerBorderStyle, t as rules, tt as containerParent, u as transformBase, ut as willChange, v as boxShadowsBase, w as contentVisibility, x as appearances, y as ringBase, z as questionMark } from "./rules-CuP-xMI2.mjs";
|
|
1
|
+
import { $ as flex, A as fontStyles, B as alignments, C as contains, D as displays, E as cursors, F as textWraps, G as justifies, H as flexGridJustifiesAlignments, I as userSelects, J as positions, K as orders, L as varEmpty, M as resizes, N as textOverflows, O as fieldSizing, P as textTransforms, Q as gaps, R as whitespaces, S as breaks, T as contents, U as floats, V as boxSizing, W as insets, X as overflows, Y as zIndexes, Z as grids, _ as boxShadows, a as tabSizes, at as borderStyles, b as rings, c as textStrokes, ct as appearance, d as transforms, dt as textAligns, et as textDecorations, f as svgUtilities, ft as verticalAligns, g as sizes, h as aspectRatio, i as fonts, it as opacity, j as pointerEvents, k as fontSmoothings, l as transitions, lt as outline, m as paddings, n as cssProperty, nt as bgColors, o as textIndents, ot as borders, p as margins, q as placements, r as cssVariables, rt as colorScheme, s as textShadows, st as handlerBorderStyle, t as rules, tt as containerParent, u as transformBase, ut as willChange, v as boxShadowsBase, w as contentVisibility, x as appearances, y as ringBase, z as questionMark } from "./rules-Cc0JK3VG.mjs";
|
|
3
2
|
|
|
4
3
|
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, colorScheme, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, fieldSizing, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fonts, gaps, grids, handlerBorderStyle, insets, justifies, margins, opacity, orders, outline, overflows, paddings, placements, pointerEvents, positions, questionMark, resizes, ringBase, rings, rules, sizes, svgUtilities, tabSizes, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as transformBase, v as boxShadowsBase, y as ringBase } from "./rules-
|
|
1
|
+
import { u as transformBase, v as boxShadowsBase, y as ringBase } from "./rules-Cc0JK3VG.mjs";
|
|
2
2
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/_theme/filters.ts
|
package/dist/theme.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./utils-DLpYZ57Q.mjs";
|
|
2
1
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
3
|
-
import { A as textStrokeWidth, C as fontFamily, D as lineHeight, E as letterSpacing, M as blur, N as dropShadow, O as textIndent, S as zIndex, T as fontWeight, _ as lineWidth, a as height, b as spacing, c as maxHeight, d as width, f as preflightBase, g as duration, h as breakpoints, i as containers, j as wordSpacing, k as textShadow, l as maxInlineSize, m as boxShadow, n as baseSize, o as inlineSize, p as borderRadius, r as blockSize, s as maxBlockSize, t as theme, u as maxWidth, v as media, w as fontSize, x as verticalBreakpoints, y as ringWidth } from "./theme-
|
|
2
|
+
import { A as textStrokeWidth, C as fontFamily, D as lineHeight, E as letterSpacing, M as blur, N as dropShadow, O as textIndent, S as zIndex, T as fontWeight, _ as lineWidth, a as height, b as spacing, c as maxHeight, d as width, f as preflightBase, g as duration, h as breakpoints, i as containers, j as wordSpacing, k as textShadow, l as maxInlineSize, m as boxShadow, n as baseSize, o as inlineSize, p as borderRadius, r as blockSize, s as maxBlockSize, t as theme, u as maxWidth, v as media, w as fontSize, x as verticalBreakpoints, y as ringWidth } from "./theme-B2Jp9h34.mjs";
|
|
4
3
|
|
|
5
4
|
export { 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 };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.
|
|
4
|
+
"version": "66.6.0",
|
|
5
5
|
"description": "The minimal preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"dist"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@unocss/
|
|
60
|
-
"@unocss/
|
|
61
|
-
"@unocss/
|
|
59
|
+
"@unocss/rule-utils": "66.6.0",
|
|
60
|
+
"@unocss/core": "66.6.0",
|
|
61
|
+
"@unocss/extractor-arbitrary-variants": "66.6.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "tsdown",
|