@unocss/preset-mini 0.47.6 → 0.48.1

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.
Files changed (33) hide show
  1. package/dist/{colors-884ab3c4.d.ts → colors-b217808a.d.ts} +1 -1
  2. package/dist/colors.d.ts +2 -2
  3. package/dist/{default-21cad915.d.ts → default-344896b2.d.ts} +1 -1
  4. package/dist/index.cjs +7 -6
  5. package/dist/index.d.ts +9 -7
  6. package/dist/index.mjs +8 -8
  7. package/dist/rules.cjs +3 -3
  8. package/dist/rules.d.ts +1 -1
  9. package/dist/rules.mjs +3 -3
  10. package/dist/shared/{preset-mini.fbe02827.cjs → preset-mini.19fa93be.cjs} +1 -1
  11. package/dist/shared/{preset-mini.aa0d829d.cjs → preset-mini.1ec77f6f.cjs} +2 -2
  12. package/dist/shared/{preset-mini.fef10425.mjs → preset-mini.2612e983.mjs} +2 -2
  13. package/dist/shared/{preset-mini.c106b68c.cjs → preset-mini.2ad50fb9.cjs} +2 -2
  14. package/dist/shared/{preset-mini.74d943b2.mjs → preset-mini.33f541c6.mjs} +1 -1
  15. package/dist/shared/{preset-mini.b1936363.cjs → preset-mini.5002aa63.cjs} +2 -2
  16. package/dist/shared/{preset-mini.71bf58e8.mjs → preset-mini.6f716ffb.mjs} +2 -2
  17. package/dist/shared/{preset-mini.0dd71da8.mjs → preset-mini.71a71f59.mjs} +2 -9
  18. package/dist/shared/{preset-mini.690517b1.mjs → preset-mini.97298de6.mjs} +2 -2
  19. package/dist/shared/{preset-mini.3aa2cc9c.mjs → preset-mini.9a963c89.mjs} +2 -2
  20. package/dist/shared/{preset-mini.93f934d2.cjs → preset-mini.bb68e31e.cjs} +2 -9
  21. package/dist/shared/{preset-mini.152190e6.cjs → preset-mini.eaa84a8f.cjs} +2 -2
  22. package/dist/theme.cjs +3 -3
  23. package/dist/theme.d.ts +4 -4
  24. package/dist/theme.mjs +3 -3
  25. package/dist/{types-3bfb4dc5.d.ts → types-fa74508f.d.ts} +1 -0
  26. package/dist/{utilities-10273596.d.ts → utilities-51b38240.d.ts} +1 -1
  27. package/dist/utils.cjs +2 -2
  28. package/dist/utils.d.ts +2 -2
  29. package/dist/utils.mjs +2 -2
  30. package/dist/variants.cjs +3 -3
  31. package/dist/variants.d.ts +4 -4
  32. package/dist/variants.mjs +3 -3
  33. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { T as Theme } from './types-3bfb4dc5.js';
1
+ import { T as Theme } from './types-fa74508f.js';
2
2
 
3
3
  declare const colors: Theme['colors'];
4
4
 
package/dist/colors.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { c as colors } from './colors-884ab3c4.js';
2
- import './types-3bfb4dc5.js';
1
+ export { c as colors } from './colors-b217808a.js';
2
+ import './types-fa74508f.js';
3
3
  import '@unocss/core';
@@ -1,4 +1,4 @@
1
- import { T as Theme } from './types-3bfb4dc5.js';
1
+ import { T as Theme } from './types-fa74508f.js';
2
2
 
3
3
  declare const theme: Theme;
4
4
 
package/dist/index.cjs CHANGED
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const core = require('@unocss/core');
6
- require('./shared/preset-mini.93f934d2.cjs');
7
- const colors$1 = require('./shared/preset-mini.b1936363.cjs');
8
- const _default$1 = require('./shared/preset-mini.152190e6.cjs');
6
+ require('./shared/preset-mini.bb68e31e.cjs');
7
+ const colors$1 = require('./shared/preset-mini.5002aa63.cjs');
8
+ const _default$1 = require('./shared/preset-mini.eaa84a8f.cjs');
9
9
  const colors = require('./shared/preset-mini.30606736.cjs');
