@inquirer/checkbox
Advanced tools
Comparing version 1.2.3 to 1.2.4
{ | ||
"name": "@inquirer/checkbox", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"engines": { | ||
@@ -88,3 +88,3 @@ "node": ">=14.18.0" | ||
}, | ||
"gitHead": "fdfa190cb12f2e28299878f433b0a9a15befc535" | ||
"gitHead": "85a7a51a472ba605a916704a4ced793ecbd4d3c6" | ||
} |
@@ -38,6 +38,6 @@ # `@inquirer/checkbox` | ||
| Property | Type | Required | Description | | ||
| -------- | ---------------------------------------------------------------------------------------- | ----------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| message | `string` | yes | The question to ask | | ||
| choices | `Array<{ value: string, name?: string, disabled?: boolean \| string, checked?: boolean } | Separator>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. Choices who're `disabled` will be displayed, but not selectable. | | ||
| Property | Type | Required | Description | | ||
| -------- | ------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| message | `string` | yes | The question to ask | | ||
| choices | `Array<{ value: string, name?: string, disabled?: boolean \| string, checked?: boolean } \| Separator>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. Choices who're `disabled` will be displayed, but not selectable. | | ||
@@ -44,0 +44,0 @@ The `Separator` object can be used to render non-selectable lines in the choice list. By default it'll render a line, but you can provide the text as argument (`new Separator('-- Dependencies --')`). This option is often used to add labels to groups within long list of options. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22467