@unocss/preset-mini 0.35.4 → 0.36.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.cjs CHANGED
@@ -2,14 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ const core = require('@unocss/core');
5
6
  const _default = require('./chunks/default.cjs');
6
7
  const _default$1 = require('./chunks/default2.cjs');
7
8
  const _default$2 = require('./chunks/default3.cjs');
8
9
  const colors = require('./chunks/colors.cjs');
9
10
  const utilities = require('./chunks/utilities.cjs');
10
- require('@unocss/core');
11
+ require('./chunks/transform.cjs');
12
+ require('./chunks/index.cjs');
11
13
  require('./chunks/variants.cjs');
12
14
 
15
+ const preflights = [
16
+ {
17
+ layer: "preflights",
18
+ getCSS(ctx) {
19
+ if (ctx.theme.preflightBase)
20
+ return `*,::before,::after{${core.entriesToCss(Object.entries(ctx.theme.preflightBase))}}`;
21
+ }
22
+ }
23
+ ];
24
+
13
25
  const presetMini = (options = {}) => {
14
26
  options.dark = options.dark ?? "class";
15
27
  options.attributifyPseudo = options.attributifyPseudo ?? false;
@@ -19,7 +31,8 @@ const presetMini = (options = {}) => {
19
31
  rules: _default$1.rules,
20
32
  variants: _default$2.variants(options),
21
33
  options,
22
- postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0
34
+ postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0,
35
+ preflights
23
36
  };
24
37
  };
