@norges-domstoler/dds-components 0.0.0-dev-20250731112157 → 0.0.0-dev-20250801111910

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
@@ -531,12 +531,12 @@
531
531
  .utilStyles_center-absolute-y {
532
532
  position: absolute;
533
533
  top: 50%;
534
- transform: translate(0, -50%);
534
+ transform: translateY(-50%);
535
535
  }
536
536
  .utilStyles_center-absolute-x {
537
537
  position: absolute;
538
538
  left: 50%;
539
- transform: translate(-50%, 0);
539
+ transform: translateX(-50%);
540
540
  }
541
541
 
542
542
  /* src/components/helpers/Backdrop/Backdrop.module.css */
@@ -2653,11 +2653,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
2653
2653
  margin-top: calc(-1 * var(--dds-spacing-x0-125));
2654
2654
  }
2655
2655
 
2656
- /* src/components/EmptyContent/EmptyContent.module.css */
2657
- .EmptyContent_message {
2658
- color: var(--dds-text-color--subtle);
2659
- }
2660
-
2661
2656
  /* src/components/FavStar/FavStar.module.css */
2662
2657
  .FavStar_container {
2663
2658
  position: relative;
@@ -2953,6 +2948,7 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
2953
2948
  text-overflow: ellipsis;
2954
2949
  width: 100%;
2955
2950
  padding-right: var(--dds-spacing-x1-5);
2951
+ cursor: pointer;
2956
2952
  }
2957
2953
  .InlineEdit_inline-select--with-clear-button {
2958
2954
  padding-right: var(--dds-spacing-x3);
@@ -2978,25 +2974,17 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
2978
2974
  .InlineEdit_inline-textarea {
2979
2975
  resize: vertical;
2980
2976
  }
2981
- .InlineEdit_icon-wrapper {
2982
- position: absolute;
2983
- top: var(--dds-spacing-x0-5);
2977
+ .InlineEdit_edit-icon {
2984
2978
  left: var(--dds-spacing-x0-5);
2979
+ pointer-events: none;
2985
2980
  z-index: var(--dds-zindex-absolute-element);
2986
- &:hover {
2987
- cursor: text;
2988
- }
2989
2981
  }
2990
2982
  .InlineEdit_chevron {
2991
- position: absolute;
2992
2983
  right: var(--dds-spacing-x0-25);
2993
- transform: translateY(50%);
2994
2984
  pointer-events: none;
2995
2985
  }
2996
2986
  .InlineEdit_clear-button {
2997
- position: absolute;
2998
2987
  right: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-small));
2999
- transform: translateY(50%);
3000
2988
  }
3001
2989
 
3002
2990
  /* src/components/InternalHeader/InternalHeader.module.css */
@@ -3334,6 +3322,12 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
3334
3322
  background-color: var(--dds-color-surface-field-disabled);
3335
3323
  }
3336
3324
  }
3325
+ .NativeSelect_select--with-clear-button-small {
3326
+ padding-right: var(--dds-spacing-x3);
3327
+ }
3328
+ .NativeSelect_select--with-clear-button-medium {
3329
+ padding-right: var(--dds-spacing-x4);
3330
+ }
3337
3331
  .NativeSelect_icon {
3338
3332
  position: absolute;
3339
3333
  top: 50%;
@@ -3341,6 +3335,12 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
3341
3335
  align-self: center;
3342
3336
  pointer-events: none;
3343
3337
  }
3338
+ .NativeSelect_clear-button--small {
3339
+ right: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-small));
3340
+ }
3341
+ .NativeSelect_clear-button--medium {
3342
+ right: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium));
3343
+ }
3344
3344
 
3345
3345
  /* src/components/PhoneInput/PhoneInput.module.css */
3346
3346
  .PhoneInput_inputs-container {
@@ -3414,8 +3414,8 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
3414
3414
  margin-bottom: -1px;
3415
3415
  }
3416
3416
  }
3417
- select:focus-visible,
3418
- select:hover {
3417
+ .PhoneInput_select:focus-visible,
3418
+ .PhoneInput_select:hover {
3419
3419
  z-index: var(--dds-zindex-absolute-element);
3420
3420
  & ~ svg {
3421
3421
  z-index: var(--dds-zindex-absolute-element);
@@ -3617,9 +3617,6 @@ select:hover {
3617
3617
  left: var(--dds-spacing-x0-75);
3618
3618
  }
3619
3619
  .Search_clear-button {
3620
- position: absolute;
3621
- top: 50%;
3622
- transform: translate(0, -50%);
3623
3620
  right: var(--dds-spacing-x1);
3624
3621
  }
3625
3622
  .Search_suggestions {