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

5763 Commits

Author SHA1 Message Date
Rich Harris
3330c3fbab
only add event listeners when a block is first mounted (#4860) 2020-05-26 18:56:15 -04:00
Tan Li Hau
24ef4e1181
set select multiple value with spread (#4894) 2020-05-26 18:31:19 -04:00
Ben McCann
d61a7a0b95
run unit tests on Windows and macOS (#4908) 2020-05-26 18:27:09 -04:00
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example (#4903) 2020-05-25 16:56:31 -04:00
Tan Li Hau
e34f208843
reselect <select> when the option values change (#4885) 2020-05-21 16:47:27 -04:00
Daniel Imfeld
f624d6e292
docs: value cannot be set via spread for indirectly bound values (#4832) 2020-05-21 16:37:29 -04:00
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports 2020-05-21 16:33:58 -04:00
Ben McCann
745c777806
site: move .dev TLD info from FAQ to readme (#4883) 2020-05-21 16:29:55 -04:00
Richard Harris
25488772e2 update changelog 2020-05-19 21:54:09 -04:00
Tan Li Hau
7834ca3c5b
fix slot with context overflow + without let (#4862) 2020-05-19 21:52:27 -04:00
Richard Harris
185706f7d0 add #2998 to changelog 2020-05-18 21:37:22 -04:00
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> (#4690)
* Audio two-way `muted` bind property

Loosely based on a37ee81676

* Documentation

* fix test

* dont bother coercing muted, it happens automatically

Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
2020-05-18 21:37:03 -04:00
Conduitry
c19542b634 update changelog 2020-05-17 14:27:46 -04:00
Billy Levin
0cd40b79c8
invalidate -> update (#4793) 2020-05-17 12:04:37 -04:00
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting (#4851) 2020-05-17 12:03:22 -04:00
André Lins
f7d1bf35a0
A11y rule no-onchange (#4788)
* A11y rule no-onchange

* Fix message

* Fix tests

* Removing declarations
2020-05-17 11:50:38 -04:00
Pat Cavit
40dca5252b
WIP: Don't attempt to unsub if the iframe is destroyed (#4782)
Fixes #4752 by not attempting to call .removeEventListener if the iframe.contentWindow no longer exists.
2020-05-17 11:49:37 -04:00
Richard Harris
4ed6340a50 Merge branch 'master' of github.com:sveltejs/svelte 2020-05-17 11:21:21 -04:00
Richard Harris
081f7cd878 dont coerce all falsy values to empty strings 2020-05-17 11:20:18 -04:00
Richard Harris
6397588e50 add test for #3569 and similar situations 2020-05-17 11:19:58 -04:00
Conduitry
33d8979495 -> v3.22.3 2020-05-17 09:46:54 -04:00
Jeremy Bernier
d8fb0bb62c
Fix input with bind:value displaying "undefined"
There's a bug where when `<input bind:value={sampleVar} />` and `sampleVar` is updated to undefined (`sampleVar = undefined`), then the input displays "undefined" (despite the input initally showing up correctly empty when initialized to undefined).

This issue has been documented since September 14, 2019 https://github.com/sveltejs/svelte/issues/3569

I'm new to Svelte, but this seems to fix this problem.
2020-05-17 18:43:39 +09:00
Conduitry
a1b0295fc3 update changelog 2020-05-17 04:52:42 -04:00
Billy Levin
a9fd168da3
update for ARIA 1.2 working draft (#4845) 2020-05-17 04:51:17 -04:00
Conduitry
bdbc73f111 update changelog 2020-05-17 04:47:54 -04:00
Pat Cavit
ef2a886c83
fix: cache value & cancel tween for instant-set (#4847) 2020-05-17 04:46:13 -04:00
Conduitry
283f9ae6cf update changelog 2020-05-17 04:29:29 -04:00
Daniel Imfeld
81ade59797
fix check for uninitialized condition (#4841) 2020-05-17 04:26:35 -04:00
Conduitry
c9020d35b7 site: bump @sveltejs/svelte-repl 2020-05-15 06:19:56 -04:00
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors (#4817) 2020-05-13 07:53:06 -04:00
Antony Jones
9be3310431
site: add FAQs page (#4823) 2020-05-13 07:49:25 -04:00
Conduitry
ee130793ca update changelog 2020-05-11 12:25:20 -04:00
Daniel Imfeld
40d0ea6702
set .value while setting .__value during spread (#4809) 2020-05-11 12:24:01 -04:00
Tan Li Hau
37cc5888f8
dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
Conduitry
c743e72a1e -> v3.22.2 2020-05-04 11:23:38 -04:00
Conduitry
bdabd89f09
fix exception with empty alt attribute (#4778) 2020-05-04 11:23:04 -04:00
Conduitry
bb5e2d2f26 -> v3.22.1 2020-05-03 16:30:19 -04:00
Doga Genc
ba89c29b98
fix img-reduntant-alt bug (#4771) 2020-05-03 16:28:53 -04:00
Conduitry
b9f83fd295 -> v3.22.0 2020-05-03 13:17:51 -04:00
Conduitry
3df407447f update changelog 2020-05-03 12:43:24 -04:00
Th0rN13
a73be39a80
fix contextual dynamic bind:this in {#each} (#4759) 2020-05-03 12:41:51 -04:00
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature (#4539) 2020-05-03 12:13:15 -04:00
Conduitry
9179c3e99b update changelog 2020-05-03 12:08:25 -04:00
André Lins
153b128fe2
a11y: implement img-redundant-alt (#4750) 2020-05-03 12:06:10 -04:00
Conduitry
09115b5256 update changelog 2020-05-03 11:53:47 -04:00
Pat Cavit
a08a94ac33
make setting tweened with duration=0 instantly update (#4766) 2020-05-03 11:52:32 -04:00
Conduitry
f111cf6881
deconflict anchor variable name (#4769) 2020-05-03 11:48:24 -04:00
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which (#4758) 2020-05-01 19:34:54 -04:00
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording (#4600) 2020-04-29 17:19:21 -04:00
Conduitry
fe0a008a6a update changelog 2020-04-29 17:15:35 -04:00