Tan Li Hau
df75dd77f4
Update CHANGELOG.md
2 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>
2 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>
2 years ago
Yosuke Ota
3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` ( #7280 )
...
Fixes #7264
2 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.
2 years ago
Ben McCann
94f0d7c478
[docs] FAQ cleanup ( #7452 )
2 years ago
Tan Li Hau
4aff59b080
[fix] correctly track dependencies of let: bindings ( #7448 )
...
Fixes #7440
2 years ago
gtmnayan
39d2dfcbcd
[docs] style directive tutorial ( #7161 )
2 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
2 years ago
Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events ( #7064 )
2 years ago
tarunama
c371c3fd3c
execute `npm audit fix` ( #7421 )
2 years ago
Tan Li Hau
f100d96898
Update CHANGELOG.md
2 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>
2 years ago
Tan Li Hau
fc19537995
Update CHANGELOG.md
2 years ago
Tan Li Hau
e50be669cc
fix const declared without let: binding get ignored ( #7434 )
2 years ago
josh-brainbox
1e0c10bebc
[docs] fix tutorial/keyed-each-blocks ( #7218 )
2 years ago
Tan Li Hau
c36f1c066e
Update CHANGELOG.md
2 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
2 years ago
Kazuma Oe
707455fa8b
[docs] add `<svelte:element>` example ( #7439 )
2 years ago
Conduitry
467ba0a920
-> v3.47.0
2 years ago
Simon H
cd3bb35342
update changelog
2 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>
2 years ago
Simon H
f6fd8e1ec8
update changelog
2 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>
2 years ago
Tan Li Hau
54197c5a1f
Update CHANGELOG.md
2 years ago
Tan Li Hau
89fda7edae
[fix] add key dependencies into block dependencies ( #7422 )
...
* add key dependencies into block dependencies
* fix lint
2 years ago
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq ( #7281 )
2 years ago
Simon H
31eb623779
[docs] add note about initially selected value
...
Closes #7430
2 years ago
Ben McCann
3c11c480b9
[docs] clarify css option ( #7271 )
2 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
2 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>
2 years ago
Angie Byron
5f020cc91e
[docs] Fix REPL instructions ( #7413 )
...
Closes #7412
2 years ago
Tan Li Hau
fdca706e87
Update CHANGELOG.md
2 years ago
maxlath
f58382b22a
add Symbol to globals ( #7419 )
...
addressing #7418
2 years ago
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md ( #7417 )
2 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
Raúl Sáez
9d4ff6738a
[docs] Correct default port on blog posts ( #7372 )
3 years ago
Isabel Leccese
2f71bc9333
[docs] fix typo ( #7344 )
3 years ago
Simon H
1632bca34e
Update changelog
3 years ago
Maurício Kishi
cdd3575026
[fix] attribute escaping during ssr ( #7333 )
...
Fixes #7327 and a related security issue
3 years ago
Simon H
b26aa1c865
Update changelog
3 years ago
Geoff Rich
0a3353b671
[fix] do not collapse whitespace-only css vars ( #7303 )
...
Fixes #7152 , see also #7288
--foo:; used to be an invalid CSS custom property value, while -foo: ; was valid. By collapsing the whitespace in these declaration values, we were breaking scenarios where an empty custom property was desired. The spec was updated to trim whitespace and treat these values identically, but Chromium browsers still treat --foo; as invalid. This was recently fixed and will be released in Chrome 99, but this would still be a good fix to maintain backwards compatibility.
3 years ago