The news is short but important: all SVAR Svelte UI components now support TypeScript – from the basic Core Library to more complex widgets like DataGrid and Gantt chart. Version 2.3 of SVAR Svelte component library brings the official type definitions, making the components API more reliable, consistent, and production-ready.
What TypeScript support means for SVAR Svelte:
Alongside TypeScript support, we’ve updated the docs for all SVAR Svelte components:
With this update, we’ve also fixed the known bugs and added small improvements across all SVAR Svelte components.
Install version 2.3 via npm:
npm install @svar-ui/svelte-corenpm install @svar-ui/svelte-gridnpm install @svar-ui/svelte-ganttnpm install @svar-ui/svelte-filemanagernpm install @svar-ui/svelte-filternpm install @svar-ui/svelte-editor⚠️ Important: starting from version 2.3 all SVAR Svelte components are moving to @svar-ui namespace. This creates a consistent and unified naming structure for all SVAR components:
wx-svelte-core, wx-react-core@svar-ui/svelte-core, @svar-ui/react-coreFor backward compatibility we’ll continue publishing the packages under both wx-svelte-* and @svar-ui namespaces until version 3.0, so your existing project won’t break.
You can also find the updates on SVAR’s GitHub.
We’re now working on adding TypeScript support to SVAR React components.