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

6727 Commits

Author SHA1 Message Date
Daniel Sandoval
970b9436c8
[docs] "What's new in Svelte" May newsletter (#7483)
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-03 14:21:17 -07:00
Conduitry
6c0b4d1651 -> v3.48.0 2022-04-30 14:38:56 -04:00
Conduitry
ab589ff78c update changelog 2022-04-30 14:37:51 -04:00
Yuichiro Yamashita
0d017f4820
[fix] rendering void tag for <svelte:element> (#7453) 2022-04-30 14:37:09 -04:00
Conduitry
e01115a75c update changelog 2022-04-30 14:35:49 -04:00
Tan Li Hau
a2de3894c0
[feat] support const tag for if block (#7451) 2022-04-30 14:34:58 -04:00
Conduitry
61d1467c25 update changelog 2022-04-30 14:04:39 -04:00
Yuichiro Yamashita
1f1750e72e
[fix] always use set_attributes for attribute of <svelte:element> (#7486) 2022-04-30 14:03:59 -04:00
Conduitry
a28e7392c0 update changelog 2022-04-30 13:59:08 -04:00
Yuji Sugiura
a068719208
[fix] do not be over-eager in removing unused CSS for dialog[open] (#7495) 2022-04-30 13:57:49 -04:00
Conduitry
263350019f update changelog 2022-04-30 13:56:21 -04:00
Conduitry
c02596d945 fix package-lock.json 2022-04-30 13:39:20 -04:00
Yuichiro Yamashita
11ada98565
[docs] fix sentences in <svelte:element> (#7484) 2022-04-25 15:09:30 +02:00
tanhauhau
0a086c85e4 Merge branch 'tanhauhau/gh-328' 2022-04-20 12:52:45 +08:00
tanhauhau
3e5846c7c5 update api 2022-04-20 12:52:22 +08:00
Tan Li Hau
666929a6d9
use own api to replace jsonplaceholder.typicode.com (#7472) 2022-04-20 12:48:55 +08:00
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