@yext/visual-editor 1.1.0-alpha.4 → 1.1.0-alpha.6

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 (29) hide show
  1. package/dist/index.d.ts +82 -11
  2. package/dist/plugin/plugin.js +297 -968
  3. package/dist/{visual-editor-fQcDUXRH.js → visual-editor-6XpxFfFs.js} +306 -279
  4. package/dist/{visual-editor-Dvt9Cdlc.js → visual-editor-B9ruYiM4.js} +340 -313
  5. package/dist/{visual-editor-Bs2lEgS2.js → visual-editor-BRF-MqmJ.js} +308 -281
  6. package/dist/{visual-editor-B-cxn9Zo.js → visual-editor-Bhxtuq_6.js} +336 -309
  7. package/dist/{visual-editor-DeC-frRl.js → visual-editor-C9JzaegG.js} +322 -295
  8. package/dist/{visual-editor-BiCeftd3.js → visual-editor-CKIvSiAE.js} +325 -298
  9. package/dist/{visual-editor-oUZKgy02.js → visual-editor-CM8SN-lR.js} +313 -286
  10. package/dist/{visual-editor-2APozeFg.js → visual-editor-CMItvTm5.js} +313 -286
  11. package/dist/{visual-editor-CbTNXujd.js → visual-editor-CYATTw_e.js} +321 -294
  12. package/dist/{visual-editor-ilT5eJgq.js → visual-editor-Cj9pJl4P.js} +349 -322
  13. package/dist/{visual-editor-CaEMvyVi.js → visual-editor-Cn1e8wBD.js} +309 -282
  14. package/dist/{visual-editor-lg5ZsjR9.js → visual-editor-CpgJzO49.js} +322 -295
  15. package/dist/{visual-editor-BMJo-2Dx.js → visual-editor-D8Pw0j5j.js} +324 -297
  16. package/dist/{visual-editor-elwsOlLc.js → visual-editor-DDui4sEC.js} +335 -308
  17. package/dist/{visual-editor-Diwd4zcr.js → visual-editor-DUrgyNTQ.js} +303 -276
  18. package/dist/{visual-editor-CQfyX6WR.js → visual-editor-D_KJNwhp.js} +313 -286
  19. package/dist/{visual-editor-DBE_-hVM.js → visual-editor-DaUGqO_6.js} +327 -300
  20. package/dist/{visual-editor-ByOvY1Wy.js → visual-editor-DrKi4pSm.js} +327 -300
  21. package/dist/{visual-editor-BC7HlBkl.js → visual-editor-FEvmncVY.js} +308 -281
  22. package/dist/{visual-editor-DbUB40ph.js → visual-editor-I2KrwdMb.js} +321 -294
  23. package/dist/{visual-editor-D7cewNBM.js → visual-editor-O3mHo-6U.js} +329 -302
  24. package/dist/{visual-editor-43vng_Qf.js → visual-editor-TaFxZzke.js} +320 -293
  25. package/dist/{visual-editor-ubhd-KyU.js → visual-editor-rgXKF8W_.js} +310 -283
  26. package/dist/{visual-editor-XbqxT8ql.js → visual-editor-sF7zDzzm.js} +310 -283
  27. package/dist/{visual-editor-DlyU_6p9.js → visual-editor-yWgEdvAk.js} +316 -289
  28. package/dist/visual-editor.js +17901 -17131
  29. package/package.json +4 -3
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 */
@@ -372,8 +378,9 @@ type PersonStruct = {
372
378
  };
373
379
  /** Represents a translatable string. The key is the locale (en, es, fr), and the value is the localized string. */
374
380
  type LocalizedValues = {
375
- hasLocalizedValue: "true";
376
- } & Record<string, string>;
381
+ hasLocalizedValue?: "true";
382
+ defaultValue?: string;
383
+ } & Record<string, string | undefined>;
377
384
  /**
378
385
  * A string that can be translated for different locales.
379
386
  * @ai This should always be the LocalizedValues type
@@ -383,7 +390,10 @@ type TranslatableString = string | LocalizedValues;
383
390
  * Rich text that can be translated for different locales.
384
391
  * @ai This should always be Record<string, RichText>
385
392
  */
386
- type TranslatableRichText = (string | RichText) | Record<string, string | RichText>;
393
+ type TranslatableRichText = (string | RichText) | ({
394
+ hasLocalizedValue?: "true";
395
+ defaultValue?: string | RichText;
396
+ } & Record<string, string | RichText | undefined>);
387
397
  /**
388
398
  * A rich text object with HTML and JSON (LexicalRichText) representations.
389
399
  * The HTML representation is used on the live page.
@@ -1295,6 +1305,7 @@ interface ImageProps {
1295
1305
  * Defaults to the stream document if not provided.
1296
1306
  */
1297
1307
  streamDocumentOverride?: Record<string, any>;
1308
+ style?: React.CSSProperties;
1298
1309
  }
1299
1310
  declare const Image: React.FC<ImageProps>;
