@unocss/preset-mini 0.63.2 → 0.63.4

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
@@ -3,8 +3,8 @@ import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants
3
3
  import { g as globalKeywords } from './shared/preset-mini.Cay6Ue29.mjs';
4
4
  export { k as parseColor } from './shared/preset-mini.Cay6Ue29.mjs';
5
5
  import { t as theme } from './shared/preset-mini.DyJsPAde.mjs';
6
- import { r as rules } from './shared/preset-mini.DNbMiFEc.mjs';
7
- import { j as variants } from './shared/preset-mini.DsZi5feL.mjs';
6
+ import { r as rules } from './shared/preset-mini.K1rIaInm.mjs';
7
+ import { j as variants } from './shared/preset-mini.BAAWlHwJ.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
10
  import './shared/preset-mini.Cw_oISCI.mjs';
package/dist/rules.mjs CHANGED
@@ -1,4 +1,4 @@
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.DNbMiFEc.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.K1rIaInm.mjs';
2
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, 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, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.Cw_oISCI.mjs';
3
3
  import './shared/preset-mini.Cay6Ue29.mjs';
4
4
  import '@unocss/core';
@@ -1,6 +1,6 @@
1
1
  import { variantGetParameter, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
2
2
  import { a as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE } from './preset-mini.Cay6Ue29.mjs';
3
- import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
3
+ import { escapeRegExp, escapeSelector } from '@unocss/core';
4
4
 
5
5
  const variantAria = {
6
6
  name: "aria",
@@ -179,7 +179,6 @@ const variantContainerQuery = {
179
179
  container = ctx.theme.containers?.[match] ?? "";
180
180
  }
181
181
  if (container) {
182
- warnOnce("The container query variant is experimental and may not follow semver.");
183
182
  let order = 1e3 + Object.keys(ctx.theme.containers ?? {}).indexOf(match);
184
183
  if (label)
185
184
  order += 1e3;
@@ -636,9 +635,7 @@ function taggedPseudoClassMatcher(tag, parent, combinator) {
636
635
  const result = matchBracket(input) || matchPseudo(input) || matchPseudoVar(input);
637
636
  if (!result)
638
637
  return;
639
- const [label, matcher, prefix, pseudoName = ""] = result;
640
- if (label !== "")
641
- warnOnce("The labeled variant is experimental and may not follow semver.");
638
+ const [_label, matcher, prefix, pseudoName = ""] = result;
642
639
  return {
643
640
  matcher,
644
641
  handle: (input2, next) => next({
@@ -1,7 +1,7 @@
1
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, m as colorableShadows, s as splitShorthand } from './preset-mini.Cay6Ue29.mjs';
2
2
  import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
3
- import { warnOnce, toArray } from '@unocss/core';
4
3
  import { g as contains, p as pointerEvents, e as appearances, d as displays, s 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 } from './preset-mini.Cw_oISCI.mjs';
4
+ import { toArray } from '@unocss/core';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -218,7 +218,6 @@ const colorScheme = [
218
218
 
219
219
  const containerParent = [
220
220
  [/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
221
- warnOnce("The container query rule is experimental and may not follow semver.");
222
221
  return {
223
222
  "container-type": v ?? "inline-size",
224
223
  "container-name": l
package/dist/utils.d.mts CHANGED
@@ -43,8 +43,8 @@ declare namespace handlers {
43
43
  export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
44
44
  }
45
45
 
46
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
47
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
46
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
47
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
48
48
 
49
49
  declare const directionMap: Record<string, string[]>;
50
50
  declare const insetMap: Record<string, string[]>;
package/dist/utils.d.ts CHANGED
@@ -43,8 +43,8 @@ declare namespace handlers {
43
43
  export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
44
44
  }
45
45
 
46
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
47
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "px" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
46
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
47
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "px" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
48
48
 
49
49
  declare const directionMap: Record<string, string[]>;
50
50
  declare const insetMap: Record<string, string[]>;
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as calcMaxWidthBySize, v as variantAria, b as variantBreakpoints, d as variantChildren, g as variantColorsMediaOrClass, e as variantCombinators, f as variantContainerQuery, p as variantCssLayer, n as variantCustomMedia, h as variantDataAttribute, l as variantImportant, q as variantInternalLayer, k as variantLanguageDirections, u as variantNegative, z as variantPartClasses, m as variantPrint, x as variantPseudoClassFunctions, w as variantPseudoClassesAndElements, r as variantScope, o as variantSelector, A as variantStartingStyle, B as variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.DsZi5feL.mjs';
1
+ export { c as calcMaxWidthBySize, v as variantAria, b as variantBreakpoints, d as variantChildren, g as variantColorsMediaOrClass, e as variantCombinators, f as variantContainerQuery, p as variantCssLayer, n as variantCustomMedia, h as variantDataAttribute, l as variantImportant, q as variantInternalLayer, k as variantLanguageDirections, u as variantNegative, z as variantPartClasses, m as variantPrint, x as variantPseudoClassFunctions, w as variantPseudoClassesAndElements, r as variantScope, o as variantSelector, A as variantStartingStyle, B as variantSupports, a as variantTaggedAriaAttributes, i as variantTaggedDataAttributes, y as variantTaggedPseudoClasses, t as variantTheme, s as variantVariables, j as variants } from './shared/preset-mini.BAAWlHwJ.mjs';
2
2
  import '@unocss/rule-utils';
3
3
  import './shared/preset-mini.Cay6Ue29.mjs';
4
4
  import '@unocss/core';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "0.63.2",
4
+ "version": "0.63.4",
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/extractor-arbitrary-variants": "0.63.2",
60
- "@unocss/core": "0.63.2",
61
- "@unocss/rule-utils": "0.63.2"
59
+ "@unocss/core": "0.63.4",
60
+ "@unocss/extractor-arbitrary-variants": "0.63.4",
61
+ "@unocss/rule-utils": "0.63.4"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",