@mx-cartographer/experiences 8.2.6 → 8.2.8

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/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
+ ## [8.2.8] - 05-21-2026
2
+
3
+ - **UPDATED** - ADD the html_in_description_cta field to the ClientConfigurableCta
4
+
5
+ ## [8.2.7] - 05-21-2026
6
+
7
+ - **UPDATED** - Add aria-hidden="true" to the main image in the WeekendNoSpendDays insight
8
+
1
9
  ## [8.2.6] - 05-21-2026
2
10
 
3
11
  - **UPDATED** - Hide MarketingHub Offer call to action button when call_to_action content is blank
12
+
4
13
  ## [8.2.5] - 05-14-2026
5
14
 
6
15
  - **FIXED** - Payment due date logic in account details to ensure consistent UTC-based date rendering
package/README.md CHANGED
@@ -228,7 +228,7 @@ To avoid overwriting the `latest` npm dist-tag (which should always point to v9.
228
228
  ```
229
229
  1. Tag the release and push the tag:
230
230
  ```bash
231
- git tag v8.2.6
231
+ git tag v8.2.8
232
232
  git push origin --tags
233
233
  ```
234
234
  1. Publish with the dist-tag:
@@ -2012,7 +2012,7 @@ const r1 = ({ height: r = 0, width: i = 0, shouldRun: n = !1 }) => /* @__PURE__
2012
2012
  }
2013
2013
  ), _1 = ({ beat: r }) => {
2014
2014
  const i = f2();
2015
- return r.in_description_cta ? /* @__PURE__ */ t(v, { sx: { alignItems: "start", justifyContent: "center", minHeight: 28, mt: 6 }, children: /* @__PURE__ */ t(
2015
+ return !r.in_description_cta && !r.html_in_description_cta ? /* @__PURE__ */ t(N, {}) : /* @__PURE__ */ t(v, { sx: { alignItems: "start", justifyContent: "center", minHeight: 28, mt: 6 }, children: /* @__PURE__ */ t(
2016
2016
  A1,
2017
2017
  {
2018
2018
  endIcon: /* @__PURE__ */ t(k2, {}),
@@ -2031,9 +2031,9 @@ const r1 = ({ height: r = 0, width: i = 0, shouldRun: n = !1 }) => /* @__PURE__
2031
2031
  }
2032
2032
  },
2033
2033
  variant: "text",
2034
- children: /* @__PURE__ */ t(E, { bold: !0, variant: "body2", children: r.in_description_cta })
2034
+ children: /* @__PURE__ */ t(E, { bold: !0, variant: "body2", children: r.in_description_cta || r.html_in_description_cta })
2035
2035
  }
2036
- ) }) : /* @__PURE__ */ t(N, {});
2036
+ ) });
2037
2037
  }, S4 = ({ beat: r, hasFullWidthImage: i, sx: n }) => {
2038
2038
  const { html_description: l } = r;
2039
2039
  return /* @__PURE__ */ s(
@@ -4075,11 +4075,11 @@ const A4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACvCAYAAACM9QdJAA
4075
4075
  displayData: l,
4076
4076
  ...o
4077
4077
  }) => {
4078
- const { no_spend_days: a } = r.payload, { noSpendDays: c, dollarBillAltText: h, daysOfTheWeek: d } = l, m = f3[a.length || 0], p = Z.useRef(null), { height: u, width: x } = K(p);
4079
- return /* @__PURE__ */ t(I, { ...o, beat: r, button: /* @__PURE__ */ t(H, { ...i, beat: r }), children: n ? /* @__PURE__ */ t(G4, {}) : /* @__PURE__ */ s(f1, { alignItems: "center", justifyContent: "center", ref: p, width: "100%", children: [
4080
- /* @__PURE__ */ t("img", { alt: h, src: m, width: 138 }),
4081
- a?.length >= 4 && /* @__PURE__ */ t(r1, { height: u, shouldRun: !0, width: x }),
4082
- /* @__PURE__ */ t(o3, { daysOfTheWeek: d, noSpendDays: c })
4078
+ const { no_spend_days: a } = r.payload, { noSpendDays: c, daysOfTheWeek: h } = l, d = f3[a.length || 0], m = Z.useRef(null), { height: p, width: u } = K(m);
4079
+ return /* @__PURE__ */ t(I, { ...o, beat: r, button: /* @__PURE__ */ t(H, { ...i, beat: r }), children: n ? /* @__PURE__ */ t(G4, {}) : /* @__PURE__ */ s(f1, { alignItems: "center", justifyContent: "center", ref: m, width: "100%", children: [
4080
+ /* @__PURE__ */ t("img", { "aria-hidden": "true", src: d, width: 138 }),
4081
+ a?.length >= 4 && /* @__PURE__ */ t(r1, { height: p, shouldRun: !0, width: u }),
4082
+ /* @__PURE__ */ t(o3, { daysOfTheWeek: h, noSpendDays: c })
4083
4083
  ] }) });
4084
4084
  }, x3 = ({ children: r, value: i }) => /* @__PURE__ */ t(
4085
4085
  A2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "8.2.6",
3
+ "version": "8.2.8",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",