-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
1,245 additions
and
829 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
88 changes: 88 additions & 0 deletions
88
src/nationalarchives/components/checkboxes/macro-options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 84 additions & 2 deletions
86
src/nationalarchives/components/date-input/macro-options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,96 @@ | ||
[ | ||
{ | ||
"name": "label", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "headingLevel", | ||
"type": "number", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "headingSize", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "id", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "name", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "hint", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "value", | ||
"type": "object", | ||
"required": false, | ||
"description": "", | ||
"params": [ | ||
{ | ||
"name": "day", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "month", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "error", | ||
"type": "object", | ||
"required": false, | ||
"description": "", | ||
"params": [ | ||
{ | ||
"name": "text", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "inline", | ||
"type": "boolean", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "classes", | ||
"type": "string", | ||
"required": false, | ||
"description": "Classes to add to the date date input." | ||
"description": "Classes to add to the date input." | ||
}, | ||
{ | ||
"name": "attributes", | ||
"type": "object", | ||
"required": false, | ||
"description": "HTML attributes (for example data attributes) to add to the date date input." | ||
"description": "HTML attributes (for example data attributes) to add to the date input." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 82 additions & 2 deletions
84
src/nationalarchives/components/date-search/macro-options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,94 @@ | ||
[ | ||
{ | ||
"name": "label", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "headingLevel", | ||
"type": "number", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "headingSize", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "id", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "name", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "hint", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "value", | ||
"type": "text", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "error", | ||
"type": "object", | ||
"required": false, | ||
"description": "", | ||
"params": [ | ||
{ | ||
"name": "text", | ||
"type": "text", | ||
"required": true, | ||
"description": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "maxWidth", | ||
"type": "boolean", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "inline", | ||
"type": "boolean", | ||
"required": false, | ||
"description": "" | ||
}, | ||
{ | ||
"name": "formGroupClasses", | ||
"type": "string", | ||
"required": false, | ||
"description": "Classes to add to the date search form group." | ||
}, | ||
{ | ||
"name": "formGroupAttributes", | ||
"type": "string", | ||
"required": false, | ||
"description": "HTML attributes (for example data attributes) to add to the date search form group." | ||
}, | ||
{ | ||
"name": "classes", | ||
"type": "string", | ||
"required": false, | ||
"description": "Classes to add to the date date search." | ||
"description": "Classes to add to the date search field." | ||
}, | ||
{ | ||
"name": "attributes", | ||
"type": "object", | ||
"required": false, | ||
"description": "HTML attributes (for example data attributes) to add to the date date search." | ||
"description": "HTML attributes (for example data attributes) to add to the date search field." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.