diff --git a/package-lock.json b/package-lock.json index a5ac7299f..4f7704bb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "0.4.2", "license": "MIT", "dependencies": { - "@navikt/ds-icons": "^2.0.1", "@navikt/fnrvalidator": "^1.1.3", "@navikt/navspa": "^4.0.0", "@navikt/tag-input": "^2.0.1", @@ -5855,9 +5854,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001352", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001352.tgz", - "integrity": "sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==", + "version": "1.0.30001480", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001480.tgz", + "integrity": "sha512-q7cpoPPvZYgtyC4VaBSN0Bt+PJ4c4EYRf0DrduInOz2SkFpHD5p3LnvEpqBp7UnJn+8x1Ogl1s38saUxe+ihQQ==", "dev": true, "funding": [ { @@ -5867,6 +5866,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -27236,9 +27239,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001352", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001352.tgz", - "integrity": "sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==", + "version": "1.0.30001480", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001480.tgz", + "integrity": "sha512-q7cpoPPvZYgtyC4VaBSN0Bt+PJ4c4EYRf0DrduInOz2SkFpHD5p3LnvEpqBp7UnJn+8x1Ogl1s38saUxe+ihQQ==", "dev": true }, "capture-exit": { diff --git a/src/app/personside/dialogpanel/DialogPanel.tsx b/src/app/personside/dialogpanel/DialogPanel.tsx index 36be9d8bd..1fa0bc47b 100644 --- a/src/app/personside/dialogpanel/DialogPanel.tsx +++ b/src/app/personside/dialogpanel/DialogPanel.tsx @@ -8,11 +8,6 @@ import useVisTraadTilknyttetPlukketOppgave from './fortsettDialog/useVisTraadTil import { OppgavelisteValg } from './sendMelding/SendNyMelding'; import LazySpinner from '../../../components/LazySpinner'; import innstillingerResource from '../../../rest/resources/innstillingerResource'; -import IfFeatureToggleOn from '../../../components/featureToggle/IfFeatureToggleOn'; -import { FeatureToggles } from '../../../components/featureToggle/toggleIDs'; -import IfFeatureToggleOff from '../../../components/featureToggle/IfFeatureToggleOff'; -import NyFortsettDialogContainer from './fortsettDialog/NyFortsettDialogContainer'; -import NySendNyMeldingContainer from './sendMelding/NySendNyMeldingContainer'; const DialogPanelWrapper = styled.div` flex-grow: 1; @@ -38,31 +33,13 @@ function DialogPanel() { {dialogpanelTraad ? ( - <> - - - - - - - + ) : ( - <> - - - - - - - + )} diff --git a/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap b/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap index 8402db63b..99cf067e1 100644 --- a/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap +++ b/src/app/personside/dialogpanel/__snapshots__/DialogPanel.test.tsx.snap @@ -100,6 +100,21 @@ exports[`viser dialogpanel 1`] = ` padding-left: 2.25rem; } +.c16 { + margin-top: 1rem; +} + +.c16 label { + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; + -webkit-clip: rect(1px 1px 1px 1px); + clip: rect(1px 1px 1px 1px); + -webkit-clip: rect(1px,1px,1px,1px); + clip: rect(1px,1px,1px,1px); +} + .c5 { display: -webkit-box; display: -webkit-flex; @@ -158,7 +173,7 @@ exports[`viser dialogpanel 1`] = ` padding: 1rem .5rem; } -.c16 { +.c18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -168,7 +183,7 @@ exports[`viser dialogpanel 1`] = ` flex-direction: column; } -.c16 > * { +.c18 > * { margin-bottom: 0.7rem; } @@ -176,6 +191,10 @@ exports[`viser dialogpanel 1`] = ` margin-top: 1rem; } +.c17 { + margin-top: 1rem; +} + .c4 { margin-bottom: 1rem !important; } @@ -477,7 +496,7 @@ exports[`viser dialogpanel 1`] = ` className="skjemaelement__label" htmlFor="Helt tilfeldig ID" > - Referat telefon + Referat
- Referat oppmøte - -
-
- -
-
+
- -

+ Velg sak + +

+ Ingen valgt sak +

+
+
- Ingen valgt sak -

-
-
- + Oppgaveliste + +
+ +
+
+
- info + + info + + + + + + + - - - - - - - + Gir varsel, bruker må svare +
+
- Gir varsel, bruker kan ikke svare + +
- Referat oppmøte - -
-
- -
-
+
- -

+ Velg sak + +

+ Ingen valgt sak +

+
+
- Ingen valgt sak -

-
-
- + Oppgaveliste + +
+ +
+
+
- info + + info + + + + + + + - - - - - - - + Gir varsel, bruker må svare +
+
- Gir varsel, bruker kan ikke svare + +