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
Tan Li Hau
98bec66f51
update changelog
2021-06-29 15:11:06 +08:00
Ignatius Bagus
8c3fb922d8
only check selector that are direct children of :global
( #6435 )
...
* failing test for i6434
* use string match to simplify regexp
* more tests
* separate test suite
* test for commas inside attributes
* stricter regex pattern
* test escaped brackets and parentheses
* change latest test selector to lists
* correct failing test for escaped parentheses
* update with proposed pattern
2021-06-29 15:08:58 +08:00
Tan Li Hau
f757de328a
update changelog
2021-06-29 10:18:35 +08:00
Tan Li Hau
e7af4d7706
expose svelte/ssr which have noop for lifecycle events ( #6416 )
2021-06-29 10:17:16 +08:00
Tan Li Hau
eadb83b934
update changelog
2021-06-29 09:45:18 +08:00
Maxime LUCE
aedf69c1cf
Add compilation variables report option to allow getting all variables (even undeclared or internal) ( #6192 )
...
* feat: add compilation variables report option
* test: add full var report test
* docs: document varsReport compile option
2021-06-29 09:43:52 +08:00
dependabot[bot]
487190fd93
Bump prismjs from 1.23.0 to 1.24.0 in /site ( #6467 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 15:10:07 -07:00
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial ( #6461 )
2021-06-28 06:18:47 -07:00
Simon H
7b914a46b1
update changelog
2021-06-28 13:11:35 +02:00
Luis Confraria
554d5dd391
Fix preserveComments on ssr ( #4736 )
...
Fixes #4730
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2021-06-28 12:56:12 +02:00
Simon H
40f4615cf4
update changelog
2021-06-28 12:52:47 +02:00
Anthony Le Goas
58790a9281
a11y: check if mouse events are accompanied by key events ( #5938 )
2021-06-28 12:50:52 +02:00