Commit Graph

170 Commits (d35d9045f633a7dd8e3bd89bd6b9d1376c1a6625)

Author SHA1 Message Date
Bassam Ismail c663104937
[fix] prevent cursor jump for all text inputs (#6941)
4 years ago
Ben McCann dbbac2837e
[chore] upgrade eslint packages (#6769)
4 years ago
Yuichiro Yamashita fc4797c6f8
[fix] only use optimized 'src' handling for 'html' namespace (#6580)
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
Hasan Altan Birler ecbd96af95
[fix] hydration improvements (#6449)
4 years ago
Tan Li Hau 2cec6a94bc
[feat] sourcemap markup (#6427)
4 years ago
Dennis Kaspar b464320607
Add trusted modifier (#6149)
4 years ago
Tan Li Hau 7d39e676c5
bind this in bubbled events (#6417)
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
halfnelson a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652)
5 years ago
Tan Li Hau 63669330f6
maintain context for keyed each (#5840)
5 years ago
Tan Li Hau 662d9b44e6
fix checkbox bind:group when index depends on another context (#5835)
5 years ago
Tan Li Hau 9331398299
support spread into slot props (#5616)
5 years ago
Ben McCann 240f5410f3
Curly brace cleanup and enforcement (#5647)
5 years ago
Ben McCann 7ea6a2994a
Curly braces linting fixes (#5585)
5 years ago
Andreas Ehrencrona ddf13211af
Updated to ESLint config 5.4.0 (#5541)
5 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
5 years ago
Tan Li Hau 8056829a91
allow <slot> to be part of a slot (#4295)
5 years ago
Tan Li Hau a1651ca271
add nonpassive event modifier (#5442)
5 years ago
Tan Li Hau 338cf877bc
maintain context for transition (#5392)
5 years ago
Tan Li Hau 8a28d1bb38
valid XHTML syntax in innerHTML for static elements (#5317)
5 years ago
Tan Li Hau c752ed3527
handle undefined input value with spread (#5291)
5 years ago
Antony Jones 82dc26a31c
Fix lint warnings (#5263)
5 years ago
Tan Li Hau 4021063305
spread condition for input element (#5004)
5 years ago
Tan Li Hau 55c809624d
fix collapsing HTML with static content (#5059)
5 years ago
Tan Li Hau 6289dfcdcd
fix <select> one-way bind when options change (#5054)
5 years ago
Tan Li Hau 38de3b2e9f
fix bind:group in each (#4868)
5 years ago
Tan Li Hau 787ece66a4
fix bind:group with duplicated values (#4877)
5 years ago
Tan Li Hau bf6c74fb17
fix binding for each block local variable (#4861)
5 years ago
Ben McCann e606a0c878
Use namespaces.svg constant (#4952)
5 years ago
Tan Li Hau 24ef4e1181
set select multiple value with spread (#4894)
5 years ago
Tan Li Hau e34f208843
reselect <select> when the option values change (#4885)
5 years ago
Robert Hall 7fe1384f43
Property "muted" for <audio> and <video> (#4690)
5 years ago
Conduitry f111cf6881
deconflict `anchor` variable name (#4769)
5 years ago
pushkin 7ac3e6021a
use value check instead of guard for number inputs (#4689)
5 years ago
Maurício Kishi ff5f25249e
support dimension bindings in cross-origin mode (#2989)
5 years ago
Conduitry b6d80f485a
fix indirect bindings on elements with spreads (#4398)
6 years ago
Conduitry d78f32ee5a
fix arrow function precedence (#4385)
6 years ago
Conduitry b39282a918
apply event modifiers to <svelte:body> events (#4279)
6 years ago
Tan Li Hau 7fb35dd0dc fix safari input jumping
6 years ago
David Kondrad 8a596936d2 dynamic events: validate handler before executing (#4105)
6 years ago
Tan Li Hau 52dbc882a7 feat order attributes + actions too (#4156)
6 years ago
Colin Casey abe88f3b3a FIX #2446: apply bindings and event handlers in order
6 years ago
das 2b0762f930 Tidy up (#4005)
6 years ago
Timothy Johnson ce0a169689 Fix listen_dev argument order
6 years ago
Rich Harris cd21acfb3c
Bitmask-based change tracking (#3945)
6 years ago
Mattias Buelens f2f87d126c Add bindings for HTMLVideoElement.videoHeight and videoWidth
6 years ago
Mattias Buelens 79d3763e92 Rename internal resize event for dimension bindings
6 years ago
Rich Harris 004faf67f4
Merge pull request #3650 from MattiasBuelens/more-media-bindings
6 years ago
Tan Li Hau 8237db4422 fix text content escape html (#3916)
6 years ago
Mattias Buelens ed4f89d7fa Add mount condition for playbackRate and volume
6 years ago
Mattias Buelens 92710f8280 Refactor mount code rendering for bindings
6 years ago
Mattias Buelens 39c009499e Add binding for HTMLMediaElement.ended
6 years ago
Mattias Buelens 5658d94545 Add binding for HTMLMediaElement.seeking
6 years ago
PaulMaly 3b148b6635
User `let` instead `var` for loop index
6 years ago
Rich Harris 5c08465cfa
Merge pull request #3871 from AlbertLucianto/fix/bind-value-fails-range-max
6 years ago
Rich Harris 1b454bad4a
Merge pull request #3884 from sveltejs/gh-3882
6 years ago
Richard Harris 11b030b101 neaten up hydration code - fixes #3882
6 years ago
Richard Harris e3b1d467ce revert #3723, add special case for src attributes
6 years ago
AlbertLucianto 149929b92d reorder add attributes to fix value validation
6 years ago
Tan Li Hau b22abc7936 fix undefined class with scoped-css
6 years ago
Tan Li Hau 105919e7ba feat dynamic event handler
6 years ago
Tan Li Hau 6d8fc8646f escape html quotes
6 years ago
Tan Li Hau 2b2f40d32a use textContent instead of innerHtml, preventing XSS
6 years ago
Tan Li Hau 464868bb6c feat: allow innerHtml if no dynamic dependencies
6 years ago
Conduitry 85692cbd5a
fix handling of style scoping and `class:` with spread scopes (#3792)
6 years ago
Conduitry 0419039d26
Don't lose `class:` directive classes on an element with `{...spread}` attributes when updating (#3781)
6 years ago
Conduitry f68b3a3b8c
Fix boolean attributes in presence of spread attributes (#3775)
6 years ago
Tan Li Hau e14197d944 remove component locator
6 years ago
Richard Harris 8aa98795a1 dont cache attribute values (ref #3579)
6 years ago
Tan Li Hau 982a1937db fix binding shadow the array in each block (#1565)
6 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
6 years ago
Richard Harris a821aa7a15 merge sveltejs/master -> devtools
6 years ago
Rich Harris fafb39093c
Merge pull request #3534 from btk5h/gh-3455
6 years ago
Rich Harris 1a9f6b4a09
Merge pull request #3530 from sveltejs/gh-3524
6 years ago
Rich Harris b6905f8fa3
Merge pull request #3529 from sveltejs/gh-3526
6 years ago
Bryan Terce 63f69390fd
Remove redundant store check
6 years ago
Bryan Terce 0a4caeb7e9
Add store data to bindings
6 years ago
Richard Harris 4ad36406bc doh
6 years ago
Richard Harris 8519003618 only use setAttribute with SVG spread props - fixes #3522
6 years ago
Richard Harris 63ae77112c robustify bind:currentTime - fixes #3524
6 years ago
Richard Harris 84ab1b1b8b only update attributes with dynamic dependencies - fixes #3526
6 years ago
Richard Harris 02e48ab4f0 alternative fix for #3495
6 years ago
Rich Harris b567eb2677
Merge pull request #3435 from sveltejs/gh-1834
6 years ago
Almaz 012ed466d7 Fixed unnecessarily style properties update
6 years ago
Richard Harris 157db0c814 lint
6 years ago
Richard Harris fa222e785a Merge branch 'master' into gh-1834
6 years ago
Richard Harris 97f3d56e0c handle important declarations in inline styles - fixes #1834
6 years ago
Rich Harris 63a7a37bb7
Merge pull request #3432 from sveltejs/gh-1830
6 years ago
Richard Harris d720f0bb00 bail out of style tag optimisation when appropriate - fixes #1830
6 years ago
Rich Harris dcd927630e dont set undefined input value - fixes #1233
6 years ago
Richard Harris 7836f409aa support is attribute, with a warning - fixes #3182
6 years ago
Conduitry 64094f631f set data- attributes like regular attributes (#3337)
6 years ago