Releases: carbon-design-system/sveld
Releases · carbon-design-system/sveld
v0.7.0
- add a
glob
option to resolve Svelte files from entry file exports using fast-glob
(default is false
)
v0.6.1
Fixes
- use parsed exports to determine module name, Svelte source file path
v0.6.0
Features
- use
acorn
to parse/create TypeScript exports
- use
fast-glob
to collect all *.svelte
files from the Svelte source folder specified in package.json#svelte
- format TS definitions using a prettier printWidth of 80 instead of 120
Breaking Changes
filePath
in generated JSON output is relative instead of absolute (normalized using path.normalize
)
v0.5.0
Features
- generate TypeScript definitions to use
SvelteComponentTyped
interface instead of SvelteComponent
Breaking Changes
- users will require Svelte version >=3.31 to consume generated TypeScript definitions
v0.4.2
Fixes
- test colon when clamping keys
v0.4.1
Fixes
- clamp slot/event keys in TypeScript definitions
v0.4.0
Features
- Output format for TypeScript definitions extends
SvelteComponent
instead of stubbing class internals used by the Svelte Language Server
Breaking Changes
- Requires svelte version 3.30 or greater
v0.3.0
Features
- Export component
typedefs
in TypeScript definitions
v0.2.1
Fixes
- Extend interface for empty props use case
v0.2.0
Features
- Support
@extends
JSDoc syntax to extend imported component prop interfaces