@mond-design-system/react 4.6.0 → 4.6.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.js CHANGED
@@ -658,7 +658,7 @@ function Sheet({ open, onClose, label, closeOnScrimClick = true, children }) {
658
658
  }
659
659
  function SheetHeader({ children, onClose, closeLabel }) {
660
660
  return /* @__PURE__ */ jsxs("div", { className: Sheet_module_default.header, children: [
661
- /* @__PURE__ */ jsx("span", { className: Sheet_module_default.headerTitle, children }),
661
+ /* @__PURE__ */ jsx("h2", { className: Sheet_module_default.headerTitle, children }),
662
662
  onClose !== void 0 && /* @__PURE__ */ jsx("button", { type: "button", "aria-label": closeLabel, className: Sheet_module_default.close, onClick: onClose, children: /* @__PURE__ */ jsx(CloseGlyph, { className: Sheet_module_default.closeGlyph }) })
663
663
  ] });
664
664
  }
@@ -1668,7 +1668,7 @@ function CardFooter({ className, ...rest }) {
1668
1668
  }
1669
1669
 
1670
1670
  // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/Modal/Modal.module.css?mds-scoped
1671
- var Modal_module_default = { "panel": "mds-Modal__panel", "header": "mds-Modal__header", "body": "mds-Modal__body", "footer": "mds-Modal__footer" };
1671
+ var Modal_module_default = { "panel": "mds-Modal__panel", "header": "mds-Modal__header", "headerTitle": "mds-Modal__headerTitle", "body": "mds-Modal__body", "footer": "mds-Modal__footer" };
1672
1672
  function Modal({ open, onClose, label, closeOnScrimClick = true, role = "dialog", children }) {
1673
1673
  return /* @__PURE__ */ jsx(
1674
1674
  Overlay,
@@ -1685,7 +1685,7 @@ function Modal({ open, onClose, label, closeOnScrimClick = true, role = "dialog"
1685
1685
  );
1686
1686
  }
1687
1687
  function ModalHeader({ children }) {
1688
- return /* @__PURE__ */ jsx("div", { className: Modal_module_default.header, children });
1688
+ return /* @__PURE__ */ jsx("div", { className: Modal_module_default.header, children: /* @__PURE__ */ jsx("h2", { className: Modal_module_default.headerTitle, children }) });
1689
1689
  }
1690
1690
  function ModalBody({ children }) {
1691
1691
  return /* @__PURE__ */ jsx("div", { className: Modal_module_default.body, children });