@norges-domstoler/dds-components 0.0.0-dev-20260625104517 → 0.0.0-dev-20260702131302
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 +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11716,6 +11716,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
|
|
|
11716
11716
|
overflowY: "auto",
|
|
11717
11717
|
position: "relative",
|
|
11718
11718
|
boxSizing: "border-box",
|
|
11719
|
+
padding: "var(--dds-spacing-x0-125)",
|
|
11719
11720
|
...scrollbarStyling
|
|
11720
11721
|
}),
|
|
11721
11722
|
option: (provided, state) => ({
|
|
@@ -11725,16 +11726,13 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
|
|
|
11725
11726
|
alignItems: "center",
|
|
11726
11727
|
gap: "var(--dds-spacing-x0-25)",
|
|
11727
11728
|
padding: "var(--dds-spacing-x0-75)",
|
|
11729
|
+
borderRadius: "var(--dds-border-radius-surface)",
|
|
11728
11730
|
backgroundColor: "var(--dds-color-surface-default)",
|
|
11729
11731
|
...typography.option[size2],
|
|
11730
11732
|
color: "var(--dds-color-text-default)",
|
|
11731
11733
|
"@media (prefers-reduced-motion: no-preference)": {
|
|
11732
11734
|
transition: "color var(--dds-motion-micro-state), background-color var(--dds-motion-micro-state)"
|
|
11733
11735
|
},
|
|
11734
|
-
"&:hover": {
|
|
11735
|
-
color: "var(--dds-color-text-default)",
|
|
11736
|
-
backgroundColor: "var(--dds-color-surface-hover-subtle)"
|
|
11737
|
-
},
|
|
11738
11736
|
...state.isSelected && {
|
|
11739
11737
|
backgroundColor: "var(--dds-color-surface-selected-default)"
|
|
11740
11738
|
},
|