@norges-domstoler/dds-components 0.0.0-dev-20260217113414 → 0.0.0-dev-20260218135911
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 +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -904,7 +904,7 @@ function Icon(props) {
|
|
|
904
904
|
width: size2,
|
|
905
905
|
fill: color,
|
|
906
906
|
"aria-hidden": (_a = htmlProps == null ? void 0 : htmlProps["aria-hidden"]) != null ? _a : true,
|
|
907
|
-
iconState
|
|
907
|
+
...iconState ? { iconState } : {}
|
|
908
908
|
}
|
|
909
909
|
);
|
|
910
910
|
}
|
|
@@ -2328,6 +2328,9 @@ function SvgWrapper({
|
|
|
2328
2328
|
className,
|
|
2329
2329
|
title,
|
|
2330
2330
|
children,
|
|
2331
|
+
// destructure for å unngå at `iconState` blir sendt videre til svg-elementet som ugyldig custom attribute.
|
|
2332
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2333
|
+
iconState: _iconState,
|
|
2331
2334
|
...props
|
|
2332
2335
|
}) {
|
|
2333
2336
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
@@ -4823,6 +4826,7 @@ var OverflowMenu = ({
|
|
|
4823
4826
|
menuId,
|
|
4824
4827
|
cn(
|
|
4825
4828
|
className,
|
|
4829
|
+
typographyStyles_default["body-short-medium"],
|
|
4826
4830
|
OverflowMenu_default.container,
|
|
4827
4831
|
utilStyles_default.scrollbar,
|
|
4828
4832
|
utilStyles_default["visibility-transition"],
|