Commit Graph

237 Commits (1afcfd2b5f30216164c582d703eb29a6ad4bd831)

Author SHA1 Message Date
Rich Harris 75651bb070 use component name in runtime dev warnings - fixes #781
7 years ago
Rich Harris 7401590fba Merge branch 'master' into gh-797
7 years ago
Rich Harris 186b770ef4 use helper for setting styles
7 years ago
Rich Harris 118988c16b append host element, not contents, when component is nested
7 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
7 years ago
Rich Harris d1a6f9c11e only use comments around <slot> as necessary
7 years ago
Rich Harris 6499d4714d only use noscript if necessary
7 years ago
Rich Harris 143d0ea753 dont actually render <slot> elements
7 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
7 years ago
Rich Harris f7b829820f add legacy option, use it for setInputType (#773)
8 years ago
Rich Harris 12e9a9276c almost working
8 years ago
Rich Harris 6366a4f55e update component bindings together. WIP
8 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
8 years ago
Rich Harris caffcd5f79 pass updated state to observers
8 years ago
Rich Harris 0f7e87c804 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
8 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
8 years ago
Rich Harris 44b73191c7 update tests
8 years ago
Rich Harris 85f5ebdec1 replace set with noop instead of checking _destroyed
8 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
8 years ago
Rich Harris 197c7e70d0 rename _block to _lock
8 years ago
Rich Harris 0a806585b3 enforce order of operations
8 years ago
Rich Harris 3f65b8b38f rename postcreate to aftercreate
8 years ago
Rich Harris 2d2c68c26b NAILED IT
8 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
8 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
8 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
8 years ago
Rich Harris f87c3328b5 Merge branch 'master' into codegen
8 years ago
Rich Harris d622bc3e47 use 31 instead of 33
8 years ago
Rich Harris 078f3ad8b6 simplify helpers
8 years ago
Rich Harris 7a877b5857 use bitshifting for magic perf boost
8 years ago
Rich Harris 71f1ac91ba improve transition performance
8 years ago
Rich Harris d10ddc0c51 fix most non-hydration tests
8 years ago
Rich Harris dc29b2d466 fix component hydration
8 years ago
Rich Harris 0bbd917442 more hydration
8 years ago
Rich Harris 14fe89eae8 hydration working with elements, text nodes, tags and if blocks
8 years ago
Rich Harris dceb2b533b first, very incorrect stab at hydration
8 years ago
Rich Harris b7ea045a04 rename addEventListener and removeEventListener (#621)
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich Harris 3b70920991 merge master -> gh-592
8 years ago
Rich Harris b5b484bd91 Merge pull request #606 from sveltejs/gh-584
8 years ago
Luke Edwards 869ae4b3cf improve assign() util performance
8 years ago
Rich Harris 6ae01b6682 coerce empty string in number/range inputs to undefined - closes #584
8 years ago
Rich Harris f511962325 Merge branch 'master' into gh-592
8 years ago
Rich Harris 8a57ae8b54 tidy up
8 years ago
Rich Harris b831d6c47f apply t0 styles to nodes if css transition has delay. fixes #574
8 years ago
Rich Harris 40a65ce8e8 fix for environments where node.style.animation is undefined (fixes #587)
8 years ago
Rich Harris 015ef56b18 make transitionManager treeshakeable (fixes #593)
8 years ago
Rich-Harris e85bec00a2 add a few type annotations
8 years ago
Rich-Harris b0a31dda15 reintro unkeyed each block iterations as necessary
8 years ago
Rich-Harris cfd5d3e3c7 minor tidy up
8 years ago
Rich-Harris 1a92398101 apply delays to bidirectional transitions - fixes #562
8 years ago
Rich-Harris 58504a36ff abort intros before restarting them - fixes #546
8 years ago
Rich-Harris 409043bb9b export generateKeyframes
8 years ago
Rich-Harris 90adb3bda8 gah node 4
8 years ago
Rich-Harris e796fefcee stringify helpers before bundling
8 years ago
Rich-Harris 8da701936f rename styles method to css - less ambiguity over what it returns, no style/styles confusion
8 years ago
Rich-Harris b8affd42e9 simplify/unify transitions
8 years ago
Rich-Harris f5bc3e3c84 remove method is unused
8 years ago
Rich-Harris 07f6ec50ed only apply easing function once!
8 years ago
Rich-Harris 5bee31fde6 get basic intro transition test passing
8 years ago
Rich-Harris 5638a7631b restart animations on secondary intro, various bits of cleanup
8 years ago
Rich-Harris d63f80fc48 never abort transitions, they are either bidi or non-abortable
8 years ago
Rich-Harris 806b09840a CSS transitions
8 years ago
Rich-Harris 45a9ce056d handle bidirectional transitions differently
8 years ago
Rich-Harris aa67f8b8c4 abort transitions
8 years ago
Rich-Harris 2a5b0ee1a4 support very basic outro transitions
8 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
8 years ago
Rich-Harris d8cec7f414 style consistency
8 years ago
Rich-Harris e56f09dfe5 clone before set — fixes #479
8 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
8 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
8 years ago
Rich-Harris 731f09d173 Merge branch 'master' into refactor
8 years ago
Rich Harris 3006a245af more consistent naming
8 years ago
Rich Harris 7219202471 reverse pre and post to fix deferrerd observers (fixes #441)
8 years ago
Rich-Harris e592c052aa use assign helper, to avoid compatibility headaches
8 years ago
Rich-Harris 44287f846a recompute computed values with functions as dependencies (#413)
8 years ago
Rich Harris 7b057e4fc2 implement bind:group for checkbox inputs (#312)
8 years ago
Rich Harris 6a4c3e46b3 add shared prototype
8 years ago
Rich Harris 06f89d1d96 dev warnings for bad arguments to component.observe (#369), and component.on("teardown") (#365)
8 years ago
Rich Harris 3235b2c35a always flush render hooks, even if initiator is a nested component (#263)
8 years ago
Rich Harris 23296996ce Merge pull request #265 from sveltejs/gh-264
8 years ago
Rich Harris fa70530261 handle xlink attributes
8 years ago
Conduitry cdb4a3568d use empty comments as anchors
8 years ago
Arpad Borsos 01cc3564be
Move EachBlock and RawMustache detach code into shared
8 years ago
Conduitry 7340b7fcdb make addEventListener, removeEventListener, setAttribute shared
8 years ago
Rich-Harris 9d37ae4f4b move methods out of constructor
8 years ago
Rich-Harris a16704fbf0 use helpers for DOM operations
8 years ago