@tekkare/auriga 0.2.36 → 0.2.38

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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.36"
7
+ "version": "0.2.38"
8
8
  }
@@ -397,7 +397,7 @@ export default defineComponent({
397
397
  });
398
398
  onMounted(() => {
399
399
  searchBar.value = document.getElementById("search_input_advanced");
400
- searchBar.value.addEventListener("input", debounce(handleInput, 500));
400
+ searchBar.value.addEventListener("input", debounce(handleInput, 300));
401
401
  tagsSection.value = document.getElementById("tags");
402
402
  if (props.customShortcuts.length > 0) {
403
403
  for (let i = 0; i < props.customShortcuts.length; i++) {
@@ -416,7 +416,7 @@ export default defineComponent({
416
416
  }
417
417
  });
418
418
  onUnmounted(() => {
419
- searchBar.value.removeEventListener("input", debounce(handleInput, 500));
419
+ searchBar.value.removeEventListener("input", debounce(handleInput, 300));
420
420
  });
421
421
  function shortcutColor(shortcut) {
422
422
  if (shortcut === selectedShortcut.value || shortcut === hoverShortcut.value) {
@@ -230,11 +230,11 @@ export default defineComponent({
230
230
  }
231
231
  onMounted(() => {
232
232
  searchBar.value = document.getElementById("search_input");
233
- searchBar.value.addEventListener("input", debounce(handleInput, 500));
233
+ searchBar.value.addEventListener("input", debounce(handleInput, 300));
234
234
  searchValue.value = props.defaultValue;
235
235
  });
236
236
  onUnmounted(() => {
237
- searchBar.value.removeEventListener("input", debounce(handleInput, 500));
237
+ searchBar.value.removeEventListener("input", debounce(handleInput, 300));
238
238
  });
239
239
  watch(
240
240
  () => props.defaultValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.36",
3
+ "version": "0.2.38",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",