@publicplan/kern-react-kit 1.3.0 → 1.3.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
@@ -364,7 +364,7 @@ CardFooter.displayName = "Card.Footer";
364
364
  const _excluded$82 = ["className", "children"];
365
365
  const CardHeader = (_ref) => {
366
366
  let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$82);
367
- return /* @__PURE__ */ jsx("header", _objectSpread2(_objectSpread2({}, rest), {}, {
367
+ return /* @__PURE__ */ jsx("div", _objectSpread2(_objectSpread2({}, rest), {}, {
368
368
  className: cn("kern-card__header", className),
369
369
  children
370
370
  }));
@@ -652,7 +652,7 @@ const DialogHeader = (_ref) => {
652
652
  let { dialogTitle, hasCloseButton = true, "aria-label": ariaLabel = "Schließen", className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$67);
653
653
  const { closeDialog, id } = useDialogContext();
654
654
  const headerClass = cn("kern-dialog__header", className);
655
- return /* @__PURE__ */ jsxs("header", _objectSpread2(_objectSpread2({}, rest), {}, {
655
+ return /* @__PURE__ */ jsxs("div", _objectSpread2(_objectSpread2({}, rest), {}, {
656
656
  className: headerClass,
657
657
  children: [/* @__PURE__ */ jsx("h2", {
658
658
  id,