@unocss/preset-attributify 0.33.1 → 0.33.5
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 +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -101,6 +101,18 @@ declare module 'solid-js' {
|
|
|
101
101
|
}
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
### Svelte & SvelteKit
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
import type { AttributifyAttributes } from '@unocss/preset-attributify'
|
|
108
|
+
|
|
109
|
+
declare global {
|
|
110
|
+
namespace svelte.JSX {
|
|
111
|
+
interface HTMLAttributes<T> extends AttributifyAttributes {}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
104
116
|
### Attributify with Prefix
|
|
105
117
|
|
|
106
118
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-attributify",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.5",
|
|
4
4
|
"description": "Attributify preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.33.
|
|
36
|
+
"@unocss/core": "0.33.5"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "unbuild",
|