@yext/visual-editor 0.0.39 → 0.0.40

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/index.d.cts CHANGED
@@ -2,8 +2,9 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as _measured_puck from '@measured/puck';
5
- import { Field, CustomField, Fields, Config, ArrayField, BaseField, ObjectField, NumberField, ComponentConfig } from '@measured/puck';
5
+ import { Field, CustomField, Fields, Data, DefaultComponentProps, Config, DefaultRootProps, ArrayField, BaseField, NumberField, ObjectField, ComponentConfig } from '@measured/puck';
6
6
  import { ClassValue } from 'clsx';
7
+ import * as _yext_search_headless_react from '@yext/search-headless-react';
7
8
  import { ImageType, CTA as CTA$1, LinkType, ComplexImageType, AddressType, HoursType, DayOfWeekNames, Coordinate } from '@yext/pages-components';
8
9
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
9
10
  import { VariantProps } from 'class-variance-authority';
@@ -18,6 +19,7 @@ type YextSchemaField = {
18
19
  children?: {
19
20
  fields: YextSchemaField[];
20
21
  };
22
+ optionFormat?: "OPTION_FORMAT_EXPANDED";
21
23
  };
22
24
  type YextFieldDefinition = {
23
25
  name: string;
@@ -237,7 +239,7 @@ type EntityFieldTypesFilter$1 = {
237
239
  directChildrenOf?: string;
238
240
  };
239
241
  type RenderEntityFieldFilter<T extends Record<string, any>> = EntityFieldTypesFilter$1 & EitherOrNeither<AllowList<T>, DisallowList<T>>;
240
- type EntityFieldTypes = "type.string" | "type.image" | "type.hours" | "type.address" | "type.phone" | "type.coordinate" | "type.cta" | "type.faq_section" | "type.testimonials_section" | "type.products_section" | "type.insights_section" | "type.rich_text_v2" | "type.team_section" | "type.events_section" | "type.promo_section" | "type.hero_section" | `c_${string}`;
242
+ type EntityFieldTypes = "type.string" | "type.image" | "type.hours" | "type.address" | "type.phone" | "type.coordinate" | "type.cta" | "type.boolean" | "type.option" | "type.faq_section" | "type.testimonials_section" | "type.products_section" | "type.insights_section" | "type.rich_text_v2" | "type.team_section" | "type.events_section" | "type.promo_section" | "type.hero_section" | `c_${string}`;
241
243
 
242
244
  type YextEntityField<T> = {
243
245
  field: string;
@@ -354,7 +356,7 @@ type FontSpecification = {
354
356
  minWeight: number;
355
357
  maxWeight: number;
356
358
  italics: boolean;
357
- fallback: "sans-serif" | "serif" | "monospace";
359
+ fallback: "sans-serif" | "serif" | "monospace" | "cursive";
358
360
  };
359
361
  declare const defaultFonts: FontRegistry;
360
362
  declare const constructFontSelectOptions: (fonts: FontRegistry) => StyleSelectOption[];
@@ -405,15 +407,55 @@ type RootConfig = {
405
407
  };
406
408
  declare function getPageMetadata(document: Record<string, any>): RootConfig;
407
409
 
408
- declare const fetchNearbyLocations: ({ contentEndpoint, latitude, longitude, radiusMi, limit, entityType, }: {
409
- contentEndpoint: string;
410
+ declare const fetchNearbyLocations: ({ businessId, apiKey, contentEndpointId, contentDeliveryAPIDomain, latitude, longitude, radiusMi, limit, }: {
411
+ businessId: string;
412
+ apiKey: string;
413
+ contentEndpointId: string;
414
+ contentDeliveryAPIDomain: string;
410
415
  longitude: number;
411
416
  latitude: number;
412
417
  radiusMi: number;
413
418
  limit: number;
414
- entityType: string;
415
419
  }) => Promise<Record<string, any>>;
416
420
 
421
+ /**
422
+ * Builds the search headless config for the template. Returns undefined if the config is not valid.
423
+ * @param document the entity document
424
+ */
425
+ declare const createSearchHeadlessConfig: (document: any) => (_yext_search_headless_react.SearchConfigWithApiKey & {
426
+ headlessId?: string;
427
+ verticalKey?: string;
428
+ }) | undefined;
429
+ /**
430
+ * Builds the search analytics config for the template. Returns undefined if the config is not valid.
431
+ * @param document the entity document
432
+ */
433
+ declare const createSearchAnalyticsConfig: (document: any) => {
434
+ businessId: any;
435
+ experienceKey: any;
436
+ experienceVersion: string;
437
+ region: any;
438
+ env: string;
439
+ } | undefined;
440
+
441
+ type MigrationAction = {
442
+ action: "removed";
443
+ } | {
444
+ action: "renamed";
445
+ newName: string;
446
+ } | {
447
+ action: "updated";
448
+ propTransformation: (oldProps: Record<string, any>) => Record<string, any>;
449
+ };
450
+ type Migration = Record<string, MigrationAction>;
451
+ type MigrationRegistry = Migration[];
452
+ interface RootProps extends DefaultRootProps {
453
+ props?: {
454
+ version?: number;
455
+ };
456
+ }
457
+ declare const migrate: (data: Data<DefaultComponentProps, RootProps>, migrationRegistry?: MigrationRegistry, config?: Config) => Data;
458
+
417
459
  type HeroSectionType = {
418
460
  image?: ImageType;
419
461
  primaryCta?: CTA$1;
@@ -431,7 +473,7 @@ type ProductSectionType = {
431
473
  type ProductStruct = {
432
474
  image?: ImageType;
433
475
  name?: string;
434
- description?: RTF2;
476
+ description?: RTF2 | string;
435
477
  category?: string;
436
478
  cta?: CTA$1;
437
479
  };
@@ -442,7 +484,7 @@ type EventStruct = {
442
484
  image?: ImageType;
443
485
  title?: string;
444
486
  dateTime?: string;
445
- description?: RTF2;
487
+ description?: RTF2 | string;
446
488
  cta?: CTA$1;
447
489
  };
448
490
  type FAQSectionType = {
@@ -450,13 +492,13 @@ type FAQSectionType = {
450
492
  };
451
493
  type FAQStruct = {
452
494
  question: string;
453
- answer: RTF2;
495
+ answer: RTF2 | string;
454
496
  };
455
497
  type TestimonialSectionType = {
456
498
  testimonials: Array<TestimonialStruct>;
457
499
  };
458
500
  type TestimonialStruct = {
459
- description?: RTF2;
501
+ description?: RTF2 | string;
460
502
  contributorName?: string;
461
503
  contributionDate?: string;
462
504
  };
@@ -468,7 +510,7 @@ type InsightStruct = {
468
510
  name?: string;
469
511
  category?: string;
470
512
  publishTime?: string;
471
- description?: RTF2;
513
+ description?: RTF2 | string;
472
514
  cta?: CTA$1;
473
515
  };
474
516
  type TeamSectionType = {
@@ -487,6 +529,72 @@ type RTF2 = {
487
529
  json?: string;
488
530
  };
489
531
 
532
+ type ComponentField = {
533
+ name: string;
534
+ type: StructEntityFieldTypes | EntityFieldTypes;
535
+ isList: boolean;
536
+ tooltipDescription: string;
537
+ altLanguageBehavior: "LANGUAGE_SPECIFIC" | "PRIMARY_ONLY" | "OVERRIDABLE";
538
+ };
539
+ declare const ComponentFields: {
540
+ readonly HeroSection: {
541
+ readonly name: "Hero Section";
542
+ readonly type: "type.hero_section";
543
+ readonly isList: false;
544
+ readonly tooltipDescription: "";
545
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
546
+ };
547
+ readonly PromoSection: {
548
+ readonly name: "Promo Section";
549
+ readonly type: "type.promo_section";
550
+ readonly isList: false;
551
+ readonly tooltipDescription: "";
552
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
553
+ };
554
+ readonly ProductSection: {
555
+ readonly name: "Product Section";
556
+ readonly type: "type.products_section";
557
+ readonly isList: false;
558
+ readonly tooltipDescription: "";
559
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
560
+ };
561
+ readonly EventSection: {
562
+ readonly name: "Event Section";
563
+ readonly type: "type.events_section";
564
+ readonly isList: false;
565
+ readonly tooltipDescription: "";
566
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
567
+ };
568
+ readonly FAQSection: {
569
+ readonly name: "FAQ Section";
570
+ readonly type: "type.faq_section";
571
+ readonly isList: false;
572
+ readonly tooltipDescription: "";
573
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
574
+ };
575
+ readonly TestimonialSection: {
576
+ readonly name: "Testimonial Section";
577
+ readonly type: "type.testimonials_section";
578
+ readonly isList: false;
579
+ readonly tooltipDescription: "";
580
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
581
+ };
582
+ readonly InsightSection: {
583
+ readonly name: "Insight Section";
584
+ readonly type: "type.insights_section";
585
+ readonly isList: false;
586
+ readonly tooltipDescription: "";
587
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
588
+ };
589
+ readonly TeamSection: {
590
+ readonly name: "Team Section";
591
+ readonly type: "type.team_section";
592
+ readonly isList: false;
593
+ readonly tooltipDescription: "";
594
+ readonly altLanguageBehavior: "LANGUAGE_SPECIFIC";
595
+ };
596
+ };
597
+
490
598
  type EditorProps = {
491
599
  document: any;
492
600
  componentRegistry: Map<string, Config<any>>;
@@ -611,7 +719,7 @@ declare const headingVariants: (props?: ({
611
719
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
612
720
  interface HeadingProps extends Omit<React$1.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
613
721
  level: HeadingLevel;
614
- semanticLevelOverride?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span";
722
+ semanticLevelOverride?: HeadingLevel | "span";
615
723
  }
616
724
  declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
617
725
 
@@ -635,6 +743,11 @@ type MaybeLinkProps = {
635
743
  };
636
744
  declare const MaybeLink: (props: MaybeLinkProps) => react_jsx_runtime.JSX.Element;
637
745
 
746
+ interface MaybeRTFProps extends Record<string, any> {
747
+ data: RTF2 | string | undefined;
748
+ }
749
+ declare const MaybeRTF: ({ data, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element | undefined;
750
+
638
751
  declare const pageSectionVariants: (props?: ({
639
752
  verticalPadding?: "default" | "sm" | "footer" | "header" | null | undefined;
640
753
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
@@ -689,9 +802,13 @@ type TimestampProps = {
689
802
  declare function Timestamp({ date, option, endDate, timeZone, hideTimeZone, }: TimestampProps): JSX.Element;
690
803
 
691
804
  type BannerSectionProps = {
692
- text: YextEntityField<string>;
693
- textAlignment: "left" | "right" | "center";
694
- backgroundColor?: BackgroundStyle;
805
+ styles: {
806
+ backgroundColor?: BackgroundStyle;
807
+ textAlignment: "left" | "right" | "center";
808
+ };
809
+ data: {
810
+ text: YextEntityField<string>;
811
+ };
695
812
  liveVisibility: boolean;
696
813
  };
697
814
  declare const BannerSection: ComponentConfig<BannerSectionProps>;
@@ -703,37 +820,39 @@ type BreadcrumbsSectionProps = {
703
820
  declare const BreadcrumbsSection: ComponentConfig<BreadcrumbsSectionProps>;
704
821
 
705
822
  interface CoreInfoSectionProps {
823
+ data: {
824
+ info: {
825
+ headingText: YextEntityField<string>;
826
+ address: YextEntityField<AddressType>;
827
+ phoneNumbers: Array<{
828
+ number: YextEntityField<string>;
829
+ label: string;
830
+ }>;
831
+ emails: YextEntityField<string[]>;
832
+ };
833
+ hours: {
834
+ headingText: YextEntityField<string>;
835
+ hours: YextEntityField<HoursType>;
836
+ };
837
+ services: {
838
+ headingText: YextEntityField<string>;
839
+ servicesList: YextEntityField<string[]>;
840
+ };
841
+ };
706
842
  styles: {
707
843
  headingLevel: HeadingLevel;
708
844
  backgroundColor?: BackgroundStyle;
709
- };
710
- address: {
711
- headingText: YextEntityField<string>;
712
- address: YextEntityField<AddressType>;
713
- showGetDirectionsLink: boolean;
714
- };
715
- phoneNumbers: {
716
- phoneNumber: Array<{
717
- number: YextEntityField<string>;
718
- label: string;
719
- }>;
720
- phoneFormat: "domestic" | "international";
721
- includePhoneHyperlink: boolean;
722
- };
723
- emails: {
724
- emails: YextEntityField<string[]>;
725
- listLength: number;
726
- };
727
- hours: {
728
- headingText: YextEntityField<string>;
729
- hours: YextEntityField<HoursType>;
730
- startOfWeek: keyof DayOfWeekNames | "today";
731
- collapseDays: boolean;
732
- showAdditionalHoursText: boolean;
733
- };
734
- services: {
735
- headingText: YextEntityField<string>;
736
- servicesList: YextEntityField<string[]>;
845
+ info: {
846
+ showGetDirectionsLink: boolean;
847
+ phoneFormat: "domestic" | "international";
848
+ includePhoneHyperlink: boolean;
849
+ emailsListLength: number;
850
+ };
851
+ hours: {
852
+ startOfWeek: keyof DayOfWeekNames | "today";
853
+ collapseDays: boolean;
854
+ showAdditionalHoursText: boolean;
855
+ };
737
856
  };
738
857
  liveVisibility: boolean;
739
858
  }
@@ -787,16 +906,17 @@ interface InsightSectionProps {
787
906
  declare const InsightSection: ComponentConfig<InsightSectionProps>;
788
907
 
789
908
  interface NearbyLocationsSectionProps {
909
+ data: {
910
+ heading: YextEntityField<string>;
911
+ coordinate: YextEntityField<Coordinate>;
912
+ radius: number;
913
+ limit: number;
914
+ };
790
915
  styles: {
791
916
  backgroundColor?: BackgroundStyle;
792
917
  cardBackgroundColor?: BackgroundStyle;
793
- };
794
- heading: {
795
- level: HeadingLevel;
796
- text: YextEntityField<string>;
797
- };
798
- cards: {
799
918
  headingLevel: HeadingLevel;
919
+ cardHeadingLevel: HeadingLevel;
800
920
  phoneNumberFormat: "domestic" | "international";
801
921
  phoneNumberLink: boolean;
802
922
  hours: {
@@ -806,9 +926,6 @@ interface NearbyLocationsSectionProps {
806
926
  showDayNames?: boolean;
807
927
  };
808
928
  };
809
- coordinate: YextEntityField<Coordinate>;
810
- radius: number;
811
- limit: number;
812
929
  liveVisibility: boolean;
813
930
  }
814
931
  declare const NearbyLocationsSection: ComponentConfig<NearbyLocationsSectionProps>;
@@ -841,15 +958,13 @@ interface PromoSectionProps {
841
958
  declare const PromoSection: ComponentConfig<PromoSectionProps>;
842
959
 
843
960
  interface PhotoGallerySectionProps {
961
+ data: {
962
+ heading: YextEntityField<string>;
963
+ images: YextEntityField<ImageType[] | ComplexImageType[]>;
964
+ };
844
965
  styles: {
845
966
  backgroundColor?: BackgroundStyle;
846
- };
847
- sectionHeading: {
848
- text: YextEntityField<string>;
849
- level: HeadingLevel;
850
- };
851
- images: {
852
- images: YextEntityField<ImageType[] | ComplexImageType[]>;
967
+ headingLevel: HeadingLevel;
853
968
  imageStyle: Omit<ImageWrapperProps, "image">;
854
969
  };
855
970
  liveVisibility: boolean;
@@ -1027,6 +1142,11 @@ interface DirectoryProps {
1027
1142
  }
1028
1143
  declare const Directory: ComponentConfig<DirectoryProps>;
1029
1144
 
1145
+ type LocatorProps = {
1146
+ mapStyle?: string;
1147
+ };
1148
+ declare const LocatorComponent: ComponentConfig<LocatorProps>;
1149
+
1030
1150
  type EventCardProps = {
1031
1151
  card?: {
1032
1152
  title: YextEntityField<string>;
@@ -1097,7 +1217,9 @@ type TestimonialCardProps = {
1097
1217
  declare const TestimonialCard: ComponentConfig<TestimonialCardProps>;
1098
1218
 
1099
1219
  type StaticMapSectionProps = {
1100
- apiKey: string;
1220
+ data: {
1221
+ apiKey: string;
1222
+ };
1101
1223
  liveVisibility: boolean;
1102
1224
  };
1103
1225
 
@@ -1150,6 +1272,13 @@ declare const DirectoryCategoryComponents: {
1150
1272
  Directory: _measured_puck.ComponentConfig<DirectoryProps>;
1151
1273
  };
1152
1274
  declare const DirectoryCategory: (keyof DirectoryCategoryProps)[];
1275
+ interface LocatorCategoryProps {
1276
+ Locator: LocatorProps;
1277
+ }
1278
+ declare const LocatorCategoryComponents: {
1279
+ Locator: _measured_puck.ComponentConfig<LocatorProps>;
1280
+ };
1281
+ declare const LocatorCategory: (keyof LocatorCategoryProps)[];
1153
1282
  /** THE CATEGORIES BELOW ARE NO LONGER SUPPORTED */
1154
1283
  interface LayoutBlockCategoryProps {
1155
1284
  Collection: CollectionProps;
@@ -1225,6 +1354,8 @@ type SectionContainerProps = {
1225
1354
  };
1226
1355
  declare const SectionContainer: ComponentConfig<SectionContainerProps>;
1227
1356
 
1357
+ declare const migrationRegistry: MigrationRegistry;
1358
+
1228
1359
  declare const defaultThemeConfig: ThemeConfig;
1229
1360
 
1230
- export { Address, type AddressProps, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, BannerSection, type BannerSectionProps, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, BorderRadiusSelector, BreadcrumbsSection, type BreadcrumbsSectionProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapper, type CTAWrapperProps, CardCategory, CardCategoryComponents, type CardCategoryProps, Collection, type CollectionProps, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventCard, type EventCardProps, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExampleRepeatableItemComponent, type ExampleRepeatableItemProps, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, type HeroSectionType, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightCard, type InsightCardProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, LayoutBlockCategory, LayoutBlockCategoryComponents, type LayoutBlockCategoryProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, PersonCard, type PersonCardProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductCard, type ProductCardProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RenderYextEntityFieldSelectorProps, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialCard, type TestimonialCardProps, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, VisibilityWrapper, VisualEditorProvider, type YextCollection, YextCollectionSubfieldSelector, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, handleResolveFieldsForCollections, headingVariants, normalizeSlug, resolveYextEntityField, resolveYextStructField, resolveYextSubfield, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, useTemplateProps, validateSlug };
1361
+ export { Address, type AddressProps, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, BannerSection, type BannerSectionProps, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, BorderRadiusSelector, BreadcrumbsSection, type BreadcrumbsSectionProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapper, type CTAWrapperProps, CardCategory, CardCategoryComponents, type CardCategoryProps, Collection, type CollectionProps, type ComponentField, ComponentFields, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventCard, type EventCardProps, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExampleRepeatableItemComponent, type ExampleRepeatableItemProps, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, type HeroSectionType, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightCard, type InsightCardProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, LayoutBlockCategory, LayoutBlockCategoryComponents, type LayoutBlockCategoryProps, LocatorCategory, LocatorCategoryComponents, type LocatorCategoryProps, LocatorComponent, type LocatorProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, MaybeRTF, type MaybeRTFProps, type Migration, type MigrationAction, type MigrationRegistry, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, PersonCard, type PersonCardProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductCard, type ProductCardProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RTF2, type RenderYextEntityFieldSelectorProps, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialCard, type TestimonialCardProps, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, VisibilityWrapper, VisualEditorProvider, type YextCollection, YextCollectionSubfieldSelector, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createSearchAnalyticsConfig, createSearchHeadlessConfig, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, handleResolveFieldsForCollections, headingVariants, migrate, migrationRegistry, normalizeSlug, resolveYextEntityField, resolveYextStructField, resolveYextSubfield, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, useTemplateProps, validateSlug };