Tan Li Hau
9e8592ef2c
Update CHANGELOG.md
3 years ago
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
3 years ago
Yuichiro Yamashita
eb37f4a285
[chore] fix lint ( #7466 )
3 years ago
Thad Guidry
f2029ff110
[docs] Improve clarity of 2 files to edit and improve learning ( #7285 )
3 years ago
Tan Li Hau
0c1bfcb2ea
Update CHANGELOG.md
3 years ago
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
3 years ago
Tan Li Hau
df75dd77f4
Update CHANGELOG.md
3 years ago
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>
3 years ago
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>
3 years ago
Yosuke Ota
3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` ( #7280 )
...
Fixes #7264
3 years ago
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.
3 years ago
Ben McCann
94f0d7c478
[docs] FAQ cleanup ( #7452 )
3 years ago
Tan Li Hau
4aff59b080
[fix] correctly track dependencies of let: bindings ( #7448 )
...
Fixes #7440
3 years ago
gtmnayan
39d2dfcbcd
[docs] style directive tutorial ( #7161 )
3 years ago
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
3 years ago
Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events ( #7064 )
3 years ago
tarunama
c371c3fd3c
execute `npm audit fix` ( #7421 )
3 years ago
Tan Li Hau
f100d96898
Update CHANGELOG.md
3 years ago
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>
3 years ago
Tan Li Hau
fc19537995
Update CHANGELOG.md
3 years ago
Tan Li Hau
e50be669cc
fix const declared without let: binding get ignored ( #7434 )
3 years ago
josh-brainbox
1e0c10bebc
[docs] fix tutorial/keyed-each-blocks ( #7218 )
3 years ago
Tan Li Hau
c36f1c066e
Update CHANGELOG.md
3 years ago
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
3 years ago
Kazuma Oe
707455fa8b
[docs] add `<svelte:element>` example ( #7439 )
3 years ago
Conduitry
467ba0a920
-> v3.47.0
3 years ago
Simon H
cd3bb35342
update changelog
3 years ago
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>
3 years ago
Simon H
f6fd8e1ec8
update changelog
3 years ago
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>
3 years ago
Tan Li Hau
54197c5a1f
Update CHANGELOG.md
3 years ago
Tan Li Hau
89fda7edae
[fix] add key dependencies into block dependencies ( #7422 )
...
* add key dependencies into block dependencies
* fix lint
3 years ago
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq ( #7281 )
3 years ago
Simon H
31eb623779
[docs] add note about initially selected value
...
Closes #7430
3 years ago
Ben McCann
3c11c480b9
[docs] clarify css option ( #7271 )
3 years ago
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
3 years ago
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>
3 years ago
Angie Byron
5f020cc91e
[docs] Fix REPL instructions ( #7413 )
...
Closes #7412
3 years ago
Tan Li Hau
fdca706e87
Update CHANGELOG.md
3 years ago
maxlath
f58382b22a
add Symbol to globals ( #7419 )
...
addressing #7418
3 years ago
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md ( #7417 )
3 years ago
Daniel Sandoval
687a26b784
[docs] "What's new in Svelte" April newsletter ( #7377 )
3 years ago
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>
3 years ago
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>
3 years ago
Conduitry
2041ab6fe8
-> v3.46.6
3 years ago
GHOST
b04c4a201f
[fix] include action in pkg.files ( #7407 )
3 years ago
Conduitry
468ed37650
-> v3.46.5
3 years ago
Conduitry
428023ea58
update changelog
3 years ago
Pat Cavit
9f4602ac6f
[fix] style: directive should prevent innerHTML optimization ( #7390 )
...
Fixes #7386
3 years ago
Eliaz Bobadilla
0eee98a50a
[docs] Update package.json to link to homepage ( #7374 )
3 years ago