@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.mjs
CHANGED
|
@@ -9105,7 +9105,8 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9105
9105
|
}), /* @__PURE__ */ jsxs(VStack, {
|
|
9106
9106
|
gap: "x0.75",
|
|
9107
9107
|
alignItems: "center",
|
|
9108
|
-
margin: "x0.75 x0.75
|
|
9108
|
+
margin: "x0.75 x0.75 0 x0.75",
|
|
9109
|
+
height: styleUpToBreakpoint("100%", smallScreenBreakpoint, "130px"),
|
|
9109
9110
|
children: [/* @__PURE__ */ jsx(Heading, {
|
|
9110
9111
|
level: 3,
|
|
9111
9112
|
children: el.heading
|
|
@@ -9145,7 +9146,6 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9145
9146
|
border: "border-subtle",
|
|
9146
9147
|
role: "dialog",
|
|
9147
9148
|
"aria-labelledby": headerId,
|
|
9148
|
-
height: isList ? "368px" : "327px",
|
|
9149
9149
|
width: styleUpToBreakpoint("100%", smallScreenBreakpoint, "500px"),
|
|
9150
9150
|
children: [/* @__PURE__ */ jsx(HStack, {
|
|
9151
9151
|
margin: "x0.75 x3 x0.75 x0.75",
|
|
@@ -9157,14 +9157,13 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
9157
9157
|
})
|
|
9158
9158
|
}), /* @__PURE__ */ jsxs(VStack, {
|
|
9159
9159
|
alignItems: "center",
|
|
9160
|
-
height: isList ? "299px" : void 0,
|
|
9161
9160
|
"aria-live": "polite",
|
|
9161
|
+
marginBlock: "0 x1.5",
|
|
9162
9162
|
children: [
|
|
9163
9163
|
content,
|
|
9164
9164
|
isList && /* @__PURE__ */ jsxs(HStack, {
|
|
9165
9165
|
alignItems: "center",
|
|
9166
9166
|
gap: "x1",
|
|
9167
|
-
marginBlock: "auto 0",
|
|
9168
9167
|
children: [
|
|
9169
9168
|
/* @__PURE__ */ jsx(Button, {
|
|
9170
9169
|
"aria-label": t(commonTexts.previousPage),
|