@reactfast/forms 0.1.14 → 0.1.17

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/forms.es.js CHANGED
@@ -14861,8 +14861,8 @@ function Ww({
14861
14861
  },
14862
14862
  onChange: n = () => {
14863
14863
  },
14864
- theme: a = {},
14865
- formTheme: i = {}
14864
+ formTheme: a = {},
14865
+ wizardTheme: i = {}
14866
14866
  }) {
14867
14867
  const { steps: l = [], styles: s = {}, rules: c = [] } = e, [d, u] = j(1), [h, m] = j(!1), [f, w] = j({}), [g, v] = j({}), E = () => {
14868
14868
  const $ = Math.max(d - 1, 1);
@@ -14913,9 +14913,8 @@ function Ww({
14913
14913
  primaryButton: "bg-[#020DF9] text-white hover:bg-[#0209D9]",
14914
14914
  secondaryButton: "bg-transparent text-[#4A4A4A] hover:bg-[#FAFAFA]",
14915
14915
  disabledButton: "cursor-not-allowed bg-transparent text-[#E8E8E8]",
14916
- ...s,
14917
- ...a
14918
- }, W = M.progressBarColor || a.progressBarColor || s.progressBarColor || "#020DF9";
14916
+ ...s
14917
+ }, W = M.progressBarColor || "#020DF9";
14919
14918
  return /* @__PURE__ */ p("div", { className: M.container, children: /* @__PURE__ */ L("div", { className: M.contentWrapper, children: [
14920
14919
  /* @__PURE__ */ L("div", { className: "mb-8", children: [
14921
14920
  /* @__PURE__ */ p("h1", { className: `${M.header} text-[#1A1A1A]`, children: e.title || "Multi-step Wizard" }),
@@ -14972,11 +14971,11 @@ function Ww({
14972
14971
  Ew,
14973
14972
  {
14974
14973
  fields: R,
14975
- onChange: handleFormDataChange,
14974
+ onChange: n,
14976
14975
  formData: f,
14977
14976
  isMobileView: !1,
14978
14977
  rules: c,
14979
- theme: i
14978
+ theme: a
14980
14979
  }
14981
14980
  ),
14982
14981
  /* @__PURE__ */ L("div", { className: "mt-16 flex items-center justify-between", children: [