@norges-domstoler/dds-components 0.0.0-dev-20240903094218 → 0.0.0-dev-20240903124850

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
@@ -717,6 +717,13 @@
717
717
  :where(.Input_char-counter) {
718
718
  margin-left: auto;
719
719
  }
720
+ :where(.Input_icon) {
721
+ position: absolute;
722
+ top: 50%;
723
+ transform: translate(0, -50%);
724
+ z-index: 1;
725
+ color: var(--dds-color-icon-default);
726
+ }
720
727
 
721
728
  /* src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.module.css */
722
729
  .TextOverflowEllipsis_wrapper {
@@ -2654,9 +2661,14 @@
2654
2661
  box-sizing: border-box;
2655
2662
  max-width: 100%;
2656
2663
  }
2657
- .Select_icon {
2658
- margin-right: var(--dds-spacing-x0-5);
2659
- margin-left: -1px;
2664
+ .Select_icon--medium {
2665
+ left: var(--dds-spacing-x0-75);
2666
+ }
2667
+ .Select_icon--small {
2668
+ left: var(--dds-spacing-x0-75);
2669
+ }
2670
+ .Select_icon--tiny {
2671
+ left: var(--dds-spacing-x0-5);
2660
2672
  }
2661
2673
  .Select_control {
2662
2674
  &:hover:not(.Select_control--readonly) .Select_dropdown-indicator,
@@ -2932,12 +2944,7 @@
2932
2944
  padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-5));
2933
2945
  }
2934
2946
  .Search_search-icon {
2935
- position: absolute;
2936
2947
  left: var(--dds-spacing-x0-75);
2937
- top: 50%;
2938
- transform: translate(0, -50%);
2939
- z-index: 1;
2940
- color: var(--dds-color-icon-default);
2941
2948
  }
2942
2949
  .Search_clear-button {
2943
2950
  position: absolute;
@@ -3502,21 +3509,14 @@
3502
3509
  .TextInput_input--extended {
3503
3510
  width: 100%;
3504
3511
  }
3505
- .TextInput_icon {
3506
- position: absolute;
3507
- z-index: 1;
3508
- }
3509
3512
  .TextInput_icon--medium {
3510
3513
  left: var(--dds-spacing-x0-75);
3511
- top: calc(50% - (var(--dds-icon-size-medium) / 2));
3512
3514
  }
3513
3515
  .TextInput_icon--small {
3514
3516
  left: var(--dds-spacing-x0-75);
3515
- top: calc(50% - (var(--dds-icon-size-medium) / 2));
3516
3517
  }
3517
3518
  .TextInput_icon--tiny {
3518
3519
  left: var(--dds-spacing-x0-5);
3519
- top: calc(50% - (var(--dds-icon-size-small) / 2));
3520
3520
  }
3521
3521
  .TextInput_label {
3522
3522
  display: block;