@vinicunca/unocss-preset 1.1.0 → 1.1.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/chunks/index3.cjs +1 -1
- package/dist/chunks/index3.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +1 -1
- package/dist/shared/{unocss-preset.DZKZMqtg.mjs → unocss-preset.BsBSSEP8.mjs} +2 -2
- package/dist/shared/{unocss-preset.6ezA0EE_.cjs → unocss-preset.D0RjZcM6.cjs} +2 -2
- package/package.json +10 -10
package/dist/chunks/index3.cjs
CHANGED
package/dist/chunks/index3.mjs
CHANGED
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as _unocss_core from '@unocss/core';
|
|
2
|
+
import { CSSObject, UserConfig } from '@unocss/core';
|
|
3
3
|
import { IconsOptions } from '@unocss/preset-icons';
|
|
4
|
+
import { Theme } from '@unocss/preset-mini';
|
|
4
5
|
import { TypographyOptions } from '@unocss/preset-typography';
|
|
5
6
|
import { PresetUnoOptions } from '@unocss/preset-uno';
|
|
6
7
|
import { WebFontsOptions } from '@unocss/preset-web-fonts';
|
|
@@ -345,7 +346,7 @@ type DeepPartial<T> = {
|
|
|
345
346
|
[P in keyof T]: DeepPartial<T[P]>;
|
|
346
347
|
};
|
|
347
348
|
|
|
348
|
-
declare const presetVinicunca: PresetFactoryAwaitable<
|
|
349
|
+
declare const presetVinicunca: _unocss_core.PresetFactoryAwaitable<VinicuncaTheme, PresetVinicuncaOptions>;
|
|
349
350
|
declare function defineVinicuncaConfig<T extends object = VinicuncaTheme>(options?: PresetVinicuncaOptions, config?: UserConfig<T>): UserConfig<T>;
|
|
350
351
|
declare function defineConfig<T extends object = VinicuncaTheme>(config: UserConfig<T>): UserConfig<T>;
|
|
351
352
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as _unocss_core from '@unocss/core';
|
|
2
|
+
import { CSSObject, UserConfig } from '@unocss/core';
|
|
3
3
|
import { IconsOptions } from '@unocss/preset-icons';
|
|
4
|
+
import { Theme } from '@unocss/preset-mini';
|
|
4
5
|
import { TypographyOptions } from '@unocss/preset-typography';
|
|
5
6
|
import { PresetUnoOptions } from '@unocss/preset-uno';
|
|
6
7
|
import { WebFontsOptions } from '@unocss/preset-web-fonts';
|
|
@@ -345,7 +346,7 @@ type DeepPartial<T> = {
|
|
|
345
346
|
[P in keyof T]: DeepPartial<T[P]>;
|
|
346
347
|
};
|
|
347
348
|
|
|
348
|
-
declare const presetVinicunca: PresetFactoryAwaitable<
|
|
349
|
+
declare const presetVinicunca: _unocss_core.PresetFactoryAwaitable<VinicuncaTheme, PresetVinicuncaOptions>;
|
|
349
350
|
declare function defineVinicuncaConfig<T extends object = VinicuncaTheme>(options?: PresetVinicuncaOptions, config?: UserConfig<T>): UserConfig<T>;
|
|
350
351
|
declare function defineConfig<T extends object = VinicuncaTheme>(config: UserConfig<T>): UserConfig<T>;
|
|
351
352
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as _unocss_core from '@unocss/core';
|
|
2
|
+
import { CSSObject, UserConfig } from '@unocss/core';
|
|
3
3
|
import { IconsOptions } from '@unocss/preset-icons';
|
|
4
|
+
import { Theme } from '@unocss/preset-mini';
|
|
4
5
|
import { TypographyOptions } from '@unocss/preset-typography';
|
|
5
6
|
import { PresetUnoOptions } from '@unocss/preset-uno';
|
|
6
7
|
import { WebFontsOptions } from '@unocss/preset-web-fonts';
|
|
@@ -345,7 +346,7 @@ type DeepPartial<T> = {
|
|
|
345
346
|
[P in keyof T]: DeepPartial<T[P]>;
|
|
346
347
|
};
|
|
347
348
|
|
|
348
|
-
declare const presetVinicunca: PresetFactoryAwaitable<
|
|
349
|
+
declare const presetVinicunca: _unocss_core.PresetFactoryAwaitable<VinicuncaTheme, PresetVinicuncaOptions>;
|
|
349
350
|
declare function defineVinicuncaConfig<T extends object = VinicuncaTheme>(options?: PresetVinicuncaOptions, config?: UserConfig<T>): UserConfig<T>;
|
|
350
351
|
declare function defineConfig<T extends object = VinicuncaTheme>(config: UserConfig<T>): UserConfig<T>;
|
|
351
352
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@unocss/core';
|
|
2
|
-
export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.
|
|
2
|
+
export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.BsBSSEP8.mjs';
|
|
3
3
|
import '@vinicunca/perkakas';
|
|
@@ -631,8 +631,8 @@ function resolveExtend(extend) {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
const presetVinicunca = definePreset(
|
|
634
|
-
async (options
|
|
635
|
-
const resolvedOptions = await resolveOptions(options);
|
|
634
|
+
async (options) => {
|
|
635
|
+
const resolvedOptions = await resolveOptions(options ?? {});
|
|
636
636
|
const {
|
|
637
637
|
enableDefaultShortcuts,
|
|
638
638
|
unColor,
|
|
@@ -633,8 +633,8 @@ function resolveExtend(extend) {
|
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
const presetVinicunca = core.definePreset(
|
|
636
|
-
async (options
|
|
637
|
-
const resolvedOptions = await resolveOptions(options);
|
|
636
|
+
async (options) => {
|
|
637
|
+
const resolvedOptions = await resolveOptions(options ?? {});
|
|
638
638
|
const {
|
|
639
639
|
enableDefaultShortcuts,
|
|
640
640
|
unColor,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/unocss-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"description": "Opinionated UnoCSS preset",
|
|
6
6
|
"author": "praburangki<https://github.com/praburangki>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
],
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@vinicunca/perkakas": "^1.2.0",
|
|
46
|
-
"unocss": "^0.65.
|
|
46
|
+
"unocss": "^0.65.3"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"registry": "https://registry.npmjs.org/"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@unocss/core": "^0.65.
|
|
53
|
-
"@unocss/preset-icons": "^0.65.
|
|
54
|
-
"@unocss/preset-mini": "^0.65.
|
|
55
|
-
"@unocss/preset-typography": "^0.65.
|
|
56
|
-
"@unocss/preset-uno": "^0.65.
|
|
57
|
-
"@unocss/preset-web-fonts": "^0.65.
|
|
58
|
-
"@unocss/transformer-directives": "^0.65.
|
|
59
|
-
"@unocss/transformer-variant-group": "^0.65.
|
|
52
|
+
"@unocss/core": "^0.65.3",
|
|
53
|
+
"@unocss/preset-icons": "^0.65.3",
|
|
54
|
+
"@unocss/preset-mini": "^0.65.3",
|
|
55
|
+
"@unocss/preset-typography": "^0.65.3",
|
|
56
|
+
"@unocss/preset-uno": "^0.65.3",
|
|
57
|
+
"@unocss/preset-web-fonts": "^0.65.3",
|
|
58
|
+
"@unocss/transformer-directives": "^0.65.3",
|
|
59
|
+
"@unocss/transformer-variant-group": "^0.65.3",
|
|
60
60
|
"postcss": "^8.4.49",
|
|
61
61
|
"postcss-js": "^4.0.1"
|
|
62
62
|
},
|