fansunited-management-components 1.10.0 → 1.11.0-RC1

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/index.es.js CHANGED
@@ -10931,7 +10931,7 @@ const ss = (e) => {
10931
10931
  projectId: "fans-united-clients",
10932
10932
  messagingSenderId: "78627953958",
10933
10933
  appId: "1:78627953958:web:2ee87d5b274e0e7685f5e7",
10934
- measurementId: "G-DPV1TYL0JW"
10934
+ measurementId: "G-RH90B03KJG"
10935
10935
  };
10936
10936
  jn.initializeApp(r);
10937
10937
  }
@@ -44637,11 +44637,11 @@ const Ut = /* @__PURE__ */ z.forwardRef(function(t, r) {
44637
44637
  ["link", "image", "video"],
44638
44638
  ["clean"]
44639
44639
  ]
44640
- }, Np = ({ label: e, property: t, defaultValue: r, placeholder: n, description: i, setValue: a, onChange: s }) => {
44641
- const l = (u, d, f, h) => {
44642
- h.getText().trim() === "" ? a("") : a(u);
44643
- }, c = (u, d, f, h) => {
44644
- h.getText().trim() === "" ? s("") : s(u);
44640
+ }, Np = ({ label: e, property: t, value: r, defaultValue: n, placeholder: i, description: a, setValue: s, onChange: l }) => {
44641
+ const c = (d, f, h, p) => {
44642
+ p.getText().trim() === "" ? s("") : s(d);
44643
+ }, u = (d, f, h, p) => {
44644
+ p.getText().trim() === "" ? l("") : l(d);
44645
44645
  };
44646
44646
  return t === "description" ? /* @__PURE__ */ I.jsxs(
44647
44647
  yt,
@@ -44654,10 +44654,11 @@ const Ut = /* @__PURE__ */ z.forwardRef(function(t, r) {
44654
44654
  /* @__PURE__ */ I.jsx(
44655
44655
  sd,
44656
44656
  {
44657
- defaultValue: r,
44658
- onChange: l,
44657
+ value: r || n,
44658
+ defaultValue: n,
44659
+ onChange: c,
44659
44660
  modules: ld,
44660
- placeholder: n,
44661
+ placeholder: i,
44661
44662
  className: "ql-container ql-toolbar"
44662
44663
  }
44663
44664
  )
@@ -44668,21 +44669,31 @@ const Ut = /* @__PURE__ */ z.forwardRef(function(t, r) {
44668
44669
  /* @__PURE__ */ I.jsx(
44669
44670
  sd,
44670
44671
  {
44671
- defaultValue: r,
44672
- onChange: c,
44672
+ value: r || n,
44673
+ defaultValue: n,
44674
+ onChange: u,
44673
44675
  modules: ld,
44674
- placeholder: n,
44676
+ placeholder: i,
44675
44677
  className: "ql-container ql-toolbar"
44676
44678
  }
44677
44679
  ),
44678
- /* @__PURE__ */ I.jsx(Os, { children: i })
44680
+ /* @__PURE__ */ I.jsx(Os, { children: a })
44679
44681
  ] }) : /* @__PURE__ */ I.jsx(
44680
44682
  Re,
44681
44683
  {
44682
44684
  sx: () => ({
44683
44685
  marginBottom: "16px"
44684
44686
  }),
44685
- children: /* @__PURE__ */ I.jsx(sd, { defaultValue: r, onChange: l, modules: ld, placeholder: n })
44687
+ children: /* @__PURE__ */ I.jsx(
44688
+ sd,
44689
+ {
44690
+ value: r || n,
44691
+ defaultValue: n,
44692
+ onChange: c,
44693
+ modules: ld,
44694
+ placeholder: i
44695
+ }
44696
+ )
44686
44697
  }
44687
44698
  );
44688
44699
  }, e9 = (e) => {
@@ -45765,15 +45776,15 @@ var AC = Vp.default = void 0, PY = OY(Kt()), RY = I;
45765
45776
  AC = Vp.default = (0, PY.default)(/* @__PURE__ */ (0, RY.jsx)("path", {
45766
45777
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
45767
45778
  }), "Link");
45768
- const Yo = ({ label: e, placeholder: t, defaultValue: r, required: n, size: i, onChange: a }) => /* @__PURE__ */ I.jsxs(
45779
+ const Yo = ({ label: e, placeholder: t, value: r, defaultValue: n, required: i, size: a, onChange: s }) => /* @__PURE__ */ I.jsxs(
45769
45780
  yt,
45770
45781
  {
45771
- size: i || "md",
45782
+ size: a || "md",
45772
45783
  sx: () => ({
45773
45784
  marginBottom: "16px"
45774
45785
  }),
45775
45786
  children: [
45776
- /* @__PURE__ */ I.jsx(bt, { required: n, color: "primary", children: e }),
45787
+ /* @__PURE__ */ I.jsx(bt, { required: i, color: "primary", children: e }),
45777
45788
  /* @__PURE__ */ I.jsx(
45778
45789
  Dr,
45779
45790
  {
@@ -45781,8 +45792,9 @@ const Yo = ({ label: e, placeholder: t, defaultValue: r, required: n, size: i, o
45781
45792
  size: "md",
45782
45793
  variant: "outlined",
45783
45794
  color: "neutral",
45784
- defaultValue: r,
45785
- onChange: a,
45795
+ value: r || n,
45796
+ defaultValue: n,
45797
+ onChange: s,
45786
45798
  sx: {
45787
45799
  backgroundColor: "#fff",
45788
45800
  borderRadius: "md"