Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Lagt til utført tidspunkt
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelegu committed Jun 16, 2023
1 parent 3306b51 commit 46cc839
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions component/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@navikt/arbeidsgiver-notifikasjon-widget",
"description": "React component for notifikasjoner for arbeidsgivere",
"repository": "github:navikt/arbeidsgiver-notifikasjon-widget",
"version": "6.0.0",
"version": "6.1.0-rc1",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/lib/esm/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const OppgaveIkon = () => {
const id = useId()
return <svg width="38" height="38" aria-labelledby={id} viewBox="0 0 38 38" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="38" height="38" rx="4" fill="#C77300"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.66699 7.66667C8.66699 6.74619 9.41318 6 10.3337 6H27.667C28.5875 6 29.3337 6.74619 29.3337 7.66667V30.3333C29.3337 31.2538 28.5875 32 27.667 32H10.3337C9.41318 32 8.66699 31.2538 8.66699 30.3333V7.66667ZM18.0003 24.3333C18.0003 23.781 18.448 23.3333 19.0003 23.3333H23.667C24.2193 23.3333 24.667 23.781 24.667 24.3333C24.667 24.8856 24.2193 25.3333 23.667 25.3333H19.0003C18.448 25.3333 18.0003 24.8856 18.0003 24.3333ZM19.0003 18C18.448 18 18.0003 18.4477 18.0003 19C18.0003 19.5523 18.448 20 19.0003 20H23.667C24.2193 20 24.667 19.5523 24.667 19C24.667 18.4477 24.2193 18 23.667 18H19.0003ZM15.0137 20H15.0003C14.448 20 14.0003 19.5523 14.0003 19C14.0003 18.4477 14.448 18 15.0003 18H15.0137C15.5659 18 16.0137 18.4477 16.0137 19C16.0137 19.5523 15.5659 20 15.0137 20ZM15.0003 23.3333C14.448 23.3333 14.0003 23.781 14.0003 24.3333C14.0003 24.8856 14.448 25.3333 15.0003 25.3333H15.0137C15.5659 25.3333 16.0137 24.8856 16.0137 24.3333C16.0137 23.781 15.5659 23.3333 15.0137 23.3333H15.0003ZM19.3337 12.3333C19.3337 11.781 19.7814 11.3333 20.3337 11.3333H23.667C24.2193 11.3333 24.667 11.781 24.667 12.3333C24.667 12.8856 24.2193 13.3333 23.667 13.3333H20.3337C19.7814 13.3333 19.3337 12.8856 19.3337 12.3333ZM17.8003 11.6001C18.1317 11.1582 18.0422 10.5314 17.6003 10.2001C17.1585 9.86869 16.5317 9.95823 16.2003 10.4001L14.8921 12.1443L14.3741 11.6263C13.9836 11.2358 13.3504 11.2358 12.9599 11.6263C12.5694 12.0168 12.5694 12.65 12.9599 13.0405L14.2932 14.3738C14.4982 14.5788 14.7821 14.6848 15.0712 14.6642C15.3604 14.6437 15.6264 14.4986 15.8003 14.2667L17.8003 11.6001Z" fill="white"/>
<path fillRule="evenodd" clipRule="evenodd" d="M8.66699 7.66667C8.66699 6.74619 9.41318 6 10.3337 6H27.667C28.5875 6 29.3337 6.74619 29.3337 7.66667V30.3333C29.3337 31.2538 28.5875 32 27.667 32H10.3337C9.41318 32 8.66699 31.2538 8.66699 30.3333V7.66667ZM18.0003 24.3333C18.0003 23.781 18.448 23.3333 19.0003 23.3333H23.667C24.2193 23.3333 24.667 23.781 24.667 24.3333C24.667 24.8856 24.2193 25.3333 23.667 25.3333H19.0003C18.448 25.3333 18.0003 24.8856 18.0003 24.3333ZM19.0003 18C18.448 18 18.0003 18.4477 18.0003 19C18.0003 19.5523 18.448 20 19.0003 20H23.667C24.2193 20 24.667 19.5523 24.667 19C24.667 18.4477 24.2193 18 23.667 18H19.0003ZM15.0137 20H15.0003C14.448 20 14.0003 19.5523 14.0003 19C14.0003 18.4477 14.448 18 15.0003 18H15.0137C15.5659 18 16.0137 18.4477 16.0137 19C16.0137 19.5523 15.5659 20 15.0137 20ZM15.0003 23.3333C14.448 23.3333 14.0003 23.781 14.0003 24.3333C14.0003 24.8856 14.448 25.3333 15.0003 25.3333H15.0137C15.5659 25.3333 16.0137 24.8856 16.0137 24.3333C16.0137 23.781 15.5659 23.3333 15.0137 23.3333H15.0003ZM19.3337 12.3333C19.3337 11.781 19.7814 11.3333 20.3337 11.3333H23.667C24.2193 11.3333 24.667 11.781 24.667 12.3333C24.667 12.8856 24.2193 13.3333 23.667 13.3333H20.3337C19.7814 13.3333 19.3337 12.8856 19.3337 12.3333ZM17.8003 11.6001C18.1317 11.1582 18.0422 10.5314 17.6003 10.2001C17.1585 9.86869 16.5317 9.95823 16.2003 10.4001L14.8921 12.1443L14.3741 11.6263C13.9836 11.2358 13.3504 11.2358 12.9599 11.6263C12.5694 12.0168 12.5694 12.65 12.9599 13.0405L14.2932 14.3738C14.4982 14.5788 14.7821 14.6848 15.0712 14.6642C15.3604 14.6437 15.6264 14.4986 15.8003 14.2667L17.8003 11.6001Z" fill="white"/>
</svg>

}
Expand All @@ -24,15 +24,15 @@ export const BeskjedIkon = () => {
const id = useId()
return <svg width="38" height="38" viewBox="0 0 38 38" aria-labelledby={id} fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="38" height="38" rx="4" fill="#3380A5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.33301 11.0002C7.33301 8.97512 8.97463 7.3335 10.9997 7.3335H26.9997C29.0247 7.3335 30.6663 8.97512 30.6663 11.0002V23.0002C30.6663 25.0252 29.0247 26.6668 26.9997 26.6668H15.2767L8.8475 30.5243C8.53857 30.7097 8.15382 30.7145 7.84031 30.537C7.5268 30.3595 7.33301 30.0271 7.33301 29.6668V11.0002Z" fill="white"/>
<path fillRule="evenodd" clipRule="evenodd" d="M7.33301 11.0002C7.33301 8.97512 8.97463 7.3335 10.9997 7.3335H26.9997C29.0247 7.3335 30.6663 8.97512 30.6663 11.0002V23.0002C30.6663 25.0252 29.0247 26.6668 26.9997 26.6668H15.2767L8.8475 30.5243C8.53857 30.7097 8.15382 30.7145 7.84031 30.537C7.5268 30.3595 7.33301 30.0271 7.33301 29.6668V11.0002Z" fill="white"/>
</svg>
}

