Jakub Koleżyński
68ad1883c9
site: todos in `animate` tutorial render weird due to typo ( #8952 )
...
* svelte.dev/tutorial/animate - todos render weird on chrome without display: block;
* fix typo
1 year ago
Jakub Koleżyński
1d05020f10
docs: add display block to todos tutorial ( #8951 )
1 year ago
Dana Woodman
398904894e
docs: Make "unquoted" example actually unquoted ( #8937 )
1 year ago
gtmnayan
895709c6a2
docs: update svg transition example for v4 ( #8947 )
1 year ago
Enrico Sacchetti
02099d9d75
docs: update Typescript elements link ( #8938 )
1 year ago
Tan Li Hau
daba0fc9d2
docs: fix contrast for component-binding example ( #8920 )
1 year ago
Tan Li Hau
a23fcc0f67
docs: choose a color that looks great on both dark and light theme ( #8921 )
1 year ago
Tan Li Hau
d9529a39e3
fix: hackernews example link colors contrast in dark mode ( #8922 )
1 year ago
Simon H
132dd7906a
docs: preprocessor migration details ( #8927 )
...
closes #8916
1 year ago
Puru Vijay
70426be84a
feat(site): Deploy to edge ( #8873 )
...
* Try edge
* Fix errors
* Improvements
* Minor fixes
* Simplify docs layout logic
* Persist session true
* try regions all
* Push new promise-based infra
* pnpm install
* Remote debugging
* Refine
* try to disable prerender for examples
* text
* Weird hack
* url
* log params
* Try param matcher
* try some restructuring
* Leftover
* remove console log
* More async, remove node-fetch
* Fix
* New fixes
* Undo changes
* back to site-kit next 18
1 year ago
Alex Morgan
bb5d3948ed
docs: matches hint with existing structure and solution ( #8915 )
1 year ago
Simon Holthausen
d516bb06e1
docs: add eslint migration
1 year ago
Paul "Joey" Clark
58e95c6aca
docs: Remove old redundant text ( #8893 )
...
The quote marks were already removed in db2d07f236
1 year ago
Mayank Jain
d8a381e049
docs: Updated button width in documentation/reactivity ( #8897 )
...
* Updated button width in documentation/reactivity
Fixed button width in order to avoid the changing width of the button in the result when the text changes from 'time' to 'times'
* Made style changes as per the guidelines
* Replicated changes made in app-a to app-b
* Update App.svelte
* Update App.svelte
---------
Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com>
1 year ago
Simon Holthausen
d4a1b5482f
docs: update old blog post a bit
...
since it's high on google search ranks we should update it to not confuse people
1 year ago
Simon H
b9328a5077
docs: more details on transition migration
1 year ago
Dani Sandoval
4d71ab72c1
docs: "What's new in Svelte" July newsletter ( #8853 )
1 year ago
Brad Dougherty
cfa5447ea5
docs: fix typo in v4 migration guide ( #8890 )
1 year ago
Puru Vijay
d3d1fb563f
blog: post about svelte.dev overhaul ( #8766 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
1 year ago
Simon H
b0a3fa1766
fix: ensure createEventDispatcher and ActionReturn work with generic function types ( #8872 )
...
fixes #8860
This contains a small but unfortunately unavoidable breaking change: If you used `never` to type that the second parameter of `createEventDispatcher` shouldn't be set or that the action accepts no parameters (which the docs recommended for a short time), then you need to change that to `null` and `undefined` respectively
1 year ago
Simon Holthausen
1c7ed55385
docs: add a11y-no-static-element-interactions
...
closes #8862
1 year ago
Not-Jayden
e3422e182b
docs: Don't recommend TypeScript type assertions for reactive declarations ( #8824 )
...
strictly speaking that's not the same and could hide some type errors
1 year ago
Valentin Grégoire
c0d92628dd
docs: Make white text on white background visible. ( #8852 )
1 year ago
Alimurtuza
bbcb5f58ae
docs: handle warnings in examples page ( #8836 )
...
ignore some, fix others
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
Gwang Jin Kim
d3297e2a25
docs: Remove duplicate note ( #8843 )
1 year ago
Theodore Brown
223db7f19d
docs: fix TypeScript event name typos ( #8844 )
1 year ago
Khurram Jalil
ad2168016b
Fixed #8828 ( #8832 )
1 year ago
iamkneel
7dea31327e
docs: format "MutationObserver" as code ( #8830 )
1 year ago
Simon H
037ac2f55a
docs: update transitions tutorial ( #8822 )
...
fixes #8820
1 year ago
Alimurtuza
79e7ccc415
docs: fix white text on white BG in examples ( #8821 )
...
fixes ##8816
1 year ago
Cesar Napoleon Mejia Leiva
a83e438b5e
docs: fix style directive with important modifier example ( #8802 )
1 year ago
Simon Holthausen
94cfdbcee1
docs: fix snippet
...
closes #8817
1 year ago
Martin Hobert
5ddf4ca779
docs: fix attribute example in basic markup ( #8813 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
gtmnayan
ea18bd7e98
docs: use `@latest` on the migrate command ( #8814 )
1 year ago
Simon H
797b711e3a
docs: tweaks ( #8798 )
...
- link to createEventDispatcher typings
- svelte action type error fix
- migration guide tweak
- add back blog post that has gone missing
1 year ago
Ben McCann
20c9bd1463
update stats for final release
1 year ago
Ben McCann
936ce2bce3
svelte 4 blog post
1 year ago
Simon Holthausen
23fc113d31
docs: note type enhancements breaking change
1 year ago
Ben McCann
b582baa570
docs: list minimum versions for r-p-s and svelte-loader ( #8788 )
1 year ago
Puru Vijay
3c8a07136a
fix(site): renderer new link format ( #8787 )
...
* adapt
* Uncomment
* Push
* Bump site-kit
1 year ago
Puru Vijay
22cc4756e0
feat(site): site-kit renderer ( #8757 )
...
* Push
* Weirdass fix
* Unified renderer
* Move a bit
* Accomodate to new renderer
* update site-kit
* bump site-kit
* Fix script
* Bump site-kit
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Puru Vijay
cf32fa2497
fix(site): update tutorial links ( #8780 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Ben McCann
be5742aefe
docs: update link
1 year ago
Simon H
203490c3e4
breaking: use `CustomEvent` constructor instead of deprecated `createEvent` method ( #8775 )
...
closes #8474
1 year ago
gtmnayan
914529fa76
feat: smaller destructor chunk ( #8763 )
...
technically a breaking change because someone with a mutation observer could rely on the order of operations
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
Puru Vijay
88504ee90a
docs(sites): Auto-generated CompileOptions ( #8756 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year ago
gtmnayan
f8139e5a6e
chore(site): fix build ( #8762 )
...
* fix: 404 instead of 500
* omit legacy entrypoints
* fix prefetch
1 year ago
Puru Vijay
67b4e4ff1c
docs: normalize svelte compiler headings ( #8755 )
...
The `svelte.` prefix was a remnant of CJS times
1 year ago
Simon H
75917ee1a5
docs: migration page ( #8739 )
1 year ago
Simon H
4e569d1895
docs: Svelte 3/4 differences ( #8740 )
...
note some inline, drive-by-fix in custom element docs
closes #8703
1 year ago