altinn-designsystem
Version:
Altinn Design system based on Pattern Lab.
147 lines (143 loc) • 4.07 kB
JSON
{
"bodyClass": "a-bgGreyLight a-login",
"icon-prefix": "ai",
"icon-class": "ai-private",
"icon-extra-class": "",
"personlogin-isDropdown": false,
"dropdown-personswitch": false,
"display-as-dropdown": {
"buttonDisabled": "disabled"
},
"lagrede-sok": false,
"utvidet-sok": false,
"isHidden": true,
"is-first-time": false,
"show-favourites": true,
"personswitch-current": {
"myself-name": "Jan Pettersen",
"myself-personal-number": "Personnr. 123456 12345",
"user-icon": {
"icon-prefix": "ai",
"icon-class": "ai-private ai-lg",
"icon-extra-class": ""
},
"button-dot": false,
"personrole-link": {
"link-text": "Innstillinger",
"link-url": "link.sider-profil-roller-rettigheter"
}
},
"headerFootnote": {
"popover-link-text": "",
"popover-class": "footnote",
"popover-content": false,
"popover-link-icon": [
{
"icon-prefix": "ai",
"icon-class": "ai-circle-plus",
"icon-extra-class": "a-js-popoverIconInitial"
},
{
"icon-prefix": "ai",
"icon-class": "ai-circle-minus",
"icon-extra-class": "a-js-popoverIconExpanded"
}
],
"open-popover-class": "a-helpIconButton a-helpIconButton--blue a-js-togglePopoverIcons",
"popover-content-id": "popoverWithIconToggle",
"popover-various-content": {
"alert-items": [
{
"alert-text": {
"text": "Dette er en tekst "
}
},
{
"alert-link": {
"link-text": "med en lenke som står i løpende tekst",
"link-url": "http://www.vg.no"
}
}
]
}
},
"personswitch-search": {
"text-input-id": "text-input-find-113",
"top-label": "Søk etter aktør",
"isHidden": true,
"text-input-placeholder": "Søk etter aktør",
"input-type": "search",
"isInput-group": "input-group",
"form-control-class": "",
"form-label-hasIcon": {
"icon-prefix": "ai",
"icon-class": "ai-others"
},
"form-input-hasButton": false,
"no-results-text": "Ingen treff, prøv et annet søkeord."
},
"mainPerson": {
"button-main": {
"button-class": "a-btn-shadow-large a-btn a-btn-shadow a-btn-icon a-bgGreyLight",
"button-colorClass": "",
"button-dot": false,
"button-text": "Jan Pettersen",
"button-textClass": "a-fontBold",
"button-text-second": {
"button-text-second": "personnr. 123456 12345",
"button-text-second-class": "a-fontReg a-fontSizeXS"
},
"button-icon": {
"icon-prefix": "ai",
"icon-class": "ai-private ai-left",
"icon-extra-class": ""
},
"link-url": "link.sider-enkel-innboks"
},
"button-sub": false
},
"personswitch": {
"show-personswitch-options": false
},
"personswitch-options": {
"isDiscreet": "a-form-checkboxes--discret",
"isCenter": "d-flex justify-content-center",
"check-legend": false,
"checkboxes": [
{
"extra-class": "a-form-checkboxes",
"isInline" : true,
"isChecked": false,
"checkboxID" : "check21",
"checkboxes-title": "Se alle underenheter"
},
{
"extra-class": "a-form-checkboxes",
"isInline" : true,
"isChecked": false,
"checkboxID" : "check22",
"checkboxes-title": "Se slettede enheter"
}
]
},
"personswitch-options-tablet": {
"isDiscreet": "a-form-checkboxes--discret a-form-checkboxes",
"check-legend": false,
"checkboxes": [
{
"extra-class": "a-form-checkboxes",
"isInline" : false,
"isChecked": false,
"checkboxID" : "check2g",
"checkboxes-title": "Se alle underenheter"
},
{
"extra-class": "a-form-checkboxes",
"isInline" : false,
"isChecked": false,
"checkboxID" : "check2g1",
"checkboxes-title": "Se slettede enheter"
}
]
}
}