0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

115 Commits

Author SHA1 Message Date
Puru Vijay
db2d07f236
feat(site-2): Update links, move blog out of SK folder to content (#8289)
* Update links

* Move blog to site/content

* Update site/content/docs/02-component-format.md

* Fix docs links

* Add global prettierrc

* Auto format

* Fix git merge artifact

* Fix errors

* Update html to svelte(remaining ones)

* Add 2 blog posts

* Modify prettierrc

* Minor design fix

* Switch package lock to spaces, prettier ignore

* Regenerate package lock

* prettier format

* Update deps

* Hack the build into working

* add missing blog post

---------

Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-04-02 11:24:33 -04:00
Kazuma Oe
a45afd5393
docs: add <svelte:document> example (#8387) 2023-03-16 09:04:26 +01:00
Hyunbin
213049cc2e
docs: update dialog example (#8200)
* feat: update dialog example

* button always autofocusses, allows us to simplify

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-02-21 12:07:33 +01:00
Sanguansak Petchmeesri
14f33cfe61
[docs] add rel noreferrer to fix warning in tutorial (#8024)
Co-authored-by: vaishnav <vaishnav240204@gmail.com>
Co-authored-by: Alfredo Vecino <fredovecino@gmail.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2022-12-04 00:42:34 +09:00
Josh Soref
b265bc6f0f
[chore] fix spelling and typos (#7974) 2022-10-27 08:09:18 -07:00
Neagu Mihai
146e7a6310
fix: Remove Security Message (#7959) 2022-10-20 20:04:35 +02:00
Yuri
1de2c02535
Ensure onmouseleave event fires in Hoverable example (#7873)
Fixes the browser-quirk-related issue described in #6520 and #7867, based on a [suggestion](https://github.com/sveltejs/svelte/issues/7867#issuecomment-1248993436) by @Prinzhorn.

Tested in the editable example area on the Svelte site: https://svelte.dev/examples/slot-props
2022-10-16 16:25:39 +08:00
tanhauhau
3e5846c7c5 update api 2022-04-20 12:52:22 +08:00
Kazuma Oe
707455fa8b
[docs] add <svelte:element> example (#7439) 2022-04-10 23:50:15 +08:00
opensas
252895d42a
[docs] improve actions tutorial presentation (#7283) 2022-02-17 23:14:43 +01:00
NazarLazarchuk
e460acc8f1
[docs] Rename a variable count_value to countValue in the Stores section (#7180) 2022-01-27 11:13:25 +01:00
Rene Kootstra
4a78137a2a
[docs] fix #each in window-bindings example (#7181) 2022-01-26 08:44:14 -08:00
Austin Walela
6bfd2724a0
[docs] update links to Blender Studio (#7098) 2022-01-05 00:10:34 +08:00
Enrico Spinielli
6f2ebaa76d
[docs] use proper symbol for Celsius and Fahrenheit (#7061) 2021-12-27 19:40:47 +01:00
Ignatius Bagus
7db797eb1b
[docs] absolute assets links (#7049) 2021-12-24 06:37:36 -08:00
Ignatius Bagus
04890c73d2
[docs] absolute and future proof links (#7038) 2021-12-21 09:46:39 -08:00
Conduitry
35376f2487
[docs] fix path to /tutorial/image.gif (#7033) 2021-12-21 15:48:19 +07:00
gtmnayan
6ff1aed8d5
[docs] Use a simpler demo for the first actions tutorial (#5014) (#6962)
* Change actions tutorial

* Rename files containing action functions

* Move old pannable example to separate directory

* Add new tutorial to examples

* Update title of the pannable example

* Add thumbnail for pannable action example

* I can't remember all css properties, okay?

* Fix order of style tag in new example

* Inline outclick handlers

* Rename pannable example

* Fix formatting

Co-authored-by: Nayan Gautam <50981692+698969@users.noreply.github.com>
2021-11-30 22:59:43 +08:00
Rich Harris
909ba1778a
update arctic sea ice extent chart (#6922) 2021-11-16 19:09:47 -08:00
Aykut Kardaş
4cc439aaad
[docs] update 03-each-blocks sample for readable (#6907) 2021-11-06 18:10:05 +01:00
Ignatius Bagus
2484acea26
[docs] use svelte:header + event for link load (#6903) 2021-11-04 08:15:31 +01:00
Conduitry
cbbf002a8e
[docs] use new named export for marked 4 in examples (#6893) 2021-11-02 15:57:46 -04:00
DoctorNefario
55130be026
[docs] use 'transition' directive for custom JS transitions (#6796)
This prevents transition jumping when visibility is repeatedly toggled
2021-10-07 16:08:26 -04:00
duarte-pompeu
8d3f4512f6
[docs] Fix the speed of the typewriter example to scale correctly (#6568) 2021-08-27 19:50:44 -07:00
Geoff Rich
71cf6002f4
[docs] fix css in js embed (#6669)
pin emotion version to keep this from happening again
2021-08-20 09:01:28 +02:00
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
Closes #5976
2021-07-12 14:51:15 +02:00
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example (#5945)
Fixes #5941
2021-07-12 10:13:54 +02:00
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example (#5912) 2021-07-02 08:20:44 -07:00
Jatin Hemnani
c4f4a3dc2e
[docs] added transition on toggling folder in tutorial (#6453) 2021-07-02 08:14:08 -07:00
Lukas Möller
2a9f9d7bb0
Remove unused toggle prop from example (#5124) 2021-06-29 08:54:06 -07:00
Konstantin Nosov
fd9eea28f2
remove redundant CSS (#6355) 2021-05-26 11:13:37 -07:00
BabakFP
ec2540787a
Changing tutorial/example order from script-style-html to script-html-style (#6213)
Also change button style in one tutorial
2021-04-22 18:05:13 +02:00
Geoff Rich
ce3a579125
docs: update 7gui example links (#6052) 2021-03-05 11:29:03 -05:00
kindoflew
bf35353170
site: fix formatMobile in chart examples (#5787) 2020-12-24 17:52:06 -05:00
Aswin Vayiravan
f1b7c08a09
changed to colour names instead of hex codes for readability (#5772) 2020-12-11 15:55:22 -08:00
Kevin Åberg Kultalahti
daec25604f
docs: add conditional slot example (#5383) 2020-11-18 09:41:47 -05:00
izumiiii
9e0556cf70
docs: fix a11y warning in media elements example (#5606) 2020-10-28 12:23:47 -04:00
Luca Bonavita
8f17d6c78c
docs: document bind:files (#5141) 2020-08-12 16:05:59 -04:00
Stanislav Lashmanov
5c6730e382
Simplify each block bindings example (#5094)
No need for CSS here, the same effect could be achieved with just a `disabled` binding.
2020-07-14 18:27:42 +01:00
Richard Harris
1644f207b1 make canvas example more fun 2020-06-16 08:16:28 -04:00
Roman Kosov
a4dadf82be
site: fix some mixed content (#4926) 2020-05-29 10:10:19 -04:00
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which (#4758) 2020-05-01 19:34:54 -04:00
Daniel Imfeld
cc3c7fa9f4
docs: fix CSS typo in example (#4685) 2020-04-18 06:38:36 -04:00
Conduitry
0d263cc1ea docs: use Node.TEXT_NODE in more places 2020-04-12 13:30:39 -04:00
Robin Cussol
ece61381de
fix(examples): hide "undefined" domain in HN example (#4643)
* fix(examples): hide "undefined" domain in HN example

This commit introduces a null-undefined check against the domain of the HN items in the Hacker News example.

* Update site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte

Co-Authored-By: Antony Jones <ant@enzy.org>

Co-authored-by: Antony Jones <ant@enzy.org>
2020-04-07 09:30:48 -04:00
Robin Cussol
df3ae85b42
fix(examples): use correct URL for Ask HN posts (#4640) 2020-04-07 09:30:33 -04:00
Antony Jones
7831766fa0
site: turn fancybutton into custombutton (#4476) 2020-02-27 06:40:42 -05:00
Rich Harris
5721ae3aeb
Merge pull request #3943 from Conduitry/gh-2505
site: add font fallback for Comic Sans MS
2019-11-18 10:45:39 -05:00
AlexxNB
2285ee222a fix 'action with param' example and tutorial 2019-11-18 12:47:30 +03:00
Conduitry
78eea640d3 site: add font fallback for Comic Sans MS (#2505) 2019-11-17 17:22:21 -05:00