@arudovwen/form-builder-react 1.4.46 → 1.4.48
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/form-builder.es.js +9 -9
- package/dist/form-builder.umd.js +4 -4
- package/dist/index.css +1 -1
- package/package.json +1 -1
package/dist/form-builder.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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: `
|
|
6992
|
-
${r === m.id ? "
|
|
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
|
|
7190
|
-
/* @__PURE__ */ n.jsx("div", { className: "px-5
|
|
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
|
|
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 }),
|
|
@@ -7419,7 +7419,7 @@ function Qs({
|
|
|
7419
7419
|
function j() {
|
|
7420
7420
|
g(!1), u && y !== i && u(y.trim());
|
|
7421
7421
|
}
|
|
7422
|
-
return /* @__PURE__ */ n.jsxs("div", { className: "px-[30px] py-3 flex justify-between items-center bg-[#F9F9FB] top_bar h-full", children: [
|
|
7422
|
+
return /* @__PURE__ */ n.jsxs("div", { className: "px-[30px] py-3 flex justify-between items-center bg-[#F9F9FB] top_bar border-b h-full", children: [
|
|
7423
7423
|
/* @__PURE__ */ n.jsxs("span", { className: "flex items-center gap-x-2", children: [
|
|
7424
7424
|
e && /* @__PURE__ */ n.jsx(
|
|
7425
7425
|
"button",
|
|
@@ -7493,7 +7493,7 @@ function Qs({
|
|
|
7493
7493
|
onClick: x,
|
|
7494
7494
|
text: "Publish",
|
|
7495
7495
|
style: { background: (m == null ? void 0 : m.buttonColor) || "#333" },
|
|
7496
|
-
btnClass: "border-[#98A2B3] font-medium text-sm py-
|
|
7496
|
+
btnClass: "border-[#98A2B3] font-medium text-sm py-2 px-6 text-white rounded-lg form_publish__btn",
|
|
7497
7497
|
isDisabled: t,
|
|
7498
7498
|
isLoading: t
|
|
7499
7499
|
}
|