@unocss/preset-mini 0.30.0 → 0.30.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/chunks/default2.cjs
CHANGED
|
@@ -259,17 +259,17 @@ const fonts = [
|
|
|
259
259
|
{ autocomplete: `(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(weightMap).join("|")})` }
|
|
260
260
|
],
|
|
261
261
|
[
|
|
262
|
-
/^(?:leading|lh)-(.+)$/,
|
|
262
|
+
/^(?:font-)?(?:leading|lh)-(.+)$/,
|
|
263
263
|
([, s], { theme }) => ({ "line-height": theme.lineHeight?.[s] || utilities.handler.bracket.cssvar.global.rem(s) }),
|
|
264
264
|
{ autocomplete: "(leading|lh)-$lineHeight" }
|
|
265
265
|
],
|
|
266
266
|
[
|
|
267
|
-
/^tracking-(.+)$/,
|
|
267
|
+
/^(?:font-)?tracking-(.+)$/,
|
|
268
268
|
([, s], { theme }) => ({ "letter-spacing": theme.letterSpacing?.[s] || utilities.handler.bracket.cssvar.global.rem(s) }),
|
|
269
269
|
{ autocomplete: "tracking-$letterSpacing" }
|
|
270
270
|
],
|
|
271
271
|
[
|
|
272
|
-
/^word-spacing-(.+)$/,
|
|
272
|
+
/^(?:font-)?word-spacing-(.+)$/,
|
|
273
273
|
([, s], { theme }) => ({ "word-spacing": theme.wordSpacing?.[s] || utilities.handler.bracket.cssvar.global.rem(s) }),
|
|
274
274
|
{ autocomplete: "word-spacing-$wordSpacing" }
|
|
275
275
|
]
|
|
@@ -554,7 +554,9 @@ const textTransforms = [
|
|
|
554
554
|
];
|
|
555
555
|
const fontStyles = [
|
|
556
556
|
["italic", { "font-style": "italic" }],
|
|
557
|
-
["not-italic", { "font-style": "normal" }]
|
|
557
|
+
["not-italic", { "font-style": "normal" }],
|
|
558
|
+
["font-italic", { "font-style": "italic" }],
|
|
559
|
+
["font-not-italic", { "font-style": "normal" }]
|
|
558
560
|
];
|
|
559
561
|
const fontSmoothings = [
|
|
560
562
|
["antialiased", {
|
package/dist/chunks/default2.mjs
CHANGED
|
@@ -257,17 +257,17 @@ const fonts = [
|
|
|
257
257
|
{ autocomplete: `(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(weightMap).join("|")})` }
|
|
258
258
|
],
|
|
259
259
|
[
|
|
260
|
-
/^(?:leading|lh)-(.+)$/,
|
|
260
|
+
/^(?:font-)?(?:leading|lh)-(.+)$/,
|
|
261
261
|
([, s], { theme }) => ({ "line-height": theme.lineHeight?.[s] || handler.bracket.cssvar.global.rem(s) }),
|
|
262
262
|
{ autocomplete: "(leading|lh)-$lineHeight" }
|
|
263
263
|
],
|
|
264
264
|
[
|
|
265
|
-
/^tracking-(.+)$/,
|
|
265
|
+
/^(?:font-)?tracking-(.+)$/,
|
|
266
266
|
([, s], { theme }) => ({ "letter-spacing": theme.letterSpacing?.[s] || handler.bracket.cssvar.global.rem(s) }),
|
|
267
267
|
{ autocomplete: "tracking-$letterSpacing" }
|
|
268
268
|
],
|
|
269
269
|
[
|
|
270
|
-
/^word-spacing-(.+)$/,
|
|
270
|
+
/^(?:font-)?word-spacing-(.+)$/,
|
|
271
271
|
([, s], { theme }) => ({ "word-spacing": theme.wordSpacing?.[s] || handler.bracket.cssvar.global.rem(s) }),
|
|
272
272
|
{ autocomplete: "word-spacing-$wordSpacing" }
|
|
273
273
|
]
|
|
@@ -552,7 +552,9 @@ const textTransforms = [
|
|
|
552
552
|
];
|
|
553
553
|
const fontStyles = [
|
|
554
554
|
["italic", { "font-style": "italic" }],
|
|
555
|
-
["not-italic", { "font-style": "normal" }]
|
|
555
|
+
["not-italic", { "font-style": "normal" }],
|
|
556
|
+
["font-italic", { "font-style": "italic" }],
|
|
557
|
+
["font-not-italic", { "font-style": "normal" }]
|
|
556
558
|
];
|
|
557
559
|
const fontSmoothings = [
|
|
558
560
|
["antialiased", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.3",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.30.
|
|
64
|
+
"@unocss/core": "0.30.3"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|