unocss 0.50.0 → 0.50.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/README.md CHANGED
@@ -52,6 +52,7 @@ Inspired by [Windi CSS](http://windicss.org/), [Tailwind CSS](https://tailwindcs
52
52
  - [CLI](https://github.com/unocss/unocss/blob/main/packages/cli)
53
53
  - [VS Code extension](https://github.com/unocss/unocss/blob/main/packages/vscode)
54
54
  - [ESLint Config](https://github.com/unocss/unocss/blob/main/packages/eslint-config)
55
+ - [PostCSS](https://github.com/unocss/unocss/blob/main/packages/postcss)
55
56
 
56
57
  ## Configurations
57
58
 
@@ -344,6 +345,8 @@ import '@unocss/reset/normalize.css'
344
345
  import '@unocss/reset/eric-meyer.css'
345
346
  // preflights from tailwind
346
347
  import '@unocss/reset/tailwind.css'
348
+ // https://github.com/unocss/unocss/blob/main/packages/reset/tailwind-compat.md
349
+ import '@unocss/reset/tailwind-compat.css'
347
350
  ```
348
351
 
349
352
  Learn more at [@unocss/reset](https://github.com/unocss/unocss/tree/main/packages/reset).
package/dist/postcss.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const postcss = require('@unocss/postcss');
6
4
 
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
6
+
7
+ const postcss__default = /*#__PURE__*/_interopDefaultLegacy(postcss);
8
+
7
9
 
8
10
 
9
- for (const k in postcss) {
10
- if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = postcss[k];
11
- }
11
+ module.exports = postcss__default;
package/dist/postcss.d.ts CHANGED
@@ -1 +1,2 @@
1
- export * from '@unocss/postcss';
1
+ import postcss from '@unocss/postcss';
2
+ export { default } from '@unocss/postcss';
package/dist/postcss.mjs CHANGED
@@ -1 +1,2 @@
1
- export * from '@unocss/postcss';
1
+ import postcss from '@unocss/postcss';
2
+ export { default } from '@unocss/postcss';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.50.0",
3
+ "version": "0.50.2",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -103,7 +103,7 @@
103
103
  "node": ">=14"
104
104
  },
105
105
  "peerDependencies": {
106
- "@unocss/webpack": "0.50.0"
106
+ "@unocss/webpack": "0.50.2"
107
107
  },
108
108
  "peerDependenciesMeta": {
109
109
  "@unocss/webpack": {
@@ -111,26 +111,27 @@
111
111
  }
112
112
  },
113
113
  "dependencies": {
114
- "@unocss/astro": "0.50.0",
115
- "@unocss/cli": "0.50.0",
116
- "@unocss/core": "0.50.0",
117
- "@unocss/preset-attributify": "0.50.0",
118
- "@unocss/preset-icons": "0.50.0",
119
- "@unocss/preset-mini": "0.50.0",
120
- "@unocss/preset-tagify": "0.50.0",
121
- "@unocss/preset-typography": "0.50.0",
122
- "@unocss/preset-uno": "0.50.0",
123
- "@unocss/preset-web-fonts": "0.50.0",
124
- "@unocss/preset-wind": "0.50.0",
125
- "@unocss/reset": "0.50.0",
126
- "@unocss/transformer-attributify-jsx": "0.50.0",
127
- "@unocss/transformer-compile-class": "0.50.0",
128
- "@unocss/transformer-directives": "0.50.0",
129
- "@unocss/transformer-variant-group": "0.50.0",
130
- "@unocss/vite": "0.50.0"
114
+ "@unocss/astro": "0.50.2",
115
+ "@unocss/cli": "0.50.2",
116
+ "@unocss/core": "0.50.2",
117
+ "@unocss/postcss": "0.50.2",
118
+ "@unocss/preset-attributify": "0.50.2",
119
+ "@unocss/preset-icons": "0.50.2",
120
+ "@unocss/preset-mini": "0.50.2",
121
+ "@unocss/preset-tagify": "0.50.2",
122
+ "@unocss/preset-typography": "0.50.2",
123
+ "@unocss/preset-uno": "0.50.2",
124
+ "@unocss/preset-web-fonts": "0.50.2",
125
+ "@unocss/preset-wind": "0.50.2",
126
+ "@unocss/reset": "0.50.2",
127
+ "@unocss/transformer-attributify-jsx": "0.50.2",
128
+ "@unocss/transformer-compile-class": "0.50.2",
129
+ "@unocss/transformer-directives": "0.50.2",
130
+ "@unocss/transformer-variant-group": "0.50.2",
131
+ "@unocss/vite": "0.50.2"
131
132
  },
132
133
  "devDependencies": {
133
- "@unocss/webpack": "0.50.0"
134
+ "@unocss/webpack": "0.50.2"
134
135
  },
135
136
  "scripts": {
136
137
  "build": "unbuild",