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
5 years ago
pngwn
fcfad5ae6b
Document that context is not reactive. ( #3296 )
5 years ago
Conduitry
e82d5d44c1
site: deploy with --platform managed
5 years ago
pngwn
efcd294731
Site: Document svelte/easing ( #3292 )
5 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
5 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
5 years ago
Richard Harris
9a0a2e2a52
Merge branch 'patch-1' of https://github.com/RAYDENFilipp/svelte into RAYDENFilipp-patch-1
5 years ago
Rich Harris
4c67765118
Merge pull request #3276 from rohanfaiyazkhan/patch-1
...
Update 03-run-time.md (Issue #3194 )
5 years ago
Rich Harris
695ace3665
Update 03-run-time.md
5 years ago
Rich Harris
8851d79533
put second argument section back with its code sample
5 years ago
Richard Harris
0e2cf9e555
compress logos
5 years ago
Richard Harris
01b4ce2955
use SVG godaddy logo instead
5 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
5 years ago
Rich Harris
6cba41d3e8
Merge pull request #3231 from webdesq/add-webdesqplusdeck-logo
...
Added Webdesq & Deck logo to 'Who is using Svelte' section
5 years ago
Rich Harris
89f4575c0c
Merge pull request #3213 from julian-kuroiwa/add-comigo-logo
...
Comigo logo
5 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.
5 years ago
craigglennie
0a3818fb9b
Don't use shorthand binding in textarea example ( #3256 )
5 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.
5 years ago
Conduitry
35f81b279f
site: document store contract ( #3261 )
5 years ago
Bart Pype
e7ecb60132
Added Webdesq & Deck logo to 'Who is using Svelte' section
5 years ago
voldemortensen
3406ceb16a
Add GoDaddy and Sucuri logos
5 years ago
julian-kuroiwa
7a024f0517
Comigo logo
...
Comigo logo as a company that is using Svelte.
5 years ago
Richard Harris
2b79a2269d
update site deps
5 years ago
Ben Orozco
c49b189a27
Add HealthTree.org logo
5 years ago
Conduitry
025eed1a29
fix ESLint and eslint-plugin-svelte3 stuff
5 years ago
Vincent Ip
30f7a25e2e
removed bottom padding to center button text
5 years ago
Rich Harris
05bc930bb4
Merge pull request #3161 from Conduitry/eslint6
...
update ESLint and plugins
5 years ago
Conduitry
323e2fa4ae
site: fix setting-up-your-editor blog post crashing the server
5 years ago
Conduitry
30497669bb
update ESLint and plugins
5 years ago
Rich Harris
df38a5da34
Merge pull request #3157 from lyndsysimon/add-vim-filetype-config
...
Add instructions for setting filetype in Vim
5 years ago
Lyndsy Simon
d9c45819a3
Add instructions for setting filetype in Vim
5 years ago
Rich Harris
bdda83fb74
send a 400 instead of a 500
5 years ago
Richard Harris
220515b605
Merge branch 'master' of github.com:sveltejs/svelte
5 years ago
Luca Bonavita
0eb86d2a13
The element on: directive anchorwas pointing to the component on: directive anchor.
...
Fixes #3138
5 years ago
Richard Harris
be854582e8
add font-display css
5 years ago
Rich Harris
80ef6f190d
Merge pull request #3127 from pngwn/3029-module-reactivity
...
Site: document that module script variables are not reactive. Closes …
5 years ago
Rich Harris
e05680d2e7
Update 01-component-format.md
5 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)
5 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.
5 years ago
Maximilian
4eb6cf05f8
docs: adding a quick comment
5 years ago
Maximilian
f14b15afcf
docs: adding a comment
5 years ago
Maximilian
24788d7ee1
fix: image sizing after WebP introduction
...
we would need to have this tag included after adding the picture tag
5 years ago
Maximilian
b4a83ad80c
refactor: lazy loading the organisations images
5 years ago
Maximilian
e2c76fc01a
refactor: providing this logo in optimized image formats
...
Both migrated to JPEG which provides better compression as well as WebP
5 years ago
Maximilian
c7a47489db
refactor: provided optimized Tokopedia logos
...
Implemented the logo it different sizes according to the pixel density of the device
5 years ago
pngwn
e0ac393a76
Site: document that module script variables are not reactive. Closes #3029 .
5 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
5 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
5 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
5 years ago
Rich Harris
9806d18bdb
Update 03-run-time.md
5 years ago
Bryan Terce
5515bb49c9
Fix docs typo with derived store
5 years ago
Rich Harris
6e6a675c67
tweak docs a bit
5 years ago
Rich Harris
b2da2ebcc7
replace SVG
5 years ago
Rich Harris
0f234c8102
Merge branch 'add-myorganisation-logo' of https://github.com/ElectronSz/svelte into ElectronSz-add-myorganisation-logo
5 years ago
Rich Harris
820490fb4d
add a tutorial chapter
5 years ago
Rich Harris
86c5086c54
add some docs, rename to textContent and innerHTML
5 years ago
Lwazi Dlamini
fe184a68f9
Merge branch 'master' into add-myorganisation-logo
5 years ago
Lwazi Dlamini
7aee021522
Updated organizations link list
5 years ago
Lwazi Dlamini
8ed9ac8dbc
Added Nonkosi Telecoms Logo
5 years ago
Rich Harris
21987c4e57
Add Neue Zürcher Zeitung logo ( #3073 )
5 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
5 years ago
Luca Bonavita
0b836872cf
Use consistent tag closing for <svelte:*> elements
...
Fixes #3061
5 years ago
Luca Bonavita
a7dd227336
Docs: document rest in array/object destructuring in each blocks ( #2676 )
5 years ago
benib
b6ff88e23c
Add Neue Zürcher Zeitung logo
5 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
5 years ago
Richard Harris
f9054bc439
update svelte
5 years ago
Richard Harris
d270542aee
merge master -> doc-restructure
5 years ago
Richard Harris
a012a07842
update site-kit
5 years ago
Conduitry
87d4ac55c9
site: fix css-in-js blog embed, pt II
5 years ago
Conduitry
c24fc92d2f
site: fix css-in-js blog embed
5 years ago
Conduitry
7b4af88ec6
site: remove unused pkg scripts
5 years ago
Conduitry
68e1f2830e
site: bump repl
5 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.
5 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
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
Brave Cow
acaee3392d
target="_blank"
6 years ago
Richard Harris
98a42b8f2b
gah. was being greedy
6 years ago
Richard Harris
9cf20505e8
add regular <meta> tags
6 years ago
Richard Harris
b2f0a3211f
add engines field
6 years ago
Richard Harris
982d5daf0b
update lockfile
6 years ago
Rich Harris
787700571e
Merge pull request #2404 from mindrones/2344-fix-translated-slugs
...
Support slug translations in the API docs
6 years ago
Conduitry
85d3f769c7
site: hide draft posts in blog rss feed
6 years ago
Rich Harris
0536de5bb8
Merge pull request #2453 from sveltejs/gh-2450
...
update references to svelte.technology
6 years ago
Richard Harris
75769a2b53
fix copypasta fail
6 years ago
Richard Harris
9a600b79a9
add twitter metadata - fixes #2448
6 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
6 years ago
Conduitry
b7b6a0958f
site: update REPL from svelte@beta to svelte@3
6 years ago
Richard Harris
c2362f504a
put back logo-mask.svg
6 years ago
Richard Harris
d0ab5b61fa
fix layout
6 years ago
Richard Harris
906ccb6d84
draft announcement blog post
6 years ago
Richard Harris
190d86701c
Merge branch 'master' into announcement
6 years ago
Richard Harris
baf0d8ff23
remove draft flag
6 years ago
Richard Harris
90b2997263
tweak blog post
6 years ago
Richard Harris
63f2187a89
merge
6 years ago
Richard Harris
7b40c23e0e
Merge branch 'design-tweaks' of github.com:sveltejs/svelte into design-tweaks
6 years ago
Richard Harris
948f5bf63d
oops
6 years ago
Rich Harris
0b51718736
Merge branch 'master' into design-tweaks
6 years ago
Richard Harris
6b25d4b407
make menu easier to interact with
6 years ago
Richard Harris
58ca195139
link to blog posts from blurb boxes on homepage
6 years ago
Richard Harris
4bf5f63086
huh, React yells if you use onInput instead of onChange
6 years ago
Richard Harris
099e3d7eed
add draft write-less-code blog post
6 years ago
Richard Harris
3a9d3c44d1
Merge branch 'setting-up-your-editor'
6 years ago
Richard Harris
bbef9918e5
mark post as draft
6 years ago
Rich Harris
11885e4d83
Merge pull request #2426 from sveltejs/svelte-for-new-developers
...
placeholder for svelte-for-new-developers blog post
6 years ago
Richard Harris
fae3757eff
make placeholder post presentable
6 years ago
Richard Harris
759db36e30
add mechanism for draft blog posts
6 years ago
Conduitry
76505051a4
site: fix handling of non-existent blog posts ( #2439 )
6 years ago
Richard Harris
ccc25f525a
fix positioning of logo outline
6 years ago
Richard Harris
67670a60b5
more tweaks
6 years ago
Richard Harris
9e5d558a68
more tweaks
6 years ago
Richard Harris
a3b0c02978
tweaks
6 years ago
Richard Harris
9a046312f2
fix demo repl layout
6 years ago
Richard Harris
850dc2fbd3
fix wacky margins on mobile
6 years ago
Richard Harris
8320a225f8
small tweaks
6 years ago
Richard Harris
e228ffb2f5
make borders consistent at bottom of homepage
6 years ago
Richard Harris
6bf64ca092
make type easier to read, revert copy changes
6 years ago
Gabswim
0b706e24cb
typo in tutorial
6 years ago
Achim Vedam
3c8560542b
tutorial changes
6 years ago
Achim Vedam
0b517eafda
examples changes
6 years ago
Achim Vedam
3f8fa18443
docs changes
6 years ago
Achim Vedam
3360176d7e
blog changes
6 years ago
Achim Vedam
802fe40128
homepage changes
6 years ago
Achim Vedam
83f57046fa
just formatting stuff
6 years ago
Achim Vedam
45a5d695fb
main-style changes
6 years ago
Achim Vedam
9a05af7a7f
add assets, remove unused
6 years ago
Rich Harris
41af134639
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Rich Harris
c7c8e19ec1
fix theme-color
6 years ago
Richard Harris
8c582abb10
start writing announcement blog post
6 years ago
Rich Harris
5d71b5138a
Merge pull request #2433 from sveltejs/gh-2430
...
Use Map for keyed each block lookups
6 years ago
Richard Harris
9474631fae
update repl - fixes #2428
6 years ago
Rich Harris
f8b9bffe31
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Rich Harris
1e9223aff6
use github key/secret to increase rate limits when fetching contributors
6 years ago
Rich Harris
d7b51a319e
update secrets
6 years ago
Richard Harris
9773b0ed49
update now.json
6 years ago
Richard Harris
1c2d19b9c6
update docs
6 years ago
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
6 years ago
Luca Bonavita
c8b2941d81
Support slug translations in the API docs
...
- implement a unicode-preserver processor and a latinizer processor via limax.
The latinizer will maintain the case and the dollar sign so that we get anchors like:
- #$set
- #afterUpdate
- #createEventDispatcher
- config.js:
- use SLUG_PRESERVE_UNICODE to true to build the site so that anchors in /docs preserve unicode chars (for languages like cyrillic)
(see test/utils/slug.js)
- use SLUG_SEPARATOR to easily update slugs in /docs
- use SLUG_LANG to set up the language to translate unicode symbols in anchors:
- de: 'Ich ♥ Deutsch' -> 'ich-liebe-deutsch'
- en: 'Ich ♥ Deutsch' -> 'ich-love-deutsch'
Fixes #2344
6 years ago
Rich Harris
bb10298f2c
update animate chapter
6 years ago
Richard Harris
b1737503f0
start updating deferred transition chapter
6 years ago
Rich Harris
f04225fa0f
document local transitions
6 years ago
Rich Harris
b815ac7be9
document store bindings and $foo += 1
6 years ago
Rich Harris
e4ed7183d2
placeholder for svelte-for-new-developers blog post
6 years ago
Rich Harris
0b28796fe2
placeholder for setting-up-your-editor blog post
6 years ago
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
d66b1d9a1e
tweak copy
6 years ago
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
6 years ago
Rich Harris
c5b401254c
Update examples and thumbnails
6 years ago