@unocss/transformer-attributify-jsx-babel
Advanced tools
Comparing version 65.4.0 to 65.4.2
{ | ||
"name": "@unocss/transformer-attributify-jsx-babel", | ||
"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-babel#readme", | ||
"homepage": "https://unocss.dev", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/unocss/unocss", | ||
"directory": "packages/transformer-attributify-jsx-babel" | ||
"directory": "packages-presets/transformer-attributify-jsx-babel" | ||
}, | ||
@@ -40,3 +40,3 @@ "bugs": { | ||
"@babel/preset-typescript": "^7.26.0", | ||
"@unocss/core": "65.4.0" | ||
"@unocss/core": "65.4.2" | ||
}, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
@@ -5,3 +5,3 @@ # @unocss/transformer-attributify-jsx-babel | ||
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. | ||
@@ -75,5 +75,7 @@ ```jsx | ||
```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 `]` --> | ||
``` | ||
@@ -109,5 +111,3 @@ | ||
```html | ||
<div text-red text-center text-5xl animate-bounce=""> | ||
unocss | ||
</div> | ||
<div text-red text-center text-5xl animate-bounce="">unocss</div> | ||
``` | ||
@@ -114,0 +114,0 @@ |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
8471
+ Added@unocss/core@65.4.2(transitive)
- Removed@unocss/core@65.4.0(transitive)
Updated@unocss/core@65.4.2