altinn-designsystem
Version:
Altinn Design system based on Pattern Lab.
71 lines • 1.79 kB
JSON
{
"button-text": "En standard knapp",
"button-class": "a-btn",
"button-disabled": false,
"button-type": "button",
"onclick": false,
"button-icon": false,
"display-as-link": false,
"themeCss": "../../css/style.prototype.altinn.css",
"themeJs": "./../../js/altinnPrototyping.js",
"themeJsVendor": "../../js/altinnPrototyping.vendor.js",
"icon-prefix": "ai",
"icon-class": "ai-deadline",
"icon-size": "",
"icon-extra-class": "",
"icon-text": "",
"icon-id": false,
"sr-only": false,
"aria-hidden": false,
"stacked-background": false,
"icon-post-text": false,
"icon-title": false,
"icon-sr-only-text": false,
"print-form-tag": false,
"text-input-id": "text-input-generic",
"isHidden": false,
"top-label": "Label: ",
"isDisabled": false,
"isInactive": false,
"text-input-placeholder": "f.eks placeholder",
"input-type": "text",
"isRequired": false,
"extra-help": false,
"isLarge": false,
"form-label-hasIcon": false,
"input-name": "input-field",
"form-control-class": "",
"text-input-adress": {
"text-input-id": "text-input-100",
"top-label": "Adresse",
"text-input-placeholder": "F.eks Storgata 12",
"input-type": "text",
"isRequired": true,
"error-message-popover": true
},
"text-input-postalcode": {
"text-input-id": "postnummer",
"top-label": "Postnummer:",
"text-input-placeholder": "4 siffer",
"input-type": "text",
"maxlength": "4",
"postal-code": true,
"form-control-class": "a-input-postnumber",
"isRequired": true
},
"checkbox-private": {
"check-legend": false,
"isStacked": "custom-controls-stacked",
"checkboxes": [
{
"checkboxes-title": "Gjør adressen privat"
}
]
},
"adress-submit": {
"button-text": "Neste",
"button-class": "a-btn",
"button-type": "submit",
"onclick": false
}
}