unocss 0.58.4 → 0.58.6
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/README.md +2 -2
- package/dist/index.cjs +8 -4
- package/dist/index.d.cts +3 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/preset-attributify.cjs +8 -4
- package/dist/preset-icons.cjs +8 -4
- package/dist/preset-mini.cjs +8 -4
- package/dist/preset-tagify.cjs +8 -4
- package/dist/preset-typography.cjs +8 -4
- package/dist/preset-uno.cjs +8 -4
- package/dist/preset-web-fonts.cjs +8 -4
- package/dist/preset-wind.cjs +8 -4
- package/dist/vite.cjs +8 -4
- package/dist/webpack.cjs +8 -4
- package/package.json +24 -24
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ The instant on-demand Atomic CSS engine.
|
|
|
29
29
|
|
|
30
30
|
Inspired by [Windi CSS](http://windicss.org/), [Tailwind CSS](https://tailwindcss.com/), and [Twind](https://github.com/tw-in-js/twind), but:
|
|
31
31
|
|
|
32
|
-
- [Fully customizable](https://unocss.dev/config/) - no core utilities
|
|
32
|
+
- [Fully customizable](https://unocss.dev/config/) - no core utilities. All functionalities are provided via presets.
|
|
33
33
|
- No parsing, no AST, no scanning, it's **INSTANT** (5x faster than Windi CSS or Tailwind JIT).
|
|
34
34
|
- ~6kb min+brotli - zero deps and browser friendly.
|
|
35
35
|
- [Shortcuts](https://unocss.dev/config/shortcuts) - aliasing utilities, dynamically.
|
|
@@ -63,7 +63,7 @@ Read the [documentation](https://unocss.dev/) for more details.
|
|
|
63
63
|
|
|
64
64
|
UnoCSS is made possible thanks to the inspirations from the following projects:
|
|
65
65
|
|
|
66
|
-
> in
|
|
66
|
+
> in alphabetical order
|
|
67
67
|
|
|
68
68
|
- [ACSS](https://acss.io/)
|
|
69
69
|
- [Bootstrap Utilities](https://getbootstrap.com/docs/5.1/utilities/flex/)
|
package/dist/index.cjs
CHANGED
|
@@ -46,9 +46,13 @@ exports.transformerVariantGroup = transformerVariantGroup__default;
|
|
|
46
46
|
exports.transformerCompileClass = transformerCompileClass__default;
|
|
47
47
|
exports.transformerAttributifyJsx = transformerAttributifyJsx__default;
|
|
48
48
|
exports.defineConfig = defineConfig;
|
|
49
|
-
Object.
|
|
50
|
-
|
|
49
|
+
Object.prototype.hasOwnProperty.call(core, '__proto__') &&
|
|
50
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
51
|
+
Object.defineProperty(exports, '__proto__', {
|
|
51
52
|
enumerable: true,
|
|
52
|
-
value: core[
|
|
53
|
-
})
|
|
53
|
+
value: core['__proto__']
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
Object.keys(core).forEach(function (k) {
|
|
57
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
|
|
54
58
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -14,6 +14,9 @@ export { default as transformerVariantGroup } from '@unocss/transformer-variant-
|
|
|
14
14
|
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
15
15
|
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Define UnoCSS config
|
|
19
|
+
*/
|
|
17
20
|
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
18
21
|
|
|
19
22
|
export { defineConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -14,6 +14,9 @@ export { default as transformerVariantGroup } from '@unocss/transformer-variant-
|
|
|
14
14
|
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
15
15
|
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Define UnoCSS config
|
|
19
|
+
*/
|
|
17
20
|
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
18
21
|
|
|
19
22
|
export { defineConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,9 @@ export { default as transformerVariantGroup } from '@unocss/transformer-variant-
|
|
|
14
14
|
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
15
15
|
export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Define UnoCSS config
|
|
19
|
+
*/
|
|
17
20
|
declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
|
|
18
21
|
|
|
19
22
|
export { defineConfig };
|
|
@@ -11,9 +11,13 @@ const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttr
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetAttributify__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetAttributify, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetAttributify[
|
|
18
|
-
})
|
|
18
|
+
value: presetAttributify['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetAttributify).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetAttributify[k];
|
|
19
23
|
});
|
package/dist/preset-icons.cjs
CHANGED
|
@@ -11,9 +11,13 @@ const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetIcons__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetIcons, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetIcons[
|
|
18
|
-
})
|
|
18
|
+
value: presetIcons['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetIcons).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetIcons[k];
|
|
19
23
|
});
|
package/dist/preset-mini.cjs
CHANGED
|
@@ -11,9 +11,13 @@ const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetMini__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetMini, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetMini[
|
|
18
|
-
})
|
|
18
|
+
value: presetMini['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetMini).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetMini[k];
|
|
19
23
|
});
|
package/dist/preset-tagify.cjs
CHANGED
|
@@ -11,9 +11,13 @@ const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetTagify__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetTagify, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetTagify[
|
|
18
|
-
})
|
|
18
|
+
value: presetTagify['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetTagify).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTagify[k];
|
|
19
23
|
});
|
|
@@ -11,9 +11,13 @@ const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypog
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetTypography__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetTypography, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetTypography[
|
|
18
|
-
})
|
|
18
|
+
value: presetTypography['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetTypography).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTypography[k];
|
|
19
23
|
});
|
package/dist/preset-uno.cjs
CHANGED
|
@@ -11,9 +11,13 @@ const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetUno__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetUno, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetUno[
|
|
18
|
-
})
|
|
18
|
+
value: presetUno['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetUno).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetUno[k];
|
|
19
23
|
});
|
|
@@ -11,9 +11,13 @@ const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFont
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetWebFonts__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetWebFonts, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetWebFonts[
|
|
18
|
-
})
|
|
18
|
+
value: presetWebFonts['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetWebFonts).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWebFonts[k];
|
|
19
23
|
});
|
package/dist/preset-wind.cjs
CHANGED
|
@@ -11,9 +11,13 @@ const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
exports.default = presetWind__default;
|
|
14
|
-
Object.
|
|
15
|
-
|
|
14
|
+
Object.prototype.hasOwnProperty.call(presetWind, '__proto__') &&
|
|
15
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
16
|
+
Object.defineProperty(exports, '__proto__', {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
value: presetWind[
|
|
18
|
-
})
|
|
18
|
+
value: presetWind['__proto__']
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
Object.keys(presetWind).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWind[k];
|
|
19
23
|
});
|
package/dist/vite.cjs
CHANGED
|
@@ -22,9 +22,13 @@ function UnocssVitePlugin(configOrPath) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
exports.default = UnocssVitePlugin;
|
|
25
|
-
Object.
|
|
26
|
-
|
|
25
|
+
Object.prototype.hasOwnProperty.call(VitePlugin, '__proto__') &&
|
|
26
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
27
|
+
Object.defineProperty(exports, '__proto__', {
|
|
27
28
|
enumerable: true,
|
|
28
|
-
value: VitePlugin[
|
|
29
|
-
})
|
|
29
|
+
value: VitePlugin['__proto__']
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
Object.keys(VitePlugin).forEach(function (k) {
|
|
33
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = VitePlugin[k];
|
|
30
34
|
});
|
package/dist/webpack.cjs
CHANGED
|
@@ -22,9 +22,13 @@ function UnocssWebpackPlugin(configOrPath) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
exports.default = UnocssWebpackPlugin;
|
|
25
|
-
Object.
|
|
26
|
-
|
|
25
|
+
Object.prototype.hasOwnProperty.call(WebpackPlugin, '__proto__') &&
|
|
26
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
27
|
+
Object.defineProperty(exports, '__proto__', {
|
|
27
28
|
enumerable: true,
|
|
28
|
-
value: WebpackPlugin[
|
|
29
|
-
})
|
|
29
|
+
value: WebpackPlugin['__proto__']
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
Object.keys(WebpackPlugin).forEach(function (k) {
|
|
33
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = WebpackPlugin[k];
|
|
30
34
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unocss",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.6",
|
|
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 || ^5.0.0-0",
|
|
107
|
-
"@unocss/webpack": "0.58.
|
|
107
|
+
"@unocss/webpack": "0.58.6"
|
|
108
108
|
},
|
|
109
109
|
"peerDependenciesMeta": {
|
|
110
110
|
"@unocss/webpack": {
|
|
@@ -115,30 +115,30 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@unocss/astro": "0.58.
|
|
119
|
-
"@unocss/cli": "0.58.
|
|
120
|
-
"@unocss/
|
|
121
|
-
"@unocss/
|
|
122
|
-
"@unocss/postcss": "0.58.
|
|
123
|
-
"@unocss/preset-attributify": "0.58.
|
|
124
|
-
"@unocss/preset-icons": "0.58.
|
|
125
|
-
"@unocss/preset-
|
|
126
|
-
"@unocss/preset-
|
|
127
|
-
"@unocss/preset-typography": "0.58.
|
|
128
|
-
"@unocss/preset-
|
|
129
|
-
"@unocss/preset-
|
|
130
|
-
"@unocss/
|
|
131
|
-
"@unocss/
|
|
132
|
-
"@unocss/transformer-attributify-jsx": "0.58.
|
|
133
|
-
"@unocss/transformer-
|
|
134
|
-
"@unocss/transformer-
|
|
135
|
-
"@unocss/transformer-directives": "0.58.
|
|
136
|
-
"@unocss/transformer-variant-group": "0.58.
|
|
137
|
-
"@unocss/vite": "0.58.
|
|
118
|
+
"@unocss/astro": "0.58.6",
|
|
119
|
+
"@unocss/cli": "0.58.6",
|
|
120
|
+
"@unocss/extractor-arbitrary-variants": "0.58.6",
|
|
121
|
+
"@unocss/core": "0.58.6",
|
|
122
|
+
"@unocss/postcss": "0.58.6",
|
|
123
|
+
"@unocss/preset-attributify": "0.58.6",
|
|
124
|
+
"@unocss/preset-icons": "0.58.6",
|
|
125
|
+
"@unocss/preset-tagify": "0.58.6",
|
|
126
|
+
"@unocss/preset-mini": "0.58.6",
|
|
127
|
+
"@unocss/preset-typography": "0.58.6",
|
|
128
|
+
"@unocss/preset-web-fonts": "0.58.6",
|
|
129
|
+
"@unocss/preset-uno": "0.58.6",
|
|
130
|
+
"@unocss/reset": "0.58.6",
|
|
131
|
+
"@unocss/preset-wind": "0.58.6",
|
|
132
|
+
"@unocss/transformer-attributify-jsx": "0.58.6",
|
|
133
|
+
"@unocss/transformer-compile-class": "0.58.6",
|
|
134
|
+
"@unocss/transformer-attributify-jsx-babel": "0.58.6",
|
|
135
|
+
"@unocss/transformer-directives": "0.58.6",
|
|
136
|
+
"@unocss/transformer-variant-group": "0.58.6",
|
|
137
|
+
"@unocss/vite": "0.58.6"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"vite": "^5.
|
|
141
|
-
"@unocss/webpack": "0.58.
|
|
140
|
+
"vite": "^5.1.6",
|
|
141
|
+
"@unocss/webpack": "0.58.6"
|
|
142
142
|
},
|
|
143
143
|
"scripts": {
|
|
144
144
|
"build": "unbuild",
|