Commit Graph

513 Commits (4c5c440a88aaf6e3b799a8e9debd960faba4294d)

Author SHA1 Message Date
Rich Harris 61266fb225 use template.content in place of template where appropriate - fixes #1571
8 years ago
Rich Harris f70073720a Merge pull request #1572 from sveltejs/gh-1561
8 years ago
Rich Harris e19bddb8be Merge pull request #1555 from fjorgemota/patch-1
8 years ago
Rich Harris dddad36b77 abort transition on detach - alternative fix for #1561
8 years ago
Rich Harris d6b4ab1770 outro when <svelte:component> switches - #1568
8 years ago
Fernando Jorge Mota a27160c5fa Support invalid JS attributes when passing data to components and on binding attributes, too
8 years ago
Rich Harris c730cc9f4e Merge pull request #1533 from sveltejs/gh-1532
8 years ago
Rich Harris d708dde42b call outrocallback immediately for empty each block
8 years ago
Rich Harris 909015a34e fix for #1522... maybe?
8 years ago
Rich Harris 2e5c29749f failing test for #1522
8 years ago
Rich Harris 8fc6d850cc failing test for #1527
8 years ago
Conduitry 95377be635 fix spread when an attribute or prop has multiple dependencies (#1515)
8 years ago
Rich Harris 5b7d28dcfe change __svelte_meta to __svelte_meta.loc
8 years ago
Rich Harris ad27d5471e add location info to nodes - fixes #1499
8 years ago
Rich Harris 9398528525 fix nested outro transitions
8 years ago
Rich Harris 4c8e0922a9 separate hasOutros from hasOutroMethod - fixes #1492
8 years ago
Rich Harris b444c96c38 fix dynamic component bindings (#1489)
8 years ago
Rich Harris 3974584c9e Merge pull request #1479 from sveltejs/gh-1470
8 years ago
Rich Harris f067d76495 always create outro method for top-level block - fixes #1470
8 years ago
Rich Harris 54a72c1a57 nested components skip intro on initial render - fixes #1460
8 years ago
Rich Harris 4f89adeaaf Merge pull request #1468 from sveltejs/gh-1458
8 years ago
Rich Harris d0ffb5d81a add test, tweak codegen
8 years ago
Rich Harris 8e2f8fd16d support parameterised animations
8 years ago
Rich Harris 152aff3a23 quote slot names if necessary - fixes #1461
8 years ago
Rich Harris f97397ff90 tidy up a bit
8 years ago
Rich Harris 27e5331a98 css animations
8 years ago
Rich Harris d6b897b16b implement js transitions, albeit messily
8 years ago
Rich Harris 96d67b274d groundwork for animations (#1431)
8 years ago
Rich Harris f0a36373f6 allow transition functions to return a function (#1431)
8 years ago
Rich Harris a1c810f870 supply 1 - t as second argument to transition tick/css functions (#1431)
8 years ago
Rich Harris f9db67edbb nested component transitions
8 years ago
Rich Harris 1b2ced7bf1 nested await block outros
8 years ago
Rich Harris de93e49c68 outroing each blocks
8 years ago
Rich Harris 721af8fc64 WIP towards nested transitions
8 years ago
Rich Harris 0e43507660 add skipIntroByDefault compiler option (#547)
8 years ago
Conduitry a9fb844dcd allow spaces around reserved words used in tags in attributes (#1445)
8 years ago
Rich Harris 0e793011a8 allow spread props on elements with tests for static attributes
8 years ago
Rich Harris 0e0e7bebc8 Abort outro if block is recreated — fixes #1425
8 years ago
Rich Harris ead5aec41b Group outro callbacks — fixes #648
8 years ago
Conduitry 816060283d fix handling of shorthand event handler in dynamic components
8 years ago
Rich Harris a344afaa86 update tests
8 years ago
Rich Harris 46bc257df8 ugh
8 years ago
Rich Harris 42346c2015 support transitions in await blocks - fixes #956
8 years ago
Rich Harris 1eacde9f1e Merge branch 'await-helper' into gh-956
8 years ago
Rich Harris 3e8e589616 fix #1417
8 years ago
Rich Harris b4089474c4 failing test for #1417
8 years ago
Rich Harris aac1e4678c failing test for #956
8 years ago
Rich Harris 17d7aea40e failing test for #1413
8 years ago
Rich Harris 195f9af187 Merge pull request #1395 from sveltejs/gh-1327
8 years ago
Conduitry 0413e7d63d mark elements with refs as ineligible for innerhtml (#1407)
8 years ago
Rich Harris a60d5166b5 update state with new computed properties
8 years ago
Rich Harris 450165ac5c Merge branch 'master' into gh-1327
8 years ago
Rich Harris c7bd87bd83 evaluate each block key in child scope - fixes #1397
8 years ago
Rich Harris e137e50516 failing test for #1327
8 years ago
Rich Harris 7ea5b0f0c6 only overwrite this in event handlers for custom events - fixes #1390
8 years ago
Rich Harris b767227a2f bind to destructured properties
8 years ago
Rich Harris 4d1e71fdd5 sparse array patterns
8 years ago
Rich Harris 58f481d2e4 destructuring
8 years ago
Rich Harris 70b01fe960 allow arbitrary expressions in each block keys - fixes #703
8 years ago
Rich Harris c563cfa83d Merge pull request #1376 from sveltejs/gh-1297
8 years ago
Rich Harris 91cd2cfef1 Merge pull request #1377 from sveltejs/gh-1303
8 years ago
Rich Harris c0366c7b0f preserve outer context for await blocks - fixes #1251
8 years ago
Rich Harris 51651ebce5 implement full-state computed properties - fixes #1303
8 years ago
Rich Harris 21c4d9ce55 overwrite this in custom event handlers - fixes #1297
8 years ago
Rich Harris 0e98b39803 more stuff
8 years ago
Rich Harris 3186f2e0ba WIP
8 years ago
Rich Harris 032aeab970 baby steps towards #1316
8 years ago
Rich Harris 6800b160d0 Merge pull request #1364 from sveltejs/gh-1356
8 years ago
Rich Harris 947b39cd8d Merge pull request #1365 from sveltejs/gh-1354
8 years ago
Rich Harris 50377c2a6b prevent stale state in component event handlers - fixes #1353
8 years ago
Rich Harris 50dd0fd460 set state to blank object on destroy, not null - fixes #1354
8 years ago
Rich Harris e0dc854a5f correctly report changed properties in initial state/update events - fixes #1356
8 years ago
pk 04b1c11026 Failing test for #1356
8 years ago
Rich Harris dcdcb9ab03 Merge pull request #1358 from sveltejs/gh-1038
8 years ago
Conduitry f5fb3e6c08 add test
8 years ago
Rich Harris 0769c2fd59 update spread props in each blocks without other dynamic attributes - fixes #1337
8 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
8 years ago
Rich Harris 14c8e88045 remove redundant test
8 years ago
Rich Harris 17be6f5b29 skip test, fix post-v2
8 years ago
Rich Harris 62e9f12db0 tidy up
8 years ago
Rich Harris 6719958169 remove cascade option
8 years ago
Rich Harris 3db454c91d remove v1 runtime tests
8 years ago
Rich Harris b6d93feba6 dont typecast numeric attributes
8 years ago
Rich Harris c806aad410 update tests to account for removal of observe
8 years ago
Rich Harris d532561a7f update snapshot tests
8 years ago
Rich Harris d045e3907d remove ES5 constraint
8 years ago
Rich Harris ef1954947e Merge pull request #1345 from sveltejs/gh-1069
8 years ago
Rich Harris 382e0191a8 use destructuring syntax for computed props in v2 mode - fixes #1069
8 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
8 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
8 years ago
Conduitry b7145ffaee in v2, don't parse for interpolations in non-root style elements (#1339)
8 years ago
Rich Harris dca723a3ef attribute shorthand test
8 years ago
Rich Harris 844c89dce6 update keyed each block syntax
8 years ago
Rich Harris 1a41f8bddd implement dynamic components etc
8 years ago
Rich Harris bbec452b0a Merge pull request #1311 from sveltejs/gh-1278
9 years ago
Rich Harris f26cd3b58e Merge pull request #1312 from sveltejs/gh-1275
9 years ago
Rich-Harris 22308a02ea support custom events on <:Window> - fixes #1268
9 years ago
Rich-Harris 0ed59b7d74 deconflict against inherited contexts - fixes #1275
9 years ago
Rich-Harris 9a9f787e52 treat component events the same as element events - fixes #1278
9 years ago
Rich-Harris cbafb650bf ensure correct order of DOM insertions with neighbouring keyed each blocks - fixes #1306
9 years ago