@norges-domstoler/dds-components 24.2.0 → 24.2.1
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.cjs +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -9138,7 +9138,8 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9138
9138
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(VStack, {
|
|
9139
9139
|
gap: "x0.75",
|
|
9140
9140
|
alignItems: "center",
|
|
9141
|
-
margin: "x0.75 x0.75
|
|
9141
|
+
margin: "x0.75 x0.75 0 x0.75",
|
|
9142
|
+
height: styleUpToBreakpoint("100%", smallScreenBreakpoint, "130px"),
|
|
9142
9143
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Heading, {
|
|
9143
9144
|
level: 3,
|
|
9144
9145
|
children: el.heading
|
|
@@ -9178,7 +9179,6 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9178
9179
|
border: "border-subtle",
|
|
9179
9180
|
role: "dialog",
|
|
9180
9181
|
"aria-labelledby": headerId,
|
|
9181
|
-
height: isList ? "368px" : "327px",
|
|
9182
9182
|
width: styleUpToBreakpoint("100%", smallScreenBreakpoint, "500px"),
|
|
9183
9183
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(HStack, {
|
|
9184
9184
|
margin: "x0.75 x3 x0.75 x0.75",
|
|
@@ -9190,14 +9190,13 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9190
9190
|
})
|
|
9191
9191
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(VStack, {
|
|
9192
9192
|
alignItems: "center",
|
|
9193
|
-
height: isList ? "299px" : void 0,
|
|
9194
9193
|
"aria-live": "polite",
|
|
9194
|
+
marginBlock: "0 x1.5",
|
|
9195
9195
|
children: [
|
|
9196
9196
|
content,
|
|
9197
9197
|
isList && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(HStack, {
|
|
9198
9198
|
alignItems: "center",
|
|
9199
9199
|
gap: "x1",
|
|
9200
|
-
marginBlock: "auto 0",
|
|
9201
9200
|
children: [
|
|
9202
9201
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9203
9202
|
"aria-label": t(commonTexts.previousPage),
|