@norges-domstoler/dds-components 0.0.0-dev-20240212110341 → 0.0.0-dev-20240212124253

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.mjs CHANGED
@@ -7054,10 +7054,15 @@ var StyledEmptyContentText = styled44.div`
7054
7054
  flex-direction: column;
7055
7055
  gap: ${spacing16.SizesDdsSpacingX1};
7056
7056
  `;
7057
- function EmptyContent({ title: title3, message: message2, ...rest }) {
7057
+ function EmptyContent({
7058
+ title: title3,
7059
+ message: message2,
7060
+ titleHeadingLevel = 5,
7061
+ ...rest
7062
+ }) {
7058
7063
  return /* @__PURE__ */ jsx206(StyledEmptyContent, { ...rest, children: /* @__PURE__ */ jsxs40(StyledEmptyContentText, { children: [
7059
- title3 && /* @__PURE__ */ jsx206(Typography, { typographyType: "headingSans02", children: title3 }),
7060
- /* @__PURE__ */ jsx206(Typography, { typographyType: "bodySans02", children: message2 })
7064
+ title3 && /* @__PURE__ */ jsx206(Heading, { level: titleHeadingLevel, children: title3 }),
7065
+ /* @__PURE__ */ jsx206(Paragraph, { children: message2 })
7061
7066
  ] }) });
7062
7067
  }
7063
7068
  EmptyContent.displayName = "EmptyContent";