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

351 Commits

Author SHA1 Message Date
Rich Harris
6a9d7bf144
Merge pull request #2420 from sveltejs/repl-embed
reinstate /repl/embed
2019-04-14 23:04:45 -04:00
Richard Harris
520f69f7cb document the accessors option - closes #2382 2019-04-14 23:04:32 -04:00
Richard Harris
1c6f627bbb reinstate /repl/embed - fixes #2375 2019-04-14 22:55:44 -04:00
Richard Harris
c154641fc9 update shimport 2019-04-14 21:49:26 -04:00
Richard Harris
3a4b44e371 Merge branch 'master' of github.com:sveltejs/svelte 2019-04-14 20:18:39 -04:00
Richard Harris
5bc589297c update site deps, hack around shimport stuff temporarily 2019-04-14 20:18:33 -04:00
Richard Harris
9acd89e912 filter out .DS_Store and mp3s 2019-04-14 19:58:03 -04:00
Emil Tholin
cd85dc7657
Fix broken "your company?" link 2019-04-14 22:42:38 +02:00
Rich Harris
3c840aad88
Merge pull request #2411 from AlexxNB/master
add link_renderer to handle external links
2019-04-14 14:30:31 -04:00
Conduitry
cad5bbafd4 site: fix deferred-transitions example 2019-04-14 12:51:54 -04:00
AlexxNB
ab7a9e7da7 add link_renderer to handle external links 2019-04-14 12:28:07 +03:00
Richard Harris
079a1ba276 bump up h5 size slightly 2019-04-13 15:06:05 -04:00
Richard Harris
55bec34a6e Merge branch 'site-sidebar-level-4-headings' of https://github.com/mindrones/svelte into mindrones-site-sidebar-level-4-headings 2019-04-13 15:01:59 -04:00
Luca Bonavita
c474007c88 Add link to Mozilla docs about events bubbling and capture phase
Fixes #2393
2019-04-13 18:03:51 +01:00
Luca Bonavita
9a503f21b1 Add anchor to h5 and h6 too but don't show 'em in the sidebar. 2019-04-12 17:15:44 +01:00
Luca Bonavita
010a784b4e Site: sidebar level-4 headings.
Fixes #2389
2019-04-12 17:15:44 +01:00
Conduitry
3170edb158 add initial_value argument to derived store 2019-04-11 15:26:42 -04:00
Rich Harris
d4860ee444
Merge pull request #2392 from sveltejs/gh-2391
repl: use absolute svelteUrl to fix version=local
2019-04-11 09:31:23 -04:00
Rich Harris
961364fbc1
Merge pull request #2388 from mindrones/site-code-blocks-formatting
Site: code blocks formatting
2019-04-11 09:28:14 -04:00
Rich Harris
b04cada2dd
Merge pull request #2383 from sveltejs/update-repl
Update REPL
2019-04-11 09:18:21 -04:00
Richard Harris
ab7a1a757a fix remaining tutorial layout bugs 2019-04-11 09:18:05 -04:00
Conduitry
eba815e74c repl: use absolute svelteUrl to fix version=local 2019-04-09 18:05:56 -04:00
Luca Bonavita
2778956612 Code blocks formatting. Fixes #2387 2019-04-09 21:00:45 +01:00
Conduitry
a605daceaa derived docs fix 2019-04-09 11:29:59 -04:00
Rich Harris
4cb08f3253 fix padding 2019-04-09 11:21:59 -04:00
Rich Harris
8e78448a39 keep svelte prefix for compiler exports 2019-04-09 11:21:42 -04:00
Rich Harris
795d9b7e66
Fix pluralisation 2019-04-09 11:13:45 -04:00
Rich Harris
b68584ec2a
revert previous commit. just saw the rest of the PR, doh 2019-04-09 11:12:15 -04:00
Rich Harris
cec1d6cf2d
remove separate bind:this item (could also be a component, gets confusing) 2019-04-09 11:10:58 -04:00
Rich Harris
9a0b847455
Merge branch 'master' into site-headings-level-4 2019-04-09 11:09:04 -04:00
Rich Harris
cf095c4723
Merge pull request #2381 from sveltejs/gh-2380
add scale transition
2019-04-09 11:08:08 -04:00
Conduitry
6e46a18969 rename derive to derived 2019-04-09 10:29:40 -04:00
Richard Harris
2e2abe635d fix 2019-04-09 09:35:29 -04:00
Richard Harris
b96715f812 make tutorial mobile-friendly 2019-04-09 09:14:54 -04:00
Richard Harris
648bd176c5 add input-output toggle back to /repl 2019-04-09 08:30:41 -04:00
Richard Harris
8a85955fae move responsive REPL behaviour into ReplWidget 2019-04-09 08:21:53 -04:00
Richard Harris
eadb083346 more tweaking 2019-04-09 07:31:07 -04:00
Rich Harris
66d6feb8ef add scale transition. closes #2380 2019-04-08 18:31:27 -04:00
Richard Harris
cae0dc93c5 tweak layout of homepage info boxes 2019-04-08 09:21:48 -04:00
Richard Harris
b9aa8912e6 add menu icon to tutorial dropdown 2019-04-08 07:56:53 -04:00
Richard Harris
22a71b9aeb make dropdown clickable in Safari 2019-04-08 07:51:52 -04:00
Luca Bonavita
c88b28e207 Add more level 4 headings, fixes some typos 2019-04-07 21:25:20 +01:00
Rich Harris
1dc787493a
Merge pull request #2371 from mindrones/site-fix-2365
Don't update the active section for headings above level 3
2019-04-07 14:14:57 -04:00
Rich Harris
4d08c42165
Merge pull request #2370 from mindrones/site-sections-anchor-fix
Site: sections anchors fix
2019-04-07 14:14:13 -04:00
Luca Bonavita
4b40882f45 use data-scrollignore rather than being level specific 2019-04-07 17:41:46 +01:00
Richard Harris
c44d495e2f update @sveltejs/svelte-repl version 2019-04-07 12:18:31 -04:00
Luca Bonavita
888e16367c Don't update the active section for headings below level 3
Fixes #2365
2019-04-07 17:03:07 +01:00
Luca Bonavita
f8214049d4 Site: sections anchors fix
Fixes #2369
2019-04-07 15:42:00 +01:00
Richard Harris
3f02d999cd use spritesheet for contributors - fixes #2329 2019-04-07 09:56:47 -04:00
Rich Harris
7853d5af13
Merge pull request #2367 from sveltejs/who-is-using-svelte
Add a 'Who's using Svelte' section
2019-04-07 08:36:33 -04:00
Richard Harris
411d1118b6 mobile styles 2019-04-07 08:36:08 -04:00
Richard Harris
12083e797f remove excess padding from logos 2019-04-07 08:33:42 -04:00
Richard Harris
94e2ea3610 compress images 2019-04-07 08:28:58 -04:00
Richard Harris
bf04c0528d add instructions 2019-04-07 08:25:21 -04:00
Richard Harris
56b6fb0607 fix readable examples in tutorial 2019-04-07 08:05:12 -04:00
Richard Harris
342d1a0166 add a few organisations using Svelte 2019-04-07 08:03:26 -04:00
Rich Harris
a42671fdc7
Update 03-run-time.md
tweak description of second argument to writable/readable
2019-04-07 08:02:37 -04:00
Pat Cavit
e93eb6fbb2
docs: fix incorrect readable store
Changed in f3cb540ce6 (first brought up in #2296), but the docs got missed.
2019-04-06 23:09:52 -07:00
Richard Harris
6e32ffd990 tweak working - fixes #2350 2019-04-06 09:52:14 -04:00
Luca Bonavita
f6b399f8d0 API docs: remove an absolute URL
I originally started this PR because the link `[stores](tutorial/writable-stores)`
renders as http://localhost:3000/tutorial/writable-stores on https://v3.svelte.technology/docs#svelte-store.
No idea why because the rest of the relative links in content/ have the same format.
2019-04-06 13:47:06 +01:00
Vadim Cebaniuc
b161725a51 Fix typos in doc node-sass example
closes #2337
2019-04-02 14:43:40 -04:00
Pat Cavit
a68abb8a9a docs: "proeprties" -> "properties" 2019-04-02 14:38:19 -04:00
Pat Cavit
4a75d93173 docs: remove hardcoded localhost link from API 2019-04-02 14:38:01 -04:00
Rich Harris
6ccd66468c
remove unused ctx/running variables 2019-03-30 07:33:20 -04:00
Rich Harris
68d6793c97
remove unused ctx/running variables 2019-03-30 07:33:02 -04:00
Hunter Perrin
94594eb298
Merge pull request #1 from hperrin/patch-2
Remove unused r variable.
2019-03-29 20:13:28 -07:00
Hunter Perrin
19f68f358b
Remove unused r variable. 2019-03-29 20:11:40 -07:00
Hunter Perrin
a85cc349b8
Remove unused r variable. 2019-03-29 20:10:40 -07:00
Rich Harris
a07eac432a
update API reference docs (#2206) 2019-03-29 21:49:31 -04:00
Richard Harris
baa6debe53 update svelte-repl 2019-03-29 09:21:08 -04:00
Richard Harris
143117054a Merge branch 'master' of github.com:sveltejs/svelte 2019-03-29 08:44:35 -04:00
Richard Harris
200b82d8d0 add playbackRate to list of bindings in tutorial 2019-03-29 08:44:15 -04:00
Rich Harris
edd92cf8ea
Merge pull request #2331 from lunchboxer/master
reverse readable stores arg order in tutorial, fixes #2330
2019-03-29 08:28:41 -04:00
Rich Harris
4be340bb57
fix example code 2019-03-29 08:28:29 -04:00
Richard Harris
6836f64312 fix broken link 2019-03-29 08:24:56 -04:00
James
e76b9e779a reverse readable stores arg order, fixes #2330 2019-03-28 21:56:11 +08:00
Richard Harris
a72d7a72f5 pass through mapbox setup code 2019-03-28 08:46:30 -04:00
Richard Harris
467cbc3bed merge master -> external-repl 2019-03-27 22:14:01 -04:00
Richard Harris
c3b4e6c792 use external repl package everywhere 2019-03-27 22:08:50 -04:00
Conduitry
388d5f604a site: use published version of eslint-plugin-svelte3 2019-03-27 22:06:56 -04:00
Richard Harris
c7f9f514be use external repl package 2019-03-27 09:31:06 -04:00
Rich Harris
70c8d3e24a
Merge pull request #2311 from sveltejs/gh-2306
Fix zen mode REPL nav CSS
2019-03-25 16:24:03 -04:00
Conduitry
63771522d3 site: tidy repl example loading and fix race condition (#2313) 2019-03-25 13:16:45 -04:00
Richard Harris
cb60f6cfad begun, the z-index wars have 2019-03-25 08:24:58 -04:00
Rich Harris
99f041900b
Merge pull request #2288 from bdougherty/fix-media-element-tutorial
Fix media element tutorial
2019-03-24 21:41:19 -04:00
Rich Harris
88366b9ed2
typo 2019-03-23 20:56:27 -04:00
Brad Dougherty
1b3320d765
Update media urls to https 2019-03-21 19:41:33 -04:00
Conduitry
2eba76a1a1 site: remove unused /repl/embed route 2019-03-20 13:00:35 -04:00
Conduitry
a0e6638a96 site: make main REPL use relaxed sandbox when loading from example 2019-03-20 12:58:52 -04:00
Conduitry
665c3eac79 site: run tutorial and widget REPLs in relaxed sandbox (#2147) 2019-03-20 10:52:56 -04:00
Rich Harris
29b4615d9d
Merge pull request #2272 from sveltejs/gh-2216
[WIP] Don't use iframes for homepage REPLs
2019-03-19 21:58:07 -04:00
Richard Harris
fba4308036 dry out /repl/embed 2019-03-19 21:53:43 -04:00
Rich Harris
e8b7cd7889 stagger creation of REPL widgets on home page 2019-03-19 13:38:37 -04:00
Richard Harris
795ca0c291 share workers, prevent REPL crosstalk 2019-03-19 09:21:47 -04:00
Mikhail Korepanov
39eece990e Change input of a component when click on an error message 2019-03-19 01:48:04 +03:00
Rich Harris
9f0630c3fb start moving REPL widgets out of iframes (#2216) 2019-03-18 18:44:40 -04:00
Rich Harris
ad2924acb3 a few tweaks 2019-03-18 18:27:41 -04:00
Rich Harris
fce96dcd75 remove old style tags when updating components - fixes #2220 2019-03-18 17:13:34 -04:00
Conduitry
149c33b69e site: serve static assets with allow origin '*' (#2221) 2019-03-18 15:36:06 -04:00
Rich Harris
21d56c9ee3
Tidy up (#2252) 2019-03-18 09:06:01 -04:00
Richard Harris
a859d5cb90 recompile when options change 2019-03-17 17:22:19 -04:00
Richard Harris
52dac8f2a7 rebundle when files are created/renamed 2019-03-17 16:51:19 -04:00
Richard Harris
b3b8f4220c various spring fixes, including #2167 2019-03-17 12:15:16 -04:00
Conduitry
becb6d4a93 site: update eslint-plugin-svelte3 2019-03-16 10:59:33 -04:00
Rich Harris
3ef1c10190
Merge pull request #2210 from sveltejs/gh-2208
REPL: better "could not resolve module" error
2019-03-15 19:38:12 -04:00
Conduitry
66e2905066 repl: deal with named module exports from main App 2019-03-15 19:16:59 -04:00
Conduitry
78cb0183fb repl: use Rollup 1.x 2019-03-11 14:39:08 -04:00
Conduitry
328db0920f repl: better bundling error when unable to resolve module (#2208) 2019-03-11 14:13:03 -04:00
Richard Harris
0e6bf65aeb style tweaks, additional thumbnails 2019-03-10 22:30:47 -04:00
Richard Harris
2edb5df09c transfer over all the old examples worth keeping 2019-03-10 22:25:33 -04:00
Richard Harris
771d9eed06 update/remove some more stuff 2019-03-10 19:39:14 -04:00
Richard Harris
9037688dd9 thumbnails 2019-03-10 18:53:06 -04:00
Richard Harris
3b424fe660 7guis examples 2019-03-10 18:52:54 -04:00
Richard Harris
23eeddef66 tweak examples 2019-03-10 18:35:46 -04:00
Richard Harris
830fb1ea49 remove thumbnails 2019-03-10 18:35:29 -04:00
Richard Harris
b870e65511 add thumbnails to examples page 2019-03-10 17:16:39 -04:00
Richard Harris
5bd43fba51 bones of an example index page 2019-03-10 15:53:01 -04:00
Richard Harris
ff32efd8d9 update Svelte, fix bug 2019-03-10 13:54:51 -04:00
Richard Harris
e27028e780 more tidying up 2019-03-10 13:43:58 -04:00
Richard Harris
26e783b078 remove some more unused stuff 2019-03-10 13:42:52 -04:00
Richard Harris
0bbea065bb remove props editor 2019-03-10 13:41:14 -04:00
Richard Harris
217cd6c741 move example data into components 2019-03-10 13:15:56 -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
4541d58798
Add a tutorial (#2132) 2019-03-10 09:30:29 -04:00
Conduitry
7ca4c408e2 site: deps 2019-03-07 08:53:18 -05:00
Richard Harris
e6f0282da1 various REPL improvements 2019-03-06 14:25:00 -05:00
Richard Harris
c672ad8df7 update Sapper 2019-02-24 21:04:02 -05:00
Conduitry
ca8671c2b4 site: bump eslint-plugin-svelte3 2019-02-24 15:14:02 -05:00
Richard Harris
ff60e72cbd Merge branch 'master' of github.com:sveltejs/svelte 2019-02-24 14:53:41 -05:00
Conduitry
7e5b29c85e repl: don't export time as prop in SVG Clock example 2019-02-23 12:23:28 -05:00
Conduitry
775adb53e0 repl: fix some more prop editor bugs 2019-02-23 12:06:35 -05:00
Richard Harris
f710f3bca2 update svelte and sapper, workaround #2127 2019-02-22 21:36:25 -05:00
Richard Harris
6f777478c8 use v3 branch of template 2019-02-22 08:16:33 -05:00
Conduitry
50e92afb25 repl: only display writable exports in props editor 2019-02-22 07:41:36 -05:00
Conduitry
7fa7f200d1 site: mention PUBLISH env variable in readme 2019-02-22 00:22:13 -05:00
halfnelson
2ab21887d0 Quick fix to save and fork 2019-02-20 21:27:51 +10:00
Richard Harris
ef3f75ad7d oops 2019-02-19 08:14:08 -05:00
Richard Harris
c9dd5c7033 accommodate changes to stats/vars/warnings 2019-02-19 07:37:40 -05:00
Rich Harris
5c70456123
Merge pull request #2090 from sveltejs/gh-2078
fix two examples
2019-02-17 13:51:34 -04:00
Richard Harris
fa1322b00b update Sapper 2019-02-17 11:09:03 -05:00
Richard Harris
a0e72db86a fix crud example 2019-02-17 11:06:28 -05:00
Richard Harris
f863a5df30 fix flight booker example 2019-02-17 10:51:21 -05:00
Conduitry
f262293135 site: fix invalid blog rss feed (#2085) and tidy 2019-02-15 16:36:04 -05:00
Hayden
286973ea31 Add rss <link> to blog 2019-02-10 14:20:53 +10:30
halfnelson
3975ffe013 Allow repl to use alert 2019-02-09 22:50:46 +10:00
Rich Harris
e6ed8ef49f update site, including REPL, to use .svelte 2019-02-08 20:58:18 -05:00
Rich Harris
be3808dd08 fix REPL 2019-02-07 10:44:12 -05:00
Rich Harris
e2ff2f1d66 default to beta version 2019-02-06 19:03:03 -05:00
Vasiliy Mikhaylovsky
7cf6c0a492
Change "Keyed each blocks" to v3
https://v3.svelte.technology/repl?version=3.0.0-beta.1&gist=f39ae2d72b85b84415aed58acdc43d87
2019-02-06 03:18:31 +05:00
Richard Harris
df318d2976 Merge branch 'master' of github.com:sveltejs/svelte 2019-02-03 14:15:16 -05:00