Merge branch 'master' of https://github.com/sveltejs/svelte
* 'master' of https://github.com/sveltejs/svelte: (137 commits) -> v3.19.2 fix lazy code breaks in build fit bitmask overflow initial dirty value in 'if' blocks (#4507) add dev runtime warning for unknown slot names (#4501) fix render fallback slot content due to whitespace (#4500) docs: describe falsy and nullish attribute behavior (#4498) in spread, distinguish never-updating and always-updating props (#4487) chore: more specific typings, and add README note about Yarn (#4483) update changelog check for unknown props even if component doesn't have writable props (#4454) Bump codecov from 3.5.0 to 3.6.5 (#4433) fix bitmask overflow for slot (#4485) mark module variables as mutated or reassigned (#4469) docs: referenced_from_script var value (#4486) docs: clarify default prop behaviour (#4460) site: turn fancybutton into custombutton (#4476) update changelog exclude global variables from $capture_state (#4475) -> v3.19.1 don't treat $$-names as stores during invalidation (#4453) ...pull/4523/head
@ -1,3 +0,0 @@
|
|||||||
useTabs: true
|
|
||||||
singleQuote: true
|
|
||||||
trailingComma: es5
|
|
@ -1,9 +1,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import FancyButton from './FancyButton.svelte';
|
import CustomButton from './CustomButton.svelte';
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
alert('clicked');
|
alert('clicked');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<FancyButton on:click={handleClick}/>
|
<CustomButton on:click={handleClick}/>
|
@ -0,0 +1,22 @@
|
|||||||
|
<style>
|
||||||
|
button {
|
||||||
|
height: 4rem;
|
||||||
|
width: 8rem;
|
||||||
|
background-color: #aaa;
|
||||||
|
border-color: #f1c40f;
|
||||||
|
color: #f1c40f;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
|
||||||
|
background-position: 100%;
|
||||||
|
background-size: 400%;
|
||||||
|
transition: background 300ms ease-in-out;
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
background-position: 0;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<button on:click>
|
||||||
|
Click me
|
||||||
|
</button>
|
@ -1,15 +0,0 @@
|
|||||||
<style>
|
|
||||||
button {
|
|
||||||
font-family: 'Comic Sans MS', cursive;
|
|
||||||
font-size: 2em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
color: royalblue;
|
|
||||||
background: gold;
|
|
||||||
border-radius: 1em;
|
|
||||||
box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<button on:click>
|
|
||||||
Click me
|
|
||||||
</button>
|
|
@ -1,9 +1,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import FancyButton from './FancyButton.svelte';
|
import CustomButton from './CustomButton.svelte';
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
alert('clicked');
|
alert('clicked');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<FancyButton on:click={handleClick}/>
|
<CustomButton on:click={handleClick}/>
|
@ -0,0 +1,22 @@
|
|||||||
|
<style>
|
||||||
|
button {
|
||||||
|
height: 4rem;
|
||||||
|
width: 8rem;
|
||||||
|
background-color: #aaa;
|
||||||
|
border-color: #f1c40f;
|
||||||
|
color: #f1c40f;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
|
||||||
|
background-position: 100%;
|
||||||
|
background-size: 400%;
|
||||||
|
transition: background 300ms ease-in-out;
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
background-position: 0;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
Click me
|
||||||
|
</button>
|
@ -1,15 +0,0 @@
|
|||||||
<style>
|
|
||||||
button {
|
|
||||||
font-family: 'Comic Sans MS', cursive;
|
|
||||||
font-size: 2em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
color: royalblue;
|
|
||||||
background: gold;
|
|
||||||
border-radius: 1em;
|
|
||||||
box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<button>
|
|
||||||
Click me
|
|
||||||
</button>
|
|
@ -1,9 +1,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import FancyButton from './FancyButton.svelte';
|
import CustomButton from './CustomButton.svelte';
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
alert('clicked');
|
alert('clicked');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<FancyButton on:click={handleClick}/>
|
<CustomButton on:click={handleClick}/>
|
@ -0,0 +1,22 @@
|
|||||||
|
<style>
|
||||||
|
button {
|
||||||
|
height: 4rem;
|
||||||
|
width: 8rem;
|
||||||
|
background-color: #aaa;
|
||||||
|
border-color: #f1c40f;
|
||||||
|
color: #f1c40f;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
|
||||||
|
background-position: 100%;
|
||||||
|
background-size: 400%;
|
||||||
|
transition: background 300ms ease-in-out;
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
background-position: 0;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<button on:click>
|
||||||
|
Click me
|
||||||
|
</button>
|
@ -1,15 +0,0 @@
|
|||||||
<style>
|
|
||||||
button {
|
|
||||||
font-family: 'Comic Sans MS', cursive;
|
|
||||||
font-size: 2em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
color: royalblue;
|
|
||||||
background: gold;
|
|
||||||
border-radius: 1em;
|
|
||||||
box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<button on:click>
|
|
||||||
Click me
|
|
||||||
</button>
|
|
@ -0,0 +1,12 @@
|
|||||||
|
const sh = require('shelljs');
|
||||||
|
|
||||||
|
sh.cd(__dirname + '/../');
|
||||||
|
|
||||||
|
// fetch community repo
|
||||||
|
sh.rm('-rf','scripts/community');
|
||||||
|
sh.exec('npx degit sveltejs/community scripts/community');
|
||||||
|
|
||||||
|
// copy over relevant files
|
||||||
|
sh.cp('scripts/community/whos-using-svelte/WhosUsingSvelte.svelte', 'src/routes/_components/WhosUsingSvelte.svelte');
|
||||||
|
sh.rm('-rf', 'static/organisations');
|
||||||
|
sh.cp('-r', 'scripts/community/whos-using-svelte/organisations', 'static');
|
@ -0,0 +1,26 @@
|
|||||||
|
<script>
|
||||||
|
import contributors from '../_contributors.js';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.contributor {
|
||||||
|
width: 2.4em;
|
||||||
|
height: 2.4em;
|
||||||
|
border-radius: 50%;
|
||||||
|
text-indent: -9999px;
|
||||||
|
display: inline-block;
|
||||||
|
background: no-repeat url(/contributors.jpg);
|
||||||
|
background-size: auto 102%;
|
||||||
|
margin: 0 0.5em 0.5em 0;
|
||||||
|
border: 2px solid var(--second);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
{#each contributors as contributor, i}
|
||||||
|
<a
|
||||||
|
class="contributor"
|
||||||
|
style="background-position: {(100 * i) / (contributors.length - 1)}% 0"
|
||||||
|
href="https://github.com/{contributor}">
|
||||||
|
{contributor}
|
||||||
|
</a>
|
||||||
|
{/each}
|
@ -1,94 +0,0 @@
|
|||||||
<!--
|
|
||||||
Instructions for adding new logos:
|
|
||||||
|
|
||||||
* Fork this repo, and clone your fork
|
|
||||||
* Create a branch called e.g. `add-myorganisation-logo`
|
|
||||||
* Add the logo to the `static/organisations` directory (preferably SVG)
|
|
||||||
* Add a new <a> tag in this component, in alphabetical order
|
|
||||||
* Create a pull request. Thanks!
|
|
||||||
-->
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.logos {
|
|
||||||
margin: 1em 0 0 0;
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
height: 40px;
|
|
||||||
margin: 0 0.5em 0.5em 0;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
border: 2px solid var(--second);
|
|
||||||
padding: 5px 10px;
|
|
||||||
border-radius: 20px;
|
|
||||||
color: var(--text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-yourself {
|
|
||||||
color: var(--prime);
|
|
||||||
}
|
|
||||||
|
|
||||||
picture,
|
|
||||||
img {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 540px) {
|
|
||||||
a {
|
|
||||||
height: 60px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 30px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="logos">
|
|
||||||
<a target="_blank" rel="noopener" href="https://absoluteweb.com"><img src="organisations/absoluteweb.svg" alt="Absolute Web logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://bekchy.com"><img src="organisations/bekchy.png" alt="Bekchy logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://beyonk.com"><img src="organisations/beyonk.svg" alt="Beyonk logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://buydotstar.com"><img src="organisations/buydotstar.svg" alt="buy.* logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://cashfree.com/"><img src="organisations/cashfree.svg" alt="Cashfree logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://chess.com" style="background-color: rgb(49,46,43);"><img src="organisations/chess.svg" alt="Chess.com logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://comigosaude.com.br"><img src="organisations/comigo.svg" alt="Comigo logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://datawrapper.de"><img src="organisations/datawrapper.svg" alt="Datawrapper logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://db.nomics.world" style="background-color: rgb(15,39,47);"><picture><source type="image/webp" srcset="organisations/dbnomics.webp"><img src="organisations/dbnomics.jpg" alt="DBNomics logo" loading="lazy"></picture></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://deck.nl"><img src="organisations/deck.svg" alt="Deck logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://dextra.com.br/pt/"><img src="organisations/dextra.png" alt="Dextra logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.entriwise.com/"><img src="organisations/entriwise.png" alt="Entriwise logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.entur.org/about-entur/" style="background-color: rgb(25, 25, 84);"><img src="organisations/entur.svg" alt="Entur logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://from-now-on.com"><img src="organisations/from-now-on.png" alt="From-Now-On logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://fusioncharts.com"><img src="organisations/fusioncharts.svg" alt="FusionCharts logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://godaddy.com"><img src="organisations/godaddy.svg" alt="GoDaddy logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.grainger.com"><img src="organisations/grainger.svg" alt="Grainger logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="http://healthtree.org/"><img src="organisations/healthtree.png" alt="HealthTree logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://itslearning.com"><img src="organisations/itslearning.svg" alt="itslearning logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://jacoux.com"><img src="organisations/jacoux.png" alt="Jacoux logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://jingmnt.co.za"><img src="organisations/jingmnt.png" alt="Jingmnt logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.mentorcv.com"><img src="organisations/mentorcv.png" alt="Mentor CV logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.metrovias.com.ar/"><img src="organisations/metrovias.svg" alt="Metrovias logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="http://mustlab.ru"><img src="organisations/mustlab.png" alt="Mustlab logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.nesta.org.uk"><img src="organisations/nesta.svg" alt="Nesta logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.nonkositelecoms.com"><img src="organisations/nonkosi.svg" alt="Nonkosi Telecoms logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.nzz.ch"><img src="organisations/nzz.svg" alt="Neue Zürcher Zeitung logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://nytimes.com"><img src="organisations/nyt.svg" alt="The New York Times logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://oberonspace.xyz"><img src="organisations/oberonspace.svg" alt="OberonSPACE logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://ofof.nl"><img src="organisations/ofof.png" alt="Ofof logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://openstate.eu"><img src="organisations/open-state-foundation.svg" alt="Open State Foundation logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://panascais.net"><img src="organisations/panascais.svg" alt="Panascais logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://pankod.com"><img src="organisations/pankod.svg" alt="Pankod logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://paperform.co"><img src="organisations/paperform.svg" alt="Paperform logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://razorpay.com"><img src="organisations/razorpay.svg" alt="Razorpay logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://sp.nl"><img src="organisations/socialist-party.svg" alt="Socialist Party logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://sqltribe.com"><img src="organisations/sqltribe.svg" alt="SQL Tribe logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.stone.co"><img src="organisations/stone.svg" alt="Stone Payments logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://www.strixengine.com"><img src="organisations/strixcloud.svg" alt="Strix Cloud logo" loading="lazy"><span>Strix Cloud</span></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://sucuri.net" style="background-color: rgb(93, 93, 93);"><img src="organisations/sucuri.png" alt="Sucuri logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://tsh.io"><img src="organisations/tsh.svg" alt="The Software House logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://thunderdome.dev"><img src="organisations/thunderdome.svg" alt="Thunderdome logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://m.tokopedia.com"><img src="organisations/tokopedia.svg" alt="Tokopedia logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://webdesq.net"><img src="organisations/webdesq.svg" alt="Webdesq logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://zevvle.com/"><img src="organisations/zevvle.svg" alt="Zevvle logo" loading="lazy"></a>
|
|
||||||
<a target="_blank" rel="noopener" href="https://github.com/sveltejs/svelte/blob/master/site/src/routes/_components/WhosUsingSvelte.svelte" class="add-yourself"><span>+ your company?</span></a>
|
|
||||||
</div>
|
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 3.6 KiB |