@norges-domstoler/dds-components 0.0.0-dev-20240130073636 → 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 +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9977,6 +9977,7 @@ var groupHeading = {
|
|
|
9977
9977
|
};
|
|
9978
9978
|
var option = {
|
|
9979
9979
|
base: {
|
|
9980
|
+
color: textDefault5.textColor,
|
|
9980
9981
|
gap: spacing29.SizesDdsSpacingX05,
|
|
9981
9982
|
padding: `${spacing29.SizesDdsSpacingX075}`,
|
|
9982
9983
|
backgroundColor: colors26.DdsColorNeutralsWhite
|
|
@@ -9990,6 +9991,7 @@ var option = {
|
|
|
9990
9991
|
backgroundColor: colors26.DdsColorInteractiveLightest
|
|
9991
9992
|
},
|
|
9992
9993
|
selected: {
|
|
9994
|
+
color: textDefault5.textColor,
|
|
9993
9995
|
backgroundColor: colors26.DdsColorNeutralsWhite
|
|
9994
9996
|
}
|
|
9995
9997
|
};
|
|
@@ -10260,6 +10262,7 @@ var getCustomStyles = (size2) => ({
|
|
|
10260
10262
|
alignItems: "center",
|
|
10261
10263
|
gap: option2.base.gap,
|
|
10262
10264
|
padding: option2.base.padding,
|
|
10265
|
+
color: option2.base.color,
|
|
10263
10266
|
backgroundColor: option2.base.backgroundColor,
|
|
10264
10267
|
"@media (prefers-reduced-motion: no-preference)": {
|
|
10265
10268
|
transition: "color 0.2s, background-color 0.2s"
|
|
@@ -10269,6 +10272,7 @@ var getCustomStyles = (size2) => ({
|
|
|
10269
10272
|
backgroundColor: option2.hover.backgroundColor
|
|
10270
10273
|
},
|
|
10271
10274
|
...state.isSelected && {
|
|
10275
|
+
color: option2.selected.color,
|
|
10272
10276
|
backgroundColor: option2.selected.backgroundColor
|
|
10273
10277
|
},
|
|
10274
10278
|
...state.isFocused && {
|