0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

6624 Commits

Author SHA1 Message Date
Rene Kootstra
4a78137a2a
[docs] fix #each in window-bindings example (#7181) 2022-01-26 08:44:14 -08:00
Conduitry
883dfecb3c -> v3.46.3 2022-01-26 10:18:42 -05:00
Conduitry
c1544ec6a7 update changelog 2022-01-26 10:18:14 -05:00
Yuichiro Yamashita
5665f711fd
[fix] raise compile error if variable name is same as imported variable name (#7145) 2022-01-26 10:16:20 -05:00
Conduitry
0881aa98d7 update changelog 2022-01-26 09:52:29 -05:00
Yuichiro Yamashita
00e394e3c8
[fix] fix crash when using arrow functions in {@const} (#7144) 2022-01-26 09:50:18 -05:00
pngwn
5ccfc3c5d7
Create CODE_OF_CONDUCT.md (#7183)
* Create CODE_OF_CONDUCT.md

* Update CODE_OF_CONDUCT.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-01-25 08:48:47 +00:00
Ignatius Bagus
630ec4b32d
[blog] fix rss feed link
Fixes https://github.com/sveltejs/sites/issues/279
2022-01-24 20:17:44 +07:00
Arad Aral
787c34ceec
[docs] Use symbols for context keys in tutorial (#7046)
Closes #6870
2022-01-16 09:32:13 +01:00
Andreas Ehrencrona
a4e4027f79
Handle whitespace inside #each with animation (#5477)
* Strip out whitespace inside each when it has an animation

* remove accidentally committed file

* lint

* add test to validate no error

* update changelog

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
2022-01-15 11:47:02 +08:00
Conduitry
e4a3a875f3 -> v3.46.2 2022-01-14 18:44:07 -05:00
GHOST
7f5eecb84b
[blog] update sirens (#7142) 2022-01-14 21:52:43 +01:00
Conduitry
de6c7c5d18 update changelog 2022-01-14 12:18:17 -05:00
Tan Li Hau
dc06ea916e
fix: style directive not reactive in {#each} loop (#7140) 2022-01-14 12:16:34 -05:00
Tan Li Hau
815bc7ef6e
fix: test cases should fail when it should fail (#7139) 2022-01-14 12:12:23 -05:00
Geoff Rich
fffe66a6a0
[blog] fix Netlify link (#7138) 2022-01-14 17:00:03 +01:00
Simon H
0096106b12
update changelog 2022-01-14 11:49:52 +01:00
Eric Liu
7b07e6e243
[fix] export FlipParams interface from "svelte/animate" (#7104)
Fixes #7103
2022-01-14 11:48:57 +01:00
Bjorn Lu
cc445839e3
[docs] explain initial value for bind scroll (#7065)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-01-14 13:10:33 +08:00
Ben McCann
54f277cd8e
[blog] remove heading to align with other blog posts 2022-01-13 17:09:21 -08:00
Ben McCann
17b1c587c2
[blog] Accelerating Svelte's Development (#7118) 2022-01-13 16:28:40 -08:00
Conduitry
b818bbc17c fix changelog typo 2022-01-12 15:31:32 -05:00
Conduitry
0b369f122b -> v3.46.1 2022-01-12 15:15:16 -05:00
Conduitry
db0c6b94a0 update changelog 2022-01-12 15:14:53 -05:00
Simon H
7044a32a2b
[fix] adjust style directive AST (#7127)
- deduplicate type name: Is now "StyleDirective"
- Don't transform value array to template literal in the AST phase but in the compiler phase. This ensures other tools know what the raw output was and that start/end positions are available
2022-01-12 15:12:50 -05:00
Simon H
4ae20d7fdf
update changelog 2022-01-12 11:43:25 +01:00
GHOST
c67f8ef14c
[fix] handle kebab case style directives (#7123)
fixes #7122
2022-01-12 11:42:13 +01:00
Conduitry
4d1d1861eb -> v3.46.0 2022-01-11 17:11:09 -05:00
Conduitry
0f31fb034b update changelog 2022-01-11 17:10:36 -05:00
Tan Li Hau
b5aaa6641b
[feat] implement constants in markup (#6413) 2022-01-11 17:10:09 -05:00
Ben McCann
d5fde793c1
update changelog 2022-01-11 11:55:59 -08:00
Hofer Ivan
806cba2b75
[fix] ensure style manager instances don't conflict with each other (#7114) 2022-01-11 11:54:07 -08:00
Ben McCann
1143b5615a
update changelog 2022-01-09 06:15:07 -08:00
Yuichiro Yamashita
895b4c6721
[fix] hydrate correct elements when using @html (#6946) 2022-01-09 06:12:57 -08:00
Simon H
26f767e873
[docs] add note about the AST not being public API (#7113) 2022-01-09 10:01:40 +01:00
Paul Murray
8a47b5ec9e
[feat] Style directives (#5923)
* add Style node, interfaces

* style-directives: add parser and runtime test

* style-directives: push styles in to styles array on Element

* style-directives: minimal ssr work

* style-directives: ssr add_styles

* style-directive: tests

* style-directives: work in progress

* obviously incorrect hard-coded color

* tweak

* style directive interface

* style-directives: get text from info in Style node

* style-directives: add_styles func in ElementWrapper

* style-directives: ssr rendering

* handle text-only style directive in tag.ts

* style-directives: handle spread styles in ssr

* style-directives: more parser tests

* style-directives: more inline tests

* style-directives: remove solo tests

* style-directives: cleanup

* style-directives: tweak spread ssr internal

* style-directives: push updater into update chunks; add dynamic test;

* remove .solo

* check for dynamic dependencies before adding update chunk

* add test of multiple styles; remove null styles;

* style-directives: docs; more tests of multiple styles

* style-directives: use camelcase

* style-directives: cleanup

* style-directives: fix mustache template case with template literal

* style-directives: use ternary

* style-directives: linting

* style-directives: remove "text" from interface

* style-directives: actually, remove StyleDirective interface entriely

* add more test, fix test for ssr

* fix lint and tidy up

* add test for css variables

* fix linting errors

Co-authored-by: pmurray73 <pmurray73@bloomberg.net>
Co-authored-by: Tan Li Hau <lhtan93@gmail.com>
2022-01-08 11:09:11 -05:00
Conduitry
deed340cf5 -> v3.45.0 2022-01-06 16:08:11 -05:00
Conduitry
129d81710e update changelog 2022-01-06 16:07:31 -05:00
Tan Li Hau
5e40277167
[feat] add reference for default values in destructuring context (#7007) 2022-01-06 16:05:49 -05:00
Conduitry
4627bdde73 update changelog 2022-01-06 15:30:32 -05:00
Tan Li Hau
9f2b5afdf7
[fix] binding member expression should only invalidate the object, not the member property (#7008) 2022-01-06 15:28:53 -05:00
Conduitry
fb419d2fda
[fix] code generation with arrow functions and object destructuring assignments (#7110) 2022-01-06 14:27:09 -05:00
Conduitry
3f577d0bcc update changelog 2022-01-06 11:08:07 -05:00
Tan Li Hau
2f0f330b76
[fix] {:else if} value incorrectly cached (#7043) 2022-01-06 11:07:37 -05:00
pngwn
4240455e02
[fix] ensure truthy non-boolean attributes are rendered correctly in SSR (#7066) 2022-01-06 10:14:09 -05:00
Yuichiro Yamashita
966c03a317
[chore] fix test flakiness (#7076) 2022-01-05 10:30:02 -08:00
Ignatius Bagus
2012124e87
[fix] foreign namespace hash link (#7080) 2022-01-04 13:41:42 -08:00
Austin Walela
6bfd2724a0
[docs] update links to Blender Studio (#7098) 2022-01-05 00:10:34 +08:00
Yongwook Choi
eb663d5cae
[docs] force externalize chatroom link (#7097) 2022-01-04 14:14:42 +07:00
Simon H
897a21087c
update changelog 2022-01-03 11:36:56 +01:00