@norges-domstoler/dds-components 0.0.0-dev-20240716102453 → 0.0.0-dev-20240716102609

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 CHANGED
@@ -6871,7 +6871,7 @@ var Drawer = (0, import_react62.forwardRef)((props, ref) => {
6871
6871
  utilStyles_default["scrollable-y"]
6872
6872
  ),
6873
6873
  children: [
6874
- hasHeader && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
6874
+ hasHeader && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
6875
6875
  children
6876
6876
  ]
6877
6877
  }
@@ -9148,7 +9148,7 @@ var Modal = (0, import_react86.forwardRef)((props, ref) => {
9148
9148
  elevation: 4,
9149
9149
  children: [
9150
9150
  /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)("div", { className: Modal_default.content, children: [
9151
- header && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
9151
+ header && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
9152
9152
  children
9153
9153
  ] }),
9154
9154
  onClose && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
@@ -10119,7 +10119,7 @@ var Popover = (0, import_react92.forwardRef)(
10119
10119
  focus_default.focusable
10120
10120
  ),
10121
10121
  children: [
10122
- title && /* @__PURE__ */ (0, import_jsx_runtime252.jsx)("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Typography, { typographyType: "headingSans02", children: title }) : title }),
10122
+ title && /* @__PURE__ */ (0, import_jsx_runtime252.jsx)("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
10123
10123
  /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
10124
10124
  "div",
10125
10125
  {