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

6969 Commits

Author SHA1 Message Date
Tan Li Hau
9f3625a7b8
Update CHANGELOG.md 2022-07-17 17:26:54 +08:00
Tan Li Hau
26d1455b27
fixed removal of empty stylesheets created from transitions (#7662)
Co-authored-by: Mathias Picker <mattis123@live.no>
2022-07-17 17:25:36 +08:00
Ignatius Bagus
05b5be0469
[docs] link content to site directory (#7688) 2022-07-15 13:17:22 +07:00
Ben McCann
379a963d01
[docs] npm create needs @latest tag (#7687) 2022-07-14 12:06:20 -07:00
Stephane
e973bacd38
Link to sites repository in README.md (#7684) 2022-07-14 17:20:33 +08:00
Tan Li Hau
2db60a77e1
rename test files from svelte-slot -> svelte-fragment (#7679) 2022-07-12 23:20:44 +08:00
Simon Dao
60024effa8
[docs] update intro sentence of reactive declarations tutorial (#7467) 2022-07-11 16:11:23 -07:00
Tan Li Hau
1913e7fad7
Update CHANGELOG.md 2022-07-12 06:55:43 +08:00
Anthony Le Goas
f5111ef436
[feat] add a11y check on abstract roles (#6241)
* add a11y check on abstract roles

* use aria-query and move warnings to compiler_warnings file

* uppercase warning message

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-07-12 06:52:25 +08:00
Tan Li Hau
ccbf10c163
Update CHANGELOG.md 2022-07-11 09:41:43 +08:00
kwangure
39901986d6
[feat]: Add A11y aria-proptypes check (#6978)
* Add aria prop type list

* feat: check aria attribute types

* feat: add proptype tests

* Add documentation

* use aria-query

Co-authored-by: Nurassyl Zekenov <nurassyl@snoonu.com>
Co-authored-by: mka_882@yahoo.com <mka_882@yahoo.com>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
Co-authored-by: David Mosher <davidmosher@gmail.com>
2022-07-11 09:40:12 +08:00
Tan Li Hau
4617c0d5f5
Update CHANGELOG.md 2022-07-11 02:27:58 +08:00
Mel
1d19aebe38
a11y: Add role-has-required-aria-props rule (#5852)
* Check required props for ARIA roles

* Test required ARIA props check

* Properly indent with tabs in test

* swtich to use aria-query

* fix validation test

* update docs

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-07-11 02:23:41 +08:00
Sepehr Safari
c01dc62314
[docs] fix typo (#7672)
* [docs] fix typo

Fixed "quckly" to "quickly"

* [docs] fix typo

Fixed "beend" to "been".

* [docs] fix typo

Fixed "propsoal" to "proposal".
2022-07-10 15:22:00 +08:00
Conduitry
52153dbce0 -> v3.49.0 2022-07-07 12:43:08 -04:00
Simon H
3798808e74
update changelog 2022-07-06 11:59:44 +02:00
Simon H
0fa0a38d51
[fix] export CompileOptions (#7658)
It's used by SvelteKit and in order to properly use it under the new TS moduleResolution NodeNext it needs to be part of a file that is defined in the exports map
2022-07-06 11:58:43 +02:00
Yuichiro Yamashita
a3ecb44b53
update changelog 2022-07-04 23:58:16 +09:00
kindoflew
7e1691cd62
[fix] support @layer (#7514)
* add test

* add layer to apply check
2022-07-04 23:55:34 +09:00
Tan Li Hau
4583b17084
Update CHANGELOG.md 2022-07-04 09:48:12 +08:00
qinmu
02f60fbebf
[fix]destroy empty component (#7492)
* fix: destroy non-fragment element such as empty components

* fix: fragment property of Empty Component is set as true in dev mode, inconsistent with production mode

* chore: revert 'removal' of component.compile_options.dev

* feat: add test for destroying empty component

* chore: update typechecking callback

* chore: revert fragment dev checks

* chore: remove unnecessary comment

* chore: update test for empty-component-destroy

* fix: revert back the patching of console.log

* use before_test and after_test

Co-authored-by: qinmu <magenta2127@mail.com>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-07-04 09:45:39 +08:00
Daniel Sandoval
31e5f8b5de
[docs] "What's new in Svelte" July newsletter (#7637) 2022-07-01 17:17:52 +02:00
Simon H
6f57571507
[feat] add convenience types ComponentType and ComponentProps (#6770)
ComponentType eases typing "this is a variable that expects a Svelte component constructor (of a certain shape)". Removes the need for SvelteComponentTyped to be an extra type so it can be deprecated in v4 and removed in v5, and SvelteComponent(Dev) can receive the same generic typings as SvelteComponetTyped in v4.

ComponentProps eases typing "give me the props this component expects". Closes #7584


Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
Co-authored-by: Hofer Ivan <ivan.hofer@outlook.com>
Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
2022-07-01 14:48:10 +02:00
Heechul Ryu
2f562d9e28
[docs] use npm create instead of npm init (#7641) 2022-06-30 09:07:16 +09:00
hmt
d7557e11a2
[docs] remove v2 -> v3 converter mention (#7597)
Was never finished
2022-06-25 19:56:06 +02:00
Simon H
ecb29aa8cf
Update changelog 2022-06-20 13:03:47 +02:00
Maurício Kishi
f8605d6acb
[fix] harden attribute escaping during ssr (#7530) 2022-06-20 13:02:48 +02:00
Yuichiro Yamashita
9635a2e413
[chore] remove nyc stuff (#7601)
It appears that forgot to remove config related to nyc in this commit.

f1ca1cc098
2022-06-12 16:37:49 +02:00
Yuichiro Yamashita
346c27d4da
[chore] update changelog (#7602) 2022-06-12 16:33:27 +02:00
Adam Alexander
cab5e7346d
[docs] fix typo in 02-template-syntax.md (#7593)
Tiny typo.
2022-06-08 14:07:51 +02:00
Rich Harris
7630a25db5
[docs] update getting started info (#7573)
* update getting started info

* Update site/content/blog/2019-04-16-svelte-for-new-developers.md

Co-authored-by: Conduitry <git@chor.date>

* Update site/content/tutorial/01-introduction/07-making-an-app/text.md

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>

* Update site/content/blog/2019-04-16-svelte-for-new-developers.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2022-06-03 10:11:27 -04:00
Ben McCann
9dc308a745
cleanup PR links in last blog post 2022-05-31 14:46:37 -07:00
Daniel Sandoval
d9cc0ffc8f
[docs] "What's new in Svelte" June newsletter (#7565) 2022-05-31 13:09:28 -07:00
Tan Li Hau
a4fa98c532
Update CHANGELOG.md 2022-05-18 11:14:14 +08:00
Yuichiro Yamashita
6776fe03fd
fix to apply class directive for svelte:element (#7531) 2022-05-18 11:12:10 +08:00
gtmnayan
5242ab9a72
[docs] Fix statement about the order of bind: and on: (#7357)
* Fix statement about order of bind: and on:

* It's just an example

* Revert and modify

* Update site/content/docs/02-template-syntax.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update site/content/docs/02-template-syntax.md

Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-18 10:13:05 +08:00
Stephanie Tuerk
8b828a4301
[docs] clarify array methods that won't trigger reactivity (#7073)
Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Gabor Szabo <gabor@szabgab.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2022-05-17 10:26:27 -07:00
Matteo Baccan
0ed6ebef9d
[fix] remove duplicate semicolon (#7534) 2022-05-16 08:11:20 -07:00
Ben McCann
ab48fbadb3
update changelog 2022-05-12 20:12:09 -07:00
Rich Harris
e7a2350550
Faster SSR (#5701)
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-12 20:10:40 -07:00
Ben McCann
34eb6efedc
[chore] upgrade to eslint 8 (#7506) 2022-05-06 11:52:22 -04:00
Hyunseung Lee
0580c2d90d
Update introduction/dynamic-attributes (#7498) 2022-05-04 21:32:46 +08:00
Daniel Sandoval
970b9436c8
[docs] "What's new in Svelte" May newsletter (#7483)
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-03 14:21:17 -07:00
Conduitry
6c0b4d1651 -> v3.48.0 2022-04-30 14:38:56 -04:00
Conduitry
ab589ff78c update changelog 2022-04-30 14:37:51 -04:00
Yuichiro Yamashita
0d017f4820
[fix] rendering void tag for <svelte:element> (#7453) 2022-04-30 14:37:09 -04:00
Conduitry
e01115a75c update changelog 2022-04-30 14:35:49 -04:00
Tan Li Hau
a2de3894c0
[feat] support const tag for if block (#7451) 2022-04-30 14:34:58 -04:00
Conduitry
61d1467c25 update changelog 2022-04-30 14:04:39 -04:00
Yuichiro Yamashita
1f1750e72e
[fix] always use set_attributes for attribute of <svelte:element> (#7486) 2022-04-30 14:03:59 -04:00