braid-ui 1.0.27 → 1.0.28

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
@@ -3345,12 +3345,9 @@ var PageLayout = React15.forwardRef(
3345
3345
  });
3346
3346
  };
3347
3347
  return /* @__PURE__ */ jsxs("div", { ref, className: "flex flex-col h-screen bg-gradient-subtle", children: [
3348
- /* @__PURE__ */ jsx("div", { className: "flex-none border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60", children: /* @__PURE__ */ jsx("div", { className: cn(
3349
- "container mx-auto px-4 py-6",
3350
- maxWidthClasses[maxWidth]
3351
- ), children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
3348
+ /* @__PURE__ */ jsx("div", { className: "flex-none border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60", children: /* @__PURE__ */ jsx("div", { className: cn("container mx-auto px-4 py-6", maxWidthClasses[maxWidth]), children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
3352
3349
  /* @__PURE__ */ jsxs("div", { className: "flex-1 min-h-[2.5rem]", children: [
3353
- /* @__PURE__ */ jsx("h1", { className: "text-3xl font-bold text-foreground mb-2", children: title }),
3350
+ /* @__PURE__ */ jsx("h1", { className: "text-3xl font-bold text-foreground", children: title }),
3354
3351
  description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: description })
3355
3352
  ] }),
3356
3353
  headerContent && /* @__PURE__ */ jsx("div", { className: "flex items-center", children: headerContent }),
@@ -3379,11 +3376,7 @@ var PageLayout = React15.forwardRef(
3379
3376
  );
3380
3377
  }) })
3381
3378
  ] }) }) }),
3382
- /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: cn(
3383
- "container mx-auto px-4 py-6",
3384
- maxWidthClasses[maxWidth],
3385
- className
3386
- ), children: mode === "cards" && cards.length > 0 ? /* @__PURE__ */ jsx("div", { className: cn("grid gap-6", getGridClasses(gridCols, responsive)), children: cards.map((card) => {
3379
+ /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: cn("container mx-auto px-4 py-6", maxWidthClasses[maxWidth], className), children: mode === "cards" && cards.length > 0 ? /* @__PURE__ */ jsx("div", { className: cn("grid gap-6", getGridClasses(gridCols, responsive)), children: cards.map((card) => {
3387
3380
  const isEditing = editingCards.has(card.key);
3388
3381
  const shouldExpand = card.expandOnEdit && isEditing;
3389
3382
  return /* @__PURE__ */ jsx(
@@ -3393,14 +3386,7 @@ var PageLayout = React15.forwardRef(
3393
3386
  "transition-all duration-300",
3394
3387
  shouldExpand && (gridCols > 1 ? "col-span-full" : "")
3395
3388
  ),
3396
- children: /* @__PURE__ */ jsx(
3397
- card.component,
3398
- {
3399
- ...card.props,
3400
- isEditing,
3401
- onToggleEdit: () => toggleEdit(card.key)
3402
- }
3403
- )
3389
+ children: /* @__PURE__ */ jsx(card.component, { ...card.props, isEditing, onToggleEdit: () => toggleEdit(card.key) })
3404
3390
  },
3405
3391
  card.key
3406
3392
  );