@unocss/transformer-attributify-jsx
Advanced tools
Comparing version 65.4.0 to 65.4.2
{ | ||
"name": "@unocss/transformer-attributify-jsx", | ||
"type": "module", | ||
"version": "65.4.0", | ||
"version": "65.4.2", | ||
"description": "Support valueless attributify in JSX/TSX.", | ||
@@ -9,7 +9,7 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"funding": "https://github.com/sponsors/antfu", | ||
"homepage": "https://github.com/unocss/unocss/tree/main/packages/transformer-attributify-jsx#readme", | ||
"homepage": "https://unocss.dev", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/unocss/unocss", | ||
"directory": "packages/transformer-attributify-jsx" | ||
"directory": "packages-presets/transformer-attributify-jsx" | ||
}, | ||
@@ -37,3 +37,3 @@ "bugs": { | ||
"dependencies": { | ||
"@unocss/core": "65.4.0" | ||
"@unocss/core": "65.4.2" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
@@ -5,3 +5,3 @@ # @unocss/transformer-attributify-jsx | ||
Support [valueless attributify](https://github.com/unocss/unocss/tree/main/packages/preset-attributify#valueless-attributify) in JSX/TSX. | ||
Support [valueless attributify](https://github.com/unocss/unocss/tree/main/packages-presets/preset-attributify#valueless-attributify) in JSX/TSX. | ||
@@ -72,3 +72,3 @@ ```jsx | ||
If you encounter any issues with this package, there is [@unocss/transformer-attributify-jsx-babel](https://github.com/unocss/unocss/tree/main/packages/transformer-attributify-jsx-babel) package that uses Babel to transform JSX. | ||
If you encounter any issues with this package, there is [@unocss/transformer-attributify-jsx-babel](https://github.com/unocss/unocss/tree/main/packages-presets/transformer-attributify-jsx-babel) package that uses Babel to transform JSX. | ||
@@ -78,5 +78,7 @@ > ⚠️ The rules are almost the same as those of `preset-attributify`, but there are several precautions | ||
```html | ||
<div translate-x-100% /> <!-- cannot end with `%` --> | ||
<div translate-x-100% /> | ||
<!-- cannot end with `%` --> | ||
<div translate-x-[100px] /> <!-- cannot contain `[` or `]` --> | ||
<div translate-x-[100px] /> | ||
<!-- cannot contain `[` or `]` --> | ||
``` | ||
@@ -112,5 +114,3 @@ | ||
```html | ||
<div text-red text-center text-5xl animate-bounce=""> | ||
unocss | ||
</div> | ||
<div text-red text-center text-5xl animate-bounce="">unocss</div> | ||
``` | ||
@@ -117,0 +117,0 @@ |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
9546
+ Added@unocss/core@65.4.2(transitive)
- Removed@unocss/core@65.4.0(transitive)
Updated@unocss/core@65.4.2