@inquirer/prompts 5.0.0 → 5.0.2

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/README.md CHANGED
@@ -277,6 +277,30 @@ Choose an item from a list and choose an action to take by pressing a key.
277
277
  code.py
278
278
  ```
279
279
 
280
+ [**Table Multiple Prompt**](https://github.com/Bartheleway/inquirer-table-multiple)<br/>
281
+ Select multiple answer from a table display.
282
+
283
+ ```sh
284
+ Choose between choices? (Press <space> to select, <Up and Down> to move rows,
285
+ <Left and Right> to move columns)
286
+
287
+ ┌──────────┬───────┬───────┐
288
+ │ 1-2 of 2 │ Yes? │ No? |
289
+ ├──────────┼───────┼───────┤
290
+ │ Choice 1 │ [ ◯ ] │ ◯ |
291
+ ├──────────┼───────┼───────┤
292
+ │ Choice 2 │ ◯ │ ◯ |
293
+ └──────────┴───────┴───────┘
294
+
295
+ ```
296
+
297
+ [**Toggle Prompt**](https://github.com/skarahoda/inquirer-toggle)<br/>
298
+ Confirm with a toggle. Select a choice with arrow keys + Enter.
299
+
300
+ ```
301
+ ? Do you want to continue? no / yes
302
+ ```
303
+
280
304
  # License
281
305
 
282
306
  Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
package/dist/cjs/index.js CHANGED
@@ -3,20 +3,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.select = exports.rawlist = exports.password = exports.input = exports.expand = exports.editor = exports.confirm = exports.checkbox = void 0;
7
- const checkbox_1 = __importDefault(require("@inquirer/checkbox"));
8
- exports.checkbox = checkbox_1.default;
9
- const confirm_1 = __importDefault(require("@inquirer/confirm"));
10
- exports.confirm = confirm_1.default;
11
- const editor_1 = __importDefault(require("@inquirer/editor"));
12
- exports.editor = editor_1.default;
13
- const expand_1 = __importDefault(require("@inquirer/expand"));
14
- exports.expand = expand_1.default;
15
- const input_1 = __importDefault(require("@inquirer/input"));
16
- exports.input = input_1.default;
17
- const password_1 = __importDefault(require("@inquirer/password"));
18
- exports.password = password_1.default;
19
- const rawlist_1 = __importDefault(require("@inquirer/rawlist"));
20
- exports.rawlist = rawlist_1.default;
21
- const select_1 = __importDefault(require("@inquirer/select"));
22
- exports.select = select_1.default;
6
+ exports.select = exports.password = exports.rawlist = exports.expand = exports.input = exports.confirm = exports.editor = exports.Separator = exports.checkbox = void 0;
7
+ var checkbox_1 = require("@inquirer/checkbox");
8
+ Object.defineProperty(exports, "checkbox", { enumerable: true, get: function () { return __importDefault(checkbox_1).default; } });
9
+ Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return checkbox_1.Separator; } });
10
+ var editor_1 = require("@inquirer/editor");
11
+ Object.defineProperty(exports, "editor", { enumerable: true, get: function () { return __importDefault(editor_1).default; } });
12
+ var confirm_1 = require("@inquirer/confirm");
13
+ Object.defineProperty(exports, "confirm", { enumerable: true, get: function () { return __importDefault(confirm_1).default; } });
14
+ var input_1 = require("@inquirer/input");
15
+ Object.defineProperty(exports, "input", { enumerable: true, get: function () { return __importDefault(input_1).default; } });
16
+ var expand_1 = require("@inquirer/expand");
17
+ Object.defineProperty(exports, "expand", { enumerable: true, get: function () { return __importDefault(expand_1).default; } });
18
+ var rawlist_1 = require("@inquirer/rawlist");
19
+ Object.defineProperty(exports, "rawlist", { enumerable: true, get: function () { return __importDefault(rawlist_1).default; } });
20
+ var password_1 = require("@inquirer/password");
21
+ Object.defineProperty(exports, "password", { enumerable: true, get: function () { return __importDefault(password_1).default; } });
22
+ var select_1 = require("@inquirer/select");
23
+ Object.defineProperty(exports, "select", { enumerable: true, get: function () { return __importDefault(select_1).default; } });
@@ -1,9 +1,8 @@
1
- import checkbox from '@inquirer/checkbox';
2
- import confirm from '@inquirer/confirm';
3
- import editor from '@inquirer/editor';
4
- import expand from '@inquirer/expand';
5
- import input from '@inquirer/input';
6
- import password from '@inquirer/password';
7
- import rawlist from '@inquirer/rawlist';
8
- import select from '@inquirer/select';
9
- export { checkbox, confirm, editor, expand, input, password, rawlist, select };
1
+ export { default as checkbox, Separator } from '@inquirer/checkbox';
2
+ export { default as editor } from '@inquirer/editor';
3
+ export { default as confirm } from '@inquirer/confirm';
4
+ export { default as input } from '@inquirer/input';
5
+ export { default as expand } from '@inquirer/expand';
6
+ export { default as rawlist } from '@inquirer/rawlist';
7
+ export { default as password } from '@inquirer/password';
8
+ export { default as select } from '@inquirer/select';
@@ -1,9 +1,8 @@
1
- import checkbox from '@inquirer/checkbox';
2
- import confirm from '@inquirer/confirm';
3
- import editor from '@inquirer/editor';
4
- import expand from '@inquirer/expand';
5
- import input from '@inquirer/input';
6
- import password from '@inquirer/password';
7
- import rawlist from '@inquirer/rawlist';
8
- import select from '@inquirer/select';
9
- export { checkbox, confirm, editor, expand, input, password, rawlist, select };
1
+ export { default as checkbox, Separator } from '@inquirer/checkbox';
2
+ export { default as editor } from '@inquirer/editor';
3
+ export { default as confirm } from '@inquirer/confirm';
4
+ export { default as input } from '@inquirer/input';
5
+ export { default as expand } from '@inquirer/expand';
6
+ export { default as rawlist } from '@inquirer/rawlist';
7
+ export { default as password } from '@inquirer/password';
8
+ export { default as select } from '@inquirer/select';
@@ -1,9 +1,8 @@
1
- import checkbox from '@inquirer/checkbox';
2
- import confirm from '@inquirer/confirm';
3
- import editor from '@inquirer/editor';
4
- import expand from '@inquirer/expand';
5
- import input from '@inquirer/input';
6
- import password from '@inquirer/password';
7
- import rawlist from '@inquirer/rawlist';
8
- import select from '@inquirer/select';
9
- export { checkbox, confirm, editor, expand, input, password, rawlist, select };
1
+ export { default as checkbox, Separator } from '@inquirer/checkbox';
2
+ export { default as editor } from '@inquirer/editor';
3
+ export { default as confirm } from '@inquirer/confirm';
4
+ export { default as input } from '@inquirer/input';
5
+ export { default as expand } from '@inquirer/expand';
6
+ export { default as rawlist } from '@inquirer/rawlist';
7
+ export { default as password } from '@inquirer/password';
8
+ export { default as select } from '@inquirer/select';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/prompts",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "Inquirer prompts, combined in a single package",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "typings": "./dist/cjs/types/index.d.ts",
@@ -76,18 +76,18 @@
76
76
  }
77
77
  },
78
78
  "dependencies": {
79
- "@inquirer/checkbox": "^2.3.0",
80
- "@inquirer/confirm": "^3.1.4",
81
- "@inquirer/editor": "^2.1.4",
82
- "@inquirer/expand": "^2.1.4",
83
- "@inquirer/input": "^2.1.4",
84
- "@inquirer/password": "^2.1.4",
85
- "@inquirer/rawlist": "^2.1.4",
86
- "@inquirer/select": "^2.3.0"
79
+ "@inquirer/checkbox": "^2.3.2",
80
+ "@inquirer/confirm": "^3.1.6",
81
+ "@inquirer/editor": "^2.1.6",
82
+ "@inquirer/expand": "^2.1.6",
83
+ "@inquirer/input": "^2.1.6",
84
+ "@inquirer/password": "^2.1.6",
85
+ "@inquirer/rawlist": "^2.1.6",
86
+ "@inquirer/select": "^2.3.2"
87
87
  },
88
88
  "devDependencies": {
89
- "@inquirer/type": "^1.3.0"
89
+ "@inquirer/type": "^1.3.1"
90
90
  },
91
91
  "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/prompts/README.md",
92
- "gitHead": "bb5b6b857d227b0fe8fd55951784f03800cdf73c"
92
+ "gitHead": "d0e92901ebb7eb77d027786a2e1ac41fc15326b6"
93
93
  }