@norges-domstoler/dds-components 23.0.0 → 23.0.1

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.css CHANGED
@@ -2315,15 +2315,16 @@
2315
2315
  /* src/components/Card/CardExpandable/CardExpandable.module.css */
2316
2316
  .CardExpandable_container {
2317
2317
  border-radius: inherit;
2318
- }
2319
- .CardExpandable_header-button {
2320
2318
  @media (prefers-reduced-motion: no-preference) {
2321
- transition: box-shadow var(--dds-motion-micro-state), var(--dds-focus-transition);
2319
+ transition: box-shadow var(--dds-motion-micro-state);
2322
2320
  }
2323
- &:hover {
2321
+ &:has(.CardExpandable_header-button:hover) {
2324
2322
  box-shadow: 0 0 0 2px var(--dds-color-border-action-hover);
2325
2323
  }
2326
2324
  }
2325
+ .CardExpandable_header-button {
2326
+ transition: var(--dds-focus-transition);
2327
+ }
2327
2328
  .CardExpandable_header-container {
2328
2329
  padding: var(--dds-card-accordion-header-container-padding);
2329
2330
  }