Geoff Rich
e73f641ca5
Remove deprecated a11y-no-onchange warning ( #6457 )
2021-06-29 10:46:03 -04:00
Tan Li Hau
fca6a6d38a
:global() with pseudo element should be considered as global ( #6470 )
2021-06-29 10:45:29 -04:00
Tan Li Hau
98ddf8b588
update periscopic ( #6471 )
2021-06-29 10:44:54 -04:00
Antony Jones
7eebe6e7d0
Add link to "good first issue" issues in Contributing Guide ( #4859 )
2021-06-29 06:44:32 -07:00
Tan Li Hau
98bec66f51
update changelog
2021-06-29 15:11:06 +08:00
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
2021-06-29 15:08:58 +08:00
Tan Li Hau
f757de328a
update changelog
2021-06-29 10:18:35 +08:00
Tan Li Hau
e7af4d7706
expose svelte/ssr which have noop for lifecycle events ( #6416 )
2021-06-29 10:17:16 +08:00
Tan Li Hau
eadb83b934
update changelog
2021-06-29 09:45:18 +08:00
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
2021-06-29 09:43:52 +08:00
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>
2021-06-28 15:10:07 -07:00
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial ( #6461 )
2021-06-28 06:18:47 -07:00
Simon H
7b914a46b1
update changelog
2021-06-28 13:11:35 +02:00
Luis Confraria
554d5dd391
Fix preserveComments on ssr ( #4736 )
...
Fixes #4730
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2021-06-28 12:56:12 +02:00
Simon H
40f4615cf4
update changelog
2021-06-28 12:52:47 +02:00
Anthony Le Goas
58790a9281
a11y: check if mouse events are accompanied by key events ( #5938 )
2021-06-28 12:50:52 +02:00
Tan Li Hau
50bff36407
update changelog
2021-06-28 18:14:08 +08:00
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
2021-06-28 18:13:02 +08:00
Ben McCann
2357e642e3
Rename menu item from API to Docs ( #6456 )
2021-06-28 14:49:28 +08:00
Tan Li Hau
e69c05a7db
Update CHANGELOG.md
2021-06-28 14:48:33 +08:00
zerdox
0df9233fb1
Fix wrong "slot" property warning (runtime) ( #6065 )
...
* updated: condition for warning about unknown prop
* test are updated
2021-06-28 14:45:22 +08:00
Tan Li Hau
5d824966a2
internal: add typescript def for transitions ( #5625 )
2021-06-27 19:08:19 +02:00
Simon H
92fba761a8
docs: clarify writable value is lost when destroyed
...
Closes #4610
Closes #4407
2021-06-27 18:58:38 +02:00
Simon H
5f584d165a
update unreleased
2021-06-27 18:49:59 +02:00
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
2021-06-27 18:48:42 +02:00
swyx
e43778a0c4
document new style props feature in Svelte 3.38 ( #6378 )
2021-06-27 18:13:07 +02:00
EmNudge
0e18b1311e
docs: clarified readonly prop access ( #5825 )
2021-06-27 18:05:53 +02:00
Ophir LOJKINE
f797482e27
Add documentation for crossfade ( #6196 )
2021-06-27 18:01:26 +02:00
fivem
bca46b9f70
tutorial: In the onDestroy example, explicitly show the memory leak ( #5515 )
2021-06-26 21:13:25 -07:00
pngwn
000c7ca5ba
add issue form ( #6454 )
...
* add issue form
* add chat link
* add feature request form
* tweaks
2021-06-26 22:09:26 +01:00
Ben McCann
c584af34ec
site: fix falling back to default port ( #5382 )
2021-06-26 13:54:41 -07:00
pngwn
fbf0a0c4de
add stale-bot config ( #6455 )
2021-06-26 19:51:49 +01:00
The Jared Wilcurt
7115601cd3
Docs: Accurately name function ( #4060 )
2021-06-26 20:23:30 +02:00
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
2021-06-26 20:18:09 +02:00
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>
2021-06-26 20:09:49 +02:00
Outvi V
92422fdee2
doc: Add notes to stress call-context-during-initialisation ( #5631 )
2021-06-26 20:05:17 +02:00
Nguyễn Đức Hào
0f92863033
tutorial: add name attribute to inputs ( #5649 )
2021-06-26 19:57:48 +02:00
Aswin Vayiravan
4b4717b351
Reorder text area and output to improve visibility ( #5790 )
2021-06-26 19:55:35 +02:00
Ava Johnson
46fac828f7
Bubble svelte dev events ( #5994 )
2021-06-26 12:59:27 -04:00
Geoff Rich
7bf3f20dc3
Add docs for compound :global selector ( #6271 )
...
* Add docs for compound :global selector
Co-authored-by: Antony Jones <ant@enzy.org>
2021-06-26 17:56:10 +01:00
Tan Li Hau
142de015eb
add accessibility warnings to the docs ( #5316 )
2021-06-26 12:09:40 -04:00
Tan Li Hau
25a48be0ef
update docs for style tag in elements ( #6415 )
2021-06-26 12:09:00 -04:00
Ersin Ertan
0e1d54efdf
Add Vite to intro's officially maintained plug-ins ( #6446 )
2021-06-25 14:50:57 +02:00
Dominik G
2c488f4d61
docs: update documentation for preprocessor sourcemap output ( #6438 )
2021-06-24 07:03:13 -07:00
Conduitry
716d54571e
-> v3.38.3
2021-06-22 11:12:18 -04:00
Conduitry
1741699957
update changelog
2021-06-22 11:04:24 -04:00
Roy Choo
228832c9a3
fix: :global(...):some-pseudoclass should be considered global ( #6317 )
2021-06-22 11:03:08 -04:00
Conduitry
3c889da6b7
update changelog
2021-06-22 10:35:49 -04:00
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
2021-06-22 10:34:48 -04:00
Conduitry
96b5669572
update changelog
2021-06-22 10:28:01 -04:00