@norges-domstoler/dds-components 0.0.0-dev-20240605101112 → 0.0.0-dev-20240607094910

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
@@ -713,6 +713,7 @@
713
713
  -webkit-user-select: text;
714
714
  -moz-user-select: text;
715
715
  user-select: text;
716
+ color: var(--dds-typography-color);
716
717
  }
717
718
 
718
719
  /* src/components/helpers/styling/focus.module.css */
@@ -893,7 +894,7 @@
893
894
  padding: var(--dds-spacing-x0-5) var(--dds-spacing-x0-75);
894
895
  }
895
896
  &.Button_with-text-and-icon {
896
- gap: var(--dds-spacing-x0-5);
897
+ gap: var(--dds-spacing-x0-25);
897
898
  &.Button_with-icon-left {
898
899
  padding: var(--dds-spacing-x0-5) var(--dds-spacing-x0-75) var(--dds-spacing-x0-5) var(--dds-spacing-x0-5);
899
900
  }
@@ -1270,7 +1271,7 @@
1270
1271
  width: 160px;
1271
1272
  }
1272
1273
  .DateInput_container--small {
1273
- width: 140px;
1274
+ width: 148px;
1274
1275
  }
1275
1276
  .DateInput_container--tiny {
1276
1277
  width: 125px;
@@ -1652,7 +1653,26 @@
1652
1653
  gap: var(--dds-spacing-x0-5);
1653
1654
  }
1654
1655
  .Feedback_button {
1655
- padding: 0 !important;
1656
+ border-radius: var(--dds-border-radius-1);
1657
+ color: var(--dds-color-text-default);
1658
+ &:hover {
1659
+ background-color: var(--dds-color-surface-hover-default);
1660
+ color: var(--dds-color-icon-action-hover);
1661
+ }
1662
+ @media (prefers-reduced-motion: no-preference) {
1663
+ transition:
1664
+ background-color 0.2s,
1665
+ color 0.2s,
1666
+ var(--dds-focus-transition);
1667
+ }
1668
+ }
1669
+ .Feedback_button--horizontal {
1670
+ width: var(--dds-icon-size-medium);
1671
+ height: var(--dds-icon-size-medium);
1672
+ }
1673
+ .Feedback_button--vertical {
1674
+ width: var(--dds-icon-size-large);
1675
+ height: var(--dds-icon-size-large);
1656
1676
  }
1657
1677
 
1658
1678
  /* src/components/Stack/Stack.module.css */
@@ -1763,7 +1783,7 @@
1763
1783
  width: fit-content;
1764
1784
  }
1765
1785
  .Tooltip_svg-arrow__border {
1766
- fill: var(--dds-color-border-default);
1786
+ fill: var(--dds-color-border-subtle);
1767
1787
  }
1768
1788
  .Tooltip_svg-arrow__background {
1769
1789
  fill: var(--dds-color-surface-default);
@@ -2318,6 +2338,7 @@
2318
2338
  }
2319
2339
  .Select_icon {
2320
2340
  margin-right: var(--dds-spacing-x0-5);
2341
+ margin-left: -1px;
2321
2342
  }
2322
2343
  .Select_control {
2323
2344
  &:hover .Select_dropdown-indicator,
@@ -2582,7 +2603,7 @@
2582
2603
  var(--dds-focus-transition);
2583
2604
  }
2584
2605
  }
2585
- &:hover input:enabled ~ .SelectionControl_selection-control {
2606
+ &:hover input:enabled:not(:checked) ~ .SelectionControl_selection-control {
2586
2607
  background-color: var(--dds-color-surface-hover-default);
2587
2608
  box-shadow: inset 0 0 0 1px var(--dds-color-border-action-hover);
2588
2609
  border-color: var(--dds-color-border-action-hover);
@@ -2592,7 +2613,7 @@
2592
2613
  border-color: var(--dds-color-surface-action-selected);
2593
2614
  background-color: var(--dds-color-surface-action-selected);
2594
2615
  }
2595
- &:hover input:checked:enabled ~ .SelectionControl_selection-control,
2616
+ &:hover input:checked:enabled[type=checkbox] ~ .SelectionControl_selection-control,
2596
2617
  &:hover input:enabled[data-indeterminate=true] ~ .SelectionControl_selection-control {
2597
2618
  background-color: var(--dds-color-surface-action-hover);
2598
2619
  border-color: var(--dds-color-surface-action-hover);
@@ -3057,7 +3078,7 @@
3057
3078
  }
3058
3079
  .TextInput_icon--small {
3059
3080
  left: var(--dds-spacing-x0-75);
3060
- top: calc(50% - (var(--dds-icon-size-small) / 2));
3081
+ top: calc(50% - (var(--dds-icon-size-medium) / 2));
3061
3082
  }
3062
3083
  .TextInput_icon--tiny {
3063
3084
  left: var(--dds-spacing-x0-5);