@kws3/ui 1.5.5 → 1.5.6

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.
@@ -73,6 +73,7 @@ Default value: `<span>{option[search_key] || option}</span>`
73
73
  {#if !readonly && !disabled}
74
74
  <button
75
75
  on:click|self|stopPropagation={() => remove(tag)}
76
+ role="button"
76
77
  type="button"
77
78
  class="delete is-small"
78
79
  data-tooltip="{remove_btn_tip} {tag[used_search_key]}" />
@@ -97,6 +98,7 @@ Default value: `<span>{option[search_key] || option}</span>`
97
98
  </ul>
98
99
  {#if !readonly && !disabled}
99
100
  <button
101
+ role="button"
100
102
  type="button"
101
103
  class="remove-all delete is-small"
102
104
  data-tooltip={remove_all_tip}
@@ -16,5 +16,5 @@
16
16
  * Text to process and output
17
17
  */
18
18
  export let text = "";
19
- $: text_parts = text.split("\n");
19
+ $: text_parts = text ? text.split("\n") : "";
20
20
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kws3/ui",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "UI components for use with Svelte v3 applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,5 +28,5 @@
28
28
  "text-mask-core": "^5.1.2",
29
29
  "tippy.js": "^6.3.1"
30
30
  },
31
- "gitHead": "49d3b7b20b12fea5110db28ec4be8ed8562d4e36"
31
+ "gitHead": "5407d734edfb24c11ce03621e5e41ed0777fad5a"
32
32
  }