@yext/visual-editor 1.1.0-alpha.5 → 1.1.0-alpha.7

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 (79) hide show
  1. package/dist/editor.css +1 -1
  2. package/dist/index.d.ts +111 -11
  3. package/dist/plugin/plugin.js +321 -983
  4. package/dist/style.css +1 -1
  5. package/dist/visual-editor-B1g1zuGA.js +197 -0
  6. package/dist/{visual-editor-lg5ZsjR9.js → visual-editor-BFsjt8TD.js} +408 -368
  7. package/dist/{visual-editor-D7cewNBM.js → visual-editor-BOySOT3m.js} +426 -386
  8. package/dist/{visual-editor-ubhd-KyU.js → visual-editor-BS26FK6Q.js} +395 -355
  9. package/dist/visual-editor-BYS2Ltqo.js +197 -0
  10. package/dist/visual-editor-BZsYFw5Y.js +197 -0
  11. package/dist/visual-editor-B_hM9xz0.js +197 -0
  12. package/dist/{visual-editor-2APozeFg.js → visual-editor-BbYiBO1j.js} +403 -363
  13. package/dist/{visual-editor-CQfyX6WR.js → visual-editor-Bja7GuOa.js} +407 -367
  14. package/dist/visual-editor-Bqbe9eY3.js +209 -0
  15. package/dist/{visual-editor-XbqxT8ql.js → visual-editor-Brfv6AWa.js} +409 -369
  16. package/dist/visual-editor-BtG64Fhc.js +209 -0
  17. package/dist/{visual-editor-elwsOlLc.js → visual-editor-BvrlRFeN.js} +418 -378
  18. package/dist/{visual-editor-oUZKgy02.js → visual-editor-BwKGSuIF.js} +407 -367
  19. package/dist/visual-editor-Bz2F1AP3.js +209 -0
  20. package/dist/visual-editor-CB6pY2S6.js +197 -0
  21. package/dist/{visual-editor-Diwd4zcr.js → visual-editor-CBBGlwhT.js} +401 -361
  22. package/dist/visual-editor-CC6NDyDt.js +197 -0
  23. package/dist/visual-editor-CG5u_8Wq.js +209 -0
  24. package/dist/visual-editor-CGQpxjE0.js +197 -0
  25. package/dist/visual-editor-CJtwiWfR.js +209 -0
  26. package/dist/{visual-editor-BiCeftd3.js → visual-editor-CMGuJl5_.js} +399 -359
  27. package/dist/{visual-editor-DbUB40ph.js → visual-editor-CVGBMM0p.js} +400 -360
  28. package/dist/{visual-editor-CbTNXujd.js → visual-editor-C_G0suXC.js} +415 -375
  29. package/dist/visual-editor-Ce7thgPY.js +221 -0
  30. package/dist/{visual-editor-BC7HlBkl.js → visual-editor-D3SxKC9N.js} +401 -361
  31. package/dist/{visual-editor-BMJo-2Dx.js → visual-editor-DFEHwWva.js} +409 -373
  32. package/dist/visual-editor-DIVmTakP.js +197 -0
  33. package/dist/visual-editor-DL3JgtH-.js +197 -0
  34. package/dist/visual-editor-DMc0Aka2.js +197 -0
  35. package/dist/{visual-editor-Dvt9Cdlc.js → visual-editor-DUEVobuF.js} +417 -377
  36. package/dist/visual-editor-DWw0LdJe.js +209 -0
  37. package/dist/visual-editor-DYkTM2vr.js +197 -0
  38. package/dist/{visual-editor-B-cxn9Zo.js → visual-editor-DeyY5NiX.js} +422 -382
  39. package/dist/{visual-editor-CaEMvyVi.js → visual-editor-Df1NSOm2.js} +397 -357
  40. package/dist/{visual-editor-Bs2lEgS2.js → visual-editor-DgF3siln.js} +405 -365
  41. package/dist/{visual-editor-ByOvY1Wy.js → visual-editor-DhuvBmZm.js} +404 -364
  42. package/dist/{visual-editor-DBE_-hVM.js → visual-editor-Dnj8SqSC.js} +409 -369
  43. package/dist/visual-editor-DwTwZYAH.js +221 -0
  44. package/dist/{visual-editor-DeC-frRl.js → visual-editor-E1Pmt2Sb.js} +421 -381
  45. package/dist/visual-editor-HYr72_rc.js +197 -0
  46. package/dist/{visual-editor-DlyU_6p9.js → visual-editor-IIXyBUza.js} +396 -356
  47. package/dist/visual-editor-Pb1OBn4r.js +197 -0
  48. package/dist/visual-editor-YRVOkD4u.js +221 -0
  49. package/dist/visual-editor-YiQJ3Exb.js +221 -0
  50. package/dist/{visual-editor-43vng_Qf.js → visual-editor-jAddRY8-.js} +415 -375
  51. package/dist/{visual-editor-fQcDUXRH.js → visual-editor-lnqTjhgN.js} +404 -364
  52. package/dist/visual-editor-oB2xWu3p.js +197 -0
  53. package/dist/{visual-editor-ilT5eJgq.js → visual-editor-z06FEVPk.js} +432 -392
  54. package/dist/visual-editor.js +18688 -17540
  55. package/package.json +4 -3
  56. package/dist/visual-editor-6brnk1dc.js +0 -193
  57. package/dist/visual-editor-BA7dQAHX.js +0 -193
  58. package/dist/visual-editor-BK2pmoC4.js +0 -193
  59. package/dist/visual-editor-BN7ZE3Ob.js +0 -205
  60. package/dist/visual-editor-BTpekLd4.js +0 -205
  61. package/dist/visual-editor-Bctil6we.js +0 -193
  62. package/dist/visual-editor-Bip0ocIS.js +0 -193
  63. package/dist/visual-editor-C26VZrLz.js +0 -193
  64. package/dist/visual-editor-C3Oq114H.js +0 -205
  65. package/dist/visual-editor-CEkiOT-U.js +0 -193
  66. package/dist/visual-editor-CQdNePf4.js +0 -205
  67. package/dist/visual-editor-CQuxAKah.js +0 -205
  68. package/dist/visual-editor-CTL6UoZK.js +0 -217
  69. package/dist/visual-editor-CYxri0B-.js +0 -193
  70. package/dist/visual-editor-D9stmAYr.js +0 -193
  71. package/dist/visual-editor-DKfXnNUa.js +0 -217
  72. package/dist/visual-editor-DTLe23pu.js +0 -193
  73. package/dist/visual-editor-DbEdIUAy.js +0 -217
  74. package/dist/visual-editor-DkF8PTV4.js +0 -217
  75. package/dist/visual-editor-Dnl0sbuA.js +0 -205
  76. package/dist/visual-editor-DpFmrzKq.js +0 -193
  77. package/dist/visual-editor-DsUDDDXe.js +0 -193
  78. package/dist/visual-editor-MjwOnPGF.js +0 -193
  79. package/dist/visual-editor-uzAZ4PTA.js +0 -193
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Config, Data, DefaultComponentProps, DefaultRootProps, Field, Component
11
11
  import * as class_variance_authority_types from 'class-variance-authority/types';
