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
Ben McCann
6f8cdf3b0f
chore: run CI tests on Node 20 ( #8519 )
2 years ago
Ben McCann
d64e86a260
chore: switch from npm to pnpm ( #8514 )
2 years ago
Ben McCann
be645202d6
breaking: remove legacy package.json files ( #8515 )
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
Rafi Strauss
f30faa702d
feat: improve duplicate key error for keyed each blocks ( #8411 )
...
Closes #8410
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
James Scott-Brown
1770fc140a
docs: clarify statement about initial values for props ( #8477 )
2 years ago
Chris Kerr
236ffa833d
breaking: update onMount type definition to prevent async function return ( #8136 )
...
---------
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
gtmnayan
2f423475f7
chore: produce single bundle for runtime with multiple entrypoints ( #8504 )
...
* single runtime bundle
* formatting
* dedupe output options
* fix tests apparently
* skip writeBundle for cjs build
* revert quotes
* remove manualChunks
* some node16 module resolution compliance
* disable minifyInternalExports (doesn't really make sense for a library since users'
build step will do it again anyway)
2 years ago
Yuichiro Yamashita
5d4f3bd9e5
chore: remove Node 8 and 10 logic ( #8503 )
2 years ago
Nguyen Tran
68bf3e8143
feat: add a11y `no-noninteractive-element-interactions` ( #8391 )
...
#820
2 years ago
Theodore Brown
1728a8940e
fix: bind null option and input values consistently ( #8328 )
...
Null and undefined `value` bindings should always be set to an empty string. This allows native browser validation of `required` fields to work as expected with placeholder options.
Placeholder options bound to null are necessary in forms where the field is conditionally required, and the bound value is posted to an API endpoint which requires it to be a nullable number or object rather than a string.
fixes #8312
2 years ago
Tim McCabe
d587175852
feat: add `a11y-no-static-element-interactions` compiler rule ( #8251 )
...
Ref: #820
2 years ago
Tan Li Hau
c81522f992
breaking: conditional ActionReturn type if Parameter is void ( #7442 )
...
---------
Co-authored-by: Ivan Hofer <ivan.hofer@outlook.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Hofer Ivan
8e51b51dfc
breaking: improve types for `createEventDispatcher` ( #7224 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Ben McCann
caef440391
chore: run fewer CI jobs ( #8496 )
2 years ago
Ben McCann
2813814396
chore: upgrade rollup ( #8491 )
...
bump to rollup 3. Includes reworking the "treat those imports as external" a bit so that Rollup builds correctly but doesn't bundle some of the (now relative) imports
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Ben McCann
99b6a25d9d
chore: Svelte 4 dependency upgrades ( #8486 )
2 years ago
Ben McCann
d7cffa6840
chore: upgrade to TypeScript 5 ( #8488 )
...
- upgrade to TypeScript 5
- upgrade @ampproject/remapping
- remove obsolete workarounds
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Ben McCann
42362692b5
chore: bump engines field ( #8489 )
2 years ago
Ben McCann
932cb66a36
chore: simplify Svelte 4 CI ( #8487 )
2 years ago
Simon H
f0cdf77e15
chore: remove node<14 tests ( #8482 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Pat Cavit
54bb1f42ee
breaking: send in/out to transition fn ( #8318 )
...
Instead of "both", which doesn't make sense at that point.
2 years ago
xxkl1
b95ae0ef3c
fix: html space entities lost in component slot ( #8464 )
...
fixes #8359
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