@tekkare/auriga 0.2.118 → 0.2.119

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.118"
7
+ "version": "0.2.119"
8
8
  }
@@ -258,12 +258,12 @@ export default defineComponent({
258
258
  console.log(searchValue.value);
259
259
  }
260
260
  onMounted(() => {
261
- searchBar.value = document.getElementById("search_input_simple");
262
- searchBar.value.addEventListener("input", debounce(handleInput, 300));
261
+ searchBar.value = document.getElementById(props.searchBarId);
262
+ searchBar.value?.addEventListener("input", debounce(handleInput, 300));
263
263
  searchValue.value = props.defaultValue;
264
264
  });
265
265
  onUnmounted(() => {
266
- searchBar.value.removeEventListener("input", debounce(handleInput, 300));
266
+ searchBar.value?.removeEventListener("input", debounce(handleInput, 300));
267
267
  });
268
268
  watch(
269
269
  () => props.defaultValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.118",
3
+ "version": "0.2.119",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",