Simon H
5dd1e6e232
update changelog
2021-07-14 10:01:57 +02:00
Tan Li Hau
fd031105aa
[fix] do not warn if module variables are not the only dependencies in reactive statements ( #6510 )
...
The warning was too strict, since there are valid use cases for having non-reactive variables inside reactive statements
Fixes #5954
2021-07-14 10:01:05 +02:00
Simon H
a8c35daa9a
[fix] be able to silence more warnings ( #6504 )
...
including css-unused-selector, unused-export-let, module-script-reactive-declaration
Fixes #5954
Related to #5281
2021-07-14 09:54:15 +02:00
Ben McCann
52b67a0497
[chore] fix duplicate import of periscopic ( #6527 )
2021-07-14 09:09:16 +08:00
Ben McCann
ff50bfba6f
update changelog
2021-07-13 17:10:37 -07:00
Tan Li Hau
2818567925
fix input value 0 for ssr ( #6458 )
2021-07-13 17:02:43 -07:00
Tan Li Hau
23f8f4ba6d
[feat] centralise parse errors ( #6519 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2021-07-13 19:33:55 +02:00
Antony Jones
fdd3d4b448
be a bit smarter about building the site locally ( #5262 )
...
Co-authored-by: Antony Jones <antony@beyonk.com>
2021-07-12 11:43:03 -07:00
Tan Li Hau
8f1ae80a99
update changelog
2021-07-12 22:59:11 +08:00
Tan Li Hau
6a582af839
[fix] script style end parsing ( #6511 )
...
* update script end tag parsing to allow whitespace after tagname
* update style end tag parsing to allow for whitespace after tag name
* handle no closing match for script and style for eof and non-eof failures
* cleaning up script and style end tag parsing
Co-authored-by: pngwn <hello@pngwn.io>
2021-07-12 22:57:27 +08:00
Aleksander Szołowicz
999032835b
fix typos, use shorthanded imports ( #5993 )
...
* fix(typo): existance -> existence
* fix(typo): seperate -> separate
* refactor(imports): use shorthand for periscopic
2021-07-12 22:56:20 +08:00
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
...
Closes #5976
2021-07-12 14:51:15 +02:00
Simon H
937c7c9c4a
[docs] document $store behavior more explicitely
...
Closes #4677
2021-07-12 10:24:32 +02:00
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example ( #5945 )
...
Fixes #5941
2021-07-12 10:13:54 +02:00
Simon H
9467e4a780
[chore] adjust stale bot settings
...
Give more time until marked as stale, currently too soon. Also exempt bug, bugs don't go stale.
2021-07-11 18:29:31 +02: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
Ignatius Bagus
5334f4ad1b
docs: mention usage of regexp literal in text expressions ( #5640 )
2021-07-09 21:16:37 -07:00
Tan Li Hau
5f8f7ae28c
update changelog
2021-07-10 12:14:54 +08:00
Tan Li Hau
2cec6a94bc
[feat] sourcemap markup ( #6427 )
...
* sourcemap markup
* sourcemap textnode
* update test
2021-07-10 12:12:44 +08:00
Tan Li Hau
e238903846
update changelog
2021-07-10 12:10:19 +08: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
Simon H
ce43bd67c7
[fix] relax store derived function signature ( #6509 )
...
With this fix, doing
```
const stores= [writable(0), writable(1)]
derived(stores, ([a,b,c]) => {});
```
works without type errors. The propblem with the previous type signature was that it's too strict for TypeScript's suboptimal inference of the value `stores` in that example, which is `Array<Readable<any>>`, which does not convey the info "at least one element", which the old Stores signature required.
Runtime-wise, it's no problem passing an empty array to derived.
The new signature is only appended to, not replaced, because the old signature is able to correctly infer the values of each array entry: For `derived([writable(0), writable('foo')], ([a, b]) => {});` the parameters `a` and `b` are correctly inferred as `number` and `string`. If the type would be changed to `type Stores = Readable<any> | Array<Readable<any>>` that would be no longer the case.
Fixes #6178
2021-07-09 17:42:27 +02:00
Oscar Dominguez
6a7f3083a7
ci(workflow): add cache to workflows using actions/setup-node ( #6491 )
2021-07-08 09:53:58 -07:00
Conduitry
687492a5bc
update changelog
2021-07-08 11:25:33 -04:00
Tan Li Hau
f60cb22a9d
standalone :global() with multiple selectors shouldn't be treated as error ( #6508 )
2021-07-08 11:24:22 -04:00
Conduitry
64c162c6b7
docs: adjust formatting in compiler options table
2021-07-08 10:48:49 -04:00
Conduitry
341137285d
update changelog
2021-07-08 10:48:20 -04:00
Geoff Rich
2842227cf0
docs: fix heading level a11y issue ( #5679 )
2021-07-08 06:55:03 -07:00
Eirik Vågeskar
854a7de451
[docs] Add tutorial step for key blocks ( #6420 )
2021-07-08 06:43:59 -07:00
Ben McCann
384513e3b1
Update CHANGELOG
2021-07-08 05:44:51 -07:00
Daybrush (Younkue Choi)
201a71d8b7
fix insert function ( #6445 )
2021-07-08 05:39:53 -07:00
Simon H
b662c7fd41
[chore] move compiler warnings/errors to dedicate files ( #6503 )
2021-07-07 16:16:35 +02:00
Adam Bates
f2ca8bc64b
[docs] Fixed typo 'site-repl' -> 'svelte-repl', with minor change to a sentence's structure ( #6498 )
...
(used to look like a list of 4, when really it's a list of 2).
2021-07-06 16:31:42 +02:00
decaylala
8457a73cef
[docs] adjust function name ( #6495 )
2021-07-05 12:10:29 +02:00
Ben McCann
f2fa7b2186
[docs] bump site-kit version
2021-07-04 20:31:04 -07:00
Dominik G
b06474eb49
fix: add ssr.* to package files so that the exports added in #6416 work ( #6483 )
2021-07-03 16:18:01 -07:00
Ben McCann
2077a7b2a0
update changelog
2021-07-02 12:13:33 -07:00
Geoff Rich
391258aa10
Remove caption warning on <audio> ( #6054 )
2021-07-02 12:02:02 -07:00
Geoff Rich
a35506b5eb
[docs] update a11y docs ( #6487 )
2021-07-02 18:40:27 +02:00
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example ( #5912 )
2021-07-02 08:20:44 -07:00
Jatin Hemnani
c4f4a3dc2e
[docs] added transition on toggling folder in tutorial ( #6453 )
2021-07-02 08:14:08 -07:00
Odee
287cccc450
[docs] Update auto-subscriptions tutorial to explicitly say that subscribe returns unsubscribe ( #6448 )
2021-07-02 08:12:11 -07:00
Daniel Sandoval
a6fbf7faf5
[docs] "What's new in Svelte" July newsletter ( #6459 )
2021-07-01 15:22:40 +02:00
Ben McCann
8d91cbc56a
Update PR template to ask for PR category ( #6475 )
2021-06-30 05:05:38 -07:00
Tan Li Hau
95f3f1c0b3
fix ci after merge conflicts ( #6473 )
2021-06-29 09:10:37 -07:00
Lukas Möller
2a9f9d7bb0
Remove unused toggle prop from example ( #5124 )
2021-06-29 08:54:06 -07:00
Geoff Rich
e73f641ca5
Remove deprecated a11y-no-onchange warning ( #6457 )
2021-06-29 10:46:03 -04:00
Tan Li Hau
fca6a6d38a
:global() with pseudo element should be considered as global ( #6470 )
2021-06-29 10:45:29 -04:00
Tan Li Hau
98ddf8b588
update periscopic ( #6471 )
2021-06-29 10:44:54 -04:00
Antony Jones
7eebe6e7d0
Add link to "good first issue" issues in Contributing Guide ( #4859 )
2021-06-29 06:44:32 -07:00