12
12
  import { VariantProps } from 'class-variance-authority';
13
13
  import * as _yext_search_headless_react from '@yext/search-headless-react';
14
- import { SearchAnalyticsConfig, CardProps, Coordinate as Coordinate$1 } from '@yext/search-ui-react';
14
+ import { SearchAnalyticsConfig, Coordinate as Coordinate$1, CardProps } from '@yext/search-ui-react';
15
15
  import * as TogglePrimitive from '@radix-ui/react-toggle';
16
16
 
17
17
  declare const usePlatformBridgeDocument: () => any;
@@ -55,6 +55,7 @@ type StreamDocument = {
55
55
  };
56
56
  };
57
57
  __certified_facts?: any;
58
+ _pageset?: string;
58
59
  __?: {
59
60
  pathInfo?: PathInfoShape;
60
61
  layout?: string;
@@ -64,6 +65,7 @@ type StreamDocument = {
64
65
  visualEditorConfig?: string;
65
66
  isPrimaryLocale?: boolean;
66
67
  entityPageSetUrlTemplates?: string;
68
+ locatorSourcePageSets?: string;
67
69
  };
68
70
  };
69
71
  type PathInfoShape = {
@@ -108,6 +110,7 @@ type ComboboxOption = {
108
110
  label: string;
109
111
  value: any;
110
112
  color?: string;
113
+ icon?: string;
111
114
  };
112
115
  type ComboboxOptionGroup = {
113
116
  title?: string;
@@ -164,11 +167,14 @@ type AssetImageType = Omit<ImageType, "alternateText"> & {
164
167
  assetImage?: ImageContentData;
165
168
  };
166
169
  type LocalizedAssetImage = {
167
- hasLocalizedValue: "true";
170
+ hasLocalizedValue?: "true";
171
+ defaultValue?: AssetImageType;
168
172
  } & {
169
- [key: string]: AssetImageType | undefined;
173
+ [locale: string]: AssetImageType | undefined;
170
174
  };
171
175
  type TranslatableAssetImage = AssetImageType | LocalizedAssetImage;
176
+ declare const isLocalizedAssetImage: (value: unknown) => value is LocalizedAssetImage;
177
+ declare const resolveLocalizedAssetImage: (value: TranslatableAssetImage | ImageType | undefined, locale: string) => AssetImageType | undefined;
172
178
 
173
179
  type Video$1 = {
174
180
  /** The YouTube video URL */
@@ -202,6 +208,8 @@ type TranslatableCTA = Omit<CTA$1, "label" | "link"> & {
202
208
  label: TranslatableString;
203
209
  /** The link the for the CTA */
204
210
  link: TranslatableString;
211
+ /** Whether the link should be normalized before rendering */
212
+ normalizeLink?: boolean;
205
213
  openInNewTab?: boolean;
206
214
  };
207
215
  /** Enhanced CTA options */
@@ -372,8 +380,9 @@ type PersonStruct = {
372
380
  };
373
381
  /** Represents a translatable string. The key is the locale (en, es, fr), and the value is the localized string. */
374
382
  type LocalizedValues = {
375
- hasLocalizedValue: "true";
376
- } & Record<string, string>;
383
+ hasLocalizedValue?: "true";
384
+ defaultValue?: string;
385
+ } & Record<string, string | undefined>;
377
386
  /**
378
387
  * A string that can be translated for different locales.
379
388
  * @ai This should always be the LocalizedValues type
@@ -383,7 +392,10 @@ type TranslatableString = string | LocalizedValues;
383
392
  * Rich text that can be translated for different locales.
384
393
  * @ai This should always be Record<string, RichText>
385
394
  */
386
- type TranslatableRichText = (string | RichText) | Record<string, string | RichText>;
395
+ type TranslatableRichText = (string | RichText) | ({
396
+ hasLocalizedValue?: "true";
397
+ defaultValue?: string | RichText;
398
+ } & Record<string, string | RichText | undefined>);
387
399
  /**
388
400
  * A rich text object with HTML and JSON (LexicalRichText) representations.
389
401
  * The HTML representation is used on the live page.
@@ -1234,6 +1246,7 @@ type CTAProps = {
1234
1246
  actionType?: "link" | "button";
1235
1247
  link?: string;
1236
1248
  linkType?: LinkType;
1249
+ normalizeLink: boolean;
1237
1250
  presetImageType?: PresetImageType;
1238
1251
  id?: string;
1239
1252
  dataAttributes?: Record<`data-${string}`, string>;
@@ -1295,6 +1308,7 @@ interface ImageProps {
1295
1308
  * Defaults to the stream document if not provided.
1296
1309
  */
1297
1310
  streamDocumentOverride?: Record<string, any>;
1311
+ style?: React.CSSProperties;
1298
1312
  }
1299
1313
  declare const Image: React.FC<ImageProps>;
1300
1314
  type ImgSizesByBreakpoint = {
@@ -1465,6 +1479,16 @@ interface AddressProps {
1465
1479
  address: YextEntityField<AddressType>;
1466
1480
  };
1467
1481
  styles: {
1482
+ /**
1483
+ * Whether to include the region in the Address
1484
+ * @defaultValue true
1485
+ */
1486
+ showRegion?: boolean;
1487
+ /**
1488
+ * Whether to include the country in the Address
1489
+ * @defaultValue false
1490
+ */
1491
+ showCountry?: boolean;
1468
1492
  /** Whether to include a "Get Directions" CTA to Google Maps */
1469
1493
  showGetDirectionsLink: boolean;
1470
1494
  /** The variant of the get directions button */
@@ -1514,6 +1538,8 @@ interface CTAWrapperProps {
1514
1538
  show?: boolean;
1515
1539
  /** Whether CTA renders as a link or a button */
1516
1540
  actionType?: "link" | "button";
1541
+ /** Whether CTA links should be normalized before rendering */
1542
+ normalizeLink: boolean;
1517
1543
  /** The call to action to display */
1518
1544
  entityField: YextEntityField<EnhancedTranslatableCTA>;
1519
1545
  /** Static text for the button label */
@@ -1737,6 +1763,8 @@ declare const TextList: ComponentConfig<{
1737
1763
  type BasicCTAProps = {
1738
1764
  /** The CTA entity field or static value */
1739
1765
  entityField: CTAWrapperProps["data"]["entityField"];
1766
+ /** Whether CTA links should be normalized before rendering */
1767
+ normalizeLink: boolean;
1740
1768
  /** The visual style of the CTA. */
1741
1769
  variant: CTAVariant;
1742
1770
  /** The image to use if the CTA is set to preset image */
@@ -2529,7 +2557,12 @@ declare const DirectoryCategoryComponents: {
2529
2557
  };
2530
2558
  declare const DirectoryCategory: (keyof DirectoryCategoryProps)[];
2531
2559
 
2560
+ declare const LOCATOR_ENTITY_TYPES: readonly ["location", "healthcareProfessional", "healthcareFacility", "event", "atm", "restaurant", "hotel", "providerFacility", "financialProfessional"];
2561
+ type LocatorEntityType = (typeof LOCATOR_ENTITY_TYPES)[number];
2562
+
2532
2563
  interface LocatorResultCardProps {
2564
+ /** The entity type this result card applies to. */
2565
+ entityType: LocatorEntityType;
2533
2566
  /** Settings for the main heading of the card */
2534
2567
  primaryHeading: {
2535
2568
  /**
@@ -2588,6 +2621,16 @@ interface LocatorResultCardProps {
2588
2621
  };
2589
2622
  /** Settings for the address block */
2590
2623
  address: {
2624
+ /**
2625
+ * Whether to include the region in the Address
2626
+ * @defaultValue true
2627
+ */
2628
+ showRegion?: boolean;
2629
+ /**
2630
+ * Whether to include the country in the Address
2631
+ * @defaultValue false
2632
+ */
2633
+ showCountry?: boolean;
2591
2634
  /** Whether to show the "Get Directions" link */
2592
2635
  showGetDirectionsLink: boolean;
2593
2636
  /** Whether the address block is visible in live mode */
@@ -2633,10 +2676,14 @@ interface LocatorResultCardProps {
2633
2676
  primaryCTA: {
2634
2677
  /** Label for the primary CTA */
2635
2678
  label: TranslatableString;
2679
+ /** Whether the primary CTA link should be normalized before rendering */
2680
+ normalizeLink: boolean;
2636
2681
  /** The variant for the primary CTA */
2637
2682
  variant: CTAVariant;
2638
2683
  /** Whether the primary CTA is visible in live mode */
2639
2684
  liveVisibility: boolean;
2685
+ /** Static URL to use for primary CTA when an entity page URL is not found */
2686
+ link?: TranslatableString;
2640
2687
  };
2641
2688
  /** Settings for the secondary CTA */
2642
2689
  secondaryCTA: {
@@ -2644,6 +2691,8 @@ interface LocatorResultCardProps {
2644
2691
  label: TranslatableString;
2645
2692
  /** Template for the secondary CTA link, which can contain entity field references */
2646
2693
  link: TranslatableString;
2694
+ /** Whether the secondary CTA link should be normalized before rendering */
2695
+ normalizeLink: boolean;
2647
2696
  /** The variant for the secondary CTA */
2648
2697
  variant: CTAVariant;
2649
2698
  /** Whether the secondary CTA is visible in live mode */
@@ -2661,6 +2710,7 @@ interface LocatorResultCardProps {
2661
2710
  liveVisibility: boolean;
2662
2711
  };
2663
2712
  }
2713
+ type DistanceDisplayOption = "distanceFromUser" | "distanceFromSearch" | "hidden";
2664
2714
  interface Location {
2665
2715
  address: AddressType;
2666
2716
  hours?: HoursType;
@@ -2675,9 +2725,11 @@ interface Location {
2675
2725
  ref_listings?: ListingType[];
2676
2726
  [key: string]: any;
2677
2727
  }
2678
- declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, }: {
2728
+ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, distanceDisplay, isSelected, }: {
2679
2729
  result: CardProps<Location>["result"];
2680
2730
  resultCardProps: LocatorResultCardProps;
2731
+ distanceDisplay?: DistanceDisplayOption;
2732
+ isSelected?: boolean;
2681
2733
  }) => React__default.JSX.Element>;
2682
2734
 
2683
2735
  interface LocatorProps {
@@ -2686,6 +2738,23 @@ interface LocatorProps {
2686
2738
  * @defaultValue 'mapbox://styles/mapbox/streets-v12'
2687
2739
  */
2688
2740
  mapStyle?: string;
2741
+ /**
2742
+ * Props to customize the locator map pin styles.
2743
+ * Controls map pin appearance depending on the result's entity type.
2744
+ * The number of entries is locked to the locator entity types for the page set.
2745
+ */
2746
+ locationStyles: Array<{
2747
+ /** The entity type this style applies to. */
2748
+ entityType: LocatorEntityType;
2749
+ /** Whether to render an icon in the pin. */
2750
+ pinIcon?: {
2751
+ type: "none" | "icon";
2752
+ /** Defaults to the first available Maki icon when type is 'icon'. */
2753
+ iconName?: string;
2754
+ };
2755
+ /** The color applied to the pin. */
2756
+ pinColor?: BackgroundStyle;
2757
+ }>;
2689
2758
  /**
2690
2759
  * Configuration for the filters available in the locator search experience.
2691
2760
  */
@@ -2726,9 +2795,15 @@ interface LocatorProps {
2726
2795
  };
2727
2796
  /**
2728
2797
  * Props to customize the locator result card component.
2729
- * Controls which fields are displayed and their styling.
2730
- */
2731
- resultCard: LocatorResultCardProps;
2798
+ * Controls which fields are displayed and their styling depending on the result's entity type.
2799
+ * The number of entries is locked to the locator entity types for the page set.
2800
+ */
2801
+ resultCard: Array<{
2802
+ /** Props to customize the locator result card component. */
2803
+ props: LocatorResultCardProps;
2804
+ }>;
2805
+ /** Controls which distance value to display on each locator result card. */
2806
+ distanceDisplay?: DistanceDisplayOption;
2732
2807
  }
2733
2808
  /**
2734
2809
  * Available on Locator templates.
@@ -3143,6 +3218,11 @@ interface BreadcrumbsData {
3143
3218
  * @defaultValue "Directory Root"
3144
3219
  */
3145
3220
  directoryRoot: TranslatableString;
3221
+ /**
3222
+ * The display label for the last link in the breadcrumb trail (the current page).
3223
+ * @defaultValue Name
3224
+ */
3225
+ currentPage?: YextEntityField<TranslatableString>;
3146
3226
  }
3147
3227
  interface BreadcrumbsStyles {
3148
3228
  /**
@@ -3150,6 +3230,11 @@ interface BreadcrumbsStyles {
3150
3230
  * @defaultValue Background Color 1
3151
3231
  */
3152
3232
  backgroundColor?: BackgroundStyle;
3233
+ /**
3234
+ * Whether to show the current page's link in the breadcrumb trail (last link).
3235
+ * @defaultValue true
3236
+ */
3237
+ showCurrentPage?: boolean;
3153
3238
  }
3154
3239
  /**
3155
3240
  * @public Defines the complete set of properties for the BreadcrumbsSection component.
@@ -5216,6 +5301,13 @@ type NearbyLocationCardsWrapperProps = {
5216
5301
  */
5217
5302
  phoneNumberLink: boolean;
5218
5303
  };
5304
+ /** Styling for the address on each card */
5305
+ address?: {
5306
+ /** Whether to include the region in the Address */
5307
+ showRegion: boolean;
5308
+ /** Whether to include the country in the Address */
5309
+ showCountry: boolean;
5310
+ };
5219
5311
  /**
5220
5312
  * Whether to show the location's hours on the card.
5221
5313
  * @defaultValue true
@@ -7793,4 +7885,12 @@ declare const addHeadingAlignmentMigration: Migration;
7793
7885
  declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
7794
7886
  declare const defaultThemeConfig: ThemeConfig;
7795
7887
 
7796
- export { AboutSection, type AboutSectionProps, Address, type AddressProps, AdvancedCoreInfoCategory, AdvancedCoreInfoCategoryComponents, type AdvancedCoreInfoCategoryProps, type AggregateRating, type AssetImageType, type AssetVideo, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, type BannerData, BannerSection, type BannerSectionProps, type BannerStyles, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, type BreadcrumbsData, BreadcrumbsSection, type BreadcrumbsSectionProps, type BreadcrumbsStyles, Button, type ButtonProps, CTA, CTAGroup, type CTAGroupProps, type CTAVariant, CTAWrapper, type CTAWrapperProps, CodeField, type CodeFieldProps, type ComponentField, ComponentFields, CopyrightMessageSlot, type CopyrightMessageSlotProps, CoreInfoSection, type CoreInfoSectionProps, type CoreInfoStyles, CustomCodeSection, type CustomCodeSectionProps, DeprecatedCategory, DeprecatedCategoryComponents, type DeprecatedCategoryProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryConfigProps, type DirectoryProps, type DirectoryStyles, type DynamicOption, type DynamicOptionValueTypes, DynamicOptionsSelector, type DynamicOptionsSelectorType, DynamicOptionsSingleSelector, type DynamicOptionsSingleSelectorType, Editor, Emails, type EmailsProps, EmbeddedFieldStringInputFromEntity, EmbeddedFieldStringInputFromOptions, type EnhancedTranslatableCTA, EntityField, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExpandedFooter, type ExpandedFooterData, type ExpandedFooterProps, type ExpandedFooterStyles, ExpandedHeader, type ExpandedHeaderProps, type ExpandedHeaderStyles, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, type FAQStyles, FOOD_DELIVERY_SERVICES, type FontRegistry, FontSizeSelector, type FoodDeliveryServiceType, Footer, FooterExpandedLinkSectionSlot, type FooterExpandedLinkSectionSlotProps, FooterExpandedLinksWrapper, type FooterExpandedLinksWrapperProps, FooterLinksSlot, type FooterLinksSlotProps, FooterLogoSlot, type FooterLogoSlotProps, type FooterProps, FooterSocialLinksSlot, type FooterSocialLinksSlotProps, FooterUtilityImagesSlot, type FooterUtilityImagesSlotProps, GetDirections, type GetDirectionsProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, type HeroData, HeroSection, type HeroSectionProps, type HeroSectionType, type HeroStyles, HoursStatus, HoursStatusAtom, type HoursStatusAtomProps, type HoursStatusProps, HoursTable, HoursTableAtom, type HoursTableAtomProps, type HoursTableProps, Image, type ImageContentData, type ImageProps, ImageWrapper, type ImageWrapperProps, type ImgSizesByBreakpoint, InsightCard, InsightCardsWrapper, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, KnowledgeGraphIcon, type LocalizedAssetImage, type Location, LocatorCategory, LocatorCategoryComponents, type LocatorCategoryProps, LocatorComponent, type LocatorConfigProps, type LocatorProps, LocatorResultCard, type LocatorResultCardProps, type MainConfigProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, MaybeRTF, type MaybeRTFProps, type Metadata, type Migration, type MigrationAction, type MigrationRegistry, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, PhoneList, type PhoneListProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, type PhotoGalleryStyles, type PresetImageType, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, ProfessionalHeroSection, type ProfessionalHeroSectionProps, type ProfessionalHeroStyles, type PromoData, PromoSection, type PromoSectionProps, type PromoSectionType, type PromoStyles, type RenderYextEntityFieldSelectorProps, ReviewStars, type ReviewStarsProps, ReviewsSection, type ReviewsSectionProps, type RichText, SecondaryFooterSlot, type SecondaryFooterSlotProps, SectionContainer, type SectionContainerProps, SlotsCategory, SlotsCategoryComponents, type SlotsCategoryProps, SpacingSelector, StaticMapSection, type StaticMapSectionProps, type StaticMapStyles, type StreamDocument, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, Text, TextList, type TextListProps, type TextProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampAtom, type TimestampAtomProps, TimestampOption, type TimestampProps, Toggle, type TranslatableAssetImage, type TranslatableCTA, type TranslatableRichText, TranslatableRichTextField, type TranslatableString, TranslatableStringField, Video, VideoAtom, type VideoAtomProps, type VideoProps, VideoSection, type VideoSectionProps, VisibilityWrapper, VisualEditorComponentsContentPath, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, addHeadingAlignmentMigration, applyAnalytics, applyCertifiedFacts, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getPreferredDistanceUnit, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, injectTranslations, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
7888
+ /**
7889
+ * Adds the Google Tag Manager (noscript) iframe to the body.
7890
+ * This is required for GTM to function properly when JavaScript is disabled.
7891
+ */
7892
+ declare const GTMBody: React__default.FC<{
7893
+ children: React__default.ReactNode;
7894
+ }>;
7895
+
7896
+ export { AboutSection, type AboutSectionProps, Address, type AddressProps, AdvancedCoreInfoCategory, AdvancedCoreInfoCategoryComponents, type AdvancedCoreInfoCategoryProps, type AggregateRating, type AssetImageType, type AssetVideo, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, type BannerData, BannerSection, type BannerSectionProps, type BannerStyles, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, type BreadcrumbsData, BreadcrumbsSection, type BreadcrumbsSectionProps, type BreadcrumbsStyles, Button, type ButtonProps, CTA, CTAGroup, type CTAGroupProps, type CTAVariant, CTAWrapper, type CTAWrapperProps, CodeField, type CodeFieldProps, type ComponentField, ComponentFields, CopyrightMessageSlot, type CopyrightMessageSlotProps, CoreInfoSection, type CoreInfoSectionProps, type CoreInfoStyles, CustomCodeSection, type CustomCodeSectionProps, DeprecatedCategory, DeprecatedCategoryComponents, type DeprecatedCategoryProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryConfigProps, type DirectoryProps, type DirectoryStyles, type DynamicOption, type DynamicOptionValueTypes, DynamicOptionsSelector, type DynamicOptionsSelectorType, DynamicOptionsSingleSelector, type DynamicOptionsSingleSelectorType, Editor, Emails, type EmailsProps, EmbeddedFieldStringInputFromEntity, EmbeddedFieldStringInputFromOptions, type EnhancedTranslatableCTA, EntityField, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExpandedFooter, type ExpandedFooterData, type ExpandedFooterProps, type ExpandedFooterStyles, ExpandedHeader, type ExpandedHeaderProps, type ExpandedHeaderStyles, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, type FAQStyles, FOOD_DELIVERY_SERVICES, type FontRegistry, FontSizeSelector, type FoodDeliveryServiceType, Footer, FooterExpandedLinkSectionSlot, type FooterExpandedLinkSectionSlotProps, FooterExpandedLinksWrapper, type FooterExpandedLinksWrapperProps, FooterLinksSlot, type FooterLinksSlotProps, FooterLogoSlot, type FooterLogoSlotProps, type FooterProps, FooterSocialLinksSlot, type FooterSocialLinksSlotProps, FooterUtilityImagesSlot, type FooterUtilityImagesSlotProps, GTMBody, GetDirections, type GetDirectionsProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, type HeroData, HeroSection, type HeroSectionProps, type HeroSectionType, type HeroStyles, HoursStatus, HoursStatusAtom, type HoursStatusAtomProps, type HoursStatusProps, HoursTable, HoursTableAtom, type HoursTableAtomProps, type HoursTableProps, Image, type ImageContentData, type ImageProps, ImageWrapper, type ImageWrapperProps, type ImgSizesByBreakpoint, InsightCard, InsightCardsWrapper, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, KnowledgeGraphIcon, type LocalizedAssetImage, type Location, LocatorCategory, LocatorCategoryComponents, type LocatorCategoryProps, LocatorComponent, type LocatorConfigProps, type LocatorProps, LocatorResultCard, type LocatorResultCardProps, type MainConfigProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, MaybeRTF, type MaybeRTFProps, type Metadata, type Migration, type MigrationAction, type MigrationRegistry, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, PhoneList, type PhoneListProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, type PhotoGalleryStyles, type PresetImageType, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, ProfessionalHeroSection, type ProfessionalHeroSectionProps, type ProfessionalHeroStyles, type PromoData, PromoSection, type PromoSectionProps, type PromoSectionType, type PromoStyles, type RenderYextEntityFieldSelectorProps, ReviewStars, type ReviewStarsProps, ReviewsSection, type ReviewsSectionProps, type RichText, SecondaryFooterSlot, type SecondaryFooterSlotProps, SectionContainer, type SectionContainerProps, SlotsCategory, SlotsCategoryComponents, type SlotsCategoryProps, SpacingSelector, StaticMapSection, type StaticMapSectionProps, type StaticMapStyles, type StreamDocument, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, Text, TextList, type TextListProps, type TextProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampAtom, type TimestampAtomProps, TimestampOption, type TimestampProps, Toggle, type TranslatableAssetImage, type TranslatableCTA, type TranslatableRichText, TranslatableRichTextField, type TranslatableString, TranslatableStringField, Video, VideoAtom, type VideoAtomProps, type VideoProps, VideoSection, type VideoSectionProps, VisibilityWrapper, VisualEditorComponentsContentPath, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, addHeadingAlignmentMigration, applyAnalytics, applyCertifiedFacts, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getPreferredDistanceUnit, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, injectTranslations, isLocalizedAssetImage, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveLocalizedAssetImage, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };