budibase/packages/bootstrap-components/components.json

66 lines
1.6 KiB
JSON
Raw Normal View History

2019-10-14 09:32:20 +02:00
{
"_lib": "./dist/index.js",
"_generators": {
"_lib": "./dist/generators.js",
"app": {
"name": "App",
"description": "Generate app based on your backend"
},
"forms": {
"name": "Forms",
"description": "Generate forms, based on your records"
},
"indexTables": {
2019-10-18 18:32:03 +02:00
"name": "Index Tables",
2019-10-14 09:32:20 +02:00
"description": "Generate a table based on an index"
2019-10-18 18:32:03 +02:00
},
"recordHomepages": {
"name": "Record Homepage",
"description": "Generates a 'homepage' based on your record types, including a create/edit form. Selecting a nav item will display a root content"
2019-10-14 09:32:20 +02:00
}
},
"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"]
}
}