@carlonicora/nextjs-jsonapi 1.55.0 → 1.55.2

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.
@@ -8344,7 +8344,7 @@ __name(FormCheckbox, "FormCheckbox");
8344
8344
  import dynamic from "next/dynamic";
8345
8345
  import React14 from "react";
8346
8346
  import { jsx as jsx67 } from "react/jsx-runtime";
8347
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-KRNCNQSM.mjs"), {
8347
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-LRXOWMLQ.mjs"), {
8348
8348
  ssr: false
8349
8349
  });
8350
8350
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -9573,22 +9573,22 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
9573
9573
  }, "setUser");
9574
9574
  return /* @__PURE__ */ jsx87("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx87(FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ jsxs52(Popover, { open, onOpenChange: setOpen, modal: true, children: [
9575
9575
  /* @__PURE__ */ jsxs52("div", { className: "flex w-full flex-row items-center justify-between", children: [
9576
- /* @__PURE__ */ jsx87(PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ jsx87("div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ jsx87(Fragment7, { children: /* @__PURE__ */ jsxs52("div", { className: "flex w-full flex-row items-center justify-start rounded-md border p-2", children: [
9577
- /* @__PURE__ */ jsx87("div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ jsxs52(Avatar, { className: `mr-2 h-6 w-6`, children: [
9576
+ /* @__PURE__ */ jsx87(PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ jsx87("div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ jsxs52("div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: [
9577
+ /* @__PURE__ */ jsx87("div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ jsxs52(Avatar, { className: `mr-2 h-4 w-4`, children: [
9578
9578
  /* @__PURE__ */ jsx87(AvatarImage, { src: field.value?.avatar }),
9579
9579
  /* @__PURE__ */ jsx87(AvatarFallback, { children: field.value?.name ? field.value?.name.split(" ").map((name) => name.charAt(0).toUpperCase()) : "X" })
9580
9580
  ] }) }),
9581
- /* @__PURE__ */ jsx87("span", { className: "", children: field.value?.name ?? "" })
9582
- ] }) }) : /* @__PURE__ */ jsx87("div", { className: "text-muted-foreground mr-7 flex h-10 w-full flex-row items-center justify-start rounded-md border p-2 text-sm", children: placeholder ?? t(`ui.search.placeholder`, { type: t(`entities.users`, { count: 1 }) }) }) }) }),
9581
+ /* @__PURE__ */ jsx87("span", { children: field.value?.name ?? "" })
9582
+ ] }) : /* @__PURE__ */ jsx87("div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: placeholder ?? t(`ui.search.placeholder`, { type: t(`entities.users`, { count: 1 }) }) }) }) }),
9583
9583
  field.value && /* @__PURE__ */ jsx87(
9584
9584
  CircleX,
9585
9585
  {
9586
- className: "text-muted hover:text-destructive ml-2 h-6 w-6 cursor-pointer",
9586
+ className: "text-muted hover:text-destructive ml-2 h-4 w-4 shrink-0 cursor-pointer",
9587
9587
  onClick: () => setUser()
9588
9588
  }
9589
9589
  )
9590
9590
  ] }),
9591
- /* @__PURE__ */ jsx87(PopoverContent, { children: /* @__PURE__ */ jsxs52(Command, { shouldFilter: false, children: [
9591
+ /* @__PURE__ */ jsx87(PopoverContent, { align: "start", className: "w-(--anchor-width)", children: /* @__PURE__ */ jsxs52(Command, { shouldFilter: false, children: [
9592
9592
  /* @__PURE__ */ jsxs52("div", { className: "relative mb-2 w-full", children: [
9593
9593
  /* @__PURE__ */ jsx87(SearchIcon2, { className: "text-muted-foreground absolute top-2.5 left-2.5 h-4 w-4" }),
9594
9594
  /* @__PURE__ */ jsx87(
@@ -11920,7 +11920,7 @@ __name(TabsContainer, "TabsContainer");
11920
11920
  import { jsx as jsx131, jsxs as jsxs77 } from "react/jsx-runtime";
11921
11921
  function AttributeElement({ inline, title, value, className }) {
11922
11922
  return /* @__PURE__ */ jsxs77("div", { className: cn(`flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
11923
- title && /* @__PURE__ */ jsx131("div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
11923
+ title && /* @__PURE__ */ jsx131("div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-xs text-muted-foreground`, children: title }),
11924
11924
  value && /* @__PURE__ */ jsx131("div", { className: "flex w-full flex-col text-sm", children: value })
11925
11925
  ] });
11926
11926
  }
@@ -18748,4 +18748,4 @@ export {
18748
18748
  useOAuthClients,
18749
18749
  useOAuthClient
18750
18750
  };
18751
- //# sourceMappingURL=chunk-PIGACN3N.mjs.map
18751
+ //# sourceMappingURL=chunk-MT26TP7U.mjs.map