@navikt/ds-css 7.23.1 → 7.24.0

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.
Files changed (169) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/config/_mappings.js +5 -0
  3. package/darkside/alert.darkside.css +2 -2
  4. package/darkside/chat.darkside.css +2 -2
  5. package/darkside/expansioncard.darkside.css +2 -2
  6. package/darkside/form/error-summary.darkside.css +2 -2
  7. package/darkside/form/file-upload.darkside.css +2 -2
  8. package/darkside/form/form-progress.darkside.css +1 -1
  9. package/darkside/form/form-summary.darkside.css +2 -2
  10. package/darkside/form/form.darkside.css +5 -0
  11. package/darkside/form/select.darkside.css +1 -0
  12. package/darkside/form/switch.darkside.css +27 -12
  13. package/darkside/form/text-field.darkside.css +1 -0
  14. package/darkside/form/textarea.darkside.css +1 -0
  15. package/darkside/guide-panel.darkside.css +2 -2
  16. package/darkside/index.css +2 -0
  17. package/darkside/link-anchor.darkside.css +53 -0
  18. package/darkside/link-card.darkside.css +109 -0
  19. package/darkside/modal.darkside.css +6 -4
  20. package/darkside/popover.darkside.css +2 -2
  21. package/darkside/table.darkside.css +13 -0
  22. package/darkside/tag.darkside.css +0 -4
  23. package/dist/component/form.css +29 -8
  24. package/dist/component/form.min.css +1 -1
  25. package/dist/component/linkanchor.css +53 -0
  26. package/dist/component/linkanchor.min.css +1 -0
  27. package/dist/component/linkcard.css +94 -0
  28. package/dist/component/linkcard.min.css +1 -0
  29. package/dist/component/table.css +13 -0
  30. package/dist/component/table.min.css +1 -1
  31. package/dist/components.css +207 -9
  32. package/dist/components.min.css +1 -1
  33. package/dist/darkside/component/alert.css +2 -2
  34. package/dist/darkside/component/alert.min.css +1 -1
  35. package/dist/darkside/component/chat.css +2 -2
  36. package/dist/darkside/component/chat.min.css +1 -1
  37. package/dist/darkside/component/expansioncard.css +2 -2
  38. package/dist/darkside/component/expansioncard.min.css +1 -1
  39. package/dist/darkside/component/form.css +41 -19
  40. package/dist/darkside/component/form.min.css +1 -1
  41. package/dist/darkside/component/guidepanel.css +2 -2
  42. package/dist/darkside/component/guidepanel.min.css +1 -1
  43. package/dist/darkside/component/linkanchor.css +52 -0
  44. package/dist/darkside/component/linkanchor.min.css +1 -0
  45. package/dist/darkside/component/linkcard.css +108 -0
  46. package/dist/darkside/component/linkcard.min.css +1 -0
  47. package/dist/darkside/component/modal.css +6 -8
  48. package/dist/darkside/component/modal.min.css +1 -1
  49. package/dist/darkside/component/popover.css +2 -2
  50. package/dist/darkside/component/popover.min.css +1 -1
  51. package/dist/darkside/component/table.css +13 -0
  52. package/dist/darkside/component/table.min.css +1 -1
  53. package/dist/darkside/component/tag.css +0 -6
  54. package/dist/darkside/component/tag.min.css +1 -1
  55. package/dist/darkside/components.css +228 -43
  56. package/dist/darkside/components.min.css +1 -1
  57. package/dist/darkside/global/tokens.css +1 -1
  58. package/dist/darkside/global/tokens.min.css +1 -1
  59. package/dist/darkside/index.css +229 -44
  60. package/dist/darkside/index.min.css +1 -1
  61. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/alert.css +2 -2
  62. package/dist/darkside/version/7.24.0/component/alert.min.css +1 -0
  63. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/chat.css +2 -2
  64. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/chat.min.css +1 -1
  65. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/expansioncard.css +2 -2
  66. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/expansioncard.min.css +1 -1
  67. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/form.css +41 -19
  68. package/dist/darkside/version/7.24.0/component/form.min.css +1 -0
  69. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/guidepanel.css +2 -2
  70. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/guidepanel.min.css +1 -1
  71. package/dist/darkside/version/7.24.0/component/linkanchor.css +52 -0
  72. package/dist/darkside/version/7.24.0/component/linkanchor.min.css +1 -0
  73. package/dist/darkside/version/7.24.0/component/linkcard.css +108 -0
  74. package/dist/darkside/version/7.24.0/component/linkcard.min.css +1 -0
  75. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/modal.css +6 -8
  76. package/dist/darkside/version/7.24.0/component/modal.min.css +1 -0
  77. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/popover.css +2 -2
  78. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/popover.min.css +1 -1
  79. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/table.css +13 -0
  80. package/dist/darkside/version/7.24.0/component/table.min.css +1 -0
  81. package/dist/darkside/version/{7.23.1 → 7.24.0}/component/tag.css +0 -6
  82. package/dist/darkside/version/7.24.0/component/tag.min.css +1 -0
  83. package/dist/darkside/version/{7.23.1 → 7.24.0}/components.css +228 -43
  84. package/dist/darkside/version/7.24.0/components.min.css +1 -0
  85. package/dist/darkside/version/{7.23.1 → 7.24.0}/global/tokens.css +1 -1
  86. package/dist/darkside/version/{7.23.1 → 7.24.0}/global/tokens.min.css +1 -1
  87. package/dist/darkside/version/{7.23.1 → 7.24.0}/index.css +229 -44
  88. package/dist/darkside/version/7.24.0/index.min.css +1 -0
  89. package/dist/global/tokens.css +1 -1
  90. package/dist/global/tokens.min.css +1 -1
  91. package/dist/index.css +208 -10
  92. package/dist/index.min.css +2 -2
  93. package/form/form.css +4 -0
  94. package/form/select.css +1 -0
  95. package/form/switch.css +25 -9
  96. package/form/text-field.css +1 -0
  97. package/form/textarea.css +1 -0
  98. package/index.css +2 -0
  99. package/link-anchor.css +53 -0
  100. package/link-card.css +106 -0
  101. package/package.json +2 -2
  102. package/table.css +13 -0
  103. package/dist/darkside/version/7.23.1/component/alert.min.css +0 -1
  104. package/dist/darkside/version/7.23.1/component/form.min.css +0 -1
  105. package/dist/darkside/version/7.23.1/component/modal.min.css +0 -1
  106. package/dist/darkside/version/7.23.1/component/table.min.css +0 -1
  107. package/dist/darkside/version/7.23.1/component/tag.min.css +0 -1
  108. package/dist/darkside/version/7.23.1/components.min.css +0 -1
  109. package/dist/darkside/version/7.23.1/index.min.css +0 -1
  110. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/accordion.css +0 -0
  111. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/accordion.min.css +0 -0
  112. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/actionmenu.css +0 -0
  113. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/actionmenu.min.css +0 -0
  114. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/button.css +0 -0
  115. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/button.min.css +0 -0
  116. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/chips.css +0 -0
  117. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/chips.min.css +0 -0
  118. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/copybutton.css +0 -0
  119. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/copybutton.min.css +0 -0
  120. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/date.css +0 -0
  121. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/date.min.css +0 -0
  122. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/dropdown.css +0 -0
  123. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/dropdown.min.css +0 -0
  124. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/helptext.css +0 -0
  125. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/helptext.min.css +0 -0
  126. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/internalheader.css +0 -0
  127. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/internalheader.min.css +0 -0
  128. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/link.css +0 -0
  129. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/link.min.css +0 -0
  130. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/linkpanel.css +0 -0
  131. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/linkpanel.min.css +0 -0
  132. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/list.css +0 -0
  133. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/list.min.css +0 -0
  134. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/loader.css +0 -0
  135. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/loader.min.css +0 -0
  136. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/pagination.css +0 -0
  137. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/pagination.min.css +0 -0
  138. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/panel.css +0 -0
  139. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/panel.min.css +0 -0
  140. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/primitives.css +0 -0
  141. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/primitives.min.css +0 -0
  142. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/progressbar.css +0 -0
  143. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/progressbar.min.css +0 -0
  144. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/readmore.css +0 -0
  145. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/readmore.min.css +0 -0
  146. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/skeleton.css +0 -0
  147. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/skeleton.min.css +0 -0
  148. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/stepper.css +0 -0
  149. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/stepper.min.css +0 -0
  150. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/tabs.css +0 -0
  151. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/tabs.min.css +0 -0
  152. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/theme.css +0 -0
  153. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/theme.min.css +0 -0
  154. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/timeline.css +0 -0
  155. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/timeline.min.css +0 -0
  156. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/togglegroup.css +0 -0
  157. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/togglegroup.min.css +0 -0
  158. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/tooltip.css +0 -0
  159. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/tooltip.min.css +0 -0
  160. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/typography.css +0 -0
  161. /package/dist/darkside/version/{7.23.1 → 7.24.0}/component/typography.min.css +0 -0
  162. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/baseline.css +0 -0
  163. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/baseline.min.css +0 -0
  164. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/fonts.css +0 -0
  165. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/fonts.min.css +0 -0
  166. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/print.css +0 -0
  167. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/print.min.css +0 -0
  168. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/reset.css +0 -0
  169. /package/dist/darkside/version/{7.23.1 → 7.24.0}/global/reset.min.css +0 -0
