sveltacular 0.0.23 → 0.0.24

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.
@@ -67,11 +67,9 @@ const onInputKeyPress = (e) => {
67
67
  const triggerSearch = debounce(async () => {
68
68
  if (search) {
69
69
  items = await search(text);
70
- console.log(items);
71
70
  }
72
71
  updateText();
73
72
  applyFilter();
74
- open = true;
75
73
  }, 300);
76
74
  const applyFilter = () => {
77
75
  const searchText = text.trim().toLowerCase();
@@ -88,7 +86,6 @@ const updateText = async () => {
88
86
  const textBox = document.getElementById(id);
89
87
  if (document.activeElement != textBox)
90
88
  text = getText();
91
- open = true;
92
89
  }
93
90
  };
94
91
  triggerSearch();
@@ -20,7 +20,6 @@ export let required = false;
20
20
  let value = "";
21
21
  const dispatch = createEventDispatcher();
22
22
  const no = () => {
23
- console.log("no");
24
23
  open = false;
25
24
  dispatch("cancel");
26
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltacular",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "scripts": {
5
5
  "watch": "npm run dev -- --open",
6
6
  "dev": "vite dev",