@sap-ux/inquirer-common 0.7.11 → 0.7.12
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.
|
@@ -8,7 +8,7 @@ import { Separator } from './separator';
|
|
|
8
8
|
* @param ui5Version - UI5 semantic version
|
|
9
9
|
* @returns UI5 themes as list choice options
|
|
10
10
|
*/
|
|
11
|
-
export declare function getUI5ThemesChoices(ui5Version?: string): ListChoiceOptions[]
|
|
11
|
+
export declare function getUI5ThemesChoices(ui5Version?: string): Promise<ListChoiceOptions[]>;
|
|
12
12
|
/**
|
|
13
13
|
* Finds the search value in the provided list using `fuzzy` search.
|
|
14
14
|
*
|
package/dist/prompts/utility.js
CHANGED
|
@@ -48,8 +48,8 @@ const separator_1 = require("./separator");
|
|
|
48
48
|
* @param ui5Version - UI5 semantic version
|
|
49
49
|
* @returns UI5 themes as list choice options
|
|
50
50
|
*/
|
|
51
|
-
function getUI5ThemesChoices(ui5Version) {
|
|
52
|
-
const themes = (0, ui5_info_1.getUi5Themes)(ui5Version);
|
|
51
|
+
async function getUI5ThemesChoices(ui5Version) {
|
|
52
|
+
const themes = await (0, ui5_info_1.getUi5Themes)(ui5Version);
|
|
53
53
|
return themes.map((theme) => ({
|
|
54
54
|
name: theme.label,
|
|
55
55
|
value: theme.id
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/inquirer-common",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support inquirer modules.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@sap-ux/guided-answers-helper": "0.3.0",
|
|
35
35
|
"@sap-ux/telemetry": "0.6.3",
|
|
36
36
|
"@sap-ux/logger": "0.7.0",
|
|
37
|
-
"@sap-ux/ui5-info": "0.
|
|
37
|
+
"@sap-ux/ui5-info": "0.12.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sap-devx/yeoman-ui-types": "1.14.4",
|