@unocss/preset-uno 0.55.0 → 0.55.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.cjs +3 -5
- package/dist/colors.d.cts +1 -0
- package/dist/colors.d.mts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/theme.cjs +3 -5
- package/dist/theme.d.cts +3 -0
- package/dist/theme.d.mts +3 -0
- package/dist/theme.d.ts +2 -0
- package/dist/utils.cjs +3 -5
- package/dist/utils.d.cts +1 -0
- package/dist/utils.d.mts +1 -0
- package/package.json +4 -4
package/dist/colors.cjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const colors = require('@unocss/preset-mini/colors');
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
if (k !== 'default' && !
|
|
11
|
-
}
|
|
7
|
+
Object.keys(colors).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = colors[k];
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@unocss/preset-mini/colors';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@unocss/preset-mini/colors';
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Preset } from '@unocss/core';
|
|
2
|
+
import { PresetMiniOptions, Theme } from '@unocss/preset-mini';
|
|
3
|
+
export { Theme } from '@unocss/preset-mini';
|
|
4
|
+
|
|
5
|
+
interface PresetUnoOptions extends PresetMiniOptions {
|
|
6
|
+
}
|
|
7
|
+
declare function presetUno(options?: PresetUnoOptions): Preset<Theme>;
|
|
8
|
+
|
|
9
|
+
export { PresetUnoOptions, presetUno as default, presetUno };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Preset } from '@unocss/core';
|
|
2
|
+
import { PresetMiniOptions, Theme } from '@unocss/preset-mini';
|
|
3
|
+
export { Theme } from '@unocss/preset-mini';
|
|
4
|
+
|
|
5
|
+
interface PresetUnoOptions extends PresetMiniOptions {
|
|
6
|
+
}
|
|
7
|
+
declare function presetUno(options?: PresetUnoOptions): Preset<Theme>;
|
|
8
|
+
|
|
9
|
+
export { PresetUnoOptions, presetUno as default, presetUno };
|
package/dist/theme.cjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const theme = require('@unocss/preset-mini/theme');
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
if (k !== 'default' && !
|
|
11
|
-
}
|
|
7
|
+
Object.keys(theme).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = theme[k];
|
|
9
|
+
});
|
package/dist/theme.d.cts
ADDED
package/dist/theme.d.mts
ADDED
package/dist/theme.d.ts
CHANGED
package/dist/utils.cjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const utils = require('@unocss/preset-mini/utils');
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
if (k !== 'default' && !
|
|
11
|
-
}
|
|
7
|
+
Object.keys(utils).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = utils[k];
|
|
9
|
+
});
|
package/dist/utils.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@unocss/preset-mini/utils';
|
package/dist/utils.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@unocss/preset-mini/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-uno",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
4
4
|
"description": "The default preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"*.css"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@unocss/
|
|
54
|
-
"@unocss/preset-
|
|
55
|
-
"@unocss/
|
|
53
|
+
"@unocss/core": "0.55.2",
|
|
54
|
+
"@unocss/preset-mini": "0.55.2",
|
|
55
|
+
"@unocss/preset-wind": "0.55.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|