Tan Li Hau
222a9dd2c6
[feat] get all contexts ( #6528 )
...
* get all contexts
* docs
* explicit return type
* allow specifying return type through generic parameter
* Update site/content/docs/03-run-time.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2021-07-21 12:59:00 +08:00
Tan Li Hau
2818567925
fix input value 0 for ssr ( #6458 )
2021-07-13 17:02:43 -07:00
Tan Li Hau
ebaa891e69
[chore] update code-red@0.2.0 ( #6425 )
...
Co-authored-by: Conduitry <git@chor.date>
2021-07-10 06:15:44 -07:00
Jonnie
7bcbe67939
add ssr for group bindings ( #4621 )
...
* add ssr for group bindings
* remove unnecessary chunk length check
* check if checkbox or radio
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2021-07-10 12:07:37 +08:00
Daybrush (Younkue Choi)
201a71d8b7
fix insert function ( #6445 )
2021-07-08 05:39:53 -07:00
Dennis Kaspar
b464320607
Add trusted modifier ( #6149 )
...
Fixes #6137
Adding a trusted modifier to make events not be dispatchable by console/sourcecode.
Useful to prevent injected code to automatically dispatch event for preventing botting
2021-06-27 18:48:42 +02:00
Tan Li Hau
a6055b34d9
fix slot props not updated when transition aborted ( #6414 )
2021-06-22 10:26:47 -04:00
Tan Li Hau
7d39e676c5
bind this in bubbled events ( #6417 )
2021-06-22 10:12:25 -04:00
Tan Li Hau
3f990a96ba
Use SSR rendered as initial html for runtime hydration test ( #4444 )
2021-06-18 19:06:01 -07:00
Tan Li Hau
ebd21ae6d3
fix updating of slot contents when aborting transition ( #6042 )
2021-04-30 12:05:43 -04:00
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