@apolitical/component-library 4.7.12 → 4.7.13-4763.2

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.mjs CHANGED
@@ -20868,8 +20868,7 @@ const hC = ({ hooks: e, functions: t, meta: n = {}, gtm: r }) => {
20868
20868
  label: i.formatMessage({ id: `${a}bio` }),
20869
20869
  placeholder: i.formatMessage({ id: `${a}bio_placeholder` }),
20870
20870
  limit: 1e3,
20871
- value: s.biography,
20872
- validation: [{ condition: "required" }]
20871
+ value: s.biography
20873
20872
  },
20874
20873
  {
20875
20874
  component: rn
@@ -27028,7 +27027,13 @@ const eh = ({
27028
27027
  );
27029
27028
  return ["title", "text"].includes(B) && A ? (K.wrapper = "a", /* @__PURE__ */ d.jsx("p", { ...U, children: /* @__PURE__ */ d.jsx(Vt, { options: K, ...R, children: G }) })) : /* @__PURE__ */ d.jsx(Vt, { options: K, ...U, children: G });
27030
27029
  }),
27031
- i.contentType === "communityPage" && i.slug && r && /* @__PURE__ */ d.jsx(LE, { communitySlug: i == null ? void 0 : i.slug, buildMemberData: r }),
27030
+ i.contentType === "communityPage" && (i.slug || f.slug) && r && /* @__PURE__ */ d.jsx(
27031
+ LE,
27032
+ {
27033
+ communitySlug: i.slug || f.slug,
27034
+ buildMemberData: r
27035
+ }
27036
+ ),
27032
27037
  /* @__PURE__ */ d.jsx(RE, { type: k || "", data: f }),
27033
27038
  /* @__PURE__ */ d.jsx($E, { data: f, cta: a, link: A || "", gtmContext: s })
27034
27039
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "4.7.12",
3
+ "version": "4.7.13-4763.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {