@finema/core 2.28.0 → 2.29.0

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "2.28.0";
7
+ const version = "2.29.0";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -177,6 +177,9 @@ const onKeydown = (event) => {
177
177
  scrollToSelectedSuggestion();
178
178
  break;
179
179
  case "Enter":
180
+ if (selectedSuggestionIndex.value === -1) {
181
+ return;
182
+ }
180
183
  event.preventDefault();
181
184
  if (selectedSuggestionIndex.value >= 0) {
182
185
  selectSuggestion(filteredSuggestions.value[selectedSuggestionIndex.value], selectedSuggestionIndex.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",