Commit Graph

2567 Commits (af6d0108442bf2a7d7eec2fe3f36b2e3a5d1c28e)

Author SHA1 Message Date
Timothy Johnson b0158df845 Missing globals
7 years ago
Conduitry a38c9de8eb support RxJS Observables in reassigned stores (#3304)
7 years ago
Rich Harris db1a1875c2 quote props if necessary in SSR mode - fixes #3312
7 years ago
Rich Harris 2249bc7aa0 Merge pull request #3305 from Conduitry/gh-3226
7 years ago
Rich Harris 7b33c9c10f Merge pull request #3295 from sveltejs/gh-3286
7 years ago
Vadim Cebaniuc 74c19cf63c Fix non-object spread
7 years ago
Conduitry 624d145a82 use `change` event for `bind:files` (#3226)
7 years ago
Richard Harris 4ccb96d1ca always update reactive declarations with $$props - fixes #3286
7 years ago
Richard Harris fb9684dfa9 reuse unchanged spread levels - fixes #3289
7 years ago
Rich Harris c5371a01ee return readable store directly form derived, avoid .shift()
7 years ago
Brian Takita 11aa510de1 Optimization: Single for loop instead of 2 forEach loops
7 years ago
Brian Takita c17331754d remove unnecessary return
7 years ago
Brian Takita 8d1cb5c89e Breadth first calling of subscribers in store dependency tree.
7 years ago
Brian Takita 6c6dbf2e13 fixes https://github.com/sveltejs/svelte/issues/3191
7 years ago
Rich Harris ca8b48f6b2 Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
7 years ago
Rich Harris 9584ce09c6 Merge pull request #3242 from umanghome/v3-class-deps-fix
7 years ago
Rich Harris f691223bfc Merge pull request #3229 from pynnl/gh-3228
7 years ago
Ivo Lukacovic ed9c214246 avoid trailing comma in destroy_component() call (#3255)
7 years ago
David Mosher 7ff7a5e220 bugfix: exempt the :root selector from prefix
7 years ago
Umang Galaiya 16ca35b8e2 [Element][SSR] Set class expression if spread is used
7 years ago
Umang Galaiya c5ca0bd914 [Element][DOM] Set class dependencies before returning
7 years ago
pynnl 36903c83f8 fix global keyframes with no elements
7 years ago
Richard Harris e5304263ec lint
7 years ago
Rich Harris 818874bc1a Merge pull request #3209 from sveltejs/gh-2086-2
7 years ago
Rich Harris ee8f867bf5 Merge pull request #3208 from tiberiuc/fix/3199
7 years ago
Dale e42a03e237 make resize listener object element unfocusable
7 years ago
Rich Harris 851ad5c3df prevent outro groups getting muddled up - fixes #2086
7 years ago
Tibi Craciun b71821d1a9 fixed #3199
7 years ago
Rich Harris 014b25f625 Merge branch 'master' into gh-3113
7 years ago
Richard Harris 037b534cc8 -> v3.6.5
7 years ago
Richard Harris 66eb28a48d -> v3.6.5
7 years ago
Richard Harris bec5c9da02 lint
7 years ago
Rich Harris 2f055cb67f Merge pull request #3170 from sveltejs/gh-3153
7 years ago
Rich Harris 5206b64419 Merge pull request #3171 from sveltejs/gh-3140
7 years ago
Rich Harris 26a5717903 Merge pull request #3175 from buhrmi/crossfade-scale
7 years ago
Conduitry 78f5fe5d1d escape `@` sigils in block comments (#3173)
7 years ago
Stefan Buhrmester 9a77abb8d9 fix transform origin during scaling
7 years ago
Stefan Buhrmester 1a1f5a759d make crossfade scale the element to target rect
7 years ago
Richard Harris d7d64a03b6 prevent dynamic components being detached twice - fixes #3113
7 years ago
Richard Harris 5eab54d106 huh apparently this works
7 years ago
Rich Harris 4e8e14cf9a WIP solution for #1340
7 years ago
Rich Harris 3cb42dc0d4 handle rxjs-style observables with get_store_value - fixes #3153
7 years ago
Rich Harris 78d9e1d364 Merge pull request #3158 from sveltejs/gh-3038
7 years ago
Rich Harris d80f711dde Merge pull request #3151 from sveltejs/gh-2906
7 years ago
Rich Harris 71dc396701 Merge pull request #3150 from sveltejs/gh-2281
7 years ago
Rich Harris caea2e44cd add pending assignments when leaving assignment expressions, not entering them
7 years ago
Rich Harris 171b253836 note to self
7 years ago
Richard Harris 5e58764c63 prevent malformed code when injecting invalidate statements
7 years ago
Richard Harris b0246474ce correctly transform inline shorthand methods - fixes #2906
7 years ago
Rich Harris d054c8e8f9 onMount before first afterUpdate
7 years ago
Richard Harris 9e9db10719 lint
7 years ago
Rich Harris b21a5c8562 Merge branch 'onmount_triggers_in_reverse_order_for_siblings' of https://github.com/colincasey/svelte into colincasey-onmount_triggers_in_reverse_order_for_siblings
7 years ago
Rich Harris 87f5ae925a Merge pull request #3149 from Conduitry/preprocess-attribute-parsing-fix
7 years ago
Rich Harris c01745abcc preserve symmetry when walking css ast
7 years ago
Conduitry 475433c7d7 preprocess: fix handling of attribute values containing `=`
7 years ago
Rich Harris fba160906c Merge branch 'gh-3135' of https://github.com/btk5h/svelte into btk5h-gh-3135
7 years ago
Rich Harris cb545713a6 Merge pull request #3147 from sveltejs/gh-2693
7 years ago
Rich Harris 36b15b50a3 Merge pull request #3146 from sveltejs/gh-2135
7 years ago
Rich Harris 3f7c7e021e Merge pull request #3145 from sveltejs/gh-2034
7 years ago
Rich Harris fc71d001b3 Merge pull request #3142 from sveltejs/gh-1496
7 years ago
Rich Harris 65b0b6a571 on second thoughts
7 years ago
Richard Harris 00d43752bb distinguish between lazy and non-lazy expressions - fixes #2693
7 years ago
Richard Harris 9601f44ff2 handle circular values when rendering bindings - fixes #2135
7 years ago
Richard Harris d4b021201f update bind:this references when setting to null - fixes #2034
7 years ago
Richard Harris 8d95c53c09 prevent await block mounting inside removed if block - fixes #1496
7 years ago
Richard Harris 15f89891a0 add scoping attribute for pseudo-class selectors without a type/class - fixes #1705
7 years ago
Timothy Johnson 5567365cde Typo
7 years ago
Timothy Johnson 35f4f288c8 Events for dom properties
7 years ago
Timothy Johnson 885e0035c8 Pass options in component event
7 years ago
Timothy Johnson ad7c62d983 Events for DOM methods
7 years ago
Timothy Johnson 8658c5e5fb Component.$unsafe_set
7 years ago
Timothy Johnson fe2d875815 Events for Blocks and Components
7 years ago
Bryan Terce f317dc451d Restore correct current_atrule
7 years ago
Richard Harris 5576b60474 lint
7 years ago
Rich Harris eb8ae7194d Pass hoisted values through to slots (#3124)
7 years ago
Axelen123 bdb8237cf8 Make inject_state and capture_state always available
7 years ago
Rich Harris 3ec8e5fe33 Fix contextual bind:this (#2806)
7 years ago
Rich Harris 26e15dc74c Merge pull request #3112 from sveltejs/gh-2917
7 years ago
Axelen123 508f2e7e34 Only capture and inject writable props
7 years ago
Axelen123 99fecab33e Add hooks for HMR support (sveltejs#2377)
7 years ago
Conduitry ea7654adb1 escape `@` sigils in debug filename
7 years ago
Rich Harris e105d2ade2 Merge branch 'master' into gh-2917
7 years ago
Rich Harris a9cec4d457 Merge pull request #3110 from sveltejs/gh-3054
7 years ago
Rich Harris a3f70bd288 Merge pull request #3111 from sveltejs/gh-2923
7 years ago
Rich Harris 9afe62b0ef Merge pull request #3109 from sveltejs/gh-3064-part-2
7 years ago
Rich Harris bc84ea23f4 Merge pull request #3106 from sveltejs/gh-3035
7 years ago
Rich Harris 3aab13914c fix placement of each-else block, and clarify node references in source - fixes #2917
7 years ago
Rich Harris 098b92a3bf sanitize names of automatically-bubbled events - fixes #2923
7 years ago
Rich Harris 307db077eb check for existence of switch instance before introing - fixes #3054
7 years ago
Rich Harris a93f089765 doh
7 years ago
Rich Harris 5a732658ce prevent empty if block
7 years ago
Rich Harris 1c0ead302f add a few more known globals
7 years ago
Richard Harris 6f9230a915 fix #3035 for real
7 years ago
Richard Harris 1e8728e2a4 only call subscriber once for writable with callback - fixes #3022
7 years ago
Richard Harris 6886d3260f remove components without props from each block - fixes #3035
7 years ago
Rich Harris 2e8da2bc1f Merge pull request #3102 from sveltejs/gh-3027
7 years ago
Richard Harris bdd4bb1f95 remove unused code
7 years ago
Richard Harris ea0dd9c0de prevent top-level text being discarded - fixes #3027
7 years ago
Richard Harris e1148b6590 always bail out of hoisting on encountering local state - fixes #3044
7 years ago
Rich Harris 497472d01a Merge pull request #3098 from sveltejs/gh-3064
7 years ago
Rich Harris a1f5bb96b7 add Error to known globals, declare catch block parameter. fixes #3064
7 years ago
Rich Harris f2c0364da0 Merge branch 'master' into gh-3058
7 years ago
Rich Harris 57c6b2e94a always run onDestroy functions - fixes #3058
7 years ago
43081j e65c8e4f8d fix existing lint errors
7 years ago
Rich Harris 0034b6b074 merge master -> snake_case
7 years ago
Rich Harris 02e635687b rename kebab-case files - supercedes #2890
7 years ago
Rich Harris 8390195c3a Merge branch 'master' into gh-2612
7 years ago
Rich Harris b1bf645272 Merge pull request #3093 from sveltejs/gh-3092
7 years ago
Rich Harris 14e739379b handle member expressions in destructuring assignments - fixes #3092
7 years ago
Rich Harris a7aa95477f typo
7 years ago
Rich Harris 204766ec0a add some docs, rename to textContent and innerHTML
7 years ago
Rich Harris 3c21a184d1 Merge branch 'master' into init-contenteditable
7 years ago
Thomas Ghysels d6b5c42f7f Fix parsing ambiguous HTML entities (#3071)
7 years ago
Bryan Terce 34ac1ff42e Fix binding to values in a component when it uses `$$props` (#2725)
7 years ago
Bryan Terce dc3cb06f91 Fix dynamic `bind:this` on components (#2333)
7 years ago
Maurício Kishi d0448aba01 Merge branch 'master' into gh-2612
7 years ago
mrkishi b57354d8ac replace ninja globals
7 years ago
Bryan Terce b61b92166e preserve whitespace at each block boundaries (#713)
7 years ago
Bryan Terce 0cc4b91f65 Fix each blocks not unmounting components correctly (#3056)
7 years ago
Rich Harris 7de7cdbf06 Track which blocks are outroing to prevent duplication
7 years ago
Conduitry 3bc50e0945 fix text nodes in .innerHTML-optimized output
7 years ago
Conduitry fa485165ce Merge branch 'master' into gh-2612
7 years ago
Conduitry 88881cd3c5 don't grab page offsets too early
7 years ago
Richard Harris d21f2b4518 merge master -> init-contenteditable
7 years ago
Richard Harris b95d200a04 Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris f82378e64f whoops
7 years ago
Rich Harris f8433a30e6 Merge pull request #2990 from mrkishi/component-type
7 years ago
Richard Harris dd162a2536 Merge branch 'master' into IlyaSemenov-gh-2843
7 years ago
Richard Harris 39bb045d8e move get_name to get_name_from_filename and add unit tests
7 years ago
Conduitry e8a53373f2 only set attributes via properties when truly necessary (#1434)
7 years ago
mrkishi 61f4d3a8f2 make eslint happy
7 years ago
mrkishi 75568f3656 split typescript projects
7 years ago
Mikhail Korepanov eee073966c Allow whitespace after = in attributes (#3026)
7 years ago
Johan 74a767403f ensure correct requestAnimationFrame context (#2933)
7 years ago
Efe Küçük 52b964652f do not collapse whitespace containing nbsp (#3014)
7 years ago
Conduitry 0b2d0f6711 use `@_` sigil for globals
7 years ago
Richard Harris 25dcf49b3c prevent compiled output blowing up in Node if window is not defined
7 years ago
mrkishi c0d9d555df deconflict more globals
7 years ago
Conduitry 0b913aa338 import globals from helpers (#2612) (#2947)
7 years ago
Ilya Semenov 1a74cede2f Improve file name to component name conversion, fix #2843
7 years ago
Richard Harris b502022d67 use helpers
7 years ago
Richard Harris ceca640822 tidy up, prevent collisions
7 years ago
Richard Harris e30d7b97d0 initialise text/html bindings if necessary
7 years ago
Richard Harris 4499969337 merge master -> leporo-master
7 years ago
Richard Harris 3bb160571c Merge branch 'master' of https://github.com/leporo/svelte
7 years ago
Rich Harris 358e79f762 allow empty <title> tags - fixes #2980 (#2988)
7 years ago
Rich Harris e69e891691 support once modifier on component events, fail on others (#2987)
7 years ago
Rich Harris 6cc03f873c Merge branch 'master' into master
7 years ago
mrkishi fca5435605 add ambient type for generated svelte components
7 years ago
James Garbutt 11ced4a257 Introduce ESLint to svelte sources (#2958)
7 years ago
Efe Küçük e73eb33b45 Render textarea binding values inside element
7 years ago
Rich Harris 9c892724c6 Merge pull request #2910 from Harald-1/animation-with-delay
7 years ago
Richard Harris bb96112eed Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris fc3ae7356b Merge branch 'fix-2929' of https://github.com/qintarp/svelte into qintarp-fix-2929
7 years ago
Vlad Glushchuk 46781985a1 Rebase and fix linter warning
7 years ago
Vlad Glushchuk 53d03811c8 Fix the cursor reset issue
7 years ago
Vlad Glushchuk d0edb3167d Fix a typo
7 years ago
Vlad Glushchuk bf0d66175b Add bind:text and bind:html support for contenteditable elements
7 years ago
Richard Harris 833145cb28 fix typo
7 years ago
Richard Harris 0f06710da8 DRY out
7 years ago
Rich Harris 6c874569de solve diamond dependencies (#2660)
7 years ago
Benjamin W. Broersma 1ffaccffc1 Fixing #2689 correctly, checking outro.is_local for adding if(local).
7 years ago
Lyphon c865d53e5e Fix build appveyor build failure
7 years ago
Lyphon 0b22030848 Fix 2929
7 years ago
Harald Fassler 082f86b1c6 remove prepare_outro
7 years ago
Harald-1 eb6a3c5b71 Apply suggestions from code review
7 years ago
Rich Harris abf01fddcf Merge pull request #2909 from Harald-1/animations-without-transitions
7 years ago
Rich Harris b71b7fb5f6 Merge pull request #2912 from yazonnile/master
7 years ago
Slava Z 126d095bdb Fix for #2655 - adding introstart...outroend events to in-out transition
7 years ago
Harald Fassler 35cdaa821e follow-up fix to #2871
7 years ago
Ankeet Maini c61ad46b06 Fix typo.
7 years ago
Harald Fassler 4d0d63f722 fix #2908
7 years ago
Colin Casey a2cdcfde40 Merge branch 'master' into onmount_triggers_in_reverse_order_for_siblings
7 years ago
Richard Harris 69b7b5e637 Merge branch 'master' into folder-structure
7 years ago
Rich Harris 98174f8374 typos
7 years ago
Colin Casey 142e6fb19f Merge branch 'master' into onmount_triggers_in_reverse_order_for_siblings
7 years ago
Bogdan Savluk 0173aa1147 improve typings for animate, easing, transition, motion and internal apis
7 years ago
Richard Harris 2d647ec071 fix types for easing functions
7 years ago
Richard Harris b151458b07 update gitignore
7 years ago
Richard Harris 965fae7991 update folder structure - #2790
7 years ago
Rich Harris bf5b8ab777 Merge pull request #2881 from sveltejs/gh-2878
7 years ago
Rich Harris 95533b226d Merge pull request #2880 from cudr/head_html_fix
7 years ago
Richard Harris 3122decd33 dont create unknown prop warnings for $$scope etc, or if component has $$props - fixes #2878
7 years ago
Richard Harris 1c2c3b166c make is_reactive_dependency optional
7 years ago
Rich Harris 1176e674d0 Merge branch 'master' into less-invalidation
7 years ago
Rich Harris ca192e15df Merge pull request #2872 from Harald-1/master
7 years ago
Rich Harris 7ed3965f98 Merge pull request #2877 from colincasey/feat/omit_readonly_ssr_bindings
7 years ago
cudr 435f3993ea add tests
7 years ago
Colin Casey 3f906bfd95 Omits readonly attributes from SSR code
7 years ago
Brian Takita 3c6acd7aa3 jsdoc: `derived` second argument
7 years ago
Brian Takita 0f493d8d78 Apply suggestions from code review
7 years ago
Brian Takita 4e0555d5b3 Additional detail to jsdocs for writable, readable, & derived
7 years ago
Harald Fassler 3aa5bc1c35 Merge remote-tracking branch 'upstream/master'
7 years ago
Harald Fassler 5af26cf37b Update animations.js
7 years ago
Richard Harris 4da1f5d05e Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris c8abbfc3a1 always add raw property to text nodes
7 years ago
Richard Harris 32c500f987 Merge branch 'raw-entities' of https://github.com/RedHatter/svelte into RedHatter-raw-entities
7 years ago
Richard Harris cb04297b8a merge master -> zxbodya-ts
7 years ago
Richard Harris d0f84150bf code style
7 years ago
Richard Harris c2fa3dd30d Merge branch 'feat/2174_dev_runtime_warning_when_passing_unknown_props' of https://github.com/colincasey/svelte into colincasey-feat/2174_dev_runtime_warning_when_passing_unknown_props
7 years ago
Rich Harris 8507ac2663 Merge branch 'master' into improve-typings
7 years ago
Rich Harris c96ccf6dc6 Merge pull request #2856 from sveltejs/raf
7 years ago
cudr c7e3e26940 works correct
7 years ago
Richard Harris 181e954224 only invalidate referenced values
7 years ago
Richard Harris 0f51970ac1 fix tests
7 years ago
Timothy Johnson 5a87705a38 Fixes #2714
7 years ago
Rich Harris 47dcd385fe treat requestAnimationFrame as a noop on the server
7 years ago
Benjamin Milde f56445f3a1 Allow binding of <details> open
7 years ago
Bogdan Savluk 83114b29c8 fix case sensitive import name, improve tsconfig
7 years ago
Bogdan Savluk 70a9cec0f7 convert everything to TypeScript
7 years ago
Colin Casey 4f474521ec check for unknown props when creating component
7 years ago
Bogdan Savluk 4c08e93f58 cleanup, improve comments
7 years ago
Bogdan Savluk 762a9c2bea workarond for estree-walker related typings conflict
7 years ago
Bogdan Savluk fef6dff347 compile/render-dom and other remaining typings
7 years ago
Bogdan Savluk 7d68f2e934 fix compile/render-ssr typings
7 years ago
Bogdan Savluk e9ff062e41 fix compile/nodes typings
7 years ago
Bogdan Savluk aee3dcae4d improve parser typings
7 years ago
Rich Harris 6d6685c4ca Merge pull request #2829 from colincasey/bugfix/2821_custom_elements_with_no_svelte_options
7 years ago
Rich Harris 4c9c04fc44 Merge pull request #2795 from sanderhahn/master
7 years ago
Rich Harris 9c911462c4 Update store.ts
7 years ago
Colin Casey a21afe8b5e Allow custom element to be declared with no tag and no options
7 years ago
mrkishi a01b1986bd allow end tag omission in blocks
7 years ago
Christian Kaisermann ab5b379c3c fix: 🐛 data attributes without value outputting as "true"
7 years ago
Sander Hahn 701fe15ebc add docstrings to store
7 years ago
Rich Harris 6c2f7347fa Merge pull request #2784 from clarkdo/refactor
7 years ago
Clark Du 29586f0d83 fix: add super.render back
7 years ago
Clark Du e694fc36b2 refactor: remove unnecessary super.render in style attribute
7 years ago
Rich Harris ce3a49520a Merge pull request #2781 from sveltejs/gh-2780
7 years ago
Richard Harris aa35bb5634 ensure spring works server-side = fixes #2773
7 years ago
Richard Harris 5c172504c0 handle non-falsy non-function deriver return values - fixes #2780
7 years ago
Rich Harris 960e0be017 Merge pull request #2733 from sanderhahn/master
7 years ago
Rich Harris 103e56410f Merge pull request #2749 from colincasey/custom_elements_without_tags
7 years ago
Rich Harris eabc9ba385 Merge pull request #2754 from EmilTholin/reset-quote-mark
7 years ago
Rich Harris 902b7dbae1 Merge pull request #2755 from EmilTholin/mutated-const-reative-dependency
7 years ago
Rich Harris d060af034e Merge pull request #2766 from EmilTholin/debug-hoisted-variable
7 years ago
Emil Tholin 3b163fe341 Add error for missing equals after attribute name
7 years ago
Emil Tholin 093bf15cb9 Don't get hoisted variable from ctx when using @debug
7 years ago
Emil Tholin c6df0df7df Set mutated const variables as reactive dependencies
7 years ago
Sander Hahn cabd8ad3a5 advanced type for derived
7 years ago
Emil Tholin 00324b2d0e Set quote_mark to null when closing quote mark is found
7 years ago
Colin Casey 5d1aece2ab FIX: #2281 - trigger onMount callbacks in same order as child components
7 years ago
Colin Casey 6481c4cd61 FIX #2417: allows custom element to be defined without a tag
7 years ago
Sander Hahn 05c26d789e typescript version of store
7 years ago
Rich Harris 3cb1ef8e23 fix vars/warnings
7 years ago
Rich Harris b858e8db32 implement namespaced components
7 years ago
Rich Harris ceca22b26f Merge pull request #2709 from LostKobrakai/multiple-event-listeners
7 years ago
Benjamin Milde 85b256432a Implement suggestions
7 years ago
Rich Harris f84e46e227 Merge pull request #2696 from PaulMaly/patch-1
7 years ago
Rich Harris 1652548ca2 Merge pull request #2698 from jacobmischka/fix-get-slot-changes
7 years ago
Rich Harris 580224d07d Merge pull request #2703 from EmilTholin/hoisting-injected-reactive-vars
7 years ago