@yext/visual-editor 0.0.49 → 0.0.50

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.
@@ -39826,7 +39826,7 @@ const SPe = sbe(g0e), lbe = {
39826
39826
  }
39827
39827
  ) })
39828
39828
  }, CPe = () => {
39829
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(
39829
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(
39830
39830
  v("title", "Title"),
39831
39831
  { types: ["type.string"] }
39832
39832
  ), []), i = mt(() => gr(
@@ -39905,7 +39905,7 @@ const SPe = sbe(g0e), lbe = {
39905
39905
  }
39906
39906
  ) })
39907
39907
  }, LPe = () => {
39908
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(
39908
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(
39909
39909
  v("name", "Name"),
39910
39910
  { types: ["type.string"] }
39911
39911
  ), []), i = mt(() => ct(
@@ -39978,7 +39978,7 @@ const SPe = sbe(g0e), lbe = {
39978
39978
  }
39979
39979
  ) })
39980
39980
  }, NPe = () => {
39981
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(
39981
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(
39982
39982
  v("fields.name", "Name"),
39983
39983
  { types: ["type.string"] }
39984
39984
  ), []), i = mt(() => ct(
@@ -40039,7 +40039,7 @@ const SPe = sbe(g0e), lbe = {
40039
40039
  }
40040
40040
  ) })
40041
40041
  }, PPe = () => {
40042
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(v("fields.question", "Question"), {
40042
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(v("fields.question", "Question"), {
40043
40043
  types: ["type.string"]
40044
40044
  }), []), i = mt(() => gr(v("fields.answer", "Answer")), []);
40045
40045
  return {
@@ -40088,7 +40088,7 @@ const SPe = sbe(g0e), lbe = {
40088
40088
  }
40089
40089
  ) })
40090
40090
  }, jPe = () => {
40091
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(
40091
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(
40092
40092
  v("fields.name", "Name"),
40093
40093
  { types: ["type.string"] }
40094
40094
  ), []), i = mt(() => ct(
@@ -40149,7 +40149,7 @@ const SPe = sbe(g0e), lbe = {
40149
40149
  }
40150
40150
  ) })
40151
40151
  }, RPe = () => {
40152
- const { t: e, i18n: t } = Zn(), { document: n } = ye(), a = mt(() => ct(
40152
+ const { t: e, i18n: t } = Zn(), n = ye(), a = mt(() => ct(
40153
40153
  v("fields.contributorName", "Contributor Name"),
40154
40154
  { types: ["type.string"] }
40155
40155
  ), []), i = mt(() => gr(
@@ -50809,7 +50809,7 @@ const Kye = ({
50809
50809
  sectionHeadingLevel: a,
50810
50810
  ctaVariant: i
50811
50811
  }) => {
50812
- const { i18n: o } = he(), { document: r } = ye();
50812
+ const { i18n: o } = he(), r = ye();
50813
50813
  return /* @__PURE__ */ c.jsxs(
50814
50814
  bt,
50815
50815
  {
@@ -52087,7 +52087,7 @@ const IKe = {
52087
52087
  sectionHeadingLevel: a,
52088
52088
  ctaVariant: i
52089
52089
  }) => {
52090
- const { i18n: o } = he(), { document: r } = ye();
52090
+ const { i18n: o } = he(), r = ye();
52091
52091
  return /* @__PURE__ */ c.jsxs(
52092
52092
  bt,
52093
52093
  {
@@ -57416,7 +57416,7 @@ const gQe = {
57416
57416
  const { primaryHeader: n, secondaryHeader: a } = e, {
57417
57417
  primaryHeader: i,
57418
57418
  secondaryHeader: o
57419
- } = t, { t: r } = he(), { document: s } = ye(), {
57419
+ } = t, { t: r } = he(), s = ye(), {
57420
57420
  logo: l,
57421
57421
  links: d,
57422
57422
  primaryCTA: u,
@@ -57616,7 +57616,7 @@ const gQe = {
57616
57616
  links: e,
57617
57617
  type: t = "Primary"
57618
57618
  }) => {
57619
- const { i18n: n } = he(), { document: a } = ye(), i = 5, o = t === "Secondary", r = (s, l, d) => /* @__PURE__ */ c.jsx(
57619
+ const { i18n: n } = he(), a = ye(), i = 5, o = t === "Secondary", r = (s, l, d) => /* @__PURE__ */ c.jsx(
57620
57620
  Xe,
57621
57621
  {
57622
57622
  variant: t === "Primary" ? "headerFooterMainLink" : "headerFooterSecondaryLink",
@@ -57658,7 +57658,7 @@ const gQe = {
57658
57658
  aspectRatio: e.aspectRatio || e.logo.image.width / e.logo.image.height
57659
57659
  }
57660
57660
  ) }) }), Dv = (e) => {
57661
- const { i18n: t } = he(), { document: n } = ye(), {
57661
+ const { i18n: t } = he(), n = ye(), {
57662
57662
  primaryCTA: a,
57663
57663
  secondaryCTA: i,
57664
57664
  primaryVariant: o,
@@ -59006,7 +59006,7 @@ const XQe = "https://placehold.co/100", QQe = {
59006
59006
  } = o, {
59007
59007
  backgroundColor: U,
59008
59008
  linksAlignment: ee
59009
- } = r, { i18n: Y } = he(), { document: re } = ye();
59009
+ } = r, { i18n: Y } = he(), re = ye();
59010
59010
  return /* @__PURE__ */ c.jsxs(bt, { className: "mt-auto", ref: n.dragRef, as: "footer", children: [
59011
59011
  /* @__PURE__ */ c.jsxs(
59012
59012
  De,
@@ -59174,7 +59174,7 @@ const XQe = "https://placehold.co/100", QQe = {
59174
59174
  links: e,
59175
59175
  type: t = "Primary"
59176
59176
  }) => {
59177
- const { i18n: n } = he(), { document: a } = ye();
59177
+ const { i18n: n } = he(), a = ye();
59178
59178
  return /* @__PURE__ */ c.jsx(
59179
59179
  "ul",
59180
59180
  {
@@ -59200,7 +59200,7 @@ const XQe = "https://placehold.co/100", QQe = {
59200
59200
  links: e,
59201
59201
  label: t
59202
59202
  }) => {
59203
- const { i18n: n } = he(), { document: a } = ye();
59203
+ const { i18n: n } = he(), a = ye();
59204
59204
  return /* @__PURE__ */ c.jsxs("ul", { className: "flex flex-col items-center md:items-start gap-4 w-full", children: [
59205
59205
  /* @__PURE__ */ c.jsx("li", { className: "w-full", children: /* @__PURE__ */ c.jsx(tt, { className: "break-words", children: t }) }),
59206
59206
  e.map((i, o) => /* @__PURE__ */ c.jsx("li", { className: "w-full", children: /* @__PURE__ */ c.jsx(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yext/visual-editor",
3
3
  "description": "Component library for Yext Pages Visual Editor",
4
- "version": "0.0.49",
4
+ "version": "0.0.50",
5
5
  "type": "module",
6
6
  "author": "sumo@yext.com",
7
7
  "types": "dist/index.d.ts",