@unocss/preset-mini 0.52.5 → 0.52.7
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.cjs +3 -3
- package/dist/index.mjs +4 -4
- package/dist/rules.cjs +3 -2
- package/dist/rules.d.ts +2 -1
- package/dist/rules.mjs +2 -2
- package/dist/shared/{preset-mini.3ea3bf00.mjs → preset-mini.3535c317.mjs} +2 -1
- package/dist/shared/{preset-mini.0e931904.cjs → preset-mini.b00661a7.cjs} +1 -1
- package/dist/shared/{preset-mini.abe7573f.cjs → preset-mini.b1ff13dc.cjs} +2 -1
- package/dist/shared/{preset-mini.00f53c18.cjs → preset-mini.c0eda31d.cjs} +6 -0
- package/dist/shared/{preset-mini.38d3931e.mjs → preset-mini.c8479548.mjs} +1 -1
- package/dist/shared/{preset-mini.ca4ea557.mjs → preset-mini.f5158c55.mjs} +6 -1
- package/dist/theme.cjs +2 -2
- package/dist/theme.mjs +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const extractorArbitraryVariants = require('@unocss/extractor-arbitrary-variants');
|
|
6
6
|
const core = require('@unocss/core');
|
|
7
|
-
require('./shared/preset-mini.
|
|
8
|
-
const _default$1 = require('./shared/preset-mini.
|
|
7
|
+
require('./shared/preset-mini.c0eda31d.cjs');
|
|
8
|
+
const _default$1 = require('./shared/preset-mini.b1ff13dc.cjs');
|
|
9
9
|
const colors$1 = require('./shared/preset-mini.fcd935e5.cjs');
|
|
10
10
|
const colors = require('./shared/preset-mini.f3fc54d2.cjs');
|
|
11
|
-
const _default = require('./shared/preset-mini.
|
|
11
|
+
const _default = require('./shared/preset-mini.b00661a7.cjs');
|
|
12
12
|
const _default$2 = require('./shared/preset-mini.3e77961f.cjs');
|
|
13
13
|
require('./shared/preset-mini.dd2d059b.cjs');
|
|
14
14
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
|
|
2
2
|
import { entriesToCss, toArray } from '@unocss/core';
|
|
3
|
-
import './shared/preset-mini.
|
|
4
|
-
import { r as rules } from './shared/preset-mini.
|
|
3
|
+
import './shared/preset-mini.f5158c55.mjs';
|
|
4
|
+
import { r as rules } from './shared/preset-mini.3535c317.mjs';
|
|
5
5
|
export { p as parseColor } from './shared/preset-mini.9dd74f3a.mjs';
|
|
6
6
|
export { c as colors } from './shared/preset-mini.1c66bf79.mjs';
|
|
7
|
-
import { t as theme } from './shared/preset-mini.
|
|
8
|
-
export { t as theme } from './shared/preset-mini.
|
|
7
|
+
import { t as theme } from './shared/preset-mini.c8479548.mjs';
|
|
8
|
+
export { t as theme } from './shared/preset-mini.c8479548.mjs';
|
|
9
9
|
import { v as variants } from './shared/preset-mini.27c86dd4.mjs';
|
|
10
10
|
import './shared/preset-mini.dfe8388f.mjs';
|
|
11
11
|
|
package/dist/rules.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const transform = require('./shared/preset-mini.
|
|
6
|
-
const _default = require('./shared/preset-mini.
|
|
5
|
+
const transform = require('./shared/preset-mini.c0eda31d.cjs');
|
|
6
|
+
const _default = require('./shared/preset-mini.b1ff13dc.cjs');
|
|
7
7
|
require('./shared/preset-mini.fcd935e5.cjs');
|
|
8
8
|
require('@unocss/core');
|
|
9
9
|
|
|
@@ -51,6 +51,7 @@ exports.textOverflows = transform.textOverflows;
|
|
|
51
51
|
exports.textShadows = transform.textShadows;
|
|
52
52
|
exports.textStrokes = transform.textStrokes;
|
|
53
53
|
exports.textTransforms = transform.textTransforms;
|
|
54
|
+
exports.textWraps = transform.textWraps;
|
|
54
55
|
exports.transformBase = transform.transformBase;
|
|
55
56
|
exports.transforms = transform.transforms;
|
|
56
57
|
exports.transitions = transform.transitions;
|
package/dist/rules.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ declare const whitespaces: Rule[];
|
|
|
94
94
|
declare const contentVisibility: Rule[];
|
|
95
95
|
declare const contents: Rule[];
|
|
96
96
|
declare const breaks: Rule[];
|
|
97
|
+
declare const textWraps: Rule[];
|
|
97
98
|
declare const textOverflows: Rule[];
|
|
98
99
|
declare const textTransforms: Rule[];
|
|
99
100
|
declare const fontStyles: Rule[];
|
|
@@ -128,4 +129,4 @@ declare const textShadows: Rule<Theme>[];
|
|
|
128
129
|
declare const cssVariables: Rule[];
|
|
129
130
|
declare const cssProperty: Rule[];
|
|
130
131
|
|
|
131
|
-
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, 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, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
|
132
|
+
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, 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, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as alignments, F as appearance, w as appearances, b as bgColors,
|
|
2
|
-
export { b as aspectRatio, c as containerParent, h as cssProperty, e as cssVariables, f as flex, g as gaps, a as grids, m as margins, p as paddings, q as questionMark, r as rules, s as sizes, d as svgUtilities } from './shared/preset-mini.
|
|
1
|
+
export { I as alignments, F as appearance, w as appearances, b as bgColors, X as borderStyles, a as borders, r as boxShadows, V as boxShadowsBase, O as boxSizing, C as breaks, S as contains, c as contentVisibility, e as contents, v as cursors, d as displays, K as flexGridJustifiesAlignments, M as floats, q as fontSmoothings, p as fontStyles, f as fonts, Y as handlerBorderStyle, L as insets, H as justifies, o as opacity, G as orders, E as outline, D as overflows, J as placements, x as pointerEvents, u as positions, y as resizes, W as ringBase, s as rings, t as tabSizes, m as textAligns, n as textColors, i as textDecorations, g as textIndents, h as textOverflows, k as textShadows, j as textStrokes, l as textTransforms, T as textWraps, U as transformBase, Q as transforms, P as transitions, A as userSelects, Z as varEmpty, z as verticalAligns, B as whitespaces, R as willChange, N as zIndexes } from './shared/preset-mini.f5158c55.mjs';
|
|
2
|
+
export { b as aspectRatio, c as containerParent, h as cssProperty, e as cssVariables, f as flex, g as gaps, a as grids, m as margins, p as paddings, q as questionMark, r as rules, s as sizes, d as svgUtilities } from './shared/preset-mini.3535c317.mjs';
|
|
3
3
|
import './shared/preset-mini.9dd74f3a.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as displays, o as opacity, b as bgColors, a as borders, c as contentVisibility, e as contents, f as fonts, t as tabSizes, g as textIndents, h as textOverflows, i as textDecorations, j as textStrokes, k as textShadows, l as textTransforms, m as textAligns, n as textColors, p as fontStyles, q as fontSmoothings, r as boxShadows, s as rings, u as positions, v as cursors, w as appearances, x as pointerEvents, y as resizes, z as verticalAligns, A as userSelects, B as whitespaces, C as breaks, D as overflows, E as outline, F as appearance, G as orders, H as justifies, I as alignments, J as placements, K as flexGridJustifiesAlignments, L as insets, M as floats, N as zIndexes, O as boxSizing, P as transitions, Q as transforms, R as willChange, S as contains } from './preset-mini.
|
|
1
|
+
import { d as displays, o as opacity, b as bgColors, a as borders, c as contentVisibility, e as contents, f as fonts, t as tabSizes, g as textIndents, h as textOverflows, i as textDecorations, j as textStrokes, k as textShadows, l as textTransforms, m as textAligns, n as textColors, p as fontStyles, q as fontSmoothings, r as boxShadows, s as rings, u as positions, v as cursors, w as appearances, x as pointerEvents, y as resizes, z as verticalAligns, A as userSelects, B as whitespaces, C as breaks, D as overflows, E as outline, F as appearance, G as orders, H as justifies, I as alignments, J as placements, K as flexGridJustifiesAlignments, L as insets, M as floats, N as zIndexes, O as boxSizing, P as transitions, Q as transforms, R as willChange, S as contains, T as textWraps } from './preset-mini.f5158c55.mjs';
|
|
2
2
|
import { h as handler, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize, c as colorResolver } from './preset-mini.9dd74f3a.mjs';
|
|
3
3
|
import { warnOnce } from '@unocss/core';
|
|
4
4
|
|
|
@@ -306,6 +306,7 @@ const rules = [
|
|
|
306
306
|
willChange,
|
|
307
307
|
containerParent,
|
|
308
308
|
contains,
|
|
309
|
+
textWraps,
|
|
309
310
|
questionMark
|
|
310
311
|
].flat(1);
|
|
311
312
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const transform = require('./preset-mini.
|
|
3
|
+
const transform = require('./preset-mini.c0eda31d.cjs');
|
|
4
4
|
const colors = require('./preset-mini.fcd935e5.cjs');
|
|
5
5
|
const core = require('@unocss/core');
|
|
6
6
|
|
|
@@ -308,6 +308,7 @@ const rules = [
|
|
|
308
308
|
transform.willChange,
|
|
309
309
|
containerParent,
|
|
310
310
|
transform.contains,
|
|
311
|
+
transform.textWraps,
|
|
311
312
|
questionMark
|
|
312
313
|
].flat(1);
|
|
313
314
|
|
|
@@ -557,6 +557,11 @@ const breaks = [
|
|
|
557
557
|
["break-all", { "word-break": "break-all" }],
|
|
558
558
|
["break-keep", { "word-break": "keep-all" }]
|
|
559
559
|
];
|
|
560
|
+
const textWraps = [
|
|
561
|
+
["text-wrap", { "text-wrap": "wrap" }],
|
|
562
|
+
["text-nowrap", { "text-wrap": "nowrap" }],
|
|
563
|
+
["text-balance", { "text-wrap": "balance" }]
|
|
564
|
+
];
|
|
560
565
|
const textOverflows = [
|
|
561
566
|
["truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
562
567
|
["text-truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
@@ -818,6 +823,7 @@ exports.textOverflows = textOverflows;
|
|
|
818
823
|
exports.textShadows = textShadows;
|
|
819
824
|
exports.textStrokes = textStrokes;
|
|
820
825
|
exports.textTransforms = textTransforms;
|
|
826
|
+
exports.textWraps = textWraps;
|
|
821
827
|
exports.transformBase = transformBase;
|
|
822
828
|
exports.transforms = transforms;
|
|
823
829
|
exports.transitions = transitions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as colors } from './preset-mini.1c66bf79.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { U as transformBase, V as boxShadowsBase, W as ringBase } from './preset-mini.f5158c55.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
4
|
import './preset-mini.9dd74f3a.mjs';
|
|
5
5
|
|
|
@@ -555,6 +555,11 @@ const breaks = [
|
|
|
555
555
|
["break-all", { "word-break": "break-all" }],
|
|
556
556
|
["break-keep", { "word-break": "keep-all" }]
|
|
557
557
|
];
|
|
558
|
+
const textWraps = [
|
|
559
|
+
["text-wrap", { "text-wrap": "wrap" }],
|
|
560
|
+
["text-nowrap", { "text-wrap": "nowrap" }],
|
|
561
|
+
["text-balance", { "text-wrap": "balance" }]
|
|
562
|
+
];
|
|
558
563
|
const textOverflows = [
|
|
559
564
|
["truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
560
565
|
["text-truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
@@ -774,4 +779,4 @@ function handleSkew([, d, b]) {
|
|
|
774
779
|
}
|
|
775
780
|
}
|
|
776
781
|
|
|
777
|
-
export { userSelects as A, whitespaces as B, breaks as C, overflows as D, outline as E, appearance as F, orders as G, justifies as H, alignments as I, placements as J, flexGridJustifiesAlignments as K, insets as L, floats as M, zIndexes as N, boxSizing as O, transitions as P, transforms as Q, willChange as R, contains as S,
|
|
782
|
+
export { userSelects as A, whitespaces as B, breaks as C, overflows as D, outline as E, appearance as F, orders as G, justifies as H, alignments as I, placements as J, flexGridJustifiesAlignments as K, insets as L, floats as M, zIndexes as N, boxSizing as O, transitions as P, transforms as Q, willChange as R, contains as S, textWraps as T, transformBase as U, boxShadowsBase as V, ringBase as W, borderStyles as X, handlerBorderStyle as Y, varEmpty as Z, borders as a, bgColors as b, contentVisibility as c, displays as d, contents as e, fonts as f, textIndents as g, textOverflows as h, textDecorations as i, textStrokes as j, textShadows as k, textTransforms as l, textAligns as m, textColors as n, opacity as o, fontStyles as p, fontSmoothings as q, boxShadows as r, rings as s, tabSizes as t, positions as u, cursors as v, appearances as w, pointerEvents as x, resizes as y, verticalAligns as z };
|
package/dist/theme.cjs
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const colors = require('./shared/preset-mini.f3fc54d2.cjs');
|
|
6
|
-
const _default = require('./shared/preset-mini.
|
|
7
|
-
require('./shared/preset-mini.
|
|
6
|
+
const _default = require('./shared/preset-mini.b00661a7.cjs');
|
|
7
|
+
require('./shared/preset-mini.c0eda31d.cjs');
|
|
8
8
|
require('./shared/preset-mini.fcd935e5.cjs');
|
|
9
9
|
require('@unocss/core');
|
|
10
10
|
|
package/dist/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { c as colors } from './shared/preset-mini.1c66bf79.mjs';
|
|
2
|
-
export { q as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, A as containers, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, y as height, h as letterSpacing, l as lineHeight, j as lineWidth, z as maxHeight, x as maxWidth, p as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, u as width, w as wordSpacing } from './shared/preset-mini.
|
|
3
|
-
import './shared/preset-mini.
|
|
2
|
+
export { q as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, A as containers, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, y as height, h as letterSpacing, l as lineHeight, j as lineWidth, z as maxHeight, x as maxWidth, p as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, u as width, w as wordSpacing } from './shared/preset-mini.c8479548.mjs';
|
|
3
|
+
import './shared/preset-mini.f5158c55.mjs';
|
|
4
4
|
import './shared/preset-mini.9dd74f3a.mjs';
|
|
5
5
|
import '@unocss/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.7",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"*.css"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.52.
|
|
65
|
-
"@unocss/extractor-arbitrary-variants": "0.52.
|
|
64
|
+
"@unocss/core": "0.52.7",
|
|
65
|
+
"@unocss/extractor-arbitrary-variants": "0.52.7"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "unbuild",
|