@unocss/preset-mini 0.56.0 → 0.56.1
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.d.cts +6 -5
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/rules.d.cts +1 -1
- package/dist/rules.d.mts +1 -1
- package/dist/rules.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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.bc674518.cjs';
|
|
4
|
+
export { a as ThemeAnimation } from './shared/preset-mini.bc674518.cjs';
|
|
3
5
|
export { t as theme } from './shared/preset-mini.302bff75.cjs';
|
|
4
6
|
export { colors } from './colors.cjs';
|
|
5
7
|
export { p as parseColor } from './shared/preset-mini.d62ae954.cjs';
|
|
6
|
-
export { T as Theme, a as ThemeAnimation } from './shared/preset-mini.bc674518.cjs';
|
|
7
8
|
|
|
8
|
-
declare const preflights: Preflight[];
|
|
9
|
+
declare const preflights: Preflight<Theme>[];
|
|
9
10
|
|
|
10
11
|
interface DarkModeSelectors {
|
|
11
12
|
/**
|
|
@@ -61,9 +62,9 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
61
62
|
*/
|
|
62
63
|
arbitraryVariants?: boolean;
|
|
63
64
|
}
|
|
64
|
-
declare const presetMini: _unocss_core.PresetFactory<
|
|
65
|
+
declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
|
|
65
66
|
|
|
66
67
|
declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
|
|
67
|
-
declare function normalizePreflights(preflights: Preflight[], variablePrefix: string): Preflight<
|
|
68
|
+
declare function normalizePreflights<Theme extends object>(preflights: Preflight<Theme>[], variablePrefix: string): Preflight<Theme>[];
|
|
68
69
|
|
|
69
|
-
export { type DarkModeSelectors, type PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
|
70
|
+
export { type DarkModeSelectors, type PresetMiniOptions, Theme, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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.bc674518.mjs';
|
|
4
|
+
export { a as ThemeAnimation } from './shared/preset-mini.bc674518.mjs';
|
|
3
5
|
export { t as theme } from './shared/preset-mini.f12010ce.mjs';
|
|
4
6
|
export { colors } from './colors.mjs';
|
|
5
7
|
export { p as parseColor } from './shared/preset-mini.97d1ec1e.mjs';
|
|
6
|
-
export { T as Theme, a as ThemeAnimation } from './shared/preset-mini.bc674518.mjs';
|
|
7
8
|
|
|
8
|
-
declare const preflights: Preflight[];
|
|
9
|
+
declare const preflights: Preflight<Theme>[];
|
|
9
10
|
|
|
10
11
|
interface DarkModeSelectors {
|
|
11
12
|
/**
|
|
@@ -61,9 +62,9 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
61
62
|
*/
|
|
62
63
|
arbitraryVariants?: boolean;
|
|
63
64
|
}
|
|
64
|
-
declare const presetMini: _unocss_core.PresetFactory<
|
|
65
|
+
declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
|
|
65
66
|
|
|
66
67
|
declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
|
|
67
|
-
declare function normalizePreflights(preflights: Preflight[], variablePrefix: string): Preflight<
|
|
68
|
+
declare function normalizePreflights<Theme extends object>(preflights: Preflight<Theme>[], variablePrefix: string): Preflight<Theme>[];
|
|
68
69
|
|
|
69
|
-
export { type DarkModeSelectors, type PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
|
70
|
+
export { type DarkModeSelectors, type PresetMiniOptions, Theme, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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.bc674518.js';
|
|
4
|
+
export { a as ThemeAnimation } from './shared/preset-mini.bc674518.js';
|
|
3
5
|
export { t as theme } from './shared/preset-mini.0a392a7c.js';
|
|
4
6
|
export { colors } from './colors.js';
|
|
5
7
|
export { p as parseColor } from './shared/preset-mini.79297e15.js';
|
|
6
|
-
export { T as Theme, a as ThemeAnimation } from './shared/preset-mini.bc674518.js';
|
|
7
8
|
|
|
8
|
-
declare const preflights: Preflight[];
|
|
9
|
+
declare const preflights: Preflight<Theme>[];
|
|
9
10
|
|
|
10
11
|
interface DarkModeSelectors {
|
|
11
12
|
/**
|
|
@@ -61,9 +62,9 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
61
62
|
*/
|
|
62
63
|
arbitraryVariants?: boolean;
|
|
63
64
|
}
|
|
64
|
-
declare const presetMini: _unocss_core.PresetFactory<
|
|
65
|
+
declare const presetMini: _unocss_core.PresetFactory<Theme, PresetMiniOptions>;
|
|
65
66
|
|
|
66
67
|
declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
|
|
67
|
-
declare function normalizePreflights(preflights: Preflight[], variablePrefix: string): Preflight<
|
|
68
|
+
declare function normalizePreflights<Theme extends object>(preflights: Preflight<Theme>[], variablePrefix: string): Preflight<Theme>[];
|
|
68
69
|
|
|
69
|
-
export { type DarkModeSelectors, type PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
|
70
|
+
export { type DarkModeSelectors, type PresetMiniOptions, Theme, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini };
|
package/dist/rules.d.cts
CHANGED
package/dist/rules.d.mts
CHANGED
package/dist/rules.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.1",
|
|
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
|
"*.css"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.56.
|
|
65
|
-
"@unocss/extractor-arbitrary-variants": "0.56.
|
|
66
|
-
"@unocss/rule-utils": "0.56.
|
|
64
|
+
"@unocss/core": "0.56.1",
|
|
65
|
+
"@unocss/extractor-arbitrary-variants": "0.56.1",
|
|
66
|
+
"@unocss/rule-utils": "0.56.1"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "unbuild",
|