47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"_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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": ["form"]
|
|
},
|
|
"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",
|
|
"pills":"bool",
|
|
"orientation":{"type":"options", "options": ["horizontal", "vertical"]},
|
|
"alignment":{"type":"options", "options": ["start", "center", "end"]},
|
|
"fill":"bool",
|
|
"hideNavBar":"bool",
|
|
"className": "string"
|
|
|
|
},
|
|
"tags": ["nav", "navigation", "sidebar"]
|
|
}
|
|
} |