unocss 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/astro.cjs +3 -3
- package/dist/astro.d.cts +6 -0
- package/dist/astro.d.mts +6 -0
- package/dist/index.cjs +16 -18
- package/dist/index.d.cts +20 -0
- package/dist/index.d.mts +20 -0
- package/dist/postcss.cjs +2 -2
- package/dist/postcss.d.cts +2 -0
- package/dist/postcss.d.mts +2 -0
- package/dist/preset-attributify.cjs +6 -6
- package/dist/preset-attributify.d.cts +2 -0
- package/dist/preset-attributify.d.mts +2 -0
- package/dist/preset-icons.cjs +6 -6
- package/dist/preset-icons.d.cts +2 -0
- package/dist/preset-icons.d.mts +2 -0
- package/dist/preset-mini.cjs +6 -6
- package/dist/preset-mini.d.cts +2 -0
- package/dist/preset-mini.d.mts +2 -0
- package/dist/preset-tagify.cjs +6 -6
- package/dist/preset-tagify.d.cts +2 -0
- package/dist/preset-tagify.d.mts +2 -0
- package/dist/preset-typography.cjs +6 -6
- package/dist/preset-typography.d.cts +2 -0
- package/dist/preset-typography.d.mts +2 -0
- package/dist/preset-uno.cjs +6 -6
- package/dist/preset-uno.d.cts +9 -0
- package/dist/preset-uno.d.mts +9 -0
- package/dist/preset-uno.d.ts +7 -0
- package/dist/preset-web-fonts.cjs +6 -6
- package/dist/preset-web-fonts.d.cts +2 -0
- package/dist/preset-web-fonts.d.mts +2 -0
- package/dist/preset-wind.cjs +6 -6
- package/dist/preset-wind.d.cts +2 -0
- package/dist/preset-wind.d.mts +2 -0
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +7 -0
- package/dist/vite.d.mts +7 -0
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +6 -0
- package/dist/webpack.d.mts +6 -0
- package/package.json +23 -23
package/dist/astro.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
const AstroIntegrationPlugin = require('@unocss/astro');
|
|
4
4
|
const presetUno = require('@unocss/preset-uno');
|
|
5
5
|
|
|
6
|
-
function
|
|
6
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
7
7
|
|
|
8
|
-
const AstroIntegrationPlugin__default = /*#__PURE__*/
|
|
9
|
-
const presetUno__default = /*#__PURE__*/
|
|
8
|
+
const AstroIntegrationPlugin__default = /*#__PURE__*/_interopDefaultCompat(AstroIntegrationPlugin);
|
|
9
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
10
10
|
|
|
11
11
|
function UnocssAstroIntegration(config) {
|
|
12
12
|
return AstroIntegrationPlugin__default(
|
package/dist/astro.d.cts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AstroIntegrationConfig } from '@unocss/astro';
|
|
2
|
+
import { AstroIntegration } from 'astro';
|
|
3
|
+
|
|
4
|
+
declare function UnocssAstroIntegration<Theme extends object>(config?: AstroIntegrationConfig<Theme>): AstroIntegration;
|
|
5
|
+
|
|
6
|
+
export { UnocssAstroIntegration as default };
|
package/dist/astro.d.mts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AstroIntegrationConfig } from '@unocss/astro';
|
|
2
|
+
import { AstroIntegration } from 'astro';
|
|
3
|
+
|
|
4
|
+
declare function UnocssAstroIntegration<Theme extends object>(config?: AstroIntegrationConfig<Theme>): AstroIntegration;
|
|
5
|
+
|
|
6
|
+
export { UnocssAstroIntegration as default };
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const core = require('@unocss/core');
|
|
6
4
|
const presetUno = require('@unocss/preset-uno');
|
|
7
5
|
const presetAttributify = require('@unocss/preset-attributify');
|
|
@@ -16,20 +14,20 @@ const transformerVariantGroup = require('@unocss/transformer-variant-group');
|
|
|
16
14
|
const transformerCompileClass = require('@unocss/transformer-compile-class');
|
|
17
15
|
const transformerAttributifyJsx = require('@unocss/transformer-attributify-jsx');
|
|
18
16
|
|
|
19
|
-
function
|
|
17
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
20
18
|
|
|
21
|
-
const presetUno__default = /*#__PURE__*/
|
|
22
|
-
const presetAttributify__default = /*#__PURE__*/
|
|
23
|
-
const presetTagify__default = /*#__PURE__*/
|
|
24
|
-
const presetIcons__default = /*#__PURE__*/
|
|
25
|
-
const presetWebFonts__default = /*#__PURE__*/
|
|
26
|
-
const presetTypography__default = /*#__PURE__*/
|
|
27
|
-
const presetMini__default = /*#__PURE__*/
|
|
28
|
-
const presetWind__default = /*#__PURE__*/
|
|
29
|
-
const transformerDirectives__default = /*#__PURE__*/
|
|
30
|
-
const transformerVariantGroup__default = /*#__PURE__*/
|
|
31
|
-
const transformerCompileClass__default = /*#__PURE__*/
|
|
32
|
-
const transformerAttributifyJsx__default = /*#__PURE__*/
|
|
19
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
20
|
+
const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttributify);
|
|
21
|
+
const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
|
|
22
|
+
const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
|
|
23
|
+
const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFonts);
|
|
24
|
+
const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypography);
|
|
25
|
+
const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
|
|
26
|
+
const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
|
|
27
|
+
const transformerDirectives__default = /*#__PURE__*/_interopDefaultCompat(transformerDirectives);
|
|
28
|
+
const transformerVariantGroup__default = /*#__PURE__*/_interopDefaultCompat(transformerVariantGroup);
|
|
29
|
+
const transformerCompileClass__default = /*#__PURE__*/_interopDefaultCompat(transformerCompileClass);
|
|
30
|
+
const transformerAttributifyJsx__default = /*#__PURE__*/_interopDefaultCompat(transformerAttributifyJsx);
|
|
33
31
|
|
|
34
32
|
function defineConfig(config) {
|
|
35
33
|
return config;
|
|
@@ -52,6 +50,6 @@ exports.transformerCompileClass = transformerCompileClass__default;
|
|
|
52
50
|
exports.transformerAttributifyJsx = transformerAttributifyJsx__default;
|
|
53
51
|
exports.defineConfig = defineConfig;
|
|
54
52
|
exports.definePreset = definePreset;
|
|
55
|
-
|
|
56
|
-
if (k !== 'default' && !
|
|
57
|
-
}
|
|
53
|
+
Object.keys(core).forEach(function (k) {
|
|
54
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
|
|
55
|
+
});
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UserConfig, Preset } from '@unocss/core';
|
|
2
|
+
export * from '@unocss/core';
|
|
3
|
+
import { Theme } from '@unocss/preset-uno';
|
|
4
|
+
export { default as presetUno } from '@unocss/preset-uno';
|
|
5
|
+
export { default as presetAttributify } from '@unocss/preset-attributify';
|
|
6
|
+
export { default as presetTagify } from '@unocss/preset-tagify';
|
|
7
|
+
export { default as presetIcons } from '@unocss/preset-icons';
|
|
8
|
+
export { default as presetWebFonts } from '@unocss/preset-web-fonts';
|
|
9
|
+
export { default as presetTypography } from '@unocss/preset-typography';
|
|
10
|
+
export { default as presetMini } from '@unocss/preset-mini';
|
|
11
|
+
export { default as presetWind } from '@unocss/preset-wind';
|
|
12
|
+
export { default as transformerDirectives } from '@unocss/transformer-directives';
|
|
13
|
+
export { default as transformerVariantGroup } from '@unocss/transformer-variant-group';
|
|
14
|
+
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
15
|
+
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
16
|
+
|
|
17
|
+
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
18
|
+
declare function definePreset<T extends object = object>(preset: Preset<T>): Preset<T>;
|
|
19
|
+
|
|
20
|
+
export { defineConfig, definePreset };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UserConfig, Preset } from '@unocss/core';
|
|
2
|
+
export * from '@unocss/core';
|
|
3
|
+
import { Theme } from '@unocss/preset-uno';
|
|
4
|
+
export { default as presetUno } from '@unocss/preset-uno';
|
|
5
|
+
export { default as presetAttributify } from '@unocss/preset-attributify';
|
|
6
|
+
export { default as presetTagify } from '@unocss/preset-tagify';
|
|
7
|
+
export { default as presetIcons } from '@unocss/preset-icons';
|
|
8
|
+
export { default as presetWebFonts } from '@unocss/preset-web-fonts';
|
|
9
|
+
export { default as presetTypography } from '@unocss/preset-typography';
|
|
10
|
+
export { default as presetMini } from '@unocss/preset-mini';
|
|
11
|
+
export { default as presetWind } from '@unocss/preset-wind';
|
|
12
|
+
export { default as transformerDirectives } from '@unocss/transformer-directives';
|
|
13
|
+
export { default as transformerVariantGroup } from '@unocss/transformer-variant-group';
|
|
14
|
+
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
15
|
+
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
16
|
+
|
|
17
|
+
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
18
|
+
declare function definePreset<T extends object = object>(preset: Preset<T>): Preset<T>;
|
|
19
|
+
|
|
20
|
+
export { defineConfig, definePreset };
|
package/dist/postcss.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const postcss = require('@unocss/postcss');
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
6
6
|
|
|
7
|
-
const postcss__default = /*#__PURE__*/
|
|
7
|
+
const postcss__default = /*#__PURE__*/_interopDefaultCompat(postcss);
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetAttributify = require('@unocss/preset-attributify');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetAttributify__default = /*#__PURE__*/
|
|
9
|
+
const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttributify);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetAttributify__default;
|
|
14
|
+
Object.keys(presetAttributify).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetAttributify[k];
|
|
16
|
+
});
|
package/dist/preset-icons.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetIcons = require('@unocss/preset-icons');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetIcons__default = /*#__PURE__*/
|
|
9
|
+
const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetIcons__default;
|
|
14
|
+
Object.keys(presetIcons).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetIcons[k];
|
|
16
|
+
});
|
package/dist/preset-mini.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetMini = require('@unocss/preset-mini');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetMini__default = /*#__PURE__*/
|
|
9
|
+
const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetMini__default;
|
|
14
|
+
Object.keys(presetMini).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetMini[k];
|
|
16
|
+
});
|
package/dist/preset-tagify.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetTagify = require('@unocss/preset-tagify');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetTagify__default = /*#__PURE__*/
|
|
9
|
+
const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetTagify__default;
|
|
14
|
+
Object.keys(presetTagify).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTagify[k];
|
|
16
|
+
});
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetTypography = require('@unocss/preset-typography');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetTypography__default = /*#__PURE__*/
|
|
9
|
+
const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypography);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetTypography__default;
|
|
14
|
+
Object.keys(presetTypography).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTypography[k];
|
|
16
|
+
});
|
package/dist/preset-uno.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetUno = require('@unocss/preset-uno');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetUno__default = /*#__PURE__*/
|
|
9
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetUno__default;
|
|
14
|
+
Object.keys(presetUno).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetUno[k];
|
|
16
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from '@unocss/preset-uno';
|
|
2
|
+
export { default } from '@unocss/preset-uno';
|
|
3
|
+
import '@unocss/preset-icons';
|
|
4
|
+
import '@unocss/preset-attributify';
|
|
5
|
+
import '@unocss/preset-tagify';
|
|
6
|
+
import '@unocss/preset-web-fonts';
|
|
7
|
+
import '@unocss/preset-typography';
|
|
8
|
+
import '@unocss/preset-wind';
|
|
9
|
+
import '@unocss/preset-mini';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from '@unocss/preset-uno';
|
|
2
|
+
export { default } from '@unocss/preset-uno';
|
|
3
|
+
import '@unocss/preset-icons';
|
|
4
|
+
import '@unocss/preset-attributify';
|
|
5
|
+
import '@unocss/preset-tagify';
|
|
6
|
+
import '@unocss/preset-web-fonts';
|
|
7
|
+
import '@unocss/preset-typography';
|
|
8
|
+
import '@unocss/preset-wind';
|
|
9
|
+
import '@unocss/preset-mini';
|
package/dist/preset-uno.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export * from '@unocss/preset-uno';
|
|
2
2
|
export { default } from '@unocss/preset-uno';
|
|
3
|
+
import '@unocss/preset-icons';
|
|
4
|
+
import '@unocss/preset-attributify';
|
|
5
|
+
import '@unocss/preset-tagify';
|
|
6
|
+
import '@unocss/preset-web-fonts';
|
|
7
|
+
import '@unocss/preset-typography';
|
|
8
|
+
import '@unocss/preset-wind';
|
|
9
|
+
import '@unocss/preset-mini';
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetWebFonts = require('@unocss/preset-web-fonts');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetWebFonts__default = /*#__PURE__*/
|
|
9
|
+
const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFonts);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetWebFonts__default;
|
|
14
|
+
Object.keys(presetWebFonts).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWebFonts[k];
|
|
16
|
+
});
|
package/dist/preset-wind.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const presetWind = require('@unocss/preset-wind');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
8
8
|
|
|
9
|
-
const presetWind__default = /*#__PURE__*/
|
|
9
|
+
const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports
|
|
14
|
-
|
|
15
|
-
if (k !== 'default' && !
|
|
16
|
-
}
|
|
13
|
+
exports.default = presetWind__default;
|
|
14
|
+
Object.keys(presetWind).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWind[k];
|
|
16
|
+
});
|
package/dist/vite.cjs
CHANGED
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const VitePlugin = require('@unocss/vite');
|
|
6
6
|
const presetUno = require('@unocss/preset-uno');
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
9
9
|
|
|
10
|
-
const VitePlugin__default = /*#__PURE__*/
|
|
11
|
-
const presetUno__default = /*#__PURE__*/
|
|
10
|
+
const VitePlugin__default = /*#__PURE__*/_interopDefaultCompat(VitePlugin);
|
|
11
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
12
12
|
|
|
13
13
|
function UnocssVitePlugin(configOrPath) {
|
|
14
14
|
return VitePlugin__default(
|
|
@@ -21,7 +21,7 @@ function UnocssVitePlugin(configOrPath) {
|
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
exports
|
|
25
|
-
|
|
26
|
-
if (k !== 'default' && !
|
|
27
|
-
}
|
|
24
|
+
exports.default = UnocssVitePlugin;
|
|
25
|
+
Object.keys(VitePlugin).forEach(function (k) {
|
|
26
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = VitePlugin[k];
|
|
27
|
+
});
|
package/dist/vite.d.cts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VitePluginConfig } from '@unocss/vite';
|
|
2
|
+
export * from '@unocss/vite';
|
|
3
|
+
import { Plugin } from 'vite';
|
|
4
|
+
|
|
5
|
+
declare function UnocssVitePlugin<Theme extends object>(configOrPath?: VitePluginConfig<Theme> | string): Plugin[];
|
|
6
|
+
|
|
7
|
+
export { UnocssVitePlugin as default };
|
package/dist/vite.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VitePluginConfig } from '@unocss/vite';
|
|
2
|
+
export * from '@unocss/vite';
|
|
3
|
+
import { Plugin } from 'vite';
|
|
4
|
+
|
|
5
|
+
declare function UnocssVitePlugin<Theme extends object>(configOrPath?: VitePluginConfig<Theme> | string): Plugin[];
|
|
6
|
+
|
|
7
|
+
export { UnocssVitePlugin as default };
|
package/dist/webpack.cjs
CHANGED
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const WebpackPlugin = require('@unocss/webpack');
|
|
6
6
|
const presetUno = require('@unocss/preset-uno');
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
9
9
|
|
|
10
|
-
const WebpackPlugin__default = /*#__PURE__*/
|
|
11
|
-
const presetUno__default = /*#__PURE__*/
|
|
10
|
+
const WebpackPlugin__default = /*#__PURE__*/_interopDefaultCompat(WebpackPlugin);
|
|
11
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
12
12
|
|
|
13
13
|
function UnocssWebpackPlugin(configOrPath) {
|
|
14
14
|
return WebpackPlugin__default(
|
|
@@ -21,7 +21,7 @@ function UnocssWebpackPlugin(configOrPath) {
|
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
exports
|
|
25
|
-
|
|
26
|
-
if (k !== 'default' && !
|
|
27
|
-
}
|
|
24
|
+
exports.default = UnocssWebpackPlugin;
|
|
25
|
+
Object.keys(WebpackPlugin).forEach(function (k) {
|
|
26
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = WebpackPlugin[k];
|
|
27
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unocss",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0",
|
|
107
|
-
"@unocss/webpack": "0.55.
|
|
107
|
+
"@unocss/webpack": "0.55.2"
|
|
108
108
|
},
|
|
109
109
|
"peerDependenciesMeta": {
|
|
110
110
|
"@unocss/webpack": {
|
|
@@ -115,29 +115,29 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@unocss/astro": "0.55.
|
|
119
|
-
"@unocss/
|
|
120
|
-
"@unocss/
|
|
121
|
-
"@unocss/extractor-arbitrary-variants": "0.55.
|
|
122
|
-
"@unocss/postcss": "0.55.
|
|
123
|
-
"@unocss/preset-attributify": "0.55.
|
|
124
|
-
"@unocss/preset-icons": "0.55.
|
|
125
|
-
"@unocss/preset-mini": "0.55.
|
|
126
|
-
"@unocss/preset-tagify": "0.55.
|
|
127
|
-
"@unocss/preset-typography": "0.55.
|
|
128
|
-
"@unocss/preset-uno": "0.55.
|
|
129
|
-
"@unocss/preset-web-fonts": "0.55.
|
|
130
|
-
"@unocss/preset-wind": "0.55.
|
|
131
|
-
"@unocss/reset": "0.55.
|
|
132
|
-
"@unocss/transformer-attributify-jsx
|
|
133
|
-
"@unocss/transformer-
|
|
134
|
-
"@unocss/transformer-
|
|
135
|
-
"@unocss/transformer-directives": "0.55.
|
|
136
|
-
"@unocss/transformer-variant-group": "0.55.
|
|
137
|
-
"@unocss/vite": "0.55.
|
|
118
|
+
"@unocss/astro": "0.55.2",
|
|
119
|
+
"@unocss/core": "0.55.2",
|
|
120
|
+
"@unocss/cli": "0.55.2",
|
|
121
|
+
"@unocss/extractor-arbitrary-variants": "0.55.2",
|
|
122
|
+
"@unocss/postcss": "0.55.2",
|
|
123
|
+
"@unocss/preset-attributify": "0.55.2",
|
|
124
|
+
"@unocss/preset-icons": "0.55.2",
|
|
125
|
+
"@unocss/preset-mini": "0.55.2",
|
|
126
|
+
"@unocss/preset-tagify": "0.55.2",
|
|
127
|
+
"@unocss/preset-typography": "0.55.2",
|
|
128
|
+
"@unocss/preset-uno": "0.55.2",
|
|
129
|
+
"@unocss/preset-web-fonts": "0.55.2",
|
|
130
|
+
"@unocss/preset-wind": "0.55.2",
|
|
131
|
+
"@unocss/reset": "0.55.2",
|
|
132
|
+
"@unocss/transformer-attributify-jsx": "0.55.2",
|
|
133
|
+
"@unocss/transformer-attributify-jsx-babel": "0.55.2",
|
|
134
|
+
"@unocss/transformer-compile-class": "0.55.2",
|
|
135
|
+
"@unocss/transformer-directives": "0.55.2",
|
|
136
|
+
"@unocss/transformer-variant-group": "0.55.2",
|
|
137
|
+
"@unocss/vite": "0.55.2"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"@unocss/webpack": "0.55.
|
|
140
|
+
"@unocss/webpack": "0.55.2"
|
|
141
141
|
},
|
|
142
142
|
"scripts": {
|
|
143
143
|
"build": "unbuild",
|