Commit Graph

240 Commits (78969f5a6cacba4c8e63380c5be5c48b11788dec)

Author SHA1 Message Date
pngwn c6d4aa1860 Add type param to setContext and getContext (#5224)
6 years ago
Tan Li Hau cb40eb7cb6 add updating guard to binding callback (#5126)
6 years ago
Tan Li Hau 1256e44807 invalidate $$props and $$restProps only when there are changes (#5123)
6 years ago
Bassam Ismail 1b2b6e27f1 fix(5018): compare wholeText instead of data (#5028)
6 years ago
Bob Fanger 85154aded8 fix: Parameters with default values are optional (#5083)
6 years ago
Bassam Ismail 4c1a50c185 make tweened options optional in types (#5068)
6 years ago
Tan Li Hau ab561238a8 fix bind:group with duplicated values (#4877)
6 years ago
Aria Stewart 57269b9b2c work around Edge issue when removing attributes during hydration (#4911)
6 years ago
Antony Jones c99b277dba use common linting configuration (#4942)
6 years ago
Rich Harris 4ebb4a5395 fix `{@html}` assuming it lives inside a <div> (#4863)
6 years ago
Rich Harris 3fc04c63f9 only add event listeners when a block is first mounted (#4860)
6 years ago
Tan Li Hau 0a37211793 fix slot with context overflow + without let (#4862)
6 years ago
Pat Cavit 347eaffd4a WIP: Don't attempt to unsub if the iframe is destroyed (#4782)
6 years ago
Richard Harris d5b58bb394 dont coerce all falsy values to empty strings
6 years ago
Jeremy Bernier 6a0224cece Fix input with bind:value displaying "undefined"
6 years ago
Pat Cavit 8771d17d24 fix: cache value & cancel tween for instant-set (#4847)
6 years ago
Daniel Imfeld c2e22229f9 set .value while setting .__value during spread (#4809)
6 years ago
Pat Cavit 7a79a28cf6 make setting tweened with duration=0 instantly update (#4766)
6 years ago
Maurício Kishi fab8f2d5ff support dimension bindings in cross-origin mode (#2989)
6 years ago
Игорь Фролов 255a18f654 feat(internal): Support globalThis in modern environments (#4628)
6 years ago
Tan Li Hau 5cea55ecb8 clean up event handlers on re-mount (#4493)
7 years ago
Jacob Wright 6c81672712 allow transitions and animations to work within iframes (#3625)
7 years ago
Tan Li Hau d98cdf2242 fix hydration of top-level content (#4550)
7 years ago
Tan Li Hau ee10effb0f introduce $$restProps (#4489)
7 years ago
Conduitry 45790bc15f add dev runtime warning for unknown slot names (#4501)
7 years ago
Tan Li Hau 330f6c3127 fix bitmask overflow for slot (#4485)
7 years ago
Conduitry 78d5d1a8c8 fix dev mode each block validation when using strings (#4451)
7 years ago
rixo 8930ecf59c make $capture_state/$inject_state act on entire state (#3822)
7 years ago
swyx 5a880ecd28 implement Dev mode validation of {#each} block argument (#4419)
7 years ago
Conduitry d41d4d50ab fix indirect bindings on elements with spreads (#4398)
7 years ago
Jordan Gensler aa9e245f02 avoid using .shift() in flush() (#4356)
7 years ago
David Kondrad 7acea7a94d Internals: Scheduler: Fix infinite loop in flush (#4316)
7 years ago
Conduitry 14555bf203 make autosubscribing to a nullish store a no-op (#4304)
7 years ago
Conduitry e11f8da5e2 disallow duplicate each keys in dev mode (#4303)
7 years ago
Conduitry 32d28312f5 fix deriving from RxJS observables (#4300)
7 years ago
Conduitry 4d14236214 fix removing attributes during hydration (#1733)
7 years ago
Tan Li Hau 8f6692e36a fix hydrating <head> (#4082)
7 years ago
Jesse Skinner 4ad626090e fix stringifying of attributes in presence of spread in SSR (#4247)
7 years ago
Tan Li Hau 4eec466be7 SSR should only render one <title> (#4250)
7 years ago
Conduitry 981cf42a46 fix $$invalidate getting confused by an undefined third argument (#4170)
7 years ago
Timothy Johnson ea2271f4b9 Pass compiler version in dev events
7 years ago
Tan Li Hau 3c57b36b29 feat order attributes + actions too (#4156)
7 years ago
Tan Li Hau a5e7ca6b38 revert remove contextual overflow (#4102)
7 years ago
Tan Li Hau c73e2ee9a9 fix invalidate while update
7 years ago
Tan Li Hau 5e0455bb79 fix dirtybit (#4095)
7 years ago
Rich Harris ba8641360b fix bitmask overflow slot updates
7 years ago
Rich Harris 1ad838fc81 handle slot updates when parent component has a bitmask overflow
7 years ago
das eb5b92079b Tidy up (#4005)
7 years ago
mrkishi 2fcfe2547e use raf's time for smoother transitions
7 years ago
Rich Harris 78d50d02e8 Bitmask-based change tracking (#3945)
7 years ago
pngwn 7b4c796199 Add aria-hidden to resize listener object. Fixes #3948.
7 years ago
Rich Harris 8d1f9a52e8 Merge pull request #3627 from simeydotme/3555-fix-flip-scaling
7 years ago
Rich Harris cd2f8aef12 Merge pull request #3893 from NitayRabi/types---allow-access-to-typed-returned-from--.svelte
7 years ago
Rich Harris c6cfa7d7c7 tabs
7 years ago
Nitay Rabinovich d051ae3cbb Export SvelteComponentDev as API
7 years ago
Tan Li Hau fe0e002872 add loopGuardTimeout options
7 years ago
Nitay Rabinovich 77fd87296e Fix linting and exporting
7 years ago
Nitay Rabinovich 553898decf Rexport SvelteComponent as SvelteComponent API
7 years ago
Richard Harris 37bd75ad2d add type info for createEventDispatcher - fixes #3877
7 years ago
Richard Harris 5b36489095 helperise loop protection
7 years ago
Rich Harris 35b682c0db Merge pull request #3823 from leomarquine/fade-easing
7 years ago
Tan Li Hau 474de99404 Don't create a fragment at all for DOM-less components
7 years ago
Leonardo Marquine 4ee117bb70 Add easing param to fade transition
7 years ago
Rich Harris af6d010844 Merge pull request #3811 from sveltejs/gh-3508-alt
7 years ago
Richard Harris 46b4478d05 add has_prop helper
7 years ago
Richard Harris 490b9387ee use hasOwnProperty, simplify prop object construction
7 years ago
Rich Harris 28a277bb91 Merge pull request #3762 from sveltejs/gh-3761
7 years ago
Richard Harris fc99985ec5 docs and a fix for #3761
7 years ago
Richard Harris a28badcc06 alternative fix for #3508
7 years ago
Conduitry e4d47aa570 fix binding to aliased props (#3508)
7 years ago
Conduitry d42a09440b fix SSR spread with boolean attributes (#3797)
7 years ago
Conduitry 409fab4966 fix handling of style scoping and `class:` with spread scopes (#3792)
7 years ago
mrkishi 2e732dc0e2 improve derived store typing for users
7 years ago
Conduitry 8741a65c16 Fix boolean attributes in presence of spread attributes (#3775)
7 years ago
Rich Harris 276bcb879a allow spring/tweened values to be initially undefined - closes #3761
7 years ago
Rich Harris a64e12b875 Merge pull request #3579 from tcrowe/set-attribute-only-if-different
7 years ago
Ryan Atkinson ef54e90d97 fix type of derived store callback function
7 years ago
pngwn 3fcce37732 Prevent element property set from throwing errors for readonly properties. Fixes #3681.
7 years ago
Conduitry fc6661bee7 Revert "chore: resolve TODO for reusing of TransitionConfig"
7 years ago
Chris Helgert 2322c23307 chore: resolve implicit any in animate/index.ts
7 years ago
Chris Helgert ef00c4fd0d chore: resolve TODO for reusing of TransitionConfig
7 years ago
davidaq e604b20541 Change HTMLElement type check
7 years ago
Tan Li Hau 8a789852d0 fix reactive updates not reflected when handle promise (#3660)
7 years ago
Tan Li Hau fa56b6757c should throw error if createEventDispatch is used after instantiation
7 years ago
simeydotme e56c50d70e Calculate scale factor of elements in FLIP animations
7 years ago
Tony Crowe 535cd1895d check if the attribute value is different before setting it
7 years ago
Rich Harris e167300844 Merge pull request #3005 from RedHatter/devtools
7 years ago
Rich Harris dc0df93372 Merge pull request #3306 from cvlab/master
7 years ago
Richard Harris 6f76d13f35 merge sveltejs/master -> devtools
7 years ago
Richard Harris b06ed7e91b handle special null case when hydrating
7 years ago
Rich Harris d442ad822d Merge pull request #3533 from sveltejs/gh-3512
7 years ago
Richard Harris 6d67e018fe inline $$invalidate calls - fixes #3512
7 years ago
Richard Harris e264dd54b2 only use setAttribute with SVG spread props - fixes #3522
7 years ago
Richard Harris a89f80d80e move tests to runtime section
7 years ago
Richard Harris ede3813323 add opacity/easing parameters to blur transition
7 years ago
Richard Harris 6c1de07645 merge master -> vaibhav111tandon-master
7 years ago
Arpad Borsos 89d485c7d7 Introduce a `claim_space` helper
7 years ago
Vaibhav Tandon 637a8da9a7 Edited: Added Blur transition
7 years ago
vaibhav111tandon 52de03894f Added a blur transition
7 years ago
Rich Harris 4eadbe4270 Merge pull request #3435 from sveltejs/gh-1834
7 years ago