Commit Graph

85 Commits (7f087c4b039156dc810f32bf4efaae843282feb3)

Author SHA1 Message Date
Simon H 8388c4d90e
chore: add `@description` tags (#12063)
1 year ago
Simon H 4ddff6f9d0
fix: adjust module declaration to work around language tools bug (#12071)
1 year ago
Simon H a94b83b7d4
fix: support function invocation from imported `*.svelte` components (#12061)
1 year ago
Simon H f1d8ed64fd
fix: better types for `on` (#12053)
1 year ago
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
1 year ago
Simon H 9dc2d71a12
fix: relax constraint for ComponentProps (#12026)
1 year ago
Ignatius Bagus 1ecbbc0914
docs: remove `createRoot` references (#12018)
1 year ago
Paolo Ricciuti e27b8c5cb5
fix: better `render` type (#11997)
1 year ago
Dennis Dudek 84ad208f2e
Svelte5 (Types/Doc) import Component as Type (#11992)
1 year ago
Dominic Gannaway aadf629580
feat: add svelte/events package and export on function (#11912)
1 year ago
Simon H 5b0a843b31
fix: relax `Component` type (#11929)
1 year ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
1 year ago
Simon H 8c66b64e6b
feat: provide new `Component` type that represents the shape of components (#11775)
1 year ago
Rich Harris 7b9fad4b0e
chore: remove `handle_compile_error` (#11639)
1 year ago
Dominik G dc9b0d08c1
feat: add rootDir option and set __svelte_meta.file like in svelte4 (#11627)
1 year ago
Dominic Gannaway f488a6e84a
feat: add $state.is rune (#11613)
1 year ago
Simon H 9c1a5063b9
fix: adjust order of `derived` function definition overloads (#11426)
1 year ago
Simon H 9c5a9d8e20
fix: mark function properties on runes as deprecated for better intellisense (#11439)
1 year ago
Simon H a038d49f78
fix: rework bindable types strategy (#11420)
1 year ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
1 year ago
Simon H cd2506535f
feat: leave view transition pseudo selectors untouched (#11375)
1 year ago
Simon H cd798077b4
feat: provide migration function (#11334)
1 year ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
1 year ago
Simon H f6dfac985c
feat: `Bindable` types (#11225)
1 year ago
Rich Harris 5405ec6c91
chore: refactor logic for ignoring warnings (#11300)
1 year ago
Yuichiro Yamashita 0bb49b12d2
fix: resolve type definition error in `svelte/compiler` (#11283)
1 year ago
Rich Harris dcfa503617
fix: use type arguments when extending Map/Set (#10820)
1 year ago
Rich Harris 9721d5641b
feat: implement `:global {...}` CSS blocks (#11276)
1 year ago
Jeremiasz Major b91a67ba68
feat: include `script` and `svelte:options` attributes in ast (#11241)
1 year ago
Rich Harris de2d8a0bee
Revert "feat: allow $inspect reactivity map, set, date (#11164)" (#11223)
1 year ago
Simon H 27eb91bbce
fix: dynamic namespace fixes and enhancements (#11219)
1 year ago
Tan Li Hau 43d13e92a0
feat: allow $inspect reactivity map, set, date (#11164)
1 year ago
Simon H e7869faf4d
fix: return ast from `compile` (#11191)
1 year ago
Dominic Gannaway 18097478fc
breaking: remove unstate(), replace with $state.snapshot rune (#11180)
1 year ago
Tan Li Hau 8caaa375cf
feat: add reactive URL object to svelte/reactivity (#11157)
1 year ago
Tan Li Hau a092899843
feat: update error message for snippet binding and assignments (#11168)
1 year ago
Rich Harris c1a549e801
check generated types (#11068)
1 year ago
Dominic Gannaway e1b2d29eda
chore: add hmr compiler flag (#11112)
1 year ago
Simon H d2b6159d2e
chore: css unused selector warnings (#11098)
1 year ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
1 year ago
Simon H b1a8038f8b
fix: make static `element` property available (#11079)
1 year ago
Rich Harris 8cbe8c1197
fix: bundle CSS types (#11067)
1 year ago
Dominic Gannaway b87d57dc6e
fix: add `anchor` support to mount() API (#11050)
1 year ago
Rich Harris bb1d229e26
fix docs (#11048)
1 year ago
Rich Harris d49e2aeb15
chore: explicit reexports (#10970)
1 year ago
Rich Harris eaa243d2da
chore: reshuffle some code (#10967)
1 year ago
Rich Harris 8214075285
fix: update type of `options.target` (#10892)
1 year ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
1 year ago
Rich Harris d921fb97bd
fix: add types for svelte/reactivity (#10817)
2 years ago
Simon H c35f0c16af
fix: deduplicate module declaration, adjust type (#10801)
2 years ago