@yext/visual-editor 1.3.1 → 1.3.3

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.
Files changed (78) hide show
  1. package/dist/index.d.ts +17 -15
  2. package/dist/visual-editor-0EGuO8QI.js +217 -0
  3. package/dist/{visual-editor-7vSALGjy.js → visual-editor-3JX-GREb.js} +358 -353
  4. package/dist/{visual-editor-D82-lz1Z.js → visual-editor-3XhoO7Hk.js} +365 -360
  5. package/dist/visual-editor-3iTKEBc1.js +233 -0
  6. package/dist/{visual-editor--V9lpOdQ.js → visual-editor-85NY77A2.js} +328 -323
  7. package/dist/{visual-editor-wxp4XdK7.js → visual-editor-B0X5TpDc.js} +376 -371
  8. package/dist/{visual-editor-CcUxrEmW.js → visual-editor-B6bgp2UY.js} +346 -341
  9. package/dist/{visual-editor-BxipyhqK.js → visual-editor-B9VFc0Qc.js} +359 -354
  10. package/dist/visual-editor-BAeFT1JV.js +221 -0
  11. package/dist/visual-editor-BDNfUhzw.js +209 -0
  12. package/dist/visual-editor-BVLoT7bx.js +209 -0
  13. package/dist/visual-editor-B_fZcCKB.js +209 -0
  14. package/dist/visual-editor-BhEqlYQL.js +221 -0
  15. package/dist/visual-editor-BhFUhKeH.js +221 -0
  16. package/dist/visual-editor-BrqMuhdT.js +209 -0
  17. package/dist/visual-editor-BspssQb2.js +209 -0
  18. package/dist/visual-editor-BvqHCn-0.js +209 -0
  19. package/dist/{visual-editor-Dhwikbbo.js → visual-editor-C3l0T_LG.js} +354 -349
  20. package/dist/{visual-editor-HvwEt9l9.js → visual-editor-CN9sjto4.js} +349 -344
  21. package/dist/visual-editor-CaumaiPy.js +209 -0
  22. package/dist/{visual-editor-BqW0kFtH.js → visual-editor-CdsiO1f7.js} +335 -330
  23. package/dist/{visual-editor-5oxs3NFd.js → visual-editor-Ceoc3Wcz.js} +341 -336
  24. package/dist/{visual-editor-DQKWUV1_.js → visual-editor-ChLuXFXu.js} +336 -331
  25. package/dist/visual-editor-Ch_p1nP1.js +221 -0
  26. package/dist/{visual-editor-Ciee4Xnb.js → visual-editor-D7V-b6HD.js} +347 -342
  27. package/dist/{visual-editor-D0Ks0qrZ.js → visual-editor-DCnmT9g_.js} +349 -344
  28. package/dist/{visual-editor-juHGcVKA.js → visual-editor-DG-di6q_.js} +342 -337
  29. package/dist/{visual-editor-pU_zo9pR.js → visual-editor-DQppHXMQ.js} +327 -322
  30. package/dist/{visual-editor-BaGq-Smc.js → visual-editor-DTHajcVB.js} +360 -355
  31. package/dist/visual-editor-DZdxjeER.js +233 -0
  32. package/dist/visual-editor-DeLFvS1s.js +221 -0
  33. package/dist/{visual-editor-CuwDvf_M.js → visual-editor-DivyYlYp.js} +359 -354
  34. package/dist/visual-editor-Dq_9ymC0.js +209 -0
  35. package/dist/{visual-editor---M-bO0o.js → visual-editor-DsBz8yCO.js} +351 -346
  36. package/dist/visual-editor-Dv4lucKK.js +209 -0
  37. package/dist/{visual-editor-BLL67zpJ.js → visual-editor-DwxPY7Oi.js} +366 -361
  38. package/dist/{visual-editor-XlYwqmRv.js → visual-editor-DyEiXlgQ.js} +333 -328
  39. package/dist/visual-editor-DzOI0QIC.js +233 -0
  40. package/dist/{visual-editor-9sJlMmcv.js → visual-editor-NXC_KYxi.js} +370 -365
  41. package/dist/visual-editor-Pf2FdH_H.js +221 -0
  42. package/dist/{visual-editor-Q9syyMST.js → visual-editor-Ujfp7Vat.js} +333 -328
  43. package/dist/{visual-editor-D3TfZeVx.js → visual-editor-alSdkArd.js} +329 -324
  44. package/dist/{visual-editor-_gQ9ADDL.js → visual-editor-cAqP7zKR.js} +352 -347
  45. package/dist/visual-editor-fP0Ve6Sm.js +209 -0
  46. package/dist/visual-editor-fUmstd4J.js +209 -0
  47. package/dist/visual-editor-ktBQTWky.js +209 -0
  48. package/dist/visual-editor-o6eKrvO1.js +233 -0
  49. package/dist/visual-editor-sctWS0Bz.js +209 -0
  50. package/dist/visual-editor-tsJOAm0U.js +209 -0
  51. package/dist/{visual-editor-BzAZYoRj.js → visual-editor-w-nHIvQf.js} +353 -348
  52. package/dist/visual-editor.js +13031 -12916
  53. package/package.json +2 -2
  54. package/dist/visual-editor-2tz7_qb1.js +0 -205
  55. package/dist/visual-editor-4sBYqlfb.js +0 -217
  56. package/dist/visual-editor-B8JKoWlR.js +0 -229
  57. package/dist/visual-editor-BBqOijue.js +0 -205
  58. package/dist/visual-editor-BGd_8Pon.js +0 -205
  59. package/dist/visual-editor-BSw400VK.js +0 -213
  60. package/dist/visual-editor-BdMRND-6.js +0 -205
  61. package/dist/visual-editor-Bn1efHJx.js +0 -205
  62. package/dist/visual-editor-Buiak3nH.js +0 -229
  63. package/dist/visual-editor-C6RPqOyA.js +0 -217
  64. package/dist/visual-editor-CBFwIwkp.js +0 -205
  65. package/dist/visual-editor-CG9tYQOh.js +0 -205
  66. package/dist/visual-editor-COHzzbYf.js +0 -205
  67. package/dist/visual-editor-CZXxF7QB.js +0 -205
  68. package/dist/visual-editor-CkMu4pGG.js +0 -205
  69. package/dist/visual-editor-D0Jinm_U.js +0 -217
  70. package/dist/visual-editor-D0aMSxJb.js +0 -229
  71. package/dist/visual-editor-D4dfJCGq.js +0 -217
  72. package/dist/visual-editor-DC-6I5mi.js +0 -205
  73. package/dist/visual-editor-DP66DlA5.js +0 -205
  74. package/dist/visual-editor-DWuRLZUL.js +0 -217
  75. package/dist/visual-editor-DdwRAA-5.js +0 -217
  76. package/dist/visual-editor-DokmMQiS.js +0 -205
  77. package/dist/visual-editor-he4ii7AP.js +0 -205
  78. package/dist/visual-editor-yOUQNrKb.js +0 -229
