ca58039e3e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix type ( #14064 )  
							
							... 
							
							
 
							
							this slot name should be `footer` instead it was `header` 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								217ef2062d 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarify when prop values are deeply reactive ( #13994 )  
							
							... 
							
							
 
							
							* Update $props documentation to clarify when prop values are deeply reactive
* Update 05-$props.md
* Apply suggestions from code review
* drive-by-fixes
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6a1b5dd004 
								
									
								
							
								 
							
						 
						
							
							
								
								docs : add an example of using dynamic components ( #13993 )  
							
							... 
							
							
 
							
							Closes  #13990 
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6b6445a934 
								
									
								
							
								 
							
						 
						
							
							
								
								add parameters to `in:fly` ( #14057 )  
							
							... 
							
							
 
							
							Without a `y` value, `fly` is indistinguishable from `fade` 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0efe031edc 
								
									
								
							
								 
							
						 
						
							
							
								
								Update 07-$inspect.md ( #14048 )  
							
							... 
							
							
 
							
							moved note to top 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ee2f4a209b 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Update in and out docs to show the imports ( #14050 )  
							
							... 
							
							
 
							
							* Update in and out docs to show the imports
* Apply suggestions from code review
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4157db94c4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: correct typo in compiler error messages ( #14044 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6ad8240464 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix various typos in reference docs ( #14011 )  
							
							... 
							
							
 
							
							* docs: fix note about $derived
* fix some other typos
* revert one change
* emdash tweak 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e487f61262 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: mark deprecated options as such ( #13989 )  
							
							... 
							
							
 
							
							closes  #13984  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								b3437e6020 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note old site ( #13996 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								777d059b10 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update heading level in `02-getting-started.md` ( #13997 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e99e865291 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update links to point to new site ( #13986 )  
							
							... 
							
							
 
							
							Update (some) of the links pointing to the old preview site as mentioned in #13982 .
This updates all the links in documentation/ and packages/svelte/messages, but doesn't touch others present in packages/svelte/ or fix the original link in that issue. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								430c2bb129 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: use `$effect.pre` instead of `beforeUpdate` ( #13955 )  
							
							... 
							
							
 
							
							* Update 03-lifecycle-hooks.md
* Update documentation/docs/06-runtime/03-lifecycle-hooks.md
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
---------
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ac6d8c0bf4 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix small typo ( #13967 )  
							
							... 
							
							
 
							
							A full stop or colon, we myst choose 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5ab65e3d59 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: consistently capitalize DOM in the Svelte 5 migration guide ( #13957 ) ( #13958 )  
							
							... 
							
							
 
							
							Make the casing of the word ‘DOM’ in the Svelte 5 migration guide
consistent. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								feb2d85f46 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarify why we need to use the derived rune ( #13919 )  
							
							... 
							
							
 
							
							* clarify why we need to use the derived rune
* put clarification as note 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								107be28890 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix outdated $effect.tracking() demo ( #13906 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								18e2284e74 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix setContext/getContext typo ( #13901 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								86ef18165f 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix code example ( #13847 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								3d3c98f3b0 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: cleanup some leftover `>` symbols ( #13846 )  
							
							... 
							
							
 
							
							I assume they were accidentally left there because they used to be separate lines each with their own `>` at the beginning of the line, but whoever collapsed them into one line forgot to remove the extra arrow.
Whatever the case is, this commit removes (probably) all of these leftover `>` symbols. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								594e3ab311 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note TS caveat about module exports ( #13842 )  
							
							... 
							
							
 
							
							closes  #13554  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								134049f6d3 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: clarifying wording in explanation of state rune in v5 migration guide. ( #13839 )  
							
							... 
							
							
 
							
							Co-authored-by: Bustos, Alex <alex.bustos@gtri.gatech.edu> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								96e2d5a395 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: provide info about wrapper components ( #13826 )  
							
							... 
							
							
 
							
							closes  #13006  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0b178cecce 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: update all learn.svelte.dev links and a couple of others ( #13803 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								69f6b58bd4 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Reference `svelte/reactivity` from `$state`. ( #13571 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6257203c22 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: specify script language and add `npm install` step to installation guide ( #13804 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7ecc6c076c 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix code example ( #13810 )  
							
							... 
							
							
 
							
							backporting from https://github.com/sveltejs/svelte.dev/pull/546  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d16a9da153 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix TODO to add link to tutorial in migration guide ( #13796 )  
							
							... 
							
							
 
							
							Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								708fd9c4be 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix various typos ( #13801 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								779b730a80 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typos in createEventDispatcher migration rationale ( #13800 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0fd1a45131 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix generic props type ( #13792 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								dbba2b0d27 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix demo links to playground ( #13788 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								be131575d8 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typo in the snippet closing tag ( #13782 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e7d181ddb3 
								
									
								
							
								 
							
						 
						
							
							
								
								make links internal ( #13789 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4f6bb41030 
								
									
								
							
								 
							
						 
						
							
							
								
								More docs stuff ( #13769 )  
							
							... 
							
							
 
							
							* fix
* link
* more docs stuff
* more
* more
* fix
* more
* more
* fix
* fix
* more
* ffs
* FML 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4c7cfff434 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: legacy docs ( #13756 )  
							
							... 
							
							
 
							
							* docs: legacy docs
add docs on old syntax
* rename section
* tweaks
* tweak
* tweaks
* tweaks
* tweaks
* fix link
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8ff2af52d3 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: show filename information in `legacy_recursive_reactive_block` ( #13764 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ef205d960e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix typos ( #13752 )  
							
							... 
							
							
 
							
							- remove copy pasted argument from $set
- fix typo 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								fd78385447 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: restructure docs for new site ( #13699 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								618d89c368 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: replace `<div>` with `<svelte-css-wrapper>` for style props ( #13706 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ae10f4d37c 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: state mutations inside the template are no longer allowed ( #13660 )  
							
							... 
							
							
 
							
							* breaking: state mutations inside the template are no longer allowed
* fix test
* fix test
* lint
* update error message
* fix test 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								139114bdcb 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: ensure legacy run utility does not cause cycles ( #13643 )  
							
							... 
							
							
 
							
							* fix: ensure legacy run utility does not cause cycles
* add warning
* add warning
* lint
* feedback
* lint
* lint 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2070c8a166 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: disallow state mutations in logic block expression ( #13625 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								94aea0f624 
								
							
								 
							
						 
						
							
							
								
								gah missed a spot  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								caaf74b854 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: more fixes ( #13608 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6534f507ce 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add/fix some more stuff ( #13585 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								941db36b01 
								
									
								
							
								 
							
						 
						
							
							
								
								fix ( #13581 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5ee3ae4369 
								
									
								
							
								 
							
						 
						
							
							
								
								update diffs ( #13575 )  
							
							... 
							
							
 
							
							* update diffs
* gah
* fix 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								3f0b41b252 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: annotate notes as such ( #13564 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4578d4f25a 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: generate pages for compiler/runtime warnings/errors ( #13557 )  
							
							... 
							
							
 
							
							* docs: generate pages for compiler/runtime warnings/errors
Ideally each warning has accompanying details so that it doesn't look so empty on the final site, but that can happen separately
* fix
* sort alphabetically, code ticks for headings
* only uppercase first word
* regenerate
* generate codes using [!NOTE], remove any backticks and escape `<` characters
* some prose preceeding the list of compiler warnings
* bring over prose from Svelte 4 a11y warnings
* fix
* lint
* remove backticks from headers, now that they are getting rendered
* Revert "remove backticks from headers, now that they are getting rendered"
This reverts commit c295281848 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								1c8d1ca124 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: various fixes ( #13560 )  
							
							... 
							
							
 
							
							* docs: various fixes
* fixes
* fix
* fix 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2b0741fa11 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add error annotation ( #13533 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								233bbecf55 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: rename placeholder file ( #13520 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								dfb8eee1cc 
								
							
								 
							
						 
						
							
							
								
								docs: some module intro comments  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								56621a2b36 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add legacy callouts ( #13428 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5dbe763792 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: don't make wheel events passive by default ( #13322 )  
							
							... 
							
							
 
							
							This was done previously to align with browser behavior, but the browser behavior actually only makes them passive on window/document/body. Since wheel events are not delegated, we can revert their passive-by-default setting. Closes  #13318 
For touchstart/touchmove we're not changing it because these events are delegated, which means they happen a lot more often on a target higher up the tree, which may cause jank. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9204d699d5 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fixes relating to `bind:files` & note on `FileList` API ( #13235 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e5c840c87b 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: adjust `bind:files` section ( #13230 )  
							
							... 
							
							
 
							
							closes  #13156  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								36137e0e93 
								
							
								 
							
						 
						
							
							
								
								docs: tweaks  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								25f67df911 
								
							
								 
							
						 
						
							
							
								
								docs: adjust placeholder syntax  
							
							... 
							
							
 
							
							switch over to using the existing `> ...` syntax, using the new `> MODULE: ..` placeholder. Related to https://github.com/sveltejs/svelte.dev/pull/78  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								29f29878c3 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note effects lifecycle ( #12993 )  
							
							... 
							
							
 
							
							* docs: note effects lifecycle
closes  #9265 
* tweak 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								213258b024 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add note on when effects re-run ( #12961 )  
							
							... 
							
							
 
							
							closes  #11806 
---------
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								803ebd5676 
								
							
								 
							
						 
						
							
							
								
								typo  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9f962d6f81 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: remove `$state.link` ( #12943 )  
							
							... 
							
							
 
							
							* Revert "breaking: remove `$state.link` callback (#12942 )"
This reverts commit 0b51ff04b0#12545 )"
This reverts commit 63ec2e2e88 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								732dbf7fa9 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: deprecate `context="module"` in favor of `module` ( #12948 )  
							
							... 
							
							
 
							
							* breaking: deprecate `context="module"` in favor of `module`
Also reserve a few attributes, which we may or may not use in the future
closes  #12637 
* fix tests
* one more
* add svelte package to the root so eslint and prettier can use it
* tweak messages
* warn on unknown attributes
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0b51ff04b0 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: remove `$state.link` callback ( #12942 )  
							
							... 
							
							
 
							
							* breaking: remove `$state.link` callback
* simplify
* regenerate 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								78677e40ef 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: align list of passive events with browser defaults, and add documentation ( #12933 )  
							
							... 
							
							
 
							
							closes  #12639  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								63ec2e2e88 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: adds $state.link rune ( #12545 )  
							
							... 
							
							
 
							
							* feat: adds $state.link rune
* add tests
* types
* docs
* debugger
* lint
* Update .changeset/friendly-rice-confess.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Update packages/svelte/src/compiler/phases/2-analyze/index.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* feedback
* feedback
* feedback
* feedback
* rename link_state to linked_state for grammatical consistency
* oops, victim of find-replace
* no need to store linked_value if setting
* simplify tests
* test behaviour of objects
* update docs
* copy
* more direct example that shows unlinking and relinking
* add callback argument support
* fix
* tidy up
* document callback
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0812b10100 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: overhaul proxies, remove `$state.is` ( #12916 )  
							
							... 
							
							
 
							
							* chore: use closures for state proxies
* use variables
* early return
* tidy up
* move ownership stuff into separate object
* put original value directly on STATE_SYMBOL
* rename
* tidy up
* tidy
* tweak
* fix
* remove is_frozen check
* remove `$state.is`
* avoid mutations
* tweak
* changesets
* changeset
* changeset
* regenerate
* add comment
* add note
* add test 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9ba370f305 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: replace `$state.frozen` docs with `$state.raw` ( #12812 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7ae21ea97d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: make <svelte:option> customElement configuration's tag property optional ( #12751 ) ( #12754 )  
							
							... 
							
							
 
							
							* feat: make svelte:option customElement tag property optional (#12751 )
* tweak comment
* tweak docs
* tweak some more wording
* Update .changeset/four-kids-flow.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Rich Harris <hello@rich-harris.dev> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2e8a205161 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: remove outdated comment ( #12632 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								04a211e1e1 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: VSCode -> VS Code ( #12631 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								dba4dfaff8 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add testing section ( #12600 )  
							
							... 
							
							
 
							
							* docs: add testing section
- explain component and rune testing using Vitest
- explain e2e testing using Playwright
closes  #10244 
closes  #10650 
* better examples
* Update documentation/docs/05-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update documentation/docs/05-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update documentation/docs/05-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* fix
* Update documentation/docs/05-misc/02-testing.md
* Update documentation/docs/05-misc/02-testing.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update documentation/docs/05-misc/02-testing.md
* we normally use single quotes
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* more details on component testing
* extract component testing into its own sub section, reorder a bit
* fix code example
* Update documentation/docs/05-misc/02-testing.md
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ba5f5f38b1 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: tweak event delegation docs ( #12607 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								13d86e9019 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: allow `:global` in more places (alternative) ( #12560 )  
							
							... 
							
							
 
							
							* `div { :global { &.x { ... } } }` is equivalent to `div:global.x { ... }`, so the latter should be allowed, too
* finalize
* replace obsolete breaking change (which turned out to be a wrong change and was since reverted), add new breaking change note
* changeset
* regenerate types
* Update sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* always remove descendant selector before global
* error on lone `:global` with nested `&`, revert "remove spaces" rule
* regenerate types
* documentation
* oops
* switch to removing descendant combinator
* fix
* revert combinator validation relaxation
* error on first global being modified
* tweak docs
* tweak error messages
* Update documentation/docs/02-template-syntax/05-styles-and-classes.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* clarify
* tweak messages
* update tests
* tweak docs
* tweak `:global(...)` docs
* tweak docs
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e2f17c8a7b 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: tweak xmlns docs ( #12606 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								afa3128d2f 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: avoid flushing queued updates on mount/hydrate ( #12602 )  
							
							... 
							
							
 
							
							* Revert "Revert "breaking: avoid flushing queued updates on mount/hydrate" (#1…"
This reverts commit 8d139210b7 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								6223a7e87e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: event delegation tweaks ( #12597 )  
							
							... 
							
							
 
							
							closes  #11317  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								bc78391bdc 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: mention xmlns attribute for `<svelte:element>` ( #12598 )  
							
							... 
							
							
 
							
							closes  #11993  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2698716bdf 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fine-tune $props types info ( #12534 )  
							
							... 
							
							
 
							
							Show how to do optional props, add jsdoc example to non-preview-docs
closes  #12528  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								73d97f7af9 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: fix `$effect.pre` code example ( #12444 )  
							
							... 
							
							
 
							
							closes  #12439  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								efe3b39d09 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: tweak snapshot example ( #12426 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8d3c0266ce 
								
									
								
							
								 
							
						 
						
							
							
								
								breaking: use `structuredClone` inside `$state.snapshot` ( #12413 )  
							
							... 
							
							
 
							
							* move cloning logic into new file, use structuredClone, add tests
* changeset
* breaking
* tweak
* use same cloning approach between server and client
* get types mostly working
* fix type error that popped up
* cheeky hack
* we no longer need deep_snapshot
* shallow copy state when freezing
* throw if argument is a state proxy
* docs
* regenerate 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								145d67a489 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: copy Svelte 5 docs from omnisite ( #12317 )  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								c0c1a56675 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>` ( #11879 )  
							
							... 
							
							
 
							
							* feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>`
* add test, use focusin/focusout rather than focus/blur
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e16591abe8 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Change all the word "initialization" to "initialisation" ( #10708 )  
							
							... 
							
							
 
							
							* Docs: Change all initizlisation to initialisation
* Reverted to "initialization" when asserting errors with specific message
* Reverted to "initialization" where related to specific error message 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								282d62baae 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix typo and grammar in 01-svelte-components.md ( #10737 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4942d6b9cc 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: update routing FAQ with some more recent options ( #10452 )  
							
							... 
							
							
 
							
							* docs: update routing FAQ with some more recent options
* Update documentation/docs/05-misc/01-faq.md
Co-authored-by: Conduitry <git@chor.date>
* Update documentation/docs/05-misc/01-faq.md
---------
Co-authored-by: Conduitry <git@chor.date> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c6c934afb2 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: cleanup ( #9381 )  
							
							... 
							
							
 
							
							* lets see if this works
* fix versions
* sigh
* debugging ci is sooo fun
* oh wow
* fix stuff, changelog, add back readme
* appease prettier
* format stuff 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								895612514c 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: improve a11y-click-events-have-key-events message ( #9358 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1ed9182025 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: mention `{#await}` on non-Promise values short-circuiting to the fullfilled branch ( #9324 )  
							
							... 
							
							
 
							
							Fixes  #9323  
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8e85b3fa9e 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: remove typescript faq ( #9108 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1a28d58b5d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: Copy code button ( #8995 )  
							
							... 
							
							
 
							
							* Push
* Bump site-kit
* Add headers to primary snippets
* Update deps
* Bump deos
* redploy
* Back to normal
* Push
* Bump deps
* site: fix rendering of promise in deprecation warning (#9191 )
* copy: true
* Bump site-kit
* Use cache 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								16504d1f52 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: add FAQ about why you can't keep unused styles ( #9193 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9073241daa 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: mention escaping of curly braces ( #8560 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2691e19b6b 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: use latest tag when creating vite template ( #9151 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d2ed2ca329 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: note ambient module info ( #9106 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								da3cc6c0a0 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: typo ( #9102 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								037b6ce312 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Fix a regression for a quoted-attribute example ( #9103 )  
							
							... 
							
							
 
							
							* Fix a doc regression for a quoted-attribute example
* Prettier ignore
---------
Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com> 
							
						 
						
							2 years ago