@limetech/lime-elements 36.2.0-next.1 → 36.2.0-next.3
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/cjs/limel-list_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
- package/dist/cjs/limel-select.cjs.entry.js +3 -2
- package/dist/collection/components/list/list.css +0 -3
- package/dist/collection/components/menu-list/menu-list.css +0 -3
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/select/select.template.js +3 -2
- package/dist/esm/limel-list_2.entry.js +1 -1
- package/dist/esm/limel-menu-list.entry.js +1 -1
- package/dist/esm/limel-select.entry.js +3 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-f1ed857b.entry.js → p-c342aa63.entry.js} +1 -1
- package/dist/lime-elements/{p-1386d86d.entry.js → p-c90fc327.entry.js} +1 -1
- package/dist/lime-elements/{p-ec4c075d.entry.js → p-dc030055.entry.js} +1 -1
- package/dist/types/components/picker/picker.d.ts +3 -0
- package/dist/types/components/picker/searcher.types.d.ts +8 -0
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
|
@@ -51,6 +51,9 @@ export declare class Picker {
|
|
|
51
51
|
* A search function that takes a search-string as an argument,
|
|
52
52
|
* and returns a promise that will eventually be resolved with
|
|
53
53
|
* an array of `ListItem`:s.
|
|
54
|
+
*
|
|
55
|
+
* See the docs for the type `Searcher` for type information on
|
|
56
|
+
* the searcher function itself.
|
|
54
57
|
*/
|
|
55
58
|
searcher: Searcher;
|
|
56
59
|
/**
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { ListItem } from '../list/list-item.types';
|
|
2
|
+
/**
|
|
3
|
+
* A search function that takes a search-string as an argument, and returns
|
|
4
|
+
* a promise that will eventually be resolved with an array of `ListItem`:s.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} query A search query. Typically what the user has written
|
|
7
|
+
* in the input field of a limel-picker.
|
|
8
|
+
* @returns {Promise<ListItem[]>} The search result.
|
|
9
|
+
*/
|
|
2
10
|
export declare type Searcher = (query: string) => Promise<ListItem[]>;
|
|
@@ -853,7 +853,7 @@ export namespace Components {
|
|
|
853
853
|
*/
|
|
854
854
|
"searchLabel": string;
|
|
855
855
|
/**
|
|
856
|
-
* A search function that takes a search-string as an argument, and returns a promise that will eventually be resolved with an array of `ListItem`:s.
|
|
856
|
+
* A search function that takes a search-string as an argument, and returns a promise that will eventually be resolved with an array of `ListItem`:s. See the docs for the type `Searcher` for type information on the searcher function itself.
|
|
857
857
|
*/
|
|
858
858
|
"searcher": Searcher;
|
|
859
859
|
/**
|
|
@@ -2659,7 +2659,7 @@ declare namespace LocalJSX {
|
|
|
2659
2659
|
*/
|
|
2660
2660
|
"searchLabel"?: string;
|
|
2661
2661
|
/**
|
|
2662
|
-
* A search function that takes a search-string as an argument, and returns a promise that will eventually be resolved with an array of `ListItem`:s.
|
|
2662
|
+
* A search function that takes a search-string as an argument, and returns a promise that will eventually be resolved with an array of `ListItem`:s. See the docs for the type `Searcher` for type information on the searcher function itself.
|
|
2663
2663
|
*/
|
|
2664
2664
|
"searcher"?: Searcher;
|
|
2665
2665
|
/**
|