@unocss/preset-mini 0.29.6 → 0.30.0
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.cjs +0 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.mjs +1 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -10,8 +10,6 @@ const utilities = require('./chunks/utilities.cjs');
|
|
|
10
10
|
require('@unocss/core');
|
|
11
11
|
require('./chunks/variants.cjs');
|
|
12
12
|
|
|
13
|
-
const autocomplete = [];
|
|
14
|
-
|
|
15
13
|
const presetMini = (options = {}) => {
|
|
16
14
|
options.dark = options.dark ?? "class";
|
|
17
15
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -21,7 +19,6 @@ const presetMini = (options = {}) => {
|
|
|
21
19
|
rules: _default$1.rules,
|
|
22
20
|
variants: _default$2.variants(options),
|
|
23
21
|
options,
|
|
24
|
-
autocomplete,
|
|
25
22
|
postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0
|
|
26
23
|
};
|
|
27
24
|
};
|
|
@@ -38,6 +35,5 @@ function VarPrefixPostprocessor(prefix) {
|
|
|
38
35
|
exports.theme = _default.theme;
|
|
39
36
|
exports.colors = colors.colors;
|
|
40
37
|
exports.parseColor = utilities.parseColor;
|
|
41
|
-
exports.autocomplete = autocomplete;
|
|
42
38
|
exports["default"] = presetMini;
|
|
43
39
|
exports.presetMini = presetMini;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PresetOptions, Preset } from '@unocss/core';
|
|
2
2
|
import { T as Theme } from './types-f7b2c653.js';
|
|
3
3
|
export { T as Theme, a as ThemeAnimation } from './types-f7b2c653.js';
|
|
4
4
|
export { t as theme } from './default-e6d1b2e8.js';
|
|
5
5
|
export { c as colors } from './colors-ce2fecb8.js';
|
|
6
6
|
export { p as parseColor } from './utilities-820bcff8.js';
|
|
7
7
|
|
|
8
|
-
declare const autocomplete: AutoCompleteTemplate[];
|
|
9
|
-
|
|
10
8
|
interface PresetMiniOptions extends PresetOptions {
|
|
11
9
|
/**
|
|
12
10
|
* @default 'class'
|
|
@@ -23,4 +21,4 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
23
21
|
}
|
|
24
22
|
declare const presetMini: (options?: PresetMiniOptions) => Preset<Theme>;
|
|
25
23
|
|
|
26
|
-
export { PresetMiniOptions,
|
|
24
|
+
export { PresetMiniOptions, presetMini as default, presetMini };
|
package/dist/index.mjs
CHANGED
|
@@ -7,8 +7,6 @@ export { p as parseColor } from './chunks/utilities.mjs';
|
|
|
7
7
|
import '@unocss/core';
|
|
8
8
|
import './chunks/variants.mjs';
|
|
9
9
|
|
|
10
|
-
const autocomplete = [];
|
|
11
|
-
|
|
12
10
|
const presetMini = (options = {}) => {
|
|
13
11
|
options.dark = options.dark ?? "class";
|
|
14
12
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -18,7 +16,6 @@ const presetMini = (options = {}) => {
|
|
|
18
16
|
rules,
|
|
19
17
|
variants: variants(options),
|
|
20
18
|
options,
|
|
21
|
-
autocomplete,
|
|
22
19
|
postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0
|
|
23
20
|
};
|
|
24
21
|
};
|
|
@@ -32,4 +29,4 @@ function VarPrefixPostprocessor(prefix) {
|
|
|
32
29
|
};
|
|
33
30
|
}
|
|
34
31
|
|
|
35
|
-
export {
|
|
32
|
+
export { presetMini as default, presetMini };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.
|
|
64
|
+
"@unocss/core": "0.30.0"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|