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

6591 Commits

Author SHA1 Message Date
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
Rich Harris
7521bd55b5
[docs] fix hash fragments (#7025)
* fix hash fragments

* remove link hack
2021-12-17 18:30:45 -05:00
Ben McCann
c2847b7d30
Remove site - new home at sveltejs/sites (#6994) 2021-12-14 18:27:43 -05:00
Conduitry
52549c466b update changelog
#6941 in fact addressesd a separate issue, specific to one-way binding
2021-12-13 15:47:23 -05:00
Conduitry
dc81e14684 -> v3.44.3 2021-12-13 14:34:17 -05:00
Conduitry
a991ac48ba update changelog 2021-12-13 14:32:47 -05:00
Bassam Ismail
c663104937
[fix] prevent cursor jump for all text inputs (#6941) 2021-12-13 14:30:53 -05:00
Conduitry
3fcc1162a6 update changelog 2021-12-13 10:33:56 -05:00
Tan Li Hau
6ecc3e4d6a
[feat] opt-out loopGuard for async loops (#6963) 2021-12-13 10:32:33 -05:00
Conduitry
f2d4a10741 update changelog 2021-12-13 10:04:08 -05:00
Robin Munn
5a8851436f
[fix] bind:this during onMount in manually-created component (#6920) 2021-12-13 10:02:10 -05:00
Dustin Wyatt
683c39adb7
[docs] Clarify that VS Code isn't the only supported IDE (#6989) 2021-12-10 13:04:44 +01:00
Dominik Leicht
67f79dd934
[docs] simplify template literals to string primitives (#6806) 2021-12-06 13:15:55 +07:00
pngwn
791e40d070
fix: use correct yaml syntax in blog posts (#6984) 2021-12-03 06:55:15 -08:00
Ben McCann
0c2d1b8ef1
[fix] allow site to run again after marked upgrade (#6982) 2021-12-02 18:17:09 -05:00
Joshua Nussbaum
6b48f0c1de
[site] REPL dirty tracking (#6153) 2021-12-02 13:35:57 -08:00
Yuichiro Yamashita
f647adfa0c
[chore] Make changing the name of a REPL obvious (#6808) 2021-12-02 12:17:30 -08:00
Ben McCann
c2149e8529
[site] only show 20 avatars instead of current massive wall (#6974) 2021-12-01 14:04:38 -08:00
Conduitry
fe36911017
[docs] fix chat link (#6976) 2021-12-01 16:22:28 -05:00
Daniel Sandoval
51459874fe
[docs] "What's new in Svelte" December newsletter (#6965) 2021-12-01 13:00:57 +01:00
Fabrizio Calderan
2c7986034d
[docs] A reference of the field variable is missing in the sidebar (#6815) 2021-11-30 12:52:59 -08:00