package/dist/index.d.ts CHANGED
@@ -1812,6 +1812,7 @@ declare const VisibilityWrapper: React$1.FC<VisibilityWrapperProps>;
1812
1812
  interface HoursStatusAtomProps {
1813
1813
  hours: HoursType;
1814
1814
  className?: string;
1815
+ comingSoon?: boolean;
1815
1816
  showCurrentStatus?: boolean;
1816
1817
  showDayNames?: boolean;
1817
1818
  timeFormat?: "12h" | "24h";
@@ -1820,7 +1821,7 @@ interface HoursStatusAtomProps {
1820
1821
  boldCurrentStatus?: boolean;
1821
1822
  bodyVariant?: "lg" | "base" | "sm";
1822
1823
  }
1823
- declare const HoursStatusAtom: React$1.MemoExoticComponent<({ hours, className, showCurrentStatus, showDayNames, timeFormat, dayOfWeekFormat, timezone, boldCurrentStatus, bodyVariant, }: HoursStatusAtomProps) => any>;
1824
+ declare const HoursStatusAtom: React$1.MemoExoticComponent<({ hours, className, comingSoon, showCurrentStatus, showDayNames, timeFormat, dayOfWeekFormat, timezone, boldCurrentStatus, bodyVariant, }: HoursStatusAtomProps) => any>;
1824
1825
 
1825
1826
  declare enum TimestampOption {
1826
1827
  DATE = "DATE",
@@ -2088,6 +2089,7 @@ interface HoursStatusProps {
2088
2089
  parentData?: {
2089
2090
  field: string;
2090
2091
  hours?: HoursType;
2092
+ comingSoon?: boolean;
2091
2093
  timezone?: string;
2092
2094
  };
2093
2095
  }
@@ -2124,7 +2126,6 @@ interface ImageWrapperProps {
2124
2126
  declare const ImageWrapper: YextComponentConfig<ImageWrapperProps>;
2125
2127
 
2126
2128
  type MapboxStaticProps = {
2127
- apiKey: string;
2128
2129
  coordinate: YextEntityField<Coordinate$1>;
2129
2130
  mapStyle: string;
2130
2131
  zoom?: number;
@@ -3517,13 +3518,6 @@ interface TeamSectionProps {
3517
3518
  */
3518
3519
  declare const TeamSection: YextComponentConfig<TeamSectionProps>;
3519
3520
 
3520
- interface StaticMapData {
3521
- /**
3522
- * The API key used to generate the map image.
3523
- * @defaultValue ""
3524
- */
3525
- apiKey: string;
3526
- }
3527
3521
  interface StaticMapStyles {
3528
3522
  /**
3529
3523
  * The background color of the section.
@@ -3537,11 +3531,6 @@ interface StaticMapStyles {
3537
3531
  mapStyle: string;
3538
3532
  }
3539
3533
  interface StaticMapSectionProps {
3540
- /**
3541
- * This object contains the configuration needed to generate the map.
3542
- * @propCategory Data Props
3543
- */
3544
- data: StaticMapData;
3545
3534
  /**
3546
3535
  * If 'true', the component is visible on the live page; if 'false', it's hidden.
3547
3536
  * @defaultValue true
@@ -3554,7 +3543,9 @@ interface StaticMapSectionProps {
3554
3543
  styles: StaticMapStyles;
3555
3544
  }
3556
3545
  /**
3557
- * The Static Map Section displays a non-interactive map image of a business's location. It uses the entity's address or coordinates to generate the map and requires a valid API key from mapbox.
3546
+ * The Static Map Section displays a non-interactive map image of a business's location.
3547
+ * It uses the entity's address or coordinates to generate the map.
3548
+ *
3558
3549
  * Available on Location templates.
3559
3550
  */
3560
3551
  declare const StaticMapSection: YextComponentConfig<StaticMapSectionProps>;
@@ -3627,6 +3618,16 @@ interface ProfessionalHeroStyles {
3627
3618
  * @defaultValue true
3628
3619
  */
3629
3620
  showSubtitle?: boolean;
3621
+ /**
3622
+ * The horizontal alignment of the subtitle slot on mobile.
3623
+ * @defaultValue center
3624
+ */
3625
+ subtitleMobileAlignment: "left" | "center" | "right";
3626
+ /**
3627
+ * The horizontal alignment of the subtitle slot on desktop.
3628
+ * @defaultValue left
3629
+ */
3630
+ subtitleDesktopAlignment: "left" | "center" | "right";
3630
3631
  /**
3631
3632
  * Whether to show the business name slot.
3632
3633
  * @defaultValue true
@@ -6683,6 +6684,7 @@ type NearbyLocationDoc = {
6683
6684
  name?: string;
6684
6685
  /** The hours of the location */
6685
6686
  hours?: HoursType;
6687
+ comingSoon?: boolean;
6686
6688
  /** The address of the location */
6687
6689
  address?: AddressType;
6688
6690
  /** The timezone of the location */
@@ -0,0 +1,217 @@
1
+ const e = {
2
+ opensInNewTab: "{{label}} (tiek atvērta jaunā cilnē)"
3
+ }, o = "Izpētiet to pakalpojumā {{serviceName}}", t = "Lejupielādēt pakalpojumā {{serviceName}}", a = "Pieejams pakalpojumā {{serviceName}}", s = "Iegūstiet to pakalpojumā {{serviceName}}", n = "Rīvmaize", i = "Biznesa informācija", r = "Poga ar {{presetImageType}} ikonu", c = "Aicinājums uz darbību", l = "Aicinājums uz darbībām", u = "Notīrīt visu", m = "Tuvs", d = "Aizvērt galvenes izvēlni", k = "Aizvērt ēdienkarti", p = "Slēgts", h = "Tiek slēgts plkst. {{time}}", v = "Tiek slēgts plkst. {{time}} {{dayOfWeek}}", g = "Drīzumā", A = {
4
+ footerUtilityImagesSlot: {
5
+ defaultAlt: "Lietderības attēls {{number}}"
6
+ }
7
+ }, L = "Pamatinformācija", b = "Pielāgota meklēšanas zona", y = "Attālums", j = "Iespējot sīkfailus", z = "Paplašināta izvēlne", f = "Filtrs", _ = "Atrodiet atrašanās vietu", S = "Piektdiena", T = "Saņemt norādes", M = "Saņemiet norādes uz {{address}}", P = "Varoņu reklāmkarogs", I = "Varoņu galva", w = "Varoņa attēls", D = "Laiks", N = "Stundu sadaļa", W = "Informācijas sadaļa", H = "kilometrs", R = "kilometri", F = "kilometri", O = "Kartes ielāde ...", C = "Iekraušana tuvējo vietu ...", G = "{{count}} atrašanās vieta", x = "{{count}} vietas", B = "{{count}} atrašanās vietas", Y = '{{count}} atrašanās vieta netālu no "{{name}}"', V = '{{count}} atrašanās vietas netālu no "{{name}}"', q = '{{count}} atrašanās vietas netālu no "{{name}}"', K = '{{count}} atrašanās vieta {{distance}} {{unit}} rādiusā no "{{name}}"', U = '{{count}} atrašanās vietas {{distance}} {{unit}} rādiusā no "{{name}}"', E = '{{count}} atrašanās vietas {{distance}} {{unit}} rādiusā no "{{name}}"', X = "Logotips", J = "Karte", Q = "Šo karti var parādīt tikai tad, ja ir iespējoti sīkfaili", Z = "jūdze", $ = "jūdzes", ee = "jūdzes", oe = "Pirmdiena", te = "Šajā apgabalā nav atrasti rezultāti", ae = "Atveriet 24 stundas", se = "Atveriet galvenes izvēlni", ne = "Atvērta ēdienkarte", ie = "Atvērts tagad", re = "Tiek atvērts plkst. {{time}}", ce = "Tiek atvērts plkst. {{time}} {{dayOfWeek}}", le = "Telefons", ue = "Foto galerijas sadaļa", me = "Primārās galvenes saites", de = "Primārās galvenes saites (izvēlne)", ke = "Reklāmas reklāmkarogs", pe = "Promo Media", he = "Lasīt mazāk", ve = "Lasīt vairāk", ge = "Uzlabojiet meklēšanu", Ae = "Atkārtoti atvērt datumu", Le = "Atbilde no {{businessName}}", be = "Sestdiena", ye = "Meklēt šeit ...", je = "Meklējiet šo apgabalu", ze = "Sekundārās galvenes saites", fe = "Sekundārās galvenes saites (izvēlne)", _e = "Izvēlieties attālumu, kas mazāks par", Se = "Pakalpojumi", Te = "Pakalpojumu nodaļa", Me = "Rādīt mazāk", Pe = "Parādīt vairāk", Ie = "Rādīt vairāk atrašanās vietu", we = "Rādīt spraudītes {{number}} informāciju", De = "Rādīt spraudītes informāciju", Ne = {
8
+ facebook: "Sekojiet mums Facebook",
9
+ instagram: "Sekojiet mums Instagram",
10
+ linkedIn: "Sekojiet mums LinkedIn",
11
+ pinterest: "Sekojiet mums Pinterest",
12
+ tiktok: "Sekojiet mums TikTok",
13
+ xLink: "Sekojiet mums X (Twitter)",
14
+ youtube: "Abonējiet mūsu YouTube kanālu"
15
+ }, We = "Svētdiena", He = "Īslaicīgi slēgts", Re = "Ceturtdiena", Fe = "{{count}} atsauksme", Oe = "{{count}} atsauksmes", Ce = "{{count}} atsauksmes", Ge = "Otrdiena", xe = "Izmantojiet mūsu lokatoru, lai atrastu atrašanās vietu netālu no jums", Be = "Apmeklējuma lapa", Ye = "Apmeklējiet lapu {{name}}", Ve = "Trešdiena", qe = {
16
+ aria: e,
17
+ ariaLabelAppGallery: o,
18
+ ariaLabelAppStore: t,
19
+ ariaLabelGalaxyStore: a,
20
+ ariaLabelGooglePlay: s,
21
+ breadcrumb: n,
22
+ businessInformation: i,
23
+ buttonWithIcon: r,
24
+ callToAction: c,
25
+ callToActions: l,
26
+ clearAll: u,
27
+ close: m,
28
+ closeHeaderMenu: d,
29
+ closeMenu: k,
30
+ closed: p,
31
+ closesAtTime: h,
32
+ closesAtTimeWeek: v,
33
+ comingSoon: g,
34
+ components: A,
35
+ coreInfoSection: L,
36
+ customSearchArea: b,
37
+ distance: y,
38
+ enableCookies: j,
39
+ expandedMenu: z,
40
+ filter: f,
41
+ findALocation: _,
42
+ friday: S,
43
+ getDirections: T,
44
+ getDirectionsForLocation: M,
45
+ heroBanner: P,
46
+ heroHeader: I,
47
+ heroImage: w,
48
+ hours: D,
49
+ hoursSection: N,
50
+ informationSection: W,
51
+ kilometer_one: H,
52
+ kilometer_other: R,
53
+ kilometer_zero: F,
54
+ loadingMap: O,
55
+ loadingNearbyLocations: C,
56
+ locationWithCount_one: G,
57
+ locationWithCount_other: x,
58
+ locationWithCount_zero: B,
59
+ locationsNear_one: Y,
60
+ locationsNear_other: V,
61
+ locationsNear_zero: q,
62
+ locationsWithinDistanceOf_one: K,
63
+ locationsWithinDistanceOf_other: U,
64
+ locationsWithinDistanceOf_zero: E,
65
+ logo: X,
66
+ map: J,
67
+ mapRequiresOptIn: Q,
68
+ mile_one: Z,
69
+ mile_other: $,
70
+ mile_zero: ee,
71
+ monday: oe,
72
+ noResultsFoundForThisArea: te,
73
+ open24Hours: ae,
74
+ openHeaderMenu: se,
75
+ openMenu: ne,
76
+ openNow: ie,
77
+ opensAtTime: re,
78
+ opensAtTimeWeek: ce,
79
+ phone: le,
80
+ photoGallerySection: ue,
81
+ primaryHeaderLinks: me,
82
+ primaryHeaderLinksMenu: de,
83
+ promoBanner: ke,
84
+ promoMedia: pe,
85
+ readLess: he,
86
+ readMore: ve,
87
+ refineYourSearch: ge,
88
+ reopenDate: Ae,
89
+ responseFrom: Le,
90
+ saturday: be,
91
+ searchHere: ye,
92
+ searchThisArea: je,
93
+ secondaryHeaderLinks: ze,
94
+ secondaryHeaderLinksMenu: fe,
95
+ selectDistanceLessThan: _e,
96
+ services: Se,
97
+ servicesSection: Te,
98
+ showLess: Me,
99
+ showMore: Pe,
100
+ showMoreLocations: Ie,
101
+ showPinDetails: we,
102
+ showPinDetailsDefault: De,
103
+ socialLinks: Ne,
104
+ sunday: We,
105
+ temporarilyClosed: He,
106
+ thursday: Re,
107
+ totalReviews_one: Fe,
108
+ totalReviews_other: Oe,
109
+ totalReviews_zero: Ce,
110
+ tuesday: Ge,
111
+ useOurLocatorToFindALocationNearYou: xe,
112
+ visitPage: Be,
113
+ visitPageForName: Ye,
114
+ wednesday: Ve
115
+ };
116
+ export {
117
+ e as aria,
118
+ o as ariaLabelAppGallery,
119
+ t as ariaLabelAppStore,
120
+ a as ariaLabelGalaxyStore,
121
+ s as ariaLabelGooglePlay,
122
+ n as breadcrumb,
123
+ i as businessInformation,
124
+ r as buttonWithIcon,
125
+ c as callToAction,
126
+ l as callToActions,
127
+ u as clearAll,
128
+ m as close,
129
+ d as closeHeaderMenu,
130
+ k as closeMenu,
131
+ p as closed,
132
+ h as closesAtTime,
133
+ v as closesAtTimeWeek,
134
+ g as comingSoon,
135
+ A as components,
136
+ L as coreInfoSection,
137
+ b as customSearchArea,
138
+ qe as default,
139
+ y as distance,
140
+ j as enableCookies,
141
+ z as expandedMenu,
142
+ f as filter,
143
+ _ as findALocation,
144
+ S as friday,
145
+ T as getDirections,
146
+ M as getDirectionsForLocation,
147
+ P as heroBanner,
148
+ I as heroHeader,
149
+ w as heroImage,
150
+ D as hours,
151
+ N as hoursSection,
152
+ W as informationSection,
153
+ H as kilometer_one,
154
+ R as kilometer_other,
155
+ F as kilometer_zero,
156
+ O as loadingMap,
157
+ C as loadingNearbyLocations,
158
+ G as locationWithCount_one,
159
+ x as locationWithCount_other,
160
+ B as locationWithCount_zero,
161
+ Y as locationsNear_one,
162
+ V as locationsNear_other,
163
+ q as locationsNear_zero,
164
+ K as locationsWithinDistanceOf_one,
165
+ U as locationsWithinDistanceOf_other,
166
+ E as locationsWithinDistanceOf_zero,
167
+ X as logo,
168
+ J as map,
169
+ Q as mapRequiresOptIn,
170
+ Z as mile_one,
171
+ $ as mile_other,
172
+ ee as mile_zero,
173
+ oe as monday,
174
+ te as noResultsFoundForThisArea,
175
+ ae as open24Hours,
176
+ se as openHeaderMenu,
177
+ ne as openMenu,
178
+ ie as openNow,
179
+ re as opensAtTime,
180
+ ce as opensAtTimeWeek,
181
+ le as phone,
182
+ ue as photoGallerySection,
183
+ me as primaryHeaderLinks,
184
+ de as primaryHeaderLinksMenu,
185
+ ke as promoBanner,
186
+ pe as promoMedia,
187
+ he as readLess,
188
+ ve as readMore,
189
+ ge as refineYourSearch,
190
+ Ae as reopenDate,
191
+ Le as responseFrom,
192
+ be as saturday,
193
+ ye as searchHere,
194
+ je as searchThisArea,
195
+ ze as secondaryHeaderLinks,
196
+ fe as secondaryHeaderLinksMenu,
197
+ _e as selectDistanceLessThan,
198
+ Se as services,
199
+ Te as servicesSection,
200
+ Me as showLess,
201
+ Pe as showMore,
202
+ Ie as showMoreLocations,
203
+ we as showPinDetails,
204
+ De as showPinDetailsDefault,
205
+ Ne as socialLinks,
206
+ We as sunday,
207
+ He as temporarilyClosed,
208
+ Re as thursday,
209
+ Fe as totalReviews_one,
210
+ Oe as totalReviews_other,
211
+ Ce as totalReviews_zero,
212
+ Ge as tuesday,
213
+ xe as useOurLocatorToFindALocationNearYou,
214
+ Be as visitPage,
215
+ Ye as visitPageForName,
216
+ Ve as wednesday
217
+ };