Commit Graph

237 Commits (1afcfd2b5f30216164c582d703eb29a6ad4bd831)

Author SHA1 Message Date
Rich Harris 63a712ccd9 add location info to nodes - fixes #1499
7 years ago
Rich Harris 276af83cb7 support parameterised animations
7 years ago
Rich Harris 31e387e76c allow animations to be aborted - fixes #1458
7 years ago
Rich Harris a75b0b71c5 pass in destroy method
7 years ago
Rich Harris b56e3e22df position nodes absolutely when outroing, if animations are present
7 years ago
Rich Harris 43d2c38cfc complete js animations
7 years ago
Rich Harris bade6df241 css animations
7 years ago
Rich Harris b3594da23c end animation
7 years ago
Rich Harris 1b57779eb6 implement js transitions, albeit messily
7 years ago
Rich Harris 98e63b37e9 groundwork for animations (#1431)
7 years ago
Rich Harris c4937d271f fix skipped intros
7 years ago
Rich Harris 4c62d22b9c allow transition functions to return a function (#1431)
7 years ago
Rich Harris b5931b95d4 supply 1 - t as second argument to transition tick/css functions (#1431)
7 years ago
Rich Harris 64fa48e699 outroing each blocks
7 years ago
Rich Harris 44bb2da29b add skipIntroByDefault compiler option (#547)
7 years ago
Rich Harris e8a780676d
Abort outro if block is recreated — fixes #1425
7 years ago
Rich Harris e1db82773d
Group outro callbacks — fixes #648
7 years ago
Rich Harris 82c9217e53 do unmount work in destroy method
7 years ago
Rich Harris 1d3b1284ea null out blocks when outroed
7 years ago
Rich Harris c355b02b8c support transitions in await blocks - fixes #956
7 years ago
Rich Harris 813862713c simplify
7 years ago
Rich Harris 46c6b4bfe3 handle await block promises in a shared helper
7 years ago
Rich Harris 7e8329379c allow destruction of components with bind:offsetWidth etc
7 years ago
Rich Harris 541ec6c397 bind to dimensions
7 years ago
Rich Harris 2866b11c7d WIP towards #984
7 years ago
Rich Harris f5048fcf10 deduplicate each block context generation for keyed blocks
7 years ago
Rich Harris 8dc17b77db allow arbitrary expressions in each block keys - fixes #703
7 years ago
Rich Harris 9b70523529 rename Generator -> Compiler
7 years ago
Rich Harris 8fc59d7cfe shuffle some stuff around
7 years ago
Rich Harris 6cf3f1121f replace all ssr __helpers
7 years ago
Rich Harris ebf1fe3233 use same shared helpers mechanism for SSR compiler
7 years ago
Rich Harris 6534fef37d
Merge pull request #1364 from sveltejs/gh-1356
7 years ago
Rich Harris f8b076b2f3 set state to blank object on destroy, not null - fixes #1354
7 years ago
Rich Harris 8643b7ac88 tweak
7 years ago
Rich Harris 991bd9dce8 correctly report changed properties in initial state/update events - fixes #1356
7 years ago
Rich Harris 2f86bd339d update tests to account for removal of observe
7 years ago
Rich Harris 34d2fbfa58 remove ES5 constraint
7 years ago
Rich Harris 470eacf9d4 remove obsolete methods
7 years ago
Rich Harris 5ebd43898c deprecate get with string argument
7 years ago
Rich Harris 2a43fe94b3 deprecate observe
7 years ago
Rich Harris 9a9da249ce remove unused dispatchObservers
7 years ago
Rich Harris c1573dbf2c implement onstate and onupdate
7 years ago
Rich-Harris dd247447c0 ensure correct order of DOM insertions with neighbouring keyed each blocks - fixes #1306
7 years ago
Rich Harris f27b29d5cb
Merge pull request #1289 from sveltejs/gh-195
7 years ago
Rich-Harris 7c47cc19f7 handle boolean attributes
7 years ago
Rich-Harris 6860d09c72 only delete applicable transition animations - fixes #1290
7 years ago
Rich-Harris 40cf29b2b7 basic attribute spreading on elements
7 years ago
Rich-Harris be678c680d remove transition styles in Firefox
7 years ago
Rich-Harris d0c696bb2b merge master -> mrkishi-spreadh
7 years ago
Luke Edwards aa8f57d001 apply nested `assign` usage
7 years ago
Luke Edwards c753396cab update `util/assign` for 5x gain
7 years ago
Rich-Harris 99afa99565 simplify
7 years ago
Rich-Harris 105ab41d63 simplify a bit
7 years ago
Rich-Harris 0672e7bae9 remove unused argument
7 years ago
Rich-Harris f4145099f4 remove linked list stuff
7 years ago
Rich-Harris fb84d729d8 tidy up
7 years ago
Rich-Harris 5f8f2139e0 tidy up
7 years ago
Rich-Harris 4b2a01f2e9 all tests passing
7 years ago
Rich-Harris a3e91eb267 holy shit i think i did it
7 years ago
Rich-Harris 7c953a6622 am close...
7 years ago
Rich-Harris 5349184e75 more minor edits
7 years ago
Rich-Harris 2923e6a677 minor edits
7 years ago
Rich-Harris 5a7f7a00ec reinstate previous code from before i ballsed it up
7 years ago
Rich Harris ffa45dd8be tweaks
7 years ago
Rich Harris a2d09c2136 simplify updateKeyedEach
7 years ago
Rich Harris dab1f6a0fa more keyed each diffing into a shared helper
7 years ago
Brian Takita 66e4df11a7 Implement https://github.com/sveltejs/svelte/issues/588
7 years ago
mrkishi b5102f4f1b Add spread -- rough idea
7 years ago
Rich Harris 140e2271f7 scale transition duration by delta - fixes #1221
7 years ago
Rich Harris 0c66e9e2f7 merge
7 years ago
ekhaled 6b886d628c move `|| null`
7 years ago
ekhaled e2d50617c2 fixes #1188, fixes #1201
7 years ago
Rich Harris 1bc675da50 fix a couple of TODOs
7 years ago
Rich Harris cb8071acd4 allow observing $foo in dev mode - #1181
7 years ago
Rich Harris 1b599bd57b put _differs on prototype, remove runtime option
7 years ago
Jacob Wright 405c4f6371 Adding compiler option for immutable back in
7 years ago
Jacob Wright 9e877d9da1 Makes immutable a component option rather than a compile option
7 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
7 years ago
Jacob Wright d2f8e472a5 Add support to computed and store for immutable structures
7 years ago
Rich Harris 5e41ecb34a run oncreate functions in sensible order (#1135)
7 years ago
Rich Harris ca7e90083e can just use options here
7 years ago
Emil Ajdyna d398b34a41 Add state() method handling for components
7 years ago
Rich Harris 394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
7 years ago
Rich Harris 8a3898c6cb fix unrelated bug that was causing tests to fail
7 years ago
Emil Ajdyna fadeeaf177 Expose root as a public property
7 years ago
Rich Harris 81f449093d
emit dev mode error for bad arguments to set - fixes #990
7 years ago
Rich Harris 82fc0f2713
Merge branch 'master' into gh-654
7 years ago
Rich Harris d783993d23 halfway there
7 years ago
Rich Harris f80ace5fd6 client-side store subscriptions
7 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
7 years ago
Rich Harris 96428312ec check component exists after _bind before continuing - fixes #917
7 years ago
Rich Harris f659fd8391 remove unused _yield property
7 years ago
Rich Harris 2b2a1b40ce use short method names
7 years ago
Rich Harris c8f094cf80 remove unused destroyEach and destroy arguments
7 years ago
Rich Harris 6f0961ed5a remove oldState from recompute
7 years ago
Rich Harris ef3cf34367 tighten up a bit more
7 years ago
Rich Harris bd002f94bc extract some shared init logic
7 years ago
Rich Harris 1bdd624b35 prevent accidentally reintroducing ES6 into shared helpers
7 years ago
P 072f541855 Change let -> var, solves #838
7 years ago
Rich Harris d75ab8544e remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
7 years ago