@limetech/lime-elements 37.1.0-next.70 → 37.1.0-next.72

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.
@@ -85,9 +85,9 @@ export interface MenuItem<T = any> {
85
85
  * a promise that will eventually be resolved with an array of `MenuItem`:s.
86
86
  * @param {string} query A search query. What the user has written
87
87
  * in the input field of a limel-menu.
88
- * @returns {Promise<MenuItem[]>} The search result.
88
+ * @returns {Promise<Array<MenuItem | ListSeparator>>} The search result.
89
89
  */
90
- export type MenuSearcher = (query: string) => Promise<MenuItem[]>;
90
+ export type MenuSearcher = (query: string) => Promise<Array<MenuItem | ListSeparator>>;
91
91
  /**
92
92
  * A loader function that takes a `MenuItem` as an argument, and returns
93
93
  * a promise that will eventually be resolved with an array of `MenuItem`:s,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "37.1.0-next.70",
3
+ "version": "37.1.0-next.72",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -49,8 +49,8 @@
49
49
  "@types/codemirror": "^5.60.2",
50
50
  "@types/html-escaper": "^3.0.2",
51
51
  "@types/jest": "^27.4.0",
52
- "@types/lodash-es": "^4.17.11",
53
- "@types/react": "^18.2.37",
52
+ "@types/lodash-es": "^4.17.12",
53
+ "@types/react": "^18.2.39",
54
54
  "@types/react-dom": "^18.2.17",
55
55
  "@types/tabulator-tables": "^4.9.4",
56
56
  "@typescript-eslint/eslint-plugin": "^5.61.0",