Commit Graph

297 Commits (e2ef2b8731a897b36d81d130c78cd4a9019aa41f)

Author SHA1 Message Date
Tan Li Hau 87ed0b2f42
fix await stuck indefinitely without catch (#5402)
5 years ago
Th0rN13 4b59491ea4
Fix: input type number warning in browsers (#4772)
5 years ago
rdb 211fc92e69
Fix current component not being cleared after component update (#4909)
5 years ago
Antony Jones 82dc26a31c
Fix lint warnings (#5263)
5 years ago
Irshad PI e0e434234d
Await: re-throw error when there is no catch block and promise is rejected (#5149)
5 years ago
Tan Li Hau 0ac341d2c6
expose which slots are present in $$slots (#4602)
5 years ago
Simon H aa7e5e32b1
add typings for createEventDispatcher (#5260)
5 years ago
pngwn d81cb83ae0
Add type param to setContext and getContext (#5224)
5 years ago
Tan Li Hau ec0f79c5af
add updating guard to binding callback (#5126)
5 years ago
Tan Li Hau d472bd2f5e
invalidate $$props and $$restProps only when there are changes (#5123)
5 years ago
Bassam Ismail ce3d0461e9
fix(5018): compare wholeText instead of data (#5028)
6 years ago
Bob Fanger 3dfb178739
fix: Parameters with default values are optional (#5083)
6 years ago
Bassam Ismail 46fe407478
make tweened options optional in types (#5068)
6 years ago
Tan Li Hau 787ece66a4
fix bind:group with duplicated values (#4877)
6 years ago
Aria Stewart 0dceb2c281
work around Edge issue when removing attributes during hydration (#4911)
6 years ago
Antony Jones 0f5fe6552d
use common linting configuration (#4942)
6 years ago
Rich Harris b0377cc4e4
fix `{@html}` assuming it lives inside a <div> (#4863)
6 years ago
Rich Harris 3330c3fbab
only add event listeners when a block is first mounted (#4860)
6 years ago
Tan Li Hau 7834ca3c5b
fix slot with context overflow + without let (#4862)
6 years ago
Pat Cavit 40dca5252b
WIP: Don't attempt to unsub if the iframe is destroyed (#4782)
6 years ago
Richard Harris 081f7cd878 dont coerce all falsy values to empty strings
6 years ago
Jeremy Bernier d8fb0bb62c
Fix input with bind:value displaying "undefined"
6 years ago
Pat Cavit ef2a886c83
fix: cache value & cancel tween for instant-set (#4847)
6 years ago
Daniel Imfeld 40d0ea6702
set .value while setting .__value during spread (#4809)
6 years ago
Pat Cavit a08a94ac33
make setting tweened with duration=0 instantly update (#4766)
6 years ago
Maurício Kishi ff5f25249e
support dimension bindings in cross-origin mode (#2989)
6 years ago
Игорь Фролов 085897c799
feat(internal): Support globalThis in modern environments (#4628)
6 years ago
Tan Li Hau b4b57c39a2
clean up event handlers on re-mount (#4493)
6 years ago
Jacob Wright 966aae3420
allow transitions and animations to work within iframes (#3625)
6 years ago
Tan Li Hau ec3589e314
fix hydration of top-level content (#4550)
6 years ago
Tan Li Hau 91d758e35b
introduce $$restProps (#4489)
6 years ago
Conduitry f2ee7efb94
add dev runtime warning for unknown slot names (#4501)
6 years ago
Tan Li Hau 8feb85a61f
fix bitmask overflow for slot (#4485)
6 years ago
Conduitry 138213ca3c
fix dev mode each block validation when using strings (#4451)
6 years ago
rixo cb64fb2ac9
make $capture_state/$inject_state act on entire state (#3822)
6 years ago
swyx 3fbafe33c2
implement Dev mode validation of {#each} block argument (#4419)
6 years ago
Conduitry b6d80f485a
fix indirect bindings on elements with spreads (#4398)
6 years ago
Jordan Gensler 4b04b16fe0 avoid using .shift() in flush() (#4356)
6 years ago
David Kondrad 8e245dc30e Internals: Scheduler: Fix infinite loop in flush (#4316)
6 years ago
Conduitry f01bb639be make autosubscribing to a nullish store a no-op (#4304)
6 years ago
Conduitry 1a343b165c
disallow duplicate each keys in dev mode (#4303)
6 years ago
Conduitry 5107ad38b6
fix deriving from RxJS observables (#4300)
6 years ago
Conduitry 91e0d1b720 fix removing attributes during hydration (#1733)
6 years ago
Tan Li Hau b3582c7fb2 fix hydrating <head> (#4082)
6 years ago
Jesse Skinner e3d66869df fix stringifying of attributes in presence of spread in SSR (#4247)
6 years ago
Tan Li Hau ef56a70acb SSR should only render one <title> (#4250)
6 years ago
Conduitry 3b0c6a1c56 fix $$invalidate getting confused by an undefined third argument (#4170)
6 years ago
Timothy Johnson 646c3df3c6 Pass compiler version in dev events
6 years ago
Tan Li Hau 52dbc882a7 feat order attributes + actions too (#4156)
6 years ago
Tan Li Hau a8b306f0a1 revert remove contextual overflow (#4102)
6 years ago
Tan Li Hau 0bb40196db fix invalidate while update
6 years ago
Tan Li Hau f9a9484e39 fix dirtybit (#4095)
6 years ago
Rich Harris a7db99e2f6 fix bitmask overflow slot updates
6 years ago
Rich Harris 46e6559153 handle slot updates when parent component has a bitmask overflow
6 years ago
das 2b0762f930 Tidy up (#4005)
6 years ago
mrkishi c18f066a9b use raf's time for smoother transitions
6 years ago
Rich Harris cd21acfb3c
Bitmask-based change tracking (#3945)
6 years ago
pngwn e4078f14a8 Add aria-hidden to resize listener object. Fixes #3948.
6 years ago
Rich Harris 05cf649f80
Merge pull request #3627 from simeydotme/3555-fix-flip-scaling
6 years ago
Rich Harris 5b0b2d9fd2
Merge pull request #3893 from NitayRabi/types---allow-access-to-typed-returned-from--.svelte
6 years ago
Rich Harris 280913cca4
tabs
6 years ago
Nitay Rabinovich 3593dd308c Export SvelteComponentDev as API
6 years ago
Tan Li Hau b382b9a9c6 add loopGuardTimeout options
6 years ago
Nitay Rabinovich 97e44099b5 Fix linting and exporting
6 years ago
Nitay Rabinovich a7a75cb550 Rexport SvelteComponent as SvelteComponent API
6 years ago
Richard Harris 80bfcea92a add type info for createEventDispatcher - fixes #3877
6 years ago
Richard Harris 47cac13b7d helperise loop protection
6 years ago
Rich Harris 20451658c1
Merge pull request #3823 from leomarquine/fade-easing
6 years ago
Tan Li Hau aa0341c9ca Don't create a fragment at all for DOM-less components
6 years ago
Leonardo Marquine 46e9e94a99 Add easing param to fade transition
6 years ago
Rich Harris 1273f97808
Merge pull request #3811 from sveltejs/gh-3508-alt
6 years ago
Richard Harris 9d118275d3 add has_prop helper
6 years ago
Richard Harris de2b1a6a0d use hasOwnProperty, simplify prop object construction
6 years ago
Rich Harris e931a56854
Merge pull request #3762 from sveltejs/gh-3761
6 years ago
Richard Harris e8f5b24143 docs and a fix for #3761
6 years ago
Richard Harris 47a9811c1e alternative fix for #3508
6 years ago
Conduitry 2b71798dd2 fix binding to aliased props (#3508)
6 years ago
Conduitry 9f48d1a5fd
fix SSR spread with boolean attributes (#3797)
6 years ago
Conduitry 85692cbd5a
fix handling of style scoping and `class:` with spread scopes (#3792)
6 years ago
mrkishi 1f6e0eb316 improve derived store typing for users
6 years ago
Conduitry f68b3a3b8c
Fix boolean attributes in presence of spread attributes (#3775)
6 years ago
Rich Harris 714508ccc5 allow spring/tweened values to be initially undefined - closes #3761
6 years ago
Rich Harris 99911c31f5
Merge pull request #3579 from tcrowe/set-attribute-only-if-different
6 years ago
Ryan Atkinson b02638b43d fix type of derived store callback function
6 years ago
pngwn 57aeddcf85 Prevent element property set from throwing errors for readonly properties. Fixes #3681.
6 years ago
Conduitry 43245a30fd Revert "chore: resolve TODO for reusing of TransitionConfig"
6 years ago
Chris Helgert 30bf5fe958 chore: resolve implicit any in animate/index.ts
6 years ago
Chris Helgert 0831887ef9 chore: resolve TODO for reusing of TransitionConfig
6 years ago
davidaq 0eb825b458 Change HTMLElement type check
6 years ago
Tan Li Hau 7d9262c421 fix reactive updates not reflected when handle promise (#3660)
6 years ago
Tan Li Hau d54ef0ca0c should throw error if createEventDispatch is used after instantiation
6 years ago
simeydotme fbf4cbf22c Calculate scale factor of elements in FLIP animations
6 years ago
Tony Crowe 552f19b327 check if the attribute value is different before setting it
6 years ago
Rich Harris 3d0a3cd943
Merge pull request #3005 from RedHatter/devtools
6 years ago
Rich Harris dc47fc741a
Merge pull request #3306 from cvlab/master
6 years ago
Richard Harris a821aa7a15 merge sveltejs/master -> devtools
6 years ago
Richard Harris 3f33d35573 handle special null case when hydrating
6 years ago
Rich Harris d8b4dd74fb
Merge pull request #3533 from sveltejs/gh-3512
6 years ago
Richard Harris 46bfaff1e6 inline $$invalidate calls - fixes #3512
6 years ago
Richard Harris 8519003618 only use setAttribute with SVG spread props - fixes #3522
6 years ago
Richard Harris d80bcadf3c move tests to runtime section
6 years ago
Richard Harris c48325f7bd add opacity/easing parameters to blur transition
6 years ago
Richard Harris 8196c194dd merge master -> vaibhav111tandon-master
6 years ago
Arpad Borsos fe8ca05865 Introduce a `claim_space` helper
6 years ago
Vaibhav Tandon efa17333c9
Edited: Added Blur transition
6 years ago
vaibhav111tandon df2164df78 Added a blur transition
6 years ago
Rich Harris b567eb2677
Merge pull request #3435 from sveltejs/gh-1834
6 years ago
Rich Harris 0f65b6cc9d set context in await blocks - fixes #2443
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 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
Richard Harris d9206fb3cc simplify self function, use this instead of el
6 years ago
Samuel Elgozi 7342d484f1 feat: #3372 added a new `self` event modifier
6 years ago
Conduitry c069aba49a tidy types
6 years ago
Richard Harris 60467f674c appease typescript
6 years ago
Richard Harris 4a2bb526ae oops
6 years ago
Richard Harris 7912d7c901 merge master -> null-transition
6 years ago
Richard Harris 0c9ed46196 correctly set mount anchor for HTML tags - fixes #2711
6 years ago
Richard Harris 4d0256874e remove unused helpers
6 years ago
Richard Harris 016158b692 more robust handling of html tags - fixes #3285
6 years ago
Vadim Cebaniuc 5c5339e71c
Merge branch 'master' into master
6 years ago
Vadim Cebaniuc 53aed12048 Fix spread function result side effects
6 years ago
Richard Harris 119fdd1bc9 Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris 8641df0741 use export as instead of creating a new binding
6 years ago
Rich Harris eaec840e77
Merge branch 'master' into gh-3283
6 years ago
Rich Harris 76d04dce9b
Merge pull request #3334 from Conduitry/gh-3324
6 years ago
Richard Harris c82a9ea7f2 omit falsy boolean attributes
6 years ago
Conduitry b44a876ff4 make raf a noop on server (#3324)
6 years ago
Richard Harris c53563b207 failing SSR test, plus some adjacent changes
6 years ago
Richard Harris 6d962c5d95 make code style more consistent
6 years ago
bre30kra69cs 42717e893b ref spaces
6 years ago
bre30kra69cs ccf2ad819a optimize class name runtime calc & add tests & ref
6 years ago
Conduitry cf5dd8ff75 support RxJS Observables in reassigned stores (#3304)
6 years ago
Rich Harris 95b2a72007
return readable store directly form derived, avoid .shift()
6 years ago
Brian Takita 419e40d3be Optimization: Single for loop instead of 2 forEach loops
6 years ago
Brian Takita 2b0a4e7237 remove unnecessary return
6 years ago
Brian Takita 46c9dbe448 Breadth first calling of subscribers in store dependency tree.
6 years ago
Brian Takita bbeafbafab fixes https://github.com/sveltejs/svelte/issues/3191
6 years ago
Rich Harris 283152f1fb
Merge pull request #3209 from sveltejs/gh-2086-2
7 years ago
Dale 1cfaacb02a make resize listener object element unfocusable
7 years ago
Rich Harris 2f08e34b41 prevent outro groups getting muddled up - fixes #2086
7 years ago
Rich Harris af0d9ed1d3 Merge branch 'master' into gh-3113
7 years ago
Richard Harris 7703140793 -> v3.6.5
7 years ago
Richard Harris 8f959559d5 -> v3.6.5
7 years ago
Rich Harris 1056951dcb
Merge pull request #3170 from sveltejs/gh-3153
7 years ago
Stefan Buhrmester 757ebc7254
fix transform origin during scaling
7 years ago
Stefan Buhrmester 83e9d49cc9 make crossfade scale the element to target rect
7 years ago
Richard Harris f4ca063c85 prevent dynamic components being detached twice - fixes #3113
7 years ago
Rich Harris 2d5f11a308 handle rxjs-style observables with get_store_value - fixes #3153
7 years ago