Sang
18d9fb56f7
Export store's useful typescript definitions ( #5887 )
...
fixes #5864
4 years ago
Simon H
4e346b9970
Update unreleased
4 years ago
Umang Galaiya
27a61a709b
Export interfaces for transition params ( #5221 )
...
fixes #5207
4 years ago
AmirHossein Ahmadi
e6d9c5f0e3
Export the EasingFunction type ( #6056 )
4 years ago
Tim
dd7b5afbf0
export interfaces Spring and Tweened ( #6122 )
...
fixes #6070
4 years ago
JounQin
50dcc2aaa4
chore: add `this: void` typing to store functions ( #6094 )
...
This is necessary so ESLint does not complain about possibly unbound method access
fixes https://github.com/sveltejs/eslint-plugin-svelte3/issues/102
4 years ago
Stephane
42a9431e70
Link to Svelte Society instead of old Community site ( #6043 )
4 years ago
Ben McCann
f20c5ede30
Update FAQ for SvelteKit beta ( #6124 )
4 years ago
Rich Harris
798d1f9b5a
add "what is sveltekit" section
4 years ago
Rich Harris
1a906dffe1
tweak aside placement
4 years ago
Rich Harris
5655e46dac
fix blog post date
4 years ago
Rich Harris
4b8ddc3469
SvelteKit beta launch post ( #6120 )
...
* kit beta announcement post
* tweak
4 years ago
Geoff Rich
ce3a579125
docs: update 7gui example links ( #6052 )
4 years ago
Conduitry
c56653dfd6
-> v3.35.0
4 years ago
Conduitry
2853be1ff2
update changelog
4 years ago
Daniel Sandoval
22355a3a34
"What's new in Svelte" March newsletter ( #6033 )
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Don Denton <don@happycollision.com>
4 years ago
Simon H
423a7f2e61
Add "Where can I get support?" to FAQ ( #6036 )
...
* Add "Where can I get support?" to docs
Related to the discussion in #6035
4 years ago
Tan Li Hau
1d6e20f2a9
implement <svelte:fragment> ( #4556 )
...
add validation and test
replace svelte:slot -> svelte:fragment
slot as a sugar syntax
fix eslint
4 years ago
Conduitry
c4479d976b
revert to v1 lockfile
4 years ago
Rich Harris
f792c14492
-> v3.34.0
4 years ago
Rich Harris
2925a00eff
add cssHash option ( #6026 )
...
* Allow to customize the css scope class
* Pass component name to scope class generator
* Move Stylesheet arguments into an object
* Refactor to cssHash
* Please the almighty linter
* pass hash function to cssHash
* update test
* document cssHash option
Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
4 years ago
Conduitry
5c8807e523
-> v3.33.0
4 years ago
Tan Li Hau
d17a90cc44
allow destructured defaults to refer to variables ( #5986 )
...
Co-authored-by: M. Habib Rosyad <habib@volantis.io>
Co-authored-by: Conduitry <git@chor.date>
4 years ago
Tan Li Hau
b764374b62
no warning on contextual-store if declaring it as a parameter / variable ( #6008 )
4 years ago
Conduitry
8ea4fb1106
update changelog
4 years ago
Conduitry
9a9b934a08
work around publishing issue with npm v7 ( #5983 )
4 years ago
Miłosz Wiśniewski
5e293f9b0f
chore: remove unnecessary indent_size from editorconfig ( #5992 )
4 years ago
Antony Jones
6928f9492c
Emphasis on method name
4 years ago
Antony Jones
48b56bd819
Update changelog
4 years ago
Pontus Lundin
d4f98fb63a
Call onMount when connected & clean up when disconnected for custom element ( #4522 )
...
* call onDestroy when disconnected
* lifecycle hooks and custom elements
- Call onMount in connectedCallback for customElements
- register onMount return values as on_disconnect-callbacks for customElements
- run on_disconnect callbacks in disconnectedCallback
* do not reset on_mount so that it can fire again if reinserted
* simpler isCustomElement & skip extra function call
- pass options.customElement down to mount_component
- remove expensive isCustomElement check
- only call add_render_callback if not customElement
Co-authored-by: Pontus Lundin <pontus.lundin@ica.se>
4 years ago
Conduitry
d3f3ea38d0
-> v3.32.3
4 years ago
Tan Li Hau
e8094df779
fix remove of lone :host selectors ( #5984 )
4 years ago
Conduitry
160a4eccd1
-> v3.32.2
4 years ago
Conduitry
341948e166
update changelog
4 years ago
pushkine
a9c1dc9b59
fix extra invalidation with component prop binding to object property ( #5890 )
4 years ago
Tan Li Hau
8867bc31c2
update css-tree@^1.1.2 ( #5958 )
4 years ago
Tan Li Hau
44f41c9edd
fix :host and :global css scoping ( #5957 )
4 years ago
Alexis Ménard
ebbdb4277c
Tutorial : a better explanation of component events ( #4639 )
...
* feat(tutorial): better explanation of component events
Co-Authored-By: Antony Jones <ant@enzy.org>
4 years ago
Daniel Sandoval
8db3e8d029
"What's new in Svelte" February newsletter ( #5925 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
4 years ago
Shriji
c3caa29590
Change color on 404 page ( #5932 )
...
The colors on broken pages have `#da106e` and is not a part of `theme-default` in site-kit.
4 years ago
Conduitry
df191385f5
-> v3.32.1
4 years ago
Tan Li Hau
6589aa2548
warn module variables are nonreactive and make them truly nonreactive ( #5847 )
4 years ago
Conduitry
dd7403ade4
update changelog
4 years ago
Saurav Sahu
87417e5a7b
fix: "foreign" namespace elements should still allow binding 'this' ( #5942 )
4 years ago
pushkine
eeeeb49986
inline `prop_values` in `init` helper ( #5909 )
4 years ago
Conduitry
47baa1965d
update changelog
4 years ago
J Delaney
4f05cc3e3c
don't create class update functions when dependencies aren't reactive ( #5926 )
4 years ago
Tan Li Hau
6207596175
fix extraneous store subscription in SSR ( #5929 )
4 years ago
Simon H
0f3264e205
make `SvelteComponentDev` typings more forgiving ( #5937 )
...
Add `$$events_def` and `$$slot_def` so that users can do
```
let el: SvelteComponent;
<SomeComponent bind:this={el} />
```
without type errors.
4 years ago
Simon H
842a0b1a07
make animation/transition params optional ( #5936 )
...
They are not needed for most of the functions and should be marked as optional accordingly to make TypeScript users happy.
Fixes sveltejs/language-tools#785
4 years ago