budibase/packages/bootstrap-components/components.json

47 lines
1.1 KiB
JSON
Raw Normal View History

2019-10-14 09:32:20 +02:00
{
"_lib": "./dist/index.js",
"form" : {
"importPath": "Form",
"name": "Form",
"description": "A form - allgned fields with labels",
"props" : {
"containerClass": "string",
"formControls": {
"type":"array",
"elementDefinition": {
"label": "string",
"control":"component",
"controlPosition": {
"type":"options",
"options": ["Before Label","After Label"],
"default": "After Label"
}
2019-10-14 09:32:20 +02:00
}
}
},
"tags": ["form"]
2019-10-14 09:32:20 +02:00
},
"nav": {
"importPath": "Nav",
"name": "Nav",
"description": "A nav - a side bar of buttons that control the currently active component",
"props" : {
"items": {
"type": "array",
"elementDefinition" : {
"title": "string",
"component": "component"
}
},
"selectedItem":"string",
2019-10-18 18:32:03 +02:00
"pills":"bool",
"orientation":{"type":"options", "options": ["horizontal", "vertical"]},
"alignment":{"type":"options", "options": ["start", "center", "end"]},
"fill":"bool",
2019-10-19 08:24:20 +02:00
"hideNavBar":"bool",
"className": "string"
2019-10-14 09:32:20 +02:00
},
"tags": ["nav", "navigation", "sidebar"]
}
}