0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

7369 Commits

Author SHA1 Message Date
Valentin Grégoire
c0d92628dd
docs: Make white text on white background visible. (#8852) 2023-06-26 17:40:28 +02:00
TheBlckbird
e887c21e51
docs: change Typescript to JSDoc in Readme.md (#8851)
---------

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2023-06-26 15:51:28 +02:00
Alimurtuza
bbcb5f58ae
docs: handle warnings in examples page (#8836)
ignore some, fix others

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-26 10:44:29 +02:00
Ben McCann
68e6336637
chore: upgrade dependencies (#8827) 2023-06-26 09:42:06 +02:00
Eric Liu
abe2ee73e1
docs: fix link to changelog (#8845) 2023-06-25 19:58:47 -07:00
Gwang Jin Kim
d3297e2a25
docs: Remove duplicate note (#8843) 2023-06-25 16:06:46 +02:00
Theodore Brown
223db7f19d
docs: fix TypeScript event name typos (#8844) 2023-06-25 16:06:06 +02:00
Ben McCann
7bab2d4033
docs: fix link in changelog 2023-06-24 15:59:38 -07:00
Khurram Jalil
ad2168016b
Fixed #8828 (#8832) 2023-06-24 13:36:24 +05:30
iamkneel
7dea31327e
docs: format "MutationObserver" as code (#8830) 2023-06-24 07:59:16 +05:45
Simon H
037ac2f55a
docs: update transitions tutorial (#8822)
fixes #8820
2023-06-23 17:20:40 +02:00
Alimurtuza
79e7ccc415
docs: fix white text on white BG in examples (#8821)
fixes ##8816
2023-06-23 16:36:42 +02:00
Cesar Napoleon Mejia Leiva
a83e438b5e
docs: fix style directive with important modifier example (#8802) 2023-06-23 14:49:36 +02:00
Ignatius Bagus
a29feeca25
docs: fix tutorial edit link (#8812)
Fixes #8811
2023-06-23 14:44:33 +02:00
Simon Holthausen
94cfdbcee1 docs: fix snippet
closes #8817
2023-06-23 14:43:43 +02:00
Martin Hobert
5ddf4ca779
docs: fix attribute example in basic markup (#8813)
---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-23 12:23:18 +02:00
gtmnayan
ea18bd7e98
docs: use @latest on the migrate command (#8814) 2023-06-23 12:22:32 +02:00
Isaiah Banks
140bed5386
Update CHANGELOG.md (#8809)
Fix misformatted links in 4.0.0 changelog
2023-06-23 00:06:15 +02:00
Puru Vijay
08fe2bc596
fix: Use version 4 for examples and tutorial (#8806)
* Use version 4 for examples and tutorial

* Remove redundant import
2023-06-22 23:42:43 +05:30
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
2023-06-22 19:16:42 +02:00
Ben McCann
20c9bd1463 update stats for final release 2023-06-22 07:43:42 -07:00
Ben McCann
936ce2bce3 svelte 4 blog post 2023-06-22 07:05:43 -07:00
Puru Vijay
5439714509 REPL default to v4 2023-06-22 19:08:11 +05:30
github-actions[bot]
0596c4797d
Version Packages (#8799)
---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-22 15:35:57 +02:00
Puru Vijay
d78dd89230 fix(site): REPL gist as string again 2023-06-22 19:01:08 +05:30
Simon Holthausen
5d301aafb9 chore: exit prerelease mode 2023-06-22 15:23:25 +02:00
Ben McCann
60eee9a73f
chore: better error messages for CJS users (#8790) 2023-06-22 15:20:10 +02:00
Simon Holthausen
8905877bab fix: add any fallback to generic
was like this in Svelte 3
2023-06-22 15:17:29 +02:00
Puru Vijay
0b09e1f4d0 fix(repl): components -> files 2023-06-22 18:37:06 +05:30
Jimmy Wärting
7cbd36d6b2
chore: Remove the need for node:process (#8795)
performance.now() exist in all envs we support now
2023-06-22 15:03:15 +02:00
Puru Vijay
980b325989
fix: Apps styles (#8797)
* Push

* Remove reference to $types
2023-06-22 18:27:40 +05:30
Simon Holthausen
23fc113d31 docs: note type enhancements breaking change 2023-06-22 14:46:34 +02:00
Puru Vijay
d8599c8267 chore(site): Reorganize imports 2023-06-22 18:05:44 +05:30
Puru Vijay
dbc714f6c0
fix(site): Style fixes (#8794)
* Style fixes

* Bump site-kit
2023-06-22 17:59:21 +05:30
Puru Vijay
3d21b00fa1
fix: search scrolling (#8792)
* Push basic stuff

* Push

* Bump site-kit
2023-06-22 17:44:21 +05:30
github-actions[bot]
82cc48390c
Version Packages (next) (#8772)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-22 13:34:50 +02:00
Simon H
ef1b98f9d9
fix: account for sourcemap in meta info (#8778)
We need to use a different method for getting the meta info because `locate` is used to help construct the source map that references the preprocessed Svelte file. If we would now add source maps to that `locate` function it would go the the original source directly which means skipping potentially intermediate source maps which we would need in other situations. Sadly we can't map the character offset because for that we would need to the original source contents which we don't have in this context.

fixes #8360
closes #8362
2023-06-22 11:59:28 +02:00
gtmnayan
5702142d9e
feat: attach Svelte major version info to window global (#8761)
Can be opt out by setting discloseVersion to false

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-22 10:48:23 +02:00
gtmnayan
03942162f8
chore: deindent cjs output for compiler (#8785)
makes package size a tiny bit smaller
2023-06-22 10:41:23 +02:00
Jimmy Wärting
f76a75b97d
chore: remove btoa fallback (#8783)
Since we're targeting NodeJS >16 we don't need any Buffer fallback as it's now built in globally from that version onwards.
2023-06-22 10:10:48 +02:00
Ben McCann
b582baa570
docs: list minimum versions for r-p-s and svelte-loader (#8788) 2023-06-22 09:57:15 +02:00
Puru Vijay
3c8a07136a
fix(site): renderer new link format (#8787)
* adapt

* Uncomment

* Push

* Bump site-kit
2023-06-22 08:42:09 +05:30
Puru Vijay
c808ebf2c4 fix: Flash of inAccurate coloR Theme (FART) 2023-06-22 06:47:30 +05:30
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>
2023-06-22 06:39:20 +05:30
Puru Vijay
cf32fa2497
fix(site): update tutorial links (#8780)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-21 15:12:58 -07:00
Ben McCann
be5742aefe docs: update link 2023-06-21 15:00:04 -07:00
Ben McCann
68570424a2
site: alternate footer design (#8774) 2023-06-21 11:49:14 -07:00
Puru Vijay
b8918faf48 chore: Bump REPL to 0.5.0-next.5 2023-06-21 20:50:01 +05:30
Puru Vijay
fe60894066
fix(sites): fix REPL styles (#8770)
* Push

* Push fixes

* Delete vite.config.js.timestamp-1687278902174-a59162675b2f6.mjs

* Remove log

* bump site-ki
2023-06-21 20:44:26 +05:30
Simon Holthausen
3858321b32 chore: remove warning from pull request template 2023-06-21 11:33:54 +02:00