{ "src/components/Checklist.react.js": { "description": "Checklist is a component that encapsulates several checkboxes.\nThe values and labels of the checklist are specified in the `options`\nproperty and the checked items are specified with the `value` property.\nEach checkbox is rendered as an input with a surrounding label.", "displayName": "Checklist", "methods": [], "props": { "options": { "type": { "name": "union", "value": [ { "name": "arrayOf", "value": { "name": "union", "value": [ { "name": "string" }, { "name": "number" }, { "name": "bool" } ] }, "description": "Array of options where the label and the value are the same thing - [string|number|bool]" }, { "name": "object", "description": "Simpler `options` representation in dictionary format. The order is not guaranteed.\n{`value1`: `label1`, `value2`: `label2`, ... }\nwhich is equal to\n[{label: `label1`, value: `value1`}, {label: `label2`, value: `value2`}, ...]" }, { "name": "arrayOf", "value": { "name": "exact", "value": { "label": { "name": "node", "description": "The option's label", "required": true }, "value": { "name": "union", "value": [ { "name": "string" }, { "name": "number" }, { "name": "bool" } ], "description": "The value of the option. This value\ncorresponds to the items specified in the\n`value` property.", "required": true }, "disabled": { "name": "bool", "description": "If true, this option is disabled and cannot be selected.", "required": false }, "title": { "name": "string", "description": "The HTML 'title' attribute for the option. Allows for\ninformation on hover. For more information on this attribute,\nsee https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title", "required": false } } }, "description": "An array of options {label: [string|number], value: [string|number]},\nan optional disabled field can be used for each option" } ] }, "required": false, "description": "An array of options", "defaultValue": { "value": "[]", "computed": false } }, "value": { "type": { "name": "arrayOf", "value": { "name": "union", "value": [ { "name": "string" }, { "name": "number" }, { "name": "bool" } ] } }, "required": false, "description": "The currently selected value", "defaultValue": { "value": "[]", "computed": false } }, "inline": { "type": { "name": "bool" }, "required": false, "description": "Indicates whether the options labels should be displayed inline (true=horizontal)\nor in a block (false=vertical).", "defaultValue": { "value": "false", "computed": false } }, "className": { "type": { "name": "string" }, "required": false, "description": "The class of the container (div)" }, "style": { "type": { "name": "object" }, "required": false, "description": "The style of the container (div)" }, "inputStyle": { "type": { "name": "object" }, "required": false, "description": "The style of the checkbox element", "defaultValue": { "value": "{}", "computed": false } }, "inputClassName": { "type": { "name": "string" }, "required": false, "description": "The class of the checkbox element", "defaultValue": { "value": "''", "computed": false } }, "labelStyle": { "type": { "name": "object" }, "required": false, "description": "The style of the