Commit Graph

2509 Commits (392bdc6b109727eb0f80d2eaf3770f947b27089c)

Author SHA1 Message Date
Alfred Ringstad 54e1c23b32 Reuse DOM elements if possible. Add dev warnings when passing nullish values as tag. Throw an error when trying to bind other than this. Add more tests.
5 years ago
Alfred Ringstad f001107711 Implement svelte:element for dynamically setting HTML DOM type
5 years ago
Tan Li Hau 6c5257beb2
allow passing in context in constructor (#6032)
5 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST (#6148)
6 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> (#4556)
6 years ago
Rich Harris 2925a00eff
add cssHash option (#6026)
6 years ago
Tan Li Hau d17a90cc44
allow destructured defaults to refer to variables (#5986)
6 years ago
Tan Li Hau b764374b62
no warning on contextual-store if declaring it as a parameter / variable (#6008)
6 years ago
Pontus Lundin d4f98fb63a
Call onMount when connected & clean up when disconnected for custom element (#4522)
6 years ago
Tan Li Hau e8094df779
fix remove of lone :host selectors (#5984)
6 years ago
pushkine a9c1dc9b59
fix extra invalidation with component prop binding to object property (#5890)
6 years ago
Tan Li Hau 8867bc31c2
update css-tree@^1.1.2 (#5958)
6 years ago
Tan Li Hau 44f41c9edd
fix :host and :global css scoping (#5957)
6 years ago
Tan Li Hau 6589aa2548
warn module variables are nonreactive and make them truly nonreactive (#5847)
6 years ago
Saurav Sahu 87417e5a7b
fix: "foreign" namespace elements should still allow binding 'this' (#5942)
6 years ago
J Delaney 4f05cc3e3c
don't create class update functions when dependencies aren't reactive (#5926)
6 years ago
Tan Li Hau 6207596175
fix extraneous store subscription in SSR (#5929)
6 years ago
Anders Lorentsen acf60d88a0
error on empty name in `class:` directive (#5939)
6 years ago
Ben McCann 37b1a20c17
Add spaces next to infix operators (#5902)
6 years ago
Conduitry 7be0b400f1 fix failing tests by restoring global.window after SSR tests
6 years ago
Conduitry 93cf65d804 Revert "work around mysterious test failure and add TODO"
6 years ago
Conduitry c4419007f0 work around mysterious test failure and add TODO
6 years ago
halfnelson a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652)
6 years ago
pushkine 13e3d755da
allow duplicates of the same action on an element (#5875)
6 years ago
milahu 0d19f67ec4
Parse attached sourcemap from preprocessor (#5854)
6 years ago
Tan Li Hau 734257001d
deconflict conextual action variable (#5839)
6 years ago
Tan Li Hau 5949c4a594
fix await outro race condition (#5850)
6 years ago
Tan Li Hau 9cc21e3c09
fix removing elements that are currently transitioning out (#5849)
6 years ago
Tan Li Hau 82fcdfc2fa
rework SSR store autosubscription (#5419)
6 years ago
Nick Vincent f7d4eef55d
use iframe z-index: -1 in resize listener (#5742)
6 years ago
Tan Li Hau 1da4105d65
fix deep object property as action (#5845)
6 years ago
Tan Li Hau 08cb3142e9
keep each block value (#5841)
6 years ago
Tan Li Hau 63669330f6
maintain context for keyed each (#5840)
6 years ago
Tan Li Hau a41c7644e6
shift injected declarations to the top (#5837)
6 years ago
Tan Li Hau 2d5d6b05ed
warn if React attributes are used (#5836)
6 years ago
Tan Li Hau 662d9b44e6
fix checkbox bind:group when index depends on another context (#5835)
6 years ago
dmitrage 68538c61eb
Fix various issues with preprocess source maps (#5754)
6 years ago
milahu 3d68ceaf8f
support using decoded sourcemaps from SourceMapGenerator (#5732)
6 years ago
Tan Li Hau ccc61a71d8
add missing export for hasContext (#5727)
6 years ago
Tan Li Hau 9331398299
support spread into slot props (#5616)
6 years ago
Tan Li Hau 1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially (#5600)
6 years ago
Tan Li Hau 24c44b9177
fix order of html tags with {#if} in {#key} block (#5685)
6 years ago
halfnelson dcfbd69516
Preprocessor sourcemap support (#5584)
6 years ago
Tan Li Hau 7949d8efac
support $$slots in custom elements (#5619)
6 years ago
Mikail Khan 9745b61aab
fixed typo in each loop animation error (#5648)
6 years ago
Tan Li Hau 148b6105ed
fix else block transition update (#5591)
6 years ago
Tan Li Hau 5d7ffdb8a7
fix function slot props based on context (#5607)
6 years ago
Tan Li Hau 6fa3e91b5d
support $$props and $$restProps for custom elements (#5608)
6 years ago
Ben McCann 7ea6a2994a
Curly braces linting fixes (#5585)
6 years ago
halfnelson 7c1e6a6ce7
refactor sourcemap and preprocessor tests (#5583)
6 years ago