10
- const _default = require('./shared/preset-mini.aa0d829d.cjs');
11
- const _default$2 = require('./shared/preset-mini.c106b68c.cjs');
12
- require('./shared/preset-mini.fbe02827.cjs');
10
+ const _default = require('./shared/preset-mini.1ec77f6f.cjs');
11
+ const _default$2 = require('./shared/preset-mini.2ad50fb9.cjs');
12
+ require('./shared/preset-mini.19fa93be.cjs');
13
13
 
14
14
  const preflights = [
15
15
  {
@@ -52,6 +52,7 @@ function VarPrefixPostprocessor(prefix) {
52
52
  exports.parseColor = colors$1.parseColor;
53
53
  exports.colors = colors.colors;
54
54
  exports.theme = _default.theme;
55
+ exports.VarPrefixPostprocessor = VarPrefixPostprocessor;
55
56
  exports["default"] = presetMini;
56
57
  exports.preflights = preflights;
57
58
  exports.presetMini = presetMini;
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { Preflight, PresetOptions, Preset } from '@unocss/core';
2
- export { c as colors } from './colors-884ab3c4.js';
3
- export { t as theme } from './default-21cad915.js';
4
- import { T as Theme } from './types-3bfb4dc5.js';
5
- export { T as Theme, a as ThemeAnimation } from './types-3bfb4dc5.js';
6
- export { p as parseColor } from './utilities-10273596.js';
1
+ import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
2
+ export { c as colors } from './colors-b217808a.js';
3
+ export { t as theme } from './default-344896b2.js';
4
+ import { T as Theme } from './types-fa74508f.js';
5
+ export { T as Theme, a as ThemeAnimation } from './types-fa74508f.js';
6
+ export { p as parseColor } from './utilities-51b38240.js';
7
7
 
8
8
  declare const preflights: Preflight[];
9
9
 
@@ -55,4 +55,6 @@ interface PresetMiniOptions extends PresetOptions {
55
55
  }
56
56
  declare const presetMini: (options?: PresetMiniOptions) => Preset<Theme>;
57
57
 
58
- export { DarkModeSelectors, PresetMiniOptions, presetMini as default, preflights, presetMini };
58
+ declare function VarPrefixPostprocessor(prefix: string): Postprocessor;
59
+
60
+ export { DarkModeSelectors, PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, preflights, presetMini };
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import { entriesToCss, toArray } from '@unocss/core';
2
- import './shared/preset-mini.0dd71da8.mjs';
3
- export { p as parseColor } from './shared/preset-mini.690517b1.mjs';
4
- import { r as rules } from './shared/preset-mini.71bf58e8.mjs';
2
+ import './shared/preset-mini.71a71f59.mjs';
3
+ export { p as parseColor } from './shared/preset-mini.97298de6.mjs';
4
+ import { r as rules } from './shared/preset-mini.6f716ffb.mjs';
5
5
  export { c as colors } from './shared/preset-mini.65ac75be.mjs';
6
- import { t as theme } from './shared/preset-mini.3aa2cc9c.mjs';
7
- export { t as theme } from './shared/preset-mini.3aa2cc9c.mjs';
8
- import { v as variants } from './shared/preset-mini.fef10425.mjs';
9
- import './shared/preset-mini.74d943b2.mjs';
6
+ import { t as theme } from './shared/preset-mini.9a963c89.mjs';
7
+ export { t as theme } from './shared/preset-mini.9a963c89.mjs';
8
+ import { v as variants } from './shared/preset-mini.2612e983.mjs';
9
+ import './shared/preset-mini.33f541c6.mjs';
10
10
 
11
11
  const preflights = [
12
12
  {
@@ -46,4 +46,4 @@ function VarPrefixPostprocessor(prefix) {
46
46
  };
47
47
  }
48
48
 
49
- export { presetMini as default, preflights, presetMini };
49
+ export { VarPrefixPostprocessor, presetMini as default, preflights, presetMini };
package/dist/rules.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const decoration = require('./shared/preset-mini.93f934d2.cjs');
6
- const _default = require('./shared/preset-mini.152190e6.cjs');
7
- require('./shared/preset-mini.b1936363.cjs');
5
+ const decoration = require('./shared/preset-mini.bb68e31e.cjs');
6
+ const _default = require('./shared/preset-mini.eaa84a8f.cjs');
7
+ require('./shared/preset-mini.5002aa63.cjs');
8
8
  require('@unocss/core');
9
9
 
10
10
 
package/dist/rules.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries } from '@unocss/core';
2
- import { T as Theme } from './types-3bfb4dc5.js';
2
+ import { T as Theme } from './types-fa74508f.js';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
package/dist/rules.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { F as alignments, C as appearance, s as appearances, S as borderStyles, b as borders, o as boxShadows, Q as boxShadowsBase, K as boxSizing, z as breaks, O as contains, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, T as handlerBorderStyle, H as insets, E as justifies, D as orders, B as outline, A as overflows, G as placements, u as pointerEvents, p as positions, v as resizes, R as ringBase, r as rings, t as tabSizes, l as textAligns, h as textDecorations, e as textIndents, g as textOverflows, j as textShadows, i as textStrokes, k as textTransforms, P as transformBase, M as transforms, L as transitions, x as userSelects, U as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './shared/preset-mini.0dd71da8.mjs';
2
- export { d as aspectRatio, b as bgColors, c as containerParent, i as cssProperty, h as cssVariables, f as flex, g as gaps, a as grids, m as margins, o as opacity, p as paddings, q as questionMark, r as rules, s as sizes, e as svgUtilities, t as textColors } from './shared/preset-mini.71bf58e8.mjs';
3
- import './shared/preset-mini.690517b1.mjs';
1
+ export { F as alignments, C as appearance, s as appearances, S as borderStyles, b as borders, o as boxShadows, Q as boxShadowsBase, K as boxSizing, z as breaks, O as contains, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, T as handlerBorderStyle, H as insets, E as justifies, D as orders, B as outline, A as overflows, G as placements, u as pointerEvents, p as positions, v as resizes, R as ringBase, r as rings, t as tabSizes, l as textAligns, h as textDecorations, e as textIndents, g as textOverflows, j as textShadows, i as textStrokes, k as textTransforms, P as transformBase, M as transforms, L as transitions, x as userSelects, U as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './shared/preset-mini.71a71f59.mjs';
2
+ export { d as aspectRatio, b as bgColors, c as containerParent, i as cssProperty, h as cssVariables, f as flex, g as gaps, a as grids, m as margins, o as opacity, p as paddings, q as questionMark, r as rules, s as sizes, e as svgUtilities, t as textColors } from './shared/preset-mini.6f716ffb.mjs';
3
+ import './shared/preset-mini.97298de6.mjs';
4
4
  import '@unocss/core';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const core = require('@unocss/core');
4
- const colors = require('./preset-mini.b1936363.cjs');
4
+ const colors = require('./preset-mini.5002aa63.cjs');
5
5
 
6
6
  const variantMatcher = (name, handler) => {
7
7
  const re = new RegExp(`^${core.escapeRegExp(name)}[:-]`);
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('./preset-mini.30606736.cjs');
4
- const decoration = require('./preset-mini.93f934d2.cjs');
5
- require('./preset-mini.b1936363.cjs');
4
+ const decoration = require('./preset-mini.bb68e31e.cjs');
5
+ require('./preset-mini.5002aa63.cjs');
6
6
  require('@unocss/core');
7
7
 
8
8
  const fontFamily = {
@@ -1,6 +1,6 @@
1
- import { h as handler, l as resolveBreakpoints, q as getBracket, C as CONTROL_MINI_NO_NEGATIVE, s as getComponent } from './preset-mini.690517b1.mjs';
1
+ import { h as handler, l as resolveBreakpoints, q as getBracket, C as CONTROL_MINI_NO_NEGATIVE, s as getComponent } from './preset-mini.97298de6.mjs';
2
2
  import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
3
- import { v as variantGetParameter, a as variantGetBracket, b as variantParentMatcher, c as variantMatcher } from './preset-mini.74d943b2.mjs';
3
+ import { v as variantGetParameter, a as variantGetBracket, b as variantParentMatcher, c as variantMatcher } from './preset-mini.33f541c6.mjs';
4
4
 
5
5
  const variantAria = {
6
6
  name: "aria",
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./preset-mini.b1936363.cjs');
3
+ const colors = require('./preset-mini.5002aa63.cjs');
4
4
  const core = require('@unocss/core');
5
- const variants$1 = require('./preset-mini.fbe02827.cjs');
5
+ const variants$1 = require('./preset-mini.19fa93be.cjs');
6
6
 
7
7
  const variantAria = {
8
8
  name: "aria",
@@ -1,5 +1,5 @@
1
1
  import { escapeRegExp } from '@unocss/core';
2
- import { q as getBracket } from './preset-mini.690517b1.mjs';
2
+ import { q as getBracket } from './preset-mini.97298de6.mjs';
3
3
 
4
4
  const variantMatcher = (name, handler) => {
5
5
  const re = new RegExp(`^${escapeRegExp(name)}[:-]`);
@@ -100,8 +100,8 @@ const globalKeywords = [
100
100
  "unset"
101
101
  ];
102
102
 
103
- const numberWithUnitRE = /^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
104
- const numberRE = /^(-?[0-9.]+)$/i;
103
+ const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
104
+ const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
105
105
  const unitOnlyRE = /^(px)$/i;
106
106
 
107
107
  const cssProps = [
@@ -1,5 +1,5 @@
1
- import { d as displays, b as borders, c as contentVisibility, a as contents, f as fonts, t as tabSizes, e as textIndents, g as textOverflows, h as textDecorations, i as textStrokes, j as textShadows, k as textTransforms, l as textAligns, m as fontStyles, n as fontSmoothings, o as boxShadows, r as rings, p as positions, q as cursors, s as appearances, u as pointerEvents, v as resizes, w as verticalAligns, x as userSelects, y as whitespaces, z as breaks, A as overflows, B as outline, C as appearance, D as orders, E as justifies, F as alignments, G as placements, H as insets, I as floats, J as zIndexes, K as boxSizing, L as transitions, M as transforms, N as willChange, O as contains } from './preset-mini.0dd71da8.mjs';
2
- import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.690517b1.mjs';
1
+ import { d as displays, b as borders, c as contentVisibility, a as contents, f as fonts, t as tabSizes, e as textIndents, g as textOverflows, h as textDecorations, i as textStrokes, j as textShadows, k as textTransforms, l as textAligns, m as fontStyles, n as fontSmoothings, o as boxShadows, r as rings, p as positions, q as cursors, s as appearances, u as pointerEvents, v as resizes, w as verticalAligns, x as userSelects, y as whitespaces, z as breaks, A as overflows, B as outline, C as appearance, D as orders, E as justifies, F as alignments, G as placements, H as insets, I as floats, J as zIndexes, K as boxSizing, L as transitions, M as transforms, N as willChange, O as contains } from './preset-mini.71a71f59.mjs';
2
+ import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.97298de6.mjs';
3
3
  import { warnOnce } from '@unocss/core';
4
4
 
5
5
  const opacity = [
@@ -1,4 +1,4 @@
1
- import { g as globalKeywords, h as handler, c as colorResolver, d as directionMap, a as hasParseableColor, b as cornerMap, p as parseColor, e as colorToString, f as colorOpacityToString, m as makeGlobalStaticRules, i as colorableShadows, j as insetMap, k as positionMap, x as xyzMap } from './preset-mini.690517b1.mjs';
1
+ import { g as globalKeywords, h as handler, c as colorResolver, d as directionMap, a as hasParseableColor, b as cornerMap, p as parseColor, e as colorToString, f as colorOpacityToString, m as makeGlobalStaticRules, i as colorableShadows, j as insetMap, k as positionMap, x as xyzMap } from './preset-mini.97298de6.mjs';
2
2
  import { toArray } from '@unocss/core';
3
3
 
4
4
  const verticalAlignAlias = {
@@ -109,14 +109,7 @@ const borderColorResolver = (direction) => ([, body], theme) => {
109
109
  }
110
110
  };
111
111
  function handlerBorder(m, ctx) {
112
- const borderSizes = handlerBorderSize(m, ctx);
113
- const borderStyle = handlerBorderStyle(["", m[1], "solid"]);
114
- if (borderSizes && borderStyle) {
115
- return [
116
- ...borderSizes,
117
- ...borderStyle
118
- ];
119
- }
112
+ return handlerBorderSize(m, ctx);
120
113
  }
121
114
  function handlerBorderSize([, a = "", b], { theme }) {
122
115
  const v = theme.lineWidth?.[b || "DEFAULT"] ?? handler.bracket.cssvar.global.px(b || "1");
@@ -98,8 +98,8 @@ const globalKeywords = [
98
98
  "unset"
99
99
  ];
100
100
 
101
- const numberWithUnitRE = /^(-?[0-9.]+)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
102
- const numberRE = /^(-?[0-9.]+)$/i;
101
+ const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?em|ex|ch|ic|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
102
+ const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
103
103
  const unitOnlyRE = /^(px)$/i;
104
104
 
105
105
  const cssProps = [
@@ -1,6 +1,6 @@
1
1
  import { c as colors } from './preset-mini.65ac75be.mjs';
2
- import { P as transformBase, Q as boxShadowsBase, R as ringBase } from './preset-mini.0dd71da8.mjs';
3
- import './preset-mini.690517b1.mjs';
2
+ import { P as transformBase, Q as boxShadowsBase, R as ringBase } from './preset-mini.71a71f59.mjs';
3
+ import './preset-mini.97298de6.mjs';
4
4
  import '@unocss/core';
5
5
 
6
6
  const fontFamily = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./preset-mini.b1936363.cjs');
3
+ const colors = require('./preset-mini.5002aa63.cjs');
4
4
  const core = require('@unocss/core');
5
5
 
6
6
  const verticalAlignAlias = {
@@ -111,14 +111,7 @@ const borderColorResolver = (direction) => ([, body], theme) => {
111
111
  }
112
112
  };
113
113
  function handlerBorder(m, ctx) {
114
- const borderSizes = handlerBorderSize(m, ctx);
115
- const borderStyle = handlerBorderStyle(["", m[1], "solid"]);
116
- if (borderSizes && borderStyle) {
117
- return [
118
- ...borderSizes,
119
- ...borderStyle
120
- ];
121
- }
114
+ return handlerBorderSize(m, ctx);
122
115
  }
123
116
  function handlerBorderSize([, a = "", b], { theme }) {
124
117
  const v = theme.lineWidth?.[b || "DEFAULT"] ?? colors.handler.bracket.cssvar.global.px(b || "1");
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const decoration = require('./preset-mini.93f934d2.cjs');
4
- const colors = require('./preset-mini.b1936363.cjs');
3
+ const decoration = require('./preset-mini.bb68e31e.cjs');
4
+ const colors = require('./preset-mini.5002aa63.cjs');
5
5
  const core = require('@unocss/core');
6
6
 
7
7
  const opacity = [
package/dist/theme.cjs CHANGED
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const colors = require('./shared/preset-mini.30606736.cjs');
6
- const _default = require('./shared/preset-mini.aa0d829d.cjs');
7
- require('./shared/preset-mini.93f934d2.cjs');
8
- require('./shared/preset-mini.b1936363.cjs');
6
+ const _default = require('./shared/preset-mini.1ec77f6f.cjs');
7
+ require('./shared/preset-mini.bb68e31e.cjs');
8
+ require('./shared/preset-mini.5002aa63.cjs');
9
9
  require('@unocss/core');
10
10
 
11
11
 
package/dist/theme.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { c as colors } from './colors-884ab3c4.js';
2
- export { t as theme } from './default-21cad915.js';
3
- import { T as Theme } from './types-3bfb4dc5.js';
4
- export { C as Colors, T as Theme, a as ThemeAnimation } from './types-3bfb4dc5.js';
1
+ export { c as colors } from './colors-b217808a.js';
2
+ export { t as theme } from './default-344896b2.js';
3
+ import { T as Theme } from './types-fa74508f.js';
4
+ export { C as Colors, T as Theme, a as ThemeAnimation } from './types-fa74508f.js';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
package/dist/theme.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { c as colors } from './shared/preset-mini.65ac75be.mjs';
2
- export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, z as containers, 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, A 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 './shared/preset-mini.3aa2cc9c.mjs';
3
- import './shared/preset-mini.0dd71da8.mjs';
4
- import './shared/preset-mini.690517b1.mjs';
2
+ export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, z as containers, 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, A 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 './shared/preset-mini.9a963c89.mjs';
3
+ import './shared/preset-mini.71a71f59.mjs';
4
+ import './shared/preset-mini.97298de6.mjs';
5
5
  import '@unocss/core';
@@ -57,6 +57,7 @@ interface Theme {
57
57
  gridTemplateRow?: Record<string, string>;
58
58
  container?: {
59
59
  center?: boolean;
60
+ padding?: string | Record<string, string>;
60
61
  };
61
62
  /** Used to generate CSS variables placeholder in preflight */
62
63
  preflightRoot?: Arrayable<string>;
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, Rule } from '@unocss/core';
2
- import { T as Theme } from './types-3bfb4dc5.js';
2
+ import { T as Theme } from './types-fa74508f.js';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
package/dist/utils.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const colors = require('./shared/preset-mini.b1936363.cjs');
6
- const variants = require('./shared/preset-mini.fbe02827.cjs');
5
+ const colors = require('./shared/preset-mini.5002aa63.cjs');
6
+ const variants = require('./shared/preset-mini.19fa93be.cjs');
7
7
  require('@unocss/core');
8
8
 
9
9
 
package/dist/utils.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-10273596.js';
4
- import './types-3bfb4dc5.js';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-51b38240.js';
4
+ import './types-fa74508f.js';
5
5
 
6
6
  declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
7
7
  declare function parseCssColor(str?: string): CSSColorValue | undefined;
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, f as colorOpacityToString, c as colorResolver, e as colorToString, i as colorableShadows, b as cornerMap, d as directionMap, o as directionSize, q as getBracket, s as getComponent, y as getComponents, g as globalKeywords, v as h, h as handler, a as hasParseableColor, t as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, u as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, w as valueHandlers, x as xyzMap } from './shared/preset-mini.690517b1.mjs';
2
- export { a as variantGetBracket, v as variantGetParameter, c as variantMatcher, b as variantParentMatcher } from './shared/preset-mini.74d943b2.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, f as colorOpacityToString, c as colorResolver, e as colorToString, i as colorableShadows, b as cornerMap, d as directionMap, o as directionSize, q as getBracket, s as getComponent, y as getComponents, g as globalKeywords, v as h, h as handler, a as hasParseableColor, t as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, u as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, w as valueHandlers, x as xyzMap } from './shared/preset-mini.97298de6.mjs';
2
+ export { a as variantGetBracket, v as variantGetParameter, c as variantMatcher, b as variantParentMatcher } from './shared/preset-mini.33f541c6.mjs';
3
3
  import '@unocss/core';
package/dist/variants.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const _default = require('./shared/preset-mini.c106b68c.cjs');
6
- require('./shared/preset-mini.b1936363.cjs');
5
+ const _default = require('./shared/preset-mini.2ad50fb9.cjs');
6
+ require('./shared/preset-mini.5002aa63.cjs');
7
7
  require('@unocss/core');
8
- require('./shared/preset-mini.fbe02827.cjs');
8
+ require('./shared/preset-mini.19fa93be.cjs');
9
9
 
10
10
 
11
11
 
@@ -1,9 +1,9 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
- import { T as Theme } from './types-3bfb4dc5.js';
2
+ import { T as Theme } from './types-fa74508f.js';
3
3
  import { PresetMiniOptions } from './index.js';
4
- import './colors-884ab3c4.js';
5
- import './default-21cad915.js';
6
- import './utilities-10273596.js';
4
+ import './colors-b217808a.js';
5
+ import './default-344896b2.js';
6
+ import './utilities-51b38240.js';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as calcMaxWidthBySize, t as partClasses, a as variantAria, b as variantBreakpoints, j as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, m as variantCssLayer, h as variantCustomMedia, f as variantDataAttribute, u as variantImportant, n as variantInternalLayer, k as variantLanguageDirections, w as variantNegative, g as variantPrint, r as variantPseudoClassFunctions, q as variantPseudoClassesAndElements, o as variantScope, l as variantSelector, i as variantSupports, s as variantTaggedPseudoClasses, p as variantVariables, v as variants } from './shared/preset-mini.fef10425.mjs';
2
- import './shared/preset-mini.690517b1.mjs';
1
+ export { c as calcMaxWidthBySize, t as partClasses, a as variantAria, b as variantBreakpoints, j as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, m as variantCssLayer, h as variantCustomMedia, f as variantDataAttribute, u as variantImportant, n as variantInternalLayer, k as variantLanguageDirections, w as variantNegative, g as variantPrint, r as variantPseudoClassFunctions, q as variantPseudoClassesAndElements, o as variantScope, l as variantSelector, i as variantSupports, s as variantTaggedPseudoClasses, p as variantVariables, v as variants } from './shared/preset-mini.2612e983.mjs';
2
+ import './shared/preset-mini.97298de6.mjs';
3
3
  import '@unocss/core';
4
- import './shared/preset-mini.74d943b2.mjs';
4
+ import './shared/preset-mini.33f541c6.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.47.6",
3
+ "version": "0.48.1",
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.47.6"
64
+ "@unocss/core": "0.48.1"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",