unocss 66.6.6 → 66.6.8

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.mjs CHANGED
@@ -1,10 +1,8 @@
1
1
  import presetUno from "@unocss/preset-uno";
2
2
  import AstroIntegrationPlugin from "@unocss/astro";
3
-
4
3
  //#region src/astro.ts
5
4
  function UnocssAstroIntegration(config) {
6
5
  return AstroIntegrationPlugin(config, { presets: [presetUno()] });
7
6
  }
8
-
9
7
  //#endregion
10
- export { UnocssAstroIntegration as default };
8
+ export { UnocssAstroIntegration as default };
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -6,16 +6,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
19
15
  }
20
16
  return to;
21
17
  };
@@ -23,12 +19,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
19
  value: mod,
24
20
  enumerable: true
25
21
  }) : target, mod));
26
-
27
22
  //#endregion
28
-
29
- Object.defineProperty(exports, '__toESM', {
30
- enumerable: true,
31
- get: function () {
32
- return __toESM;
33
- }
34
- });
23
+ Object.defineProperty(exports, "__toESM", {
24
+ enumerable: true,
25
+ get: function() {
26
+ return __toESM;
27
+ }
28
+ });
package/dist/index.d.mts CHANGED
@@ -16,7 +16,6 @@ import transformerVariantGroup from "@unocss/transformer-variant-group";
16
16
  export * from "@unocss/core";
17
17
 
18
18
  //#region src/index.d.ts
19
-
20
19
  /**
21
20
  * Define UnoCSS config
22
21
  */
package/dist/index.mjs CHANGED
@@ -12,9 +12,7 @@ import transformerAttributifyJsx from "@unocss/transformer-attributify-jsx";
12
12
  import transformerCompileClass from "@unocss/transformer-compile-class";
13
13
  import transformerDirectives from "@unocss/transformer-directives";
14
14
  import transformerVariantGroup from "@unocss/transformer-variant-group";
15
-
16
- export * from "@unocss/core"
17
-
15
+ export * from "@unocss/core";
18
16
  //#region src/index.ts
