svelte-on-rails 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97f95713831cb35b5ba7ff76b63f320be3a5f7ef682844c65523728f78455c90
|
4
|
+
data.tar.gz: 9501a5d850b4d5451dbc98055fbf4c21fd2b617dfdc2cc971c26cf02cbe6738e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4a71238b2d358d38f616081ed56d1143f8745729d7fc80dfc4b1ceba85f70b0be542c760fdbc16095833eb88dfc7485ce22c73a76f940254de97e3c3af463c
|
7
|
+
data.tar.gz: 16870d9e12978fc0e111b2fa380b09bb65b7d824f34b1a7e715d60b4e32414a7f07de824b92c6d0d5be3ef1888f492235d1a3dc231ba46dfae265bf1242ab741
|
@@ -7,14 +7,16 @@
|
|
7
7
|
}
|
8
8
|
</script>
|
9
9
|
|
10
|
-
<
|
11
|
-
<
|
10
|
+
<span class="svelte-component-wrapper">
|
11
|
+
<h1>Greetings from svelte!</h1>
|
12
|
+
<button on:click={increment}>Increment: {count}</button>
|
12
13
|
|
13
|
-
<ul>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
</ul>
|
14
|
+
<ul>
|
15
|
+
{#each items as item}
|
16
|
+
<li>{item}</li>
|
17
|
+
{/each}
|
18
|
+
</ul>
|
19
|
+
</span>
|
18
20
|
|
19
21
|
<style>
|
20
22
|
button {
|
@@ -24,4 +26,14 @@
|
|
24
26
|
border: none;
|
25
27
|
cursor: pointer;
|
26
28
|
}
|
29
|
+
.svelte-component-wrapper {
|
30
|
+
border: 1px solid black;
|
31
|
+
padding: 10px;
|
32
|
+
margin: 10px;
|
33
|
+
background-color: #efefef;
|
34
|
+
display: inline-block;
|
35
|
+
box-shadow: 2px 3px 16px -1px rgba(0,0,0,0.75);
|
36
|
+
-webkit-box-shadow: 2px 3px 16px -1px rgba(0,0,0,0.75);
|
37
|
+
-moz-box-shadow: 2px 3px 16px -1px rgba(0,0,0,0.75);
|
38
|
+
}
|
27
39
|
</style>
|