Skip to content

Release 2.3.0

Compare
Choose a tag to compare
@jpudysz jpudysz released this 08 Feb 09:45
· 1139 commits to main since this release

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)