@unocss/preset-mini 0.45.8 → 0.45.9

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 (28) hide show
  1. package/dist/colors.cjs +1 -1
  2. package/dist/colors.mjs +1 -1
  3. package/dist/index.cjs +7 -7
  4. package/dist/index.mjs +8 -8
  5. package/dist/rules.cjs +3 -3
  6. package/dist/rules.mjs +3 -3
  7. package/dist/{chunks/decoration.cjs → shared/preset-mini.1a56ff70.cjs} +1 -1
  8. package/dist/{chunks/default3.cjs → shared/preset-mini.47008872.cjs} +3 -2
  9. package/dist/{chunks/variants.mjs → shared/preset-mini.4af6c341.mjs} +0 -0
  10. package/dist/{chunks/variants.cjs → shared/preset-mini.4cd18775.cjs} +0 -0
  11. package/dist/{chunks/default2.mjs → shared/preset-mini.7a539ada.mjs} +3 -3
  12. package/dist/{chunks/colors2.cjs → shared/preset-mini.8063f1e0.cjs} +0 -0
  13. package/dist/{chunks/colors.mjs → shared/preset-mini.81c09acb.mjs} +0 -0
  14. package/dist/{chunks/default.cjs → shared/preset-mini.912093a4.cjs} +2 -2
  15. package/dist/{chunks/default3.mjs → shared/preset-mini.aaf016bb.mjs} +3 -3
  16. package/dist/{chunks/decoration.mjs → shared/preset-mini.b41b4e0c.mjs} +1 -1
  17. package/dist/{chunks/colors.cjs → shared/preset-mini.c423dacf.cjs} +0 -0
  18. package/dist/{chunks/default.mjs → shared/preset-mini.d4c3ecce.mjs} +2 -2
  19. package/dist/{chunks/colors2.mjs → shared/preset-mini.e4b52abc.mjs} +0 -0
  20. package/dist/{chunks/default2.cjs → shared/preset-mini.ea3f223e.cjs} +3 -3
  21. package/dist/theme.cjs +4 -4
  22. package/dist/theme.mjs +4 -4
  23. package/dist/utils.cjs +2 -2
  24. package/dist/utils.mjs +2 -2
  25. package/dist/variants.cjs +4 -3
  26. package/dist/variants.d.ts +2 -1
  27. package/dist/variants.mjs +3 -3
  28. package/package.json +2 -2
package/dist/colors.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const colors = require('./chunks/colors2.cjs');
5
+ const colors = require('./shared/preset-mini.8063f1e0.cjs');
6
6
 
7
7
 
8
8
 
package/dist/colors.mjs CHANGED
@@ -1 +1 @@
1
- export { c as colors } from './chunks/colors2.mjs';
1
+ export { c as colors } from './shared/preset-mini.e4b52abc.mjs';
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('./chunks/decoration.cjs');
7
- const colors$1 = require('./chunks/colors.cjs');
8
- const _default$1 = require('./chunks/default.cjs');
9
- const colors = require('./chunks/colors2.cjs');
10
- const _default = require('./chunks/default2.cjs');
11
- const _default$2 = require('./chunks/default3.cjs');
12
- require('./chunks/variants.cjs');
6
+ require('./shared/preset-mini.1a56ff70.cjs');
7
+ const colors$1 = require('./shared/preset-mini.c423dacf.cjs');
8
+ const _default$1 = require('./shared/preset-mini.912093a4.cjs');
9
+ const colors = require('./shared/preset-mini.8063f1e0.cjs');
10
+ const _default = require('./shared/preset-mini.ea3f223e.cjs');
11
+ const _default$2 = require('./shared/preset-mini.47008872.cjs');
12
+ require('./shared/preset-mini.4cd18775.cjs');
13
13
 
