UNPKG

altinn-designsystem

Version:

Altinn Design system based on Pattern Lab.

203 lines 5.89 kB
{ "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", "textarea-label": "Fyll inn tekst:", "textarea-placeholder": "Forklarende hjelpetekst med forslag", "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": "", "navn": { "print-form-tag": false, "text-input-id": "text-input-name", "isHidden": false, "top-label": "Navn: ", "isDisabled": false, "isInactive": false, "text-input-placeholder": "f.eks Kari Nordmann", "input-type": "text", "isRequired": true, "error-message-popover": true, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "text-input-name", "data-required": { "data-required-message": "Du har ikke oppgitt navn." } }, "firma": { "print-form-tag": false, "text-input-id": "text-input-name", "isHidden": false, "top-label": "Firma/virksomhet: ", "isDisabled": false, "isInactive": false, "text-input-placeholder": "f.eks Kari’s Firma AS", "input-type": "text", "isRequired": true, "error-message-popover": true, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "text-input-name", "data-required": { "data-required-message": "Du har ikke oppgitt navn." } }, "epost": { "print-form-tag": false, "text-input-id": "text-input-epost1", "top-label": "E-post: ", "text-input-placeholder": "f.eks post@karinordmann.no ", "input-type": "text", "isRequired": true, "error-message-popover": true, "input-name": "text-input-epost1", "input-regex-validation": { "error-message": "Du har ikke skrevet eposten korrekt", "validation-pattern": "(('[^']+')|(([a-zA-Z0-9!#$%&'*+-=?^_`{|}~])+(.([a-zA-Z0-9!#$%&'*+-=?^_`{|}~])+)*))@((((([a-zA-Z0-9æøåÆØÅ]([a-zA-Z0-9-æøåÆØÅ]{0,61})[a-zA-Z0-9æøåÆØÅ].)|[a-zA-Z0-9æøåÆØÅ].){1,9})([a-zA-Z]{2,14}))|((d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})))" }, "data-required": { "data-required-message": "Du har ikke oppgitt e-post." }, "extra-help": false, "isHidden": false, "isLarge": false }, "telefon": { "print-form-tag": false, "text-input-id": "text-input-tlf", "top-label": "Telefonnummer:", "text-input-placeholder": "f.eks 98765432", "input-type": "tel", "isRequired": false, "error-message-popover": true, "input-name": "text-input-tlf", "extra-help": false, "isHidden": false, "isLarge": false, "input-regex-validation": { "error-message": "Telefonnummer kan kun inneholde siffer", "validation-pattern": "[0-9]+" } }, "emne": { "print-form-tag": false, "text-input-id": "text-input-title", "isHidden": false, "top-label": "Emne: ", "isDisabled": false, "isInactive": false, "text-input-placeholder": "f.eks: Digital post", "input-type": "text", "isRequired": true, "error-message-popover": true, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "text-input-title", "data-required": { "data-required-message": "Du har ikke oppgitt emne." } }, "question": { "textarea-label": "Din melding: ", "textarea-placeholder": "Fyll inn tekst", "isRequired": true, "error-message-popover": true, "text-input-id": "text-input-question", "input-name": "text-input-question", "data-required": { "data-required-message": "Du har ikke oppgitt spørsmålstekst." }, "print-form-tag": false, "extra-help": false, "isHidden": false, "isLarge": false, "input-type": "text", "has-feedback": { "icon-prefix": "ai", "icon-class": "ai-plus", "icon-extra-class": "form-control-feedback" } }, "submit": { "button-text": "Send", "button-class": "a-btn", "button-id": "a-js-contactForm-submit", "button-type": "button", "onclick": false, "button-icon": false, "display-as-link": false, "data-is-success": true, "data-action": "load", "data-toggle": "altinn-modal", "data-target": "modal-singel", "page-url": "../../patterns/02-organismer-80-Modal-js-innhold-12-altinnett-kontaktskjema/02-organismer-80-Modal-js-innhold-12-altinnett-kontaktskjema.markup-only.html" }, "modal-id": "modal-singel", "singelmodal": { "modal-id": "modal-singel", "modal-isSingel": true, "show-login": false, "display-as-dropdown": false, "logo": { "logo": "../../images/a-logo-black.svg" }, "logo-class": "a-modal-top-logo", "login-show": false, "icon": "group_add", "hasTextSmall": false, "modal-navbar-override": { "button-list": [ { "button-class": "a-modal-close", "aria-label": "Lukk", "icon-prefix": "ai", "icon-class": "ai-exit", "icon-extra-class": "a-modal-close-icon", "stacked-background": { "icon-prefix": "ai", "icon-class": "ai-plain-circle-big" }, "is-modal-close": { "data-target": "#modal" }, "onclick": "goBack()" } ] } }, "page-url": "http://localhost:3000/patterns/02-organismer-80-Modal-js-innhold-12-altinnett-kontaktskjema/02-organismer-80-Modal-js-innhold-12-altinnett-kontaktskjema.markup-only.html" }