diff --git a/package.json b/package.json index e02e0aa9c..dd48e3eaa 100644 --- a/package.json +++ b/package.json @@ -104,12 +104,12 @@ "nav-frontend-typografi-style": "^1.0.22", "openapi-fetch": "^0.13.4", "openapi-react-query": "^0.2.9", - "react": "^18.3.1", + "react": "^19.0.0", "react-day-picker": "^7.3.2", - "react-dom": "^18.3.1", + "react-dom": "^19.0.0", "react-error-boundary": "^5.0.0", "react-hook-form": "^7.54.1", - "react-modal": "^3.16.1", + "react-modal": "^3.16.3", "react-redux": "^7.2.0", "redux": "^4.2.1", "redux-thunk": "^2.4.2", @@ -136,12 +136,11 @@ "@types/md5": "^2.3.5", "@types/node": "^22.10.6", "@types/prop-types": "^15.7.14", - "@types/react": "^18.3.18", + "@types/react": "^19.0.7", "@types/react-collapse": "^5.0.4", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.3", "@types/react-modal": "^3.16.3", "@types/react-redux": "^7.1.9", - "@types/react-test-renderer": "^18.3.0", "autoprefixer": "^10.4.20", "cross-env": "^7.0.3", "happy-dom": "^16.5.3", @@ -151,11 +150,10 @@ "msw": "^2.7.0", "nav-faker": "^3.2.4", "openapi-typescript": "^7.5.2", - "postcss": "^8.5.0", + "postcss": "^8.5.1", "postcss-import": "^16.1.0", "prop-types": "^15.8.1", "react-collapse": "^5.1.1", - "react-test-renderer": "^18.3.1", "redux-devtools-extension": "^2.13.9", "stylelint": "^16.13.1", "tailwindcss": "^3.4.17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2cfd47b24..09d4808ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 2.11.11 '@grafana/faro-react': specifier: ^1.12.2 - version: 1.12.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.12.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@grafana/faro-web-sdk': specifier: ^1.12.2 version: 1.12.2 @@ -28,7 +28,7 @@ importers: version: 7.9.1 '@navikt/ds-react': specifier: ^7.9.1 - version: 7.9.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 7.9.1(@types/react@19.0.7)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@navikt/ds-tailwind': specifier: ^7.9.1 version: 7.9.1 @@ -37,22 +37,22 @@ importers: version: 2.1.5 '@navikt/navspa': specifier: ^6.2.0 - version: 6.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@navikt/tag-input': specifier: ^2.0.2 - version: 2.0.2(wffzxzjdbbquuzhzz6hclbjfg4) + version: 2.0.2(gct6i4lcxszvmjlgvsfus3jouu) '@navikt/textparser': specifier: ^2.4.0 - version: 2.4.0(react@18.3.1) + version: 2.4.0(react@19.0.0) '@tanstack/react-form': specifier: ^0.41.1 - version: 0.41.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.3) + version: 0.41.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.7.3) '@tanstack/react-query': specifier: ^5.64.1 - version: 5.64.1(react@18.3.1) + version: 5.64.1(react@19.0.0) '@tanstack/react-router': specifier: ^1.95.6 - version: 1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@tanstack/zod-form-adapter': specifier: ^0.41.1 version: 0.41.1(zod@3.24.1) @@ -70,10 +70,10 @@ importers: version: 5.3.0 downshift: specifier: ^5.0.5 - version: 5.4.7(react@18.3.1) + version: 5.4.7(react@19.0.0) jotai: specifier: ^2.11.0 - version: 2.11.0(@types/react@18.3.18)(react@18.3.1) + version: 2.11.0(@types/react@19.0.7)(react@19.0.0) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -82,16 +82,16 @@ importers: version: 2.3.0 nav-datovelger: specifier: ^11.1.2 - version: 11.4.0(7l73ipmw6nv4iz3ujp2fgxjyaq) + version: 11.4.0(vr4o4nhcalhouhhisoe2xbqfo4) nav-frontend-alertstriper: specifier: ^3.1.1 - version: 3.1.2(classnames@2.5.1)(nav-frontend-alertstriper-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 3.1.2(classnames@2.5.1)(nav-frontend-alertstriper-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-alertstriper-style: specifier: ^2.1.1 version: 2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) nav-frontend-chevron: specifier: ^1.0.13 - version: 1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@18.3.1) + version: 1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@19.0.0) nav-frontend-chevron-style: specifier: ^1.0.4 version: 1.0.4 @@ -100,19 +100,19 @@ importers: version: 5.1.1 nav-frontend-ekspanderbartpanel: specifier: ^3.1.2 - version: 3.1.4(@types/react-collapse@5.0.4)(classnames@2.5.1)(nav-frontend-ekspanderbartpanel-style@1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(react-collapse@5.1.1(react@18.3.1))(react@18.3.1) + version: 3.1.4(@types/react-collapse@5.0.4)(classnames@2.5.1)(nav-frontend-ekspanderbartpanel-style@1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(react-collapse@5.1.1(react@19.0.0))(react@19.0.0) nav-frontend-ekspanderbartpanel-style: specifier: ^1.1.2 version: 1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) nav-frontend-etiketter: specifier: ^2.1.1 - version: 2.1.3(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-etiketter-style@1.1.2(nav-frontend-core@5.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.3(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-etiketter-style@1.1.2(nav-frontend-core@5.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-etiketter-style: specifier: ^1.1.2 version: 1.1.2(nav-frontend-core@5.1.1) nav-frontend-hjelpetekst: specifier: ^2.1.1 - version: 2.1.4(classnames@2.5.1)(nav-frontend-hjelpetekst-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.4(classnames@2.5.1)(nav-frontend-hjelpetekst-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-hjelpetekst-style: specifier: ^2.1.1 version: 2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) @@ -121,88 +121,88 @@ importers: version: 2.0.10 nav-frontend-ikonknapper: specifier: ^1.0.9 - version: 1.1.4(nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1))(react@18.3.1) + version: 1.1.4(nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0))(react@19.0.0) nav-frontend-js-utils: specifier: ^1.0.20 - version: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) + version: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-knapper: specifier: ^2.1.1 - version: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0) nav-frontend-knapper-style: specifier: ^1.1.2 version: 1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) nav-frontend-lenkepanel: specifier: ^1.1.1 - version: 1.1.2(classnames@2.5.1)(nav-frontend-lenkepanel-style@1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 1.1.2(classnames@2.5.1)(nav-frontend-lenkepanel-style@1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-lenkepanel-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)) nav-frontend-lenker: specifier: ^1.1.1 - version: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1) + version: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0) nav-frontend-lenker-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-lukknapp: specifier: ^1.1.1 - version: 1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1) + version: 1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0) nav-frontend-lukknapp-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-modal: specifier: ^1.1.2 - version: 1.2.2(@types/react-modal@3.16.3)(classnames@2.5.1)(nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-modal-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(prop-types@15.8.1)(react-modal@3.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 1.2.2(@types/react-modal@3.16.3)(classnames@2.5.1)(nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-modal-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(prop-types@15.8.1)(react-modal@3.16.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) nav-frontend-modal-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)) nav-frontend-paneler: specifier: ^2.1.1 - version: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-paneler-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-popover: specifier: 1.1.1 - version: 1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) nav-frontend-popover-style: specifier: 1.1.1 version: 1.1.1 nav-frontend-skjema: specifier: ^3.2.1 - version: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-skjema-style: specifier: ^2.2.3 version: 2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) nav-frontend-snakkeboble: specifier: ^2.1.1 - version: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-snakkeboble-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-snakkeboble-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-snakkeboble-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) nav-frontend-spinner: specifier: ^2.0.16 - version: 2.0.17(classnames@2.5.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-spinner-style@1.0.2)(prop-types@15.8.1)(react@18.3.1) + version: 2.0.17(classnames@2.5.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-spinner-style@1.0.2)(prop-types@15.8.1)(react@19.0.0) nav-frontend-spinner-style: specifier: ^1.0.2 version: 1.0.2 nav-frontend-stegindikator: specifier: 0.0.52 - version: 0.0.52(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-stegindikator-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@18.3.1) + version: 0.0.52(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-stegindikator-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@19.0.0) nav-frontend-stegindikator-style: specifier: ^1.0.31 version: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) nav-frontend-tabs: specifier: ^1.1.1 - version: 1.1.3(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-tabs-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@18.3.1) + version: 1.1.3(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-tabs-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@19.0.0) nav-frontend-tabs-style: specifier: ^1.1.1 version: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) nav-frontend-tekstomrade: specifier: ^2.1.1 - version: 2.1.3(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + version: 2.1.3(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-typografi: specifier: ^3.1.1 - version: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + version: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-typografi-style: specifier: ^1.0.22 version: 1.1.1 @@ -211,28 +211,28 @@ importers: version: 0.13.4 openapi-react-query: specifier: ^0.2.9 - version: 0.2.9(@tanstack/react-query@5.64.1(react@18.3.1))(openapi-fetch@0.13.4) + version: 0.2.9(@tanstack/react-query@5.64.1(react@19.0.0))(openapi-fetch@0.13.4) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-day-picker: specifier: ^7.3.2 - version: 7.4.10(react@18.3.1) + version: 7.4.10(react@19.0.0) react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-error-boundary: specifier: ^5.0.0 - version: 5.0.0(react@18.3.1) + version: 5.0.0(react@19.0.0) react-hook-form: specifier: ^7.54.1 - version: 7.54.1(react@18.3.1) + version: 7.54.1(react@19.0.0) react-modal: - specifier: ^3.16.1 - version: 3.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^3.16.3 + version: 3.16.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react-redux: specifier: ^7.2.0 - version: 7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0) redux: specifier: ^4.2.1 version: 4.2.1 @@ -241,7 +241,7 @@ importers: version: 2.4.2(redux@4.2.1) styled-components: specifier: ^6.1.14 - version: 6.1.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tailwind-merge: specifier: ^2.6.0 version: 2.6.0 @@ -269,19 +269,19 @@ importers: version: 1.49.1 '@tanstack/router-cli': specifier: ^1.95.6 - version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@tanstack/router-devtools': specifier: ^1.95.6 - version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(csstype@3.1.3)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@tanstack/router-plugin': specifier: ^1.95.6 - version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@1.21.6)(less@4.2.1)(tsx@4.19.2)(yaml@2.6.1)) + version: 1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@6.0.7(@types/node@22.10.6)(jiti@1.21.6)(less@4.2.1)(tsx@4.19.2)(yaml@2.6.1)) '@testing-library/jest-dom': specifier: ^6.6.3 version: 6.6.3 '@testing-library/react': specifier: ^16.1.0 - version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.3(@types/react@19.0.7))(@types/react@19.0.7)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@testing-library/user-event': specifier: ^14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) @@ -304,26 +304,23 @@ importers: specifier: ^15.7.14 version: 15.7.14 '@types/react': - specifier: ^18.3.18 - version: 18.3.18 + specifier: ^19.0.7 + version: 19.0.7 '@types/react-collapse': specifier: ^5.0.4 version: 5.0.4 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.5(@types/react@18.3.18) + specifier: ^19.0.3 + version: 19.0.3(@types/react@19.0.7) '@types/react-modal': specifier: ^3.16.3 version: 3.16.3 '@types/react-redux': specifier: ^7.1.9 version: 7.1.34 - '@types/react-test-renderer': - specifier: ^18.3.0 - version: 18.3.1 autoprefixer: specifier: ^10.4.20 - version: 10.4.20(postcss@8.5.0) + version: 10.4.20(postcss@8.5.1) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -332,7 +329,7 @@ importers: version: 16.5.3 jest-styled-components: specifier: ^7.2.0 - version: 7.2.0(styled-components@6.1.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 7.2.0(styled-components@6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) less: specifier: ^4.2.1 version: 4.2.1 @@ -349,20 +346,17 @@ importers: specifier: ^7.5.2 version: 7.5.2(typescript@5.7.3) postcss: - specifier: ^8.5.0 - version: 8.5.0 + specifier: ^8.5.1 + version: 8.5.1 postcss-import: specifier: ^16.1.0 - version: 16.1.0(postcss@8.5.0) + version: 16.1.0(postcss@8.5.1) prop-types: specifier: ^15.8.1 version: 15.8.1 react-collapse: specifier: ^5.1.1 - version: 5.1.1(react@18.3.1) - react-test-renderer: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + version: 5.1.1(react@19.0.0) redux-devtools-extension: specifier: ^2.13.9 version: 2.13.9(redux@4.2.1) @@ -1620,10 +1614,10 @@ packages: '@types/react-collapse@5.0.4': resolution: {integrity: sha512-tM5cVB6skGLneNYnRK2E3R56VOHguSeJQHslGPTIMC58ytL3oelT8L/l1onkwHGn5vSEs2BEq2Olzrur+YdliA==} - '@types/react-dom@18.3.5': - resolution: {integrity: sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==} + '@types/react-dom@19.0.3': + resolution: {integrity: sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==} peerDependencies: - '@types/react': ^18.0.0 + '@types/react': ^19.0.0 '@types/react-modal@3.16.3': resolution: {integrity: sha512-xXuGavyEGaFQDgBv4UVm8/ZsG+qxeQ7f77yNrW3n+1J6XAstUy5rYHeIHPh1KzsGc6IkCIdu6lQ2xWzu1jBTLg==} @@ -1631,11 +1625,8 @@ packages: '@types/react-redux@7.1.34': resolution: {integrity: sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==} - '@types/react-test-renderer@18.3.1': - resolution: {integrity: sha512-vAhnk0tG2eGa37lkU9+s5SoroCsRI08xnsWFiAXOuPH2jqzMbcXvKExXViPi1P5fIklDeCvXqyrdmipFaSkZrA==} - - '@types/react@18.3.18': - resolution: {integrity: sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==} + '@types/react@19.0.7': + resolution: {integrity: sha512-MoFsEJKkAtZCrC1r6CM8U22GzhG7u2Wir8ons/aCKH6MBdD1ibV24zOSSkdZVUKqN5i396zG5VKLYZ3yaUZdLA==} '@types/shimmer@1.2.0': resolution: {integrity: sha512-UE7oxhQLLd9gub6JKIAhDq06T0F6FnztwMNRvYgjeQSBeMc1ZG/tA47EwfduvkuQS8apbkM/lpLpWsaCeYsXVg==} @@ -3229,8 +3220,8 @@ packages: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} - postcss@8.5.0: - resolution: {integrity: sha512-27VKOqrYfPncKA2NrFOVhP5MGAfHKLYn/Q0mz9cNQyRAKYi3VNHwYU2qKKqPCqgBmeeJ0uAFB56NumXZ5ZReXg==} + postcss@8.5.1: + resolution: {integrity: sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==} engines: {node: ^10 || ^12 || >=14} prettier@3.4.2: @@ -3281,10 +3272,10 @@ packages: date-fns: ^2.28.0 || ^3.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 react-error-boundary@5.0.0: resolution: {integrity: sha512-tnjAxG+IkpLephNcePNA7v6F/QpWLH8He65+DmedchDwg162JZqx4NmbXj0mlAYVVEd81OW7aFhmbsScYfiAFQ==} @@ -3303,18 +3294,14 @@ packages: react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - react-is@18.3.1: - resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} - react-modal@3.16.1: - resolution: {integrity: sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==} - engines: {node: '>=8'} + react-modal@3.16.3: + resolution: {integrity: sha512-yCYRJB5YkeQDQlTt17WGAgFJ7jr2QYcWa1SHqZ3PluDmnKJ/7+tVU+E6uKyZ0nODaeEj+xCpK4LcSnKXLMC0Nw==} peerDependencies: - react: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 - react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 + react: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19 + react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19 react-redux@7.2.9: resolution: {integrity: sha512-Gx4L3uM182jEEayZfRbI/G11ZpYdNAnBs70lFVMNdHJI76XYtR+7m0MN+eAs7UHBPhWXcnFPaS+9owSCJQHNpQ==} @@ -3332,18 +3319,8 @@ packages: resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==} engines: {node: '>=0.10.0'} - react-shallow-renderer@16.15.0: - resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} - peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - - react-test-renderer@18.3.1: - resolution: {integrity: sha512-KkAgygexHUkQqtvvx/otwxtuFu5cVjfzTCtjXLH9boS19/Nbtg84zS7wIQn39G8IlrhThBpQsMKkq5ZHZIYFXA==} - peerDependencies: - react: ^18.3.1 - - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-cache@1.0.0: @@ -3436,8 +3413,8 @@ packages: sax@1.4.1: resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} seedrandom@2.4.4: resolution: {integrity: sha512-9A+PDmgm+2du77B5i0Ip2cxOqqHjgNxnBgglxLcX78A2D6c2rTo61z4jnVABpF4cKeDMDG+cmXXvdnqse2VqMA==} @@ -4343,18 +4320,18 @@ snapshots: '@floating-ui/core': 1.6.8 '@floating-ui/utils': 0.2.8 - '@floating-ui/react-dom@2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react-dom@2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/dom': 1.6.12 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@floating-ui/react@0.25.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react@0.25.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@floating-ui/utils': 0.1.6 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tabbable: 6.2.0 '@floating-ui/utils@0.1.6': {} @@ -4366,14 +4343,14 @@ snapshots: '@opentelemetry/api': 1.9.0 '@opentelemetry/otlp-transformer': 0.53.0(@opentelemetry/api@1.9.0) - '@grafana/faro-react@1.12.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@grafana/faro-react@1.12.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@grafana/faro-web-sdk': 1.12.2 '@grafana/faro-web-tracing': 1.12.2 hoist-non-react-statics: 3.3.2 - react: 18.3.1 + react: 19.0.0 optionalDependencies: - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - supports-color @@ -4471,18 +4448,18 @@ snapshots: '@navikt/ds-css@7.9.1': {} - '@navikt/ds-react@7.9.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@navikt/ds-react@7.9.1(@types/react@19.0.7)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@floating-ui/react': 0.25.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react': 0.25.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@navikt/aksel-icons': 7.9.1 '@navikt/ds-tokens': 7.9.1 clsx: 2.1.1 date-fns: 3.6.0 - react: 18.3.1 - react-day-picker: 8.10.1(date-fns@3.6.0)(react@18.3.1) + react: 19.0.0 + react-day-picker: 8.10.1(date-fns@3.6.0)(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.7 transitivePeerDependencies: - react-dom @@ -4492,24 +4469,24 @@ snapshots: '@navikt/fnrvalidator@2.1.5': {} - '@navikt/navspa@6.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@navikt/navspa@6.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: loadjs: 4.3.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@navikt/tag-input@2.0.2(wffzxzjdbbquuzhzz6hclbjfg4)': + '@navikt/tag-input@2.0.2(gct6i4lcxszvmjlgvsfus3jouu)': dependencies: classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) - nav-frontend-knapper: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1) - nav-frontend-skjema: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) + nav-frontend-knapper: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0) + nav-frontend-skjema: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-skjema-style: 2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) - react: 18.3.1 + react: 19.0.0 - '@navikt/textparser@2.4.0(react@18.3.1)': + '@navikt/textparser@2.4.0(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 '@nodelib/fs.scandir@2.1.5': dependencies: @@ -4927,67 +4904,67 @@ snapshots: '@tanstack/query-core@5.64.1': {} - '@tanstack/react-form@0.41.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.3)': + '@tanstack/react-form@0.41.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.7.3)': dependencies: '@remix-run/node': 2.15.2(typescript@5.7.3) '@tanstack/form-core': 0.41.1 - '@tanstack/react-store': 0.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-store': 0.7.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) decode-formdata: 0.8.0 - react: 18.3.1 + react: 19.0.0 transitivePeerDependencies: - react-dom - typescript - '@tanstack/react-query@5.64.1(react@18.3.1)': + '@tanstack/react-query@5.64.1(react@19.0.0)': dependencies: '@tanstack/query-core': 5.64.1 - react: 18.3.1 + react: 19.0.0 - '@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/history': 1.95.2 - '@tanstack/react-store': 0.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-store': 0.7.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) jsesc: 3.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tiny-invariant: 1.3.3 tiny-warning: 1.0.3 - '@tanstack/react-store@0.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-store@0.7.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/store': 0.7.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - use-sync-external-store: 1.4.0(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + use-sync-external-store: 1.4.0(react@19.0.0) - '@tanstack/router-cli@1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tanstack/router-cli@1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@tanstack/router-generator': 1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tanstack/router-generator': 1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) chokidar: 3.6.0 yargs: 17.7.2 transitivePeerDependencies: - '@tanstack/react-router' - '@tanstack/router-devtools@1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/router-devtools@1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(csstype@3.1.3)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@tanstack/react-router': 1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-router': 1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) clsx: 2.1.1 goober: 2.1.16(csstype@3.1.3) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - csstype - '@tanstack/router-generator@1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tanstack/router-generator@1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@tanstack/virtual-file-routes': 1.87.6 prettier: 3.4.2 tsx: 4.19.2 zod: 3.24.1 optionalDependencies: - '@tanstack/react-router': 1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-router': 1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@tanstack/router-plugin@1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@6.0.7(@types/node@22.10.6)(jiti@1.21.6)(less@4.2.1)(tsx@4.19.2)(yaml@2.6.1))': + '@tanstack/router-plugin@1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@6.0.7(@types/node@22.10.6)(jiti@1.21.6)(less@4.2.1)(tsx@4.19.2)(yaml@2.6.1))': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.3 @@ -4997,7 +4974,7 @@ snapshots: '@babel/template': 7.25.9 '@babel/traverse': 7.26.4 '@babel/types': 7.26.3 - '@tanstack/router-generator': 1.95.6(@tanstack/react-router@1.95.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tanstack/router-generator': 1.95.6(@tanstack/react-router@1.95.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@tanstack/virtual-file-routes': 1.87.6 '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 @@ -5043,15 +5020,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.3(@types/react@19.0.7))(@types/react@19.0.7)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 - '@types/react-dom': 18.3.5(@types/react@18.3.18) + '@types/react': 19.0.7 + '@types/react-dom': 19.0.3(@types/react@19.0.7) '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: @@ -5086,7 +5063,7 @@ snapshots: '@types/hoist-non-react-statics@3.3.6': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.7 hoist-non-react-statics: 3.3.2 '@types/lodash.debounce@4.0.9': @@ -5109,30 +5086,25 @@ snapshots: '@types/react-collapse@5.0.4': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.7 - '@types/react-dom@18.3.5(@types/react@18.3.18)': + '@types/react-dom@19.0.3(@types/react@19.0.7)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.7 '@types/react-modal@3.16.3': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.7 '@types/react-redux@7.1.34': dependencies: '@types/hoist-non-react-statics': 3.3.6 - '@types/react': 18.3.18 + '@types/react': 19.0.7 hoist-non-react-statics: 3.3.2 redux: 4.2.1 - '@types/react-test-renderer@18.3.1': + '@types/react@19.0.7': dependencies: - '@types/react': 18.3.18 - - '@types/react@18.3.18': - dependencies: - '@types/prop-types': 15.7.14 csstype: 3.1.3 '@types/shimmer@1.2.0': {} @@ -5264,14 +5236,14 @@ snapshots: astral-regex@2.0.0: {} - autoprefixer@10.4.20(postcss@8.5.0): + autoprefixer@10.4.20(postcss@8.5.1): dependencies: browserslist: 4.24.3 caniuse-lite: 1.0.30001689 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 - postcss: 8.5.0 + postcss: 8.5.1 postcss-value-parser: 4.2.0 available-typed-arrays@1.0.7: @@ -5536,12 +5508,12 @@ snapshots: no-case: 3.0.4 tslib: 2.8.1 - downshift@5.4.7(react@18.3.1): + downshift@5.4.7(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 compute-scroll-into-view: 1.0.20 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 react-is: 16.13.1 dunder-proto@1.0.1: @@ -5710,12 +5682,12 @@ snapshots: flatted@3.3.2: {} - focus-trap-react@8.11.3(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + focus-trap-react@8.11.3(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: focus-trap: 6.9.4 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tabbable: 5.3.3 focus-trap@6.9.4: @@ -5967,17 +5939,17 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jest-styled-components@7.2.0(styled-components@6.1.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + jest-styled-components@7.2.0(styled-components@6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: '@adobe/css-tools': 4.4.1 - styled-components: 6.1.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0) jiti@1.21.6: {} - jotai@2.11.0(@types/react@18.3.18)(react@18.3.1): + jotai@2.11.0(@types/react@19.0.7)(react@19.0.0): optionalDependencies: - '@types/react': 18.3.18 - react: 18.3.1 + '@types/react': 19.0.7 + react: 19.0.0 js-base64@3.7.7: {} @@ -6176,17 +6148,17 @@ snapshots: nanoid@3.3.8: {} - nav-datovelger@11.4.0(7l73ipmw6nv4iz3ujp2fgxjyaq): + nav-datovelger@11.4.0(vr4o4nhcalhouhhisoe2xbqfo4): dependencies: classnames: 2.5.1 dayjs: 1.11.13 - focus-trap-react: 8.11.3(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + focus-trap-react: 8.11.3(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) nav-frontend-core: 5.1.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) - nav-frontend-skjema: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) - react: 18.3.1 - react-day-picker: 7.4.10(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) + nav-frontend-skjema: 3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) + react: 19.0.0 + react-day-picker: 7.4.10(react@19.0.0) transitivePeerDependencies: - prop-types - react-dom @@ -6202,23 +6174,23 @@ snapshots: nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-typografi-style: 1.1.1 - nav-frontend-alertstriper@3.1.2(classnames@2.5.1)(nav-frontend-alertstriper-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-alertstriper@3.1.2(classnames@2.5.1)(nav-frontend-alertstriper-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-alertstriper-style: 2.1.1(nav-frontend-core@5.1.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) nav-frontend-ikoner-assets: 2.0.10 - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-chevron-style@1.0.4: {} - nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@18.3.1): + nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-chevron-style: 1.0.4 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-core@5.1.1: {} @@ -6229,70 +6201,70 @@ snapshots: nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-typografi-style: 1.1.1 - nav-frontend-ekspanderbartpanel@3.1.4(@types/react-collapse@5.0.4)(classnames@2.5.1)(nav-frontend-ekspanderbartpanel-style@1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(react-collapse@5.1.1(react@18.3.1))(react@18.3.1): + nav-frontend-ekspanderbartpanel@3.1.4(@types/react-collapse@5.0.4)(classnames@2.5.1)(nav-frontend-ekspanderbartpanel-style@1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(react-collapse@5.1.1(react@19.0.0))(react@19.0.0): dependencies: '@types/react-collapse': 5.0.4 classnames: 2.5.1 nav-frontend-ekspanderbartpanel-style: 1.1.2(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) - react: 18.3.1 - react-collapse: 5.1.1(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) + react: 19.0.0 + react-collapse: 5.1.1(react@19.0.0) nav-frontend-etiketter-style@1.1.2(nav-frontend-core@5.1.1): dependencies: nav-frontend-core: 5.1.1 - nav-frontend-etiketter@2.1.3(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-etiketter-style@1.1.2(nav-frontend-core@5.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-etiketter@2.1.3(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-etiketter-style@1.1.2(nav-frontend-core@5.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-core: 5.1.1 nav-frontend-etiketter-style: 1.1.2(nav-frontend-core@5.1.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-hjelpetekst-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1): dependencies: nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 - nav-frontend-hjelpetekst@2.1.4(classnames@2.5.1)(nav-frontend-hjelpetekst-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-hjelpetekst@2.1.4(classnames@2.5.1)(nav-frontend-hjelpetekst-style@2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-hjelpetekst-style: 2.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) nav-frontend-ikoner-assets: 2.0.10 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) - nav-frontend-popover: 1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) + nav-frontend-popover: 1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-ikoner-assets@2.0.10: {} - nav-frontend-ikonknapper@1.1.4(nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1))(react@18.3.1): + nav-frontend-ikonknapper@1.1.4(nav-frontend-chevron@1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0))(react@19.0.0): dependencies: - nav-frontend-chevron: 1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-chevron: 1.0.30(classnames@2.5.1)(nav-frontend-chevron-style@1.0.4)(prop-types@15.8.1)(react@19.0.0) nav-frontend-ikoner-assets: 2.0.10 - nav-frontend-knapper: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1) - react: 18.3.1 + nav-frontend-knapper: 2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0) + react: 19.0.0 - nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1): + nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0): dependencies: lodash.throttle: 4.1.1 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1): dependencies: nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 - nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-knapper@2.1.4(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-knapper-style@1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-knapper-style: 1.1.2(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-lenkepanel-style@1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)): dependencies: @@ -6300,35 +6272,35 @@ snapshots: nav-frontend-core: 5.1.1 nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) - nav-frontend-lenkepanel@1.1.2(classnames@2.5.1)(nav-frontend-lenkepanel-style@1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-lenkepanel@1.1.2(classnames@2.5.1)(nav-frontend-lenkepanel-style@1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-lenkepanel-style: 1.1.1(nav-frontend-chevron-style@1.0.4)(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1): dependencies: nav-frontend-core: 5.1.1 - nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-lenker-style: 1.1.1(nav-frontend-core@5.1.1) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1): dependencies: nav-frontend-core: 5.1.1 - nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-lukknapp-style: 1.1.1(nav-frontend-core@5.1.1) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-modal-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)): dependencies: @@ -6336,39 +6308,39 @@ snapshots: nav-frontend-lukknapp-style: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) - nav-frontend-modal@1.2.2(@types/react-modal@3.16.3)(classnames@2.5.1)(nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-modal-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(prop-types@15.8.1)(react-modal@3.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1): + nav-frontend-modal@1.2.2(@types/react-modal@3.16.3)(classnames@2.5.1)(nav-frontend-lukknapp@1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-modal-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)))(prop-types@15.8.1)(react-modal@3.16.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: '@types/react-modal': 3.16.3 classnames: 2.5.1 - nav-frontend-lukknapp: 1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1) + nav-frontend-lukknapp: 1.2.2(classnames@2.5.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0) nav-frontend-modal-style: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-lukknapp-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1)) prop-types: 15.8.1 - react: 18.3.1 - react-modal: 3.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-modal: 3.16.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1): dependencies: nav-frontend-core: 5.1.1 - nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-typografi-style: 1.1.1 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-popover-style@1.1.1: {} - nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + nav-frontend-popover@1.1.1(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-popover-style@1.1.1)(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-popover-style: 1.1.1 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1): dependencies: @@ -6376,85 +6348,85 @@ snapshots: nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-typografi-style: 1.1.1 - nav-frontend-skjema@3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-skjema@3.2.6(@navikt/fnrvalidator@2.1.5)(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-skjema-style@2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: '@navikt/fnrvalidator': 2.1.5 classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) - nav-frontend-lenker: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) + nav-frontend-lenker: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0) nav-frontend-skjema-style: 2.2.3(nav-frontend-core@5.1.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-snakkeboble-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1): dependencies: nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 - nav-frontend-snakkeboble@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-snakkeboble-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-snakkeboble@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-paneler@2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-snakkeboble-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 - nav-frontend-paneler: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1) + nav-frontend-paneler: 2.1.2(classnames@2.5.1)(nav-frontend-paneler-style@1.1.1(nav-frontend-core@5.1.1))(nav-frontend-typografi-style@1.1.1)(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0) nav-frontend-paneler-style: 1.1.1(nav-frontend-core@5.1.1) nav-frontend-snakkeboble-style: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-spinner-style@1.0.2: {} - nav-frontend-spinner@2.0.17(classnames@2.5.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-spinner-style@1.0.2)(prop-types@15.8.1)(react@18.3.1): + nav-frontend-spinner@2.0.17(classnames@2.5.1)(nav-frontend-ikoner-assets@2.0.10)(nav-frontend-spinner-style@1.0.2)(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-ikoner-assets: 2.0.10 nav-frontend-spinner-style: 1.0.2 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-stegindikator-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1): dependencies: nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 - nav-frontend-stegindikator@0.0.52(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-stegindikator-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@18.3.1): + nav-frontend-stegindikator@0.0.52(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-stegindikator-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@19.0.0): dependencies: classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-stegindikator-style: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) - react: 18.3.1 + react: 19.0.0 nav-frontend-tabs-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1): dependencies: nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 - nav-frontend-tabs@1.1.3(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1))(nav-frontend-tabs-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@18.3.1): + nav-frontend-tabs@1.1.3(classnames@2.5.1)(nav-frontend-js-utils@1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0))(nav-frontend-tabs-style@1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1))(react@19.0.0): dependencies: classnames: 2.5.1 - nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@18.3.1) + nav-frontend-js-utils: 1.0.20(lodash.throttle@4.1.1)(prop-types@15.8.1)(react@19.0.0) nav-frontend-tabs-style: 1.1.1(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1) - react: 18.3.1 + react: 19.0.0 - nav-frontend-tekstomrade@2.1.3(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1))(prop-types@15.8.1)(react@18.3.1): + nav-frontend-tekstomrade@2.1.3(nav-frontend-lenker@1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0))(nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0))(prop-types@15.8.1)(react@19.0.0): dependencies: - '@navikt/textparser': 2.4.0(react@18.3.1) - nav-frontend-lenker: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@18.3.1) - nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1) + '@navikt/textparser': 2.4.0(react@19.0.0) + nav-frontend-lenker: 1.1.2(classnames@2.5.1)(nav-frontend-lenker-style@1.1.1(nav-frontend-core@5.1.1))(prop-types@15.8.1)(react@19.0.0) + nav-frontend-typografi: 3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0) prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 nav-frontend-typografi-style@1.1.1: dependencies: nav-frontend-core: 5.1.1 - nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@18.3.1): + nav-frontend-typografi@3.1.2(classnames@2.5.1)(nav-frontend-core@5.1.1)(nav-frontend-typografi-style@1.1.1)(prop-types@15.8.1)(react@19.0.0): dependencies: classnames: 2.5.1 nav-frontend-core: 5.1.1 nav-frontend-typografi-style: 1.1.1 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 needle@3.3.1: dependencies: @@ -6497,9 +6469,9 @@ snapshots: dependencies: openapi-typescript-helpers: 0.0.15 - openapi-react-query@0.2.9(@tanstack/react-query@5.64.1(react@18.3.1))(openapi-fetch@0.13.4): + openapi-react-query@0.2.9(@tanstack/react-query@5.64.1(react@19.0.0))(openapi-fetch@0.13.4): dependencies: - '@tanstack/react-query': 5.64.1(react@18.3.1) + '@tanstack/react-query': 5.64.1(react@19.0.0) openapi-fetch: 0.13.4 openapi-typescript-helpers: 0.0.15 @@ -6586,42 +6558,42 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-import@15.1.0(postcss@8.5.0): + postcss-import@15.1.0(postcss@8.5.1): dependencies: - postcss: 8.5.0 + postcss: 8.5.1 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.9 - postcss-import@16.1.0(postcss@8.5.0): + postcss-import@16.1.0(postcss@8.5.1): dependencies: - postcss: 8.5.0 + postcss: 8.5.1 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.9 - postcss-js@4.0.1(postcss@8.5.0): + postcss-js@4.0.1(postcss@8.5.1): dependencies: camelcase-css: 2.0.1 - postcss: 8.5.0 + postcss: 8.5.1 - postcss-load-config@4.0.2(postcss@8.5.0): + postcss-load-config@4.0.2(postcss@8.5.1): dependencies: lilconfig: 3.1.3 yaml: 2.6.1 optionalDependencies: - postcss: 8.5.0 + postcss: 8.5.1 - postcss-nested@6.2.0(postcss@8.5.0): + postcss-nested@6.2.0(postcss@8.5.1): dependencies: - postcss: 8.5.0 + postcss: 8.5.1 postcss-selector-parser: 6.1.2 postcss-resolve-nested-selector@0.1.6: {} - postcss-safe-parser@7.0.1(postcss@8.5.0): + postcss-safe-parser@7.0.1(postcss@8.5.1): dependencies: - postcss: 8.5.0 + postcss: 8.5.1 postcss-selector-parser@6.1.2: dependencies: @@ -6641,7 +6613,7 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - postcss@8.5.0: + postcss@8.5.1: dependencies: nanoid: 3.3.8 picocolors: 1.1.1 @@ -6689,82 +6661,64 @@ snapshots: queue-microtask@1.2.3: {} - react-collapse@5.1.1(react@18.3.1): + react-collapse@5.1.1(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 - react-day-picker@7.4.10(react@18.3.1): + react-day-picker@7.4.10(react@19.0.0): dependencies: prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 - react-day-picker@8.10.1(date-fns@3.6.0)(react@18.3.1): + react-day-picker@8.10.1(date-fns@3.6.0)(react@19.0.0): dependencies: date-fns: 3.6.0 - react: 18.3.1 + react: 19.0.0 - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 - react-error-boundary@5.0.0(react@18.3.1): + react-error-boundary@5.0.0(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 - react: 18.3.1 + react: 19.0.0 - react-hook-form@7.54.1(react@18.3.1): + react-hook-form@7.54.1(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 react-is@16.13.1: {} react-is@17.0.2: {} - react-is@18.3.1: {} - react-lifecycles-compat@3.0.4: {} - react-modal@3.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-modal@3.16.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: exenv: 1.2.2 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-lifecycles-compat: 3.0.4 warning: 4.0.3 - react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-redux@7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 '@types/react-redux': 7.1.34 hoist-non-react-statics: 3.3.2 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 react-is: 17.0.2 optionalDependencies: - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) react-refresh@0.14.2: {} - react-shallow-renderer@16.15.0(react@18.3.1): - dependencies: - object-assign: 4.1.1 - react: 18.3.1 - react-is: 18.3.1 - - react-test-renderer@18.3.1(react@18.3.1): - dependencies: - react: 18.3.1 - react-is: 18.3.1 - react-shallow-renderer: 16.15.0(react@18.3.1) - scheduler: 0.23.2 - - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-cache@1.0.0: dependencies: @@ -6873,9 +6827,7 @@ snapshots: sax@1.4.1: optional: true - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} seedrandom@2.4.4: {} @@ -6989,7 +6941,7 @@ snapshots: dependencies: min-indent: 1.0.1 - styled-components@6.1.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + styled-components@6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@emotion/is-prop-valid': 1.2.2 '@emotion/unitless': 0.8.1 @@ -6997,8 +6949,8 @@ snapshots: css-to-react-native: 3.2.0 csstype: 3.1.3 postcss: 8.4.38 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) shallowequal: 1.1.0 stylis: 4.3.2 tslib: 2.6.2 @@ -7032,9 +6984,9 @@ snapshots: micromatch: 4.0.8 normalize-path: 3.0.0 picocolors: 1.1.1 - postcss: 8.5.0 + postcss: 8.5.1 postcss-resolve-nested-selector: 0.1.6 - postcss-safe-parser: 7.0.1(postcss@8.5.0) + postcss-safe-parser: 7.0.1(postcss@8.5.1) postcss-selector-parser: 7.0.0 postcss-value-parser: 4.2.0 resolve-from: 5.0.0 @@ -7106,11 +7058,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.1 - postcss: 8.5.0 - postcss-import: 15.1.0(postcss@8.5.0) - postcss-js: 4.0.1(postcss@8.5.0) - postcss-load-config: 4.0.2(postcss@8.5.0) - postcss-nested: 6.2.0(postcss@8.5.0) + postcss: 8.5.1 + postcss-import: 15.1.0(postcss@8.5.1) + postcss-js: 4.0.1(postcss@8.5.1) + postcss-load-config: 4.0.2(postcss@8.5.1) + postcss-nested: 6.2.0(postcss@8.5.1) postcss-selector-parser: 6.1.2 resolve: 1.22.9 sucrase: 3.35.0 @@ -7201,9 +7153,9 @@ snapshots: querystringify: 2.2.0 requires-port: 1.0.0 - use-sync-external-store@1.4.0(react@18.3.1): + use-sync-external-store@1.4.0(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 util-deprecate@1.0.2: {} @@ -7262,7 +7214,7 @@ snapshots: vite@6.0.7(@types/node@22.10.6)(jiti@1.21.6)(less@4.2.1)(tsx@4.19.2)(yaml@2.6.1): dependencies: esbuild: 0.24.2 - postcss: 8.5.0 + postcss: 8.5.1 rollup: 4.28.1 optionalDependencies: '@types/node': 22.10.6 diff --git a/src/app/personside/dialogpanel/DialogPanel.test.tsx b/src/app/personside/dialogpanel/DialogPanel.test.tsx index 29e4e7a44..bcf38017b 100644 --- a/src/app/personside/dialogpanel/DialogPanel.test.tsx +++ b/src/app/personside/dialogpanel/DialogPanel.test.tsx @@ -1,4 +1,4 @@ -import * as renderer from 'react-test-renderer'; +import { render } from '@testing-library/react'; import { vi } from 'vitest'; import TestProvider from '../../../test/Testprovider'; import { setupReactQueryMocks } from '../../../test/testStore'; @@ -12,12 +12,12 @@ beforeEach(() => { }); test('viser dialogpanel', () => { - const dialogPanelBody = renderer.create( + const dialogPanelBody = render( ); - expect(dialogPanelBody.toJSON()).toMatchSnapshot(); + expect(dialogPanelBody.asFragment()).toMatchSnapshot(); dialogPanelBody.unmount(); }); diff --git a/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap b/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap index 13ccb6b6b..b7c1195f0 100644 --- a/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap +++ b/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap @@ -1,7 +1,8 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`viser dialogpanel 1`] = ` -.c2 { + + .c2 { position: relative; } @@ -168,510 +169,383 @@ exports[`viser dialogpanel 1`] = ` }
-
-
-

- Send ny melding -

-
-
-
- -
+ + + + + Standardtekster + +
-
- - Tekstområde med plass til - 15000 - tegn. - - + - -
    -
  • - Norge -
  • -
  • - Gift -
  • - - + Norge + +
  • + Gift +
  • + - - - - + + + + + - - - 2 - barn under 22 år - -
- + + 2 barn under 22 år + + + + - -
-
-
- - Sperret adresse, strengt fortrolig - -
-
- + Sperret adresse, strengt fortrolig + +
+
- Egen ansatt - -
-
- + Egen ansatt + +
+
- Sikkerhetstiltak - -
-
- + Sikkerhetstiltak + +
+
- Reservert i KRR - -
-
- + Reservert i KRR + +
+
- Manuell oppfølging - -
-
- + Manuell oppfølging + +
+
- Vergemål - -
-
- + Vergemål + +
+
- Talespråktolk - -
-
- + Talespråktolk + +
+
- Tegnspråktolk - -
-
- + Tegnspråktolk + +
+
- Dødsbo - -
-
- + Dødsbo + +
+
- Fullmakt - -
-
-
-

+ Fullmakt + +

+ +
- Nav-kontor / 0219 NAV Bærum - -
+

+ Nav-kontor / 0219 NAV Bærum +

+ +
-
-
- -
- + + + Ekspander visittkort + + +
+ + `; diff --git a/src/app/personsok/PersonsokKomponent.test.tsx b/src/app/personsok/PersonsokKomponent.test.tsx index db580cfd8..693640d33 100644 --- a/src/app/personsok/PersonsokKomponent.test.tsx +++ b/src/app/personsok/PersonsokKomponent.test.tsx @@ -1,4 +1,4 @@ -import * as renderer from 'react-test-renderer'; +import { render } from '@testing-library/react'; import TestProvider from '../../test/Testprovider'; import { setupReactQueryMocks } from '../../test/testStore'; import PersonsokResultat from './PersonsokResultat'; @@ -6,7 +6,7 @@ import PersonsokSkjema from './PersonsokSkjema'; test('viser personsøk-komponent', () => { setupReactQueryMocks(); - const personsokKomponentV3 = renderer.create( + const personsokKomponentV3 = render( <> {}} setResponse={() => {}} /> @@ -15,5 +15,5 @@ test('viser personsøk-komponent', () => { ); - expect(personsokKomponentV3.toJSON()).toMatchSnapshot(); + expect(personsokKomponentV3.asFragment()).toMatchSnapshot(); }); diff --git a/src/app/personsok/__snapshots__/PersonsokKomponent.test.tsx.snap b/src/app/personsok/__snapshots__/PersonsokKomponent.test.tsx.snap index 20f835d69..00b0add1c 100644 --- a/src/app/personsok/__snapshots__/PersonsokKomponent.test.tsx.snap +++ b/src/app/personsok/__snapshots__/PersonsokKomponent.test.tsx.snap @@ -1,7 +1,8 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`viser personsøk-komponent 1`] = ` -.c9 { + + .c9 { position: relative; border: none; padding: 0; @@ -100,710 +101,626 @@ exports[`viser personsøk-komponent 1`] = ` padding-right: 0.5em; } - -
-
+
-

- Søkekriterier -

-
-
-
-

- Begrens søket -

-
+ +
+
+
+

+ Begrens søket +

-
-
+

+ Fødselsdato fra +

+ +
-
-
-
-
+

+ Fødselsdato til +

+ +
+
-
-
-
- - + + +
+
+ + +
- -
-
-
- -
- + + + + +
-
+ - - -

- Rekvirer D-nummer fra Folkeregisteret -

-
- -

- Kontonummersøk i utbetalingsportalen -

-
-
- - -
-
- + + +
+ + +
`; diff --git a/src/components/DelayRender.tsx b/src/components/DelayRender.tsx index bb8920158..55f86abdc 100644 --- a/src/components/DelayRender.tsx +++ b/src/components/DelayRender.tsx @@ -1,4 +1,4 @@ -import { useState } from 'react'; +import { type JSX, useState } from 'react'; import { useOnMount } from '../utils/customHooks'; interface Props { diff --git a/src/components/WaitForUserLoaded.tsx b/src/components/WaitForUserLoaded.tsx index 098dacca4..bb20ec23b 100644 --- a/src/components/WaitForUserLoaded.tsx +++ b/src/components/WaitForUserLoaded.tsx @@ -1,12 +1,16 @@ import { Navigate } from '@tanstack/react-router'; import { useAtomValue } from 'jotai'; -import { useState } from 'react'; +import { type JSX, useState } from 'react'; import { CenteredLazySpinner } from 'src/components/LazySpinner'; import { aktivBrukerAtom, aktivBrukerLastetAtom } from 'src/lib/state/context'; import { erGyldigishFnr } from 'src/utils/fnr-utils'; import useTimeout from 'src/utils/hooks/use-timeout'; -const WaitForUserLoaded = ({ children }: { children: ({ fnr }: { fnr: string }) => JSX.Element }) => { +const WaitForUserLoaded = ({ + children +}: { + children: ({ fnr }: { fnr: string }) => JSX.Element; +}) => { const aktivBruker = useAtomValue(aktivBrukerAtom); const aktivBrukerLastet = useAtomValue(aktivBrukerLastetAtom); diff --git a/src/components/form/FormErrorSummary.tsx b/src/components/form/FormErrorSummary.tsx index bc6b75204..454307736 100644 --- a/src/components/form/FormErrorSummary.tsx +++ b/src/components/form/FormErrorSummary.tsx @@ -1,6 +1,6 @@ import { Feiloppsummering, type FeiloppsummeringFeil } from 'nav-frontend-skjema'; import type { FeiloppsummeringProps } from 'nav-frontend-skjema'; -import { useEffect, useRef } from 'react'; +import { type RefObject, useEffect, useRef } from 'react'; import type { FieldValues } from 'react-hook-form'; import type { UseFormReturn } from 'react-hook-form'; import type { FieldErrors } from 'react-hook-form'; @@ -41,7 +41,9 @@ function FormErrorSummary(props: Props; + // Typecast for legacy grunner. nav-frontend pakkene bruker gamel typer & vil fjernes + // snart + return } feil={feil} {...errorSummaryProps} />; } export default FormErrorSummary; diff --git a/src/context/valgtenhet-state.tsx b/src/context/valgtenhet-state.tsx index 63205f347..2c0e40e48 100644 --- a/src/context/valgtenhet-state.tsx +++ b/src/context/valgtenhet-state.tsx @@ -18,7 +18,6 @@ export function ValgtEnhetProvider(props: { children: React.ReactNode }) { }, [aktivEnhet] ); - const value = { enhetId: aktivEnhet ?? '', setEnhetId: updateEnhet }; return {props.children}; } diff --git a/src/mock/index.ts b/src/mock/index.ts index f4ae3c1ce..bfebc80d1 100644 --- a/src/mock/index.ts +++ b/src/mock/index.ts @@ -18,6 +18,7 @@ import { hentPersondata } from './persondata/persondata'; import { mockPersonsokResponse, mockStaticPersonsokRequest } from './personsok/personsokMock'; import { saksbehandlerInnstillingerHandlers } from './saksbehandlerinnstillinger-mock'; import { getMockSaksoversiktV2 } from './saksoversikt/saksoversikt-mock'; +import { skrivestotteMock } from './skrivestotte'; import { authMock, tilgangskontrollMock } from './tilgangskontroll-mock'; import { getMockUtbetalinger } from './utbetalinger/utbetalinger-mock'; import { @@ -312,7 +313,7 @@ const opprettSkjermetOppgaveHandler = http.post( const standardteksterHandler = [ http.get( `${import.meta.env.BASE_URL}proxy/modia-skrivestotte/skrivestotte`, - withDelayedResponse(randomDelay(), STATUS_OK, () => '') + withDelayedResponse(randomDelay(), STATUS_OK, () => skrivestotteMock) ), http.post( diff --git a/src/mock/skrivestotte.ts b/src/mock/skrivestotte.ts new file mode 100644 index 000000000..d0bf6c3c6 --- /dev/null +++ b/src/mock/skrivestotte.ts @@ -0,0 +1,16 @@ +import { faker } from '@faker-js/faker'; +import { Locale, type Tekster } from 'src/app/personside/dialogpanel/sendMelding/standardTekster/domain'; + +const randUUID = faker.string.uuid(); + +export const skrivestotteMock: Tekster = { + [randUUID]: { + id: randUUID, + overskrift: faker.word.sample(), + tags: ['eksempel'], + innhold: { + [Locale.nb_NO]: faker.lorem.paragraph() + }, + vekttall: faker.number.int({ min: 0, max: 5 }) + } +}; diff --git a/src/utils/FormatertKontonummer.tsx b/src/utils/FormatertKontonummer.tsx index 5eccaee1e..65da972ac 100644 --- a/src/utils/FormatertKontonummer.tsx +++ b/src/utils/FormatertKontonummer.tsx @@ -1,5 +1,7 @@ import styled from 'styled-components'; +import type { JSX } from 'react'; + const Kontonummer = styled.span` span:not(:last-child):after { content: '.'; diff --git a/src/utils/LenkepanelPersonoversikt.tsx b/src/utils/LenkepanelPersonoversikt.tsx index 7829c4675..dc4191534 100644 --- a/src/utils/LenkepanelPersonoversikt.tsx +++ b/src/utils/LenkepanelPersonoversikt.tsx @@ -12,33 +12,31 @@ interface Props { } const CustomStyling = styled(Panel)` - padding: 0rem; - font-weight: 600; - a { - padding: ${pxToRem(15)}; - } - a:visited { - color: currentColor !important; - } - .lenkepanel { - margin-bottom: 0; - } + padding: 0rem; + font-weight: 600; + a { + padding: ${pxToRem(15)}; + } + a:visited { + color: currentColor !important; + } + .lenkepanel { + margin-bottom: 0; + } `; -function LenkepanelPersonoversikt(props: Props) { +const defaultLinkCreator = (props: React.HTMLProps) => ( + +); + +function LenkepanelPersonoversikt({ className, url, linkCreator = defaultLinkCreator, children }: Props) { return ( - - - {props.children} + + + {children} ); } -(LenkepanelPersonoversikt as React.FunctionComponent).defaultProps = { - linkCreator: (props: React.HTMLProps) => ( - - ) -}; - export default LenkepanelPersonoversikt; diff --git a/src/utils/customHooks.ts b/src/utils/customHooks.ts index 7eb6c2770..bba5d3edf 100644 --- a/src/utils/customHooks.ts +++ b/src/utils/customHooks.ts @@ -17,7 +17,7 @@ import { paths } from '../app/routes/routing'; import type { AppState } from '../redux/reducers'; import { type EventListener, runIfEventIsNotInsideRef } from './reactRef-utils'; -export function useFocusOnMount(ref: React.RefObject) { +export function useFocusOnMount(ref: React.RefObject) { useOnMount(() => { if (ref.current) { ref.current.focus(); @@ -57,7 +57,7 @@ export function useOnUpdate(effect: EffectCallback, deps: DependencyList) { }, [deps, effect]); } -export function useClickOutside(ref: RefObject, callback: EventListener) { +export function useClickOutside(ref: RefObject, callback: EventListener) { const handler: EventListener = useMemo(() => runIfEventIsNotInsideRef(ref, callback), [ref, callback]); useEffect(() => { @@ -67,7 +67,7 @@ export function useClickOutside(ref: RefObject, callba } export function usePrevious(value: T) { - const ref = useRef(); + const ref = useRef(undefined); useEffect(() => { ref.current = value; }); diff --git a/src/utils/hooks/use-is-mounted.ts b/src/utils/hooks/use-is-mounted.ts index dcca458bb..15a7dbbeb 100644 --- a/src/utils/hooks/use-is-mounted.ts +++ b/src/utils/hooks/use-is-mounted.ts @@ -1,6 +1,6 @@ import { type RefObject, useEffect, useRef } from 'react'; -function useIsMounted(): RefObject { +function useIsMounted(): RefObject { const ref = useRef(true); useEffect(() => { return () => { diff --git a/src/utils/hooks/useKeepScroll.ts b/src/utils/hooks/useKeepScroll.ts index cd43ada12..6d3874510 100644 --- a/src/utils/hooks/useKeepScroll.ts +++ b/src/utils/hooks/useKeepScroll.ts @@ -27,8 +27,8 @@ const storeScroll = (name: string, position: ScrollPosition) => { }; }; -function useKeepScroll(ref: React.RefObject, keepScrollId: string) { - const timer = useRef(); +function useKeepScroll(ref: React.RefObject, keepScrollId: string) { + const timer = useRef(undefined); useEffect( function restoreScroll() { const timeout = setTimeout(() => { diff --git a/src/utils/hooks/usePaginering.tsx b/src/utils/hooks/usePaginering.tsx index 610942373..3ec84743d 100644 --- a/src/utils/hooks/usePaginering.tsx +++ b/src/utils/hooks/usePaginering.tsx @@ -52,7 +52,7 @@ function usePaginering( selectedItem?: T, fieldCompare?: (t: T) => K ): PagineringsData { - const selectRef = useRef(); + const selectRef = useRef(undefined); const [currentPage, setCurrentPage] = useState(0); const numberOfPages = Math.ceil(list.length / pageSize); diff --git a/src/utils/print/usePrinter.tsx b/src/utils/print/usePrinter.tsx index 2d9272aa4..1e47b81bf 100644 --- a/src/utils/print/usePrinter.tsx +++ b/src/utils/print/usePrinter.tsx @@ -1,4 +1,4 @@ -import { type ReactNode, useCallback, useEffect, useState } from 'react'; +import { type JSX, type ReactNode, useCallback, useEffect, useState } from 'react'; import { createPortal } from 'react-dom'; import { createGlobalStyle } from 'styled-components'; import { loggEvent } from '../logger/frontendLogger'; diff --git a/src/utils/reactRef-utils.ts b/src/utils/reactRef-utils.ts index ee6724e9c..3d3cfc7b7 100644 --- a/src/utils/reactRef-utils.ts +++ b/src/utils/reactRef-utils.ts @@ -4,7 +4,7 @@ import type { RefObject } from 'react'; type EventWithTarget = Event | React.SyntheticEvent; export type EventListener = (event: EventWithTarget) => void; -type Ref = RefObject | RefObject[]; +type Ref = RefObject | RefObject[]; export function eventTagetIsInsideRef(event: EventWithTarget, ref: Ref): boolean { if (Array.isArray(ref)) {