unocss 0.16.0 → 0.16.1

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 +6 -6
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -113,18 +113,18 @@ Refer to the full documentation on https://github.com/antfu/unocss/tree/main/pac
113
113
 
114
114
  You must add `Unocss` plugin before `@sveltejs/vite-plugin-svelte`.
115
115
 
116
- To support `class:foo` and `class:foo={bar}` add `Unocss` and configure `svelteExtractor`:
116
+ To support `class:foo` and `class:foo={bar}` add `Unocss` and configure `extractorSvelte`:
117
117
 
118
118
  ```ts
119
119
  // vite.config.js
120
120
  import { svelte } from '@sveltejs/vite-plugin-svelte'
121
121
  import Unocss from 'unocss/vite'
122
- import { svelteExtractor } from '@unocss/core'
122
+ import { extractorSvelte } from '@unocss/core'
123
123
 
124
124
  export default {
125
125
  plugins: [
126
126
  Unocss({
127
- extractors: [svelteExtractor],
127
+ extractors: [extractorSvelte],
128
128
  /* options */
129
129
  }),
130
130
  svelte()
@@ -134,13 +134,13 @@ export default {
134
134
 
135
135
  ### Sveltekit
136
136
 
137
- To support `class:foo` and `class:foo={bar}` add `Unocss` plugin and configure `svelteExtractor`:
137
+ To support `class:foo` and `class:foo={bar}` add `Unocss` plugin and configure `extractorSvelte`:
138
138
 
139
139
  ```ts
140
140
  // svelte.config.js
141
141
  import preprocess from 'svelte-preprocess'
142
142
  import UnoCss from 'unocss/vite'
143
- import { svelteExtractor } from '@unocss/core'
143
+ import { extractorSvelte } from '@unocss/core'
144
144
 
145
145
  /** @type {import('@sveltejs/kit').Config} */
146
146
  const config = {
@@ -155,7 +155,7 @@ const config = {
155
155
  vite: {
156
156
  plugins: [
157
157
  UnoCss({
158
- extractors: [svelteExtractor],
158
+ extractors: [extractorSvelte],
159
159
  /* options */
160
160
  })
161
161
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "keywords": [
6
6
  "unocss",
@@ -42,13 +42,13 @@
42
42
  "*.d.ts"
43
43
  ],
44
44
  "dependencies": {
45
- "@unocss/core": "0.16.0",
46
- "@unocss/cli": "0.16.0",
47
- "@unocss/reset": "0.16.0",
48
- "@unocss/preset-icons": "0.16.0",
49
- "@unocss/preset-attributify": "0.16.0",
50
- "@unocss/preset-uno": "0.16.0",
51
- "@unocss/vite": "0.16.0"
45
+ "@unocss/core": "0.16.1",
46
+ "@unocss/cli": "0.16.1",
47
+ "@unocss/reset": "0.16.1",
48
+ "@unocss/preset-icons": "0.16.1",
49
+ "@unocss/preset-attributify": "0.16.1",
50
+ "@unocss/preset-uno": "0.16.1",
51
+ "@unocss/vite": "0.16.1"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=14"