Simon H
f223bc1c53
feat: change preprocessor ordering, allow attributes modification ( #8618 )
...
- change mapping order
- add support to modify attributes of script/style tags
- add source mapping tests to preprocessor tests
2023-05-23 17:39:54 +02:00
Puru Vijay
b47e21c16f
chore: Commit internal_exports
2023-05-23 17:07:11 +05:30
Puru Vijay
098a5539f3
Merge remote-tracking branch 'origin/version-4' into sites
2023-05-23 17:06:44 +05:30
gtmnayan
7cec17c4cb
fix flaky test
2023-05-22 20:06:22 +05:45
gtmnayan
3df9d8466f
chore: speed up test execution ( #8598 )
...
- shard runtime tests for better use of Vite's test parallelization
- merge custom element and other browser tests to run in one test suite and use esbuild in it
- on some setups only generate code output when test fails
2023-05-22 15:46:27 +02:00
gtmnayan
7e9af10dce
chore(test): link compiler directly from source ( #8612 )
2023-05-22 14:17:43 +02:00
Simon Holthausen
f09a942130
silence wrong tsconfig errors
2023-05-22 11:40:39 +02:00
Ben McCann
0467219701
chore: switch to released version of eslint-config
2023-05-20 20:32:35 -07:00
Ben McCann
0c99aa8904
chore: update eslint config ( #8608 )
...
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
2023-05-19 20:21:54 -07:00
gtmnayan
61218d3c9c
chore(test): tidy up html equal ( #8599 )
2023-05-19 08:37:30 -07:00
Simon Holthausen
d35d9045f6
rename ts to js
2023-05-19 16:02:41 +02:00
S. Elliott Johnson
fd9d61a7b7
chore: TS to JSDoc Conversion ( #8569 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-19 15:59:42 +02:00
Puru Vijay
cf5561cd36
Merge remote-tracking branch 'origin/version-4' into sites
2023-05-19 10:08:42 +05:30
Ben McCann
3067e7a1aa
docs: update SvelteKit alternatives section ( #8596 )
2023-05-18 08:33:15 -07:00
gtmnayan
783bd9899e
chore: swap mocha with vitest ( #8584 )
...
Also swap out the require hook hacks with a less-hacky-but-still-somewhat-hacky loader for the Svelte files
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2023-05-17 21:00:20 +02:00
Puru Vijay
273c7318d2
feat(site-2): docs edit button ( #8593 )
...
* Add edit button
* Update deps
2023-05-17 17:14:38 +05:30
Puru Vijay
a39c7f397d
Merge remote-tracking branch 'origin/version-4' into sites
2023-05-16 20:50:46 +05:30
Puru Vijay
543e93bcf4
fix(site-2): Use dynamic LOCAL_SVELTE_PATH
2023-05-16 20:50:05 +05:30
Puru Vijay
bb0d34bbd0
feat(site-2): Accessibility ( #8579 )
...
* Push
* Push
* Fix Contents order
* Skip link to left sidemenu
* Add text class
* use top-nav slot
* Improve imagetools
* Fix aria-label
* Bump site-kit
2023-05-16 20:48:44 +05:30
gtmnayan
d652ddbbd0
make the triangle bot less verbose
2023-05-15 09:19:07 +05:45
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright ( #8577 )
2023-05-15 09:04:12 +05:45
Puru Vijay
f3396cfd4c
chore(site-2): Run prettier
2023-05-14 11:20:43 +05:30
Puru Vijay
21a0141b8c
feat(site-2, v4): pnpm workspace ( #8586 )
...
* Push
* Push
2023-05-14 11:13:44 +05:30
Puru Vijay
f363af7cca
site -> documentation ( #8585 )
2023-05-13 08:06:21 -07:00
Puru Vijay
c967b81311
chore(site-2): Update deps
2023-05-13 18:54:19 +05:30
Puru Vijay
1e2ad9233e
fix: Post merge pnpm issues
2023-05-13 12:05:49 +05:30
Puru Vijay
fbd3ccdf80
Merge remote-tracking branch 'origin/version-4' into sites
2023-05-13 11:39:13 +05:30
Puru Vijay
5a671cbfc0
feat(site-2): New REPL ( #8545 )
2023-05-12 16:53:15 -07:00
Puru Vijay
52028a09ba
fix(site-2): Restyle home page ( #8454 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-05-12 08:39:15 -07:00
Puru Vijay
fd9088bbf5
chore: Reinstall packages
2023-05-11 15:26:26 +05:30
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>
2023-05-11 14:18:57 +05:30
Puru Vijay
b9ea60cff4
fix(site-2): Remove marked warnings ( #8574 )
2023-05-10 08:24:10 +05:30
Dominik G
3bc791bcba
feat: add workflow to trigger ecosystem-ci from svelte PRs ( #8571 )
2023-05-09 14:01:56 -04:00
Puru Vijay
3b4ab35b4e
feat(site-2): Use entries ( #8570 )
...
* Push
* Image stuff
* Use entries
* Update deps
* Update kit
2023-05-09 21:39:07 +05:30
Yuichiro Yamashita
b6a400a549
chore: add prettier ( #8543 )
2023-05-08 23:32:52 +02:00
Simon Holthausen
573acf9073
Merge branch 'master' into version-4
2023-05-08 17:34:58 +02:00
Dominik G
56df761f95
breaking: set verison to 4, remove engines.pnpm and bump engines.node to >=16 ( #8566 )
2023-05-08 16:30:24 +02:00
Ben McCann
5e486c19ad
docs: fix links in changelog
2023-05-08 07:09:29 -07:00
Conduitry
64b8c8b33c
-> v3.59.1
2023-05-08 09:58:26 -04:00
Simon H
b6288ecdb7
fix: Handle dynamic values in a11y-autocomplete-valid
( #8567 )
...
Fixes #8562
Fixes #8565
2023-05-08 15:41:02 +02:00
Ben McCann
6fbb36d1fe
fix: improve setup of default export and remove svelte/ssr
( #8516 )
2023-05-05 17:33:08 +02:00
Simon Holthausen
418f4c2381
Merge branch 'master' into version-4
2023-05-05 17:13:45 +02:00
Conduitry
4537eb77bb
-> v3.59.0
2023-05-05 10:06:22 -04:00
Vaibhav Rai
37c8bd7e67
fix: var scope should not extend outside the reactive block ( #6800 )
...
Fixes: #6794
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-05 15:32:27 +02:00
Christoph Rüßler
3f2f1e58df
feat: add a11y autocomplete-valid
( #8520 )
...
Part of #820
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-05 13:39:34 +02:00
Ben McCann
81cfab9142
Update CHANGELOG.md
2023-05-04 14:03:20 -07:00
Karl Erik Hofseth
afd38494b4
fix: provide a workaround for unsafe-inline
CSP that also works in Safari ( #7800 )
...
This changes the inserted style element for transitions to initially include the string '/* empty */'. This allows you to work around requiring unsafe-inline CSP discussed in #6662 by adding a hash to your CSP:
'sha256-9OlNO0DNEeaVzHL4RZwCLsBHA8WBQ8toBp/4F5XV2nc='
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-05-04 17:30:33 +02:00
Nguyen Tran
c0363966d3
fix: treat slots as if they don't exist when using CSS adjacent and general sibling combinators ( #8422 )
...
Fixes #8284 .
The problem is that the <slot> element is treated as an actual element, and for this purpose, we have to treat them as if they don't exist. More specifically, we treat all slot fallback children nodes on the same level as the slot's non-slot siblings.
2023-05-04 15:48:05 +02:00
Robin Munn
19e163f59d
feat: pass update function to store setup callbacks ( #6750 )
...
Fixes #4880 .
Fixes #6737 .
This will be a breaking change for anyone who uses the StartStopNotifier
type in their / implements custom stores.
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-04 15:42:57 +02:00
Ramon Snir
ea73930132
fix: allow $store to be used with changing values including nullish values ( #7947 )
...
fixes #7555
breaking change: derived now throws an error if you pass falsy values
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-04 15:14:28 +02:00