0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

6811 Commits

Author SHA1 Message Date
tanhauhau
bc81291afc use own api to replace jsonplaceholder.typicode.com 2022-04-20 12:27:48 +08:00
Tan Li Hau
d554cdbb25
[docs] add more examples on the spring store API docs (#7463)
* add more examples on the spring store API docs

* Update site/content/docs/03-run-time.md

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>

* Update site/content/docs/03-run-time.md

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
2022-04-20 09:29:34 +08:00
Tan Li Hau
9e8592ef2c
Update CHANGELOG.md 2022-04-20 00:25:15 +08:00
Yuichiro Yamashita
1803290864
[fix] Specify svg namespace if {@html} is used in svg (#7464)
* add test

* create svg element if {@html} tag is inside of svg

* always use claim_html_tag
2022-04-20 00:20:16 +08:00
Yuichiro Yamashita
eb37f4a285
[chore] fix lint (#7466) 2022-04-16 19:16:15 +02:00
Thad Guidry
f2029ff110
[docs] Improve clarity of 2 files to edit and improve learning (#7285) 2022-04-16 11:01:36 +02:00
Tan Li Hau
0c1bfcb2ea
Update CHANGELOG.md 2022-04-16 10:26:46 +08:00
lidlanca
fb341cca2c
[fix] textContent should not be set for <template> element. (#7297)
* [fix] textContent should not be set for <template> element.

* tidy - name convetion. minor refactor extract "is template" check to a variable and replace usages.

* test template with text content

* update html in test
2022-04-16 10:24:59 +08:00
Tan Li Hau
df75dd77f4
Update CHANGELOG.md 2022-04-16 09:42:12 +08:00
Bob Fanger
0b0221de99
[fix] Local transitions from #key blocks (#7286)
* fix: Local transitions from #key blocks

When adding `|local` to a transition inside a {#key} block, only the outro was triggered not the intro.

This PR fixes #5950

* add test case

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-16 09:40:53 +08:00
Jan
09b5afc8fe
[docs] Remove draft status of setting-up-your-editor blog-entry to fix broken link (#7310)
* site: add missing word

* comment out link to setting up your editor blog post

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-16 09:39:01 +08:00
Yosuke Ota
3a238fe057
[fix] strip leading newline after <pre> and <textarea> (#7280)
Fixes #7264
2022-04-14 16:31:03 +02:00
Benjamin Bender
9778eef6db
[docs] fix link to webpack-loader (#7460)
Change link for Webpack-loader from svelte-loader-hot, which is deprecated, to official svelte-loader.
2022-04-14 16:04:12 +02:00
Ben McCann
94f0d7c478
[docs] FAQ cleanup (#7452) 2022-04-14 17:27:16 +08:00
Tan Li Hau
4aff59b080
[fix] correctly track dependencies of let: bindings (#7448)
Fixes #7440
2022-04-13 17:34:40 +02:00
gtmnayan
39d2dfcbcd
[docs] style directive tutorial (#7161) 2022-04-12 11:01:32 -07:00
Henning Groß
9276f85768
[feat] improve error message for animate used in a non-keyed each block (#6838)
* introdcued new compiler error

* making use of newly created compiler error

* updated test for animation not in keyed each

* removed unneeded conditions
2022-04-13 00:22:11 +08:00
Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events (#7064) 2022-04-12 22:52:22 +08:00
tarunama
c371c3fd3c
execute npm audit fix (#7421) 2022-04-12 16:57:11 +08:00
Tan Li Hau
f100d96898
Update CHANGELOG.md 2022-04-12 16:49:59 +08:00
Tan Li Hau
d9687da632
each animate allow having comment siblings (#7435)
Co-authored-by: GHOST <ghostdevbusiness@gmail.com>

Co-authored-by: GHOST <ghostdevbusiness@gmail.com>
2022-04-12 16:48:09 +08:00
Tan Li Hau
fc19537995
Update CHANGELOG.md 2022-04-12 16:40:34 +08:00
Tan Li Hau
e50be669cc
fix const declared without let: binding get ignored (#7434) 2022-04-12 16:38:08 +08:00
josh-brainbox
1e0c10bebc
[docs] fix tutorial/keyed-each-blocks (#7218) 2022-04-11 09:36:17 +02:00
Tan Li Hau
c36f1c066e
Update CHANGELOG.md 2022-04-11 08:51:37 +08:00
gtmnayan
afd3f4e5a9
[feat] Make setContext return the value that was passed in (#7432)
* return value from setContext

* update docs

* Add test

* eof new line

* pacify the linter

* const and tabs
2022-04-11 08:50:28 +08:00
Kazuma Oe
707455fa8b
[docs] add <svelte:element> example (#7439) 2022-04-10 23:50:15 +08:00
Conduitry
467ba0a920 -> v3.47.0 2022-04-08 14:24:31 -04:00
Simon H
cd3bb35342
update changelog 2022-04-08 19:32:35 +02:00
Yuichiro Yamashita
eca1a652fb
[fix] better context checks for identifiers in const tags (#7222)
Fixes #7423
Fixes #7431
Fixes #7206
Fixes #7431
Fixes #7221

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-08 19:30:49 +02:00
Simon H
f6fd8e1ec8
update changelog 2022-04-08 16:59:03 +02:00
Yuichiro Yamashita
e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
Closes #2324

Co-authored-by: Alfred Ringstad <alfred.ringstad@hyperlab.se>
Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-08 16:54:55 +02:00
Tan Li Hau
54197c5a1f
Update CHANGELOG.md 2022-04-08 22:26:32 +08:00
Tan Li Hau
89fda7edae
[fix] add key dependencies into block dependencies (#7422)
* add key dependencies into block dependencies

* fix lint
2022-04-08 22:24:15 +08:00
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq (#7281) 2022-04-08 11:22:30 +02:00
Simon H
31eb623779
[docs] add note about initially selected value
Closes #7430
2022-04-08 10:01:22 +02:00
Ben McCann
3c11c480b9
[docs] clarify css option (#7271) 2022-04-08 10:25:31 +08:00
TzuHsuan
535a1fc20d
Change top level requirement wording (#7336)
Changed the wording to be more consistent between `<svelte:window>`, `<svelte:body>` and `<svelte:head>`.
Chose "may only appear" over "has to appear" as the latter could be misinterpreted as a compulsory element
2022-04-08 10:22:01 +08:00
Ben McCann
42905c757f
[docs] update bundler documentation (#7414)
* [docs] update bundler documentation

* Update site/content/docs/04-compile-time.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-04-08 10:20:46 +08:00
Angie Byron
5f020cc91e
[docs] Fix REPL instructions (#7413)
Closes #7412
2022-04-06 14:39:57 +02:00
Tan Li Hau
fdca706e87
Update CHANGELOG.md 2022-04-06 18:47:55 +08:00
maxlath
f58382b22a
add Symbol to globals (#7419)
addressing #7418
2022-04-06 18:46:17 +08:00
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md (#7417) 2022-04-04 11:06:21 +02:00
Daniel Sandoval
687a26b784
[docs] "What's new in Svelte" April newsletter (#7377) 2022-04-01 14:02:18 +02:00
dependabot[bot]
5e7b044b6c
Bump minimist from 1.2.5 to 1.2.6 (#7401)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 13:37:14 -07:00
dependabot[bot]
a1143d96a1
Bump ansi-regex from 3.0.0 to 3.0.1 (#7402)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 13:37:00 -07:00
Conduitry
2041ab6fe8 -> v3.46.6 2022-03-31 10:15:06 -04:00
GHOST
b04c4a201f
[fix] include action in pkg.files (#7407) 2022-03-31 10:13:11 -04:00
Conduitry
468ed37650 -> v3.46.5 2022-03-30 11:03:55 -04:00
Conduitry
428023ea58 update changelog 2022-03-30 10:50:54 -04:00