Rich Harris
b64f570e2e
Merge pull request #2739 from membranophonist/patch-1
...
Replace tag with attribute for alt
6 years ago
Rich Harris
8c553706ab
Merge pull request #2740 from membranophonist/patch-2
...
Pluralize elements
6 years ago
Rich Harris
26a67a6ac4
Update text.md
6 years ago
Josh Duff
5ebde551b2
Link to label syntax page on MDN
...
Inspired by https://github.com/sveltejs/svelte/issues/98#issuecomment-491586072 , I wanted to make it a bit more explicit that the `$:` label was actual JS syntax.
6 years ago
pngwn
1b4446030b
Update animate example to use animate directive and built-in crossfade function.
6 years ago
Daniel J. Wilson
66a4c1a9bc
Pluralize elements
6 years ago
Daniel J. Wilson
5e8383cf37
Replace tag with attribute for alt
...
Being an attribute, alt should be mentioned as such.
6 years ago
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
6 years ago
Conduitry
f7978b234a
site: document export-as ( #2559 )
6 years ago
Conduitry
457320c30b
site: remove chokidar
6 years ago
Rich Harris
11168cf076
Merge pull request #2685 from foucist/master
...
Make modal example more obvious
6 years ago
pngwn
7a7804be49
Document animations. #2532
6 years ago
Conduitry
43f82af4a8
some linting and tidying
6 years ago
James Robey
c954e84727
Make modal example more obvious
6 years ago
Luke Edwards
c4c21438b2
site: add yootils
6 years ago
Luke Edwards
1d0da9d022
Use database for REPL, update URL structure ( #2572 )
...
* fix: move `shelljs` to dev-deps
* fix: move `codemirror` to “external” config only
* fix: move `yootils` to “external” config only
* chore: bump “sirv” dep
* chore: regenerate pkg-lock
* chore: add `.env.example` file
* chore: remove previous dependencies
* chore: add users migration
* feat: add `db` util w/ pool
* feat: handle GitHub OAuth directly, thru JWTs
* fix: hydrate `user` data & update keys
* fix: add timestamp columns to “users" table
* feat: save new gists to database
* feat: find & update gists
* fix: update client for new endpoints
* fix: always send { error } shape
* fix: rename “users.token” => "users.github_token”
* chore: include node-fetch as dev-dep
* fix: remove extra DATABASE_URL key
* fix: upload OAuth popup message
* chore: regenerate lock file
* add database entries for new gists, update REPL URLs
* implement saving and forking
* insert history entry when forking
* add logic for relaxed gists
* remove unnecessary on conflict clause
6 years ago
Richard Harris
3ee3576f69
fix wacky layout on mobile - closes #2673
6 years ago
Richard Harris
985bf870d2
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Michael Braun
ac24817ef0
Clarifying `let` needs to be used on exported properties, in order for them to be passed in
6 years ago
Richard Harris
be1fec4619
fix contributors script
6 years ago
Richard Harris
548fd039d9
update deps
6 years ago
Richard Harris
4ef1a2d623
document new spring options
6 years ago
Richard Harris
537e873cc0
fix double import
6 years ago
Richard Harris
16430dc6bb
Merge branch 'master' into blog-anchors-2609
6 years ago
Rich Harris
ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
...
expose svelte.walk
6 years ago
Conduitry
54a8eb9fd4
expose svelte.walk ( #2661 )
6 years ago
Conduitry
df448cb36a
document svelte.parse
6 years ago
Rich Harris
de31170a40
Merge branch 'master' into blog-anchors-2609
6 years ago
Rich Harris
cfb22e4a10
Merge pull request #2633 from zlsa/patch-2
...
Add barebones description of `svelte/register`
6 years ago
Rich Harris
8f2ccc407e
flesh out svelte/register docs
6 years ago
Rich Harris
0f07accadb
Merge pull request #2657 from lode/patch-1
...
Clarify when sanitization is done and when not
6 years ago
Rich Harris
7bf207f825
Update text.md
6 years ago
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
6 years ago
Lode Claassen
1df741a374
clarify when sanitization is done and when not
6 years ago
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
6 years ago
Conduitry
196ecf1298
site: update for changes in sapper stores
6 years ago
Conduitry
1008c69cd4
site: update svelte and sapper, remove shimport hack
6 years ago
Conduitry
d0d54b792a
update links to new Sapper site
6 years ago
Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
6 years ago
Achim Vedam
3b244a6fde
Consistent sidebars 2641 ( #2642 )
...
* consistent sidebar tutorial
- added css-var for light sidebar-text for easy handling
- provide higher contrast for better readability in code and blockquotes
- push SHOW ME with higher contrast (on dark instead on white)
* minor fixes on opacities and color
* adjust sidebar-styles of docs and examples
closes #2641
6 years ago
Benjamin Milde
e73084b6af
Hint at the reactivity limitation of array methods in the api docs ( #2622 )
...
* Hint at the reactivity limitation of array methods in the api docs
* tweaks
6 years ago
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
6 years ago
Jon Ross
df602b74b0
Add barebones description of `svelte/register`
...
I don't know if this is correct, but it works for me and this is better than nothing.
6 years ago
Emil Tholin
d419274afd
Narrow down checkbox transitions to background and left
6 years ago
pngwn
60e73c41dc
Document svelte/animate - flip.
6 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Luca Bonavita
5813248e5a
Site: add anchors to blog posts
...
Closes #2609
6 years ago
Luca Bonavita
211d86b4f8
Update the message in the popup we get when we login in the REPL
6 years ago
Luca Bonavita
8839951185
Site: REPL, use the gist or example title in the page title
...
Closes #2592
6 years ago
Luca Bonavita
55efa0e0b1
Site: REPL temp fix for the output pane does not receiving touch events on mobile & tablet
...
Applying this fix to make the site accessible on mobile again,
will remove when https://github.com/sveltejs/svelte-repl/issues/8 gets fixed and published
Fixes #2499 #2550
6 years ago
Luca Bonavita
788519b1c4
Site: use pure javascript slugification library
...
This library doesn't support languages but it has only 2 dependencies being free from native dependencies
Closes #2508
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Emil Tholin
eab763c386
Document how to remove a component.$on listener
...
This PR documents how `component.$on` returns a function that removes the event listener when called.
6 years ago
Luca Bonavita
cc4e5b3e31
Use comma as the separatore in the viewport content value.
...
It seems that semicolon is not supported by Android phones.
Problem is, we'll have to re-open #2551 as iOS doesn't support the comma... (eyeroll)
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Rich Harris
4ee6284514
Merge pull request #2564 from sveltejs/ios-fix-2551
...
Site: set initial-scale=1.0 on the viewport
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Luca Bonavita
1ad29d2a02
Site: set initial-scale=1.0 on the viewport
...
fixes #2551
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Rich Harris
2fdf7d4e91
Merge pull request #2554 from thollander/fix/mobile-docs-sidebar
...
Fix unusable docs sidebar in mobile
6 years ago
Rich Harris
de8d1a3bc2
Merge pull request #2529 from sveltejs/examples-loader-and-cache-2527
...
Site examples: add a cache and show a loading icon
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Rich Harris
050de82b29
Merge branch 'master' into site/polka
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
6 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
6 years ago
Rich Harris
fa3b7b0c65
Merge pull request #2526 from sidx1024/add-myorganisation-logo
...
Add Razorpay to WhosUsingSvelte
6 years ago
thollander
6941d63d7b
Fix unusable docs sidebar in mobile
...
- Puts the text color in mobile to var(--second)
- Fixes the scroll shadow on scrollbar
- Better size handling
6 years ago
thollander
93f7ecca1d
Don't show/hide nav when clicking in docs sidebar
...
- Listens to hashchange event
- Changes only the navbar visibilty when scroll not triggered by hashchange
Resolves #2456
6 years ago
thollander
adcd13f6dd
Fix the shadow in scrollbar of docs sidebar
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 years ago
Luca Bonavita
ce5399a1de
Site examples: add a cache and show a loading icon
...
Add a loading icon I made in SVG: it uses SMIL animation so it might not be well supported on IE/Edge but I think Edge will be powered by Chromium pretty soon.
Also set the REPL orientation based on the width as discussed in #2466
Closes #2527
6 years ago
sidgo
c3905be8d8
Add Razorpay to WhosUsingSvelte
6 years ago
swyx
7b632182c3
update quick start instructions
...
since the front page links to this slightly out of date blogpost - i copied over and updated instructions so otherse wont be as confused as i was...
6 years ago
Conduitry
e49db5c65f
site: move write-less-code REPL embed into example
6 years ago
Conduitry
f2e1b0ea99
site: move svelte-css-in-js REPL embed into example
6 years ago
Conduitry
8fa676bfb0
site: in examples.json don't return sections with no title
6 years ago
Scotty Simpson
644c02eb54
is-admin => isAdmin
6 years ago
Scotty Simpson
1865710095
add multiple class toggles example
...
This answers the immediate question I had when I first saw the `class:foo` syntax.
6 years ago
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Conduitry
e7885f2cb1
site: more link fixes in blog posts
6 years ago
Gregor Aisch
2435c57f47
fix link to CSS in JS blog post
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago
Luke Edwards
ae081af54c
Merge branch 'master' into site/polka
6 years ago
Luke Edwards
bc6e456574
chore: bump polka deps
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago
Luca Bonavita
2a76b8d383
site: API docs, transform section titles with the same processor used for content headers
6 years ago
Conduitry
d85de6791e
site: use master branch of template in svelte-app
6 years ago
Conduitry
e039cabbaa
site: fix another link ( #2497 )
6 years ago
Luca Bonavita
58531cbf49
Fix hash links in docs
...
- update links containing `docs#`
- pointing some links to the v2 branch
- for posterity, I've been looking also in markdown links containing an anchor using \[.+\]\(.+#.+\), derived from regexr.com/3e051 (1 found)
- Gitter -> Discord
Fixes #2470
6 years ago
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
de153eff0f
surely this will fix it
6 years ago
Richard Harris
8c26471d00
fix gist icon in REPL
6 years ago
Richard Harris
bed7511bff
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
0e6b002573
work around transition bug
6 years ago
Achim Vedam
210ac8aa57
closes #2482
...
• fix missing :hover-state in TopNav
6 years ago
Richard Harris
0b54fa9537
add video to blog post, remove draft flag
6 years ago
Rich Harris
263add1d61
Merge pull request #2469 from sveltejs/better-site-errors
...
better error pages
6 years ago
Richard Harris
813f4870bb
remove some unused code
6 years ago
Richard Harris
9dc554203d
fix opacity on examples TOC
6 years ago
Rich Harris
0129277b51
Merge pull request #2477 from sveltejs/site/deps
...
Site: Remove extra dependencies
6 years ago
Richard Harris
b3a913a19a
merge
6 years ago
Rich Harris
8e1fa5755f
Merge pull request #2479 from sveltejs/gcloud-builds
...
site: use gcloud CLI to build Docker image
6 years ago
Rich Harris
74a5ef2811
Merge branch 'master' into site/deps
6 years ago
Rich Harris
aa0abb13cc
Merge pull request #2476 from sveltejs/site/caching
...
Site: Default Cache-Control value
6 years ago
Rich Harris
86f6e73830
Merge pull request #2475 from sveltejs/deploy/node-11
...
Chore: Deploy with Node 11.14
6 years ago
Rich Harris
be6d61f5ed
Merge pull request #2473 from sveltejs/gh-2449
...
add a preloading indicator
6 years ago
Luke Edwards
4c3499f578
fix(site): remove "dotenv" from runtime
6 years ago
Luke Edwards
85481a446a
fix: serve -> sirv typo
6 years ago
Conduitry
8866e5a219
site: use gcloud CLI to build Docker image
6 years ago
Luke Edwards
18c2e6b675
site: remove “compression” lib;
...
- handled better by Cloudflare
6 years ago
Luke Edwards
5928378664
fix: remove unused arg
6 years ago
Luke Edwards
030d3c9b0d
site: install & use polka
6 years ago
Luke Edwards
5830cf346e
chore: linter fixes
6 years ago
Luke Edwards
999b1f4cdb
refactor: let `send` build output
6 years ago
Luke Edwards
092d0be525
chore: install “polka/send”
6 years ago
Luke Edwards
ece8224085
chore: bump & attach `sirv` dep
6 years ago
Luke Edwards
02f89bcbd9
fix: set default Cache-Control value when unset
6 years ago
Luke Edwards
ebb4e72d1d
chore: deploy with Node 11.14
6 years ago
Conduitry
a8832f006e
site: remove Now ( #2474 )
6 years ago
Richard Harris
04a6b9ad8b
add a preloading indicator - fixes #2449
6 years ago
Richard Harris
17c5cb75b1
makes links a bit more obvious, per #2445 . also tweaks some /blog css
6 years ago
Richard Harris
1e9ef58a90
better error pages
6 years ago
Richard Harris
f4d7087ea0
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
7a3e87c75e
remove superfluous example
6 years ago
Richard Harris
2359a9f595
redo thumbnails as jpgs
6 years ago
Richard Harris
30b47995dd
Merge branch 'master' into deploy/cloudrun
6 years ago
Rich Harris
3f10f3542d
Merge pull request #2466 from sveltejs/examples-nav-2460
...
Add examples navigation
6 years ago
Richard Harris
6dc71feed5
Merge branch 'master' into deploy/cloudrun
6 years ago
Richard Harris
5de3c390bb
fix some markup
6 years ago
Luca Bonavita
64d397844f
remove ref to prevent_sidebar_scroll and unused vars
6 years ago
Richard Harris
a5575b3fd3
add project name
6 years ago
Luca Bonavita
159ea061d0
fix svelteUrl (beta -> v3)
6 years ago
Luca Bonavita
39c172ef83
Add examples navigation
...
- move tutorial's ScreenToggle.svelte to src/components and makes it generic (it now accept a list of labels)
- add a navigation util to export getFragment()
- move mapbox_setup, svelteUrl, rollupUrl in a config
- docs/index.svelte: removes an unused import, use getFragment, use onscroll in the second setTimeout
- global.css: add a couple of vars and set width/height on the page
Closes #2460
6 years ago
Richard Harris
a3cddbfb49
Merge branch 'master' into deploy/cloudrun
6 years ago
Luke Edwards
31d99eb2a7
chore: remove old “deploy” scripts
6 years ago
Rich Harris
bb888f69d2
Merge pull request #2459 from sveltejs/v2-repl-redirect
...
redirect to old REPL where necessary
6 years ago
Luke Edwards
2b9b2362b7
chore: add Makefile recipes
6 years ago
Luke Edwards
284b3f61d9
chore: add Dockerfile
6 years ago
Richard Harris
0ff6f5b0b0
update links
6 years ago
Richard Harris
428e220e3e
redirect to old REPL where necessary
6 years ago
Richard Harris
39afa1c153
Merge branch 'meta-tags'
6 years ago
Rich Harris
129064b4b4
Merge pull request #2457 from sveltejs/meta-tags
...
add regular <meta> tags
6 years ago