@apolitical/component-library 8.9.1 → 8.9.2-re.1

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
@@ -6111,10 +6111,11 @@ const Kp = (e, t) => {
6111
6111
  return ((r = (n = e == null ? void 0 : e.translations) == null ? void 0 : n[t]) == null ? void 0 : r.body) || ((i = e == null ? void 0 : e.original) == null ? void 0 : i.body) || "";
6112
6112
  }, _6 = ({
6113
6113
  payload: e,
6114
- locale: t
6114
+ currentLocale: t,
6115
+ originalLocale: n
6115
6116
  }) => {
6116
- var n, r, i;
6117
- return ((r = (n = e == null ? void 0 : e.translations) == null ? void 0 : n[t]) == null ? void 0 : r.body) || ((i = e == null ? void 0 : e.original) == null ? void 0 : i.body) || "";
6117
+ var r, i, a, o, s;
6118
+ return ((i = (r = e == null ? void 0 : e.translations) == null ? void 0 : r[t]) == null ? void 0 : i.body) || ((o = (a = e == null ? void 0 : e.translations) == null ? void 0 : a[n]) == null ? void 0 : o.body) || ((s = e == null ? void 0 : e.original) == null ? void 0 : s.body) || "";
6118
6119
  };
6119
6120
  let _g, bd = 0;
6120
6121
  const Z4 = () => {
@@ -25446,7 +25447,8 @@ function WR({
25446
25447
  user: d == null ? void 0 : d.user,
25447
25448
  body: n === tn.Courses ? _6({
25448
25449
  payload: (z = l == null ? void 0 : l.payload) == null ? void 0 : z.data,
25449
- locale: l == null ? void 0 : l.locale
25450
+ currentLocale: r,
25451
+ originalLocale: l == null ? void 0 : l.locale
25450
25452
  }) : T || "",
25451
25453
  locale: l == null ? void 0 : l.locale,
25452
25454
  createdAt: u,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "8.9.1",
3
+ "version": "8.9.2-re.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -49,4 +49,4 @@
49
49
  "turndown": "7.1.3",
50
50
  "unified": "11.0.4"
51
51
  }
52
- }
52
+ }