@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.
- package/dist/colors.d.cts +1 -1
- package/dist/colors.d.mts +1 -1
- package/dist/colors.d.ts +1 -1
- package/dist/index.cjs +11 -11
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +6 -6
- package/dist/rules.cjs +50 -1008
- package/dist/rules.d.cts +1 -1
- package/dist/rules.d.mts +1 -1
- package/dist/rules.d.ts +1 -1
- package/dist/rules.mjs +5 -968
- package/dist/shared/{preset-mini.qLxuqSG-.cjs → preset-mini.-3Qybdh5.cjs} +38 -38
- package/dist/shared/preset-mini.0CcynBZx.mjs +537 -0
- package/dist/shared/{preset-mini.5jRPR_fm.mjs → preset-mini.0UJFjS_1.mjs} +2 -2
- package/dist/shared/{preset-mini.WoiFygE2.d.cts → preset-mini.20fUBpHS.d.cts} +1 -1
- package/dist/shared/{preset-mini.zVYE2D2j.d.ts → preset-mini.8w2rXvMk.d.ts} +1 -1
- package/dist/shared/preset-mini.AVP8I7_j.mjs +747 -0
- package/dist/shared/preset-mini.ORVb5Lu8.mjs +978 -0
- package/dist/shared/preset-mini.UhMMbd34.cjs +560 -0
- package/dist/shared/{preset-mini.4DxDu2I8.d.mts → preset-mini.YxT4AwuI.d.cts} +1 -1
- package/dist/shared/preset-mini.fgwIVvur.cjs +322 -0
- package/dist/shared/preset-mini.g6cWGZM2.cjs +1021 -0
- package/dist/shared/{preset-mini.5daNC9yh.d.ts → preset-mini.gVNz4b9u.d.ts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.cts → preset-mini.hpPpX7ws.d.cts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.mts → preset-mini.hpPpX7ws.d.mts} +1 -1
- package/dist/shared/{preset-mini.7XoWRZIl.d.ts → preset-mini.hpPpX7ws.d.ts} +1 -1
- package/dist/shared/preset-mini.jXC5Sr98.cjs +772 -0
- package/dist/shared/{preset-mini.WMGBnRDa.d.mts → preset-mini.nzD7Hw_0.d.mts} +1 -1
- package/dist/shared/{preset-mini.5-XKlNyK.d.cts → preset-mini.vMrmsD3H.d.mts} +1 -1
- package/dist/shared/preset-mini.zC_vZg74.mjs +291 -0
- package/dist/theme.cjs +34 -318
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.d.ts +3 -3
- package/dist/theme.mjs +5 -293
- package/dist/utils.cjs +28 -545
- package/dist/utils.d.cts +4 -4
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.mjs +2 -524
- package/dist/variants.cjs +31 -770
- package/dist/variants.d.cts +3 -3
- package/dist/variants.d.mts +3 -3
- package/dist/variants.d.ts +3 -3
- package/dist/variants.mjs +4 -747
- package/package.json +4 -4
package/dist/colors.d.cts
CHANGED
package/dist/colors.d.mts
CHANGED
package/dist/colors.d.ts
CHANGED
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
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
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.
|
|
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:
|
|
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:
|
|
47
|
-
rules:
|
|
48
|
-
variants:
|
|
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 =
|
|
85
|
-
exports.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.
|
|
4
|
-
export { a as ThemeAnimation } from './shared/preset-mini.
|
|
5
|
-
export { t as theme } from './shared/preset-mini.
|
|
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.
|
|
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.
|
|
4
|
-
export { a as ThemeAnimation } from './shared/preset-mini.
|
|
5
|
-
export { t as theme } from './shared/preset-mini.
|
|
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.
|
|
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.
|
|
4
|
-
export { a as ThemeAnimation } from './shared/preset-mini.
|
|
5
|
-
export { t as theme } from './shared/preset-mini.
|
|
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.
|
|
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 './
|
|
4
|
-
export { parseColor } from './
|
|
5
|
-
import { theme } from './
|
|
6
|
-
import { rules } from './
|
|
7
|
-
import { variants } from './
|
|
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.
|
|
10
|
+
import './shared/preset-mini.0UJFjS_1.mjs';
|
|
11
11
|
|
|
12
12
|
const preflights = [
|
|
13
13
|
{
|