77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
{
|
|
"_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"
|
|
},
|
|
"buttons": {
|
|
"name": "Buttons",
|
|
"description": "Generate some styled buttons"
|
|
},
|
|
"headers": {
|
|
"name": "Headers",
|
|
"description": "Generate some styled headings"
|
|
},
|
|
"nav": {
|
|
"name": "Nav bar",
|
|
"description": "Generate a nav bar, based n your root records"
|
|
},
|
|
"indexTables": {
|
|
"name": "Nav bar",
|
|
"description": "Generate a table based on an index"
|
|
}
|
|
},
|
|
"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" : {
|
|
"navBarBackground": {"type" :"string", "default":"silver"},
|
|
"navBarBorder": "string",
|
|
"navBarColor": {"type" :"string", "default":"black"},
|
|
"selectedItemBackground": {"type" :"string", "default":"white"},
|
|
"selectedItemColor": {"type" :"string", "default":"black"},
|
|
"selectedItemBorder": "string",
|
|
"itemHoverBackground": {"type" :"string", "default":"gainsboro"},
|
|
"itemHoverColor": {"type" :"string", "default":"black"},
|
|
"items": {
|
|
"type": "array",
|
|
"elementDefinition" : {
|
|
"title": "string",
|
|
"component": "component"
|
|
}
|
|
},
|
|
"selectedItem":"string",
|
|
"hideNavBar":"bool"
|
|
|
|
},
|
|
"tags": ["nav", "navigation", "sidebar"]
|
|
}
|
|
} |