Commit Graph

2979 Commits (2b2f53e154d068a33749c44a254d7d1bd9022bd0)

Author SHA1 Message Date
Tan Li Hau 09a2e0b77f fix updating of slot contents when aborting transition (#6042)
5 years ago
Térence Hollander 3eb7453c56 fix(a11y): do not warn if href value is dynamic (#6110)
5 years ago
Milan Jaritz 20f6134817 fix types: make crossfade fallback param optional (#6201)
5 years ago
Geoff Rich 2ec940334c fix setting boolean attributes on custom elements (#6073)
5 years ago
Tan Li Hau eb5dd98641 implement passing CSS custom properties to components (#6237)
5 years ago
Tan Li Hau 3189b3ade6 support :global() in compound selector (#6223)
5 years ago
Lyu, Wei-Da 9f785b39c0 Fix {#await} block scope when updating (#6219)
5 years ago
halfnelson b50dc075ce Don't auto change to svg namespace when in foreign namespace (#6261)
5 years ago
Mohammed Al-Qurafi b04e41a6c3 Add "context" typing to SvelteComponent constructor options (#6236)
5 years ago
Ben McCann 2b0b900226 Improve SSR hydration performance (#6204)
5 years ago
Maxime LUCE 1847f9ec69 Pass full markup source to preprocessors (#6169)
5 years ago
Fielding Johnston 0bb40786fc fix(store): add missing `derived` type definition (#6172)
5 years ago
Tan Li Hau 825a6729c7 allow passing in context in constructor (#6032)
5 years ago
Ben McCann c87ec572ed Remove trailing whitespace
6 years ago
Conduitry fe7f01e14a fix missing slotted elements in AST (#6148)
6 years ago
Luke Edwards 208f7382e5 fix: revert breaking change for `compiler/preprocess` types location (#6100)
6 years ago
Sang 055e1adfcd Export store's useful typescript definitions (#5887)
6 years ago
Umang Galaiya 08a0d96c98 Export interfaces for transition params (#5221)
6 years ago
AmirHossein Ahmadi 67f744ccfb Export the EasingFunction type (#6056)
6 years ago
Tim 86e78b38e4 export interfaces Spring and Tweened (#6122)
6 years ago
JounQin 99f4687836 chore: add `this: void` typing to store functions (#6094)
6 years ago
Tan Li Hau e5370a3e74 implement <svelte:fragment> (#4556)
6 years ago
Rich Harris 345a5398fa add cssHash option (#6026)
6 years ago
Tan Li Hau 1ad9d3e633 allow destructured defaults to refer to variables (#5986)
6 years ago
Tan Li Hau 4df7fc5401 no warning on contextual-store if declaring it as a parameter / variable (#6008)
6 years ago
Pontus Lundin ba6e8b48b9 Call onMount when connected & clean up when disconnected for custom element (#4522)
6 years ago
Tan Li Hau 497de7ed6d fix remove of lone :host selectors (#5984)
6 years ago
pushkine 4ff2d53d15 fix extra invalidation with component prop binding to object property (#5890)
6 years ago
Tan Li Hau 71acc462a0 update css-tree@^1.1.2 (#5958)
6 years ago
Tan Li Hau 5efaf7dbd0 fix :host and :global css scoping (#5957)
6 years ago
Tan Li Hau 2b06c4248d warn module variables are nonreactive and make them truly nonreactive (#5847)
6 years ago
Saurav Sahu 540de15980 fix: "foreign" namespace elements should still allow binding 'this' (#5942)
6 years ago
pushkine d85e897ec2 inline `prop_values` in `init` helper (#5909)
6 years ago
J Delaney 9b5aed1cba don't create class update functions when dependencies aren't reactive (#5926)
6 years ago
Tan Li Hau c3b41b1b12 fix extraneous store subscription in SSR (#5929)
6 years ago
Simon H e15554366b make `SvelteComponentDev` typings more forgiving (#5937)
6 years ago
Simon H 4bab9db9f9 make animation/transition params optional (#5936)
6 years ago
Anders Lorentsen 5e1009c677 error on empty name in `class:` directive (#5939)
6 years ago
Alexandre Galays aa36b58bde Swap the order of the two derived store signatures to fix inference (#5935)
6 years ago
Ben McCann bb90e37a49 Add spaces next to infix operators (#5902)
6 years ago
halfnelson 346c7a942d add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652)
6 years ago
pushkine 3cde94388d allow duplicates of the same action on an element (#5875)
6 years ago
Andreas Ehrencrona 1af0204afb Refactored preprocess for readability (#5763)
6 years ago
milahu ec9bcff191 Parse attached sourcemap from preprocessor (#5854)
6 years ago
Tan Li Hau 2386de39b1 deconflict conextual action variable (#5839)
6 years ago
Tan Li Hau d9742ef39f fix await outro race condition (#5850)
6 years ago
Tan Li Hau 47e68bd188 fix removing elements that are currently transitioning out (#5849)
6 years ago
Tan Li Hau 24d1a674eb rework SSR store autosubscription (#5419)
6 years ago
Nick Vincent d79cc4041f use iframe z-index: -1 in resize listener (#5742)
6 years ago
Tan Li Hau 51da886cfc fix deep object property as action (#5845)
6 years ago
Tan Li Hau 286b071e2a keep each block value (#5841)
6 years ago
Tan Li Hau 02e58e88bc maintain context for keyed each (#5840)
6 years ago
Tan Li Hau ad774a709e shift injected declarations to the top (#5837)
6 years ago
Tan Li Hau f173221ce3 warn if React attributes are used (#5836)
6 years ago
Tan Li Hau eb2765e515 fix checkbox bind:group when index depends on another context (#5835)
6 years ago
Ben Welsh e542247cb8 add ARIA graphics roles as known (#5822)
6 years ago
Andreas Ehrencrona 3aaf845594 Added types to Node subclasses (#5755)
6 years ago
dmitrage 215e23520d Fix various issues with preprocess source maps (#5754)
6 years ago
Ben McCann 73847d18b5 Upgrade eslint (#5747)
6 years ago
Simon H de06b32b3e Revert typed SvelteComponent, add SvelteComponentTyped instead (#5738)
6 years ago
milahu 06f3198a7e support using decoded sourcemaps from SourceMapGenerator (#5732)
6 years ago
Tan Li Hau 9200b68515 add missing export for hasContext (#5727)
6 years ago
pushkin ec0a87886f make unused `transition_out` parameters optional (#5587)
6 years ago
Tan Li Hau 0968686824 support spread into slot props (#5616)
6 years ago
Simon H 205aa87c0b typed SvelteComponent(Dev) interface (#5431)
6 years ago
Tan Li Hau 2be7e38128 reactive dependency not referenced can't set to undefined initially (#5600)
6 years ago
Tan Li Hau 7cde44eb96 fix order of html tags with {#if} in {#key} block (#5685)
6 years ago
pushkin c82a3cf782 add hasContext lifecycle function (#5690)
6 years ago
Ben McCann 27aff7e562 Fix eslint issue (#5698)
6 years ago
halfnelson 55fab215f9 Preprocessor sourcemap support (#5584)
6 years ago
Tan Li Hau 28068f62d5 support $$slots in custom elements (#5619)
6 years ago
Ben McCann 64634b5913 Curly brace cleanup and enforcement (#5647)
6 years ago
Mikail Khan bb2d94c587 fixed typo in each loop animation error (#5648)
6 years ago
Tan Li Hau 43cfa895ae fix else block transition update (#5591)
6 years ago
Tan Li Hau 18dfeafb7b fix function slot props based on context (#5607)
6 years ago
Tan Li Hau 0e290a2eb9 support $$props and $$restProps for custom elements (#5608)
6 years ago
Tan Li Hau 802a71e42d add Node and Element as known globals (#5601)
6 years ago
Ben McCann 647e3359cc Curly braces linting fixes (#5585)
6 years ago
Jesse Skinner 434799e672 get context at start of {#if} update block instead of at the end (#5531)
6 years ago
Andreas Ehrencrona 2917a8e3d0 only allow passing functions to lifecycle functions (#5529)
6 years ago
Damián Pumar 96d8eaa842 fix compiler hanging on <slot slot="..."> (#5536)
6 years ago
Andreas Ehrencrona 7cbf66ecee Updated to ESLint config 5.4.0 (#5541)
6 years ago
Oscar Mattsson 8f682fd8a3 Fixed outdated typescriptlang.org link in comment (#5544)
6 years ago
Andreas Ehrencrona c3a86911de add missing end AST property to non-top-level <style> tags (#5487)
6 years ago
Andreas Ehrencrona 96c51400d9 fix indentation and remove unused variables (#5479)
6 years ago
Bob Fanger 18442eded6 fix: typing get svelte/store (#5483)
6 years ago
Ben McCann b68fc1526e upgrade ESLint config (#5472)
6 years ago
Tan Li Hau a75228a652 warn for possible use of component without uppercase tag name (#5302)
6 years ago
orange4glace d4f3f8ba76 fix unmounting components delayed bidirectional transitions (#5353)
6 years ago
Tan Li Hau 060781cea1 add typings to `get_store_value` (#5269)
6 years ago
Tan Li Hau 5097a5191c allow <slot> to be part of a slot (#4295)
6 years ago
Tan Li Hau 74e61b69f3 fix sibling combinators with spread attributes (#5467)
6 years ago
Tan Li Hau 5c76788804 add EventSource to the known globals (#5468)
6 years ago
Tan Li Hau f675f8583d {#key} block (#5397)
6 years ago
Tan Li Hau eb1d4f2c46 scope CSS sibling combinators (#5427)
6 years ago
Tan Li Hau e5ca2067df add nonpassive event modifier (#5442)
6 years ago
Tan Li Hau 54698ebce1 update keyed each when key expression changes (#5447)
6 years ago
Tan Li Hau 4966378cf8 handle destructuring to a store value (#5452)
6 years ago
Tan Li Hau 28d0868f81 fix missing-declaration warning for use:obj.method (#5454)
6 years ago
Tan Li Hau 98d35143e7 whitelist [open] attribute selector for <details> (#5425)
6 years ago