@yext/pages-components 1.2.1 → 1.2.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.
@@ -1,6 +1,6 @@
1
- import { jsxs as Er, jsx as Ir, Fragment as Tr } from "react/jsx-runtime";
1
+ import { jsxs as Er, jsx as Ir, Fragment as Tr } from "react/jsx-runtime.js";
2
2
  import "react";
3
- import { a as We, b as vt } from "./index-GeO8DZvj.js";
3
+ import { a as We, b as vt } from "./index-0El3OWzn.js";
4
4
  const Un = 9, Vn = 32;
5
5
  function Pr(e) {
6
6
  const n = String(e), t = /\r?\n|\r/g;
@@ -1437,7 +1437,7 @@ class Q extends Error {
1437
1437
  u && (l.place = u.position);
1438
1438
  }
1439
1439
  const a = l.place && "start" in l.place ? l.place.start : l.place;
1440
- this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = a ? a.column : void 0, this.fatal = void 0, this.file, this.message = i, this.line = a ? a.line : void 0, this.name = Ne(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "", this.actual, this.expected, this.note, this.url;
1440
+ this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = a ? a.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = a ? a.line : void 0, this.name = Ne(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
1441
1441
  }
1442
1442
  }
1443
1443
  Q.prototype.file = "";
@@ -1794,7 +1794,11 @@ function zn(e) {
1794
1794
  const n = "&" + e + ";";
1795
1795
  rt.innerHTML = n;
1796
1796
  const t = rt.textContent;
1797
- return t.charCodeAt(t.length - 1) === 59 && e !== "semi" || t === n ? !1 : t;
1797
+ return (
1798
+ // @ts-expect-error: TypeScript is wrong that `textContent` on elements can
1799
+ // yield `null`.
1800
+ t.charCodeAt(t.length - 1) === 59 && e !== "semi" || t === n ? !1 : t
1801
+ );
1798
1802
  }
1799
1803
  function se(e, n, t, r) {
1800
1804
  const i = e.length;
@@ -1,4 +1,4 @@
1
- import { A as e, K as t, W as o, e as i, f as r, k as c, n, Y as p, B as g, Z as u, C as h, a2 as m, D as l, E as S, G as d, _ as M, H as P, z as y, I as x, p as A, a0 as L, y as C, x as f, q as O, L as v, F as R, w as T, N as B, r as I, M as b, a1 as k, $ as D, t as H, Q as w, O as G, T as Q, R as z, U as E, V as F, P as U, X as V, S as W, l as j, d as q, o as J, J as K, u as N, v as X, j as Y, s as Z, i as _, m as $, h as aa } from "./index-GeO8DZvj.js";
1
+ import { A as e, K as t, W as o, e as i, f as r, k as c, n, Y as p, B as g, Z as u, C as h, a2 as m, D as l, E as S, G as d, _ as M, H as P, z as y, I as x, p as A, a0 as L, y as C, x as f, q as O, L as v, F as R, w as T, N as B, r as I, M as b, a1 as k, $ as D, t as H, Q as w, O as G, T as Q, R as z, U as E, V as F, P as U, X as V, S as W, l as j, d as q, o as J, J as K, u as N, v as X, j as Y, s as Z, i as _, m as $, h as aa } from "./index-0El3OWzn.js";
2
2
  export {
3
3
  e as Address,
4
4
  t as AddressSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yext/pages-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A React component library that supports Yext Pages development",
5
5
  "author": "sumo@yext.com",
6
6
  "license": "BSD-3-Clause",
@@ -54,6 +54,7 @@
54
54
  "@types/google.maps": "^3.58.1",
55
55
  "@types/jest-image-snapshot": "^6.4.0",
56
56
  "@types/leaflet": "^1.9.12",
57
+ "@types/luxon": "^3.7.1",
57
58
  "@types/mapbox-gl": "^3.4.0",
58
59
  "@types/mdast": "3.0.10",
59
60
  "@types/node": "^20.10.4",
@@ -90,6 +91,7 @@
90
91
  "browser-or-node": "^3.0.0",
91
92
  "classnames": "^2.5.1",
92
93
  "lexical": "~0.38.2",
94
+ "luxon": "^3.7.2",
93
95
  "mdast-util-from-markdown": "1.2.0",
94
96
  "mdast-util-to-hast": "12.3.0",
95
97
  "micromark-util-chunked": "1.0.0",