@ministryofjustice/fb-components-core
Advanced tools
Comparing version
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "0.0.56-alpha", | ||
"version": "0.0.57-alpha", | ||
"description": "Form Builder core components", | ||
@@ -12,0 +12,0 @@ "main": "index.js", |
@@ -13,2 +13,11 @@ { | ||
"default": "yes" | ||
}, | ||
"hint": { | ||
"title": "Hint text", | ||
"description": "Text to help users understand an option - appears in grey under the label", | ||
"type": "string", | ||
"content": true | ||
}, | ||
"conditionalComponent": { | ||
"$ref": "http://gov.uk/schema/v1.0.0/definition/conditionalcomponent" | ||
} | ||
@@ -30,3 +39,13 @@ }, | ||
"label" | ||
] | ||
], | ||
"transforms": { | ||
"model": { | ||
"propagation": "conditionalComponent" | ||
} | ||
}, | ||
"uiCategory": { | ||
"main": [ | ||
"conditionalComponent" | ||
] | ||
} | ||
} |
@@ -10,2 +10,11 @@ { | ||
"const": "radio" | ||
}, | ||
"hint": { | ||
"title": "Hint text", | ||
"description": "Text to help users understand an option - appears in grey under the label", | ||
"type": "string", | ||
"content": true | ||
}, | ||
"conditionalComponent": { | ||
"$ref": "http://gov.uk/schema/v1.0.0/definition/conditionalcomponent" | ||
} | ||
@@ -20,3 +29,8 @@ }, | ||
"label" | ||
] | ||
], | ||
"uiCategory": { | ||
"main": [ | ||
"conditionalComponent" | ||
] | ||
} | ||
} |
@@ -28,2 +28,7 @@ { | ||
], | ||
"transforms": { | ||
"model": { | ||
"propagation": "items[*].conditionalComponent" | ||
} | ||
}, | ||
"required": [ | ||
@@ -30,0 +35,0 @@ "name", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
124449
1.81%263
0.38%3626
1.34%