Ignatius Bagus
8c3fb922d8
only check selector that are direct children of `:global` ( #6435 )
...
* failing test for i6434
* use string match to simplify regexp
* more tests
* separate test suite
* test for commas inside attributes
* stricter regex pattern
* test escaped brackets and parentheses
* change latest test selector to lists
* correct failing test for escaped parentheses
* update with proposed pattern
3 years ago
Tan Li Hau
f757de328a
update changelog
3 years ago
Tan Li Hau
e7af4d7706
expose svelte/ssr which have noop for lifecycle events ( #6416 )
3 years ago
Tan Li Hau
eadb83b934
update changelog
3 years ago
Maxime LUCE
aedf69c1cf
Add compilation variables report option to allow getting all variables (even undeclared or internal) ( #6192 )
...
* feat: add compilation variables report option
* test: add full var report test
* docs: document varsReport compile option
3 years ago
dependabot[bot]
487190fd93
Bump prismjs from 1.23.0 to 1.24.0 in /site ( #6467 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial ( #6461 )
3 years ago
Simon H
7b914a46b1
update changelog
3 years ago
Luis Confraria
554d5dd391
Fix preserveComments on ssr ( #4736 )
...
Fixes #4730
Co-authored-by: tanhauhau <lhtan93@gmail.com>
3 years ago
Simon H
40f4615cf4
update changelog
3 years ago
Anthony Le Goas
58790a9281
a11y: check if mouse events are accompanied by key events ( #5938 )
3 years ago
Tan Li Hau
50bff36407
update changelog
3 years ago
Mohammed Al-Qurafi
1b33248ead
#6299 - Throw a compile error when passing an empty directive name ( #6300 )
...
* Compile error when passing empty directive names
* Revert "Compile error when passing empty directive names"
This reverts commit ac8718b3a4
.
* Compile error when passing empty directive names
* Adjust empty-directive-name error offset
3 years ago
Ben McCann
2357e642e3
Rename menu item from API to Docs ( #6456 )
3 years ago
Tan Li Hau
e69c05a7db
Update CHANGELOG.md
3 years ago
zerdox
0df9233fb1
Fix wrong "slot" property warning (runtime) ( #6065 )
...
* updated: condition for warning about unknown prop
* test are updated
3 years ago
Tan Li Hau
5d824966a2
internal: add typescript def for transitions ( #5625 )
3 years ago
Simon H
92fba761a8
docs: clarify writable value is lost when destroyed
...
Closes #4610
Closes #4407
3 years ago
Simon H
5f584d165a
update unreleased
3 years ago
Dennis Kaspar
b464320607
Add trusted modifier ( #6149 )
...
Fixes #6137
Adding a trusted modifier to make events not be dispatchable by console/sourcecode.
Useful to prevent injected code to automatically dispatch event for preventing botting
3 years ago
swyx
e43778a0c4
document new style props feature in Svelte 3.38 ( #6378 )
3 years ago
EmNudge
0e18b1311e
docs: clarified readonly prop access ( #5825 )
3 years ago
Ophir LOJKINE
f797482e27
Add documentation for crossfade ( #6196 )
3 years ago
fivem
bca46b9f70
tutorial: In the onDestroy example, explicitly show the memory leak ( #5515 )
3 years ago
pngwn
000c7ca5ba
add issue form ( #6454 )
...
* add issue form
* add chat link
* add feature request form
* tweaks
3 years ago
Ben McCann
c584af34ec
site: fix falling back to default port ( #5382 )
3 years ago
pngwn
fbf0a0c4de
add stale-bot config ( #6455 )
3 years ago
The Jared Wilcurt
7115601cd3
Docs: Accurately name function ( #4060 )
3 years ago
Simon Scharf
f99deeb67b
docs: remove type property from special elements tutorial ( #4715 )
...
Instead, determine type based on the existence of the files property. Removes console warnings
3 years ago
Stephane
f9b796cabe
Add tutorial for component binding ( #5009 )
...
Closes #5008
Co-authored-by: Stephane Vanraes <stephane.vanraes@fjordline.com>
Co-authored-by: pngwn <pnda007@gmail.com>
3 years ago
Outvi V
92422fdee2
doc: Add notes to stress call-context-during-initialisation ( #5631 )
3 years ago
Nguyễn Đức Hào
0f92863033
tutorial: add name attribute to inputs ( #5649 )
3 years ago
Aswin Vayiravan
4b4717b351
Reorder text area and output to improve visibility ( #5790 )
3 years ago
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