export const OppgaveIkkeNyIkon = () => {
const id = useId()
return <svg width="38" height="38" aria-labelledby={id} viewBox="0 0 38 38" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="38" height="38" rx="4" fill="black" fill-opacity="0.44"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.66699 7.66667C8.66699 6.74619 9.41318 6 10.3337 6H27.667C28.5875 6 29.3337 6.74619 29.3337 7.66667V30.3333C29.3337 31.2538 28.5875 32 27.667 32H10.3337C9.41318 32 8.66699 31.2538 8.66699 30.3333V7.66667ZM18.0003 24.3333C18.0003 23.781 18.448 23.3333 19.0003 23.3333H23.667C24.2193 23.3333 24.667 23.781 24.667 24.3333C24.667 24.8856 24.2193 25.3333 23.667 25.3333H19.0003C18.448 25.3333 18.0003 24.8856 18.0003 24.3333ZM19.0003 18C18.448 18 18.0003 18.4477 18.0003 19C18.0003 19.5523 18.448 20 19.0003 20H23.667C24.2193 20 24.667 19.5523 24.667 19C24.667 18.4477 24.2193 18 23.667 18H19.0003ZM15.0137 20H15.0003C14.448 20 14.0003 19.5523 14.0003 19C14.0003 18.4477 14.448 18 15.0003 18H15.0137C15.5659 18 16.0137 18.4477 16.0137 19C16.0137 19.5523 15.5659 20 15.0137 20ZM15.0003 23.3333C14.448 23.3333 14.0003 23.781 14.0003 24.3333C14.0003 24.8856 14.448 25.3333 15.0003 25.3333H15.0137C15.5659 25.3333 16.0137 24.8856 16.0137 24.3333C16.0137 23.781 15.5659 23.3333 15.0137 23.3333H15.0003ZM19.3337 12.3333C19.3337 11.781 19.7814 11.3333 20.3337 11.3333H23.667C24.2193 11.3333 24.667 11.781 24.667 12.3333C24.667 12.8856 24.2193 13.3333 23.667 13.3333H20.3337C19.7814 13.3333 19.3337 12.8856 19.3337 12.3333ZM17.8003 11.6001C18.1317 11.1582 18.0422 10.5314 17.6003 10.2001C17.1585 9.86869 16.5317 9.95823 16.2003 10.4001L14.8921 12.1443L14.3741 11.6263C13.9836 11.2358 13.3504 11.2358 12.9599 11.6263C12.5694 12.0168 12.5694 12.65 12.9599 13.0405L14.2932 14.3738C14.4982 14.5788 14.7821 14.6848 15.0712 14.6642C15.3604 14.6437 15.6264 14.4986 15.8003 14.2667L17.8003 11.6001Z" fill="white"/>
<rect width="38" height="38" rx="4" fill="black" fillOpacity="0.44"/>
<path fillRule="evenodd" clipRule="evenodd" d="M8.66699 7.66667C8.66699 6.74619 9.41318 6 10.3337 6H27.667C28.5875 6 29.3337 6.74619 29.3337 7.66667V30.3333C29.3337 31.2538 28.5875 32 27.667 32H10.3337C9.41318 32 8.66699 31.2538 8.66699 30.3333V7.66667ZM18.0003 24.3333C18.0003 23.781 18.448 23.3333 19.0003 23.3333H23.667C24.2193 23.3333 24.667 23.781 24.667 24.3333C24.667 24.8856 24.2193 25.3333 23.667 25.3333H19.0003C18.448 25.3333 18.0003 24.8856 18.0003 24.3333ZM19.0003 18C18.448 18 18.0003 18.4477 18.0003 19C18.0003 19.5523 18.448 20 19.0003 20H23.667C24.2193 20 24.667 19.5523 24.667 19C24.667 18.4477 24.2193 18 23.667 18H19.0003ZM15.0137 20H15.0003C14.448 20 14.0003 19.5523 14.0003 19C14.0003 18.4477 14.448 18 15.0003 18H15.0137C15.5659 18 16.0137 18.4477 16.0137 19C16.0137 19.5523 15.5659 20 15.0137 20ZM15.0003 23.3333C14.448 23.3333 14.0003 23.781 14.0003 24.3333C14.0003 24.8856 14.448 25.3333 15.0003 25.3333H15.0137C15.5659 25.3333 16.0137 24.8856 16.0137 24.3333C16.0137 23.781 15.5659 23.3333 15.0137 23.3333H15.0003ZM19.3337 12.3333C19.3337 11.781 19.7814 11.3333 20.3337 11.3333H23.667C24.2193 11.3333 24.667 11.781 24.667 12.3333C24.667 12.8856 24.2193 13.3333 23.667 13.3333H20.3337C19.7814 13.3333 19.3337 12.8856 19.3337 12.3333ZM17.8003 11.6001C18.1317 11.1582 18.0422 10.5314 17.6003 10.2001C17.1585 9.86869 16.5317 9.95823 16.2003 10.4001L14.8921 12.1443L14.3741 11.6263C13.9836 11.2358 13.3504 11.2358 12.9599 11.6263C12.5694 12.0168 12.5694 12.65 12.9599 13.0405L14.2932 14.3738C14.4982 14.5788 14.7821 14.6848 15.0712 14.6642C15.3604 14.6437 15.6264 14.4986 15.8003 14.2667L17.8003 11.6001Z" fill="white"/>
</svg>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const StatusLinje: FC<StatusLinjeProps> = ({ notifikasjon }) => {
case OppgaveTilstand.Utfoert:
return (
<Tag className="notifikasjon_StatusLinje" variant='success'>
Fullført
Fullført {notifikasjon.utfoertTidspunkt ? formatterDato(notifikasjon.utfoertTidspunkt) : null}
</Tag>
)

Expand Down
16 changes: 8 additions & 8 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@navikt/arbeidsgiver-notifikasjon-widget": "file:../component",
"@navikt/arbeidsgiver-notifikasjoner-brukerapi-mock": "file:../brukerapi-mock",
"@navikt/bedriftsmeny": "6.8.0-rc5",
"@navikt/bedriftsmeny": "6.8.0",
"@navikt/nav-dekoratoren-moduler": "^1.6.9",
"@types/node": "^16.4.13",
"@types/react": "17.0.30",
Expand Down

0 comments on commit 46cc839

Please sign in to comment.