25
38
  function VarPrefixPostprocessor(prefix) {
@@ -36,4 +49,5 @@ exports.theme = _default.theme;
36
49
  exports.colors = colors.colors;
37
50
  exports.parseColor = utilities.parseColor;
38
51
  exports["default"] = presetMini;
52
+ exports.preflights = preflights;
39
53
  exports.presetMini = presetMini;
package/dist/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
- import { PresetOptions, Preset } from '@unocss/core';
2
- import { T as Theme } from './types-f7b2c653.js';
3
- export { T as Theme, a as ThemeAnimation } from './types-f7b2c653.js';
4
- export { t as theme } from './default-e6d1b2e8.js';
5
- export { c as colors } from './colors-ce2fecb8.js';
6
- export { p as parseColor } from './utilities-e7a7f845.js';
1
+ import { Preflight, PresetOptions, Preset } from '@unocss/core';
2
+ import { T as Theme } from './types-0f7ef446.js';
3
+ export { T as Theme, a as ThemeAnimation } from './types-0f7ef446.js';
4
+ export { t as theme } from './default-ee82f36d.js';
5
+ export { c as colors } from './colors-5590b862.js';
6
+ export { p as parseColor } from './utilities-a77178bb.js';
7
+
8
+ declare const preflights: Preflight[];
7
9
 
8
10
  interface PresetMiniOptions extends PresetOptions {
9
11
  /**
@@ -21,4 +23,4 @@ interface PresetMiniOptions extends PresetOptions {
21
23
  }
22
24
  declare const presetMini: (options?: PresetMiniOptions) => Preset<Theme>;
23
25
 
24
- export { PresetMiniOptions, presetMini as default, presetMini };
26
+ export { PresetMiniOptions, presetMini as default, preflights, presetMini };
package/dist/index.mjs CHANGED
@@ -1,12 +1,24 @@
1
+ import { entriesToCss } from '@unocss/core';
1
2
  import { t as theme } from './chunks/default.mjs';
2
3
  export { t as theme } from './chunks/default.mjs';
3
4
  import { r as rules } from './chunks/default2.mjs';
4
5
  import { v as variants } from './chunks/default3.mjs';
5
6
  export { c as colors } from './chunks/colors.mjs';
6
7
  export { p as parseColor } from './chunks/utilities.mjs';
7
- import '@unocss/core';
8
+ import './chunks/transform.mjs';
9
+ import './chunks/index.mjs';
8
10
  import './chunks/variants.mjs';
9
11
 
12
+ const preflights = [
13
+ {
14
+ layer: "preflights",
15
+ getCSS(ctx) {
16
+ if (ctx.theme.preflightBase)
17
+ return `*,::before,::after{${entriesToCss(Object.entries(ctx.theme.preflightBase))}}`;
18
+ }
19
+ }
20
+ ];
21
+
10
22
  const presetMini = (options = {}) => {
11
23
  options.dark = options.dark ?? "class";
12
24
  options.attributifyPseudo = options.attributifyPseudo ?? false;
@@ -16,7 +28,8 @@ const presetMini = (options = {}) => {
16
28
  rules,
17
29
  variants: variants(options),
18
30
  options,
19
- postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0
31
+ postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0,
32
+ preflights
20
33
  };
21
34
  };
22
35
  function VarPrefixPostprocessor(prefix) {
@@ -29,4 +42,4 @@ function VarPrefixPostprocessor(prefix) {
29
42
  };
30
43
  }
31
44
 
32
- export { presetMini as default, presetMini };
45
+ export { presetMini as default, preflights, presetMini };
package/dist/rules.cjs CHANGED
@@ -3,8 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const _default = require('./chunks/default2.cjs');
6
- require('./chunks/utilities.cjs');
6
+ const transform = require('./chunks/transform.cjs');
7
+ require('./chunks/index.cjs');
7
8
  require('@unocss/core');
9
+ require('./chunks/utilities.cjs');
8
10
 
9
11
 
10
12
 
@@ -55,7 +57,6 @@ exports.textOverflows = _default.textOverflows;
55
57
  exports.textShadows = _default.textShadows;
56
58
  exports.textStrokes = _default.textStrokes;
57
59
  exports.textTransforms = _default.textTransforms;
58
- exports.transforms = _default.transforms;
59
60
  exports.transitions = _default.transitions;
60
61
  exports.userSelects = _default.userSelects;
61
62
  exports.varEmpty = _default.varEmpty;
@@ -63,3 +64,5 @@ exports.verticalAligns = _default.verticalAligns;
63
64
  exports.whitespaces = _default.whitespaces;
64
65
  exports.willChange = _default.willChange;
65
66
  exports.zIndexes = _default.zIndexes;
67
+ exports.transformBase = transform.transformBase;
68
+ exports.transforms = transform.transforms;
package/dist/rules.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule } from '@unocss/core';
2
- import { T as Theme } from './types-f7b2c653.js';
2
+ import { T as Theme } from './types-0f7ef446.js';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
@@ -74,6 +74,21 @@ declare const fontSmoothings: Rule[];
74
74
 
75
75
  declare const svgUtilities: Rule<Theme>[];
76
76
 
77
+ declare const transformBase: {
78
+ '--un-rotate': number;
79
+ '--un-rotate-x': number;
80
+ '--un-rotate-y': number;
81
+ '--un-rotate-z': number;
82
+ '--un-scale-x': number;
83
+ '--un-scale-y': number;
84
+ '--un-scale-z': number;
85
+ '--un-skew-x': number;
86
+ '--un-skew-y': number;
87
+ '--un-translate-x': number;
88
+ '--un-translate-y': number;
89
+ '--un-translate-z': number;
90
+ '--un-transform': string;
91
+ };
77
92
  declare const transforms: Rule[];
78
93
 
79
94
  declare const transitions: Rule<Theme>[];
@@ -89,4 +104,4 @@ declare const cssProperty: Rule[];
89
104
 
90
105
  declare const textDecorations: Rule<Theme>[];
91
106
 
92
- export { alignments, appearance, appearances, aspectRatio, bgColors, borders, boxShadows, boxSizing, breaks, contents, cssProperty, cssVariables, cursors, displays, flex, floats, fontSmoothings, fontStyles, fonts, gaps, grids, insets, justifies, margins, opacity, orders, outline, overflows, paddings, placements, pointerEvents, positions, questionMark, resizes, rings, rules, sizes, svgUtilities, tabSizes, textAligns, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
107
+ export { alignments, appearance, appearances, aspectRatio, bgColors, borders, boxShadows, boxSizing, breaks, contents, cssProperty, cssVariables, cursors, displays, flex, floats, fontSmoothings, fontStyles, fonts, gaps, grids, insets, justifies, margins, opacity, orders, outline, overflows, paddings, placements, pointerEvents, positions, questionMark, resizes, rings, rules, sizes, svgUtilities, tabSizes, textAligns, textColors, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
package/dist/rules.mjs CHANGED
@@ -1,3 +1,5 @@
1
- export { l as alignments, a as appearance, G as appearances, B as aspectRatio, e as bgColors, b as borders, y as boxShadows, s as boxSizing, N as breaks, M as contents, $ as cssProperty, _ as cssVariables, H as cursors, F as displays, f as flex, q as floats, R as fontSmoothings, Q as fontStyles, V as fonts, g as gaps, h as grids, n as insets, j as justifies, D as margins, c as opacity, k as orders, o as outline, i as overflows, C as paddings, m as placements, I as pointerEvents, p as positions, u as questionMark, J as resizes, x as rings, r as rules, A as sizes, S as svgUtilities, W as tabSizes, t as textAligns, d as textColors, a0 as textDecorations, X as textIndents, O as textOverflows, Z as textShadows, Y as textStrokes, P as textTransforms, T as transforms, U as transitions, K as userSelects, E as varEmpty, v as verticalAligns, L as whitespaces, w as willChange, z as zIndexes } from './chunks/default2.mjs';
2
- import './chunks/utilities.mjs';
1
+ export { l as alignments, a as appearance, G as appearances, B as aspectRatio, e as bgColors, b as borders, y as boxShadows, s as boxSizing, N as breaks, M as contents, _ as cssProperty, Z as cssVariables, H as cursors, F as displays, f as flex, q as floats, R as fontSmoothings, Q as fontStyles, U as fonts, g as gaps, h as grids, n as insets, j as justifies, D as margins, c as opacity, k as orders, o as outline, i as overflows, C as paddings, m as placements, I as pointerEvents, p as positions, u as questionMark, J as resizes, x as rings, r as rules, A as sizes, S as svgUtilities, V as tabSizes, t as textAligns, d as textColors, $ as textDecorations, W as textIndents, O as textOverflows, Y as textShadows, X as textStrokes, P as textTransforms, T as transitions, K as userSelects, E as varEmpty, v as verticalAligns, L as whitespaces, w as willChange, z as zIndexes } from './chunks/default2.mjs';
2
+ export { t as transformBase, a as transforms } from './chunks/transform.mjs';
3
+ import './chunks/index.mjs';
3
4
  import '@unocss/core';
5
+ import './chunks/utilities.mjs';
package/dist/theme.cjs CHANGED
@@ -4,6 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const colors = require('./chunks/colors.cjs');
6
6
  const _default = require('./chunks/default.cjs');
7
+ require('./chunks/transform.cjs');
8
+ require('./chunks/index.cjs');
9
+ require('@unocss/core');
7
10
 
8
11
 
9
12
 
@@ -24,6 +27,7 @@ exports.lineHeight = _default.lineHeight;
24
27
  exports.lineWidth = _default.lineWidth;
25
28
  exports.maxHeight = _default.maxHeight;
26
29
  exports.maxWidth = _default.maxWidth;
30
+ exports.preflightBase = _default.preflightBase;
27
31
  exports.ringWidth = _default.ringWidth;
28
32
  exports.spacing = _default.spacing;
29
33
  exports.textIndent = _default.textIndent;
package/dist/theme.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { c as colors } from './colors-ce2fecb8.js';
2
- export { t as theme } from './default-e6d1b2e8.js';
3
- import { T as Theme } from './types-f7b2c653.js';
4
- export { T as Theme, a as ThemeAnimation } from './types-f7b2c653.js';
1
+ export { c as colors } from './colors-5590b862.js';
2
+ export { t as theme } from './default-ee82f36d.js';
3
+ import { T as Theme } from './types-0f7ef446.js';
4
+ export { T as Theme, a as ThemeAnimation } from './types-0f7ef446.js';
5
5
 
6
6
  declare const blur: {
7
7
  DEFAULT: string;
@@ -194,4 +194,20 @@ declare const maxHeight: {
194
194
  none: string;
195
195
  };
196
196
 
197
- export { baseSize, blur, borderRadius, boxShadow, breakpoints, dropShadow, duration, easing, fontFamily, fontSize, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
197
+ declare const preflightBase: {
198
+ '--un-rotate': number;
199
+ '--un-rotate-x': number;
200
+ '--un-rotate-y': number;
201
+ '--un-rotate-z': number;
202
+ '--un-scale-x': number;
203
+ '--un-scale-y': number;
204
+ '--un-scale-z': number;
205
+ '--un-skew-x': number;
206
+ '--un-skew-y': number;
207
+ '--un-translate-x': number;
208
+ '--un-translate-y': number;
209
+ '--un-translate-z': number;
210
+ '--un-transform': string;
211
+ };
212
+
213
+ export { baseSize, blur, borderRadius, boxShadow, breakpoints, dropShadow, duration, easing, fontFamily, fontSize, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing };
package/dist/theme.mjs CHANGED
@@ -1,2 +1,5 @@
1
1
  export { c as colors } from './chunks/colors.mjs';
2
- export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, x as height, h as letterSpacing, l as lineHeight, j as lineWidth, y as maxHeight, u as maxWidth, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, q as width, w as wordSpacing } from './chunks/default.mjs';
2
+ export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, x as height, h as letterSpacing, l as lineHeight, j as lineWidth, y as maxHeight, u as maxWidth, z as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, q as width, w as wordSpacing } from './chunks/default.mjs';
3
+ import './chunks/transform.mjs';
4
+ import './chunks/index.mjs';
5
+ import '@unocss/core';
@@ -45,6 +45,8 @@ interface Theme {
45
45
  gridRow?: Record<string, string>;
46
46
  gridTemplateColumn?: Record<string, string>;
47
47
  gridTemplateRow?: Record<string, string>;
48
+ /** Used to generate CSS variables placeholder in preflight */
49
+ preflightBase?: Record<string, string | number>;
48
50
  }
49
51
 
50
52
  export { Theme as T, ThemeAnimation as a };
@@ -1,5 +1,5 @@
1
1
  import { RuleContext, CSSEntries, ParsedColorValue, CSSObject, VariantContext } from '@unocss/core';
2
- import { T as Theme } from './types-f7b2c653.js';
2
+ import { T as Theme } from './types-0f7ef446.js';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
package/dist/utils.cjs CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const utilities = require('./chunks/utilities.cjs');
6
+ const index = require('./chunks/index.cjs');
6
7
  const variants = require('./chunks/variants.cjs');
7
8
  require('@unocss/core');
8
9
 
@@ -12,22 +13,22 @@ exports.CONTROL_MINI_NO_NEGATIVE = utilities.CONTROL_MINI_NO_NEGATIVE;
12
13
  exports.colorResolver = utilities.colorResolver;
13
14
  exports.colorToString = utilities.colorToString;
14
15
  exports.colorableShadows = utilities.colorableShadows;
15
- exports.cornerMap = utilities.cornerMap;
16
- exports.directionMap = utilities.directionMap;
17
16
  exports.directionSize = utilities.directionSize;
18
17
  exports.getComponents = utilities.getComponents;
19
- exports.globalKeywords = utilities.globalKeywords;
20
- exports.h = utilities.h;
21
- exports.handler = utilities.handler;
22
18
  exports.hasParseableColor = utilities.hasParseableColor;
23
19
  exports.hex2rgba = utilities.hex2rgba;
24
- exports.insetMap = utilities.insetMap;
25
20
  exports.parseColor = utilities.parseColor;
26
21
  exports.parseCssColor = utilities.parseCssColor;
27
- exports.positionMap = utilities.positionMap;
28
22
  exports.resolveBreakpoints = utilities.resolveBreakpoints;
29
23
  exports.resolveVerticalBreakpoints = utilities.resolveVerticalBreakpoints;
30
- exports.valueHandlers = utilities.valueHandlers;
31
- exports.xyzMap = utilities.xyzMap;
24
+ exports.cornerMap = index.cornerMap;
25
+ exports.directionMap = index.directionMap;
26
+ exports.globalKeywords = index.globalKeywords;
27
+ exports.h = index.h;
28
+ exports.handler = index.handler;
29
+ exports.insetMap = index.insetMap;
30
+ exports.positionMap = index.positionMap;
31
+ exports.valueHandlers = index.valueHandlers;
32
+ exports.xyzMap = index.xyzMap;
32
33
  exports.variantMatcher = variants.variantMatcher;
33
34
  exports.variantParentMatcher = variants.variantParentMatcher;
package/dist/utils.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { RGBAColorValue, CSSColorValue, VariantObject } from '@unocss/core';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-e7a7f845.js';
4
- import './types-f7b2c653.js';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-a77178bb.js';
4
+ import './types-0f7ef446.js';
5
5
 
6
6
  declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
7
7
  declare function parseCssColor(str?: string): CSSColorValue | undefined;
@@ -72,8 +72,8 @@ declare namespace handlers {
72
72
  };
73
73
  }
