0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

6811 Commits

Author SHA1 Message Date
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
James Bradbury
84a4ef07c9
[feat] add a11y-no-redundant-roles check (#7067)
Part of #820
Closes #5361

Co-authored-by: mhatvan <markus_hatvan@aon.at>
2022-01-03 11:33:08 +01:00
Gabriel Francisco
9221f216c6
Update license year (#7091) 2022-01-02 21:47:24 +01:00
Daniel Sandoval
ca2aedfb6c
[docs] "What's new in Svelte" January newsletter (#7074) 2022-01-01 15:47:02 +01:00
Simon H
a4963d7c0e
[chore] delete stale bot yaml config
The stale bot was removed so there's no use for having the config anymore
2021-12-30 16:10:46 +01:00
Ignatius Bagus
99a04c464d
[docs] mention tweened duration as function
Resolves #3353
2021-12-28 13:17:44 +07:00
Maxi Ferreira
72d40e99b0
[docs] fix typo in Context API tutorial (#7063) 2021-12-28 14:03:36 +08:00
Enrico Spinielli
6f2ebaa76d
[docs] use proper symbol for Celsius and Fahrenheit (#7061) 2021-12-27 19:40:47 +01:00
Tyler Smith
84669b5a6c
[docs] Updated link to the ease visualizer in the docs (#7054) 2021-12-26 20:23:12 -08:00
Ignatius Bagus
f73dc07980
[docs] absolute sibling links (#7051) 2021-12-24 18:31:09 -08:00
Simon H
c183bae3d1
[chore] adjust stale bot actions per run
Only one action per hour to not flood the issue tracker with too many stale messages at once
2021-12-24 22:47:32 +01:00
Ignatius Bagus
7db797eb1b
[docs] absolute assets links (#7049) 2021-12-24 06:37:36 -08:00
Ignatius Bagus
04890c73d2
[docs] absolute and future proof links (#7038) 2021-12-21 09:46:39 -08:00
Conduitry
35376f2487
[docs] fix path to /tutorial/image.gif (#7033) 2021-12-21 15:48:19 +07:00