@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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -396,7 +396,7 @@ CardFooter.displayName = "Card.Footer";
|
|
|
396
396
|
const _excluded$82 = ["className", "children"];
|
|
397
397
|
const CardHeader = (_ref) => {
|
|
398
398
|
let { className, children } = _ref, rest = _objectWithoutProperties(_ref, _excluded$82);
|
|
399
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("
|
|
399
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
400
400
|
className: cn("kern-card__header", className),
|
|
401
401
|
children
|
|
402
402
|
}));
|
|
@@ -684,7 +684,7 @@ const DialogHeader = (_ref) => {
|
|
|
684
684
|
let { dialogTitle, hasCloseButton = true, "aria-label": ariaLabel = "Schließen", className } = _ref, rest = _objectWithoutProperties(_ref, _excluded$67);
|
|
685
685
|
const { closeDialog, id } = useDialogContext();
|
|
686
686
|
const headerClass = cn("kern-dialog__header", className);
|
|
687
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("
|
|
687
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
688
688
|
className: headerClass,
|
|
689
689
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
690
690
|
id,
|