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

6987 Commits

Author SHA1 Message Date
Niko Simonson
419641bb3e
Recursively check label children for input control (#5323)
* Recursively check label children for input control

* Add another test case

* Update snapshot

* clean up test

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-08-09 00:01:54 +08:00
Yuichiro Yamashita
5b29124fbd
update changelog 2022-08-07 02:56:47 +09:00
Tal500
816409a27b
[fix] Use Node.parentNode instead Node.parentElement for legacy browser support (#7724) 2022-08-07 02:54:23 +09:00
Daniel Sandoval
8513e299ef
[docs] "What's new in Svelte" August newsletter (#7741) 2022-08-02 17:30:05 +02:00
Script Raccoon
474ed42b24
[fix] typo in transition docs (#7739) 2022-08-02 13:45:45 +08:00
Simon H
7a9b8d03ee
update changelog 2022-08-01 09:15:34 +02:00
metonym
439bbf87e3
[feat] add SveltePreprocessor utility type (#7742) 2022-08-01 09:14:26 +02:00
dependabot[bot]
1198bae835
Bump svelte from 3.43.0 to 3.49.0 (#7689)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.43.0 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.43.0...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 09:08:59 -07:00
Simon H
12cbaea9e5
update changelog 2022-07-28 18:03:13 +02:00
qinmu
5dd703fe81
[fix] handle arrow function on slot inside svelte:fragment (#7667)
Fixes #7485
2022-07-28 18:02:15 +02:00
Bjorn Lu
9ad416be94
[chore] upgrade source-map (#7729)
Fixes #7728
2022-07-27 10:56:37 +02:00
Simon H
5a725713f7
update changelog 2022-07-25 21:10:13 +02:00
Hofer Ivan
bb02a22d3e
[feat] add convenience type for ComponentEvents (#7702) 2022-07-25 21:09:03 +02:00
Tan Li Hau
01ba78a6fb
Update CHANGELOG.md 2022-07-20 00:02:40 +08:00
Tan Li Hau
91b20b9c2e
[fix] error when using combinator incorrectly (#7650)
* error when using combinator incorrectly

* add new test case
2022-07-20 00:01:08 +08:00
Mlocik97
52f5005cfd
[docs] update port in "Svelte for new developers" blog. (#7697)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-07-19 09:26:57 +02:00
Tan Li Hau
791533e7a5
Update CHANGELOG.md 2022-07-17 17:28:56 +08:00
Anthony Le Goas
b517df14e4
[feat] check noninteractive roles on interactive elements (#5955)
* check noninteractive roles on interactive elements

* refactor to match the eslint-plugin-jsx-a11y implementation

* update test case

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-07-17 17:27:35 +08:00
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