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
Puru Vijay
7934a7f4d2
chore: update REPL to 0.5.0-next.7
1 year ago
Simon H
1cfed0bf29
fix: relax a11y "no redundant role" rule for li, ul, ol ( #8867 )
...
fixes #8854
1 year ago
hackape
876f894c64
fix: apply transition_in/out to svelte:element with local transition ( #8865 )
...
fixes #8233
1 year ago
Simon Holthausen
1c7ed55385
docs: add a11y-no-static-element-interactions
...
closes #8862
1 year ago
Puru Vijay
00c806df97
chore: Update REPL to 0.5.0-next.6
1 year ago
Simon H
2b9b99bd35
fix: remove tsconfig.json from published package ( #8859 )
...
fixes #8839
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
Geoff Rich
2a93ca9172
site: make REPL user menu keyboard accessible ( #8831 )
1 year ago
Nguyen Tran
3576c7443e
fix: Make sure 'func' doesn't clash with destructured contexts ( #8840 )
...
Fixes : #8753
1 year ago
Valentin Grégoire
c0d92628dd
docs: Make white text on white background visible. ( #8852 )
1 year ago
TheBlckbird
e887c21e51
docs: change Typescript to JSDoc in Readme.md ( #8851 )
...
---------
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
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
Ben McCann
68e6336637
chore: upgrade dependencies ( #8827 )
1 year ago
Eric Liu
abe2ee73e1
docs: fix link to changelog ( #8845 )
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
Ben McCann
7bab2d4033
docs: fix link in changelog
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
Ignatius Bagus
a29feeca25
docs: fix tutorial edit link ( #8812 )
...
Fixes #8811
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
Isaiah Banks
140bed5386
Update CHANGELOG.md ( #8809 )
...
Fix misformatted links in 4.0.0 changelog
1 year ago
Puru Vijay
08fe2bc596
fix: Use version 4 for examples and tutorial ( #8806 )
...
* Use version 4 for examples and tutorial
* Remove redundant import
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
Puru Vijay
5439714509
REPL default to v4
1 year ago
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>
1 year ago
Puru Vijay
d78dd89230
fix(site): REPL gist as string again
1 year ago
Simon Holthausen
5d301aafb9
chore: exit prerelease mode
1 year ago
Ben McCann
60eee9a73f
chore: better error messages for CJS users ( #8790 )
1 year ago
Simon Holthausen
8905877bab
fix: add any fallback to generic
...
was like this in Svelte 3
1 year ago
Puru Vijay
0b09e1f4d0
fix(repl): components -> files
1 year ago
Jimmy Wärting
7cbd36d6b2
chore: Remove the need for `node:process` ( #8795 )
...
performance.now() exist in all envs we support now
1 year ago
Puru Vijay
980b325989
fix: Apps styles ( #8797 )
...
* Push
* Remove reference to $types
1 year ago
Simon Holthausen
23fc113d31
docs: note type enhancements breaking change
1 year ago
Puru Vijay
d8599c8267
chore(site): Reorganize imports
1 year ago
Puru Vijay
dbc714f6c0
fix(site): Style fixes ( #8794 )
...
* Style fixes
* Bump site-kit
1 year ago
Puru Vijay
3d21b00fa1
fix: search scrolling ( #8792 )
...
* Push basic stuff
* Push
* Bump site-kit
1 year ago
github-actions[bot]
82cc48390c
Version Packages (next) ( #8772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
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
1 year ago
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>
1 year ago
gtmnayan
03942162f8
chore: deindent cjs output for compiler ( #8785 )
...
makes package size a tiny bit smaller
1 year ago
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.
1 year ago