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
Puru Vijay
a11bc21549
chore: bump repl 0.5.0-next.12
1 year ago
Jakub Koleżyński
68ad1883c9
site: todos in `animate` tutorial render weird due to typo ( #8952 )
...
* svelte.dev/tutorial/animate - todos render weird on chrome without display: block;
* fix typo
1 year ago
Nguyen Tran
66593c62f4
fix: svelte:component evaluates props once ( #8946 )
...
Fixes #6634
1 year ago
Jakub Koleżyński
1d05020f10
docs: add display block to todos tutorial ( #8951 )
1 year ago
Dana Woodman
398904894e
docs: Make "unquoted" example actually unquoted ( #8937 )
1 year ago
Ben McCann
ff7a4c07d7
chore: fix broken script for generating parser tests ( #8945 )
...
---------
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
Ben McCann
8601195a85
docs: add a couple internal JSDocs and cleanup from TS migration ( #8940 )
1 year ago
gtmnayan
895709c6a2
docs: update svg transition example for v4 ( #8947 )
1 year ago
Enrico Sacchetti
02099d9d75
docs: update Typescript elements link ( #8938 )
1 year ago
gtmnayan
ff76531bd6
fix: correct contributors image file name ( #8942 )
1 year ago
Ben McCann
f218699d71
site: block tutorial from search engines ( #8932 )
1 year ago
Puru Vijay
828276f06b
chore: Skip playwright instaling browsers ( #8935 )
...
* Push
* try npmrc route
* Rootnpmrc
* Add command to install chromium for running tests
1 year ago
github-actions[bot]
3ff0084dc3
Version Packages ( #8925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
Tan Li Hau
daba0fc9d2
docs: fix contrast for component-binding example ( #8920 )
1 year ago
Tan Li Hau
a23fcc0f67
docs: choose a color that looks great on both dark and light theme ( #8921 )
1 year ago
Tan Li Hau
d9529a39e3
fix: hackernews example link colors contrast in dark mode ( #8922 )
1 year ago
Simon H
132dd7906a
docs: preprocessor migration details ( #8927 )
...
closes #8916
1 year ago
Puru Vijay
70426be84a
feat(site): Deploy to edge ( #8873 )
...
* Try edge
* Fix errors
* Improvements
* Minor fixes
* Simplify docs layout logic
* Persist session true
* try regions all
* Push new promise-based infra
* pnpm install
* Remote debugging
* Refine
* try to disable prerender for examples
* text
* Weird hack
* url
* log params
* Try param matcher
* try some restructuring
* Leftover
* remove console log
* More async, remove node-fetch
* Fix
* New fixes
* Undo changes
* back to site-kit next 18
1 year ago
Puru Vijay
76baa07879
feat: On this page mobile ( #8782 )
1 year ago
Lyu, Wei-Da
0a2732a2b0
fix: generate type definition with nullable types ( #8924 )
...
This results in `undefined` and `null` being added explicitly in places which is crucial in some situations
1 year ago
Alex Morgan
bb5d3948ed
docs: matches hint with existing structure and solution ( #8915 )
1 year ago
Simon Holthausen
d516bb06e1
docs: add eslint migration
1 year ago
Puru Vijay
2d6dacdb4c
chore: REPL 0.5.0-next.11
1 year ago