unocss 0.38.2 → 0.39.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +21 -18
package/README.md CHANGED
@@ -400,7 +400,7 @@ You can inject raw css as preflights from the configuration. The resolved `theme
400
400
  ```ts
401
401
  preflights: [
402
402
  {
403
- getCss: ({ theme }) => `
403
+ getCSS: ({ theme }) => `
404
404
  * {
405
405
  color: ${theme.colors.gray?.[700] ?? '#333'}
406
406
  padding: 0;
@@ -519,7 +519,7 @@ Layering also can be set on each preflight:
519
519
  preflights: [
520
520
  {
521
521
  layer: 'my-layer',
522
- getCss: async () => (await fetch('my-style.css')).text(),
522
+ getCSS: async () => (await fetch('my-style.css')).text(),
523
523
  },
524
524
  ]
525
525
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.38.2",
3
+ "version": "0.39.2",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -10,6 +10,9 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/unocss/unocss.git"
12
12
  },
13
+ "sponsor": {
14
+ "url": "https://github.com/sponsors/antfu"
15
+ },
13
16
  "bugs": {
14
17
  "url": "https://github.com/unocss/unocss/issues"
15
18
  },
@@ -90,7 +93,7 @@
90
93
  "node": ">=14"
91
94
  },
92
95
  "peerDependencies": {
93
- "@unocss/webpack": "0.38.2"
96
+ "@unocss/webpack": "0.39.2"
94
97
  },
95
98
  "peerDependenciesMeta": {
96
99
  "@unocss/webpack": {
@@ -98,24 +101,24 @@
98
101
  }
99
102
  },
100
103
  "dependencies": {
101
- "@unocss/cli": "0.38.2",
102
- "@unocss/core": "0.38.2",
103
- "@unocss/preset-attributify": "0.38.2",
104
- "@unocss/preset-icons": "0.38.2",
105
- "@unocss/preset-mini": "0.38.2",
106
- "@unocss/preset-tagify": "0.38.2",
107
- "@unocss/preset-typography": "0.38.2",
108
- "@unocss/preset-uno": "0.38.2",
109
- "@unocss/preset-web-fonts": "0.38.2",
110
- "@unocss/preset-wind": "0.38.2",
111
- "@unocss/reset": "0.38.2",
112
- "@unocss/transformer-compile-class": "0.38.2",
113
- "@unocss/transformer-directives": "0.38.2",
114
- "@unocss/transformer-variant-group": "0.38.2",
115
- "@unocss/vite": "0.38.2"
104
+ "@unocss/cli": "0.39.2",
105
+ "@unocss/core": "0.39.2",
106
+ "@unocss/preset-attributify": "0.39.2",
107
+ "@unocss/preset-icons": "0.39.2",
108
+ "@unocss/preset-mini": "0.39.2",
109
+ "@unocss/preset-tagify": "0.39.2",
110
+ "@unocss/preset-typography": "0.39.2",
111
+ "@unocss/preset-uno": "0.39.2",
112
+ "@unocss/preset-web-fonts": "0.39.2",
113
+ "@unocss/preset-wind": "0.39.2",
114
+ "@unocss/reset": "0.39.2",
115
+ "@unocss/transformer-compile-class": "0.39.2",
116
+ "@unocss/transformer-directives": "0.39.2",
117
+ "@unocss/transformer-variant-group": "0.39.2",
118
+ "@unocss/vite": "0.39.2"
116
119
  },
117
120
  "devDependencies": {
118
- "@unocss/webpack": "0.38.2"
121
+ "@unocss/webpack": "0.39.2"
119
122
  },
120
123
  "scripts": {
121
124
  "build": "unbuild",