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

3789 Commits

Author SHA1 Message Date
Rich Harris
19bcb33bc2
Merge pull request #2198 from sveltejs/svelte-self
fix svelte:self
2019-03-10 13:20:02 -04:00
Richard Harris
217cd6c741 move example data into components 2019-03-10 13:15:56 -04:00
Richard Harris
885ad257b7 fix svelte:self 2019-03-10 13:13:57 -04:00
Rich Harris
dd6a962f3e
Tutorial/REPL tweaks (#2196)
* make dropdown more obviously interactive

* make component removal work in firefox

* dont recompile on component selection

* oops

* focus editor on selector blur, finesse styles

* fix input alignment on firefox
2019-03-10 11:09:32 -04:00
Rich Harris
00df135283
Merge pull request #2195 from sveltejs/reactive-update-expression
make foo += 1 equivalent to foo = foo + 1 in reactive statements
2019-03-10 11:00:31 -04:00
Richard Harris
ac2597f77d make foo += 1 equivalent to foo = foo + 1 in reactive statements 2019-03-10 09:39:07 -04:00
Rich Harris
4541d58798
Add a tutorial (#2132) 2019-03-10 09:30:29 -04:00
Conduitry
1e1784adaf update options.customElement/<svelte:options tag='...'> handling (#2025) 2019-03-10 05:39:31 -04:00
Richard Harris
bcedaea620 bump beta version 2019-03-09 22:08:55 -05:00
Rich Harris
d058a89c81
Merge pull request #2187 from sveltejs/gh-2186
implement $$props
2019-03-09 21:59:14 -05:00
Rich Harris
d479d8a430
Merge pull request #2191 from sveltejs/gh-2178
tweak semantics of reactive statements
2019-03-09 21:55:07 -05:00
Richard Harris
1b3af6a5a6 generalise pattern of treating $foo as a store value but $$foo as internal 2019-03-09 21:47:51 -05:00
Richard Harris
a9686ba39b add test for $$props vars output 2019-03-09 21:44:19 -05:00
Richard Harris
9508b0d3dd merge gh-2186 -> master 2019-03-09 21:41:31 -05:00
Richard Harris
19d3564fc8 use add_var mechanism to create implicit $$props var 2019-03-09 21:40:21 -05:00
Richard Harris
8e4464166a tweak semantics of reactive statements - fixes #2178 2019-03-09 21:35:00 -05:00
Richard Harris
f2a48145a8 bump beta version 2019-03-09 17:11:52 -05:00
Rich Harris
8875fa892e
Merge pull request #2190 from sveltejs/gh-2171
Stores accept mutable data
2019-03-09 17:02:39 -05:00
Rich Harris
24c36e8cb2
Merge pull request #2189 from sveltejs/gh-2175
deconflict own name against globals
2019-03-09 16:59:09 -05:00
Rich Harris
b604b5223c
Merge pull request #2188 from sveltejs/gh-2180
optimise iteration over array literals
2019-03-09 16:58:42 -05:00
Richard Harris
093cc0f83e deep store bindings 2019-03-09 16:57:02 -05:00
Richard Harris
a203bfd071 express readable in terms of writable 2019-03-09 16:34:30 -05:00
Richard Harris
41b14606b4 allow stores to work with mutable data - fixes #2171 2019-03-09 16:22:22 -05:00
Richard Harris
cb11aa78c8 deconflict own name against globals - fixes #2175 2019-03-09 16:14:28 -05:00
Richard Harris
180c387c8d optimise iteration over array literals - fixes #2180 2019-03-09 15:33:43 -05:00
Richard Harris
7abf32f275 implement $$props - fixes #2186 2019-03-09 14:56:16 -05:00
Rich Harris
06040d3513
Merge pull request #2185 from Panya/issue-2184
Don't invalidate `this`. Fixes #2184
2019-03-09 14:02:46 -05:00
Rich Harris
333b933837
Merge pull request #2177 from jches/export-codegen
more export codegen fixes
2019-03-09 14:01:43 -05:00
Mikhail Korepanov
3ced3c1325 Don't invalidate this. Fixes #2184 2019-03-09 19:21:55 +03:00
John Chesley
212273ee68 tabs 2019-03-07 22:49:47 -05:00
John Chesley
8cae8f233e add support for various export syntax 2019-03-07 22:42:54 -05:00
John Chesley
5629a8d1c2 add samples for various export syntax 2019-03-07 22:39:48 -05:00
Rich Harris
ea88317f84 bump beta version 2019-03-07 09:21:46 -05:00
Conduitry
7ca4c408e2 site: deps 2019-03-07 08:53:18 -05:00
Rich Harris
d0c7cce76c
Merge pull request #2153 from bsssshhhhhhh/patch-2
Add 'rowindex' and 'colindex' to list of aria attributes
2019-03-07 08:40:04 -05:00
Rich Harris
4090925a8e
Merge pull request #2172 from jches/gh/2165
Fix code generation for non-exported vars after an export
2019-03-07 08:38:39 -05:00
Rich Harris
c019150112
Merge pull request #2161 from sveltejs/gh-2129
Prevent reactive declaration assignees from being dependencies
2019-03-07 08:34:44 -05:00
Rich Harris
713eb158ad
Merge pull request #2168 from sveltejs/gh-2154
require whitespace after `{@html`
2019-03-07 08:33:28 -05:00
Rich Harris
7373db4ffb
Merge pull request #2169 from sveltejs/repl-updates
various REPL improvements
2019-03-07 08:32:36 -05:00
John Chesley
428165eb79 woops, this is redundant 2019-03-07 00:36:20 -05:00
John Chesley
d6c160aade create a new declaration for non-exported variables that follow an exported one (#2165) 2019-03-07 00:26:25 -05:00
John Chesley
fc19749673 add test for #2165 2019-03-07 00:26:17 -05:00
Richard Harris
e6f0282da1 various REPL improvements 2019-03-06 14:25:00 -05:00
Conduitry
bee6fe7ebc require whitespace after {@html (#2154) 2019-03-06 12:42:40 -05:00
Conduitry
f5290b2958 another test 2019-03-05 16:11:02 -05:00
Conduitry
957093e81a update tests 2019-03-05 12:34:47 -05:00
Conduitry
8f5aba3225 prevent reactive declaration assignees from being dependencies (#2129) 2019-03-05 12:31:02 -05:00
Brian S
d0cd4521dd
Update Element.ts
Adds 'rowindex' and 'colindex' to the list of recognized aria attributes as suggested here: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Row_Role
2019-03-03 10:34:47 -05:00
Richard Harris
27ec345f31 bump beta version 2019-03-02 14:04:39 -05:00
Rich Harris
ac38a286e6
Merge pull request #2150 from sveltejs/gh-2149
allow event handlers to come from destructured var declarations
2019-03-02 13:58:34 -05:00