2.3.0 (2024-02-08)
In this release I've brought you support for react-native-windows
!
You can now build truly cross-platform desktop apps with Unistyles
.
Also, there is one more improvement regarding boolean variants. Previously, if you defined only a true
or false
variant, they were converted respectively into a true
or false
string. This could be problematic if your props are of the boolean
type. The error would indicate that the variant is expecting either true
as a boolean or string. In this version, if you use a single true
or false
boolean variant, TypeScript will convert it to a generic boolean
. Types won't be narrowed down to single values anymore.
Features
- add windows support
- add autolonking for windows
- narrow down boolean variants (543e696)