@unocss/preset-mini 0.60.4 → 0.61.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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +6 -6
- package/dist/rules.mjs +3 -3
- package/dist/shared/{preset-mini.D01FLMpI.mjs → preset-mini.BEq2gxwy.mjs} +1 -1
- package/dist/shared/{preset-mini.CdxIVkIz.d.mts → preset-mini.BJYzNu5m.d.mts} +2 -1
- package/dist/shared/{preset-mini.DYGdJukb.mjs → preset-mini.BwT5Lae6.mjs} +5 -3
- package/dist/shared/{preset-mini.lpdd2hsn.mjs → preset-mini.CERzM3Y6.mjs} +5 -1
- package/dist/shared/{preset-mini.uR8-sh0j.mjs → preset-mini.DRm-V2pz.mjs} +31 -3
- package/dist/shared/{preset-mini.Dh95saIh.d.ts → preset-mini.DoeVWAwQ.d.ts} +2 -1
- package/dist/shared/{preset-mini.D0XQxeT8.mjs → preset-mini.UC_hgxy0.mjs} +3 -3
- package/dist/theme.mjs +3 -3
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.mjs +1 -1
- package/dist/variants.d.mts +4 -2
- package/dist/variants.d.ts +4 -2
- package/dist/variants.mjs +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,8 @@ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
|
|
6
6
|
export { colors } from './colors.mjs';
|
|
7
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
7
|
+
export { p as parseColor } from './shared/preset-mini.BJYzNu5m.mjs';
|
|
8
|
+
import '@unocss/rule-utils';
|
|
8
9
|
|
|
9
10
|
declare const preflights: Preflight<Theme>[];
|
|
10
11
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
|
|
|
4
4
|
export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
|
|
5
5
|
export { t as theme } from './shared/preset-mini.DIb57JCK.js';
|
|
6
6
|
export { colors } from './colors.js';
|
|
7
|
-
export { p as parseColor } from './shared/preset-mini.
|
|
7
|
+
export { p as parseColor } from './shared/preset-mini.DoeVWAwQ.js';
|
|
8
|
+
import '@unocss/rule-utils';
|
|
8
9
|
|
|
9
10
|
declare const preflights: Preflight<Theme>[];
|
|
10
11
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { entriesToCss, toArray, definePreset } from '@unocss/core';
|
|
2
2
|
import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
|
|
3
|
-
import { g as globalKeywords } from './shared/preset-mini.
|
|
4
|
-
export { k as parseColor } from './shared/preset-mini.
|
|
5
|
-
import { t as theme } from './shared/preset-mini.
|
|
6
|
-
import { r as rules } from './shared/preset-mini.
|
|
7
|
-
import {
|
|
3
|
+
import { g as globalKeywords } from './shared/preset-mini.CERzM3Y6.mjs';
|
|
4
|
+
export { k as parseColor } from './shared/preset-mini.CERzM3Y6.mjs';
|
|
5
|
+
import { t as theme } from './shared/preset-mini.BEq2gxwy.mjs';
|
|
6
|
+
import { r as rules } from './shared/preset-mini.BwT5Lae6.mjs';
|
|
7
|
+
import { j as variants } from './shared/preset-mini.DRm-V2pz.mjs';
|
|
8
8
|
export { colors } from './colors.mjs';
|
|
9
9
|
import '@unocss/rule-utils';
|
|
10
|
-
import './shared/preset-mini.
|
|
10
|
+
import './shared/preset-mini.UC_hgxy0.mjs';
|
|
11
11
|
|
|
12
12
|
const preflights = [
|
|
13
13
|
{
|
package/dist/rules.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.
|
|
2
|
-
export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.
|
|
3
|
-
import './shared/preset-mini.
|
|
1
|
+
export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.BwT5Lae6.mjs';
|
|
2
|
+
export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.UC_hgxy0.mjs';
|
|
3
|
+
import './shared/preset-mini.CERzM3Y6.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import '@unocss/rule-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { colors } from '../colors.mjs';
|
|
2
|
-
import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.
|
|
2
|
+
import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.UC_hgxy0.mjs';
|
|
3
3
|
|
|
4
4
|
const fontFamily = {
|
|
5
5
|
sans: [
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DynamicMatcher,
|
|
1
|
+
import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
|
|
2
|
+
import { ParsedColorValue } from '@unocss/rule-utils';
|
|
2
3
|
import { T as Theme } from './preset-mini.P5Rzuhf5.mjs';
|
|
3
4
|
|
|
4
5
|
declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as globalKeywords, f as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, m as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, j as directionSize } from './preset-mini.
|
|
1
|
+
import { g as globalKeywords, f as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, m as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, j as directionSize } from './preset-mini.CERzM3Y6.mjs';
|
|
2
2
|
import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
|
|
3
3
|
import { warnOnce, toArray } from '@unocss/core';
|
|
4
|
-
import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.
|
|
4
|
+
import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.UC_hgxy0.mjs';
|
|
5
5
|
|
|
6
6
|
const verticalAlignAlias = {
|
|
7
7
|
"mid": "middle",
|
|
@@ -261,7 +261,9 @@ const transitionPropertyGroup = {
|
|
|
261
261
|
transform: "transform"
|
|
262
262
|
};
|
|
263
263
|
function transitionProperty(prop) {
|
|
264
|
-
|
|
264
|
+
const props = prop.split(",").flatMap((p) => h.properties(p) ?? transitionPropertyGroup[p]);
|
|
265
|
+
if (props.length > 0 && props.every(Boolean))
|
|
266
|
+
return props.join(",");
|
|
265
267
|
}
|
|
266
268
|
const transitions = [
|
|
267
269
|
// transition
|
|
@@ -526,14 +526,18 @@ function colorableShadows(shadows, colorVar) {
|
|
|
526
526
|
isInset = true;
|
|
527
527
|
}
|
|
528
528
|
let colorVarValue = "";
|
|
529
|
+
const lastComp = components.at(-1);
|
|
529
530
|
if (parseCssColor(components.at(0))) {
|
|
530
531
|
const color = parseCssColor(components.shift());
|
|
531
532
|
if (color)
|
|
532
533
|
colorVarValue = `, ${colorToString(color)}`;
|
|
533
|
-
} else if (parseCssColor(
|
|
534
|
+
} else if (parseCssColor(lastComp)) {
|
|
534
535
|
const color = parseCssColor(components.pop());
|
|
535
536
|
if (color)
|
|
536
537
|
colorVarValue = `, ${colorToString(color)}`;
|
|
538
|
+
} else if (lastComp && cssVarFnRE.test(lastComp)) {
|
|
539
|
+
const color = components.pop();
|
|
540
|
+
colorVarValue = `, ${color}`;
|
|
537
541
|
}
|
|
538
542
|
colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
|
|
539
543
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE, e as cssVarFnRE } from './preset-mini.
|
|
1
|
+
import { f as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, b as cssMathFnRE, e as cssVarFnRE } from './preset-mini.CERzM3Y6.mjs';
|
|
2
2
|
import { variantGetParameter, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
|
|
3
3
|
import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
|
|
4
4
|
|
|
@@ -18,6 +18,29 @@ const variantAria = {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
+
function taggedAria(tagName) {
|
|
22
|
+
return {
|
|
23
|
+
name: `${tagName}-aria`,
|
|
24
|
+
match(matcher, ctx) {
|
|
25
|
+
const variant = variantGetParameter(`${tagName}-aria-`, matcher, ctx.generator.config.separators);
|
|
26
|
+
if (variant) {
|
|
27
|
+
const [match, rest] = variant;
|
|
28
|
+
const ariaAttribute = h.bracket(match) ?? ctx.theme.aria?.[match] ?? "";
|
|
29
|
+
if (ariaAttribute) {
|
|
30
|
+
return {
|
|
31
|
+
matcher: `${tagName}-[[aria-${ariaAttribute}]]:${rest}`
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
const variantTaggedAriaAttributes = [
|
|
39
|
+
taggedAria("group"),
|
|
40
|
+
taggedAria("peer"),
|
|
41
|
+
taggedAria("parent"),
|
|
42
|
+
taggedAria("previous")
|
|
43
|
+
];
|
|
21
44
|
|
|
22
45
|
function calcMaxWidthBySize(size) {
|
|
23
46
|
const value = size.match(/^-?\d+\.?\d*/)?.[0] || "";
|
|
@@ -738,7 +761,11 @@ function variantTaggedPseudoClasses(options = {}) {
|
|
|
738
761
|
tagWithPrefix("group", " "),
|
|
739
762
|
tagWithPrefix("peer", "~"),
|
|
740
763
|
tagWithPrefix("parent", ">"),
|
|
741
|
-
tagWithPrefix("previous", "+")
|
|
764
|
+
tagWithPrefix("previous", "+"),
|
|
765
|
+
tagWithPrefix("group-aria", " "),
|
|
766
|
+
tagWithPrefix("peer-aria", "~"),
|
|
767
|
+
tagWithPrefix("parent-aria", ">"),
|
|
768
|
+
tagWithPrefix("previous-aria", "+")
|
|
742
769
|
];
|
|
743
770
|
}
|
|
744
771
|
const PartClassesRE = /(part-\[(.+)\]:)(.+)/;
|
|
@@ -781,8 +808,9 @@ function variants(options) {
|
|
|
781
808
|
variantContainerQuery,
|
|
782
809
|
variantVariables,
|
|
783
810
|
...variantTaggedDataAttributes,
|
|
811
|
+
...variantTaggedAriaAttributes,
|
|
784
812
|
variantTheme
|
|
785
813
|
];
|
|
786
814
|
}
|
|
787
815
|
|
|
788
|
-
export {
|
|
816
|
+
export { variantSupports as A, variantTaggedAriaAttributes as a, variantBreakpoints as b, calcMaxWidthBySize as c, variantChildren as d, variantCombinators as e, variantContainerQuery as f, variantColorsMediaOrClass as g, variantDataAttribute as h, variantTaggedDataAttributes as i, variants as j, variantLanguageDirections as k, variantImportant as l, variantPrint as m, variantCustomMedia as n, variantSelector as o, variantCssLayer as p, variantInternalLayer as q, variantScope as r, variantVariables as s, variantTheme as t, variantNegative as u, variantAria as v, variantPseudoClassesAndElements as w, variantPseudoClassFunctions as x, variantTaggedPseudoClasses as y, variantPartClasses as z };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DynamicMatcher,
|
|
1
|
+
import { DynamicMatcher, CSSObject, VariantContext, StaticRule } from '@unocss/core';
|
|
2
|
+
import { ParsedColorValue } from '@unocss/rule-utils';
|
|
2
3
|
import { T as Theme } from './preset-mini.P5Rzuhf5.js';
|
|
3
4
|
|
|
4
5
|
declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as h, q as makeGlobalStaticRules, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.
|
|
1
|
+
import { f as h, q as makeGlobalStaticRules, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.CERzM3Y6.mjs';
|
|
2
2
|
|
|
3
3
|
const cursorValues = ["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out"];
|
|
4
4
|
const containValues = ["none", "strict", "content", "size", "inline-size", "layout", "style", "paint"];
|
|
@@ -199,8 +199,8 @@ const transformCpu = [
|
|
|
199
199
|
"translateY(var(--un-translate-y))",
|
|
200
200
|
// 'translateZ(var(--un-translate-z))',
|
|
201
201
|
"rotate(var(--un-rotate))",
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
// 'rotateX(var(--un-rotate-x))',
|
|
203
|
+
// 'rotateY(var(--un-rotate-y))',
|
|
204
204
|
"rotateZ(var(--un-rotate-z))",
|
|
205
205
|
"skewX(var(--un-skew-x))",
|
|
206
206
|
"skewY(var(--un-skew-y))",
|
package/dist/theme.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { colors } from './colors.mjs';
|
|
2
|
-
export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.
|
|
3
|
-
import './shared/preset-mini.
|
|
4
|
-
import './shared/preset-mini.
|
|
2
|
+
export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.BEq2gxwy.mjs';
|
|
3
|
+
import './shared/preset-mini.UC_hgxy0.mjs';
|
|
4
|
+
import './shared/preset-mini.CERzM3Y6.mjs';
|
|
5
5
|
import '@unocss/core';
|
|
6
6
|
import '@unocss/rule-utils';
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.BJYzNu5m.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.P5Rzuhf5.mjs';
|
|
6
6
|
|
|
@@ -53,7 +53,7 @@ declare namespace handlers {
|
|
|
53
53
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
57
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
56
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
57
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
58
58
|
|
|
59
59
|
export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_rule_utils from '@unocss/rule-utils';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.DoeVWAwQ.js';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import './shared/preset-mini.P5Rzuhf5.js';
|
|
6
6
|
|
|
@@ -53,7 +53,7 @@ declare namespace handlers {
|
|
|
53
53
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
57
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
56
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
57
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
|
|
58
58
|
|
|
59
59
|
export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
|
package/dist/utils.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, b as cssMathFnRE, e as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, f as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, a as xyzArray, x as xyzMap } from './shared/preset-mini.
|
|
1
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, b as cssMathFnRE, e as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, f as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, a as xyzArray, x as xyzMap } from './shared/preset-mini.CERzM3Y6.mjs';
|
|
2
2
|
export * from '@unocss/rule-utils';
|
|
3
3
|
import '@unocss/core';
|
package/dist/variants.d.mts
CHANGED
|
@@ -3,9 +3,11 @@ import { PresetMiniOptions } from './index.mjs';
|
|
|
3
3
|
import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
|
|
4
4
|
import './shared/preset-mini.Cu-XLFZP.mjs';
|
|
5
5
|
import './colors.mjs';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.BJYzNu5m.mjs';
|
|
7
|
+
import '@unocss/rule-utils';
|
|
7
8
|
|
|
8
9
|
declare const variantAria: VariantObject;
|
|
10
|
+
declare const variantTaggedAriaAttributes: Variant[];
|
|
9
11
|
|
|
10
12
|
declare function calcMaxWidthBySize(size: string): string;
|
|
11
13
|
declare function variantBreakpoints(): VariantObject;
|
|
@@ -46,4 +48,4 @@ declare const variantPartClasses: VariantObject;
|
|
|
46
48
|
|
|
47
49
|
declare const variantSupports: VariantObject;
|
|
48
50
|
|
|
49
|
-
export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
|
|
51
|
+
export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
|
package/dist/variants.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { PresetMiniOptions } from './index.js';
|
|
|
3
3
|
import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
|
|
4
4
|
import './shared/preset-mini.DIb57JCK.js';
|
|
5
5
|
import './colors.js';
|
|
6
|
-
import './shared/preset-mini.
|
|
6
|
+
import './shared/preset-mini.DoeVWAwQ.js';
|
|
7
|
+
import '@unocss/rule-utils';
|
|
7
8
|
|
|
8
9
|
declare const variantAria: VariantObject;
|
|
10
|
+
declare const variantTaggedAriaAttributes: Variant[];
|
|
9
11
|
|
|
10
12
|
declare function calcMaxWidthBySize(size: string): string;
|
|
11
13
|
declare function variantBreakpoints(): VariantObject;
|
|
@@ -46,4 +48,4 @@ declare const variantPartClasses: VariantObject;
|
|
|
46
48
|
|
|
47
49
|
declare const variantSupports: VariantObject;
|
|
48
50
|
|
|
49
|
-
export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
|
|
51
|
+
export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
|
package/dist/variants.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as calcMaxWidthBySize, v as variantAria,
|
|
2
|
-
import './shared/preset-mini.
|
|
1
|
+
export { c as calcMaxWidthBySize, v as variantAria, b as variantBreakpoints, d as variantChildren, g as variantColorsMediaOrClass, e as variantCombinators, f as variantContainerQuery, p as variantCssLayer, n as variantCustomMedia, h as variantDataAttribute, l as variantImportant, q as variantInternalLayer, k as variantLanguageDirections, u as variantNegative, z as variantPartClasses, m as variantPrint, x as variantPseudoClassFunctions, w as variantPseudoClassesAndElements, r as variantScope, o as variantSelector, A as variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.DRm-V2pz.mjs';
|
|
2
|
+
import './shared/preset-mini.CERzM3Y6.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
4
|
import '@unocss/rule-utils';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.61.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/extractor-arbitrary-variants": "0.61.0",
|
|
60
|
+
"@unocss/core": "0.61.0",
|
|
61
|
+
"@unocss/rule-utils": "0.61.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "unbuild",
|