Commit Graph

602 Commits (202d119e9a22267c2d31bb24c466b861004724f7)

Author SHA1 Message Date
Yuichiro Yamashita b6a400a549
chore: add prettier (#8543)
1 year ago
Simon H d083f8a3f2
feat: custom elements rework (#8457)
1 year ago
Yuichiro Yamashita 384927dbf3
chore: TypeScript to JavaScript + JSDoc for tests (#8526)
1 year ago
Tan Li Hau df2f656557
feat: improve hydration, claim static html elements using innerHTML instead of deopt to claiming every nodes (#7426)
1 year ago
Theodore Brown 1728a8940e fix: bind null option and input values consistently (#8328)
1 year ago
Simon H 9425f18e52
fix: observer PR cleanup (#8484)
1 year ago
esthe 95c46552fe
feat: make `preserveComments` effective in DOM renderer (#7182)
1 year ago
Simon H 68e492eaff
fix: revert buggy reactive vars optimization (#8382)
1 year ago
Lyu, Wei-Da 5c14bc5f01
fix: support es2022 class features (#8355)
1 year ago
Brad Dougherty dd371f58fe
feat: add readyState binding for media elements (#6843)
2 years ago
Tan Li Hau c611f318d2
feat: add stopImmediatePropagation event modifier (#8341)
2 years ago
Tan Li Hau f6dc86f02c
feat: optimise svelte-element output code for static tag and static attribute (#8161)
2 years ago
Cory Virok 32a94fcfc5
chore: implemented a small runtime optimization for SSR (#7539)
2 years ago
4eb0da 9edd2df0d3
fix: check each_blocks is empty on mount (#7505)
2 years ago
adiGuba 69c199feac
fix: race condition in `svelte:element` with transition #7948 (#7949)
2 years ago
Tan Li Hau d16dd5d7ca
feat: add naturalWidth and naturalHeight bindings (#7857)
2 years ago
Tan Li Hau 53de73d08c
feat: simpler output for reactive vars if dependencies are all static (#7942)
2 years ago
Lioness100 5a3a1e488a
fix: correct typos in variable names (#8257)
2 years ago
Jay Harris 4f42daeff7
feat: `trusted-types` CSP compatibility for Web Components (#8135)
2 years ago
Yuichiro Yamashita e1a1c7fa87
[chore] Fix CI (#8160)
2 years ago
Mathias Picker c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
2 years ago
Ramon Snir f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
2 years ago
Billy Levin 88ed9931f2
warn on assignment to const (#4960)
2 years ago
Tan Li Hau 158ec43d99
[fix] do not warn about missing props for bindings (#6583)
2 years ago
Yuichiro Yamashita 433460ec2d
[feat] skip custom element check if <svelte:element> uses under svg (#7869)
2 years ago
Mathias Picker 6ec8ecf799
[fix] render of svg elements when using svelte:element (#7695)
2 years ago
Yuichiro Yamashita 1803290864
[fix] Specify svg namespace if {@html} is used in svg (#7464)
2 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
2 years ago
Tan Li Hau b5aaa6641b
[feat] implement constants in markup (#6413)
3 years ago
Ignatius Bagus 2012124e87
[fix] foreign namespace hash link (#7080)
3 years ago
Bassam Ismail c663104937
[fix] prevent cursor jump for all text inputs (#6941)
3 years ago
Vaibhav Rai b6b7f5c8a4
[fix] properly respect sveltePath when rewriting user imports (#6842)
3 years ago
Conduitry 6735d5422c [chore] fix js sample test
3 years ago
Yuichiro Yamashita fc4797c6f8
[fix] only use optimized 'src' handling for 'html' namespace (#6580)
3 years ago
tomoam 907223cc78
[fix] only rely on `element`/`svg_element` functions if a hydrating component needs them (#6556)
3 years ago
Tan Li Hau f25a995f7b
collapse whitespace in class and style attributes (#6613)
3 years ago
Tan Li Hau c550f604f2
[feat] enable export ... from (#6574)
3 years ago
Tan Li Hau ef14280e28
use simpler insert and append functions when not compiling with hydration (#6525)
3 years ago
Hofer Ivan 5cfefeb6e7
support rendering components in a shadow dom (#5870)
3 years ago
Hasan Altan Birler ecbd96af95
[fix] hydration improvements (#6449)
3 years ago
Tan Li Hau ebaa891e69
[chore] update code-red@0.2.0 (#6425)
3 years ago
Luis Confraria 554d5dd391
Fix preserveComments on ssr (#4736)
3 years ago
zerdox 0df9233fb1
Fix wrong "slot" property warning (runtime) (#6065)
3 years ago
Tan Li Hau 3f990a96ba
Use SSR rendered as initial html for runtime hydration test (#4444)
3 years ago
Pontus Lundin d4f98fb63a
Call onMount when connected & clean up when disconnected for custom element (#4522)
4 years ago
Tan Li Hau 6589aa2548
warn module variables are nonreactive and make them truly nonreactive (#5847)
4 years ago
J Delaney 4f05cc3e3c
don't create class update functions when dependencies aren't reactive (#5926)
4 years ago
Tan Li Hau 08cb3142e9
keep each block value (#5841)
4 years ago
Tan Li Hau 63669330f6
maintain context for keyed each (#5840)
4 years ago
Tan Li Hau a41c7644e6
shift injected declarations to the top (#5837)
4 years ago