14
14
  const preflights = [
15
15
  {
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import { entriesToCss } from '@unocss/core';
2
- import './chunks/decoration.mjs';
3
- export { p as parseColor } from './chunks/colors.mjs';
4
- import { r as rules } from './chunks/default.mjs';
5
- export { c as colors } from './chunks/colors2.mjs';
6
- import { t as theme } from './chunks/default2.mjs';
7
- export { t as theme } from './chunks/default2.mjs';
8
- import { v as variants } from './chunks/default3.mjs';
9
- import './chunks/variants.mjs';
2
+ import './shared/preset-mini.b41b4e0c.mjs';
3
+ export { p as parseColor } from './shared/preset-mini.81c09acb.mjs';
4
+ import { r as rules } from './shared/preset-mini.d4c3ecce.mjs';
5
+ export { c as colors } from './shared/preset-mini.e4b52abc.mjs';
6
+ import { t as theme } from './shared/preset-mini.7a539ada.mjs';
7
+ export { t as theme } from './shared/preset-mini.7a539ada.mjs';
8
+ import { v as variants } from './shared/preset-mini.aaf016bb.mjs';
9
+ import './shared/preset-mini.4af6c341.mjs';
10
10
 
11
11
  const preflights = [
12
12
  {
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('./chunks/decoration.cjs');
6
- const _default = require('./chunks/default.cjs');
7
- require('./chunks/colors.cjs');
5
+ const decoration = require('./shared/preset-mini.1a56ff70.cjs');
6
+ const _default = require('./shared/preset-mini.912093a4.cjs');
7
+ require('./shared/preset-mini.c423dacf.cjs');
8
8
  require('@unocss/core');
9
9
 
10
10
 
package/dist/rules.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { F as alignments, C as appearance, s as appearances, R as borderStyles, b as borders, o as boxShadows, P as boxShadowsBase, K as boxSizing, z as breaks, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, S 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, Q 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, O as transformBase, M as transforms, L as transitions, x as userSelects, T as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './chunks/decoration.mjs';
2
- export { c as aspectRatio, b as bgColors, h as cssProperty, e 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, d as svgUtilities, t as textColors } from './chunks/default.mjs';
3
- import './chunks/colors.mjs';
1
+ export { F as alignments, C as appearance, s as appearances, R as borderStyles, b as borders, o as boxShadows, P as boxShadowsBase, K as boxSizing, z as breaks, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, S 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, Q 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, O as transformBase, M as transforms, L as transitions, x as userSelects, T as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './shared/preset-mini.b41b4e0c.mjs';
2
+ export { c as aspectRatio, b as bgColors, h as cssProperty, e 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, d as svgUtilities, t as textColors } from './shared/preset-mini.d4c3ecce.mjs';
3
+ import './shared/preset-mini.81c09acb.mjs';
4
4
  import '@unocss/core';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./colors.cjs');
3
+ const colors = require('./preset-mini.c423dacf.cjs');
4
4
  const core = require('@unocss/core');
5
5
 
6
6
  const verticalAlignAlias = {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./colors.cjs');
3
+ const colors = require('./preset-mini.c423dacf.cjs');
4
4
  const core = require('@unocss/core');
5
- const variants$1 = require('./variants.cjs');
5
+ const variants$1 = require('./preset-mini.4cd18775.cjs');
6
6
 
7
7
  const regexCache = {};
8
8
  const calcMaxWidthBySize = (size) => {
@@ -447,6 +447,7 @@ const variants = (options) => [
447
447
  variantScope
448
448
  ];
449
449
 
450
+ exports.calcMaxWidthBySize = calcMaxWidthBySize;
450
451
  exports.partClasses = partClasses;
451
452
  exports.variantBreakpoints = variantBreakpoints;
452
453
  exports.variantColorsMediaOrClass = variantColorsMediaOrClass;
@@ -1,6 +1,6 @@
1
- import { c as colors } from './colors2.mjs';
2
- import { O as transformBase, P as boxShadowsBase, Q as ringBase } from './decoration.mjs';
3
- import './colors.mjs';
1
+ import { c as colors } from './preset-mini.e4b52abc.mjs';
2
+ import { O as transformBase, P as boxShadowsBase, Q as ringBase } from './preset-mini.b41b4e0c.mjs';
3
+ import './preset-mini.81c09acb.mjs';
4
4
  import '@unocss/core';
5
5
 
6
6
  const fontFamily = {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const decoration = require('./decoration.cjs');
4
- const colors = require('./colors.cjs');
3
+ const decoration = require('./preset-mini.1a56ff70.cjs');
4
+ const colors = require('./preset-mini.c423dacf.cjs');
5
5
  require('@unocss/core');
6
6
 
7
7
  const opacity = [
@@ -1,6 +1,6 @@
1
- import { l as resolveBreakpoints, q as getComponent, h as handler, C as CONTROL_MINI_NO_NEGATIVE } from './colors.mjs';
1
+ import { l as resolveBreakpoints, q as getComponent, h as handler, C as CONTROL_MINI_NO_NEGATIVE } from './preset-mini.81c09acb.mjs';
2
2
  import { escapeRegExp } from '@unocss/core';
3
- import { v as variantParentMatcher, a as variantMatcher } from './variants.mjs';
3
+ import { v as variantParentMatcher, a as variantMatcher } from './preset-mini.4af6c341.mjs';
4
4
 
5
5
  const regexCache = {};
6
6
  const calcMaxWidthBySize = (size) => {
@@ -445,4 +445,4 @@ const variants = (options) => [
445
445
  variantScope
446
446
  ];
447
447
 
448
- export { variantBreakpoints as a, variantCombinators as b, variantPrint as c, variantCustomMedia as d, variantColorsMediaOrClass as e, variantLanguageDirections as f, variantSelector as g, variantCssLayer as h, variantInternalLayer as i, variantScope as j, variantVariables as k, variantPseudoClassesAndElements as l, variantPseudoClassFunctions as m, variantTaggedPseudoClasses as n, variantImportant as o, partClasses as p, variantNegative as q, variants as v };
448
+ export { variantBreakpoints as a, variantCombinators as b, calcMaxWidthBySize as c, variantPrint as d, variantCustomMedia as e, variantColorsMediaOrClass as f, variantLanguageDirections as g, variantSelector as h, variantCssLayer as i, variantInternalLayer as j, variantScope as k, variantVariables as l, variantPseudoClassesAndElements as m, variantPseudoClassFunctions as n, variantTaggedPseudoClasses as o, partClasses as p, variantImportant as q, variantNegative as r, variants as v };
@@ -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 './colors.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.81c09acb.mjs';
2
2
  import { toArray } from '@unocss/core';
3
3
 
4
4
  const verticalAlignAlias = {
@@ -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 } from './decoration.mjs';
2
- import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './colors.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 } from './preset-mini.b41b4e0c.mjs';
2
+ import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.81c09acb.mjs';
3
3
  import '@unocss/core';
4
4
 
5
5
  const opacity = [
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./colors2.cjs');
4
- const decoration = require('./decoration.cjs');
5
- require('./colors.cjs');
3
+ const colors = require('./preset-mini.8063f1e0.cjs');
4
+ const decoration = require('./preset-mini.1a56ff70.cjs');
5
+ require('./preset-mini.c423dacf.cjs');
6
6
  require('@unocss/core');
7
7
 
8
8
  const fontFamily = {
package/dist/theme.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const colors = require('./chunks/colors2.cjs');
6
- const _default = require('./chunks/default2.cjs');
7
- require('./chunks/decoration.cjs');
8
- require('./chunks/colors.cjs');
5
+ const colors = require('./shared/preset-mini.8063f1e0.cjs');
6
+ const _default = require('./shared/preset-mini.ea3f223e.cjs');
7
+ require('./shared/preset-mini.1a56ff70.cjs');
8
+ require('./shared/preset-mini.c423dacf.cjs');
9
9
  require('@unocss/core');
10
10
 
11
11
 
package/dist/theme.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { c as colors } from './chunks/colors2.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/default2.mjs';
3
- import './chunks/decoration.mjs';
4
- import './chunks/colors.mjs';
1
+ export { c as colors } from './shared/preset-mini.e4b52abc.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 './shared/preset-mini.7a539ada.mjs';
3
+ import './shared/preset-mini.b41b4e0c.mjs';
4
+ import './shared/preset-mini.81c09acb.mjs';
5
5
  import '@unocss/core';
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('./chunks/colors.cjs');
6
- const variants = require('./chunks/variants.cjs');
5
+ const colors = require('./shared/preset-mini.c423dacf.cjs');
6
+ const variants = require('./shared/preset-mini.4cd18775.cjs');
7
7
  require('@unocss/core');
8
8
 
9
9
 
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 getComponent, w as getComponents, g as globalKeywords, u as h, h as handler, a as hasParseableColor, s as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, t as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, v as valueHandlers, x as xyzMap } from './chunks/colors.mjs';
2
- export { a as variantMatcher, v as variantParentMatcher } from './chunks/variants.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 getComponent, w as getComponents, g as globalKeywords, u as h, h as handler, a as hasParseableColor, s as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, t as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, v as valueHandlers, x as xyzMap } from './shared/preset-mini.81c09acb.mjs';
2
+ export { a as variantMatcher, v as variantParentMatcher } from './shared/preset-mini.4af6c341.mjs';
3
3
  import '@unocss/core';
package/dist/variants.cjs CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const _default = require('./chunks/default3.cjs');
6
- require('./chunks/colors.cjs');
5
+ const _default = require('./shared/preset-mini.47008872.cjs');
6
+ require('./shared/preset-mini.c423dacf.cjs');
7
7
  require('@unocss/core');
8
- require('./chunks/variants.cjs');
8
+ require('./shared/preset-mini.4cd18775.cjs');
9
9
 
10
10
 
11
11
 
12
+ exports.calcMaxWidthBySize = _default.calcMaxWidthBySize;
12
13
  exports.partClasses = _default.partClasses;
13
14
  exports.variantBreakpoints = _default.variantBreakpoints;
14
15
  exports.variantColorsMediaOrClass = _default.variantColorsMediaOrClass;
@@ -5,6 +5,7 @@ import './colors-f2b5968c.js';
5
5
  import './default-0fe8c7f8.js';
6
6
  import './utilities-00da4436.js';
7
7
 
8
+ declare const calcMaxWidthBySize: (size: string) => string;
8
9
  declare const variantBreakpoints: Variant<Theme>;
9
10
 
10
11
  declare const variantCombinators: Variant[];
@@ -33,4 +34,4 @@ declare const variantImportant: Variant;
33
34
 
34
35
  declare const variantNegative: Variant;
35
36
 
36
- export { partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCssLayer, variantCustomMedia, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantTaggedPseudoClasses, variantVariables, variants };
37
+ export { calcMaxWidthBySize, partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCssLayer, variantCustomMedia, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantTaggedPseudoClasses, variantVariables, variants };
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { p as partClasses, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, h as variantCssLayer, d as variantCustomMedia, o as variantImportant, i as variantInternalLayer, f as variantLanguageDirections, q as variantNegative, c as variantPrint, m as variantPseudoClassFunctions, l as variantPseudoClassesAndElements, j as variantScope, g as variantSelector, n as variantTaggedPseudoClasses, k as variantVariables, v as variants } from './chunks/default3.mjs';
2
- import './chunks/colors.mjs';
1
+ export { c as calcMaxWidthBySize, p as partClasses, a as variantBreakpoints, f as variantColorsMediaOrClass, b as variantCombinators, i as variantCssLayer, e as variantCustomMedia, q as variantImportant, j as variantInternalLayer, g as variantLanguageDirections, r as variantNegative, d as variantPrint, n as variantPseudoClassFunctions, m as variantPseudoClassesAndElements, k as variantScope, h as variantSelector, o as variantTaggedPseudoClasses, l as variantVariables, v as variants } from './shared/preset-mini.aaf016bb.mjs';
2
+ import './shared/preset-mini.81c09acb.mjs';
3
3
  import '@unocss/core';
4
- import './chunks/variants.mjs';
4
+ import './shared/preset-mini.4af6c341.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.45.8",
3
+ "version": "0.45.9",
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.45.8"
64
+ "@unocss/core": "0.45.9"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",