@unocss/preset-mini 0.58.4 → 0.58.6

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 (48) hide show
  1. package/dist/colors.d.cts +1 -1
  2. package/dist/colors.d.mts +1 -1
  3. package/dist/colors.d.ts +1 -1
  4. package/dist/index.cjs +5 -5
  5. package/dist/index.d.cts +9 -4
  6. package/dist/index.d.mts +9 -4
  7. package/dist/index.d.ts +9 -4
  8. package/dist/index.mjs +6 -6
  9. package/dist/rules.cjs +3 -3
  10. package/dist/rules.d.cts +1 -1
  11. package/dist/rules.d.mts +1 -1
  12. package/dist/rules.d.ts +1 -1
  13. package/dist/rules.mjs +3 -3
  14. package/dist/shared/{preset-mini.e29ECnbA.cjs → preset-mini.0WrbUoK3.cjs} +22 -2
  15. package/dist/shared/{preset-mini.zC_vZg74.mjs → preset-mini.8dLXLISR.mjs} +1 -1
  16. package/dist/shared/{preset-mini.nzD7Hw_0.d.mts → preset-mini.Bn80FiPC.d.cts} +1 -1
  17. package/dist/shared/{preset-mini.0UJFjS_1.mjs → preset-mini.Br134YCU.mjs} +1 -1
  18. package/dist/shared/{preset-mini.fgwIVvur.cjs → preset-mini.BxBfcoUz.cjs} +1 -1
  19. package/dist/shared/{preset-mini.0CcynBZx.mjs → preset-mini.CNCkGnlK.mjs} +14 -6
  20. package/dist/shared/{preset-mini.20fUBpHS.d.cts → preset-mini.Cc6dq-PF.d.mts} +1 -1
  21. package/dist/shared/{preset-mini.YxT4AwuI.d.cts → preset-mini.Cu-XLFZP.d.mts} +1 -1
  22. package/dist/shared/{preset-mini.-3Qybdh5.cjs → preset-mini.Cw_e0bCs.cjs} +1 -1
  23. package/dist/shared/{preset-mini.UhMMbd34.cjs → preset-mini.Czu8Mn6N.cjs} +14 -6
  24. package/dist/shared/{preset-mini.qKuB9vcd.cjs → preset-mini.D4MQQDiO.cjs} +29 -15
  25. package/dist/shared/{preset-mini.CoNueTEa.mjs → preset-mini.DFa-1lZf.mjs} +30 -16
  26. package/dist/shared/{preset-mini.gVNz4b9u.d.ts → preset-mini.DIb57JCK.d.ts} +1 -1
  27. package/dist/shared/{preset-mini.8w2rXvMk.d.ts → preset-mini.DSkIvCb3.d.ts} +1 -1
  28. package/dist/shared/{preset-mini.eBWIK6gx.mjs → preset-mini.X5oTOtIs.mjs} +23 -4
  29. package/dist/shared/{preset-mini.vMrmsD3H.d.mts → preset-mini.bn9iWcrm.d.cts} +1 -1
  30. package/dist/theme.cjs +3 -3
  31. package/dist/theme.d.cts +3 -3
  32. package/dist/theme.d.mts +3 -3
  33. package/dist/theme.d.ts +3 -3
  34. package/dist/theme.mjs +3 -3
  35. package/dist/utils.cjs +9 -5
  36. package/dist/utils.d.cts +4 -4
  37. package/dist/utils.d.mts +4 -4
  38. package/dist/utils.d.ts +4 -4
  39. package/dist/utils.mjs +1 -1
  40. package/dist/variants.cjs +3 -2
  41. package/dist/variants.d.cts +5 -4
  42. package/dist/variants.d.mts +5 -4
  43. package/dist/variants.d.ts +5 -4
  44. package/dist/variants.mjs +2 -2
  45. package/package.json +4 -4
  46. /package/dist/shared/{preset-mini.hpPpX7ws.d.cts → preset-mini.P5Rzuhf5.d.cts} +0 -0
  47. /package/dist/shared/{preset-mini.hpPpX7ws.d.mts → preset-mini.P5Rzuhf5.d.mts} +0 -0
  48. /package/dist/shared/{preset-mini.hpPpX7ws.d.ts → preset-mini.P5Rzuhf5.d.ts} +0 -0
package/dist/colors.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.hpPpX7ws.cjs';
1
+ import { C as Colors } from './shared/preset-mini.P5Rzuhf5.cjs';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
package/dist/colors.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.hpPpX7ws.mjs';
1
+ import { C as Colors } from './shared/preset-mini.P5Rzuhf5.mjs';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
package/dist/colors.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.hpPpX7ws.js';
1
+ import { C as Colors } from './shared/preset-mini.P5Rzuhf5.js';
2
2
  import '@unocss/core';
3
3
 
