Commit Graph

111 Commits (b6a400a549a3696d2567f4457b92056af739e4ac)

Author SHA1 Message Date
Yuichiro Yamashita b6a400a549
chore: add prettier (#8543)
2 years ago
Simon Holthausen 418f4c2381 Merge branch 'master' into version-4
2 years ago
Tan Li Hau df2f656557
feat: improve hydration, claim static html elements using innerHTML instead of deopt to claiming every nodes (#7426)
2 years ago
gtmnayan 1964535adf
fix: interpolated style directive updates properly with spread (#8505)
2 years ago
Simon H 9425f18e52
fix: observer PR cleanup (#8484)
2 years ago
Cymaera 0adc09da97
feat: add support for resize observer bindings (#8022)
2 years ago
Yuichiro Yamashita a2170f5bd5
fix: use `wholeText` for only `contenteditable` for `set_data` (#8394)
2 years ago
Dave Lunny f56fe33931
feat: `bind:innerText` for `contenteditable` (#4291)
3 years ago
Bob Fanger fb5f281e9a
fix: Prevent intro from cancelling outro (#7300)
3 years ago
gtmnayan 7578af3a11
fix: retain style directive value after style attribute is updated (#7610)
3 years ago
Tan Li Hau 0966d1d282
feat: improve `bind:group` behavior (#7892)
3 years ago
Brad Dougherty dd371f58fe
feat: add readyState binding for media elements (#6843)
3 years ago
Tan Li Hau f6dc86f02c
feat: optimise svelte-element output code for static tag and static attribute (#8161)
3 years ago
Nico Beierle 474a13ad90
fix: prevent undefined value when remount keyed input element with spread props (#7699)
3 years ago
adiGuba 69c199feac
fix: race condition in `svelte:element` with transition #7948 (#7949)
3 years ago
Yuichiro Yamashita 60a205edb8
fix: don't set selected option(s) if value is unbound or not passed (#8329)
3 years ago
Tan Li Hau d16dd5d7ca
feat: add naturalWidth and naturalHeight bindings (#7857)
3 years ago
Mathias Picker c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
3 years ago
Ramon Snir f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
3 years ago
gtmnayan bee1851faa
[feat] `|important` modifier for style directive (#7489)
3 years ago
Hofer Ivan 739bfaec12
[chore] add missing types to `compiler/compile/render_dom` functions and variables (#7777)
3 years ago
Hofer Ivan 0eba57113b
[chore]: store regexp as variable instead of defining it inline (#7716)
3 years ago
Yuichiro Yamashita 433460ec2d
[feat] skip custom element check if <svelte:element> uses under svg (#7869)
3 years ago
Yuichiro Yamashita 5adac302c0
[fix] call attribute bindings for custom element if <svelte:element> render custom element (#7766)
3 years ago
Mathias Picker 6ec8ecf799
[fix] render of svg elements when using svelte:element (#7695)
3 years ago
Yuichiro Yamashita 3570a5361e
[fix] Apply class directive properly after half way transition (#7765)
3 years ago
Yuichiro Yamashita 6776fe03fd
fix to apply class directive for svelte:element (#7531)
3 years ago
Matteo Baccan 0ed6ebef9d
[fix] remove duplicate semicolon (#7534)
3 years ago
Yuichiro Yamashita 0d017f4820
[fix] rendering void tag for `<svelte:element>` (#7453)
3 years ago
Yuichiro Yamashita 1f1750e72e
[fix] always use `set_attributes` for attribute of `<svelte:element>` (#7486)
3 years ago
lidlanca fb341cca2c
[fix] textContent should not be set for <template> element. (#7297)
3 years ago
Yosuke Ota 3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` (#7280)
3 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
3 years ago
Pat Cavit 9f4602ac6f
[fix] style: directive should prevent innerHTML optimization (#7390)
3 years ago
Simon H be3d82733f
[fix] prevent maximum call stack size exceeded error on large pages (#7203)
4 years ago
Tan Li Hau dc06ea916e
fix: style directive not reactive in {#each} loop (#7140)
4 years ago
GHOST c67f8ef14c
[fix] handle kebab case style directives (#7123)
4 years ago
Paul Murray 8a47b5ec9e
[feat] Style directives (#5923)
4 years ago
Tan Li Hau 9f2b5afdf7
[fix] binding member expression should only invalidate the object, not the member property (#7008)
4 years ago
Shinobu Hayashi fc9241fea9
[fix] handle undefined select value with spread (#6687)
4 years ago
tomoam 907223cc78
[fix] only rely on `element`/`svg_element` functions if a hydrating component needs them (#6556)
4 years ago
Yuichiro Yamashita c8732c8a27
[fix] create in transition even if intro is initialized (#6516)
4 years ago
Bjorn Lu 71c29bbf35
[fix] dynamic autofocus (#6494)
4 years ago
Tan Li Hau 8c66acfa92
fix one-way <select> bind with spread (#6512)
4 years ago
Tan Li Hau 2cec6a94bc
[feat] sourcemap markup (#6427)
4 years ago
Tan Li Hau 3f990a96ba
Use SSR rendered as initial html for runtime hydration test (#4444)
4 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> (#4556)
5 years ago
J Delaney 4f05cc3e3c
don't create class update functions when dependencies aren't reactive (#5926)
5 years ago
Ben McCann 37b1a20c17
Add spaces next to infix operators (#5902)
5 years ago
Tan Li Hau 63669330f6
maintain context for keyed each (#5840)
5 years ago