@norges-domstoler/dds-components 0.0.0-dev-20240129142922 → 0.0.0-dev-20240130125749

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.js CHANGED
@@ -10196,6 +10196,7 @@ var groupHeading = {
10196
10196
  };
10197
10197
  var option = {
10198
10198
  base: {
10199
+ color: textDefault5.textColor,
10199
10200
  gap: spacing29.SizesDdsSpacingX05,
10200
10201
  padding: `${spacing29.SizesDdsSpacingX075}`,
10201
10202
  backgroundColor: colors26.DdsColorNeutralsWhite
@@ -10209,6 +10210,7 @@ var option = {
10209
10210
  backgroundColor: colors26.DdsColorInteractiveLightest
10210
10211
  },
10211
10212
  selected: {
10213
+ color: textDefault5.textColor,
10212
10214
  backgroundColor: colors26.DdsColorNeutralsWhite
10213
10215
  }
10214
10216
  };
@@ -10479,6 +10481,7 @@ var getCustomStyles = (size2) => ({
10479
10481
  alignItems: "center",
10480
10482
  gap: option2.base.gap,
10481
10483
  padding: option2.base.padding,
10484
+ color: option2.base.color,
10482
10485
  backgroundColor: option2.base.backgroundColor,
10483
10486
  "@media (prefers-reduced-motion: no-preference)": {
10484
10487
  transition: "color 0.2s, background-color 0.2s"
@@ -10488,6 +10491,7 @@ var getCustomStyles = (size2) => ({
10488
10491
  backgroundColor: option2.hover.backgroundColor
10489
10492
  },
10490
10493
  ...state.isSelected && {
10494
+ color: option2.selected.color,
10491
10495
  backgroundColor: option2.selected.backgroundColor
10492
10496
  },
10493
10497
  ...state.isFocused && {