Sander Hahn
bf37db9985
fix offset
5 years ago
Richard Harris
b4509c755f
remove hyphens from UIDs
5 years ago
Richard Harris
a53849d54f
Merge branch 'master' into gh-3019
5 years ago
Rich Harris
c8a44ec8d0
Merge pull request #3420 from sveltejs/cookies
...
use cookies instead of JWT
5 years ago
Richard Harris
eb9e405916
remove JWT stuff from .env.example
5 years ago
Richard Harris
b73941c8cf
fix deps, tidy up query
5 years ago
Richard Harris
08be15e3ae
add some more CE docs
5 years ago
Richard Harris
de24efd3b8
small fix
5 years ago
Richard Harris
b23839fb5f
add custom element documentation
5 years ago
Richard Harris
bd5f69ded4
show list of apps belonging to user
5 years ago
nbgoodall
a0b48f9825
Add Zevvle logo to 'Who is using Svelte' section
5 years ago
Richard Harris
90ecf90963
Merge branch 'cookies' into gh-3019
5 years ago
Richard Harris
37b8848dac
colocate all auth/db code, use LRU cache to avoid unnecessary db hits
5 years ago
Richard Harris
3c5d46dc0b
code organisation
5 years ago
Richard Harris
fb5179b0f3
use cookies instead of JWT
5 years ago
Richard Harris
419b4150dd
start building UI for saved REPLs
5 years ago
Richard Harris
b7fb764233
Merge branch 'gist-archive' of https://github.com/sanderhahn/svelte into sanderhahn-gist-archive
5 years ago
Rich Harris
120ee28c4f
Merge pull request #3416 from sveltejs/better-keyed-each-example
...
better keyed each example
5 years ago
Richard Harris
383d441b83
better keyed each example
5 years ago
Rich Harris
4251fc9f00
Merge pull request #3405 from Dagdahu/patch-1
...
Possible typo on transition speed description - Update 03-run-time.md
5 years ago
Rich Harris
3c0c9da6c6
Merge pull request #3407 from caengen/patch-1
...
Examples: Remove unused variable
5 years ago
Sander Hahn
8f30793c58
Access repl archive in console
5 years ago
Silas Rech
f0448710e4
Add Panascais logo to 'Who is using Svelte' section
5 years ago
Christian Engen
8f284c0f9a
Docs: unused variable removed
...
The `const ctx` declaration in `loop` shadows the `let ctx` declaration in the outer scope.
This change removes the outer declaration.
5 years ago
Hugo C
0597d04dba
Update 03-run-time.md
...
Their might have been a minor error in the transition->draw-> speed parameter description. According to the description, half the speed halves the duration and double the speed doubles it (which doesn't make sense physicaly speaking). Let's try the other way around. :)
5 years ago
davidaq
4af242570b
Correct preprocessor api doc
...
Correct preprocessor type definition inside api doc
5 years ago
Richard Harris
4f26363fe0
update deferred transitions example
5 years ago
Richard Harris
bb9a9efec2
Merge branch 'master' of github.com:sveltejs/svelte
5 years ago
Rich Harris
ad790d36b4
add separator
5 years ago
vages
73a21b855a
Document $$props
...
This was explained in the tutorial, but I could not find any documentation on it in the docs.
5 years ago
Samuel Elgozi
b6679eba7a
added `self` modifier explanation to the docs
5 years ago
Daniel Berner
bbbc7d25c5
Fix typo
5 years ago
Richard Harris
8170d4f455
add docs
5 years ago
Rich Harris
e9b59f72dc
Merge pull request #3338 from Vages/patch-1
...
Explain difference between contexts and stores
5 years ago
Rich Harris
5c365108ac
fix italicisation
5 years ago
Rich Harris
b629d6e25f
Combine context-vs-stores with reactivity explanation
5 years ago
Rich Harris
c48d3456f7
Update text.md
5 years ago
Rich Harris
9d90272966
Make point about referential equality more concisely
5 years ago
vages
78eaf77a65
Elaborate on key equality
...
Readers unfamiliar with the concept of object equality in Javascript may have a hard time understanding why using keys as a reference is safe. So I elaborated a little on it.
Also, I changed the "context is not reactive" part into a section of its own, deleting the word "Remember" from the opening. I couldn't remember it from previously on this page or in the tutorial, so I think it may be a leftover from a previous version of the tutorial.
5 years ago
vages
f2aa0f279e
Explain difference between contexts and stores
...
I had a problem understanding why you would want to use a context when you can just use a store. This is what I've gathered after reading a bit about them.
5 years ago
Conduitry
ea7f61542b
site: update deps
5 years ago
Conduitry
b99ee7d5d1
site: remove unused files
5 years ago
Conduitry
f65ce85748
site: fix animate directive section heading
6 years ago
pngwn
fcfad5ae6b
Document that context is not reactive. ( #3296 )
6 years ago
Conduitry
e82d5d44c1
site: deploy with --platform managed
6 years ago
pngwn
efcd294731
Site: Document svelte/easing ( #3292 )
6 years ago
Noah Kaufman
c6cd2d43bb
clicking on 'keyed each block' link did nothing before, now it takes you to the each blocks section like it's supposed to
6 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
6 years ago
Richard Harris
9a0a2e2a52
Merge branch 'patch-1' of https://github.com/RAYDENFilipp/svelte into RAYDENFilipp-patch-1
6 years ago
Rich Harris
4c67765118
Merge pull request #3276 from rohanfaiyazkhan/patch-1
...
Update 03-run-time.md (Issue #3194 )
6 years ago
Rich Harris
695ace3665
Update 03-run-time.md
6 years ago
Rich Harris
8851d79533
put second argument section back with its code sample
6 years ago
Richard Harris
0e2cf9e555
compress logos
6 years ago
Richard Harris
01b4ce2955
use SVG godaddy logo instead
6 years ago
Richard Harris
921482385e
Merge branch 'add-godaddy-and-sucuri-logo' of https://github.com/voldemortensen/svelte into voldemortensen-add-godaddy-and-sucuri-logo
6 years ago
Rich Harris
6cba41d3e8
Merge pull request #3231 from webdesq/add-webdesqplusdeck-logo
...
Added Webdesq & Deck logo to 'Who is using Svelte' section
6 years ago
Rich Harris
89f4575c0c
Merge pull request #3213 from julian-kuroiwa/add-comigo-logo
...
Comigo logo
6 years ago
Rohan Faiyaz Khan
d56e0d5080
Update 03-run-time.md
...
Added descriptors for set and update methods of the return object of writable in svelte/store.
6 years ago
craigglennie
0a3818fb9b
Don't use shorthand binding in textarea example ( #3256 )
6 years ago
Philipp_Lypniakov
b3b830d21a
Update text.md
...
Added a suggestion for a user to add the preventDefault modifier so they could press any key uninterrupted by the default behavior of a key or key combination.
6 years ago
Conduitry
35f81b279f
site: document store contract ( #3261 )
6 years ago
Bart Pype
e7ecb60132
Added Webdesq & Deck logo to 'Who is using Svelte' section
6 years ago
voldemortensen
3406ceb16a
Add GoDaddy and Sucuri logos
6 years ago
julian-kuroiwa
7a024f0517
Comigo logo
...
Comigo logo as a company that is using Svelte.
6 years ago
Richard Harris
2b79a2269d
update site deps
6 years ago
Ben Orozco
c49b189a27
Add HealthTree.org logo
6 years ago
Conduitry
025eed1a29
fix ESLint and eslint-plugin-svelte3 stuff
6 years ago
Vincent Ip
30f7a25e2e
removed bottom padding to center button text
6 years ago
Rich Harris
05bc930bb4
Merge pull request #3161 from Conduitry/eslint6
...
update ESLint and plugins
6 years ago
Conduitry
323e2fa4ae
site: fix setting-up-your-editor blog post crashing the server
6 years ago
Conduitry
30497669bb
update ESLint and plugins
6 years ago
Rich Harris
df38a5da34
Merge pull request #3157 from lyndsysimon/add-vim-filetype-config
...
Add instructions for setting filetype in Vim
6 years ago
Lyndsy Simon
d9c45819a3
Add instructions for setting filetype in Vim
6 years ago
Rich Harris
bdda83fb74
send a 400 instead of a 500
6 years ago
Richard Harris
220515b605
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Luca Bonavita
0eb86d2a13
The element on: directive anchorwas pointing to the component on: directive anchor.
...
Fixes #3138
6 years ago
Richard Harris
be854582e8
add font-display css
6 years ago
Rich Harris
80ef6f190d
Merge pull request #3127 from pngwn/3029-module-reactivity
...
Site: document that module script variables are not reactive. Closes …
6 years ago
Rich Harris
e05680d2e7
Update 01-component-format.md
6 years ago
Rich Harris
cfee4ea08f
Merge pull request #3129 from mfranzke/master
...
svelte.dev / Optimizations of static files/images (e.g. for Google PageSpeed ranking)
6 years ago
Chris Lee
0a76ea32bc
Change tweened docs to show "interpolate" option
...
`tweened` actually accepts `interpolate`, not `interpolator`. It was correctly shown in the code example (and tutorial), but not in the API docs.
Not sure if doing a full build of the site is necessary or desired, so I've just kept this change to the markdown file for now.
6 years ago
Maximilian
4eb6cf05f8
docs: adding a quick comment
6 years ago
Maximilian
f14b15afcf
docs: adding a comment
6 years ago
Maximilian
24788d7ee1
fix: image sizing after WebP introduction
...
we would need to have this tag included after adding the picture tag
6 years ago
Maximilian
b4a83ad80c
refactor: lazy loading the organisations images
6 years ago
Maximilian
e2c76fc01a
refactor: providing this logo in optimized image formats
...
Both migrated to JPEG which provides better compression as well as WebP
6 years ago
Maximilian
c7a47489db
refactor: provided optimized Tokopedia logos
...
Implemented the logo it different sizes according to the pixel density of the device
6 years ago
pngwn
e0ac393a76
Site: document that module script variables are not reactive. Closes #3029 .
6 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
6 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
6 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
6 years ago
Rich Harris
9806d18bdb
Update 03-run-time.md
6 years ago
Bryan Terce
5515bb49c9
Fix docs typo with derived store
6 years ago
Rich Harris
6e6a675c67
tweak docs a bit
6 years ago
Rich Harris
b2da2ebcc7
replace SVG
6 years ago
Rich Harris
0f234c8102
Merge branch 'add-myorganisation-logo' of https://github.com/ElectronSz/svelte into ElectronSz-add-myorganisation-logo
6 years ago
Rich Harris
820490fb4d
add a tutorial chapter
6 years ago
Rich Harris
86c5086c54
add some docs, rename to textContent and innerHTML
6 years ago
Lwazi Dlamini
fe184a68f9
Merge branch 'master' into add-myorganisation-logo
6 years ago
Lwazi Dlamini
7aee021522
Updated organizations link list
6 years ago
Lwazi Dlamini
8ed9ac8dbc
Added Nonkosi Telecoms Logo
6 years ago
Rich Harris
21987c4e57
Add Neue Zürcher Zeitung logo ( #3073 )
6 years ago
Jan C
9bf8fd3747
Update site README for local REPL ( #3078 )
...
* Update site README for local REPL
* Change the local install instructions to be able to use the local repl out of the box
This avoids potential confusion in setting the website up for local use.
* Add sections for Testing and Building
* Add a note that the local REPL will only work for the development page
* Update README.md
6 years ago
Luca Bonavita
0b836872cf
Use consistent tag closing for <svelte:*> elements
...
Fixes #3061
6 years ago
Luca Bonavita
a7dd227336
Docs: document rest in array/object destructuring in each blocks ( #2676 )
6 years ago
benib
b6ff88e23c
Add Neue Zürcher Zeitung logo
6 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
6 years ago
Richard Harris
f9054bc439
update svelte
6 years ago
Richard Harris
d270542aee
merge master -> doc-restructure
6 years ago
Richard Harris
a012a07842
update site-kit
6 years ago
Conduitry
87d4ac55c9
site: fix css-in-js blog embed, pt II
6 years ago
Conduitry
c24fc92d2f
site: fix css-in-js blog embed
6 years ago
Conduitry
7b4af88ec6
site: remove unused pkg scripts
6 years ago
Conduitry
68e1f2830e
site: bump repl
6 years ago
Jacob Wright
52b5e05ead
Fix 7 GUIs crud example for delete when filtered
...
This example could delete the incorrect person when a filter was applied. Just an example, but the behavior was confusing when I played with it, so I thought it worth fixing.
6 years ago
Conduitry
32107d8102
site: add FAQ link to nav
6 years ago
Conduitry
632a30ffe0
site: bump deps
6 years ago
Conduitry
05c5132e00
site: actually support new package structure in REPL
6 years ago
Richard Harris
9754f2a817
take code block out of blockquote
6 years ago
Richard Harris
44489c9ccb
Merge branch 'patch-1' of https://github.com/Karsten7/svelte into Karsten7-patch-1
6 years ago
Richard Harris
7215260aa2
tweak transition stuff
6 years ago
Richard Harris
60023f6f7e
tweak some content and styles
6 years ago
Rich Harris
0dde4f51e0
Update text.md
6 years ago
Conduitry
c2c1791317
site: update Dockerfile to Node 12
6 years ago
Richard Harris
570098e8dd
restructure
6 years ago
Richard Harris
f42bb4c7fd
Merge branch 'patch-1' of https://github.com/trbrc/svelte into trbrc-patch-1
6 years ago
Rich Harris
6a388a9f86
Merge pull request #2922 from gabysantosw/patch-2
...
Ending alt text with a period
6 years ago
Rich Harris
aaabb12623
Merge pull request #2921 from gabysantosw/patch-1
...
Ending alt text with a period
6 years ago
Rich Harris
df632ca71e
change to sentence
6 years ago
Rich Harris
535d668516
Change text to a sentence, since we're ending it with a period
6 years ago
Rich Harris
77bb111770
Merge pull request #2954 from bwbroersma/add-myorganisation-logo
...
Added 2 users to WhosUsingSvelte
6 years ago
Richard Harris
3fe7f6aa30
shuffle styles around, fix markup
6 years ago
Richard Harris
7d12522e44
Merge branch 'add-strixcloud-logo' of https://github.com/stalkerg/svelte into stalkerg-add-strixcloud-logo
6 years ago
Benjamin W. Broersma
53e46d3500
Add https://github.com/openstate/ and https://github.com/spnl/ as Svelte/Sapper users.
6 years ago
Jacob Wright
04162b9e68
Merge pull request #2944 from sveltejs/component-binding-example
...
Fix component binding example
6 years ago
Conv
86c08c6e2e
site: support new folder structure in REPL ( #2945 )
...
* site: support files in directories in /repl/local/
* site: bump @sveltejs/svelte-repl
6 years ago
Jacob Wright
f65379f38b
Fix component binding example
...
While `cart.empty` could be passed around, it is undefined on first render and results in an error being thrown. The example here was broken and needed fixing.
6 years ago
Yury Zhuravlev
201c8c8553
remove lead slesh from company link
6 years ago
Yury Zhuravlev
25b0897052
Add strixcloud logo.
6 years ago
trbrc
b4b9edf603
Clearer headlines with syntax examples
...
Change headline “Actions” to “Use directive” + add a number of additional syntax examples, to make it easier to find the relevant section without ⌘F
6 years ago
gabysantosw
b4d46ea60d
Ending alt text with a period
6 years ago
gabysantosw
f9c3d99b34
Ending alt text with a period
...
Added a period at the end of the alt text example, recently learned that it improves UX for screen-reader users as it provides a pause.
6 years ago
Evan Moncuso
bd50b83b2d
Fix overwrite of 'offset' value in reactive statement
6 years ago
Tim Deschryver
42235cf64d
fix slide example
6 years ago
Richard Harris
baa5fc2625
update svelte-repl (fixes download button)
6 years ago
Richard Harris
a74c2bf973
update svelte-repl
6 years ago
Richard Harris
404220ad14
update svelte-repl version
6 years ago
Richard Harris
d07feba638
use better eliza package
6 years ago
Richard Harris
8a2da2d39d
gitignore workers
6 years ago
Richard Harris
3c371caa4f
update bundler worker
6 years ago
Richard Harris
db823ca80a
bundle locally
6 years ago
Karsten 7
6d59a40a62
Add implementation for the given tutorial example
6 years ago
Richard Harris
0d7f6fb795
flesh out in/out transition tutorial chapter ( #2792 )
6 years ago
Elliot Waite
4c805018e4
Fix CRUD example to allow changing input values.
...
Currently, the first name and last name inputs fields can't be edited without the changes immediately being overwritten back to the selected person's first name and last name. This change will make it so that the input fields only get overwritten with the selected person's first name and last name when the selected person is changed.
6 years ago
Conduitry
2f80667f20
site: actions tutorial: destroy is not required ( #2776 )
6 years ago
Conduitry
a6c05ed372
site: add /faq redirect to GitHub wiki FAQ
6 years ago
Conduitry
d548a5a5f4
site: bump sapper
6 years ago
Rich Harris
862ed5866d
Merge pull request #2793 from jackyef/add-tokopedia-logo
...
Add Tokopedia logo
6 years ago
Rich Harris
9ba91ddcaa
Merge pull request #2794 from trbrc/patch-1
...
Docs: Exporting function expression vs declaration
6 years ago
Emanuele
394a166a41
docs: multiple event listeners on single node ( #2825 )
6 years ago
Conduitry
1e919113c1
site: document additional arguments in svelte.walk
6 years ago
Conduitry
7ebf3477a4
site: bump @sveltejs/svelte-repl
6 years ago
Conduitry
a6d75b85e6
site: improve instructions for using local copy of Svelte
6 years ago
Conduitry
7265fd4e83
site: fix binary template files in REPL zips ( #2812 )
6 years ago
Sander Hahn
2255aadf36
Fixes for #2799
6 years ago
Peter Varholak
481ac14e7e
Fix setup command in getting started blog
6 years ago
trbrc
c15d7ea2e1
Docs: Exporting function expression vs declaration
...
Current docs give the impression that functions can not be default values for props. Suggestion to make the distinction between expressions and declarations clearer.
6 years ago
Jacky Efendi
393d948f87
Add Tokopedia logo
6 years ago
Rich Harris
3f68f97def
fix deps
6 years ago
Rich Harris
51be7cf8e3
explain how debug tag without args fires on all state changes
6 years ago
Rich Harris
8c9da2fa85
Merge branch 'docs/2640' of https://github.com/varholak-peter/svelte into varholak-peter-docs/2640
6 years ago
Rich Harris
bf03847d88
Merge pull request #2763 from StevenWeathers/add-thunderdome-logo
...
Add Thunderdome Link to Who's Using
6 years ago
Conduitry
3cfbd66841
site: fix enter handling in animate example
6 years ago
Hongarc
66e39d52d4
Remove whitespace at end of line
6 years ago
Peter Varholak
85073dbb72
add @debug API docs
6 years ago
Conduitry
011b33181e
site: fix immutable tutorial and example on Firefox ( #2601 )
6 years ago
Steven Weathers
de60ffb497
Add Thunderdome Link to Who's Using
6 years ago
Conduitry
438acdc09a
typo
6 years ago
Rich Harris
f2474ed11e
Merge pull request #2744 from pngwn/transition-docs
...
Document svelte/transition - fade, fly, slide, scale, draw.
6 years ago
Rich Harris
0c76b9637a
minor correction
6 years ago
pngwn
c72e863a7f
Document svelte/transition - fade, fly, slide, scale, draw.
6 years ago
Rich Harris
61a96b382a
implement namespaced components
6 years ago
Rich Harris
4fa9369120
Merge pull request #2580 from pngwn/animate-docs
...
Site: Document animations. #2532
6 years ago
Rich Harris
644b8a732d
Merge pull request #2730 from sveltejs/gh-2553
...
allow derivers to return cleanup functions
6 years ago
Rich Harris
ca1dc4cdb7
document changes to derived
6 years ago
Rich Harris
8f5f48153b
minor quality of life improvement
6 years ago
Rich Harris
9dbd99b85d
Merge pull request #2741 from pngwn/master
...
Update animate example to use animate directive and built-in crossfad…
6 years ago
Rich Harris
b62328d6a7
Update App.svelte
6 years ago
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