Commit Graph

158 Commits (2703f609a5f0930cf7913dcd26fddf2837169a8d)

Author SHA1 Message Date
Rich Harris ec6360487e correctly set select value on mount - fixes #1666
7 years ago
Rich Harris 620077227f allow non-existent dynamic components to be destroyed (#1660)
7 years ago
Jacob Wright b6e51ddc32 Change actions to init on mount rather than hydrate
7 years ago
Rich Harris c295fc9018 add sourcemaps to debug tags
7 years ago
Rich Harris 1dc1343f00 only add debugger statements in dev mode
7 years ago
Rich Harris 401a6fea5d handle single identifiers in {@debug} tags
7 years ago
Rich Harris a5967fa118 Merge branch 'debug' of https://github.com/GarrettGeorge/svelte into GarrettGeorge-debug
7 years ago
Admin 4004a569e1 Adds tests for valid and invalid debug tag usage.
7 years ago
Admin a3c71af5c5 Changes {@debug _ } to {@debug}
7 years ago
Rich Harris cce6db40f9
Merge pull request #1637 from sveltejs/list-whitespace
7 years ago
Admin 79c023e604 Fixes small issue with Element's booleanAttributes
7 years ago
Admin 622e7b0190 Adds debug all option to debug tag
7 years ago
Admin 7e5f008a78 Adds DebugTag
7 years ago
Rich Harris 28e145e96d preserve whitespace inside lists
7 years ago
Rich Harris b94d7adfec replace appendNode(node, parent) with append(parent, node) - easier to follow
7 years ago
Rich Harris cce3a30ef2 use props when passing data to custom elements (#875)
7 years ago
Rich Harris 48bd025231 fix #1621
7 years ago
Rich Harris 9964a77565 stringify values before setting text data - fixes #1598
7 years ago
ekhaled 295675d7f1 closes #1589
7 years ago
Rich Harris e9b588ed51 provide more helpful error if SSR component tries to render non-SSR component
7 years ago
Rich Harris 980ed66c09 dont generate nonsensical code
7 years ago
Rich Harris 87e2241928 null out refs to dynamic components - fixes #1596
7 years ago
Conduitry de1edddf0e tidying
7 years ago
Conduitry 26dfb9afa7
in each-else, use mount/intro according to that branch's contents (#1586)
7 years ago
Conduitry a2368cde46 unique name for select_block_type in IfBlock#buildCompoundWithOutros
7 years ago
Conduitry 909536dac9 fix determing whether an attribute should prevent innerHTML optimization
7 years ago
Rich Harris 5ff7cb51dc use template.content in place of template where appropriate - fixes #1571
7 years ago
Rich Harris faa07e8d57
Merge pull request #1572 from sveltejs/gh-1561
7 years ago
Rich Harris 5c6e7e878c
Merge pull request #1555 from fjorgemota/patch-1
7 years ago
Rich Harris f3e4f04a54 abort transition on detach - alternative fix for #1561
7 years ago
Rich Harris 7678b36581 separate groupOutros from transitionsManager
7 years ago
Rich Harris bde21dad87 outro when <svelte:component> switches - #1568
7 years ago
Fernando Jorge Mota 9a0af96c44 Support invalid JS attributes when passing data to components and on binding attributes, too
7 years ago
Rich Harris ce575e1065
Revert "Fix for #1553"
7 years ago
Pavel Malyshev f1fc81a49f Fix for #1553
7 years ago
Fernando Jorge Mota c641ce423a
Quote name of attribute to nested components
7 years ago
Pavel Malyshev 52ece0b5f0 Fix for #1538
7 years ago
Rich Harris 3b928b36a9 fix the bugs
7 years ago
Conduitry 755f085b1b fix spread when an attribute or prop has multiple dependencies (#1515)
7 years ago
Rich Harris 5375af53f1
Merge pull request #1501 from sveltejs/gh-1499
7 years ago
Rich Harris 04ef203787 prevent possibility of conflicts with __file
7 years ago
Rich Harris 2537864293
Merge pull request #1503 from sveltejs/gh-1502
7 years ago
Conduitry 5e8a8b95e5 update some stray references to v1 syntax
8 years ago
Conduitry cf2be1be63 fix bind:online in dev mode (#1502)
8 years ago
Rich Harris 63a712ccd9 add location info to nodes - fixes #1499
8 years ago
Rich Harris c5544b7faf
Merge pull request #1498 from sveltejs/gh-1497
8 years ago
Rich Harris 04fc83d791 fix nested outro transitions
8 years ago
Rich Harris 29ec07eefe
Merge pull request #1494 from sveltejs/gh-1230
8 years ago
Rich Harris ac7f591f60 fix #1497
8 years ago
Conduitry 2b3e9a3523 use CSS classes for ref:* selectors (#1230)
8 years ago
Rich Harris 15efef9a98 separate hasOutros from hasOutroMethod - fixes #1492
8 years ago
Rich Harris b57be7664e fix dynamic component bindings (#1489)
8 years ago
Rich Harris b45b2415f2 nested components skip intro on initial render - fixes #1460
8 years ago
Rich Harris a9d258b9a5
Merge pull request #1468 from sveltejs/gh-1458
8 years ago
Rich Harris 63cd3d0601 add test, tweak codegen
8 years ago
Kiho 247cfcfc7c Don't set null to switch_instance_changes
8 years ago
Rich Harris 31e387e76c allow animations to be aborted - fixes #1458
8 years ago
Rich Harris c28f62a117 quote slot names if necessary - fixes #1461
8 years ago
Rich Harris a75b0b71c5 pass in destroy method
8 years ago
Rich Harris b56e3e22df position nodes absolutely when outroing, if animations are present
8 years ago
Rich Harris 5848cc3204 use unique name for rects
8 years ago
Rich Harris 1b57779eb6 implement js transitions, albeit messily
8 years ago
Rich Harris 98e63b37e9 groundwork for animations (#1431)
8 years ago
Rich Harris c4937d271f fix skipped intros
8 years ago
Rich Harris 042ec54f7f nested component transitions
8 years ago
Rich Harris 3623c4abc9 nested await block outros
8 years ago
Rich Harris 64fa48e699 outroing each blocks
8 years ago
Rich Harris 0a230d1c9d WIP towards nested transitions
8 years ago
Rich Harris 44bb2da29b add skipIntroByDefault compiler option (#547)
8 years ago
Rich Harris e8a780676d
Abort outro if block is recreated — fixes #1425
8 years ago
Rich Harris e1db82773d
Group outro callbacks — fixes #648
8 years ago
Conduitry b45b264b72 fix handling of shorthand event handler in dynamic components
8 years ago
Rich Harris c7c46dec29
Merge pull request #1422 from sveltejs/each-object-create
8 years ago
Rich Harris 3f906fbfdb
Merge pull request #1424 from sveltejs/single-outrocallback
8 years ago
Rich Harris 2d8d27afb5 simpler code for case where there is only one outro in a block
8 years ago
Rich Harris fabfc78620 fix duplicate events on range input bindings (#1419)
8 years ago
Rich Harris d85b60a09c use Object.create for each block child contexts
8 years ago
Rich Harris a18be79887 simplify handling of html blocks
8 years ago
Rich Harris 103f278cfc update tests
8 years ago
Rich Harris 82c9217e53 do unmount work in destroy method
8 years ago
Rich Harris 47fa476569 remove now-misplaced comment
8 years ago
Rich Harris c355b02b8c support transitions in await blocks - fixes #956
8 years ago
Rich Harris 8d772b163b fix #1417
8 years ago
Rich Harris f6a100863b tidy up
8 years ago
Rich Harris 46c6b4bfe3 handle await block promises in a shared helper
8 years ago
Rich Harris 5afb73ce57 fix #1413
8 years ago
Conduitry aba5929697 mark elements with refs as ineligible for innerhtml (#1407)
8 years ago
Rich Harris eff431965e
Merge pull request #1402 from sveltejs/gh-1397
8 years ago
Rich Harris 3f012bbdb8 create key before testing for the existence of key. doh
8 years ago
Rich Harris 6ddfc19bbc only update component props if they are dynamic - fixes #1394
8 years ago
Rich Harris 7f58701085 evaluate each block key in child scope - fixes #1397
8 years ago
Rich Harris 49a09ef847 only overwrite this in event handlers for custom events - fixes #1390
8 years ago
Rich Harris 541ec6c397 bind to dimensions
8 years ago
Rich Harris f00d08427e Merge branch 'master' into gh-984
8 years ago
Rich Harris 2866b11c7d WIP towards #984
8 years ago
Rich Harris 70034ea997 bind to destructured properties
8 years ago
Rich Harris 506ab3952e destructuring
8 years ago
Rich Harris f5048fcf10 deduplicate each block context generation for keyed blocks
8 years ago
Rich Harris dc0cb60bfc Merge branch 'master' into gh-1287
8 years ago
Rich Harris 61ee380e26 deduplicate each block context generation (#1287)
8 years ago