@norges-domstoler/dds-components 0.0.0-dev-20240610074922 → 0.0.0-dev-20240610121617

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
@@ -454,6 +454,9 @@
454
454
  }
455
455
 
456
456
  /* src/components/helpers/styling/utilStyles.module.css */
457
+ :root {
458
+ --dds-transition-duration-surface-move: 0.5s;
459
+ }
457
460
  :where(.utilStyles_remove-list-styling) {
458
461
  list-style: none;
459
462
  padding: 0;
@@ -1516,7 +1519,7 @@
1516
1519
  z-index: 100;
1517
1520
  padding: var(--dds-drawer-container-padding);
1518
1521
  @media (prefers-reduced-motion: no-preference) {
1519
- transition: transform 0.5s;
1522
+ transition: transform var(--dds-transition-duration-surface-move);
1520
1523
  }
1521
1524
  }
1522
1525
  .Drawer_container--small {