19
17
  /**
20
18
  * Define UnoCSS config
@@ -22,6 +20,5 @@ export * from "@unocss/core"
22
20
  function defineConfig(config) {
23
21
  return config;
24
22
  }
25
-
26
23
  //#endregion
27
- export { defineConfig, presetAttributify, presetIcons, presetMini, presetTagify, presetTypography, presetUno, presetWebFonts, presetWind, presetWind3, presetWind4, transformerAttributifyJsx, transformerCompileClass, transformerDirectives, transformerVariantGroup };
24
+ export { defineConfig, presetAttributify, presetIcons, presetMini, presetTagify, presetTypography, presetUno, presetWebFonts, presetWind, presetWind3, presetWind4, transformerAttributifyJsx, transformerCompileClass, transformerDirectives, transformerVariantGroup };
package/dist/postcss.cjs CHANGED
@@ -1,9 +1,7 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
1
+ const require_chunk = require("./chunk-CKQMccvm.cjs");
2
2
  let _unocss_postcss = require("@unocss/postcss");
3
3
  _unocss_postcss = require_chunk.__toESM(_unocss_postcss);
4
-
5
4
  //#region src/postcss.ts
6
5
  var postcss_default = _unocss_postcss.default;
7
-
8
6
  //#endregion
9
- module.exports = postcss_default;
7
+ module.exports = postcss_default;
package/dist/postcss.mjs CHANGED
@@ -1,7 +1,5 @@
1
1
  import postcss from "@unocss/postcss";
2
-
3
2
  //#region src/postcss.ts
4
3
  var postcss_default = postcss;
5
-
6
4
  //#endregion
7
- export { postcss_default as default };
5
+ export { postcss_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_attributify_default from "@unocss/preset-attributify";
2
-
3
- export * from "@unocss/preset-attributify"
4
-
5
- export { preset_attributify_default as default };
2
+ export * from "@unocss/preset-attributify";
3
+ export { preset_attributify_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_icons_default from "@unocss/preset-icons";
2
-
3
- export * from "@unocss/preset-icons"
4
-
5
- export { preset_icons_default as default };
2
+ export * from "@unocss/preset-icons";
3
+ export { preset_icons_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_mini_default from "@unocss/preset-mini";
2
-
3
- export * from "@unocss/preset-mini"
4
-
5
- export { preset_mini_default as default };
2
+ export * from "@unocss/preset-mini";
3
+ export { preset_mini_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_tagify_default from "@unocss/preset-tagify";
2
-
3
- export * from "@unocss/preset-tagify"
4
-
5
- export { preset_tagify_default as default };
2
+ export * from "@unocss/preset-tagify";
3
+ export { preset_tagify_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_typography_default from "@unocss/preset-typography";
2
-
3
- export * from "@unocss/preset-typography"
4
-
5
- export { preset_typography_default as default };
2
+ export * from "@unocss/preset-typography";
3
+ export { preset_typography_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_uno_default from "@unocss/preset-uno";
2
-
3
- export * from "@unocss/preset-uno"
4
-
5
- export { preset_uno_default as default };
2
+ export * from "@unocss/preset-uno";
3
+ export { preset_uno_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_web_fonts_default from "@unocss/preset-web-fonts";
2
-
3
- export * from "@unocss/preset-web-fonts"
4
-
5
- export { preset_web_fonts_default as default };
2
+ export * from "@unocss/preset-web-fonts";
3
+ export { preset_web_fonts_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_wind_default from "@unocss/preset-wind";
2
-
3
- export * from "@unocss/preset-wind"
4
-
5
- export { preset_wind_default as default };
2
+ export * from "@unocss/preset-wind";
3
+ export { preset_wind_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_wind3_default from "@unocss/preset-wind3";
2
-
3
- export * from "@unocss/preset-wind3"
4
-
5
- export { preset_wind3_default as default };
2
+ export * from "@unocss/preset-wind3";
3
+ export { preset_wind3_default as default };
@@ -1,5 +1,3 @@
1
1
  import preset_wind4_default from "@unocss/preset-wind4";
2
-
3
- export * from "@unocss/preset-wind4"
4
-
5
- export { preset_wind4_default as default };
2
+ export * from "@unocss/preset-wind4";
3
+ export { preset_wind4_default as default };
package/dist/vite.mjs CHANGED
@@ -1,12 +1,9 @@
1
1
  import presetWind3 from "@unocss/preset-wind3";
2
2
  import VitePlugin from "@unocss/vite";
3
-
4
- export * from "@unocss/vite"
5
-
3
+ export * from "@unocss/vite";
6
4
  //#region src/vite.ts
7
5
  function UnocssVitePlugin(configOrPath) {
8
6
  return VitePlugin(configOrPath, { presets: [presetWind3()] });
9
7
  }
10
-
11
8
  //#endregion
12
- export { UnocssVitePlugin as default };
9
+ export { UnocssVitePlugin as default };
package/dist/webpack.cjs CHANGED
@@ -1,19 +1,19 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
1
+ const require_chunk = require("./chunk-CKQMccvm.cjs");
2
2
  let _unocss_preset_uno = require("@unocss/preset-uno");
3
3
  _unocss_preset_uno = require_chunk.__toESM(_unocss_preset_uno);
4
4
  let _unocss_webpack = require("@unocss/webpack");
5
5
  _unocss_webpack = require_chunk.__toESM(_unocss_webpack);
6
-
7
6
  //#region src/webpack.ts
8
7
  function UnocssWebpackPlugin(configOrPath) {
9
8
  return (0, _unocss_webpack.default)(configOrPath, { presets: [(0, _unocss_preset_uno.default)()] });
10
9
  }
11
-
12
10
  //#endregion
13
11
  module.exports = UnocssWebpackPlugin;
14
- Object.keys(_unocss_webpack).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
16
- enumerable: true,
17
- get: function () { return _unocss_webpack[k]; }
18
- });
12
+ Object.keys(_unocss_webpack).forEach(function(k) {
13
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
14
+ enumerable: true,
15
+ get: function() {
16
+ return _unocss_webpack[k];
17
+ }
18
+ });
19
19
  });
package/dist/webpack.mjs CHANGED
@@ -1,12 +1,9 @@
1
1
  import presetUno from "@unocss/preset-uno";
2
2
  import WebpackPlugin from "@unocss/webpack";
3
-
4
- export * from "@unocss/webpack"
5
-
3
+ export * from "@unocss/webpack";
6
4
  //#region src/webpack.ts
7
5
  function UnocssWebpackPlugin(configOrPath) {
8
6
  return WebpackPlugin(configOrPath, { presets: [presetUno()] });
9
7
  }
10
-
11
8
  //#endregion
12
- export { UnocssWebpackPlugin as default };
9
+ export { UnocssWebpackPlugin as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unocss",
3
3
  "type": "module",
4
- "version": "66.6.6",
4
+ "version": "66.6.8",
5
5
  "description": "The instant on-demand Atomic CSS engine.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  ".": "./dist/index.mjs",
32
32
  "./astro": "./dist/astro.mjs",
33
33
  "./postcss": {
34
- "require": "./dist/postcss.cjs",
35
- "import": "./dist/postcss.mjs"
34
+ "import": "./dist/postcss.mjs",
35
+ "require": "./dist/postcss.cjs"
36
36
  },
37
37
  "./preset-attributify": "./dist/preset-attributify.mjs",
38
38
  "./preset-icons": "./dist/preset-icons.mjs",
@@ -46,8 +46,8 @@
46
46
  "./preset-wind4": "./dist/preset-wind4.mjs",
47
47
  "./vite": "./dist/vite.mjs",
48
48
  "./webpack": {
49
- "require": "./dist/webpack.cjs",
50
- "import": "./dist/webpack.mjs"
49
+ "import": "./dist/webpack.mjs",
50
+ "require": "./dist/webpack.cjs"
51
51
  },
52
52
  "./package.json": "./package.json"
53
53
  },
@@ -70,9 +70,9 @@
70
70
  "node": ">=14"
71
71
  },
72
72
  "peerDependencies": {
73
- "@unocss/astro": "66.6.6",
74
- "@unocss/postcss": "66.6.6",
75
- "@unocss/webpack": "66.6.6"
73
+ "@unocss/astro": "66.6.8",
74
+ "@unocss/webpack": "66.6.8",
75
+ "@unocss/postcss": "66.6.8"
76
76
  },
77
77
  "peerDependenciesMeta": {
78
78
  "@unocss/astro": {
@@ -86,28 +86,28 @@
86
86
  }
87
87
  },
88
88
  "dependencies": {
89
- "@unocss/cli": "66.6.6",
90
- "@unocss/core": "66.6.6",
91
- "@unocss/preset-icons": "66.6.6",
92
- "@unocss/preset-typography": "66.6.6",
93
- "@unocss/preset-mini": "66.6.6",
94
- "@unocss/preset-attributify": "66.6.6",
95
- "@unocss/preset-uno": "66.6.6",
96
- "@unocss/preset-web-fonts": "66.6.6",
97
- "@unocss/preset-tagify": "66.6.6",
98
- "@unocss/preset-wind": "66.6.6",
99
- "@unocss/preset-wind3": "66.6.6",
100
- "@unocss/preset-wind4": "66.6.6",
101
- "@unocss/transformer-attributify-jsx": "66.6.6",
102
- "@unocss/transformer-compile-class": "66.6.6",
103
- "@unocss/transformer-directives": "66.6.6",
104
- "@unocss/transformer-variant-group": "66.6.6",
105
- "@unocss/vite": "66.6.6"
89
+ "@unocss/cli": "66.6.8",
90
+ "@unocss/preset-attributify": "66.6.8",
91
+ "@unocss/preset-icons": "66.6.8",
92
+ "@unocss/core": "66.6.8",
93
+ "@unocss/preset-tagify": "66.6.8",
94
+ "@unocss/preset-mini": "66.6.8",
95
+ "@unocss/preset-typography": "66.6.8",
96
+ "@unocss/preset-uno": "66.6.8",
97
+ "@unocss/preset-web-fonts": "66.6.8",
98
+ "@unocss/preset-wind": "66.6.8",
99
+ "@unocss/preset-wind3": "66.6.8",
100
+ "@unocss/preset-wind4": "66.6.8",
101
+ "@unocss/transformer-attributify-jsx": "66.6.8",
102
+ "@unocss/transformer-compile-class": "66.6.8",
103
+ "@unocss/transformer-directives": "66.6.8",
104
+ "@unocss/vite": "66.6.8",
105
+ "@unocss/transformer-variant-group": "66.6.8"
106
106
  },
107
107
  "devDependencies": {
108
- "@unocss/astro": "66.6.6",
109
- "@unocss/postcss": "66.6.6",
110
- "@unocss/webpack": "66.6.6"
108
+ "@unocss/postcss": "66.6.8",
109
+ "@unocss/astro": "66.6.8",
110
+ "@unocss/webpack": "66.6.8"
111
111
  },
112
112
  "scripts": {
113
113
  "build": "tsdown",