74
74
 
75
- declare const handler: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
76
- declare const h: _unocss_core.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
75
+ declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "global" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
76
+ declare const h: _unocss_core.ValueHandler<"number" | "auto" | "global" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
77
77
 
78
78
  declare const variantMatcher: (name: string, selector?: ((input: string) => string | undefined) | undefined) => VariantObject;
79
79
  declare const variantParentMatcher: (name: string, parent: string) => VariantObject;
package/dist/utils.mjs CHANGED
@@ -1,3 +1,4 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, b as colorToString, f as colorableShadows, e as cornerMap, d as directionMap, k as directionSize, o as getComponents, g as globalKeywords, q as h, h as handler, a as hasParseableColor, m as hex2rgba, i as insetMap, p as parseColor, n as parseCssColor, l as positionMap, j as resolveBreakpoints, r as resolveVerticalBreakpoints, v as valueHandlers, x as xyzMap } from './chunks/utilities.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorToString, b as colorableShadows, e as directionSize, i as getComponents, h as hasParseableColor, f as hex2rgba, p as parseColor, g as parseCssColor, d as resolveBreakpoints, r as resolveVerticalBreakpoints } from './chunks/utilities.mjs';
2
+ export { c as cornerMap, d as directionMap, g as globalKeywords, a as h, h as handler, i as insetMap, p as positionMap, v as valueHandlers, x as xyzMap } from './chunks/index.mjs';
2
3
  export { a as variantMatcher, v as variantParentMatcher } from './chunks/variants.mjs';
