Mathias Schäfer
16c42cb085
fix: add transform-origin to SVGAttributes ( #9326 )
...
See https://svgwg.org/svg2-draft/styling.html#PresentationAttributes
1 year ago
Ravi van Rooijen
1ed9182025
docs: mention `{#await}` on non-Promise values short-circuiting to the fullfilled branch ( #9324 )
...
Fixes #9323
1 year ago
Simon H
9900c85acf
fix: support camelCase properties on custom elements ( #9328 )
...
while attributes are case insensitive, properties are not. to not introduce a breaking change, the lowercased variant is checked first.
fixes #9325
1 year ago
Emmanuel Ferdman
6f508a011b
fix: update link to `LICENSE.md` ( #9296 )
1 year ago
Ben McCann
4efec418c2
chore: bump jsdom to address word-wrap vulnerability ( #9046 )
...
* chore: bump jsdom to address word-wrap vulnerability
* downgrade jsdom
* fix lockfile
1 year ago
Ben McCann
052d38158f
chore: upgrade magic-string ( #9292 )
1 year ago
Rubin Raithel
9ffe07da2f
fix: svelte.dev site scripts filepath generation ( #9273 )
1 year ago
Willow (GHOST)
e42b961bd2
Add Hacktoberfest blog post ( #9280 )
1 year ago
Dani Sandoval
050592d2e1
docs: "What's new in Svelte" October newsletter ( #9271 )
1 year ago
Diego Augusto Molina
acb93568b0
docs: fix typo in `Action` jsdoc ( #9254 )
1 year ago
Irshad Ali
fa89421301
fix(repl): runes bottom banner overlapping fixed ( #9238 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year ago
Ben McCann
666d70ac2b
chore: update PR template with note about rewrite ( #9231 )
1 year ago
Simon H
68b40effb2
site: runes banner ( #9228 )
...
* site: runes banner
* well I should get the title right, shouldnt I?
* padding
* fix typo
* tweak
1 year ago
Rich Harris
c50ad34b06
introducing runes ( #9227 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
github-actions[bot]
bd5e5eef9b
Version Packages ( #9121 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
gtmnayan
26eb2a2f89
fix: false reactive component warning ( #9094 )
...
fixes #9082
1 year ago
Teo
93b17c85f7
fix: spreading attributes on option value attribute get's replaced by option's inner text ( #9125 )
...
fixes #9107
Apart from the problem with the option the same happens with the textarea.
1 year ago
Teo
228dd4d9d7
fix: svelte:element with dynamic this and spread attributes throws error ( #9112 )
...
fixes #9092
---------
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
gtmnayan
3191147c2a
chore: document init parameters ( #9118 )
1 year ago
paulreece
6fe17eabf2
fix: This makes the indeterminate HTML attribute available for use. Fixes #9176 . ( #9180 )
...
Fixes #9176 . This adds indeterminate to the list of HTMLAttributes so that one can use it without receiving an error.
1 year ago
Kelvin Soh
d5a1822428
fix: style directive not updating when style attribute is present and style directive is updated via an object prop. fixes #9185 ( #9187 )
...
fixes #9185 .
I narrowed down the issue to the bug surfacing when we use object properties to update style attributes and directives. This fix removes the size check (because a single object will be of size 1 but can affect n attributes/directives via its properties).
In addition, the order of the OR is switched as the earlier condition has some reactive assignments which are not run in the current order when style_changed_var is truthy.
1 year ago
gtmnayan
115ea1ff4a
fix: do not add module declared variables as dependencies ( #9122 )
...
closes #5943
1 year ago
Puru Vijay
6aca6127ca
site: fix scroll restoration ( #9222 )
1 year ago
Puru Vijay
408ab77420
feat: OnThisPage blog ( #9216 )
...
* feat: OnThisPage blog
### Before submitting the PR, please make sure you do the following
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
- [ ] Prefix your PR title with `feat:`, `fix:`, `chore:`, or `docs:`.
- [ ] This message body should clearly illustrate what problems it solves.
- [ ] Ideally, include a test that fails without this PR but passes with it.
### Tests and linting
- [ ] Run the tests with `pnpm test` and lint the project with `pnpm lint`
* Bump site-kit
* Add content
1 year ago
Ben McCann
8e85b3fa9e
docs: remove typescript faq ( #9108 )
1 year ago
Puru Vijay
1a28d58b5d
feat: Copy code button ( #8995 )
...
* Push
* Bump site-kit
* Add headers to primary snippets
* Update deps
* Bump deos
* redploy
* Back to normal
* Push
* Bump deps
* site: fix rendering of promise in deprecation warning (#9191 )
* copy: true
* Bump site-kit
* Use cache
1 year ago
Conduitry
16504d1f52
docs: add FAQ about why you can't keep unused styles ( #9193 )
1 year ago
Jack Farley
9073241daa
docs: mention escaping of curly braces ( #8560 )
1 year ago
Yeom suyun
b62fc8c8fd
chore: eslint rule for naming convention ( #9208 )
1 year ago
Rich Harris
8667f0fd7e
add teaser page ( #9210 )
...
* add teaser page
* add origin
* host card externally
* fix
* remove unused styles
* redesign
* black bg
* fix og image
* tweak font-sizes and alignment
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Ben McCann
a5cde37bc6
site: remove view transitions from blog ( #9201 )
1 year ago
Dani Sandoval
effeb7abba
docs: "What's new in Svelte" September newsletter ( #9158 )
...
* first draft. sept
* address pr feedback
* forgot a Joy of Code video!
1 year ago
Geoff Rich
0041f11732
site: add view transitions blog post ( #9162 )
...
* site: add view transitions blog post
* Link live demo
* Apply suggestions from code review
Co-authored-by: Geoff Rich <4992896+geoffrich@users.noreply.github.com>
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
1 year ago
Geoff Rich
2188035cea
site: add view transitions and transition blog title ( #9164 )
...
* Add view transitions and transition blog title
* Scope view transitions to /blog routes
1 year ago
Ben McCann
8e76ef156e
site: bump site-kit ( #9157 )
1 year ago
gtmnayan
d5839ef194
fix: head duplication when binding is present ( #9124 )
...
fixes #7879
fixes #4982
1 year ago
Brittney Postma
2691e19b6b
docs: use latest tag when creating vite template ( #9151 )
1 year ago
gtmnayan
fe47621874
chore: fix another playground path ( #9144 )
1 year ago
gtmnayan
213db5d20a
docs: fix easings example glitch ( #9114 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Teo
bd64f07e98
fix: take custom attribute name into account when reflecting property ( #9140 )
...
fixes #9134
1 year ago
Ben McCann
3c9e661f4a
fix: update paths for playground ( #9139 )
1 year ago
Ben McCann
d6f0981452
site: turn off edge serving for REPL ( #9136 )
...
Our core web vitals have really taken a hit since enabling edge serving. I ran various configs against pagespeed.web.dev and the traditional serverless functions do the best. That's at least partially because I believe serverless functions default to running in us-east-1 where our supabase instance is located. Therefore try going back to Serverless for a while to see the impact.
1 year ago
Ben McCann
3d3680cd11
chore: move playground ( #9131 )
1 year ago
Paolo Ricciuti
2d0738244e
feat: add vim mode to repl ( #9135 )
...
* feat: add vim mode to repl
* fix adding url search params
---------
Co-authored-by: Puru Vijay <devpuruvj@gmail.com>
1 year ago
Ben McCann
2f5d573a9d
site: preload fonts ( #9132 )
...
Co-authored-by: Puru Vijay <devpuruvj@gmail.com>
1 year ago
Puru Vijay
f2ead82a40
chore(sites): Bump deps ( #9115 )
...
* Push
* Bump deps
* Bumps deps
1 year ago
Ben McCann
670200c78c
site: remove unused font files ( #9119 )
1 year ago
gtmnayan
d06cfe3723
chore: render head output in playground ( #9123 )
1 year ago
gtmnayan
ba1e67844e
fix: css sourcemap generation with unicode filenames ( #9120 )
...
* fix: css sourcemap generation with unicode filenames
* format
1 year ago
Ben McCann
5a8c1d2caf
site: fix removal of tutorial from search engines ( #9117 )
1 year ago