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