@norges-domstoler/dds-components 0.0.0-dev-20240404072551 → 0.0.0-dev-20240404104453

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -12192,7 +12192,7 @@ var Container13 = styled79.label`
12192
12192
  }
12193
12193
  }
12194
12194
 
12195
- &:focus-within {
12195
+ input:enabled:focus-visible ~ ${CustomSelectionControl} {
12196
12196
  ${focusVisible}
12197
12197
  @media (prefers-reduced-motion: no-preference) {
12198
12198
  transition: ${focusVisibleTransitionValue};
@@ -12224,17 +12224,19 @@ var Container13 = styled79.label`
12224
12224
  }
12225
12225
 
12226
12226
  ${({ $error }) => $error && css34`
12227
- &:hover input:enabled ~ ${CustomSelectionControl} {
12227
+ &:hover
12228
+ input:enabled:not(:focus-visible):not(:checked)
12229
+ ~ ${CustomSelectionControl} {
12228
12230
  background-color: ${selectionControl2.hover.danger.backgroundColor};
12229
12231
  box-shadow: ${selectionControl2.hover.danger.boxShadow};
12230
12232
  border-color: ${selectionControl2.hover.danger.borderColor};
12231
12233
  }
12232
- input
12234
+ input:not(:focus-visible)
12233
12235
  ~ ${CustomSelectionControl},
12234
- input:checked:enabled
12236
+ input:checked:enabled:not(:focus-visible)
12235
12237
  ~ ${CustomSelectionControl},
12236
12238
  &:hover
12237
- input:checked:enabled
12239
+ input:checked:enabled:not(:focus-visible)
12238
12240
  ~ ${CustomSelectionControl} {
12239
12241
  box-shadow: ${selectionControl2.danger.boxShadow};
12240
12242
  border-color: ${selectionControl2.danger.borderColor};