not-bulma 1.2.19 → 1.2.20
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.
package/package.json
CHANGED
|
@@ -4,16 +4,29 @@
|
|
|
4
4
|
export let classes = "";
|
|
5
5
|
export let centered = false;
|
|
6
6
|
export let right = false;
|
|
7
|
+
export let joined = true;
|
|
7
8
|
</script>
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
? 'is-right
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
{#if joined}
|
|
11
|
+
<div
|
|
12
|
+
class="field has-addons {centered ? 'is-centered' : ''} {right
|
|
13
|
+
? 'is-right'
|
|
14
|
+
: ''} {classes}"
|
|
15
|
+
>
|
|
16
|
+
<p class="control">
|
|
17
|
+
{#each values as item (item.id)}
|
|
18
|
+
<UILink {...item} />
|
|
19
|
+
{/each}
|
|
20
|
+
</p>
|
|
21
|
+
</div>
|
|
22
|
+
{:else}
|
|
23
|
+
<div
|
|
24
|
+
class="buttons {centered ? 'is-centered' : ''} {right
|
|
25
|
+
? 'is-right'
|
|
26
|
+
: ''} {classes}"
|
|
27
|
+
>
|
|
15
28
|
{#each values as item (item.id)}
|
|
16
29
|
<UILink {...item} />
|
|
17
30
|
{/each}
|
|
18
|
-
</
|
|
19
|
-
|
|
31
|
+
</div>
|
|
32
|
+
{/if}
|