@norges-domstoler/dds-components 0.0.0-dev-20240607061542 → 0.0.0-dev-20240607104628

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
@@ -894,7 +894,7 @@
894
894
  padding: var(--dds-spacing-x0-5) var(--dds-spacing-x0-75);
895
895
  }
896
896
  &.Button_with-text-and-icon {
897
- gap: var(--dds-spacing-x0-5);
897
+ gap: var(--dds-spacing-x0-25);
898
898
  &.Button_with-icon-left {
899
899
  padding: var(--dds-spacing-x0-5) var(--dds-spacing-x0-75) var(--dds-spacing-x0-5) var(--dds-spacing-x0-5);
900
900
  }
@@ -1271,7 +1271,7 @@
1271
1271
  width: 160px;
1272
1272
  }
1273
1273
  .DateInput_container--small {
1274
- width: 140px;
1274
+ width: 148px;
1275
1275
  }
1276
1276
  .DateInput_container--tiny {
1277
1277
  width: 125px;
@@ -1653,7 +1653,26 @@
1653
1653
  gap: var(--dds-spacing-x0-5);
1654
1654
  }
1655
1655
  .Feedback_button {
1656
- 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);
1657
1676
  }
1658
1677
 
1659
1678
  /* src/components/Stack/Stack.module.css */
@@ -1764,7 +1783,7 @@
1764
1783
  width: fit-content;
1765
1784
  }
1766
1785
  .Tooltip_svg-arrow__border {
1767
- fill: var(--dds-color-border-default);
1786
+ fill: var(--dds-color-border-subtle);
1768
1787
  }
1769
1788
  .Tooltip_svg-arrow__background {
1770
1789
  fill: var(--dds-color-surface-default);
@@ -2319,6 +2338,7 @@
2319
2338
  }
2320
2339
  .Select_icon {
2321
2340
  margin-right: var(--dds-spacing-x0-5);
2341
+ margin-left: -1px;
2322
2342
  }
2323
2343
  .Select_control {
2324
2344
  &:hover .Select_dropdown-indicator,
@@ -2583,7 +2603,7 @@
2583
2603
  var(--dds-focus-transition);
2584
2604
  }
2585
2605
  }
2586
- &:hover input:enabled ~ .SelectionControl_selection-control {
2606
+ &:hover input:enabled:not(:checked) ~ .SelectionControl_selection-control {
2587
2607
  background-color: var(--dds-color-surface-hover-default);
2588
2608
  box-shadow: inset 0 0 0 1px var(--dds-color-border-action-hover);
2589
2609
  border-color: var(--dds-color-border-action-hover);
@@ -2593,7 +2613,7 @@
2593
2613
  border-color: var(--dds-color-surface-action-selected);
2594
2614
  background-color: var(--dds-color-surface-action-selected);
2595
2615
  }
2596
- &:hover input:checked:enabled ~ .SelectionControl_selection-control,
2616
+ &:hover input:checked:enabled[type=checkbox] ~ .SelectionControl_selection-control,
2597
2617
  &:hover input:enabled[data-indeterminate=true] ~ .SelectionControl_selection-control {
2598
2618
  background-color: var(--dds-color-surface-action-hover);
2599
2619
  border-color: var(--dds-color-surface-action-hover);
@@ -3058,7 +3078,7 @@
3058
3078
  }
3059
3079
  .TextInput_icon--small {
3060
3080
  left: var(--dds-spacing-x0-75);
3061
- top: calc(50% - (var(--dds-icon-size-small) / 2));
3081
+ top: calc(50% - (var(--dds-icon-size-medium) / 2));
3062
3082
  }
3063
3083
  .TextInput_icon--tiny {
3064
3084
  left: var(--dds-spacing-x0-5);