3
4
  import '@unocss/core';
package/dist/variants.cjs CHANGED
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const _default = require('./chunks/default3.cjs');
6
6
  require('./chunks/utilities.cjs');
7
7
  require('@unocss/core');
8
+ require('./chunks/index.cjs');
8
9
  require('./chunks/variants.cjs');
9
10
 
10
11
 
@@ -13,10 +14,11 @@ exports.partClasses = _default.partClasses;
13
14
  exports.variantBreakpoints = _default.variantBreakpoints;
14
15
  exports.variantColorsMediaOrClass = _default.variantColorsMediaOrClass;
15
16
  exports.variantCombinators = _default.variantCombinators;
17
+ exports.variantCssLayer = _default.variantCssLayer;
16
18
  exports.variantCustomMedia = _default.variantCustomMedia;
17
19
  exports.variantImportant = _default.variantImportant;
20
+ exports.variantInternalLayer = _default.variantInternalLayer;
18
21
  exports.variantLanguageDirections = _default.variantLanguageDirections;
19
- exports.variantLayer = _default.variantLayer;
20
22
  exports.variantNegative = _default.variantNegative;
21
23
  exports.variantPrint = _default.variantPrint;
22
24
  exports.variantPseudoClassFunctions = _default.variantPseudoClassFunctions;
