Commit Graph

796 Commits (dc48ae63586852fc0acff015a165bb7644195e52)

Author SHA1 Message Date
Rich Harris e993ae0748 more consistent style for generated code
9 years ago
Rich Harris 7401590fba Merge branch 'master' into gh-797
9 years ago
Rich Harris 2380109f15 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 186b770ef4 use helper for setting styles
9 years ago
Rich Harris 118988c16b append host element, not contents, when component is nested
9 years ago
Rich Harris 71bd8e3008 use template strings to prevent sourcemaps breaking the code
9 years ago
Rich Harris f5f35b5a50 scoped styles
9 years ago
Rich Harris af618ba93f render <slot> elements
9 years ago
Rich Harris 30e58c4a73 validate props, auto-generate props if unspecified
9 years ago
Rich Harris afe3e2e669 basic custom element generation (#797)
9 years ago
Rich Harris d54d00cac1 handle url(...) and quoted values
9 years ago
Rich Harris 228a7808ac optimize style attributes
9 years ago
Rich Harris fb972566a4 prevent mutation bug from incorrectly calling observer (fixes #804)
9 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris a68f7e103f stack up append targets so that slotted content in nested components works in SSR mode (fixes #801)
9 years ago
Rich Harris c682e365f6 optimise case where we can use innerHTML
9 years ago
Rich Harris d1a6f9c11e only use comments around <slot> as necessary
9 years ago
Rich Harris 6e9f9633b0 set all node.var names in preprocess
9 years ago
Rich Harris 370327cccd more tidying up
9 years ago
Rich Harris 4603d7700f more refactoring
9 years ago
Rich Harris 9fae7671a4 refactor node._state stuff
9 years ago
Rich Harris 6499d4714d only use noscript if necessary
9 years ago
Rich Harris 457f0189d4 determine needsAnchor lazily
9 years ago
Rich Harris 5c88b6c864 usedAsAnchor is not used
9 years ago
Rich Harris 587d1f8994 remove some unused code
9 years ago
Rich Harris 39681565e3 handle unquoted attribute values (fixes #798)
9 years ago
Rich Harris 0efa2ac7d7 Merge pull request #796 from sveltejs/gh-757
9 years ago
Rich Harris ce109f0eb3 Merge pull request #794 from sveltejs/gh-550
9 years ago
Rich Harris 502f6b6d14 Merge pull request #793 from sveltejs/gh-791
9 years ago
Rich Harris ff2e169b75 handle css vars in <style> tags (fixes #757)
9 years ago
Rich Harris d8269b3e7f attach options to component (#550)
9 years ago
Rich Harris cb92f3028e error if component has transition (fixes #791)
9 years ago
Rich Harris 5b3e8cd88f support nested <slot> elements
9 years ago
Rich Harris 6fad3cbf9c Merge pull request #787 from sveltejs/gh-763
9 years ago
Rich Harris 143d0ea753 dont actually render <slot> elements
9 years ago
Rich Harris a469b560d8 only add this._slotted if necessary
9 years ago
Rich Harris 361a19df17 wrap fallback hydration code in conditional
9 years ago
Rich Harris a023346c91 validation
9 years ago
Rich Harris aa183df289 fallback content
9 years ago
Rich Harris 41026341d8 populate component.slots
9 years ago
Rich Harris 1ae3ab7bf9 server-side named slots
9 years ago
Rich Harris efe25555cf client-side named slots
9 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
9 years ago
Rich Harris b43bc83cd9 Merge pull request #786 from sveltejs/gh-783
9 years ago
Rich Harris 71f9940f17 remove leading selectors safely - fixes #783
9 years ago
Rich Harris d734a6b823 start work on <slot>
9 years ago
Andrew Worcester 9dbc571f57 allow an anchor element to be passed for initial component bootstrap
9 years ago
Rich Harris f7b829820f add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris 3e94650397 Merge pull request #775 from sveltejs/gh-774
9 years ago
Rich Harris a339d3f6e5 order statements more logically
9 years ago