@unocss/preset-mini 0.49.0 → 0.49.2

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
@@ -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.8953ff1a.cjs');
7
- const colors$1 = require('./shared/preset-mini.e54ce13d.cjs');
8
- const _default$1 = require('./shared/preset-mini.435805c5.cjs');
6
+ require('./shared/preset-mini.0c11b1ec.cjs');
7
+ const colors$1 = require('./shared/preset-mini.87096f14.cjs');
8
+ const _default$1 = require('./shared/preset-mini.b496633c.cjs');
9
9
  const colors = require('./shared/preset-mini.30606736.cjs');
10
- const _default = require('./shared/preset-mini.43dfafb9.cjs');
11
- const _default$2 = require('./shared/preset-mini.12bd206f.cjs');
12
- require('./shared/preset-mini.b5a73465.cjs');
10
+ const _default = require('./shared/preset-mini.7713e984.cjs');
11
+ const _default$2 = require('./shared/preset-mini.47479103.cjs');
12
+ require('./shared/preset-mini.36f890d6.cjs');
13
13
 
14
14
  const preflights = [
15
15
  {
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import { entriesToCss, toArray } from '@unocss/core';
2
- import './shared/preset-mini.a6daaf18.mjs';
3
- export { p as parseColor } from './shared/preset-mini.ca595ab5.mjs';
4
- import { r as rules } from './shared/preset-mini.6b96b995.mjs';
2
+ import './shared/preset-mini.0e65716b.mjs';
3
+ export { p as parseColor } from './shared/preset-mini.1f0aea1e.mjs';
4
+ import { r as rules } from './shared/preset-mini.88693f7d.mjs';
5
5
  export { c as colors } from './shared/preset-mini.65ac75be.mjs';
6
- import { t as theme } from './shared/preset-mini.0a36abfc.mjs';
7
- export { t as theme } from './shared/preset-mini.0a36abfc.mjs';
8
- import { v as variants } from './shared/preset-mini.7ae92961.mjs';
9
- import './shared/preset-mini.d79c2b40.mjs';
6
+ import { t as theme } from './shared/preset-mini.d4b3c145.mjs';
7
+ export { t as theme } from './shared/preset-mini.d4b3c145.mjs';
8
+ import { v as variants } from './shared/preset-mini.895c0603.mjs';
9
+ import './shared/preset-mini.29117527.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('./shared/preset-mini.8953ff1a.cjs');
6
- const _default = require('./shared/preset-mini.435805c5.cjs');
7
- require('./shared/preset-mini.e54ce13d.cjs');
5
+ const decoration = require('./shared/preset-mini.0c11b1ec.cjs');
6
+ const _default = require('./shared/preset-mini.b496633c.cjs');
7
+ require('./shared/preset-mini.87096f14.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, 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.a6daaf18.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.6b96b995.mjs';
3
- import './shared/preset-mini.ca595ab5.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.0e65716b.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.88693f7d.mjs';
3
+ import './shared/preset-mini.1f0aea1e.mjs';
4
4
  import '@unocss/core';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./preset-mini.e54ce13d.cjs');
3
+ const colors = require('./preset-mini.87096f14.cjs');
4
4
  const core = require('@unocss/core');
5
5
 
6
6
  const verticalAlignAlias = {
@@ -71,9 +71,9 @@ const borders = [
71
71
  [/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
72
72
  [/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
73
73
  [/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/, handlerRounded, { autocomplete: ["(border|b)-(rounded|rd)", "(border|b)-(rounded|rd)-<num>", "(rounded|rd)", "(rounded|rd)-<num>"] }],
74
- [/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/, handlerRounded],
74
+ [/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/, handlerRounded],
75
75
  [/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/, handlerRounded],
76
- [/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/, handlerRounded],
76
+ [/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/, handlerRounded],
77
77
  [/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/, handlerRounded],
78
78
  [/^(?:border|b)-(?:style-)?()(.+)$/, handlerBorderStyle, { autocomplete: ["(border|b)-style", `(border|b)-(${borderStyles.join("|")})`, "(border|b)-<directions>-style", `(border|b)-<directions>-(${borderStyles.join("|")})`, `(border|b)-<directions>-style-(${borderStyles.join("|")})`, `(border|b)-style-(${borderStyles.join("|")})`] }],
79
79
  [/^(?:border|b)-([xy])-(?:style-)?(.+)$/, handlerBorderStyle],
@@ -143,7 +143,7 @@ function handlerBorderStyle([, a = "", s]) {
143
143
 
144
144
  const transitionPropertyGroup = {
145
145
  all: "all",
146
- colors: ["color", "background-color", "border-color", "text-decoration-color", "fill", "stroke"].join(","),
146
+ colors: ["color", "background-color", "border-color", "outline-color", "text-decoration-color", "fill", "stroke"].join(","),
147
147
  none: "none",
148
148
  opacity: "opacity",
149
149
  shadow: "box-shadow",
@@ -407,6 +407,7 @@ const insets = [
407
407
  ]
408
408
  }
409
409
  ],
410
+ [/^(?:position-|pos-)?(start|end)-(.+)$/, handleInsetValues],
410
411
  [/^(?:position-|pos-)?inset-([xy])-(.+)$/, handleInsetValues],
411
412
  [/^(?:position-|pos-)?inset-([rltbse])-(.+)$/, handleInsetValues],
412
413
  [/^(?:position-|pos-)?inset-(block|inline)-(.+)$/, handleInsetValues],
@@ -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, s as splitShorthand, i as colorableShadows, j as insetMap, k as positionMap, x as xyzMap } from './preset-mini.ca595ab5.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, s as splitShorthand, i as colorableShadows, j as insetMap, k as positionMap, x as xyzMap } from './preset-mini.1f0aea1e.mjs';
2
2
  import { toArray } from '@unocss/core';
3
3
 
4
4
  const verticalAlignAlias = {
@@ -69,9 +69,9 @@ const borders = [
69
69
  [/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
70
70
  [/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/, handlerBorderOpacity],
71
71
  [/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/, handlerRounded, { autocomplete: ["(border|b)-(rounded|rd)", "(border|b)-(rounded|rd)-<num>", "(rounded|rd)", "(rounded|rd)-<num>"] }],
72
- [/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/, handlerRounded],
72
+ [/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/, handlerRounded],
73
73
  [/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/, handlerRounded],
74
- [/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/, handlerRounded],
74
+ [/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/, handlerRounded],
75
75
  [/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/, handlerRounded],
76
76
  [/^(?:border|b)-(?:style-)?()(.+)$/, handlerBorderStyle, { autocomplete: ["(border|b)-style", `(border|b)-(${borderStyles.join("|")})`, "(border|b)-<directions>-style", `(border|b)-<directions>-(${borderStyles.join("|")})`, `(border|b)-<directions>-style-(${borderStyles.join("|")})`, `(border|b)-style-(${borderStyles.join("|")})`] }],
77
77
  [/^(?:border|b)-([xy])-(?:style-)?(.+)$/, handlerBorderStyle],
@@ -141,7 +141,7 @@ function handlerBorderStyle([, a = "", s]) {
141
141
 
142
142
  const transitionPropertyGroup = {
143
143
  all: "all",
144
- colors: ["color", "background-color", "border-color", "text-decoration-color", "fill", "stroke"].join(","),
144
+ colors: ["color", "background-color", "border-color", "outline-color", "text-decoration-color", "fill", "stroke"].join(","),
145
145
  none: "none",
146
146
  opacity: "opacity",
147
147
  shadow: "box-shadow",
@@ -405,6 +405,7 @@ const insets = [
405
405
  ]
406
406
  }
407
407
  ],
408
+ [/^(?:position-|pos-)?(start|end)-(.+)$/, handleInsetValues],
408
409
  [/^(?:position-|pos-)?inset-([xy])-(.+)$/, handleInsetValues],
409
410
  [/^(?:position-|pos-)?inset-([rltbse])-(.+)$/, handleInsetValues],
410
411
  [/^(?:position-|pos-)?inset-(block|inline)-(.+)$/, handleInsetValues],
@@ -20,7 +20,9 @@ const directionMap = {
20
20
  const insetMap = {
21
21
  ...directionMap,
22
22
  s: ["-inset-inline-start"],
23
+ start: ["-inset-inline-start"],
23
24
  e: ["-inset-inline-end"],
25
+ end: ["-inset-inline-end"],
24
26
  bs: ["-inset-block-start"],
25
27
  be: ["-inset-block-end"],
26
28
  is: ["-inset-inline-start"],
@@ -44,14 +46,20 @@ const cornerMap = {
44
46
  "": [""],
45
47
  "bs": ["-start-start", "-start-end"],
46
48
  "be": ["-end-start", "-end-end"],
49
+ "s": ["-end-start", "-start-start"],
47
50
  "is": ["-end-start", "-start-start"],
51
+ "e": ["-start-end", "-end-end"],
48
52
  "ie": ["-start-end", "-end-end"],
53
+ "ss": ["-start-start"],
49
54
  "bs-is": ["-start-start"],
50
55
  "is-bs": ["-start-start"],
56
+ "se": ["-start-end"],
51
57
  "bs-ie": ["-start-end"],
52
58
  "ie-bs": ["-start-end"],
59
+ "es": ["-end-start"],
53
60
  "be-is": ["-end-start"],
54
61
  "is-be": ["-end-start"],
62
+ "ee": ["-end-end"],
55
63
  "be-ie": ["-end-end"],
56
64
  "ie-be": ["-end-end"]
57
65
  };
@@ -248,8 +256,12 @@ function bracketWithType(str, requiredType) {
248
256
  case "quoted":
249
257
  return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, '"$1"');
250
258
  }
251
- return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (v) => {
252
- return v.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ");
259
+ return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (match2) => {
260
+ const vars = [];
261
+ return match2.replace(/var\((--.+?)[,)]/g, (match3, g1) => {
262
+ vars.push(g1);
263
+ return match3.replace(g1, "--un-calc");
264
+ }).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
253
265
  });
254
266
  }
255
267
  }
@@ -1,5 +1,5 @@
1
1
  import { escapeRegExp } from '@unocss/core';
2
- import { q as getBracket } from './preset-mini.ca595ab5.mjs';
2
+ import { q as getBracket } from './preset-mini.1f0aea1e.mjs';
3
3
 
4
4
  const variantMatcher = (name, handler) => {
5
5
  let re;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const core = require('@unocss/core');
4
- const colors = require('./preset-mini.e54ce13d.cjs');
4
+ const colors = require('./preset-mini.87096f14.cjs');
5
5
 
6
6
  const variantMatcher = (name, handler) => {
7
7
  let re;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const colors = require('./preset-mini.e54ce13d.cjs');
3
+ const colors = require('./preset-mini.87096f14.cjs');
4
4
  const core = require('@unocss/core');
5
- const variants$1 = require('./preset-mini.b5a73465.cjs');
5
+ const variants$1 = require('./preset-mini.36f890d6.cjs');
6
6
 
7
7
  const variantAria = {
8
8
  name: "aria",
@@ -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.8953ff1a.cjs');
5
- require('./preset-mini.e54ce13d.cjs');
4
+ const decoration = require('./preset-mini.0c11b1ec.cjs');
5
+ require('./preset-mini.87096f14.cjs');
6
6
  require('@unocss/core');
7
7
 
8
8
  const fontFamily = {
@@ -22,7 +22,9 @@ const directionMap = {
22
22
  const insetMap = {
23
23
  ...directionMap,
24
24
  s: ["-inset-inline-start"],
25
+ start: ["-inset-inline-start"],
25
26
  e: ["-inset-inline-end"],
27
+ end: ["-inset-inline-end"],
26
28
  bs: ["-inset-block-start"],
27
29
  be: ["-inset-block-end"],
28
30
  is: ["-inset-inline-start"],
@@ -46,14 +48,20 @@ const cornerMap = {
46
48
  "": [""],
47
49
  "bs": ["-start-start", "-start-end"],
48
50
  "be": ["-end-start", "-end-end"],
51
+ "s": ["-end-start", "-start-start"],
49
52
  "is": ["-end-start", "-start-start"],
53
+ "e": ["-start-end", "-end-end"],
50
54
  "ie": ["-start-end", "-end-end"],
55
+ "ss": ["-start-start"],
51
56
  "bs-is": ["-start-start"],
52
57
  "is-bs": ["-start-start"],
58
+ "se": ["-start-end"],
53
59
  "bs-ie": ["-start-end"],
54
60
  "ie-bs": ["-start-end"],
61
+ "es": ["-end-start"],
55
62
  "be-is": ["-end-start"],
56
63
  "is-be": ["-end-start"],
64
+ "ee": ["-end-end"],
57
65
  "be-ie": ["-end-end"],
58
66
  "ie-be": ["-end-end"]
59
67
  };
@@ -250,8 +258,12 @@ function bracketWithType(str, requiredType) {
250
258
  case "quoted":
251
259
  return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, '"$1"');
252
260
  }
253
- return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (v) => {
254
- return v.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ");
261
+ return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (match2) => {
262
+ const vars = [];
263
+ return match2.replace(/var\((--.+?)[,)]/g, (match3, g1) => {
264
+ vars.push(g1);
265
+ return match3.replace(g1, "--un-calc");
266
+ }).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
255
267
  });
256
268
  }
257
269
  }
@@ -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.a6daaf18.mjs';
2
- import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.ca595ab5.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.0e65716b.mjs';
2
+ import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.1f0aea1e.mjs';
3
3
  import { warnOnce } from '@unocss/core';
4
4
 
5
5
  const opacity = [
@@ -212,7 +212,7 @@ const cssVariables = [
212
212
  }]
213
213
  ];
214
214
  const cssProperty = [
215
- [/^\[(--(\w|\\\W)+|[\w-]+):(.+)\]$/, ([match, prop, , value]) => {
215
+ [/^\[(--(\w|\\\W)+|[\w-]+):([^:].*)\]$/, ([match, prop, , value]) => {
216
216
  if (!isURI(match.slice(1, -1)))
217
217
  return { [prop]: handler.bracket(`[${value}]`) };
218
218
  }]
@@ -1,6 +1,6 @@
1
- import { h as handler, l as resolveBreakpoints, q as getBracket, C as CONTROL_MINI_NO_NEGATIVE, t as getComponent } from './preset-mini.ca595ab5.mjs';
1
+ import { h as handler, l as resolveBreakpoints, q as getBracket, C as CONTROL_MINI_NO_NEGATIVE, t as getComponent } from './preset-mini.1f0aea1e.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.d79c2b40.mjs';
3
+ import { v as variantGetParameter, a as variantGetBracket, b as variantParentMatcher, c as variantMatcher } from './preset-mini.29117527.mjs';
4
4
 
5
5
  const variantAria = {
6
6
  name: "aria",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const decoration = require('./preset-mini.8953ff1a.cjs');
4
- const colors = require('./preset-mini.e54ce13d.cjs');
3
+ const decoration = require('./preset-mini.0c11b1ec.cjs');
4
+ const colors = require('./preset-mini.87096f14.cjs');
5
5
  const core = require('@unocss/core');
6
6
 
7
7
  const opacity = [
@@ -214,7 +214,7 @@ const cssVariables = [
214
214
  }]
215
215
  ];
216
216
  const cssProperty = [
217
- [/^\[(--(\w|\\\W)+|[\w-]+):(.+)\]$/, ([match, prop, , value]) => {
217
+ [/^\[(--(\w|\\\W)+|[\w-]+):([^:].*)\]$/, ([match, prop, , value]) => {
218
218
  if (!isURI(match.slice(1, -1)))
219
219
  return { [prop]: colors.handler.bracket(`[${value}]`) };
220
220
  }]
@@ -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.a6daaf18.mjs';
3
- import './preset-mini.ca595ab5.mjs';
2
+ import { P as transformBase, Q as boxShadowsBase, R as ringBase } from './preset-mini.0e65716b.mjs';
3
+ import './preset-mini.1f0aea1e.mjs';
4
4
  import '@unocss/core';
5
5
 
6
6
  const fontFamily = {
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.43dfafb9.cjs');
7
- require('./shared/preset-mini.8953ff1a.cjs');
8
- require('./shared/preset-mini.e54ce13d.cjs');
6
+ const _default = require('./shared/preset-mini.7713e984.cjs');
7
+ require('./shared/preset-mini.0c11b1ec.cjs');
8
+ require('./shared/preset-mini.87096f14.cjs');
9
9
  require('@unocss/core');
10
10
 
11
11
 
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.0a36abfc.mjs';
3
- import './shared/preset-mini.a6daaf18.mjs';
4
- import './shared/preset-mini.ca595ab5.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.d4b3c145.mjs';
3
+ import './shared/preset-mini.0e65716b.mjs';
4
+ import './shared/preset-mini.1f0aea1e.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('./shared/preset-mini.e54ce13d.cjs');
6
- const variants = require('./shared/preset-mini.b5a73465.cjs');
5
+ const colors = require('./shared/preset-mini.87096f14.cjs');
6
+ const variants = require('./shared/preset-mini.36f890d6.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 getBracket, t as getComponent, z as getComponents, g as globalKeywords, w as h, h as handler, a as hasParseableColor, u as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, v as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, s as splitShorthand, y as valueHandlers, x as xyzMap } from './shared/preset-mini.ca595ab5.mjs';
2
- export { a as variantGetBracket, v as variantGetParameter, c as variantMatcher, b as variantParentMatcher } from './shared/preset-mini.d79c2b40.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, t as getComponent, z as getComponents, g as globalKeywords, w as h, h as handler, a as hasParseableColor, u as hex2rgba, j as insetMap, m as makeGlobalStaticRules, p as parseColor, v as parseCssColor, k as positionMap, l as resolveBreakpoints, r as resolveVerticalBreakpoints, s as splitShorthand, y as valueHandlers, x as xyzMap } from './shared/preset-mini.1f0aea1e.mjs';
2
+ export { a as variantGetBracket, v as variantGetParameter, c as variantMatcher, b as variantParentMatcher } from './shared/preset-mini.29117527.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.12bd206f.cjs');
6
- require('./shared/preset-mini.e54ce13d.cjs');
5
+ const _default = require('./shared/preset-mini.47479103.cjs');
6
+ require('./shared/preset-mini.87096f14.cjs');
7
7
  require('@unocss/core');
8
- require('./shared/preset-mini.b5a73465.cjs');
8
+ require('./shared/preset-mini.36f890d6.cjs');
9
9
 
10
10
 
11
11
 
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.7ae92961.mjs';
2
- import './shared/preset-mini.ca595ab5.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.895c0603.mjs';
2
+ import './shared/preset-mini.1f0aea1e.mjs';
3
3
  import '@unocss/core';
4
- import './shared/preset-mini.d79c2b40.mjs';
4
+ import './shared/preset-mini.29117527.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.49.0",
3
+ "version": "0.49.2",
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.49.0"
64
+ "@unocss/core": "0.49.2"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",