@forms.expert/sdk 0.4.4 → 0.4.5

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.
@@ -1254,7 +1254,7 @@ function FormsExpertForm({
1254
1254
  textAlign: "center",
1255
1255
  marginTop: "1rem",
1256
1256
  paddingTop: "0.75rem",
1257
- borderTop: `1px solid ${styling.theme === "dark" ? "#374151" : "#e5e7eb"}`
1257
+ borderTop: `1px solid ${styling.separatorColor || (styling.theme === "dark" ? "#374151" : "#e5e7eb")}`
1258
1258
  },
1259
1259
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
1260
1260
  "a",
@@ -1540,7 +1540,7 @@ function FormFieldInput({
1540
1540
  } else if (field.type === "file") {
1541
1541
  const fileValue = value;
1542
1542
  const formatSize = (size) => size < 1024 ? `${size} B` : size < 1048576 ? `${(size / 1024).toFixed(1)} KB` : `${(size / 1048576).toFixed(1)} MB`;
1543
- const borderColor = error ? styling.errorColor || "#ef4444" : styling.theme === "dark" ? "#4b5563" : "#d1d5db";
1543
+ const borderColor = error ? styling.errorColor || "#ef4444" : styling.fieldBorderColor || (styling.theme === "dark" ? "#4b5563" : "#d1d5db");
1544
1544
  const mutedColor = styling.theme === "dark" ? "#9ca3af" : "#6b7280";
1545
1545
  fieldEl = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
1546
1546
  "label",