Skip to content

Commit

Permalink
⬆️ Oppgraderer felles lib og legger til readAttachmentUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
steoiv committed Oct 18, 2023
1 parent de4d3d3 commit 36c0d20
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
1 change: 1 addition & 0 deletions components/fileupload/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const FileUpload = ({ søknadId, krav, addError, deleteError, onSuccess,
<FileInput
heading={formatMessage({ id: `ettersendelse.vedleggstyper.${krav}.heading` })}
ingress={formatMessage({ id: `ettersendelse.vedleggstyper.${krav}.description` })}
readAttachmentUrl={'/aap/mine-aap/vedlegg/'}
id={krav}
onUpload={(vedlegg) => {
if (harLastetOppEttersending) {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"prettier": "@navikt/aap-felles-prettier",
"dependencies": {
"@grafana/faro-web-sdk": "^1.1.1",
"@navikt/aap-felles-css": "^0.0.90",
"@navikt/aap-felles-react": "^0.0.90",
"@navikt/aap-felles-utils": "^0.0.90",
"@navikt/aap-felles-utils-client": "^0.0.90",
"@navikt/aap-felles-css": "^0.0.91",
"@navikt/aap-felles-react": "^0.0.91",
"@navikt/aap-felles-utils": "^0.0.91",
"@navikt/aap-felles-utils-client": "^0.0.91",
"@navikt/aksel-icons": "^5.7.2",
"@navikt/ds-css": "^5.7.2",
"@navikt/ds-react": "^5.7.2",
Expand All @@ -37,8 +37,8 @@
"react-intl": "^6.5.0"
},
"devDependencies": {
"@navikt/aap-felles-prettier": "^0.0.90",
"@navikt/eslint-config-aap": "^0.0.90",
"@navikt/aap-felles-prettier": "^0.0.91",
"@navikt/eslint-config-aap": "^0.0.91",
"@playwright/test": "^1.37.1",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
Expand Down
48 changes: 24 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -918,23 +918,23 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@navikt/aap-felles-css@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-css/0.0.90/4164c53380cd45ee06ed5bcc3deb2936dc6f426b#4164c53380cd45ee06ed5bcc3deb2936dc6f426b"
integrity sha512-hzqLSrPApD210VcuLy0XOv2WjYptKWRazyEeiBrBC2H2vs0VeD2xrkU2QpyRlAmidzgVPuUg1Y97VfunfzarTg==
"@navikt/aap-felles-css@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-css/0.0.91/ed057c9febe12dd4c82e0878ced2843b2eee906f#ed057c9febe12dd4c82e0878ced2843b2eee906f"
integrity sha512-rcPYN4IG6lK6tZtOGkUtkl0Rwfy1Mtsd9DwbHB5UiRYlghGbtT9V4yuTXNUbcblh0u865X9Eqyu2gaN15cpFmA==

"@navikt/aap-felles-prettier@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-prettier/0.0.90/5ac0707f72a44f1ad34bfae49e0d2e4cddda4dbc#5ac0707f72a44f1ad34bfae49e0d2e4cddda4dbc"
integrity sha512-Evm9eKTBi+7TpeCIk3Ne9X+xRAtURd8lECSfr/cY5QD7A2Ra/+4iK28hVUrwgVEQYkLoieRB9iMqJfLhs0B+TQ==
"@navikt/aap-felles-prettier@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-prettier/0.0.91/2e1b97aaf37191fc1ee97813ec0c5af7601841ca#2e1b97aaf37191fc1ee97813ec0c5af7601841ca"
integrity sha512-FWUr9aASx4k9KxDRwvNauH3kWkL2b0/OiaoLhmk0hrvrU81KosHBmTBQAbnWsoy2LClf2wUcCqIoGCcbp9IuMA==
dependencies:
"@trivago/prettier-plugin-sort-imports" "^4.2.0"
prettier "^3.0.3"

"@navikt/aap-felles-react@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-react/0.0.90/b1add69b788fa24886f1ce3b1fb3c208c588e6b6#b1add69b788fa24886f1ce3b1fb3c208c588e6b6"
integrity sha512-JNGiiVN2InDgfBDX8sMAEGLfTfgdMWA69fQMHpf05TQpx3+g9zpV3tfw7DRXIeo12an/bfIAtXyATkmbTXTykA==
"@navikt/aap-felles-react@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-react/0.0.91/6043aaf6dbd560db26d66c3df65f7b4e1fb3a525#6043aaf6dbd560db26d66c3df65f7b4e1fb3a525"
integrity sha512-7LHYQnJvAlT+B0rLCLl2MpXwmaE75EkNo7F5QzEDzpchwJxz/pMEpXAzQL4xZtE3ZsUlZlhzsMWSqhdLqeJnuA==
dependencies:
"@navikt/aksel-icons" "^5.4.1"
"@navikt/ds-css" "^5.4.1"
Expand All @@ -943,17 +943,17 @@
react "^18.2.0"
uuid "^9.0.1"

"@navikt/aap-felles-utils-client@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-utils-client/0.0.90/308e630823309325f69e999a5bb11d2fd7ac15b1#308e630823309325f69e999a5bb11d2fd7ac15b1"
integrity sha512-yhYdNQopXzSLmfEbB0WGMTOyEhFqDGiIxDZ2RqnaSnXEaFwEWXOqFvzx9fJXTyI7ER+iHkFUGsPX82JzuRLSqg==
"@navikt/aap-felles-utils-client@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-utils-client/0.0.91/3da554b058f065e6b83a72caa1ec634b2fda4a71#3da554b058f065e6b83a72caa1ec634b2fda4a71"
integrity sha512-EKhvyoD2XYgagr2Z769R0TfTiSM/pOMfX9yzPfiK88cBCWX08HC0qsnnr8w6sKo0lmifmJdnmKu9mdcBvUgL3g==
dependencies:
date-fns "^2.30.0"

"@navikt/aap-felles-utils@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-utils/0.0.90/18a396fde9c1e5bf999460ff68fd1457513a2459#18a396fde9c1e5bf999460ff68fd1457513a2459"
integrity sha512-2dRUdk0nRJbZHJUO4hc5OcuEtypHEzBnvKBhm8dMTUR++SS1DWXuRAJqPanu4uM/XKxE800FuKOXg9Q+e7ZOoA==
"@navikt/aap-felles-utils@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/aap-felles-utils/0.0.91/76bebddcd5087c4ff19a134ee9893619f817c23a#76bebddcd5087c4ff19a134ee9893619f817c23a"
integrity sha512-1uGylHMXXDXDUhlpxaIat4HhDvwL/H2i0x1DysiILJnhQAKQC72R92q3e64l8YlXDPwmLJxiwaG6VgI8SLIrCg==
dependencies:
"@elastic/ecs-pino-format" "1.3.0"
axios "^1.2.1"
Expand Down Expand Up @@ -1015,10 +1015,10 @@
resolved "https://npm.pkg.github.com/download/@navikt/ds-tokens/5.7.2/34bb3982f8da115331fa50c6a3a0c69499a072eb#34bb3982f8da115331fa50c6a3a0c69499a072eb"
integrity sha512-jRPyyb2I/9efxscrFbsVJ9o0wHwqtqya02xtcukmVkhyrc3CgCy3Ac1CJmKLxXmCALAdQ4B0a/qXohYlyS0Y5A==

"@navikt/eslint-config-aap@^0.0.90":
version "0.0.90"
resolved "https://npm.pkg.github.com/download/@navikt/eslint-config-aap/0.0.90/a7b417ebbdd047117d279fffe4f078bbaab78ec5#a7b417ebbdd047117d279fffe4f078bbaab78ec5"
integrity sha512-D3x1M1fFKT+phjd9MRJDlZto3sCv6EWxa4eqZsA3564Hdbsr8wy4zhW4ZwrLABmgO7hQqcHXODvNxPZD/SkoRA==
"@navikt/eslint-config-aap@^0.0.91":
version "0.0.91"
resolved "https://npm.pkg.github.com/download/@navikt/eslint-config-aap/0.0.91/8c8abd4ee30e042d76d17fcfc3c752e3dac05524#8c8abd4ee30e042d76d17fcfc3c752e3dac05524"
integrity sha512-2qdg/Q6EtU1auM5H7EI/nx0sVdV28vBY1Bgf4z4XvwxfH2MZzzems3dPTToKRAmJDKHM7DV+Ezg+BRd055jK/Q==

"@navikt/nav-dekoratoren-moduler@^2.1.0":
version "2.1.3"
Expand Down

0 comments on commit 36c0d20

Please sign in to comment.