Commit Graph

766 Commits (6b4f90d4e13290cdb3eb5d09db866d2ff4d797c3)

Author SHA1 Message Date
Rich Harris 6b4f90d4e1 Merge pull request #793 from sveltejs/gh-791
9 years ago
Rich Harris da1c3b3a98 error if component has transition (fixes #791)
9 years ago
Rich Harris be6e778a53 support nested <slot> elements
9 years ago
Rich Harris e5d0958ab4 Merge pull request #787 from sveltejs/gh-763
9 years ago
Rich Harris fd8f6f5f09 dont actually render <slot> elements
9 years ago
Rich Harris 9190990ed9 only add this._slotted if necessary
9 years ago
Rich Harris c1eda75ba0 wrap fallback hydration code in conditional
9 years ago
Rich Harris e0b173ebde validation
9 years ago
Rich Harris ec30e3dfa8 fallback content
9 years ago
Rich Harris 906daf3514 populate component.slots
9 years ago
Rich Harris e49183e91b server-side named slots
9 years ago
Rich Harris 70cbb6a3c7 client-side named slots
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Rich Harris 5e6cd3dfa8 Merge pull request #786 from sveltejs/gh-783
9 years ago
Rich Harris 0d8817f2a9 remove leading selectors safely - fixes #783
9 years ago
Rich Harris 224a3c0e96 start work on <slot>
9 years ago
Andrew Worcester 47e56e3da6 allow an anchor element to be passed for initial component bootstrap
9 years ago
Rich Harris af88c030eb add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris 4da59be023 Merge pull request #775 from sveltejs/gh-774
9 years ago
Rich Harris 07beb7cdaa order statements more logically
9 years ago
Rich Harris 661cb71391 consolidate everything in Component.ts - much cleaner
9 years ago
Rich Harris f314b1d695 move event handlers and refs inside Component.ts
9 years ago
Rich Harris 323b0bf1aa tidy up a bit
9 years ago
Rich Harris d75a9dca94 smarter handling of keyframes - fixes #774
9 years ago
Rich Harris 5b28edf156 tidy up
9 years ago
Rich Harris bad06ac21e all tests passing
9 years ago
Rich Harris 24f1fbde2a almost working
9 years ago
Rich Harris d02c468834 update component bindings together. WIP
9 years ago
Rich Harris 9fda3cf9ec rename function
9 years ago
Rich Harris 15b481b28e apply encapsulating attributes to correct elements and selector parts (#767)
9 years ago
Rich Harris f63a07f139 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris 7fea57c44f rename addConditionalLine to addConditional
9 years ago
Rich Harris 09d95b30f7 add note to self
9 years ago
Rich Harris dd8cc8c194 tidy up, dedupe a bit
9 years ago
Rich Harris 2f0abaa719 apply optimisation to raw tags
9 years ago
Rich Harris d07af2a0c5 fix select edge case
9 years ago
Rich Harris 8faa01ad5c only cache values when it makes sense
9 years ago
Rich Harris 84feff0799 only cache values if necessary
9 years ago
Rich Harris 2705cf4621 handle funky edge case around outroing blocks
9 years ago
Rich Harris b5f7ac2c22 pass updated state to observers
9 years ago
Rich Harris 6292204072 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
9 years ago
Rich Harris 1038d3fccc Merge pull request #766 from sveltejs/gh-740
9 years ago
Rich Harris 60d9cd240c Merge pull request #765 from sveltejs/gh-759
9 years ago
Rich Harris 4d9b57e911 bind to change events for range inputs, as well as input events (#740)
9 years ago
Rich Harris de87e1c812 preserve space before non-parenthesized media query expression - fixes #759
9 years ago
Rich Harris 06c9e37770 call create() on new iterations of static each blocks (#762)
9 years ago
Rich Harris a2e85aec1d replace destroy with noop on destroy
9 years ago
Rich Harris 6ae5e32371 update tests
9 years ago
Rich Harris 73c83d887f replace set with noop instead of checking _destroyed
9 years ago
Rich Harris c799c416c1 no need to bind destroy, event handlers are called with the component as context
9 years ago