@yext/visual-editor 0.0.42 → 0.0.43

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.
@@ -22185,7 +22185,7 @@ let oqe = class {
22185
22185
  }
22186
22186
  };
22187
22187
  const sqe = () => new oqe(), lqe = pe.createContext(null);
22188
- pe.lazy(() => import("./debugger-rlNxnZtt-B7lp2d5U.js"));
22188
+ pe.lazy(() => import("./debugger-rlNxnZtt-0yDbAQLD.js"));
22189
22189
  const cqe = pe.createContext({ name: "" }), uqe = () => pe.useContext(cqe).name;
22190
22190
  function dqe() {
22191
22191
  const e = pe.useContext(lqe);
@@ -49478,7 +49478,7 @@ function Ay(e) {
49478
49478
  [tl.Sunday]: "Sunday"
49479
49479
  }[e];
49480
49480
  }
49481
- class Sj {
49481
+ let Sj = class {
49482
49482
  /**
49483
49483
  * @param date - DateTime the DateTime for the day on which the interval starts
49484
49484
  * @param interval - the Yext Streams interval data
@@ -49548,8 +49548,7 @@ class Sj {
49548
49548
  const t = this.start.minute === 0 && this.start.hour === 0, n = this.end.minute === 0 && this.end.hour === 0, r = this.end.day - this.start.day === 1 || this.end.day === 1;
49549
49549
  return t && n && r;
49550
49550
  }
49551
- }
49552
- let WH = class {
49551
+ }, WH = class {
49553
49552
  /**
49554
49553
  * @param hours - Hours object in the format returned by Yext Streams
49555
49554
  */
@@ -103482,7 +103481,7 @@ var bst = function(e) {
103482
103481
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), xst(r, o, n, "aria-hidden")) : function() {
103483
103482
  return null;
103484
103483
  };
103485
- }, KA = "Dialog", [H8e, R$t] = fh(KA), [wst, Og] = H8e(KA), G8e = (e) => {
103484
+ }, KA = "Dialog", [H8e, P$t] = fh(KA), [wst, Og] = H8e(KA), G8e = (e) => {
103486
103485
  const {
103487
103486
  __scopeDialog: t,
103488
103487
  children: n,
@@ -103687,7 +103686,7 @@ Ost.displayName = eje;
103687
103686
  function vI(e) {
103688
103687
  return e ? "open" : "closed";
103689
103688
  }
103690
- var tje = "DialogTitleWarning", [P$t, nje] = M8e(tje, {
103689
+ var tje = "DialogTitleWarning", [I$t, nje] = M8e(tje, {
103691
103690
  contentName: z_,
103692
103691
  titleName: yI,
103693
103692
  docsSlug: "dialog"
@@ -105891,7 +105890,7 @@ var qje = Bje, OI = Vje, Yje = Wje, Zje = Gje, hct = "Portal", LI = pe.forwardRe
105891
105890
  return a ? rT.createPortal(/* @__PURE__ */ qe.jsx(ws.div, { ...o, ref: t }), a) : null;
105892
105891
  });
105893
105892
  LI.displayName = hct;
105894
- var eM = "Popover", [Xje, I$t] = fh(eM, [
105893
+ var eM = "Popover", [Xje, $$t] = fh(eM, [
105895
105894
  QA
105896
105895
  ]), xT = QA(), [pct, ub] = Xje(eM), Jje = (e) => {
105897
105896
  const {
@@ -106485,7 +106484,7 @@ const Act = ({
106485
106484
  }
106486
106485
  };
106487
106486
  pe.createContext(null);
106488
- var RI = "Progress", PI = 100, [Kct, $$t] = fh(RI), [qct, Yct] = Kct(RI), c9e = pe.forwardRef(
106487
+ var RI = "Progress", PI = 100, [Kct, F$t] = fh(RI), [qct, Yct] = Kct(RI), c9e = pe.forwardRef(
106489
106488
  (e, t) => {
106490
106489
  const {
106491
106490
  __scopeProgress: n,
@@ -107389,7 +107388,7 @@ var Xut = Object.freeze({
107389
107388
  )
107390
107389
  );
107391
107390
  b9e.displayName = Jut;
107392
- var Qut = b9e, [tM, F$t] = fh("Tooltip", [
107391
+ var Qut = b9e, [tM, z$t] = fh("Tooltip", [
107393
107392
  QA
107394
107393
  ]), nM = QA(), _9e = "TooltipProvider", edt = 700, nR = "tooltip.open", [tdt, II] = tM(_9e), x9e = (e) => {
107395
107394
  const {
@@ -107506,7 +107505,7 @@ var rR = "TooltipTrigger", S9e = pe.forwardRef(
107506
107505
  }
107507
107506
  );
107508
107507
  S9e.displayName = rR;
107509
- var rdt = "TooltipPortal", [z$t, idt] = tM(rdt, {
107508
+ var rdt = "TooltipPortal", [j$t, idt] = tM(rdt, {
107510
107509
  forceMount: void 0
107511
107510
  }), mw = "TooltipContent", k9e = pe.forwardRef(
107512
107511
  (e, t) => {
@@ -107803,7 +107802,7 @@ function Edt(e) {
107803
107802
  const t = pe.useRef({ value: e, previous: e });
107804
107803
  return pe.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
107805
107804
  }
107806
- var iM = "Switch", [Ndt, j$t] = fh(iM), [Adt, Mdt] = Ndt(iM), D9e = pe.forwardRef(
107805
+ var iM = "Switch", [Ndt, B$t] = fh(iM), [Adt, Mdt] = Ndt(iM), D9e = pe.forwardRef(
107807
107806
  (e, t) => {
107808
107807
  const {
107809
107808
  __scopeSwitch: n,
@@ -107941,7 +107940,7 @@ const z9e = pe.forwardRef(({ className: e, icon: t, ...n }, r) => /* @__PURE__ *
107941
107940
  }
107942
107941
  ));
107943
107942
  z9e.displayName = F9e.displayName;
107944
- var j9e = "Dialog", [B9e, U9e] = fh(j9e), [B$t, Lg] = B9e(j9e), V9e = "DialogTrigger", W9e = pe.forwardRef(
107943
+ var j9e = "Dialog", [B9e, U9e] = fh(j9e), [U$t, Lg] = B9e(j9e), V9e = "DialogTrigger", W9e = pe.forwardRef(
107945
107944
  (e, t) => {
107946
107945
  const { __scopeDialog: n, ...r } = e, o = Lg(V9e, n), d = $o(t, o.triggerRef);
107947
107946
  return /* @__PURE__ */ qe.jsx(
@@ -108134,7 +108133,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
108134
108133
  const o = (r = e.current) == null ? void 0 : r.getAttribute("aria-describedby");
108135
108134
  t && o && (document.getElementById(t) || console.warn(n));
108136
108135
  }, [n, e, t]), null;
108137
- }, Udt = W9e, Vdt = G9e, Wdt = K9e, Hdt = q9e, Gdt = Z9e, Kdt = J9e, r7e = e7e, qdt = "AlertDialog", [Ydt, U$t] = fh(qdt, [
108136
+ }, Udt = W9e, Vdt = G9e, Wdt = K9e, Hdt = q9e, Gdt = Z9e, Kdt = J9e, r7e = e7e, qdt = "AlertDialog", [Ydt, V$t] = fh(qdt, [
108138
108137
  U9e
108139
108138
  ]), db = U9e(), Zdt = "AlertDialogTrigger", Xdt = pe.forwardRef(
108140
108139
  (e, t) => {
@@ -125632,7 +125631,7 @@ function JUe(e) {
125632
125631
  const t = pe.useContext(aRt);
125633
125632
  return e || t || "ltr";
125634
125633
  }
125635
- var Ig = "Accordion", oRt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [H$, sRt, lRt] = J4t(Ig), [OM, V$t] = fh(Ig, [
125634
+ var Ig = "Accordion", oRt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [H$, sRt, lRt] = J4t(Ig), [OM, W$t] = fh(Ig, [
125636
125635
  lRt,
125637
125636
  KUe
125638
125637
  ]), G$ = KUe(), cRt = He.forwardRef(
@@ -127089,7 +127088,7 @@ var lPt = "Arrow", yVe = pe.forwardRef((e, t) => {
127089
127088
  );
127090
127089
  });
127091
127090
  yVe.displayName = lPt;
127092
- var cPt = yVe, vVe = "Popper", [bVe, _Ve] = fh(vVe), [W$t, xVe] = bVe(vVe), wVe = "PopperAnchor", SVe = pe.forwardRef(
127091
+ var cPt = yVe, vVe = "Popper", [bVe, _Ve] = fh(vVe), [H$t, xVe] = bVe(vVe), wVe = "PopperAnchor", SVe = pe.forwardRef(
127093
127092
  (e, t) => {
127094
127093
  const { __scopePopper: n, virtualRef: r, ...o } = e, d = xVe(wVe, n), h = pe.useRef(null), a = $o(t, h);
127095
127094
  return pe.useEffect(() => {
@@ -127455,14 +127454,14 @@ var NPt = MVe, APt = LVe, KR = ["Enter", " "], MPt = ["ArrowDown", "PageUp", "Ho
127455
127454
  PPt,
127456
127455
  _Ve,
127457
127456
  AVe
127458
- ]), Y$ = _Ve(), IVe = AVe(), [H$t, Kw] = ex(DM), [G$t, DT] = ex(DM), IPt = "MenuAnchor", Z$ = pe.forwardRef(
127457
+ ]), Y$ = _Ve(), IVe = AVe(), [G$t, Kw] = ex(DM), [K$t, DT] = ex(DM), IPt = "MenuAnchor", Z$ = pe.forwardRef(
127459
127458
  (e, t) => {
127460
127459
  const { __scopeMenu: n, ...r } = e, o = Y$(n);
127461
127460
  return /* @__PURE__ */ qe.jsx(mPt, { ...o, ...r, ref: t });
127462
127461
  }
127463
127462
  );
127464
127463
  Z$.displayName = IPt;
127465
- var $Pt = "MenuPortal", [K$t, $Ve] = ex($Pt, {
127464
+ var $Pt = "MenuPortal", [q$t, $Ve] = ex($Pt, {
127466
127465
  forceMount: void 0
127467
127466
  }), Mm = "MenuContent", [FPt, X$] = ex(Mm), FVe = pe.forwardRef(
127468
127467
  (e, t) => {
@@ -127829,7 +127828,7 @@ var YPt = "MenuArrow", YVe = pe.forwardRef(
127829
127828
  }
127830
127829
  );
127831
127830
  YVe.displayName = YPt;
127832
- var ZPt = "MenuSub", [q$t, ZVe] = ex(ZPt), xC = "MenuSubTrigger", XVe = pe.forwardRef(
127831
+ var ZPt = "MenuSub", [Y$t, ZVe] = ex(ZPt), xC = "MenuSubTrigger", XVe = pe.forwardRef(
127833
127832
  (e, t) => {
127834
127833
  const n = Kw(xC, e.__scopeMenu), r = DT(xC, e.__scopeMenu), o = ZVe(xC, e.__scopeMenu), d = X$(xC, e.__scopeMenu), h = pe.useRef(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: v } = d, S = { __scopeMenu: e.__scopeMenu }, T = pe.useCallback(() => {
127835
127834
  h.current && window.clearTimeout(h.current), h.current = null;
@@ -127979,10 +127978,10 @@ function tIt(e, t) {
127979
127978
  function nT(e) {
127980
127979
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
127981
127980
  }
127982
- var nIt = Z$, rIt = FVe, iIt = Q$, aIt = zVe, oIt = RM, sIt = BVe, lIt = VVe, cIt = HVe, uIt = KVe, dIt = qVe, fIt = YVe, hIt = XVe, pIt = QVe, tWe = "DropdownMenu", [mIt, Y$t] = fh(
127981
+ var nIt = Z$, rIt = FVe, iIt = Q$, aIt = zVe, oIt = RM, sIt = BVe, lIt = VVe, cIt = HVe, uIt = KVe, dIt = qVe, fIt = YVe, hIt = XVe, pIt = QVe, tWe = "DropdownMenu", [mIt, Z$t] = fh(
127983
127982
  tWe,
127984
127983
  [PVe]
127985
- ), em = PVe(), [Z$t, nWe] = mIt(tWe), rWe = "DropdownMenuTrigger", gIt = pe.forwardRef(
127984
+ ), em = PVe(), [X$t, nWe] = mIt(tWe), rWe = "DropdownMenuTrigger", gIt = pe.forwardRef(
127986
127985
  (e, t) => {
127987
127986
  const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, d = nWe(rWe, n), h = em(n);
127988
127987
  return /* @__PURE__ */ qe.jsx(nIt, { asChild: !0, ...h, children: /* @__PURE__ */ qe.jsx(
@@ -128310,7 +128309,7 @@ const YD = {
128310
128309
  filepath: "src/templates/edit.tsx",
128311
128310
  content: LKe
128312
128311
  }
128313
- ], X$t = () => {
128312
+ ], J$t = () => {
128314
128313
  let e = !1;
128315
128314
  const t = [], n = () => {
128316
128315
  const o = { templates: [] };
@@ -128356,5 +128355,5 @@ export {
128356
128355
  TN as o,
128357
128356
  pe as r,
128358
128357
  sqe as s,
128359
- X$t as y
128358
+ J$t as y
128360
128359
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CggeIjYg.cjs");exports.yextVisualEditorPlugin=e.yextVisualEditorPlugin;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BspHgnfK.cjs");exports.yextVisualEditorPlugin=e.yextVisualEditorPlugin;
@@ -1,4 +1,4 @@
1
- import { y as r } from "./index-9ZCfHYQ2.js";
1
+ import { y as r } from "./index-Cs0QW4io.js";
2
2
  export {
3
3
  r as yextVisualEditorPlugin
4
4
  };