@yext/visual-editor 1.4.4 → 1.4.5
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/dist/visual-editor.js +19 -15
- package/package.json +1 -1
package/dist/visual-editor.js
CHANGED
|
@@ -114702,7 +114702,7 @@ const YS = ({
|
|
|
114702
114702
|
},
|
|
114703
114703
|
constantValueEnabled: !1
|
|
114704
114704
|
}), d7e = (e) => typeof e == "object" && e !== null && ("field" in e || "constantValue" in e), fx = (e, n, t, a, r) => {
|
|
114705
|
-
const i = r?.HeadingSlot?.[0]?.props?.data?.text, l = d7e(i) ? i : {
|
|
114705
|
+
const i = r?.HeadingSlot?.[0]?.props?.data?.text, l = r?.HeadingSlot?.[0]?.props?.styles, o = r?.AddressSlot?.[0]?.props?.styles, c = r?.PhoneSlot?.[0]?.props?.styles, d = r?.HoursSlot?.[0]?.props?.styles, f = d7e(i) ? i : {
|
|
114706
114706
|
field: "",
|
|
114707
114707
|
constantValue: i ?? E3.constantValue,
|
|
114708
114708
|
constantValueEnabled: !0
|
|
@@ -114729,11 +114729,12 @@ const YS = ({
|
|
|
114729
114729
|
props: {
|
|
114730
114730
|
...e && { id: `${e}-heading` },
|
|
114731
114731
|
data: {
|
|
114732
|
-
text:
|
|
114732
|
+
text: f
|
|
114733
114733
|
},
|
|
114734
114734
|
styles: {
|
|
114735
|
-
|
|
114736
|
-
|
|
114735
|
+
...l,
|
|
114736
|
+
level: l?.level ?? 3,
|
|
114737
|
+
align: l?.align ?? "left"
|
|
114737
114738
|
}
|
|
114738
114739
|
}
|
|
114739
114740
|
}
|
|
@@ -114755,10 +114756,11 @@ const YS = ({
|
|
|
114755
114756
|
}
|
|
114756
114757
|
},
|
|
114757
114758
|
styles: {
|
|
114758
|
-
|
|
114759
|
-
|
|
114760
|
-
|
|
114761
|
-
|
|
114759
|
+
...o,
|
|
114760
|
+
showRegion: o?.showRegion ?? !0,
|
|
114761
|
+
showCountry: o?.showCountry ?? !0,
|
|
114762
|
+
showGetDirectionsLink: o?.showGetDirectionsLink ?? !1,
|
|
114763
|
+
ctaVariant: o?.ctaVariant ?? "link"
|
|
114762
114764
|
},
|
|
114763
114765
|
parentData: {
|
|
114764
114766
|
field: "profile.address"
|
|
@@ -114783,9 +114785,10 @@ const YS = ({
|
|
|
114783
114785
|
}
|
|
114784
114786
|
},
|
|
114785
114787
|
styles: {
|
|
114786
|
-
|
|
114787
|
-
|
|
114788
|
-
|
|
114788
|
+
...c,
|
|
114789
|
+
phoneFormat: c?.phoneFormat ?? "domestic",
|
|
114790
|
+
includePhoneHyperlink: c?.includePhoneHyperlink ?? !0,
|
|
114791
|
+
includeIcon: c?.includeIcon ?? !1
|
|
114789
114792
|
},
|
|
114790
114793
|
parentData: {
|
|
114791
114794
|
field: "profile.mainPhone"
|
|
@@ -114805,10 +114808,11 @@ const YS = ({
|
|
|
114805
114808
|
}
|
|
114806
114809
|
},
|
|
114807
114810
|
styles: {
|
|
114808
|
-
|
|
114809
|
-
|
|
114810
|
-
|
|
114811
|
-
|
|
114811
|
+
...d,
|
|
114812
|
+
dayOfWeekFormat: d?.dayOfWeekFormat ?? "long",
|
|
114813
|
+
showDayNames: d?.showDayNames ?? !0,
|
|
114814
|
+
showCurrentStatus: d?.showCurrentStatus ?? !0,
|
|
114815
|
+
className: d?.className ?? "mb-2 font-semibold font-body-fontFamily text-body-fontSize h-full"
|
|
114812
114816
|
},
|
|
114813
114817
|
parentData: {
|
|
114814
114818
|
field: "profile.hours"
|