1300
1311
  type ImgSizesByBreakpoint = {
@@ -1465,6 +1476,16 @@ interface AddressProps {
1465
1476
  address: YextEntityField<AddressType>;
1466
1477
  };
1467
1478
  styles: {
1479
+ /**
1480
+ * Whether to include the region in the Address
1481
+ * @defaultValue true
1482
+ */
1483
+ showRegion?: boolean;
1484
+ /**
1485
+ * Whether to include the country in the Address
1486
+ * @defaultValue false
1487
+ */
1488
+ showCountry?: boolean;
1468
1489
  /** Whether to include a "Get Directions" CTA to Google Maps */
1469
1490
  showGetDirectionsLink: boolean;
1470
1491
  /** The variant of the get directions button */
@@ -2529,7 +2550,12 @@ declare const DirectoryCategoryComponents: {
2529
2550
  };
2530
2551
  declare const DirectoryCategory: (keyof DirectoryCategoryProps)[];
2531
2552
 
2553
+ declare const LOCATOR_ENTITY_TYPES: readonly ["location", "healthcareProfessional", "healthcareFacility", "restaurant", "hotel", "financialProfessional"];
2554
+ type LocatorEntityType = (typeof LOCATOR_ENTITY_TYPES)[number];
2555
+
2532
2556
  interface LocatorResultCardProps {
2557
+ /** The entity type this result card applies to. */
2558
+ entityType: LocatorEntityType;
2533
2559
  /** Settings for the main heading of the card */
2534
2560
  primaryHeading: {
2535
2561
  /**
@@ -2588,6 +2614,16 @@ interface LocatorResultCardProps {
2588
2614
  };
2589
2615
  /** Settings for the address block */
2590
2616
  address: {
2617
+ /**
2618
+ * Whether to include the region in the Address
2619
+ * @defaultValue true
2620
+ */
2621
+ showRegion?: boolean;
2622
+ /**
2623
+ * Whether to include the country in the Address
2624
+ * @defaultValue false
2625
+ */
2626
+ showCountry?: boolean;
2591
2627
  /** Whether to show the "Get Directions" link */
2592
2628
  showGetDirectionsLink: boolean;
2593
2629
  /** Whether the address block is visible in live mode */
@@ -2637,6 +2673,8 @@ interface LocatorResultCardProps {
2637
2673
  variant: CTAVariant;
2638
2674
  /** Whether the primary CTA is visible in live mode */
2639
2675
  liveVisibility: boolean;
2676
+ /** Static URL to use for primary CTA when an entity page URL is not found */
2677
+ link?: TranslatableString;
2640
2678
  };
2641
2679
  /** Settings for the secondary CTA */
2642
2680
  secondaryCTA: {
@@ -2661,6 +2699,7 @@ interface LocatorResultCardProps {
2661
2699
  liveVisibility: boolean;
2662
2700
  };
2663
2701
  }
2702
+ type DistanceDisplayOption = "distanceFromUser" | "distanceFromSearch" | "hidden";
2664
2703
  interface Location {
2665
2704
  address: AddressType;
2666
2705
  hours?: HoursType;
@@ -2675,9 +2714,11 @@ interface Location {
2675
2714
  ref_listings?: ListingType[];
2676
2715
  [key: string]: any;
2677
2716
  }
2678
- declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, }: {
2717
+ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, distanceDisplay, isSelected, }: {
2679
2718
  result: CardProps<Location>["result"];
2680
2719
  resultCardProps: LocatorResultCardProps;
2720
+ distanceDisplay?: DistanceDisplayOption;
2721
+ isSelected?: boolean;
2681
2722
  }) => React__default.JSX.Element>;
2682
2723
 
2683
2724
  interface LocatorProps {
@@ -2686,6 +2727,23 @@ interface LocatorProps {
2686
2727
  * @defaultValue 'mapbox://styles/mapbox/streets-v12'
2687
2728
  */
2688
2729
  mapStyle?: string;
2730
+ /**
2731
+ * Props to customize the locator map pin styles.
2732
+ * Controls map pin appearance depending on the result's entity type.
2733
+ * The number of entries is locked to the locator entity types for the page set.
2734
+ */
2735
+ locationStyles: Array<{
2736
+ /** The entity type this style applies to. */
2737
+ entityType: LocatorEntityType;
2738
+ /** Whether to render an icon in the pin. */
2739
+ pinIcon?: {
2740
+ type: "none" | "icon";
2741
+ /** Defaults to the first available Maki icon when type is 'icon'. */
2742
+ iconName?: string;
2743
+ };
2744
+ /** The color applied to the pin. */
2745
+ pinColor?: BackgroundStyle;
2746
+ }>;
2689
2747
  /**
2690
2748
  * Configuration for the filters available in the locator search experience.
2691
2749
  */
@@ -2726,9 +2784,15 @@ interface LocatorProps {
2726
2784
  };
2727
2785
  /**
2728
2786
  * Props to customize the locator result card component.
2729
- * Controls which fields are displayed and their styling.
2730
- */
2731
- resultCard: LocatorResultCardProps;
2787
+ * Controls which fields are displayed and their styling depending on the result's entity type.
2788
+ * The number of entries is locked to the locator entity types for the page set.
2789
+ */
2790
+ resultCard: Array<{
2791
+ /** Props to customize the locator result card component. */
2792
+ props: LocatorResultCardProps;
2793
+ }>;
2794
+ /** Controls which distance value to display on each locator result card. */
2795
+ distanceDisplay?: DistanceDisplayOption;
2732
2796
  }
2733
2797
  /**
2734
2798
  * Available on Locator templates.
@@ -5216,6 +5280,13 @@ type NearbyLocationCardsWrapperProps = {
5216
5280
  */
5217
5281
  phoneNumberLink: boolean;
5218
5282
  };
5283
+ /** Styling for the address on each card */
5284
+ address?: {
5285
+ /** Whether to include the region in the Address */
5286
+ showRegion: boolean;
5287
+ /** Whether to include the country in the Address */
5288
+ showCountry: boolean;
5289
+ };
5219
5290
  /**
5220
5291
  * Whether to show the location's hours on the card.
5221
5292
  * @defaultValue true
@@ -7793,4 +7864,4 @@ declare const addHeadingAlignmentMigration: Migration;
7793
7864
  declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
7794
7865
  declare const defaultThemeConfig: ThemeConfig;
7795
7866
 
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 };
7867
+ 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, 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 };