najm-kit 2.1.49 → 2.1.50
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.mjs +11 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7508,6 +7508,14 @@ function mediaRootClasses(layout) {
|
|
|
7508
7508
|
}
|
|
7509
7509
|
return "grid grid-cols-[auto_minmax(0,1fr)] gap-3 p-3 sm:flex sm:flex-col sm:p-4";
|
|
7510
7510
|
}
|
|
7511
|
+
function CardMediaBody({
|
|
7512
|
+
children,
|
|
7513
|
+
className,
|
|
7514
|
+
grouped
|
|
7515
|
+
}) {
|
|
7516
|
+
if (!grouped) return /* @__PURE__ */ jsx(Fragment, { children });
|
|
7517
|
+
return /* @__PURE__ */ jsx("div", { "data-slot": "card-body", className, children });
|
|
7518
|
+
}
|
|
7511
7519
|
function NCard({
|
|
7512
7520
|
children,
|
|
7513
7521
|
title,
|
|
@@ -7624,11 +7632,11 @@ function NCard({
|
|
|
7624
7632
|
}
|
|
7625
7633
|
) : null,
|
|
7626
7634
|
/* @__PURE__ */ jsxs(
|
|
7627
|
-
|
|
7635
|
+
CardMediaBody,
|
|
7628
7636
|
{
|
|
7629
|
-
|
|
7637
|
+
grouped: compactSideBody,
|
|
7630
7638
|
className: cn(
|
|
7631
|
-
|
|
7639
|
+
"col-start-2 row-start-1 flex min-w-0 flex-col gap-2 self-start",
|
|
7632
7640
|
(responsiveAvatarBody || responsiveImageBody) && "sm:contents"
|
|
7633
7641
|
),
|
|
7634
7642
|
children: [
|