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

6867 Commits

Author SHA1 Message Date
Vaibhav Rai
78b81277e7
[fix]: Warn user when binding rest operator (#7526)
* Fix 6860: Warn user when binding rest operator

* move the binding validation to Binding node

* update test

Co-authored-by: vaibhav rai <vaibhavrai@vaibhavs-MacBook-Pro.local>

* add more test case, supporting deep destructuring and array destructuring

Co-authored-by: vaibhav rai <vaibhavrai@vaibhavs-MacBook-Pro.local>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-09-12 03:28:30 +08:00
Tan Li Hau
87f0c461a8
Update CHANGELOG.md 2022-09-12 03:23:12 +08:00
Mathias Picker
6ec8ecf799
[fix] render of svg elements when using svelte:element (#7695)
* fixed render statement for svg when using  svelte:element

* removed unecessary stuff in test
2022-09-12 03:22:17 +08:00
Tan Li Hau
1afcfd2b5f
Update CHANGELOG.md 2022-09-12 03:15:45 +08:00
Tan Li Hau
e2ef2b8731
apply class for dynamic elements (#7652) 2022-09-12 03:14:47 +08:00
Tan Li Hau
78a249be36
Update CHANGELOG.md 2022-09-12 03:04:47 +08:00
Yuichiro Yamashita
a5ca0ad65b
[fix] added support for inert (remove duplicated code) (#7785)
* fix: added support for inert

* remove duplicated boolean_attributes

Co-authored-by: Gautier Ben Aïm <48261497+GauBen@users.noreply.github.com>
2022-09-12 03:03:02 +08:00
Tan Li Hau
2f6afefab0
Update CHANGELOG.md 2022-09-12 02:49:22 +08:00
Yuichiro Yamashita
1e2a55c88e
throw warning instead of error (#7834) 2022-09-12 02:48:13 +08:00
Tan Li Hau
adcaa3c050
Update CHANGELOG.md 2022-09-12 02:41:18 +08:00
Maximiliano Ruani
8ffc8fd77b
[fix] Fix hydration duplicate svelte:head tag issue with @html expressions and nested components (#7745)
* Fix hydration duplicate `svelte:head` tag issue with `@html` and nested components #7444 #6463

* - Changed comment style to HEAD_${head_id}_START and HEAD_${head_id}_END
- Improved claim logic
- Changed tests accordingly
2022-09-12 02:35:17 +08:00
Ben McCann
7ac3854613
[docs] remove beta label from SvelteKit mention (#7853) 2022-09-10 14:00:50 -07:00
Conduitry
24aff3032d -> v3.50.1 2022-09-08 16:52:21 -04:00
Yuichiro Yamashita
07d6d179ab
[fix] style manager transition regression (#7831) 2022-09-08 16:49:57 -04:00
Yuichiro Yamashita
ed078e31fe
update changelog (#7835) 2022-09-04 12:08:46 +02:00
Yuichiro Yamashita
feb8dfce61
[fix] add all global objects / functions (#7786) 2022-09-04 13:13:55 +09:00
schelv
f3f3d074c5
[docs] use KeyboardEvent.code (#7809) 2022-09-04 01:06:57 +09:00
Conduitry
46990652c0 -> v3.50.0 2022-09-02 08:12:22 -04:00
Simon H
efe1df0e23
[fix] Only show lowercase component warning for non-html/svg elements (#7826)
Fixes #5712
2022-09-02 07:48:40 -04:00
Simon H
af64ad9483
update changelog 2022-09-02 13:32:19 +02:00
Simon H
bddd795746
[feat] enhance action typings (#7805)
Allows a way to tell language tools which additional attributes and events the action brings to the HTML element
Related https://github.com/sveltejs/language-tools/pull/1553
2022-09-02 13:21:28 +02:00
Daniel Sandoval
0ed453dc11
[docs] "What's new in Svelte" September newsletter (#7814) 2022-09-01 15:42:09 -07:00
Ben McCann
a8616701e7
[docs] clarify reactivity rules (#7802) 2022-08-29 21:47:20 +02:00
Ben McCann
8238ac46dc
Update CHANGELOG.md 2022-08-22 19:22:04 -07:00
Yosuke Ota
8d26b4a19d
[chore] improve performance by using trimRight() instead of regex replace (#7706) 2022-08-22 19:20:46 -07:00
孟世博
d5efa2e446
[docs] Typescript -> TypeScript (#7797)
* [docs] fix spellings error

* fix ts
2022-08-19 13:30:22 +09:00
Yuichiro Yamashita
040192dd59
update changelog 2022-08-14 17:27:10 +09:00
Yuichiro Yamashita
3570a5361e
[fix] Apply class directive properly after half way transition (#7765) 2022-08-14 17:26:19 +09:00
Tan Li Hau
012d639b42
Update 05-accessibility-warnings.md
reorder a11y warnings
2022-08-09 00:05:51 +08:00
Tan Li Hau
dc83d0b30d
Update CHANGELOG.md 2022-08-09 00:03:25 +08:00
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