@unocss/preset-mini 0.58.0 → 0.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +11 -11
  5. package/dist/index.d.cts +4 -4
  6. package/dist/index.d.mts +4 -4
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.mjs +6 -6
  9. package/dist/rules.cjs +50 -1008
  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 +5 -968
  14. package/dist/shared/{preset-mini.qLxuqSG-.cjs → preset-mini.-3Qybdh5.cjs} +38 -38
  15. package/dist/shared/preset-mini.0CcynBZx.mjs +537 -0
  16. package/dist/shared/{preset-mini.5jRPR_fm.mjs → preset-mini.0UJFjS_1.mjs} +2 -2
  17. package/dist/shared/{preset-mini.WoiFygE2.d.cts → preset-mini.20fUBpHS.d.cts} +1 -1
  18. package/dist/shared/{preset-mini.zVYE2D2j.d.ts → preset-mini.8w2rXvMk.d.ts} +1 -1
  19. package/dist/shared/preset-mini.AVP8I7_j.mjs +747 -0
  20. package/dist/shared/preset-mini.ORVb5Lu8.mjs +978 -0
  21. package/dist/shared/preset-mini.UhMMbd34.cjs +560 -0
  22. package/dist/shared/{preset-mini.4DxDu2I8.d.mts → preset-mini.YxT4AwuI.d.cts} +1 -1
  23. package/dist/shared/preset-mini.fgwIVvur.cjs +322 -0
  24. package/dist/shared/preset-mini.g6cWGZM2.cjs +1021 -0
  25. package/dist/shared/{preset-mini.5daNC9yh.d.ts → preset-mini.gVNz4b9u.d.ts} +1 -1
  26. package/dist/shared/{preset-mini.7XoWRZIl.d.cts → preset-mini.hpPpX7ws.d.cts} +1 -1
  27. package/dist/shared/{preset-mini.7XoWRZIl.d.mts → preset-mini.hpPpX7ws.d.mts} +1 -1
  28. package/dist/shared/{preset-mini.7XoWRZIl.d.ts → preset-mini.hpPpX7ws.d.ts} +1 -1
  29. package/dist/shared/preset-mini.jXC5Sr98.cjs +772 -0
  30. package/dist/shared/{preset-mini.WMGBnRDa.d.mts → preset-mini.nzD7Hw_0.d.mts} +1 -1
  31. package/dist/shared/{preset-mini.5-XKlNyK.d.cts → preset-mini.vMrmsD3H.d.mts} +1 -1
  32. package/dist/shared/preset-mini.zC_vZg74.mjs +291 -0
  33. package/dist/theme.cjs +34 -318
  34. package/dist/theme.d.cts +3 -3
  35. package/dist/theme.d.mts +3 -3
  36. package/dist/theme.d.ts +3 -3
  37. package/dist/theme.mjs +5 -293
  38. package/dist/utils.cjs +28 -545
  39. package/dist/utils.d.cts +4 -4
  40. package/dist/utils.d.mts +4 -4
  41. package/dist/utils.d.ts +4 -4
  42. package/dist/utils.mjs +2 -524
  43. package/dist/variants.cjs +31 -770
  44. package/dist/variants.d.cts +3 -3
  45. package/dist/variants.d.mts +3 -3
  46. package/dist/variants.d.ts +3 -3
  47. package/dist/variants.mjs +4 -747
  48. package/package.json +4 -4
package/dist/colors.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Colors } from './shared/preset-mini.7XoWRZIl.cjs';
1
+ import { C as Colors } from './shared/preset-mini.hpPpX7ws.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.7XoWRZIl.mjs';
1
+ import { C as Colors } from './shared/preset-mini.hpPpX7ws.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.7XoWRZIl.js';
1
+ import { C as Colors } from './shared/preset-mini.hpPpX7ws.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 utils = require('./utils.cjs');
8
- const theme = require('./theme.cjs');
9
- const rules = require('./rules.cjs');
10
- const variants = require('./variants.cjs');
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.g6cWGZM2.cjs');
10
+ const _default$2 = require('./shared/preset-mini.jXC5Sr98.cjs');
11
11
  const colors = require('./colors.cjs');
