Puru Vijay
52028a09ba
fix(site-2): Restyle home page ( #8454 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Puru Vijay
fd9088bbf5
chore: Reinstall packages
1 year ago
Puru Vijay
9bee59cc4f
feat(site-2): TS in docs ( #8452 )
...
* Commit
* Push working type generation code
* Fix type gen script invocation
* Delete type-info.js
* Change build script
* Recreate package lock
* mkdir generated
* Add type references to some pages
* Add TS-able snippets to docs examples
* Fix some stuff
* Add types to individual functions
* Add to store page
* Refactor compile-types.js
* Move ts sourcefile stuff to compile-types
* Remove commented code
* Half attempt at export aliases
* Add
* Fix, add disclaimer for svelte/internal
* Disable /docs prerendering
* Remove internals page
* Remove redundant stuff
* Make search work with it
* Fix compile types logic
* Add file: comment,
* Add two-slash to docs pages
* Get type links working
* Remove console.log
* Add action module
* Fix actions logic
* Make compile-types logic more robust
* Bump site-kit
* Fix gitignore
* Use moduleResolution bundler
* Don't apply shiki-twoslash to auto generated code snippets from render
* Recreate package lock
* Make TSbpage undraft
* Fix svelte component types
* Remove console.log
* No more sveltekit
* Make regex smarter
* Update sites/svelte.dev/scripts/type-gen/compile-types.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Rebuild package lock
* Remove commented out code
* Update deps
* Remove $$_attributes
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
Puru Vijay
b9ea60cff4
fix(site-2): Remove marked warnings ( #8574 )
1 year ago
Puru Vijay
3b4ab35b4e
feat(site-2): Use entries ( #8570 )
...
* Push
* Image stuff
* Use entries
* Update deps
* Update kit
1 year ago
Puru Vijay
23d63c760a
chore: Rebuild package.lock
2 years ago
Puru Vijay
12f4f6c457
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Cas
c4261abfde
feat: document fullscreenElement and visibilityState bindings ( #8507 )
2 years ago
abirtley
a74caf1381
docs: Clarify when bind:group does not work ( #8540 )
...
Clarify documentation around when bind:group does and does not work. See issue #2308
2 years ago
xxkl1
b7359c8361
feat: add window bind devicePixelRatio support ( #8534 )
...
closes : #8285
add window bind devicePixelRatio support, change devicePixelRatio on window resize.
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Nguyen Tran
f064c39d5f
fix: relax no-redundant-roles implementation ( #8536 )
...
Deals with the no-redundant-roles part of #8529
There was an erroneous check which compares the element name with the current role. This fix brings no-redundant-roles closer to the original eslint-jsx implementation
2 years ago
Puru Vijay
ce686c95d1
chore: Upgrade to Vite 4.3 ( #8524 )
2 years ago
Puru Vijay
1e9e843ca5
Merge
2 years ago
Simon H
6ba2f72251
chore: Update CHANGELOG.md
2 years ago
xxkl1
32153e318d
fix: inline style value become undefined ( #8517 )
...
fixes #8462
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Simon H
6bbae502f6
chore: Update CHANGELOG.md
2 years ago
gtmnayan
1964535adf
fix: interpolated style directive updates properly with spread ( #8505 )
...
fixes #8438
2 years ago
James Scott-Brown
1770fc140a
docs: clarify statement about initial values for props ( #8477 )
2 years ago
gtmnayan
6e1674e249
docs: fix type signature for StartStopNotifier ( #8509 )
...
It used the Subscriber type to represent the set callback and the
Unsubscriber to represent the cleanup callback. But the names made
it confusing what it was for.
2 years ago
gtmnayan
2cc299185f
fix: ensure version is typed as string instead of the literal __VERSION__ ( #8502 )
...
fixes #8498
2 years ago
Puru Vijay
45f2890261
feat(site-2): Remove legacy site-kit stuff ( #8501 )
...
* Push
* Update site-kit
* Update svelte REPL
* Remove rollup URL
* meh
* Modify sidebar colors
* Bump deps
2 years ago
Puru Vijay
92a06e971c
chore: run npm install
2 years ago
Puru Vijay
59b7c4400e
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Puru Vijay
36658da3f2
Fix broken links
2 years ago
Puru Vijay
92e62c9316
Update deps
2 years ago
Simon H
9425f18e52
fix: observer PR cleanup ( #8484 )
...
leftovers from #8022
2 years ago
Puru Vijay
71d173a4c0
feat: Add home slot
2 years ago
Puru Vijay
ec733593e6
fix: Old site redirects
2 years ago
Ben McCann
009ce45e63
site: tweak content layout ( #8483 )
2 years ago
James Scott-Brown
cd690e025b
docs: clarify meaning of "this" in a comment ( #8478 )
2 years ago
Simon H
56351a3fab
chore: update changelog
2 years ago
Cymaera
0adc09da97
feat: add support for resize observer bindings ( #8022 )
...
Implements ResizeObserver bindings: #5524 (comment)
Continuation of: #5963
Related to #7583
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Simon H
3a7685fef5
fix: special-case width/height attribute during spread ( #8412 )
...
fixes #6752
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
2 years ago
Ben McCann
def1890f4f
chore: bump @jridgewell/sourcemap-codec ( #8458 )
2 years ago
Puru Vijay
99979959c0
Update readme ( #8453 )
2 years ago
Puru Vijay
1e982c1e6d
chore: Run prettier
2 years ago
Puru Vijay
04d4592299
chore: Update deps
2 years ago
Puru Vijay
beb3f653ee
docs(site-2): CJS to ESM for code snippets ( #8449 )
2 years ago
Puru Vijay
050c1031b7
feat(site-2): Make blog logic consistent with other content ( #8447 )
2 years ago
Puru Vijay
b569018fef
feat(site-2): Split docs ( #8435 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Push
* Remove console.logs
* Minor fixes
* Fix search
* Fix heading <code> style
* Fix search some more
* Code cleanup
* Update deps
* Move content around
* Allow drafts
* Redirect logic
* Don't render anything on docs if /docs
* Shorten the regex patterns
* Fix some more
* Hack the build into working
* Modernize docs links
* Add content to introduction
* Modify the content
* fix content links
* Reduce duplication in redirect regex
* Differences from Kit page
* Fix link
* Make OnThisPage visible on all docs
* Misc changes
* Move differences page to introduction
* Run prettier
* Prerender examples api routes
* Modify introdution page
* replace positions of readonly and get
* Minor blog style enhancement
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2 years ago
Puru Vijay
95abaec32a
chore(site-2): Update deps
2 years ago
Puru Vijay
db2d07f236
feat(site-2): Update links, move blog out of SK folder to content ( #8289 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Update deps
* Hack the build into working
* add missing blog post
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2 years ago
Rich Harris
f4edb381bf
Merge branch 'master' into sites
2 years ago
Puru Vijay
5976de8f82
feat(site-2): Fully remove api.svelte.dev ( #8432 )
...
* Localize the examples dependents
* Localize FAQ
* Try to fix examples API
* Remove examples api
* Prerender, use vercel adapter, disable PUT action for now
* Don't call get_examples_data on top
* Move repl PUT to its own routew
* Don't prerender REPL page
* Change console warn
* Prerender tutorial the smart way
* Use getContext in root
* work around some weird content encoding glitch
* Try the pre-generate route
* Apply the suggestions
* Fix embed examples
* Remove comment
* remove commented-out code
* Update sites/svelte.dev/src/routes/_components/Demo.svelte
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* remove unused code
* add note to self, remove ts-ignore
* move adapter-vercel to devDependencies
* remove some unused deps
* huh we need flexsearch after all? weird
* we need sourcemap-codec as well — what the hell. are these deps missing from a dep?
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2 years ago
Michael Leahy
d42ca041dd
Closes #5876 . Adds single value function support to media queries and media query range syntax / MQ level 4 support. ( #8430 )
2 years ago
Conduitry
cfe26d8d6c
-> v3.58.0
2 years ago
Conduitry
5d0e049a94
update changelog
2 years ago
Yuichiro Yamashita
5a934e9f43
fix: escape <textarea value={...}> attribute properly ( #8434 )
2 years ago
Conduitry
3806977678
update changelog
2 years ago
Puru Vijay
9793b41817
feat(site-2): Local examples ( #8431 )
...
* feat(docs): Local tutorial
* Refactor some stuff
* Better error handling
* Fix search imports
* Prerender tutorial
* try prerendering hack
* fix super stupid display hidden bug
* Shorten the rendered URL
* Shorten URL code even more
* Prerender in svelte.config.js
* Refactor
* Fix ScreenToggle dark mode styles
* Initial POC
* Rvert to old hack
* Fix svelte-document.jpg
2 years ago