v2.0.0-beta.8
Pre-release
Pre-release
·
33 commits
to beta
since this release
2.0.0-beta.8 (2024-06-08)
⭐ New Features
- moved to type only props + proper attribute types (624a243)
This involved some convoluted workarounds, but it should mostly work.
-
Components are know able to take the attributes of html attributes
they extend without error. -
Components which can be passed attributes to different parts of them
(i.e. wrapper attributes via wraper-attr-name) now have these correctly
typed, so autosuggestion should work. -
The AdditionalAttributes interface has been added which you can extend
to more easily allow more attributes. The package no longer auto extends them, except
for a few specific attributes. -
All components now use type only defineProps, so the previous workaround
to get around this problem has been dropped and types should be more
accurate, since before they were limited.