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
Simon H
d2ed2ca329
docs: note ambient module info ( #9106 )
1 year ago
Romain l'Ourson
da3cc6c0a0
fix: typo ( #9102 )
1 year ago
Andy Pan
037b6ce312
docs: Fix a regression for a quoted-attribute example ( #9103 )
...
* Fix a doc regression for a quoted-attribute example
* Prettier ignore
---------
Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com>
1 year ago
Eric Liu
3597cedbd8
docs: fix typo in August newsletter ( #9100 )
1 year ago
github-actions[bot]
50c270a54d
Version Packages ( #9096 )
...
---------
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
Lyu, Wei-Da
05f99d20f9
feat: move svelteHTML to load the correct svelte/element ( #9070 )
...
Make IntrinsicElements extends SvelteHTMLElements
so it can be extend with declare module
converting to module so it can extend without needing another type alias
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
Artxe2
8b1cdde548
fix:change typescript url ( #9093 )
1 year ago
Nguyen Tran
f4c4d99e13
fix: add test so #6009 doesn't regress ( #9075 )
...
closes #6009
1 year ago
Puru Vijay
3173fdde89
chore: Sitekit footer ( #9072 )
...
* Push
* Bump site-kit
1 year ago
Alpay
ea2b5700ca
docs: fix link ( #9071 )
1 year ago
Puru Vijay
dd04d753d2
chore: Try Section ( #9059 )
...
* Commit
* bump deps
* remove redundant @types
1 year ago
Михаил Туник
6f73afb497
chore: refactor return statement in `_distance` function ( #9025 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Dani Sandoval
abf257306b
docs: "What's new in Svelte" August newsletter ( #9034 )
1 year ago
github-actions[bot]
a08ae0f555
Version Packages ( #9037 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
hackape
99a3cc93b6
fix: allow child element with slot attribute within svelte:element ( #9038 )
...
fix #9018
1 year ago
Ben McCann
ce047651e5
docs: update component directives page ( #9040 )
1 year ago
Ben McCann
d6abd0a604
docs: clarify performance concerns around props and restProps ( #9047 )
...
* docs: clarify performance concerns around props and restProps
* Update documentation/docs/02-template-syntax/02-basic-markup.md
1 year ago
Teo
01cbb661d0
chore: remove duplicate condition in `if` statement ( #9023 )
1 year ago
Conduitry
959825c7c4
chore: fix tests on Node 18.17.0 ( #9049 )
1 year ago
Paolo Ricciuti
a71f3595a3
fix: Add data-* to svg attributes ( #9036 )
...
* Add data-* to svg attributes
* Create twelve-suits-drive.md
1 year ago
Kai Erik Niermann
5cd4f7750e
docs: add parenthesis back to regex literal example ( #9027 )
...
* fix: added parenthesis to literal notation example
* add prettier-ignore
---------
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
1 year ago
Posandu Mapa
7af165de09
docs: make transition global in deferred transition example ( #9020 )
1 year ago
Lennard Langenbruch
60cd0ec950
fix: update link for doucmentation & sites in README ( #9014 )
1 year ago
github-actions[bot]
6827709373
Version Packages ( #9008 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
hackape
a2b6401c43
fix: `svelte:component` spread props change not picked up ( #9006 )
...
fix #9003 , amend #8946 (comment)
1 year ago
Jo Burgard
3dccf711f8
Fix error in example in 03-typescript.md ( #9001 )
1 year ago
github-actions[bot]
5d66f96d01
Version Packages ( #8928 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
Nguyen Tran
f8283fbc77
fix: remove let variable from select binding dependencies ( #8969 )
...
Fixes #2943
The issue linked above invalidates a variable that is not defined in <script> but instead is defined as a let: variable, which does not make sense to invalidate, therefore, this PR exists.
1 year ago
Simon H
cb1358cc41
fix: don't add accessor twice ( #8996 )
...
In dev mode, Svelte creates a setter to throw an error noting that you can't set that readonly prop, which resulted in the accessor getting applied twice to the custom element wrapper, causing an error
fixes #8971
1 year ago
Simon H
657f11376c
feat: add ability to extend custom element class ( #8991 )
...
This should help everyone who has special needs and use cases around custom elements. Since Svelte components are wrapped and only run on connectedCallback, it makes sense to expose the custom element class for modification before that.
- fixes #8954 / closes #8955 - use extend to attach the function manually and save possible values to a prop
- closes #8473 / closes #4168 - use extend to set the proper static attribute and then call attachInternals in the constructor
- closes #8472 - use extend to attach anything custom you need
- closes #3091 - pass `this` to a prop of your choice and use it inside your component
- add some doc for #8987
1 year ago
Ben McCann
4bbb5454e2
perf: optimize imports that are not mutated or reassigned ( #8948 )
...
this means such imports are seen as static and subsequently Svelte needs to generate way less code
1 year ago
SpokenTurnip99
479e8744c5
docs: change fade to fly to match the tutorial ( #8982 )
...
In Transitions / Key Blocks the documentation showed a fade transition and this was not in sync with the tutorial which used a fly transition.
1 year ago
Aymeric-Henry
13286cfe42
fix(styling): fix styling on documentation for lesson 8-h ( #8990 )
1 year ago
Puru Vijay
f10ec8350d
fix(site): Optimise contributors donors images ( #8956 )
1 year ago
gubo97000
d2d219f8ca
docs: changed path color for better visibility with dark theme ( #8957 )
1 year ago
Prajapati omkar
3c0bdcdb72
fix: css in examples directory. ( #8977 )
...
* Update App.svelte
CSS Fixes in span element.
* Add space
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Romain l'Ourson
c1d3d58088
docs: remove compiler duplicate paragraph ( #8980 )
...
Co-authored-by: Romain Crestey <romain.crestey@radiofrance.com>
1 year ago
Puru Vijay
fc7c7770b9
Push ( #8967 )
1 year ago
Fanny
f41ff96c3a
docs: fix typo ( #8966 )
1 year ago
gtmnayan
afcf853b65
docs: update migration guide bundler conditions section ( #8965 )
...
#8953 / #8961
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
1 year ago
Puru Vijay
9da320b151
chore(site): LightningCSS ( #8929 )
...
* use lighteningcss
* Update sites/svelte.dev/package.json
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update vite
* use browserlist
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
gtmnayan
33fd631b5f
chore: upgrade dependencies ( #8939 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
gtmnayan
20dac2ae12
fix: handle patterns in destructured literals ( #8871 )
...
fixes #8863
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Romain l'Ourson
258ccf204b
docs: add category heading in docs pages ( #8918 )
...
Co-authored-by: Romain Crestey <romain.crestey@radiofrance.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Ben McCann
85d49404d3
site: specify width/height and fix prettier ( #8917 )
1 year ago