@arudovwen/form-builder-react 1.4.46 → 1.4.47

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.
@@ -6656,7 +6656,7 @@ function xn({
6656
6656
  className: q(
6657
6657
  "w-full rounded-md flex items-center justify-center",
6658
6658
  "transition-all duration-150 ease-in-out overflow-hidden",
6659
- a ? "bg-blue-50 border-2 border-blue-400 border-dashed" : s ? "border-2 border-blue-200 border-dashed" : "border-2 border-transparent"
6659
+ a ? "bg-blue-50 border-2 border-blue-300 border-dashed" : s ? "border-2 border-blue-200 border-dashed" : "border-2 border-transparent"
6660
6660
  ),
6661
6661
  children: a && /* @__PURE__ */ n.jsxs("span", { className: "flex items-center gap-1 text-blue-500 text-xs font-medium select-none pointer-events-none", children: [
6662
6662
  /* @__PURE__ */ n.jsx(_, { icon: "octicon:plus-16" }),
@@ -6979,7 +6979,7 @@ const Vs = an(Hs), Fs = B.object({
6979
6979
  section: o.current
6980
6980
  }
6981
6981
  ),
6982
- /* @__PURE__ */ n.jsxs("div", { className: "relative flex flex-col flex-1 w-full gap-y-4", children: [
6982
+ /* @__PURE__ */ n.jsxs("div", { className: "relative flex flex-col flex-1 w-full gap-y-3", children: [
6983
6983
  t == null ? void 0 : t.map(
6984
6984
  (m, p) => /* @__PURE__ */ n.jsx(
6985
6985
  "div",
@@ -6988,8 +6988,8 @@ const Vs = an(Hs), Fs = B.object({
6988
6988
  children: /* @__PURE__ */ n.jsxs(
6989
6989
  "div",
6990
6990
  {
6991
- className: `bg-white border border-gray-100 rounded-lg px-4 shadow-[rgba(149,157,165,0.2)_0px_2px_2px] transition-colors duration-200
6992
- ${r === m.id ? "border-dashed border-blue-400 bg-[#f7f8fa]" : ""} ${c.includes(p) ? "min-h-[300px] pb-6 " : ""}`,
6991
+ className: ` border border-gray-200 rounded-lg px-4 shadow-[rgba(149,157,165,0.2)_0px_2px_2px] transition-colors duration-200
6992
+ ${r === m.id ? " border-blue-200 bg-gray-100" : "bg-white"} ${c.includes(p) ? "min-h-[300px] pb-6 " : ""}`,
6993
6993
  children: [
6994
6994
  /* @__PURE__ */ n.jsxs("div", { className: "flex items-center justify-between", children: [
6995
6995
  /* @__PURE__ */ n.jsx(
@@ -7186,8 +7186,8 @@ const An = [
7186
7186
  }
7187
7187
  )
7188
7188
  })).filter((g) => g.elements.length > 0);
7189
- return /* @__PURE__ */ n.jsxs("div", { className: "pt-4 pb-6", children: [
7190
- /* @__PURE__ */ n.jsx("div", { className: "px-5 mb-6", children: /* @__PURE__ */ n.jsx(
7189
+ return /* @__PURE__ */ n.jsxs("div", { className: "pt-4 flex flex-col gap-y-6", children: [
7190
+ /* @__PURE__ */ n.jsx("div", { className: "px-5", children: /* @__PURE__ */ n.jsx(
7191
7191
  "input",
7192
7192
  {
7193
7193
  className: "field-control",
@@ -7198,7 +7198,7 @@ const An = [
7198
7198
  id: "search"
7199
7199
  }
7200
7200
  ) }),
7201
- /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx("ul", { className: "grid gap-y-5 mt-3 px-5 max-h-[85vh] overflow-y-auto no-scrollbar", children: v == null ? void 0 : v.map((g, y) => {
7201
+ /* @__PURE__ */ n.jsx("div", { className: "flex-1 overflow-y-auto no-scrollbar max-h-[calc(100vh-100px)]", children: /* @__PURE__ */ n.jsx("ul", { className: "grid gap-y-5 mt-3 px-5 ", children: v == null ? void 0 : v.map((g, y) => {
7202
7202
  var f;
7203
7203
  return /* @__PURE__ */ n.jsxs("li", { children: [
7204
7204
  /* @__PURE__ */ n.jsx("h4", { className: "mb-2 text-[11px] font-bold text-gray-500 uppercase", children: g.title }),