@kws3/ui 1.6.2 → 1.6.3

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.
@@ -186,7 +186,7 @@
186
186
  let ret = [];
187
187
  ret.push(query);
188
188
  for (var i in filterVals) {
189
- filterVals[i] && ret.push(i + ":" + filterVals[i]);
189
+ ret.push(i + ":" + filterVals[i]);
190
190
  }
191
191
  /**
192
192
  * Event triggered on search
@@ -510,6 +510,7 @@ Default value: `<span>{option[search_key] || option}</span>`
510
510
  }
511
511
 
512
512
  if (event.key === `Enter`) {
513
+ event.preventDefault();
513
514
  if (activeOption) {
514
515
  handleOptionMouseDown(activeOption);
515
516
  if (!single) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kws3/ui",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "UI components for use with Svelte v3 applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,5 +29,5 @@
29
29
  "text-mask-core": "^5.1.2",
30
30
  "tippy.js": "^6.3.1"
31
31
  },
32
- "gitHead": "7f64ac8547337d2835c5c6fb493f7d05c5451e1c"
32
+ "gitHead": "a84e962f160c41cdcc6c2b7827b815d1f1b63e05"
33
33
  }