Commit Graph

37 Commits (c06bfdbe350143d4ab9d8384fc897131d428be09)

Author SHA1 Message Date
Rich Harris c06bfdbe35 fix stringification of attributes in ssr
7 years ago
Rich Harris cf1e00e602 attribute stringification
7 years ago
Rich Harris 1120c135ac named slots and event context
7 years ago
Rich Harris 662363cca2 spread
7 years ago
Rich Harris 7825c1230a various
7 years ago
Rich-Harris 5980f0752c fix element spread SSR
8 years ago
Rich-Harris 5a45b0e7b4 tidy up/notes to self
8 years ago
Rich-Harris 8813ee3b0f SSR spread elements
8 years ago
Conduitry e4032ea543 apply CSS scoping classes directly to AST (WIP)
8 years ago
Rich Harris cbd1a11548 use classes instead of attributes - fixes #1118
8 years ago
Conduitry 5d0f44ef41 rework handling of non-root <script> and <style>
8 years ago
Conduitry 57b737b3bc fix handling of boolean attributes in SSR (#1109)
8 years ago
Conduitry 7ee44af6b5 fix escaping of sigils in SSR non-top-level <script> and <style>
8 years ago
Conduitry 1f229cfed5 update SSR rendering of <script> and <style>
8 years ago
Rich Harris 545ed7f0ed generate title in SSR compiler
8 years ago
Rich Harris a8eaa7e95c refactor
8 years ago
Rich Harris e238c65a15 rename :Switch -> :Component
8 years ago
Rich Harris 57af1539d9 SSR :Switch components
8 years ago
Rich Harris 51901442c9
attach globals to state object on initialisation
8 years ago
Rich Harris 3879d52616 dont slot elements inside custom elements - fixes #827
8 years ago
Rich Harris a68f7e103f stack up append targets so that slotted content in nested components works in SSR mode (fixes #801)
8 years ago
Rich Harris 587d1f8994 remove some unused code
8 years ago
Rich Harris 1ae3ab7bf9 server-side named slots
8 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
8 years ago
Rich Harris a524ab273e fix escaping/unescaping — closes #741
8 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
8 years ago
Rich Harris f2db3ea828 tidy up, add sourcemaps to add_css function
8 years ago
Rich Harris 2ec0a850fc apply css optimisations to SSR
8 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich Harris 7b99d47215 add cascade option, to prevent components inheriting styles (#583)
8 years ago
Rich Harris 8d2607c37d fix server-side rendering of textareas with value/children
8 years ago
Rich-Harris 5cbe6b764a more TS
8 years ago
Rich-Harris 7c3fca57cf more typescript conversion
8 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
8 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
8 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
8 years ago