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

2066 Commits

Author SHA1 Message Date
Samuel Elgozi
7342d484f1 feat: #3372 added a new self event modifier 2019-08-08 01:57:47 +03:00
Richard Harris
eda4f90cde failing test for #3354 2019-08-05 08:35:36 -04:00
Rich Harris
e41a4846c3
Merge pull request #3348 from sveltejs/gh-3272
throw error if $ is referenced as global
2019-08-04 17:51:37 -04:00
Rich Harris
57aa46a7fe
Merge pull request #3351 from sveltejs/disable-validation
disable validation with magic comments
2019-08-04 17:51:25 -04:00
Rich Harris
50f8c856c9
Merge pull request #2028 from aphitiel/gh-1999
Failing test for #1999
2019-08-04 12:26:43 -04:00
Rich Harris
5f492b7fa6
Rename main.html to main.svelte 2019-08-04 12:19:38 -04:00
Richard Harris
e3e3ad9be0 disable validation with magic comments 2019-08-04 10:58:43 -04:00
Richard Harris
a067ebefa4 Merge branch 'master' of github.com:sveltejs/svelte 2019-08-04 10:06:28 -04:00
Richard Harris
a3ab409be5 update #1844 test for v3 2019-08-04 10:06:14 -04:00
Richard Harris
76989eb220 Merge branch 'master' into aphitiel-gh-1844 2019-08-04 09:59:23 -04:00
Richard Harris
0c9ed46196 correctly set mount anchor for HTML tags - fixes #2711 2019-08-04 09:48:20 -04:00
Richard Harris
46cd6ff370 disallow global references to $$-prefixed vars 2019-08-04 09:22:14 -04:00
Richard Harris
4c8f3a296c throw error if $ is referenced as global - fixes #3272 2019-08-03 21:19:40 -04:00
Richard Harris
03e6338920 add test for #3326 2019-08-03 17:12:20 -04:00
Richard Harris
016158b692 more robust handling of html tags - fixes #3285 2019-08-03 17:01:21 -04:00
Richard Harris
8a5ad34afb Merge branch 'master' into gh-3285 2019-08-03 15:16:25 -04:00
Richard Harris
4e004fdfa3 rename misnamed test, remove obsolete ones 2019-08-03 15:01:13 -04:00
Conduitry
64094f631f set data- attributes like regular attributes (#3337) 2019-08-03 13:55:43 -04:00
Richard Harris
d6ca507240 lint 2019-08-03 13:49:21 -04:00
Richard Harris
a03566e4f9 prevent commas in attributes - fixes #3341 2019-08-03 13:15:32 -04:00
Rich Harris
eaec840e77
Merge branch 'master' into gh-3283 2019-08-03 12:32:21 -04:00
Rich Harris
cf24dbd6a9
Merge pull request #3336 from Conduitry/gh-3274
don't warn when using each index in key
2019-08-03 12:30:21 -04:00
Rich Harris
aa1b38ad34
Merge pull request #3335 from Conduitry/gh-3281
use bindings when matching attribute selector against element
2019-08-03 12:27:51 -04:00
Rich Harris
21e3db1b72
Merge pull request #3333 from Conduitry/gh-3179
preserve async/generator-ness of hoisted function expressions
2019-08-03 12:25:05 -04:00
Rich Harris
9e1554610b
Merge pull request #3332 from Conduitry/gh-3331
fix erroneous a11y warning with input type='image'
2019-08-03 12:15:07 -04:00
Conduitry
c04def9081 don't warn when using each index in key (#3274) 2019-08-03 00:30:38 -04:00
Conduitry
45a54c1aa4 use bindings when matching attribute selector against element (#3281) 2019-08-02 19:31:04 -04:00
Conduitry
bfa0bc98b7 preserve async/generator-ness of hoisted function expressions (#3179) 2019-08-02 16:47:26 -04:00
Conduitry
276eb8e553 fix erroneous a11y warning with input type='image' (#3331) 2019-08-02 12:24:07 -04:00
Richard Harris
c53563b207 failing SSR test, plus some adjacent changes 2019-08-02 09:33:20 -04:00
Richard Harris
c36318dd02 failing test for #3285 2019-08-02 07:49:03 -04:00
bre30kra69cs
ccf2ad819a optimize class name runtime calc & add tests & ref 2019-08-01 15:46:53 +03:00
bre30kra69cs
9b5bbb556d fix Literally undefined class #3283 2019-07-31 15:14:18 +03:00
Conduitry
60af0d7781 add test 2019-07-30 17:20:13 -04:00
Rich Harris
0fe04561b2 quote props if necessary in SSR mode - fixes #3312 2019-07-30 14:32:53 -04:00
Rich Harris
dbf503b9e1
Merge pull request #3305 from Conduitry/gh-3226
use `change` event for `bind:files`
2019-07-30 14:28:32 -04:00
Rich Harris
620d26cad3
Merge pull request #3295 from sveltejs/gh-3286
always update reactive declarations with $$props
2019-07-30 14:28:05 -04:00
Conduitry
2328d5e6e8 use change event for bind:files (#3226) 2019-07-28 13:13:21 -04:00
Richard Harris
b3ef4e64be always update reactive declarations with $$props - fixes #3286 2019-07-26 18:49:12 -04:00
Richard Harris
b33d600d4e reuse unchanged spread levels - fixes #3289 2019-07-26 18:34:19 -04:00
Brian Takita
bbeafbafab fixes https://github.com/sveltejs/svelte/issues/3191
Derived store reruns subscribers if it's value has not changed when synced.

All invalidators of subscribers are run on a derived store when invalidated.

See https://github.com/sveltejs/svelte/pull/2955
2019-07-23 17:39:51 -04:00
Rich Harris
8c1f48f828
Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
bugfix: exempt the :root psuedo-selector from the random css prefix
2019-07-23 07:45:29 -04:00
Rich Harris
15c57e1248
Merge pull request #3242 from umanghome/v3-class-deps-fix
[v3] Fix issue where class directives wouldn't work with spread props and class prop
2019-07-23 07:44:16 -04:00
David Mosher
1909bb43d9 bugfix: exempt the :root selector from prefix
- the change in #1705 introduced a small bug for users who were relying on assigning global CSS variables via the :root selector
- this change adds a small exemption to avoid prefixing :root with the random prefix that svelte adds
2019-07-15 19:18:18 -04:00
Umang Galaiya
17247d8bb4 [Test] Add test for class directive with spread attributes 2019-07-14 20:49:27 +05:30
Umang Galaiya
70aa699496 [Test] Add test for class with spread attributes 2019-07-14 20:49:18 +05:30
pynnl
c33e4be6dc fix global keyframes with no elements 2019-07-12 06:36:34 -04:00
Rich Harris
2f08e34b41 prevent outro groups getting muddled up - fixes #2086 2019-07-09 14:04:13 -04:00
Rich Harris
65b28ed0f5 new failing test for #2086 2019-07-09 12:31:38 -04:00
Rich Harris
85e25a957d add test from gh-2086 2019-07-09 12:20:13 -04:00