@limetech/lime-elements 37.10.0 → 37.10.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [37.10.1](https://github.com/Lundalogik/lime-elements/compare/v37.10.0...v37.10.1) (2024-03-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **limel-picker:** searcher returns array of ListItem or ListSeparator ([762216a](https://github.com/Lundalogik/lime-elements/commit/762216a12c6eada80233d9f51798dbe69b2a178d))
|
|
8
|
+
|
|
1
9
|
## [37.10.0](https://github.com/Lundalogik/lime-elements/compare/v37.9.0...v37.10.0) (2024-03-06)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -597,7 +597,7 @@ export class Picker {
|
|
|
597
597
|
"mutable": false,
|
|
598
598
|
"complexType": {
|
|
599
599
|
"original": "Searcher",
|
|
600
|
-
"resolved": "(query: string) => Promise<ListSeparator | ListItem<any>[]>",
|
|
600
|
+
"resolved": "(query: string) => Promise<(ListSeparator | ListItem<any>)[]>",
|
|
601
601
|
"references": {
|
|
602
602
|
"Searcher": {
|
|
603
603
|
"location": "import",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searcher.types.js","sourceRoot":"","sources":["../../../src/components/picker/searcher.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ListItem } from '../list/list-item.types';\nimport { ListSeparator } from '../../global/shared-types/separator.types';\n\n/**\n * A search function that takes a search-string as an argument, and returns\n * a promise that will eventually be resolved with an array of `ListItem`:s.\n *\n * @param query - A search query. Typically what the user has written\n * in the input field of a limel-picker.\n * @returns The search result.\n * @public\n */\nexport type Searcher = (query: string) => Promise<ListItem
|
|
1
|
+
{"version":3,"file":"searcher.types.js","sourceRoot":"","sources":["../../../src/components/picker/searcher.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ListItem } from '../list/list-item.types';\nimport { ListSeparator } from '../../global/shared-types/separator.types';\n\n/**\n * A search function that takes a search-string as an argument, and returns\n * a promise that will eventually be resolved with an array of `ListItem`:s.\n *\n * @param query - A search query. Typically what the user has written\n * in the input field of a limel-picker.\n * @returns The search result.\n * @public\n */\nexport type Searcher = (\n query: string,\n) => Promise<Array<ListItem | ListSeparator>>;\n"]}
|
|
@@ -9,5 +9,5 @@ import { ListSeparator } from '../../global/shared-types/separator.types';
|
|
|
9
9
|
* @returns The search result.
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
export type Searcher = (query: string) => Promise<ListItem
|
|
12
|
+
export type Searcher = (query: string) => Promise<Array<ListItem | ListSeparator>>;
|
|
13
13
|
//# sourceMappingURL=searcher.types.d.ts.map
|