fuma 2.0.20 → 2.0.21

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.
@@ -59,7 +59,7 @@
59
59
  dispatch('input', { value: item })
60
60
  }
61
61
 
62
- async function searchItems(searchValue = '') {
62
+ export async function searchItems(searchValue = '') {
63
63
  try {
64
64
  isLoading = true
65
65
  isError = false
@@ -29,6 +29,7 @@ declare class __sveltets_Render<RelationItem extends {
29
29
  inputElement: HTMLInputElement;
30
30
  clear?: (() => Promise<void>) | undefined;
31
31
  select?: ((index?: number) => Promise<void>) | undefined;
32
+ searchItems?: ((searchValue?: string) => Promise<void>) | undefined;
32
33
  };
33
34
  events(): {
34
35
  input: CustomEvent<{
@@ -42,6 +43,7 @@ declare class __sveltets_Render<RelationItem extends {
42
43
  exports(): {
43
44
  clear: () => Promise<void>;
44
45
  select: (index?: number) => Promise<void>;
46
+ searchItems: (searchValue?: string) => Promise<void>;
45
47
  };
46
48
  }
47
49
  interface $$IsomorphicComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fuma",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "My fullstack material build with sveltekit, daisyui, zod, prisma, lucia",
5
5
  "author": {
6
6
  "name": "Jonas Voisard",