@@ -1,9 +1,9 @@
1
1
  import { Variant, VariantObject } from '@unocss/core';
2
- import { T as Theme } from './types-f7b2c653.js';
2
+ import { T as Theme } from './types-0f7ef446.js';
3
3
  import { PresetMiniOptions } from './index.js';
4
- import './default-e6d1b2e8.js';
5
- import './colors-ce2fecb8.js';
6
- import './utilities-e7a7f845.js';
4
+ import './default-ee82f36d.js';
5
+ import './colors-5590b862.js';
6
+ import './utilities-a77178bb.js';
7
7
 
8
8
  declare const variantBreakpoints: Variant<Theme>;
9
9
 
@@ -19,7 +19,8 @@ declare const variants: (options: PresetMiniOptions) => Variant<Theme>[];
19
19
  declare const variantLanguageDirections: Variant[];
20
20
 
21
21
  declare const variantSelector: Variant;
22
- declare const variantLayer: Variant;
22
+ declare const variantCssLayer: Variant;
23
+ declare const variantInternalLayer: Variant;
23
24
  declare const variantScope: Variant;
24
25
  declare const variantImportant: Variant;
25
26
  declare const variantNegative: Variant;
@@ -29,4 +30,4 @@ declare const variantPseudoClassFunctions: VariantObject;
29
30
  declare const variantTaggedPseudoClasses: (options?: PresetMiniOptions) => VariantObject[];
30
31
  declare const partClasses: VariantObject;
31
32
 
32
- export { partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCustomMedia, variantImportant, variantLanguageDirections, variantLayer, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantTaggedPseudoClasses, variants };
33
+ export { partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCssLayer, variantCustomMedia, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantTaggedPseudoClasses, variants };
package/dist/variants.mjs CHANGED
@@ -1,4 +1,5 @@
1
- export { p as partClasses, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, d as variantCustomMedia, j as variantImportant, f as variantLanguageDirections, h as variantLayer, k as variantNegative, c as variantPrint, m as variantPseudoClassFunctions, l as variantPseudoClassesAndElements, i as variantScope, g as variantSelector, n as variantTaggedPseudoClasses, v as variants } from './chunks/default3.mjs';
1
+ export { p as partClasses, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, h as variantCssLayer, d as variantCustomMedia, k as variantImportant, i as variantInternalLayer, f as variantLanguageDirections, l as variantNegative, c as variantPrint, n as variantPseudoClassFunctions, m as variantPseudoClassesAndElements, j as variantScope, g as variantSelector, o as variantTaggedPseudoClasses, v as variants } from './chunks/default3.mjs';
2
2
  import './chunks/utilities.mjs';
3
3
  import '@unocss/core';
4
+ import './chunks/index.mjs';
4
5
  import './chunks/variants.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.35.4",
3
+ "version": "0.36.0",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  "*.css"
62
62
  ],
63
63
  "dependencies": {
64
- "@unocss/core": "0.35.4"
64
+ "@unocss/core": "0.36.0"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",