From 946828a9aa87d0c6909da6dae628e71b1eba4c38 Mon Sep 17 00:00:00 2001 From: Yngve Sundfjord Date: Tue, 28 Nov 2023 12:24:33 +0100 Subject: [PATCH] Update snapshots impacted by ToggleButton changes --- .../__tests__/__snapshots__/DatePicker.test.tsx.snap | 3 +++ .../__tests__/__snapshots__/ToggleButton.test.tsx.snap | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/dnb-eufemia/src/components/date-picker/__tests__/__snapshots__/DatePicker.test.tsx.snap b/packages/dnb-eufemia/src/components/date-picker/__tests__/__snapshots__/DatePicker.test.tsx.snap index a2ac0795c21..2e5021c2687 100644 --- a/packages/dnb-eufemia/src/components/date-picker/__tests__/__snapshots__/DatePicker.test.tsx.snap +++ b/packages/dnb-eufemia/src/components/date-picker/__tests__/__snapshots__/DatePicker.test.tsx.snap @@ -2985,6 +2985,7 @@ button .dnb-form-status__text { --radio-color-background-off: white; --radio-color-border-off: black; --radio-color-dot-on--disabled: lightgrey; + --radio-color-background--disabled: white; --radio-color-border-on--disabled: lightgrey; --radio-color-border-off--disabled: lightgrey; --radio-color-dot-on--active: lightgrey; @@ -3208,12 +3209,14 @@ html[data-whatinput=keyboard] .dnb-radio__focus { } .dnb-radio__input[disabled]:checked ~ .dnb-radio__button, .dnb-radio__input[disabled][data-checked=true] ~ .dnb-radio__button { border-color: var(--radio-color-border-on--disabled); + background-color: var(--radio-color-background--disabled); } .dnb-radio__input[disabled]:checked ~ .dnb-radio__dot, .dnb-radio__input[disabled][data-checked=true] ~ .dnb-radio__dot { background-color: var(--radio-color-dot-on--disabled); } .dnb-radio__input[disabled]:not(:checked):not([data-checked=true]) ~ .dnb-radio__button:not(.dnb-skeleton) { border-color: var(--radio-color-border-off--disabled); + background-color: var(--radio-color-background--disabled); } .dnb-radio__input[disabled] ~ .dnb-radio__button.dnb-skeleton { border-color: var(--skeleton-color); diff --git a/packages/dnb-eufemia/src/components/toggle-button/__tests__/__snapshots__/ToggleButton.test.tsx.snap b/packages/dnb-eufemia/src/components/toggle-button/__tests__/__snapshots__/ToggleButton.test.tsx.snap index 78b99f46ca9..39cc1ecd1de 100644 --- a/packages/dnb-eufemia/src/components/toggle-button/__tests__/__snapshots__/ToggleButton.test.tsx.snap +++ b/packages/dnb-eufemia/src/components/toggle-button/__tests__/__snapshots__/ToggleButton.test.tsx.snap @@ -1168,6 +1168,7 @@ button .dnb-form-status__text { --radio-color-background-off: white; --radio-color-border-off: black; --radio-color-dot-on--disabled: lightgrey; + --radio-color-background--disabled: white; --radio-color-border-on--disabled: lightgrey; --radio-color-border-off--disabled: lightgrey; --radio-color-dot-on--active: lightgrey; @@ -1391,12 +1392,14 @@ html[data-whatinput=keyboard] .dnb-radio__focus { } .dnb-radio__input[disabled]:checked ~ .dnb-radio__button, .dnb-radio__input[disabled][data-checked=true] ~ .dnb-radio__button { border-color: var(--radio-color-border-on--disabled); + background-color: var(--radio-color-background--disabled); } .dnb-radio__input[disabled]:checked ~ .dnb-radio__dot, .dnb-radio__input[disabled][data-checked=true] ~ .dnb-radio__dot { background-color: var(--radio-color-dot-on--disabled); } .dnb-radio__input[disabled]:not(:checked):not([data-checked=true]) ~ .dnb-radio__button:not(.dnb-skeleton) { border-color: var(--radio-color-border-off--disabled); + background-color: var(--radio-color-background--disabled); } .dnb-radio__input[disabled] ~ .dnb-radio__button.dnb-skeleton { border-color: var(--skeleton-color);