Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

v3.1.0

Compare
Choose a tag to compare
@illright illright released this 22 Jan 16:02
· 273 commits to main since this release

Added

  • TypeScript support: We now provide our own type declaration (.d.ts) files so that TypeScript users will have a more delightful development experience! Note that other users are not affected since the components are written in plain JS (#211).
  • Allow passing a closeCallback for snackbars (#216).

Fixed

  • Documentation: RadioButton's value was incorrectly marked as optional.

Changed

  • The recommended installation procedure now involves separating the Svelte configuration into a separate file, svelte.config.js. This allows the Svelte Language Server to reliably analyze your source code, so your editor becomes smarter.

Known issues

  • The types are not entirely null-aware. If you use --strictNullChecks, you might face some errors like "null cannot be assigned to type string".
  • Functions exported from components are falsely detected as props, and not even typed properly yet