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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-bulma",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "not-* family UI components on Bulma CSS Framework",
5
5
  "main": "src/index.js",
6
6
  "svelte": "src/index.js",
@@ -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
- <div
10
- class="field has-addons {centered ? 'is-centered' : ''} {right
11
- ? 'is-right'
12
- : ''} {classes}"
13
- >
14
- <p class="control">
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
- </p>
19
- </div>
31
+ </div>
32
+ {/if}