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

6990 Commits

Author SHA1 Message Date
Yuichiro Yamashita
dd11917fe5
Update CHANGELOG.md 2023-01-03 12:49:02 +09:00
Yuichiro Yamashita
4b84c4df3a
[fix] Improve is_promise handling (#8162)
* correctly handle promises that are of function type

* add License

Co-authored-by: Vilsol <me@vil.so>
2023-01-03 12:48:06 +09:00
Yuichiro Yamashita
e1a1c7fa87
[chore] Fix CI (#8160)
* ci build

* fix test

* add test for #7938
2023-01-02 15:55:14 +09:00
Yuichiro Yamashita
26c0d3f17d
Update CHANGELOG.md 2023-01-02 15:47:14 +09:00
Simon H
762d0429b1
[fix] propagate bindings correctly (#8114)
Fixes #8103 introduced through #7981
Keeps the infinite loop from happening but reopens #6298 and #5689
2023-01-02 14:51:01 +09:00
Tan Li Hau
1d658e7501
Update CHANGELOG.md 2023-01-02 10:51:01 +08:00
Mathias Picker
c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
* fixed double up initialization on svelte:element elements

* updated test and fixed bug

* update other svelte:element test

* removed whitespace

* refactor

* correctly update expected ouput resulting from #7938

* remove .solo

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-02 10:48:34 +08:00
Tan Li Hau
14d09a0850
Update CHANGELOG.md 2023-01-02 10:26:58 +08:00
Ming07
1f021226c5
[fix] named slots breaks svelte-ignore comments (#8105)
* [fix] Named slots breaks svelte-ignore comments

Fixes #8075

* test: add tests

* refactor

* refactor test

Co-authored-by: mojinming <mojinming@cmcm.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-02 10:23:35 +08:00
Tan Li Hau
4f365f0171
Update CHANGELOG.md 2023-01-02 10:20:38 +08:00
Gus Wezerek
a5d6713c8e
Fix bug with transition draw when delay is passed (#8094)
Signed-off-by: Gus Wezerek <gustav.wezerek@nytimes.com>

Signed-off-by: Gus Wezerek <gustav.wezerek@nytimes.com>
Co-authored-by: Gus Wezerek <gustav.wezerek@nytimes.com>
2023-01-02 10:18:52 +08:00
wackbyte
094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for a11y-no-noninteractive-tabindex (#8126) 2023-01-02 09:39:55 +08:00
Tan Li Hau
06648d1f65
Update CHANGELOG.md 2023-01-01 16:43:46 +08:00
Ramon Snir
f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
* [fix] static svelte:element not replaced with tag in production mode

* [fix] static svelte:element not replaced with tag in production mode

* add optimization of static <svelte:element> and fix a bug

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-01 16:41:00 +08:00
Yuichiro Yamashita
de6821a1de
[ chore] disable puppeteer on Linux for Node8 and 10 (#8155) 2022-12-31 10:13:52 +09:00
Simon H
b8f32c0b1a
[docs] clear timeout on destroy
backported from https://github.com/sveltejs/learn.svelte.dev/pull/166
2022-12-22 17:47:52 +01:00
Simon H
786505d6bc
update changelog 2022-12-22 13:13:31 +01:00
Simon H
c73b9a00ea
[fix] add submitter property to submit event 2022-12-22 13:08:06 +01:00
Geoff Rich
6a23d9b65f
[docs] fix transition direction options (#8133) 2022-12-22 09:39:36 +09:00
Rich Harris
b8bc1be0a8
remove blog content. it now lives in sites repo (#8117) 2022-12-20 08:09:50 -08:00
gaac510
eef125f6c1
[docs] update outdated SvelteKit release info (#8128)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-12-19 22:47:31 +01:00
Simon H
670f458056
[docs] adjust code snippet to conform with previous one
Backported from https://github.com/sveltejs/learn.svelte.dev/pull/143
2022-12-16 10:33:36 +01:00
Nilesh
ad8dbfb9b9
[docs] Add comment about generating a Svelte project without Kit (#8115) 2022-12-15 13:47:02 +01:00
Conduitry
3ba0e30416 -> v3.55.0 2022-12-13 09:04:08 -05:00
Simon H
512eda7a84
[feat] add html typings (#7649)
This adds typings for HTML elements and their attributes. It's supposed to be used by the new transformation in language-tools.

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Lyu, Wei-Da <36730922+jasonlyu123@users.noreply.github.com>
2022-12-11 21:45:11 +01:00
Ben McCann
a0a6bd1f54
[docs] add some basic docs about bundler plugins (#8092) 2022-12-07 11:04:50 -08:00
Conduitry
aa5a1cdf1a -> v3.54.0 2022-12-06 14:25:16 -05:00
Conduitry
86524181a9 update changelog 2022-12-06 14:24:27 -05:00
Yuichiro Yamashita
94e51df07b
[fix] escape style attribute for SSR (#8087) 2022-12-06 14:23:23 -05:00
Conduitry
75c3a48245 update changelog 2022-12-06 14:22:36 -05:00
Yuichiro Yamashita
cc52dc442b
[docs] add explanation about property binding order (#7833)
* update document

* update sentence and position

* update the sentence

* update
2022-12-05 23:18:29 +08:00
Daniel Huang
f45b823770
[docs] fix inconsistent margin in svelte/motion spring tutorial (#8081) 2022-12-06 00:14:11 +09:00
Yuichiro Yamashita
d8c6ab87df
Update CHANGELOG.md 2022-12-06 00:02:21 +09:00
Tan Li Hau
2f61907ec1
[fix] allow invalidating variables from @const declared function (#7858) 2022-12-06 00:01:51 +09:00
Ben McCann
5eb1ff9946
[docs] publish roadmap. add process section to contributor's guide and re-organize a bit (#7965) 2022-12-05 23:53:29 +09:00
Yuichiro Yamashita
43905ccc22
Update CHANGELOG.md 2022-12-05 23:52:30 +09:00
Simon H
4c5469b1ee
[fix] don't run binding init unnecessarily (#7981) 2022-12-05 23:43:39 +09:00
Yuichiro Yamashita
d2ff2aee4f
Update CHANGELOG.md 2022-12-05 23:25:55 +09:00
Bert B
ed3ac92ec0
[fix] Suppress a11y-no-noninteractive-tabindex warning if an element has a tabpanel (#8025)
* update tabindex warning to ignore tabpanels

* refactor

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2022-12-05 23:25:25 +09:00
Yuichiro Yamashita
de46e36315
Update CHANGELOG.md 2022-12-05 23:01:14 +09:00
Torsten Dittmann
676716979a
[fix] a11y - allow fallback roles (#8045) 2022-12-05 23:00:51 +09:00
Yuichiro Yamashita
6330bfc052
Update CHANGELOG.md 2022-12-05 22:44:40 +09:00
Pat Cavit
84d61c61f8
[feat] Add options w/ direction to transitions (#8068) 2022-12-05 22:43:59 +09:00
Sanguansak Petchmeesri
14f33cfe61
[docs] add rel noreferrer to fix warning in tutorial (#8024)
Co-authored-by: vaishnav <vaishnav240204@gmail.com>
Co-authored-by: Alfredo Vecino <fredovecino@gmail.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2022-12-04 00:42:34 +09:00
Janosh Riebesell
8b462fd7da
[docs] Fix 3.52.0 a11y warning in svelte-self tutorial (#7988)
* fix svelte 3.52 a11y warning

* replace span with button and drop on:keyup
2022-12-03 23:55:51 +09:00
Frozen FIsh
6923b2e99b
[chore] upgrade node to 18 (#8018) 2022-12-03 23:42:07 +09:00
Simon He
e44762aa2d
[chore] add ESLint Caching (#8069)
see: https://eslint.org/docs/latest/user-guide/command-line-interface#caching
2022-12-03 15:54:32 +09:00
Christian Bromann
e86c0c610b
[docs] Add WebdriverIO as alternative testing solution 2022-12-03 14:03:45 +09:00
Dani Sandoval
1852bc4640
[docs] "What's new in Svelte" December newsletter (#8064) 2022-12-02 11:48:30 +01:00
Conduitry
91f8764145 -> v3.53.1 2022-11-10 09:15:07 -05:00