@unocss/preset-mini 0.57.0 → 0.57.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.
package/dist/index.cjs CHANGED
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const core = require('@unocss/core');
6
6
  const extractorArbitraryVariants = require('@unocss/extractor-arbitrary-variants');
7
- const utils = require('./shared/preset-mini.ec90d1ba.cjs');
7
+ const utils = require('./shared/preset-mini.d24817ee.cjs');
8
8
  const theme = require('./theme.cjs');
9
9
  const rules = require('./rules.cjs');
10
10
  const variants = require('./variants.cjs');
11
11
  const colors = require('./colors.cjs');
12
12
  require('@unocss/rule-utils');
13
- require('./shared/preset-mini.cedf5b6d.cjs');
13
+ require('./shared/preset-mini.0cfc8ac7.cjs');
14
14
 
15
15
  const preflights = [
16
16
  {
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.87b98aea.mjs';
4
- export { p as parseColor } from './shared/preset-mini.87b98aea.mjs';
3
+ import { g as globalKeywords } from './shared/preset-mini.f4dbb5f0.mjs';
4
+ export { p as parseColor } from './shared/preset-mini.f4dbb5f0.mjs';
5
5
  import { theme } from './theme.mjs';
6
6
  import { rules } from './rules.mjs';
7
7
  import { variants } from './variants.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.7fce5950.mjs';
10
+ import './shared/preset-mini.de6d92a5.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const utils = require('./shared/preset-mini.ec90d1ba.cjs');
3
+ const utils = require('./shared/preset-mini.d24817ee.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  const core = require('@unocss/core');
6
- const transform = require('./shared/preset-mini.cedf5b6d.cjs');
6
+ const transform = require('./shared/preset-mini.0cfc8ac7.cjs');
7
7
 
8
8
  const verticalAlignAlias = {
9
9
  "mid": "middle",
package/dist/rules.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { g as globalKeywords, h, c as colorResolver, e as directionMap, a as hasParseableColor, f as cornerMap, p as parseColor, i as isCSSMathFn, n as numberWithUnitRE, m as makeGlobalStaticRules, s as splitShorthand, b as colorableShadows, j as insetMap, r as resolveBreakpoints, k as directionSize } from './shared/preset-mini.87b98aea.mjs';
1
+ import { g as globalKeywords, h, c as colorResolver, e as directionMap, a as hasParseableColor, f as cornerMap, p as parseColor, i as isCSSMathFn, n as numberWithUnitRE, m as makeGlobalStaticRules, s as splitShorthand, b as colorableShadows, j as insetMap, r as resolveBreakpoints, k as directionSize } from './shared/preset-mini.f4dbb5f0.mjs';
2
2
  import { colorToString, colorOpacityToString, hasThemeFn, transformThemeFn } from '@unocss/rule-utils';
3
3
  import { warnOnce, toArray } from '@unocss/core';
4
- import { d as displays, c as contentVisibility, a as contents, e as textOverflows, f as textTransforms, g as fontStyles, h as fontSmoothings, i as boxShadows, j as rings, k as cursors, l as appearances, p as pointerEvents, m as resizes, u as userSelects, w as whitespaces, n as breaks, o as transforms, q as contains, s as textWraps } from './shared/preset-mini.7fce5950.mjs';
5
- export { b as boxShadowsBase, r as ringBase, t as transformBase, v as varEmpty } from './shared/preset-mini.7fce5950.mjs';
4
+ import { d as displays, c as contentVisibility, a as contents, e as textOverflows, f as textTransforms, g as fontStyles, h as fontSmoothings, i as boxShadows, j as rings, k as cursors, l as appearances, p as pointerEvents, m as resizes, u as userSelects, w as whitespaces, n as breaks, o as transforms, q as contains, s as textWraps } from './shared/preset-mini.de6d92a5.mjs';
5
+ export { b as boxShadowsBase, r as ringBase, t as transformBase, v as varEmpty } from './shared/preset-mini.de6d92a5.mjs';
6
6
 
7
7
  const verticalAlignAlias = {
8
8
  "mid": "middle",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utils = require('./preset-mini.ec90d1ba.cjs');
3
+ const utils = require('./preset-mini.d24817ee.cjs');
4
4
 
5
5
  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"];
6
6
  const containValues = ["none", "strict", "content", "size", "inline-size", "layout", "style", "paint"];
@@ -108,7 +108,7 @@ const globalKeywords = [
108
108
  "revert-layer",
109
109
  "unset"
110
110
  ];
111
- const cssMathFnRE = /^(?:calc|env|clamp|min|max)\(.*\)/;
111
+ const cssMathFnRE = /^(?:calc|clamp|min|max)\s*\(.*\)/;
112
112
 
113
113
  const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
114
114
  const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
@@ -1,4 +1,4 @@
1
- import { h, m as makeGlobalStaticRules, g as globalKeywords, c as colorResolver, a as hasParseableColor, b as colorableShadows, d as positionMap, x as xyzMap } from './preset-mini.87b98aea.mjs';
1
+ import { h, m as makeGlobalStaticRules, g as globalKeywords, c as colorResolver, a as hasParseableColor, b as colorableShadows, d as positionMap, x as xyzMap } from './preset-mini.f4dbb5f0.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"];
@@ -106,7 +106,7 @@ const globalKeywords = [
106
106
  "revert-layer",
107
107
  "unset"
108
108
  ];
109
- const cssMathFnRE = /^(?:calc|env|clamp|min|max)\(.*\)/;
109
+ const cssMathFnRE = /^(?:calc|clamp|min|max)\s*\(.*\)/;
110
110
 
111
111
  const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
112
112
  const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
package/dist/theme.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('./colors.cjs');
4
- const transform = require('./shared/preset-mini.cedf5b6d.cjs');
5
- require('./shared/preset-mini.ec90d1ba.cjs');
4
+ const transform = require('./shared/preset-mini.0cfc8ac7.cjs');
5
+ require('./shared/preset-mini.d24817ee.cjs');
6
6
  require('@unocss/rule-utils');
7
7
  require('@unocss/core');
8
8
 
package/dist/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { colors } from './colors.mjs';
2
- import { t as transformBase, b as boxShadowsBase, r as ringBase } from './shared/preset-mini.7fce5950.mjs';
3
- import './shared/preset-mini.87b98aea.mjs';
2
+ import { t as transformBase, b as boxShadowsBase, r as ringBase } from './shared/preset-mini.de6d92a5.mjs';
3
+ import './shared/preset-mini.f4dbb5f0.mjs';
4
4
  import '@unocss/rule-utils';
5
5
  import '@unocss/core';
6
6
 
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utils = require('./shared/preset-mini.ec90d1ba.cjs');
3
+ const utils = require('./shared/preset-mini.d24817ee.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  require('@unocss/core');
6
6
 
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, b as colorableShadows, f as cornerMap, l as cssMathFnRE, e as directionMap, k as directionSize, g as globalKeywords, h, o as handler, a as hasParseableColor, j as insetMap, i as isCSSMathFn, m as makeGlobalStaticRules, p as parseColor, d as positionMap, r as resolveBreakpoints, q as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.87b98aea.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, b as colorableShadows, f as cornerMap, l as cssMathFnRE, e as directionMap, k as directionSize, g as globalKeywords, h, o as handler, a as hasParseableColor, j as insetMap, i as isCSSMathFn, m as makeGlobalStaticRules, p as parseColor, d as positionMap, r as resolveBreakpoints, q as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.f4dbb5f0.mjs';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
package/dist/variants.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const ruleUtils = require('@unocss/rule-utils');
4
- const utils = require('./shared/preset-mini.ec90d1ba.cjs');
4
+ const utils = require('./shared/preset-mini.d24817ee.cjs');
5
5
  const core = require('@unocss/core');
6
6
 
7
7
  const variantAria = {
package/dist/variants.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { variantGetParameter, variantGetBracket, variantMatcher, variantParentMatcher, getBracket, getStringComponent } from '@unocss/rule-utils';
2
- import { h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE } from './shared/preset-mini.87b98aea.mjs';
2
+ import { h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE } from './shared/preset-mini.f4dbb5f0.mjs';
3
3
  import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
4
4
 
5
5
  const variantAria = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.57.0",
3
+ "version": "0.57.1",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -61,9 +61,9 @@
61
61
  "dist"
62
62
  ],
63
63
  "dependencies": {
64
- "@unocss/core": "0.57.0",
65
- "@unocss/extractor-arbitrary-variants": "0.57.0",
66
- "@unocss/rule-utils": "0.57.0"
64
+ "@unocss/core": "0.57.1",
65
+ "@unocss/extractor-arbitrary-variants": "0.57.1",
66
+ "@unocss/rule-utils": "0.57.1"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "unbuild",