Commit Graph

42 Commits (f02eea24bce5dbbdc93baf697a5d24a47b24cc02)

Author SHA1 Message Date
Rich Harris f02eea24bc missed a few
9 years ago
Rich Harris b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris 619e299600 render <slot> elements
9 years ago
Rich Harris ced8b7a127 refactor node._state stuff
9 years ago
Rich Harris 0e4acc239a remove some unused code
9 years ago
Rich Harris ec30e3dfa8 fallback content
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 224a3c0e96 start work on <slot>
9 years ago
Rich Harris 661cb71391 consolidate everything in Component.ts - much cleaner
9 years ago
Rich Harris 17a95239b3 support ref:foo as a CSS selector (#693)
9 years ago
Rich Harris 92313501d0 use helper to encapsulate styles, rather than being repetitious (fixes #375)
9 years ago
Rich Harris 7bddf3a034 reverse bad fix from yesterday - only have state object in mount if its a yield block
9 years ago
Rich Harris 2b15bbae91 tidy up, add sourcemaps to add_css function
9 years ago
Rich Harris 22e33a7c8c move CSS analysis into preprocess
9 years ago
Rich Harris 1d9900272e Merge branch 'master' into gh-679
9 years ago
Rich Harris f644807e7a only apply svelte-123xyz attributes where necessary (WIP)
9 years ago
Rich Harris e4483eb46a run prettier
9 years ago
Rich Harris 8e06072f03 use #target and #component instead of block.target and block.component
9 years ago
Rich Harris 3d9835daea simplify helpers
9 years ago
Rich Harris 30cc2664c7 test with hydratable: true and hydratable: false
9 years ago
Rich Harris f9e17d6d0e keyed each block and select fixes
9 years ago
Rich Harris f10d2bb250 fix most non-hydration tests
9 years ago
Rich Harris e26c37b408 more hydration
9 years ago
Rich Harris 1cc36884d4 hydration working with elements, text nodes, tags and if blocks
9 years ago
Rich Harris 0013764a01 first, very incorrect stab at hydration
9 years ago
Rich Harris ba0cbdb8d0 TS-ify spaces.js and deindent.js, so they get included in prettier task
9 years ago
Rich Harris 3cc89a0a95 add trailing commas to prettier config, only run on .ts files
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Rich Harris 8458a3f9e2 merge master -> gh-592
9 years ago
Rich Harris ac83b405a6 add cascade option, to prevent components inheriting styles (#583)
9 years ago
Rich Harris 96efd6d993 Merge branch 'master' into gh-592
9 years ago
Rich Harris cbc0b968ef separate unmount from destroy
9 years ago
Rich Harris d1e2ef34f1 treat <textarea> children the same as a value attribute
9 years ago
Rich-Harris 1fa899b811 more TS
9 years ago
Rich-Harris 4db0c65218 more TS
9 years ago
Rich-Harris 8a5b11dd74 more typescript conversion
9 years ago
Rich-Harris fcc12a53a9 Merge branch 'master' into typescript
9 years ago
Rich-Harris 65a82a5683 gah, rollup needs the file extensions. which idiot wrote it
9 years ago
Rich-Harris e8027c6d6f remove .ts file extensions
9 years ago
Rich-Harris 3d234f070b rename all (almost) .js files
9 years ago