@mondrianai/runyourai-design-system 0.0.30 → 0.0.31

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
@@ -4516,7 +4516,7 @@ function Modal({
4516
4516
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
4517
4517
  "max-h-[calc(100dvh-2rem)] max-w-modal-viewport overflow-y-auto",
4518
4518
  { sm: "w-100", md: "w-107.5", lg: "w-120" }[size],
4519
- "bg-background border border-border rounded-2xl shadow-modal flex flex-col gap-4 p-6",
4519
+ "bg-background border border-border rounded-2xl shadow-modal flex flex-col p-5",
4520
4520
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
4521
4521
  "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
4522
4522
  "duration-200 data-[state=closed]:duration-150",
@@ -4535,11 +4535,11 @@ function Modal({
4535
4535
  }
4536
4536
  )
4537
4537
  ] }) }),
4538
- (description || children) && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { "data-slot": "modal-body", className: "flex w-full flex-col gap-3 text-left", children: [
4538
+ (description || children) && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { "data-slot": "modal-body", className: "mt-3 flex w-full flex-col gap-3 text-left", children: [
4539
4539
  description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_radix_ui12.Dialog.Description, { className: "text-sm font-normal leading-5 tracking-tight text-muted-foreground", children: description }),
4540
4540
  children
4541
4541
  ] }),
4542
- variant === "dialog" ? footer && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { "data-slot": "modal-footer", className: "flex gap-2 items-center justify-end w-full", children: footer }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { "data-slot": "modal-footer", className: "flex gap-2 items-center justify-end w-full", children: [
4542
+ variant === "dialog" ? footer && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { "data-slot": "modal-footer", className: "mt-4 flex gap-2 items-center justify-end w-full", children: footer }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { "data-slot": "modal-footer", className: "mt-4 flex gap-2 items-center justify-end w-full", children: [
4543
4543
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4544
4544
  Button,
4545
4545
  {