0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

1123 Commits

Author SHA1 Message Date
Lyu, Wei-Da
00e58e7bc8
Fix {#await} block scope when updating (#6219) 2021-04-30 10:18:07 -04:00
halfnelson
4633697214
Don't auto change to svg namespace when in foreign namespace (#6261) 2021-04-30 10:10:49 -04:00
Tan Li Hau
6c5257beb2
allow passing in context in constructor (#6032)
Co-authored-by: Conduitry <git@chor.date>
2021-03-31 11:07:32 -04:00
Tan Li Hau
1d6e20f2a9
implement <svelte:fragment> (#4556)
add validation and test

replace svelte:slot -> svelte:fragment

slot as a sugar syntax

fix eslint
2021-02-27 12:43:53 -05:00
Tan Li Hau
d17a90cc44
allow destructured defaults to refer to variables (#5986)
Co-authored-by: M. Habib Rosyad <habib@volantis.io>
Co-authored-by: Conduitry <git@chor.date>
2021-02-25 11:36:44 -05:00
Tan Li Hau
b764374b62
no warning on contextual-store if declaring it as a parameter / variable (#6008) 2021-02-25 10:53:23 -05:00
pushkine
a9c1dc9b59
fix extra invalidation with component prop binding to object property (#5890) 2021-02-08 14:22:25 -05:00
Tan Li Hau
6589aa2548
warn module variables are nonreactive and make them truly nonreactive (#5847) 2021-01-29 15:05:04 -05:00
Tan Li Hau
6207596175
fix extraneous store subscription in SSR (#5929) 2021-01-29 11:07:33 -05:00
halfnelson
a7eff8894f
add foreign namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 2021-01-25 16:25:10 -05:00
Tan Li Hau
734257001d
deconflict conextual action variable (#5839) 2021-01-04 16:51:55 -05:00
Tan Li Hau
5949c4a594
fix await outro race condition (#5850) 2021-01-04 16:19:24 -05:00
Tan Li Hau
9cc21e3c09
fix removing elements that are currently transitioning out (#5849) 2021-01-04 15:50:22 -05:00
Tan Li Hau
82fcdfc2fa
rework SSR store autosubscription (#5419) 2021-01-04 14:41:11 -05:00
Nick Vincent
f7d4eef55d
use iframe z-index: -1 in resize listener (#5742) 2021-01-01 20:56:26 -05:00
Tan Li Hau
1da4105d65
fix deep object property as action (#5845) 2021-01-01 20:48:03 -05:00
Tan Li Hau
08cb3142e9
keep each block value (#5841) 2021-01-01 20:41:31 -05:00
Tan Li Hau
63669330f6
maintain context for keyed each (#5840) 2021-01-01 20:28:11 -05:00
Tan Li Hau
a41c7644e6
shift injected declarations to the top (#5837) 2021-01-01 19:59:35 -05:00
Tan Li Hau
662d9b44e6
fix checkbox bind:group when index depends on another context (#5835) 2021-01-01 19:35:43 -05:00
Tan Li Hau
ccc61a71d8
add missing export for hasContext (#5727) 2020-11-27 08:06:36 -05:00
Tan Li Hau
9331398299
support spread into slot props (#5616) 2020-11-24 17:47:03 -05:00
Tan Li Hau
1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially (#5600) 2020-11-23 11:57:44 -05:00
Tan Li Hau
24c44b9177
fix order of html tags with {#if} in {#key} block (#5685) 2020-11-23 11:41:56 -05:00
Tan Li Hau
148b6105ed
fix else block transition update (#5591) 2020-10-29 16:32:12 -04:00
Tan Li Hau
5d7ffdb8a7
fix function slot props based on context (#5607) 2020-10-29 15:15:54 -04:00
Jesse Skinner
a4e4bd0f53
get context at start of {#if} update block instead of at the end (#5531) 2020-10-22 12:43:11 -04:00
Damián Pumar
5d480c5d5a
fix compiler hanging on <slot slot="..."> (#5536) 2020-10-22 12:31:43 -04:00
Andreas Ehrencrona
ddf13211af
Updated to ESLint config 5.4.0 (#5541) 2020-10-21 15:23:08 -07:00
Andreas Ehrencrona
b865494def
Preparing for adding unused warning to eslint config (#5498) 2020-10-19 08:12:43 -07:00
Andreas Ehrencrona
e508fb7b8b
fix indentation and remove unused variables (#5479) 2020-10-01 11:34:53 -04:00
Ben McCann
229a16d6e7
upgrade ESLint config (#5472) 2020-09-29 20:19:43 -04:00
Tan Li Hau
8056829a91
allow <slot> to be part of a slot (#4295) 2020-09-29 11:55:44 -04:00
Ben McCann
0645631b28
Use TypeScript in tests (#5433) 2020-09-29 11:19:21 -04:00
Tan Li Hau
fa7c780bad
{#key} block (#5397)
Co-authored-by: Conduitry <git@chor.date>
2020-09-25 10:12:49 -04:00
Tan Li Hau
41d1656458
update keyed each when key expression changes (#5447) 2020-09-24 15:20:17 -04:00
Tan Li Hau
c3b56a164e
handle destructuring to a store value (#5452) 2020-09-24 14:55:55 -04:00
Tan Li Hau
254096d320
support methods as actions (#5398) 2020-09-18 12:50:18 -04:00
Tan Li Hau
b3f54bd2cf
fix store direct property assignment (#5416) 2020-09-18 12:17:36 -04:00
Tan Li Hau
aef5671411
update acorn and parse expression as module script (#5423) 2020-09-18 12:09:44 -04:00
Tan Li Hau
87ed0b2f42
fix await stuck indefinitely without catch (#5402) 2020-09-15 09:13:50 -04:00
Tan Li Hau
1ce6ac5d48
fix destructuring to get multiple stores (#5390) 2020-09-15 09:03:09 -04:00
Tan Li Hau
338cf877bc
maintain context for transition (#5392) 2020-09-15 08:49:35 -04:00
Conduitry
dfb15a6a37 fix lint 2020-09-10 15:56:27 -04:00
Th0rN13
4b59491ea4
Fix: input type number warning in browsers (#4772) 2020-09-10 15:49:57 -04:00
rdb
211fc92e69
Fix current component not being cleared after component update (#4909) 2020-09-10 15:39:45 -04:00
Tan Li Hau
51e2626f42
fix $$props reactivity in fallback of a slot (#5375) 2020-09-10 14:42:38 -04:00
Tan Li Hau
8148a7a334
each binding with store props (#5289) 2020-08-27 19:25:33 -04:00
Tan Li Hau
c752ed3527
handle undefined input value with spread (#5291) 2020-08-27 17:17:44 -04:00
Antony Jones
82dc26a31c
Fix lint warnings (#5263) 2020-08-20 08:51:28 -07:00