@unocss/preset-mini 66.5.6 → 66.5.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.
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.Cdp6npIx.mjs';
4
- export { k as parseColor } from './shared/preset-mini.Cdp6npIx.mjs';
5
- import { i as variants } from './shared/preset-mini.qZ_LpAyQ.mjs';
6
- import { r as rules } from './shared/preset-mini.DRIYNCtU.mjs';
7
- import { t as theme } from './shared/preset-mini.DJIbJ1xi.mjs';
3
+ import { g as globalKeywords } from './shared/preset-mini.DBTjVFxS.mjs';
4
+ export { k as parseColor } from './shared/preset-mini.DBTjVFxS.mjs';
5
+ import { i as variants } from './shared/preset-mini.B_2UJsV2.mjs';
6
+ import { r as rules } from './shared/preset-mini.QLusboLD.mjs';
7
+ import { t as theme } from './shared/preset-mini.kmtdc_h1.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.DC_GL9Sv.mjs';
10
+ import './shared/preset-mini.CVEK1uAa.mjs';
11
11
 
12
12
  function preflights(options) {
13
13
  if (options.preflight) {
package/dist/rules.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.DRIYNCtU.mjs';
2
- export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, q as fieldSizing, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, s as transformBase, x as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.DC_GL9Sv.mjs';
3
- import './shared/preset-mini.Cdp6npIx.mjs';
1
+ export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.QLusboLD.mjs';
2
+ export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, q as fieldSizing, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, s as transformBase, x as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.CVEK1uAa.mjs';
3
+ import './shared/preset-mini.DBTjVFxS.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -1,6 +1,6 @@
1
1
  import { escapeSelector, escapeRegExp, toArray } from '@unocss/core';
2
2
  import { variantGetParameter, calcMaxWidthBySize, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent, createPartClasses, createPseudoClassesAndElements, createPseudoClassFunctions, createTaggedPseudoClasses } from '@unocss/rule-utils';
3
- import { a as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE } from './preset-mini.Cdp6npIx.mjs';
3
+ import { a as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE } from './preset-mini.DBTjVFxS.mjs';
4
4
 
5
5
  const variantAria = {
6
6
  name: "aria",
@@ -1,4 +1,4 @@
1
- import { q as makeGlobalStaticRules, a as h, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.Cdp6npIx.mjs';
1
+ import { q as makeGlobalStaticRules, a as h, g as globalKeywords, l as colorResolver, t as isCSSMathFn, n as hasParseableColor, m as colorableShadows, p as positionMap, w as transformXYZ } from './preset-mini.DBTjVFxS.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"];
@@ -533,7 +533,7 @@ function colorableShadows(shadows, colorVar) {
533
533
  const color = parseCssColor(components.pop());
534
534
  if (color)
535
535
  colorVarValue = `, ${colorToString(color)}`;
536
- } else if (lastComp && cssVarFnRE.test(lastComp)) {
536
+ } else if (lastComp && lastComp.startsWith("var(")) {
537
537
  const color = components.pop();
538
538
  colorVarValue = `, ${color}`;
539
539
  }
@@ -1,6 +1,6 @@
1
- import { g as globalKeywords, a as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, i as insetMap, r as resolveBreakpoints, j as directionSize, s as splitShorthand, m as colorableShadows } from './preset-mini.Cdp6npIx.mjs';
1
+ import { g as globalKeywords, a as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, i as insetMap, r as resolveBreakpoints, j as directionSize, s as splitShorthand, m as colorableShadows } from './preset-mini.DBTjVFxS.mjs';
2
2
  import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
3
- import { g as contains, p as pointerEvents, e as appearances, d as displays, x as transforms, f as cursors, u as userSelects, h as resizes, l as textOverflows, w as whitespaces, k as breaks, t as textWraps, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, i as contentVisibility, j as contents, q as fieldSizing } from './preset-mini.DC_GL9Sv.mjs';
3
+ import { g as contains, p as pointerEvents, e as appearances, d as displays, x as transforms, f as cursors, u as userSelects, h as resizes, l as textOverflows, w as whitespaces, k as breaks, t as textWraps, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, i as contentVisibility, j as contents, q as fieldSizing } from './preset-mini.CVEK1uAa.mjs';
4
4
  import { toArray } from '@unocss/core';
5
5
 
6
6
  const verticalAlignAlias = {
@@ -1,5 +1,5 @@
1
1
  import { colors } from '../colors.mjs';
2
- import { r as ringBase, b as boxShadowsBase, s as transformBase } from './preset-mini.DC_GL9Sv.mjs';
2
+ import { r as ringBase, b as boxShadowsBase, s as transformBase } from './preset-mini.CVEK1uAa.mjs';
3
3
 
4
4
  const blur = {
5
5
  "DEFAULT": "8px",
package/dist/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { colors } from './colors.mjs';
2
- export { u as baseSize, A as blockSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, G as containers, d as dropShadow, m as duration, f as fontFamily, a as fontSize, i as fontWeight, C as height, B as inlineSize, h as letterSpacing, l as lineHeight, k as lineWidth, E as maxBlockSize, D as maxHeight, F as maxInlineSize, y as maxWidth, p as media, q as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, x as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.DJIbJ1xi.mjs';
3
- import './shared/preset-mini.DC_GL9Sv.mjs';
4
- import './shared/preset-mini.Cdp6npIx.mjs';
2
+ export { u as baseSize, A as blockSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, G as containers, d as dropShadow, m as duration, f as fontFamily, a as fontSize, i as fontWeight, C as height, B as inlineSize, h as letterSpacing, l as lineHeight, k as lineWidth, E as maxBlockSize, D as maxHeight, F as maxInlineSize, y as maxWidth, p as media, q as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, x as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.kmtdc_h1.mjs';
3
+ import './shared/preset-mini.CVEK1uAa.mjs';
4
+ import './shared/preset-mini.DBTjVFxS.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.d.mts CHANGED
@@ -61,8 +61,8 @@ declare namespace handlers {
61
61
  };
62
62
  }
63
63
 
64
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
65
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
64
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
65
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
66
66
 
67
67
  declare const directionMap: Record<string, string[]>;
68
68
  declare const insetMap: Record<string, string[]>;
package/dist/utils.d.ts CHANGED
@@ -61,8 +61,8 @@ declare namespace handlers {
61
61
  };
62
62
  }
63
63
 
64
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
65
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
64
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
65
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
66
66
 
67
67
  declare const directionMap: Record<string, string[]>;
68
68
  declare const insetMap: Record<string, string[]>;
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, e as cssMathFnRE, f as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, a as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, b as xyzArray, x as xyzMap } from './shared/preset-mini.Cdp6npIx.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, e as cssMathFnRE, f as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, a as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, b as xyzArray, x as xyzMap } from './shared/preset-mini.DBTjVFxS.mjs';
2
2
  export * from '@unocss/rule-utils';
3
3
  import '@unocss/core';
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.qZ_LpAyQ.mjs';
1
+ export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.B_2UJsV2.mjs';
2
2
  import '@unocss/core';
3
3
  import '@unocss/rule-utils';
4
- import './shared/preset-mini.Cdp6npIx.mjs';
4
+ import './shared/preset-mini.DBTjVFxS.mjs';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "66.5.6",
4
+ "version": "66.5.9",
5
5
  "description": "The minimal preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "dist"
57
57
  ],
58
58
  "dependencies": {
59
- "@unocss/core": "66.5.6",
60
- "@unocss/rule-utils": "66.5.6",
61
- "@unocss/extractor-arbitrary-variants": "66.5.6"
59
+ "@unocss/core": "66.5.9",
60
+ "@unocss/rule-utils": "66.5.9",
61
+ "@unocss/extractor-arbitrary-variants": "66.5.9"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",