4
4
  declare const colors: {
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 utilities = require('./shared/preset-mini.UhMMbd34.cjs');
8
- const _default = require('./shared/preset-mini.fgwIVvur.cjs');
9
- const _default$1 = require('./shared/preset-mini.qKuB9vcd.cjs');
10
- const _default$2 = require('./shared/preset-mini.e29ECnbA.cjs');
7
+ const utilities = require('./shared/preset-mini.Czu8Mn6N.cjs');
8
+ const _default = require('./shared/preset-mini.BxBfcoUz.cjs');
9
+ const _default$1 = require('./shared/preset-mini.D4MQQDiO.cjs');
10
+ const _default$2 = require('./shared/preset-mini.0WrbUoK3.cjs');
11
11
  const colors = require('./colors.cjs');
12
12
  require('@unocss/rule-utils');
13
- require('./shared/preset-mini.-3Qybdh5.cjs');
13
+ require('./shared/preset-mini.Cw_e0bCs.cjs');
14
14
 
15
15
  const preflights = [
16
16
  {
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.cjs';
4
- export { a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.cjs';
5
- export { t as theme } from './shared/preset-mini.YxT4AwuI.cjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.cjs';
4
+ export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.cjs';
5
+ export { t as theme } from './shared/preset-mini.bn9iWcrm.cjs';
6
6
  export { colors } from './colors.cjs';
7
- export { p as parseColor } from './shared/preset-mini.20fUBpHS.cjs';
7
+ export { p as parseColor } from './shared/preset-mini.Bn80FiPC.cjs';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
@@ -62,6 +62,11 @@ interface PresetMiniOptions extends PresetOptions {
62
62
  */
63
63
  arbitraryVariants?: boolean;
64
64
  }
65
+ /**
66
+ * The basic preset for UnoCSS, with only the most essential utilities.
67
+ *
68
+ * @see https://unocss.dev/presets/mini
69
+ */
65
70
  declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
66
71
 
67
72
  declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.mjs';
4
- export { a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.mjs';
5
- export { t as theme } from './shared/preset-mini.vMrmsD3H.mjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
+ export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
5
+ export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
6
6
  export { colors } from './colors.mjs';
7
- export { p as parseColor } from './shared/preset-mini.nzD7Hw_0.mjs';
7
+ export { p as parseColor } from './shared/preset-mini.Cc6dq-PF.mjs';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
@@ -62,6 +62,11 @@ interface PresetMiniOptions extends PresetOptions {
62
62
  */
63
63
  arbitraryVariants?: boolean;
64
64
  }
65
+ /**
66
+ * The basic preset for UnoCSS, with only the most essential utilities.
67
+ *
68
+ * @see https://unocss.dev/presets/mini
69
+ */
65
70
  declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
66
71
 
67
72
  declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
2
  import { Preflight, PresetOptions, Postprocessor } from '@unocss/core';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.js';
4
- export { a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.js';
5
- export { t as theme } from './shared/preset-mini.gVNz4b9u.js';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
+ export { a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
5
+ export { t as theme } from './shared/preset-mini.DIb57JCK.js';
6
6
  export { colors } from './colors.js';
7
- export { p as parseColor } from './shared/preset-mini.8w2rXvMk.js';
7
+ export { p as parseColor } from './shared/preset-mini.DSkIvCb3.js';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
@@ -62,6 +62,11 @@ interface PresetMiniOptions extends PresetOptions {
62
62
  */
63
63
  arbitraryVariants?: boolean;
64
64
  }
65
+ /**
66
+ * The basic preset for UnoCSS, with only the most essential utilities.
67
+ *
68
+ * @see https://unocss.dev/presets/mini
69
+ */
65
70
  declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
66
71
 
67
72
  declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
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.0CcynBZx.mjs';
4
- export { f as parseColor } from './shared/preset-mini.0CcynBZx.mjs';
5
- import { t as theme } from './shared/preset-mini.zC_vZg74.mjs';
6
- import { r as rules } from './shared/preset-mini.CoNueTEa.mjs';
7
- import { h as variants } from './shared/preset-mini.eBWIK6gx.mjs';
3
+ import { g as globalKeywords } from './shared/preset-mini.CNCkGnlK.mjs';
4
+ export { f as parseColor } from './shared/preset-mini.CNCkGnlK.mjs';
5
+ import { t as theme } from './shared/preset-mini.8dLXLISR.mjs';
6
+ import { r as rules } from './shared/preset-mini.DFa-1lZf.mjs';
7
+ import { h as variants } from './shared/preset-mini.X5oTOtIs.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.0UJFjS_1.mjs';
10
+ import './shared/preset-mini.Br134YCU.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {
package/dist/rules.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const _default = require('./shared/preset-mini.qKuB9vcd.cjs');
4
- const transform = require('./shared/preset-mini.-3Qybdh5.cjs');
5
- require('./shared/preset-mini.UhMMbd34.cjs');
3
+ const _default = require('./shared/preset-mini.D4MQQDiO.cjs');
4
+ const transform = require('./shared/preset-mini.Cw_e0bCs.cjs');
5
+ require('./shared/preset-mini.Czu8Mn6N.cjs');
6
6
  require('@unocss/core');
7
7
  require('@unocss/rule-utils');
8
8
 
package/dist/rules.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.cjs';
2
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.cjs';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
package/dist/rules.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.mjs';
2
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
package/dist/rules.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Rule, CSSEntries, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.js';
2
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
3
3
 
4
4
  declare const verticalAligns: Rule[];
5
5
  declare const textAligns: Rule[];
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.CoNueTEa.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, 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.0UJFjS_1.mjs';
3
- import './shared/preset-mini.0CcynBZx.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.DFa-1lZf.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, 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.Br134YCU.mjs';
3
+ import './shared/preset-mini.CNCkGnlK.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.UhMMbd34.cjs');
3
+ const utilities = require('./preset-mini.Czu8Mn6N.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  const core = require('@unocss/core');
6
6
 
@@ -323,6 +323,23 @@ const variantVariables = {
323
323
  },
324
324
  multiPass: true
325
325
  };
326
+ const variantTheme = {
327
+ name: "theme-variables",
328
+ match(matcher, ctx) {
329
+ if (!ruleUtils.hasThemeFn(matcher))
330
+ return;
331
+ return {
332
+ matcher,
333
+ handle(input, next) {
334
+ return next({
335
+ ...input,
336
+ // entries: [ [ '--css-spacing', '28px' ] ],
337
+ entries: JSON.parse(ruleUtils.transformThemeFn(JSON.stringify(input.entries), ctx.theme))
338
+ });
339
+ }
340
+ };
341
+ }
342
+ };
326
343
 
327
344
  const anchoredNumberRE = /^-?[0-9.]+(?:[a-z]+|%)?$/;
328
345
  const numberRE = /-?[0-9.]+(?:[a-z]+|%)?/;
@@ -502,6 +519,7 @@ const PseudoClasses = Object.fromEntries([
502
519
  "active",
503
520
  "enabled",
504
521
  "disabled",
522
+ "popover-open",
505
523
  // tree-structural
506
524
  "root",
507
525
  "empty",
@@ -746,7 +764,8 @@ function variants(options) {
746
764
  variantScope,
747
765
  variantContainerQuery,
748
766
  variantVariables,
749
- ...variantTaggedDataAttributes
767
+ ...variantTaggedDataAttributes,
768
+ variantTheme
750
769
  ];
751
770
  }
752
771
 
@@ -772,5 +791,6 @@ exports.variantSelector = variantSelector;
772
791
  exports.variantSupports = variantSupports;
773
792
  exports.variantTaggedDataAttributes = variantTaggedDataAttributes;
774
793
  exports.variantTaggedPseudoClasses = variantTaggedPseudoClasses;
794
+ exports.variantTheme = variantTheme;
775
795
  exports.variantVariables = variantVariables;
776
796
  exports.variants = variants;
@@ -1,5 +1,5 @@
1
1
  import { colors } from '../colors.mjs';
2
- import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.0UJFjS_1.mjs';
2
+ import { q as transformBase, b as boxShadowsBase, r as ringBase } from './preset-mini.Br134YCU.mjs';
3
3
 
4
4
  const fontFamily = {
5
5
  sans: [
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.hpPpX7ws.mjs';
2
+ import { T as Theme } from './preset-mini.P5Rzuhf5.cjs';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { b as h, n as makeGlobalStaticRules, g as globalKeywords, j as colorResolver, o as isCSSMathFn, l as hasParseableColor, k as colorableShadows, p as positionMap, x as xyzMap } from './preset-mini.0CcynBZx.mjs';
1
+ import { b as h, n as makeGlobalStaticRules, g as globalKeywords, j as colorResolver, o as isCSSMathFn, l as hasParseableColor, k as colorableShadows, p as positionMap, x as xyzMap } from './preset-mini.CNCkGnlK.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"];
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('../colors.cjs');
4
- const transform = require('./preset-mini.-3Qybdh5.cjs');
4
+ const transform = require('./preset-mini.Cw_e0bCs.cjs');
5
5
 
6
6
  const fontFamily = {
7
7
  sans: [
@@ -413,9 +413,9 @@ function parseColor(body, theme, key) {
413
413
  const bracketOrMain = bracket || main;
414
414
  if (h.numberWithUnit(bracketOrMain))
415
415
  return;
416
- if (/^#[\da-fA-F]+/.test(bracketOrMain))
416
+ if (/^#[\da-fA-F]+$/.test(bracketOrMain))
417
417
  color = bracketOrMain;
418
- else if (/^hex-[\da-fA-F]+/.test(bracketOrMain))
418
+ else if (/^hex-[\da-fA-F]+$/.test(bracketOrMain))
419
419
  color = `#${bracketOrMain.slice(4)}`;
420
420
  else if (main.startsWith("$"))
421
421
  color = h.cssvar(main);
@@ -496,15 +496,23 @@ function colorableShadows(shadows, colorVar) {
496
496
  const components = getStringComponents(shadows[i], " ", 6);
497
497
  if (!components || components.length < 3)
498
498
  return shadows;
499
- if (parseCssColor(components.at(0)))
500
- return shadows;
499
+ let isInset = false;
500
+ const pos = components.indexOf("inset");
501
+ if (pos !== -1) {
502
+ components.splice(pos, 1);
503
+ isInset = true;
504
+ }
501
505
  let colorVarValue = "";
502
- if (parseCssColor(components.at(-1))) {
506
+ if (parseCssColor(components.at(0))) {
507
+ const color = parseCssColor(components.shift());
508
+ if (color)
509
+ colorVarValue = `, ${colorToString(color)}`;
510
+ } else if (parseCssColor(components.at(-1))) {
503
511
  const color = parseCssColor(components.pop());
504
512
  if (color)
505
513
  colorVarValue = `, ${colorToString(color)}`;
506
514
  }
507
- colored.push(`${components.join(" ")} var(${colorVar}${colorVarValue})`);
515
+ colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
508
516
  }
509
517
  return colored;
510
518
  }
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.hpPpX7ws.cjs';
2
+ import { T as Theme } from './preset-mini.P5Rzuhf5.mjs';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
- import { C as Colors } from './preset-mini.hpPpX7ws.cjs';
2
+ import { C as Colors } from './preset-mini.P5Rzuhf5.mjs';
3
3
 
4
4
  declare const theme: {
5
5
  width: {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.UhMMbd34.cjs');
3
+ const utilities = require('./preset-mini.Czu8Mn6N.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"];
@@ -415,9 +415,9 @@ function parseColor(body, theme, key) {
415
415
  const bracketOrMain = bracket || main;
416
416
  if (h.numberWithUnit(bracketOrMain))
417
417
  return;
418
- if (/^#[\da-fA-F]+/.test(bracketOrMain))
418
+ if (/^#[\da-fA-F]+$/.test(bracketOrMain))
419
419
  color = bracketOrMain;
420
- else if (/^hex-[\da-fA-F]+/.test(bracketOrMain))
420
+ else if (/^hex-[\da-fA-F]+$/.test(bracketOrMain))
421
421
  color = `#${bracketOrMain.slice(4)}`;
422
422
  else if (main.startsWith("$"))
423
423
  color = h.cssvar(main);
@@ -498,15 +498,23 @@ function colorableShadows(shadows, colorVar) {
498
498
  const components = ruleUtils.getStringComponents(shadows[i], " ", 6);
499
499
  if (!components || components.length < 3)
500
500
  return shadows;
501
- if (ruleUtils.parseCssColor(components.at(0)))
502
- return shadows;
501
+ let isInset = false;
502
+ const pos = components.indexOf("inset");
503
+ if (pos !== -1) {
504
+ components.splice(pos, 1);
505
+ isInset = true;
506
+ }
503
507
  let colorVarValue = "";
504
- if (ruleUtils.parseCssColor(components.at(-1))) {
508
+ if (ruleUtils.parseCssColor(components.at(0))) {
509
+ const color = ruleUtils.parseCssColor(components.shift());
510
+ if (color)
511
+ colorVarValue = `, ${ruleUtils.colorToString(color)}`;
512
+ } else if (ruleUtils.parseCssColor(components.at(-1))) {
505
513
  const color = ruleUtils.parseCssColor(components.pop());
506
514
  if (color)
507
515
  colorVarValue = `, ${ruleUtils.colorToString(color)}`;
508
516
  }
509
- colored.push(`${components.join(" ")} var(${colorVar}${colorVarValue})`);
517
+ colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
510
518
  }
511
519
  return colored;
512
520
  }
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./preset-mini.UhMMbd34.cjs');
3
+ const utilities = require('./preset-mini.Czu8Mn6N.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  const core = require('@unocss/core');
6
- const transform = require('./preset-mini.-3Qybdh5.cjs');
6
+ const transform = require('./preset-mini.Cw_e0bCs.cjs');
7
7
 
8
8
  const verticalAlignAlias = {
9
9
  "mid": "middle",
@@ -185,6 +185,7 @@ const opacity = [
185
185
  const bgUrlRE = /^\[url\(.+\)\]$/;
186
186
  const bgLengthRE = /^\[length:.+\]$/;
187
187
  const bgPositionRE = /^\[position:.+\]$/;
188
+ const bgGradientRE = /^\[(linear|conic|radial)-gradient\(.+\)\]$/;
188
189
  const bgColors = [
189
190
  [/^bg-(.+)$/, (...args) => {
190
191
  const d = args[0][1];
@@ -194,8 +195,10 @@ const bgColors = [
194
195
  return { "background-size": utilities.h.bracketOfLength(d).split(" ").map((e) => utilities.h.fraction.auto.px.cssvar(e) ?? e).join(" ") };
195
196
  if ((utilities.isSize(d) || bgPositionRE.test(d)) && utilities.h.bracketOfPosition(d) != null)
196
197
  return { "background-position": utilities.h.bracketOfPosition(d).split(" ").map((e) => utilities.h.position.fraction.auto.px.cssvar(e) ?? e).join(" ") };
198
+ if (bgGradientRE.test(d))
199
+ return { "background-image": utilities.h.bracket(d) };
197
200
  return utilities.colorResolver("background-color", "bg", "backgroundColor")(...args);
198
- }],
201
+ }, { autocomplete: "bg-$colors" }],
199
202
  [/^bg-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-bg-opacity": utilities.h.bracket.percent.cssvar(opacity2) }), { autocomplete: "bg-(op|opacity)-<percent>" }]
200
203
  ];
201
204
  const colorScheme = [
@@ -373,6 +376,21 @@ const fonts = [
373
376
  ([, s], { theme }) => ({ "word-spacing": theme.wordSpacing?.[s] || utilities.h.bracket.cssvar.global.rem(s) }),
374
377
  { autocomplete: "word-spacing-$wordSpacing" }
375
378
  ],
379
+ // stretch
380
+ ["font-stretch-normal", { "font-stretch": "normal" }],
381
+ ["font-stretch-ultra-condensed", { "font-stretch": "ultra-condensed" }],
382
+ ["font-stretch-extra-condensed", { "font-stretch": "extra-condensed" }],
383
+ ["font-stretch-condensed", { "font-stretch": "condensed" }],
384
+ ["font-stretch-semi-condensed", { "font-stretch": "semi-condensed" }],
385
+ ["font-stretch-semi-expanded", { "font-stretch": "semi-expanded" }],
386
+ ["font-stretch-expanded", { "font-stretch": "expanded" }],
387
+ ["font-stretch-extra-expanded", { "font-stretch": "extra-expanded" }],
388
+ ["font-stretch-ultra-expanded", { "font-stretch": "ultra-expanded" }],
389
+ [
390
+ /^font-stretch-(.+)$/,
391
+ ([, s]) => ({ "font-stretch": utilities.h.bracket.cssvar.fraction.global(s) }),
392
+ { autocomplete: "font-stretch-<percentage>" }
393
+ ],
376
394
  // family
377
395
  [
378
396
  /^font-(.+)$/,
@@ -518,22 +536,22 @@ const grids = [
518
536
  const v = utilities.h.bracket.number(s);
519
537
  if (v != null)
520
538
  return { [`grid-${rowCol(c)}`]: `span ${v}/span ${v}` };
521
- }, { autocomplete: ["grid-(row|col)-span-<num>", "(row|col)-span-<num>"] }],
539
+ }, { autocomplete: "(grid-row|grid-col|row|col)-span-<num>" }],
522
540
  // starts & ends
523
541
  [/^(?:grid-)?(row|col)-start-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-start`]: utilities.h.bracket.cssvar(v) ?? v })],
524
- [/^(?:grid-)?(row|col)-end-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-end`]: utilities.h.bracket.cssvar(v) ?? v }), { autocomplete: ["grid-(row|col)-(start|end)-<num>"] }],
542
+ [/^(?:grid-)?(row|col)-end-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-end`]: utilities.h.bracket.cssvar(v) ?? v }), { autocomplete: "(grid-row|grid-col|row|col)-(start|end)-<num>" }],
525
543
  // auto flows
526
- [/^(?:grid-)?auto-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({ [`grid-auto-${rowCol(c)}`]: autoDirection(c, theme, v) }), { autocomplete: ["grid-auto-(rows|cols)-<num>"] }],
544
+ [/^(?:grid-)?auto-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({ [`grid-auto-${rowCol(c)}`]: autoDirection(c, theme, v) }), { autocomplete: "(grid-auto|auto)-(rows|cols)-<num>" }],
527
545
  // grid-auto-flow, auto-flow: uno
528
546
  // grid-flow: wind
529
547
  [/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/, ([, v]) => ({ "grid-auto-flow": utilities.h.bracket.cssvar(v) })],
530
548
  [/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/, ([, v]) => ({ "grid-auto-flow": rowCol(v).replace("-", " ") }), { autocomplete: ["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"] }],
531
549
  // templates
532
- [/^grid-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({
550
+ [/^(?:grid-)?(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({
533
551
  [`grid-template-${rowCol(c)}`]: theme[`gridTemplate${rowColTheme(c)}`]?.[v] ?? utilities.h.bracket.cssvar(v)
534
552
  })],
535
- [/^grid-(rows|cols)-minmax-([\w.-]+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(auto-fill,minmax(${d},1fr))` })],
536
- [/^grid-(rows|cols)-(\d+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(${d},minmax(0,1fr))` }), { autocomplete: ["grid-(rows|cols)-<num>", "grid-(rows|cols)-none"] }],
553
+ [/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(auto-fill,minmax(${d},1fr))` })],
554
+ [/^(?:grid-)?(rows|cols)-(\d+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(${d},minmax(0,1fr))` }), { autocomplete: "(grid-rows|grid-cols|rows|cols)-<num>" }],
537
555
  // areas
538
556
  [/^grid-area(s)?-(.+)$/, ([, s, v]) => {
539
557
  if (s != null)
@@ -816,17 +834,13 @@ const cssVariables = [
816
834
  }]
817
835
  ];
818
836
  const cssProperty = [
819
- [/^\[(.*)\]$/, ([_, body], { theme }) => {
837
+ [/^\[(.*)\]$/, ([_, body]) => {
820
838
  if (!body.includes(":"))
821
839
  return;
822
840
  const [prop, ...rest] = body.split(":");
823
841
  const value = rest.join(":");
824
842
  if (!isURI(body) && /^[a-z-]+$/.test(prop) && isValidCSSBody(value)) {
825
- let parsed;
826
- if (ruleUtils.hasThemeFn(value))
827
- parsed = ruleUtils.transformThemeFn(value, theme);
828
- if (!parsed || parsed === value)
829
- parsed = utilities.h.bracket(`[${value}]`);
843
+ const parsed = utilities.h.bracket(`[${value}]`);
830
844
  if (parsed)
831
845
  return { [prop]: parsed };
832
846
  }
@@ -1,7 +1,7 @@
1
- import { g as globalKeywords, b as h, o as isCSSMathFn, j as colorResolver, d as directionMap, l as hasParseableColor, c as cornerMap, f as parseColor, q as isSize, n as makeGlobalStaticRules, k as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, e as directionSize } from './preset-mini.0CcynBZx.mjs';
2
- import { colorToString, colorOpacityToString, hasThemeFn, transformThemeFn } from '@unocss/rule-utils';
1
+ import { g as globalKeywords, b as h, o as isCSSMathFn, j as colorResolver, d as directionMap, l as hasParseableColor, c as cornerMap, f as parseColor, q as isSize, n as makeGlobalStaticRules, k as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, e as directionSize } from './preset-mini.CNCkGnlK.mjs';
2
+ import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
3
3
  import { warnOnce, toArray } from '@unocss/core';
4
- import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.0UJFjS_1.mjs';
4
+ import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.Br134YCU.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -183,6 +183,7 @@ const opacity = [
183
183
  const bgUrlRE = /^\[url\(.+\)\]$/;
184
184
  const bgLengthRE = /^\[length:.+\]$/;
185
185
  const bgPositionRE = /^\[position:.+\]$/;
186
+ const bgGradientRE = /^\[(linear|conic|radial)-gradient\(.+\)\]$/;
186
187
  const bgColors = [
187
188
  [/^bg-(.+)$/, (...args) => {
188
189
  const d = args[0][1];
@@ -192,8 +193,10 @@ const bgColors = [
192
193
  return { "background-size": h.bracketOfLength(d).split(" ").map((e) => h.fraction.auto.px.cssvar(e) ?? e).join(" ") };
193
194
  if ((isSize(d) || bgPositionRE.test(d)) && h.bracketOfPosition(d) != null)
194
195
  return { "background-position": h.bracketOfPosition(d).split(" ").map((e) => h.position.fraction.auto.px.cssvar(e) ?? e).join(" ") };
196
+ if (bgGradientRE.test(d))
197
+ return { "background-image": h.bracket(d) };
195
198
  return colorResolver("background-color", "bg", "backgroundColor")(...args);
196
- }],
199
+ }, { autocomplete: "bg-$colors" }],
197
200
  [/^bg-op(?:acity)?-?(.+)$/, ([, opacity2]) => ({ "--un-bg-opacity": h.bracket.percent.cssvar(opacity2) }), { autocomplete: "bg-(op|opacity)-<percent>" }]
198
201
  ];
199
202
  const colorScheme = [
@@ -371,6 +374,21 @@ const fonts = [
371
374
  ([, s], { theme }) => ({ "word-spacing": theme.wordSpacing?.[s] || h.bracket.cssvar.global.rem(s) }),
372
375
  { autocomplete: "word-spacing-$wordSpacing" }
373
376
  ],
377
+ // stretch
378
+ ["font-stretch-normal", { "font-stretch": "normal" }],
379
+ ["font-stretch-ultra-condensed", { "font-stretch": "ultra-condensed" }],
380
+ ["font-stretch-extra-condensed", { "font-stretch": "extra-condensed" }],
381
+ ["font-stretch-condensed", { "font-stretch": "condensed" }],
382
+ ["font-stretch-semi-condensed", { "font-stretch": "semi-condensed" }],
383
+ ["font-stretch-semi-expanded", { "font-stretch": "semi-expanded" }],
384
+ ["font-stretch-expanded", { "font-stretch": "expanded" }],
385
+ ["font-stretch-extra-expanded", { "font-stretch": "extra-expanded" }],
386
+ ["font-stretch-ultra-expanded", { "font-stretch": "ultra-expanded" }],
387
+ [
388
+ /^font-stretch-(.+)$/,
389
+ ([, s]) => ({ "font-stretch": h.bracket.cssvar.fraction.global(s) }),
390
+ { autocomplete: "font-stretch-<percentage>" }
391
+ ],
374
392
  // family
375
393
  [
376
394
  /^font-(.+)$/,
@@ -516,22 +534,22 @@ const grids = [
516
534
  const v = h.bracket.number(s);
517
535
  if (v != null)
518
536
  return { [`grid-${rowCol(c)}`]: `span ${v}/span ${v}` };
519
- }, { autocomplete: ["grid-(row|col)-span-<num>", "(row|col)-span-<num>"] }],
537
+ }, { autocomplete: "(grid-row|grid-col|row|col)-span-<num>" }],
520
538
  // starts & ends
521
539
  [/^(?:grid-)?(row|col)-start-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-start`]: h.bracket.cssvar(v) ?? v })],
522
- [/^(?:grid-)?(row|col)-end-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-end`]: h.bracket.cssvar(v) ?? v }), { autocomplete: ["grid-(row|col)-(start|end)-<num>"] }],
540
+ [/^(?:grid-)?(row|col)-end-(.+)$/, ([, c, v]) => ({ [`grid-${rowCol(c)}-end`]: h.bracket.cssvar(v) ?? v }), { autocomplete: "(grid-row|grid-col|row|col)-(start|end)-<num>" }],
523
541
  // auto flows
524
- [/^(?:grid-)?auto-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({ [`grid-auto-${rowCol(c)}`]: autoDirection(c, theme, v) }), { autocomplete: ["grid-auto-(rows|cols)-<num>"] }],
542
+ [/^(?:grid-)?auto-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({ [`grid-auto-${rowCol(c)}`]: autoDirection(c, theme, v) }), { autocomplete: "(grid-auto|auto)-(rows|cols)-<num>" }],
525
543
  // grid-auto-flow, auto-flow: uno
526
544
  // grid-flow: wind
527
545
  [/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/, ([, v]) => ({ "grid-auto-flow": h.bracket.cssvar(v) })],
528
546
  [/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/, ([, v]) => ({ "grid-auto-flow": rowCol(v).replace("-", " ") }), { autocomplete: ["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"] }],
529
547
  // templates
530
- [/^grid-(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({
548
+ [/^(?:grid-)?(rows|cols)-(.+)$/, ([, c, v], { theme }) => ({
531
549
  [`grid-template-${rowCol(c)}`]: theme[`gridTemplate${rowColTheme(c)}`]?.[v] ?? h.bracket.cssvar(v)
532
550
  })],
533
- [/^grid-(rows|cols)-minmax-([\w.-]+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(auto-fill,minmax(${d},1fr))` })],
534
- [/^grid-(rows|cols)-(\d+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(${d},minmax(0,1fr))` }), { autocomplete: ["grid-(rows|cols)-<num>", "grid-(rows|cols)-none"] }],
551
+ [/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(auto-fill,minmax(${d},1fr))` })],
552
+ [/^(?:grid-)?(rows|cols)-(\d+)$/, ([, c, d]) => ({ [`grid-template-${rowCol(c)}`]: `repeat(${d},minmax(0,1fr))` }), { autocomplete: "(grid-rows|grid-cols|rows|cols)-<num>" }],
535
553
  // areas
536
554
  [/^grid-area(s)?-(.+)$/, ([, s, v]) => {
537
555
  if (s != null)
@@ -814,17 +832,13 @@ const cssVariables = [
814
832
  }]
815
833
  ];
816
834
  const cssProperty = [
817
- [/^\[(.*)\]$/, ([_, body], { theme }) => {
835
+ [/^\[(.*)\]$/, ([_, body]) => {
818
836
  if (!body.includes(":"))
819
837
  return;
820
838
  const [prop, ...rest] = body.split(":");
821
839
  const value = rest.join(":");
822
840
  if (!isURI(body) && /^[a-z-]+$/.test(prop) && isValidCSSBody(value)) {
823
- let parsed;
824
- if (hasThemeFn(value))
825
- parsed = transformThemeFn(value, theme);
826
- if (!parsed || parsed === value)
827
- parsed = h.bracket(`[${value}]`);
841
+ const parsed = h.bracket(`[${value}]`);
828
842
  if (parsed)
829
843
  return { [prop]: parsed };
830
844
  }
@@ -1,5 +1,5 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
- import { C as Colors } from './preset-mini.hpPpX7ws.js';
2
+ import { C as Colors } from './preset-mini.P5Rzuhf5.js';
3
3
 
4
4
  declare const theme: {
5
5
  width: {
@@ -1,5 +1,5 @@
1
1
  import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, StaticRule } from '@unocss/core';
2
- import { T as Theme } from './preset-mini.hpPpX7ws.js';
2
+ import { T as Theme } from './preset-mini.P5Rzuhf5.js';
3
3
 
4
4
  declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { b as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, a as cssMathFnRE } from './preset-mini.0CcynBZx.mjs';
2
- import { variantGetParameter, variantGetBracket, variantMatcher, variantParentMatcher, getBracket, getStringComponent } from '@unocss/rule-utils';
1
+ import { b as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, a as cssMathFnRE } from './preset-mini.CNCkGnlK.mjs';
2
+ import { variantGetParameter, variantGetBracket, variantMatcher, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
3
3
  import { warnOnce, escapeRegExp, escapeSelector } from '@unocss/core';
4
4
 
5
5
  const variantAria = {
@@ -321,6 +321,23 @@ const variantVariables = {
321
321
  },
322
322
  multiPass: true
323
323
  };
324
+ const variantTheme = {
325
+ name: "theme-variables",
326
+ match(matcher, ctx) {
327
+ if (!hasThemeFn(matcher))
328
+ return;
329
+ return {
330
+ matcher,
331
+ handle(input, next) {
332
+ return next({
333
+ ...input,
334
+ // entries: [ [ '--css-spacing', '28px' ] ],
335
+ entries: JSON.parse(transformThemeFn(JSON.stringify(input.entries), ctx.theme))
336
+ });
337
+ }
338
+ };
339
+ }
340
+ };
324
341
 
325
342
  const anchoredNumberRE = /^-?[0-9.]+(?:[a-z]+|%)?$/;
326
343
  const numberRE = /-?[0-9.]+(?:[a-z]+|%)?/;
@@ -500,6 +517,7 @@ const PseudoClasses = Object.fromEntries([
500
517
  "active",
501
518
  "enabled",
502
519
  "disabled",
520
+ "popover-open",
503
521
  // tree-structural
504
522
  "root",
505
523
  "empty",
@@ -744,8 +762,9 @@ function variants(options) {
744
762
  variantScope,
745
763
  variantContainerQuery,
746
764
  variantVariables,
747
- ...variantTaggedDataAttributes
765
+ ...variantTaggedDataAttributes,
766
+ variantTheme
748
767
  ];
749
768
  }
750
769
 
751
- export { variantBreakpoints as a, variantCombinators as b, calcMaxWidthBySize as c, variantContainerQuery as d, variantColorsMediaOrClass as e, variantDataAttribute as f, variantTaggedDataAttributes as g, variants as h, variantLanguageDirections as i, variantImportant as j, variantPrint as k, variantCustomMedia as l, variantSelector as m, variantCssLayer as n, variantInternalLayer as o, variantScope as p, variantVariables as q, variantNegative as r, variantPseudoClassesAndElements as s, variantPseudoClassFunctions as t, variantTaggedPseudoClasses as u, variantAria as v, variantPartClasses as w, variantSupports as x };
770
+ export { variantBreakpoints as a, variantCombinators as b, calcMaxWidthBySize as c, variantContainerQuery as d, variantColorsMediaOrClass as e, variantDataAttribute as f, variantTaggedDataAttributes as g, variants as h, variantLanguageDirections as i, variantImportant as j, variantPrint as k, variantCustomMedia as l, variantSelector as m, variantCssLayer as n, variantInternalLayer as o, variantScope as p, variantVariables as q, variantTheme as r, variantNegative as s, variantPseudoClassesAndElements as t, variantPseudoClassFunctions as u, variantAria as v, variantTaggedPseudoClasses as w, variantPartClasses as x, variantSupports as y };
@@ -1,5 +1,5 @@
1
1
  import * as _unocss_core from '@unocss/core';
2
- import { C as Colors } from './preset-mini.hpPpX7ws.mjs';
2
+ import { C as Colors } from './preset-mini.P5Rzuhf5.cjs';
3
3
 
4
4
  declare const theme: {
5
5
  width: {
package/dist/theme.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  const colors = require('./colors.cjs');
4
- const _default = require('./shared/preset-mini.fgwIVvur.cjs');
5
- require('./shared/preset-mini.-3Qybdh5.cjs');
6
- require('./shared/preset-mini.UhMMbd34.cjs');
4
+ const _default = require('./shared/preset-mini.BxBfcoUz.cjs');
5
+ require('./shared/preset-mini.Cw_e0bCs.cjs');
6
+ require('./shared/preset-mini.Czu8Mn6N.cjs');
7
7
  require('@unocss/core');
8
8
  require('@unocss/rule-utils');
9
9
 
package/dist/theme.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.cjs';
2
- export { t as theme } from './shared/preset-mini.YxT4AwuI.cjs';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.cjs';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.cjs';
2
+ export { t as theme } from './shared/preset-mini.bn9iWcrm.cjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.cjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.cjs';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
package/dist/theme.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.mjs';
2
- export { t as theme } from './shared/preset-mini.vMrmsD3H.mjs';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.mjs';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.mjs';
2
+ export { t as theme } from './shared/preset-mini.Cu-XLFZP.mjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.mjs';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
package/dist/theme.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { colors } from './colors.js';
2
- export { t as theme } from './shared/preset-mini.gVNz4b9u.js';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.js';
4
- export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.hpPpX7ws.js';
2
+ export { t as theme } from './shared/preset-mini.DIb57JCK.js';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
+ export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.js';
5
5
  import '@unocss/core';
6
6
 
7
7
  declare const blur: {
package/dist/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { colors } from './colors.mjs';
2
- export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.zC_vZg74.mjs';
3
- import './shared/preset-mini.0UJFjS_1.mjs';
4
- import './shared/preset-mini.0CcynBZx.mjs';
2
+ export { x as baseSize, b as blur, n as borderRadius, o as boxShadow, j as breakpoints, D as containers, d as dropShadow, m as duration, p as easing, f as fontFamily, a as fontSize, i as fontWeight, B as height, h as letterSpacing, l as lineHeight, k as lineWidth, C as maxHeight, A as maxWidth, q as media, u as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, y as width, w as wordSpacing, z as zIndex } from './shared/preset-mini.8dLXLISR.mjs';
3
+ import './shared/preset-mini.Br134YCU.mjs';
4
+ import './shared/preset-mini.CNCkGnlK.mjs';
5
5
  import '@unocss/core';
6
6
  import '@unocss/rule-utils';
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const utilities = require('./shared/preset-mini.UhMMbd34.cjs');
3
+ const utilities = require('./shared/preset-mini.Czu8Mn6N.cjs');
4
4
  const ruleUtils = require('@unocss/rule-utils');
5
5
  require('@unocss/core');
6
6
 
@@ -28,9 +28,13 @@ exports.resolveVerticalBreakpoints = utilities.resolveVerticalBreakpoints;
28
28
  exports.splitShorthand = utilities.splitShorthand;
29
29
  exports.valueHandlers = utilities.valueHandlers;
30
30
  exports.xyzMap = utilities.xyzMap;
31
- Object.keys(ruleUtils).forEach(function (k) {
32
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
31
+ Object.prototype.hasOwnProperty.call(ruleUtils, '__proto__') &&
32
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
33
+ Object.defineProperty(exports, '__proto__', {
33
34
  enumerable: true,
34
- value: ruleUtils[k]
35
- }) : exports[k] = ruleUtils[k];
35
+ value: ruleUtils['__proto__']
36
+ });
37
+
38
+ Object.keys(ruleUtils).forEach(function (k) {
39
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = ruleUtils[k];
36
40
  });
package/dist/utils.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as _unocss_rule_utils from '@unocss/rule-utils';
2
2
  export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.20fUBpHS.cjs';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.Bn80FiPC.cjs';
4
4
  import '@unocss/core';
5
- import './shared/preset-mini.hpPpX7ws.cjs';
5
+ import './shared/preset-mini.P5Rzuhf5.cjs';
6
6
 
7
7
  declare const directionMap: Record<string, string[]>;
8
8
  declare const insetMap: Record<string, string[]>;
@@ -51,7 +51,7 @@ declare namespace handlers {
51
51
  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 };
52
52
  }
53
53
 
54
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
54
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
56
 
57
57
  export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
package/dist/utils.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as _unocss_rule_utils from '@unocss/rule-utils';
2
2
  export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.nzD7Hw_0.mjs';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.Cc6dq-PF.mjs';
4
4
  import '@unocss/core';
5
- import './shared/preset-mini.hpPpX7ws.mjs';
5
+ import './shared/preset-mini.P5Rzuhf5.mjs';
6
6
 
7
7
  declare const directionMap: Record<string, string[]>;
8
8
  declare const insetMap: Record<string, string[]>;
@@ -51,7 +51,7 @@ declare namespace handlers {
51
51
  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 };
52
52
  }
53
53
 
54
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
54
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
56
 
57
57
  export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
package/dist/utils.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as _unocss_rule_utils from '@unocss/rule-utils';
2
2
  export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.8w2rXvMk.js';
3
+ export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.DSkIvCb3.js';
4
4
  import '@unocss/core';
5
- import './shared/preset-mini.hpPpX7ws.js';
5
+ import './shared/preset-mini.P5Rzuhf5.js';
6
6
 
7
7
  declare const directionMap: Record<string, string[]>;
8
8
  declare const insetMap: Record<string, string[]>;
@@ -51,7 +51,7 @@ declare namespace handlers {
51
51
  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 };
52
52
  }
53
53
 
54
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "auto" | "position" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
54
+ declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
55
+ declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">;
56
56
 
57
57
  export { cornerMap, cssMathFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap };
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, j as colorResolver, k as colorableShadows, c as cornerMap, a as cssMathFnRE, d as directionMap, e as directionSize, g as globalKeywords, b as h, h as handler, l as hasParseableColor, i as insetMap, o as isCSSMathFn, q as isSize, n as makeGlobalStaticRules, f as parseColor, p as positionMap, r as resolveBreakpoints, m as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.0CcynBZx.mjs';
1
+ export { C as CONTROL_MINI_NO_NEGATIVE, j as colorResolver, k as colorableShadows, c as cornerMap, a as cssMathFnRE, d as directionMap, e as directionSize, g as globalKeywords, b as h, h as handler, l as hasParseableColor, i as insetMap, o as isCSSMathFn, q as isSize, n as makeGlobalStaticRules, f as parseColor, p as positionMap, r as resolveBreakpoints, m as resolveVerticalBreakpoints, s as splitShorthand, v as valueHandlers, x as xyzMap } from './shared/preset-mini.CNCkGnlK.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
- const _default = require('./shared/preset-mini.e29ECnbA.cjs');
4
- require('./shared/preset-mini.UhMMbd34.cjs');
3
+ const _default = require('./shared/preset-mini.0WrbUoK3.cjs');
4
+ require('./shared/preset-mini.Czu8Mn6N.cjs');
5
5
  require('@unocss/core');
6
6
  require('@unocss/rule-utils');
7
7
 
@@ -29,5 +29,6 @@ exports.variantSelector = _default.variantSelector;
29
29
  exports.variantSupports = _default.variantSupports;
30
30
  exports.variantTaggedDataAttributes = _default.variantTaggedDataAttributes;
31
31
  exports.variantTaggedPseudoClasses = _default.variantTaggedPseudoClasses;
32
+ exports.variantTheme = _default.variantTheme;
32
33
  exports.variantVariables = _default.variantVariables;
33
34
  exports.variants = _default.variants;
@@ -1,9 +1,9 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.cjs';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.cjs';
4
- import './shared/preset-mini.YxT4AwuI.cjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.cjs';
4
+ import './shared/preset-mini.bn9iWcrm.cjs';
5
5
  import './colors.cjs';
6
- import './shared/preset-mini.20fUBpHS.cjs';
6
+ import './shared/preset-mini.Bn80FiPC.cjs';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
@@ -33,6 +33,7 @@ declare const variantCssLayer: Variant;
33
33
  declare const variantInternalLayer: Variant;
34
34
  declare const variantScope: Variant;
35
35
  declare const variantVariables: Variant;
36
+ declare const variantTheme: Variant;
36
37
 
37
38
  declare const variantNegative: Variant;
38
39
 
@@ -43,4 +44,4 @@ declare const variantPartClasses: VariantObject;
43
44
 
44
45
  declare const variantSupports: VariantObject;
45
46
 
46
- export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantVariables, variants };
47
+ export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
@@ -1,9 +1,9 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.mjs';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.mjs';
4
- import './shared/preset-mini.vMrmsD3H.mjs';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.mjs';
4
+ import './shared/preset-mini.Cu-XLFZP.mjs';
5
5
  import './colors.mjs';
6
- import './shared/preset-mini.nzD7Hw_0.mjs';
6
+ import './shared/preset-mini.Cc6dq-PF.mjs';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
@@ -33,6 +33,7 @@ declare const variantCssLayer: Variant;
33
33
  declare const variantInternalLayer: Variant;
34
34
  declare const variantScope: Variant;
35
35
  declare const variantVariables: Variant;
36
+ declare const variantTheme: Variant;
36
37
 
37
38
  declare const variantNegative: Variant;
38
39
 
@@ -43,4 +44,4 @@ declare const variantPartClasses: VariantObject;
43
44
 
44
45
  declare const variantSupports: VariantObject;
45
46
 
46
- export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantVariables, variants };
47
+ export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
@@ -1,9 +1,9 @@
1
1
  import { VariantObject, Variant } from '@unocss/core';
2
2
  import { PresetMiniOptions } from './index.js';
3
- import { T as Theme } from './shared/preset-mini.hpPpX7ws.js';
4
- import './shared/preset-mini.gVNz4b9u.js';
3
+ import { T as Theme } from './shared/preset-mini.P5Rzuhf5.js';
4
+ import './shared/preset-mini.DIb57JCK.js';
5
5
  import './colors.js';
6
- import './shared/preset-mini.8w2rXvMk.js';
6
+ import './shared/preset-mini.DSkIvCb3.js';
7
7
 
8
8
  declare const variantAria: VariantObject;
9
9
 
@@ -33,6 +33,7 @@ declare const variantCssLayer: Variant;
33
33
  declare const variantInternalLayer: Variant;
34
34
  declare const variantScope: Variant;
35
35
  declare const variantVariables: Variant;
36
+ declare const variantTheme: Variant;
36
37
 
37
38
  declare const variantNegative: Variant;
38
39
 
@@ -43,4 +44,4 @@ declare const variantPartClasses: VariantObject;
43
44
 
44
45
  declare const variantSupports: VariantObject;
45
46
 
46
- export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantVariables, variants };
47
+ export { calcMaxWidthBySize, variantAria, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as calcMaxWidthBySize, v as variantAria, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, d as variantContainerQuery, n as variantCssLayer, l as variantCustomMedia, f as variantDataAttribute, j as variantImportant, o as variantInternalLayer, i as variantLanguageDirections, r as variantNegative, w as variantPartClasses, k as variantPrint, t as variantPseudoClassFunctions, s as variantPseudoClassesAndElements, p as variantScope, m as variantSelector, x as variantSupports, g as variantTaggedDataAttributes, u as variantTaggedPseudoClasses, q as variantVariables, h as variants } from './shared/preset-mini.eBWIK6gx.mjs';
2
- import './shared/preset-mini.0CcynBZx.mjs';
1
+ export { c as calcMaxWidthBySize, v as variantAria, a as variantBreakpoints, e as variantColorsMediaOrClass, b as variantCombinators, d as variantContainerQuery, n as variantCssLayer, l as variantCustomMedia, f as variantDataAttribute, j as variantImportant, o as variantInternalLayer, i as variantLanguageDirections, s as variantNegative, x as variantPartClasses, k as variantPrint, u as variantPseudoClassFunctions, t as variantPseudoClassesAndElements, p as variantScope, m as variantSelector, y as variantSupports, g as variantTaggedDataAttributes, w as variantTaggedPseudoClasses, r as variantTheme, q as variantVariables, h as variants } from './shared/preset-mini.X5oTOtIs.mjs';
2
+ import './shared/preset-mini.CNCkGnlK.mjs';
3
3
  import '@unocss/core';
4
4
  import '@unocss/rule-utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.58.4",
3
+ "version": "0.58.6",
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.58.4",
65
- "@unocss/extractor-arbitrary-variants": "0.58.4",
66
- "@unocss/rule-utils": "0.58.4"
64
+ "@unocss/core": "0.58.6",
65
+ "@unocss/rule-utils": "0.58.6",
66
+ "@unocss/extractor-arbitrary-variants": "0.58.6"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "unbuild",