@@ -2708,6 +2708,10 @@ li.navds-file-item {
2708
2708
  color: var(--ac-form-description, var(--__ac-form-description, var(--a-text-subtle)));
2709
2709
  }
2710
2710
 
2711
+ .navds-form-field__description:empty {
2712
+ display: none;
2713
+ }
2714
+
2711
2715
  .navds-form-field--disabled {
2712
2716
  opacity: 0.3;
2713
2717
  cursor: not-allowed;
@@ -3226,6 +3230,7 @@ li.navds-file-item {
3226
3230
  position: relative;
3227
3231
  padding: 0.5rem;
3228
3232
  padding-right: 2rem;
3233
+ scroll-margin-block-start: 4rem;
3229
3234
  }
3230
3235
 
3231
3236
  @media (forced-colors: active) {
@@ -3358,6 +3363,7 @@ li.navds-file-item {
3358
3363
 
3359
3364
  .navds-switch--small > .navds-switch__input {
3360
3365
  height: 2rem;
3366
+ width: 2.5rem;
3361
3367
  top: 0;
3362
3368
  }
3363
3369
 
@@ -3380,11 +3386,11 @@ li.navds-file-item {
3380
3386
  }
3381
3387
 
3382
3388
  .navds-switch--small > .navds-switch__label-wrapper > .navds-switch__content {
3383
- padding: calc(var(--a-spacing-2) - var(--a-spacing-05)) 0 calc(var(--a-spacing-2) - var(--a-spacing-05)) 3.25rem;
3389
+ padding: calc(var(--a-spacing-2) - var(--a-spacing-05)) 0 calc(var(--a-spacing-2) - var(--a-spacing-05)) 2.75rem;
3384
3390
  }
3385
3391
 
3386
3392
  .navds-switch--right.navds-switch--small > .navds-switch__label-wrapper > .navds-switch__content {
3387
- padding: calc(var(--a-spacing-2) - var(--a-spacing-05)) 3.25rem calc(var(--a-spacing-2) - var(--a-spacing-05)) 0;
3393
+ padding: calc(var(--a-spacing-2) - var(--a-spacing-05)) 2.75rem calc(var(--a-spacing-2) - var(--a-spacing-05)) 0;
3388
3394
  }
3389
3395
 
3390
3396
  .navds-switch--with-description,
@@ -3418,7 +3424,9 @@ li.navds-file-item {
3418
3424
  }
3419
3425
 
3420
3426
  .navds-switch--small > .navds-switch__track {
3421
- top: var(--a-spacing-1);
3427
+ top: var(--a-spacing-1-alt);
3428
+ width: 2.25rem;
3429
+ height: 1.25rem;
3422
3430
  }
3423
3431
 
3424
3432
  .navds-switch--right > .navds-switch__input,
@@ -3484,6 +3492,11 @@ li.navds-file-item {
3484
3492
  justify-content: center;
3485
3493
  }
3486
3494
 
3495
+ .navds-switch--small .navds-switch__thumb {
3496
+ width: 0.875rem;
3497
+ height: 0.875rem;
3498
+ }
3499
+
3487
3500
  .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
3488
3501
  transform: translateX(1.25rem);
3489
3502
  color: var(--ac-switch-thumb-icon-checked, var(--a-icon-action-selected));
@@ -3494,12 +3507,12 @@ li.navds-file-item {
3494
3507
  top: 0;
3495
3508
  }
3496
3509
 
3497
- .navds-switch__input:checked ~ .navds-switch__track .navds-switch__checkmark {
3498
- visibility: visible;
3499
- }
3500
-
3501
- .navds-switch__checkmark {
3502
- visibility: hidden;
3510
+ .navds-switch--small > .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
3511
+ transform: translateX(1rem);
3512
+ width: 1rem;
3513
+ height: 1rem;
3514
+ left: 0;
3515
+ top: 0;
3503
3516
  }
3504
3517
 
3505
3518
  @media (hover: hover) and (pointer: fine) {
@@ -3510,6 +3523,10 @@ li.navds-file-item {
3510
3523
  .navds-switch__input:checked:hover ~ .navds-switch__track > .navds-switch__thumb {
3511
3524
  transform: translateX(1.125rem);
3512
3525
  }
3526
+
3527
+ .navds-switch--small > .navds-switch__input:checked:hover ~ .navds-switch__track > .navds-switch__thumb {
3528
+ transform: translateX(0.875rem);
3529
+ }
3513
3530
  }
3514
3531
 
3515
3532
  .navds-switch__input:disabled:hover ~ .navds-switch__track > .navds-switch__thumb {
@@ -3520,6 +3537,10 @@ li.navds-file-item {
3520
3537
  transform: translateX(1.25rem);
3521
3538
  }
3522
3539
 
3540
+ .navds-switch--small > .navds-switch__input:checked:disabled:hover ~ .navds-switch__track > .navds-switch__thumb {
3541
+ transform: translateX(1rem);
3542
+ }
3543
+
3523
3544
  /* Disabled */
3524
3545
 
3525
3546
  .navds-switch__input:disabled {
@@ -3633,6 +3654,7 @@ li.navds-file-item {
3633
3654
  min-height: 3rem;
3634
3655
  width: 100%;
3635
3656
  color: var(--ac-textfield-text, var(--__ac-textfield-text, var(--a-text-default)));
3657
+ scroll-margin-block-start: 4rem;
3636
3658
  }
3637
3659
 
3638
3660
  .navds-text-field__input[size] {
@@ -3734,6 +3756,7 @@ li.navds-file-item {
3734
3756
  width: 100%;
3735
3757
  display: block;
3736
3758
  color: var(--ac-textarea-text, var(--__ac-textarea-text, var(--a-text-default)));
3759
+ scroll-margin-block-start: 4rem;
3737
3760
  }
3738
3761
 
3739
3762
  .navds-textarea__input::placeholder {
@@ -4896,6 +4919,168 @@ button.navds-internalheader__title:active,
4896
4919
  color: var(--ac-link-subtle-text, var(--a-text-subtle));
4897
4920
  }
4898
4921
 
4922
+ .navds-link-anchor__overlay {
4923
+ cursor: pointer;
4924
+ }
4925
+
4926
+ .navds-link-anchor__overlay:focus-within {
4927
+ outline: 3px solid var(--a-border-focus);
4928
+ outline-offset: 3px;
4929
+ }
4930
+
4931
+ @supports selector(:has(*)) {
4932
+ .navds-link-anchor__overlay:focus-within {
4933
+ outline: unset;
4934
+ }
4935
+
4936
+ .navds-link-anchor__overlay:has(:focus-visible) {
4937
+ outline: 3px solid var(--a-border-focus);
4938
+ outline-offset: 3px;
4939
+ }
4940
+ }
4941
+
4942
+ .navds-link-anchor {
4943
+ text-decoration: underline;
4944
+ text-decoration-color: currentColor;
4945
+ text-underline-offset: 0.1em;
4946
+ text-decoration-thickness: 0.05em;
4947
+ color: inherit;
4948
+ }
4949
+
4950
+ .navds-link-anchor:hover,
4951
+ .navds-link-anchor__overlay:hover .navds-link-anchor {
4952
+ text-decoration-thickness: 0.111em;
4953
+ }
4954
+
4955
+ .navds-link-anchor:focus-visible {
4956
+ outline: 3px solid var(--a-border-focus);
4957
+ outline-offset: 3px;
4958
+ border-radius: 1px;
4959
+ }
4960
+
4961
+ .navds-link-anchor__overlay .navds-link-anchor:focus-visible {
4962
+ outline: none;
4963
+ }
4964
+
4965
+ .navds-link-anchor__arrow {
4966
+ transition: transform 200ms;
4967
+ transform: translateX(0);
4968
+ flex-shrink: 0;
4969
+ }
4970
+
4971
+ .navds-link-anchor:hover .navds-link-anchor__arrow,
4972
+ .navds-link-anchor__overlay:hover .navds-link-anchor__arrow {
4973
+ transform: translateX(4px);
4974
+ }
4975
+
4976
+ /* stylelint-disable declaration-block-no-redundant-longhand-properties */
4977
+
4978
+ .navds-link-card {
4979
+ --__ac-link-card-padding-block: var(--a-spacing-4);
4980
+ --__ac-link-card-padding-inline: var(--a-spacing-5);
4981
+
4982
+ border-radius: var(--a-border-radius-xlarge);
4983
+ text-decoration: none;
4984
+ color: var(--a-text-default);
4985
+ transition-property: border-color, box-shadow, transform, background-color;
4986
+ transition-duration: 300ms;
4987
+ transition-timing-function: cubic-bezier(0, 0, 0, 1);
4988
+ position: relative;
4989
+ background-color: var(--a-surface-default);
4990
+ border: 1px solid var(--a-border-subtle);
4991
+ padding: var(--__ac-link-card-padding-block) var(--__ac-link-card-padding-inline);
4992
+ cursor: pointer;
4993
+ display: grid;
4994
+ grid-template-areas:
4995
+ "image image"
4996
+ "icon title"
4997
+ "icon description"
4998
+ "icon footer";
4999
+ grid-template-columns: auto 1fr;
5000
+ grid-template-rows: min-content min-content min-content auto;
5001
+ align-items: center;
5002
+ }
5003
+
5004
+ .navds-link-card:not(:has(.navds-link-card__description, .navds-link-card__footer)) {
5005
+ grid-template-rows: auto 1fr;
5006
+ }
5007
+
5008
+ .navds-link-card:not(:has(.navds-link-card__description, .navds-link-card__footer)) .navds-link-card__icon {
5009
+ align-self: center;
5010
+ }
5011
+
5012
+ .navds-link-card:not(:has(.navds-link-card__description, .navds-link-card__footer)) .navds-link-card__title {
5013
+ align-items: center;
5014
+ }
5015
+
5016
+ .navds-link-card:hover {
5017
+ border-color: var(--a-border-default);
5018
+ box-shadow: 0 0 0 1px var(--a-border-default);
5019
+ }
5020
+
5021
+ .navds-link-card__title {
5022
+ grid-area: title;
5023
+ color: var(--a-text-default);
5024
+ display: flex;
5025
+ align-items: flex-start;
5026
+ justify-content: space-between;
5027
+ gap: var(--a-spacing-2);
5028
+ hyphens: auto;
5029
+ }
5030
+
5031
+ .navds-link-card__description {
5032
+ grid-area: description;
5033
+ margin-block-start: var(--a-spacing-1);
5034
+ }
5035
+
5036
+ .navds-link-card__footer {
5037
+ grid-area: footer;
5038
+ margin-block-start: var(--a-spacing-4);
5039
+ display: flex;
5040
+ align-self: flex-end;
5041
+ gap: var(--a-spacing-2);
5042
+ flex-wrap: wrap;
5043
+ }
5044
+
5045
+ .navds-link-card__icon {
5046
+ grid-area: icon;
5047
+ width: max-content;
5048
+ height: max-content;
5049
+ display: grid;
5050
+ place-content: center;
5051
+ color: var(--a-text-default);
5052
+ align-self: flex-start;
5053
+ margin-inline-end: var(--a-spacing-4);
5054
+ }
5055
+
5056
+ .aksel-link-card--small {
5057
+ --__ac-link-card-padding-block: var(--a-spacing-3);
5058
+ --__ac-link-card-padding-inline: var(--a-spacing-4);
5059
+ }
5060
+
5061
+ .aksel-link-card--small .aksel-link-card__icon {
5062
+ margin-inline-end: var(--a-spacing-3);
5063
+ }
5064
+
5065
+ .navds-link-card__image-container {
5066
+ display: block;
5067
+ overflow: hidden;
5068
+ grid-area: image;
5069
+ margin-block: calc(var(--__ac-link-card-padding-block) * -1) var(--__ac-link-card-padding-block);
5070
+ margin-inline: calc(var(--__ac-link-card-padding-inline) * 1 * -1);
5071
+ border-radius: calc(var(--a-border-radius-xlarge) - 1px);
5072
+ border-bottom-left-radius: 0;
5073
+ border-bottom-right-radius: 0;
5074
+ position: relative;
5075
+ }
5076
+
5077
+ .navds-link-card__image-container :is(img, picture) {
5078
+ object-fit: cover;
5079
+ display: block;
5080
+ max-width: 100%;
5081
+ height: 100%;
5082
+ }
5083
+
4899
5084
  .navds-loader {
4900
5085
  width: 1.5rem;
4901
5086
  display: inline-block;
@@ -7303,10 +7488,23 @@ button.navds-stepper__step {
7303
7488
  display: table;
7304
7489
  }
7305
7490
 
7491
+ .navds-table.navds-table--sticky-header {
7492
+ border-collapse: separate;
7493
+ border-spacing: 0;
7494
+ }
7495
+
7306
7496
  .navds-table__header {
7307
7497
  display: table-header-group;
7308
7498
  }
7309
7499
 
7500
+ .navds-table--sticky-header .navds-table__header {
7501
+ position: sticky;
7502
+ top: 0;
7503
+ z-index: 10;
7504
+ background-color: var(--a-surface-default);
7505
+ box-sizing: border-box;
7506
+ }
7507
+
7310
7508
  .navds-table__body {
7311
7509
  display: table-row-group;
7312
7510
  }