12
12
  require('@unocss/rule-utils');
13
- require('./shared/preset-mini.qLxuqSG-.cjs');
13
+ require('./shared/preset-mini.-3Qybdh5.cjs');
14
14
 
15
15
  const preflights = [
16
16
  {
@@ -33,7 +33,7 @@ const shorthands = {
33
33
  "sticky",
34
34
  "static"
35
35
  ],
36
- globalKeyword: utils.globalKeywords
36
+ globalKeyword: utilities.globalKeywords
37
37
  };
38
38
 
39
39
  const presetMini = core.definePreset((options = {}) => {
@@ -43,9 +43,9 @@ const presetMini = core.definePreset((options = {}) => {
43
43
  options.variablePrefix = options.variablePrefix ?? "un-";
44
44
  return {
45
45
  name: "@unocss/preset-mini",
46
- theme: theme.theme,
47
- rules: rules.rules,
48
- variants: variants.variants(options),
46
+ theme: _default.theme,
47
+ rules: _default$1.rules,
48
+ variants: _default$2.variants(options),
49
49
  options,
50
50
  prefix: options.prefix,
51
51
  postprocess: VarPrefixPostprocessor(options.variablePrefix),
@@ -81,8 +81,8 @@ function normalizePreflights(preflights3, variablePrefix) {
81
81
  return preflights3;
82
82
  }
83
83
 
84
- exports.parseColor = utils.parseColor;
85
- exports.theme = theme.theme;
84
+ exports.parseColor = utilities.parseColor;
85
+ exports.theme = _default.theme;
86
86
  exports.colors = colors.colors;
87
87
  exports.VarPrefixPostprocessor = VarPrefixPostprocessor;
88
88
  exports.default = presetMini;
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.7XoWRZIl.cjs';
4
- export { a as ThemeAnimation } from './shared/preset-mini.7XoWRZIl.cjs';
5
- export { t as theme } from './shared/preset-mini.5-XKlNyK.cjs';
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';
6
6
  export { colors } from './colors.cjs';
7
- export { p as parseColor } from './shared/preset-mini.WoiFygE2.cjs';
7
+ export { p as parseColor } from './shared/preset-mini.20fUBpHS.cjs';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
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.7XoWRZIl.mjs';
4
- export { a as ThemeAnimation } from './shared/preset-mini.7XoWRZIl.mjs';
5
- export { t as theme } from './shared/preset-mini.4DxDu2I8.mjs';
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';
6
6
  export { colors } from './colors.mjs';
7
- export { p as parseColor } from './shared/preset-mini.WMGBnRDa.mjs';
7
+ export { p as parseColor } from './shared/preset-mini.nzD7Hw_0.mjs';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
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.7XoWRZIl.js';
4
- export { a as ThemeAnimation } from './shared/preset-mini.7XoWRZIl.js';
5
- export { t as theme } from './shared/preset-mini.5daNC9yh.js';
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';
6
6
  export { colors } from './colors.js';
7
- export { p as parseColor } from './shared/preset-mini.zVYE2D2j.js';
7
+ export { p as parseColor } from './shared/preset-mini.8w2rXvMk.js';
8
8
 
9
9
  declare const preflights: Preflight<Theme>[];
10
10
 
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 { globalKeywords } from './utils.mjs';
4
- export { parseColor } from './utils.mjs';
5
- import { theme } from './theme.mjs';
6
- import { rules } from './rules.mjs';
7
- import { variants } from './variants.mjs';
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.ORVb5Lu8.mjs';
7
+ import { h as variants } from './shared/preset-mini.AVP8I7_j.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
10
- import './shared/preset-mini.5jRPR_fm.mjs';
10
+ import './shared/preset-mini.0UJFjS_1.mjs';
11
11
 
12
12
  const preflights = [
13
13
  {