Ava Johnson
46fac828f7
Bubble svelte dev events ( #5994 )
3 years ago
Geoff Rich
7bf3f20dc3
Add docs for compound :global selector ( #6271 )
...
* Add docs for compound :global selector
Co-authored-by: Antony Jones <ant@enzy.org>
3 years ago
Tan Li Hau
142de015eb
add accessibility warnings to the docs ( #5316 )
3 years ago
Tan Li Hau
25a48be0ef
update docs for style tag in elements ( #6415 )
3 years ago
Ersin Ertan
0e1d54efdf
Add Vite to intro's officially maintained plug-ins ( #6446 )
3 years ago
Dominik G
2c488f4d61
docs: update documentation for preprocessor sourcemap output ( #6438 )
3 years ago
Conduitry
716d54571e
-> v3.38.3
3 years ago
Conduitry
1741699957
update changelog
3 years ago
Roy Choo
228832c9a3
fix: :global(...):some-pseudoclass should be considered global ( #6317 )
3 years ago
Conduitry
3c889da6b7
update changelog
3 years ago
Hasan Altan Birler
04bc37de31
Improve hydration by reordering optimally ( #6395 )
...
* Implement new hydration optimization
During hydration, greedily pick nodes that exist in the original HTML that should not be detached.
Detach the rest.
* Implement optimal reordering during hydration
During hydration we track the order in which children are claimed.
Afterwards, rather than reordering them greedily one-by-one, we reorder all claimed children during the first append optimally.
The optimal reordering first finds the longest subsequence of children that have been claimed in order.
These children will not be moved.
The rest of the children are reordered to where they have to go.
This algorithm is guaranteed to be optimal in the number of reorderings.
The hydration/head-meta-hydrate-duplicate test sample has been modified slightly.
The order in which the <title> tag is being generated changed, which does not affect correctness.
* Fix issue potentially causing extra reorders
Not sorting children before executing the `insertBefore` calls in `init_hydrate` potentially caused extra `insertBefore` calls in `append`
* Simplify`init_hydrate` sorting logic
3 years ago
Conduitry
96b5669572
update changelog
3 years ago
Tan Li Hau
a6055b34d9
fix slot props not updated when transition aborted ( #6414 )
3 years ago
Conduitry
7e4112d184
update changelog
3 years ago
Conduitry
dd58bf9c05
update changelog
3 years ago
Tan Li Hau
7d39e676c5
bind this in bubbled events ( #6417 )
3 years ago
Conduitry
b9e19004cb
update changelog
3 years ago
Tan Li Hau
bbcc1e7479
disallow multiple selectors inside :global() ( #6428 )
3 years ago
Conduitry
cba92ad2a9
update changelog
3 years ago
Tan Li Hau
bce3641e92
fix escaping attributes in spread in SSR ( #6429 )
3 years ago
Conduitry
3f87ff7c56
update changelog
3 years ago
Conduitry
6f81c230ae
update changelog
3 years ago
Tan Li Hau
3acaa03f6f
fix textarea end tag parsing ( #6424 )
3 years ago
Bjørn
de6d0c66d3
Add a more descriptive message for the error generated by an empty shorthand attribute ( #6217 )
...
Added error message "empty-attribute-shorthand" for when the shorthand attribute is empty,
giving a more explicit error for #6086
3 years ago
Robert Hall
17c5402e31
Cleanup logos on homepage ( #6409 )
3 years ago
Tan Li Hau
3f990a96ba
Use SSR rendered as initial html for runtime hydration test ( #4444 )
3 years ago
pngwn
8dd9c1b098
docs: make yaml frontmatter in blogs valid ( #6206 )
3 years ago
Ben McCann
c441fb1ad1
Bump site-kit ( #6407 )
3 years ago
Rui Sousa
9051ee011e
Fix ScreenToggle button styling so text is centered ( #6394 )
3 years ago
Simon H
c5f588ee50
Fix generic props relationship in SvelteComponentTyped ( #6400 )
...
A recent refactoring commit where the constructor definition was moved to an interface disconnected the props relationship of the props that are passed in the constructor and the instance props
3 years ago
dependabot[bot]
6e9ecd8159
Bump glob-parent from 5.1.1 to 5.1.2 ( #6390 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
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]
e6c2c8ed9f
Bump ws from 6.2.1 to 6.2.2 ( #6383 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
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
Debargha Roy
8f6bb14e69
Minor update to svelte:body-tutorial ( #6376 )
...
Switch style/html order
3 years ago
Andrew Lee
791104d9fe
Adjust store unsubscribe tutorial section ( #5975 )
...
The `unsubscribe` function in the first step was without any usage, which lead to confusion
3 years ago
Daniel Sandoval
2ae79f6815
"What's new in Svelte" June newsletter ( #6356 )
3 years ago
Simon H
e27d71f0cf
docs: fix typo
3 years ago
Kai
1a1f36edcf
Tutorial: Description fix - each block bindings ( #5974 )
...
The chapter highlights event binding in `each` block which is missing within the snippet. Thus it seems reasonable to include it within the description snippet block.
3 years ago
Paul Murray
ad29604d6b
Docs: Rename slot let section ( #6018 )
...
The title of this section was a bit confusing, since `<slot let:name={value} />` is not actually the correct syntax
3 years ago
Dan Kozlov
cc58f60002
Add a note that bind:files is readonly ( #6099 )
3 years ago
Stephane
b1d09a4aa2
Clarify that special elements have to be top level ( #6240 )
3 years ago
Bashu Naimi-Roy
8184bd5219
docs: update Keyed Each Blocks tutorial ( #6358 )
3 years ago
Simon H
4acfb05315
Docs: Clarify that `@html` does not compile Svelte code ( #6349 )
3 years ago
gltchitm
7c21f919ad
site: filter out bot contributors ( #6352 )
3 years ago
Konstantin Nosov
fd9eea28f2
remove redundant CSS ( #6355 )
3 years ago
Konstantin Nosov
2ce3a58188
combine padding specifications ( #6354 )
3 years ago
dependabot[bot]
7c4a08e109
Bump browserslist from 4.16.0 to 4.16.6 in /site ( #6361 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Ignatius Bagus
b295d68ec6
fix types: allow writable/readable empty initialization ( #6293 )
...
Fixes #6291
Fixes #6345
Both writable and readable initialized without any arguments are already valid, but TS complains about it. This makes both allowed to be emptily initialized. It's also possible to invoke readable with one argument only.
4 years ago
Adam Alexander
3301b09619
Fix tutorial instructions refer to wrong line number in code ( #6342 )
...
Instructions refer to wrong line number
Video element is not on line 116, it's on line 58
4 years ago
Ajit Krishna
b11f5b12f5
Update <svelte:options> copy ( #6339 )
...
<svelte:options> is not the last lesson in "Special Elements"
4 years ago
Lawrence Logoh
58b897fc83
updated select-bindings text.md ( #6333 )
...
Referenced line is now 20 instead of 24
4 years ago