@yext/visual-editor 0.0.43 → 0.0.44

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.ts CHANGED
@@ -12,6 +12,7 @@ import * as _yext_search_headless_react from '@yext/search-headless-react';
12
12
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
13
13
  import { VariantProps } from 'class-variance-authority';
14
14
  import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
15
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
15
16
 
16
17
  declare const usePlatformBridgeDocument: () => any;
17
18
 
@@ -70,6 +71,17 @@ declare const msg: (key: string, defaultValue: string, options?: TOptions) => Ms
70
71
  */
71
72
  declare const pt: (keyOrEncodedValue: string | MsgString, optionsOrDefault?: string | TOptions, options?: TOptions) => string;
72
73
 
74
+ type ComboboxOption = {
75
+ label: string;
76
+ value: any;
77
+ color?: string;
78
+ };
79
+ type ComboboxOptionGroup = {
80
+ title?: string;
81
+ description?: string;
82
+ options: ComboboxOption[];
83
+ };
84
+
73
85
  type BackgroundStyle = {
74
86
  bgColor: string;
75
87
  textColor: string;
@@ -104,8 +116,11 @@ declare const defaultThemeTailwindExtensions: {
104
116
  };
105
117
  };
106
118
  fontSize: {
119
+ "body-xs-fontSize": string;
107
120
  "body-sm-fontSize": string;
108
121
  "body-lg-fontSize": string;
122
+ "link-xs-fontSize": string;
123
+ "link-sm-fontSize": string;
109
124
  "3xl": string;
110
125
  "4xl": string;
111
126
  };
@@ -123,16 +138,7 @@ declare const ThemeOptions: {
123
138
  label: string;
124
139
  value: string;
125
140
  }[];
126
- BACKGROUND_COLOR: {
127
- label: string;
128
- value: BackgroundStyle;
129
- color: string;
130
- }[];
131
- DARK_BACKGROUND_COLOR: {
132
- label: string;
133
- value: BackgroundStyle;
134
- color: string;
135
- }[];
141
+ BACKGROUND_COLOR: ComboboxOptionGroup[];
136
142
  CTA_VARIANT: {
137
143
  label: MsgString;
138
144
  value: string;
@@ -309,7 +315,7 @@ declare const resolveYextStructField: <T extends Record<string, any>>(document:
309
315
  */
310
316
  declare const resolveTranslatableString: (translatableString?: TranslatableString, locale?: string) => string;
311
317
  /**
312
- * Converts a type TranslatableRichText to a type that can be viewed on the page
318
+ * Converts a type TranslatableRichText to string or RTF Element
313
319
  * @param translatableRichText
314
320
  * @param locale
315
321
  */
@@ -404,6 +410,7 @@ declare const validateSlug: (content: string) => boolean;
404
410
  declare const normalizeSlug: (content: string) => string;
405
411
 
406
412
  declare const applyAnalytics: (document: Record<string, any>) => string | undefined;
413
+ declare const getAnalyticsScopeHash: (puckId: string) => string;
407
414
 
408
415
  declare const applyHeaderScript: (document: Record<string, any>) => any;
409
416
 
@@ -433,6 +440,20 @@ declare const fetchLocalesToPathsForEntity: ({ businessId, apiKey, contentEndpoi
433
440
  entityId: string;
434
441
  }) => Promise<Record<string, string>>;
435
442
 
443
+ /**
444
+ * Fetch reviews for the given entity.
445
+ * @returns A JSON of the reviews data fetched from the endpoint.
446
+ */
447
+ type FetchReviewsParams = {
448
+ businessId: number;
449
+ apiKey: string;
450
+ contentDeliveryAPIDomain: string;
451
+ entityId: number;
452
+ limit: number;
453
+ pageToken?: string;
454
+ };
455
+ declare const fetchReviewsForEntity: ({ businessId, apiKey, contentDeliveryAPIDomain, entityId, limit, pageToken, }: FetchReviewsParams) => Promise<any>;
456
+
436
457
  /**
437
458
  * Builds the search headless config for the template. Returns undefined if the config is not valid.
438
459
  * @param document the entity document
@@ -557,6 +578,12 @@ type RichText = {
557
578
  html?: string;
558
579
  json?: string;
559
580
  };
581
+ type GalleryImageType = {
582
+ url: string;
583
+ alternateText?: string;
584
+ height?: number;
585
+ width?: number;
586
+ };
560
587
 
561
588
  type ComponentField = {
562
589
  name: string;
@@ -655,18 +682,20 @@ declare const BorderRadiusSelector: (label?: string) => Field;
655
682
 
656
683
  declare const SpacingSelector: (label: string, spacingType: "padding" | "gap", includeDefault: boolean) => Field;
657
684
 
658
- type Option<T = any> = {
659
- label: string;
660
- value: T;
661
- color?: string;
662
- };
663
685
  type BasicSelectorProps = {
664
686
  label: string;
665
- options: Option[];
666
687
  translateOptions?: boolean;
667
688
  noOptionsPlaceholder?: string;
668
689
  noOptionsMessage?: string;
669
- };
690
+ disableSearch?: boolean;
691
+ icon?: React__default.ReactNode;
692
+ } & ({
693
+ options: ComboboxOption[];
694
+ optionGroups?: never;
695
+ } | {
696
+ options?: never;
697
+ optionGroups: ComboboxOptionGroup[];
698
+ });
670
699
  declare const BasicSelector: (props: BasicSelectorProps) => Field;
671
700
 
672
701
  /** Copied from Puck, do not change */
@@ -734,14 +763,14 @@ declare function TranslatableStringField<T extends TranslatableString | undefine
734
763
  declare function TranslatableRichTextField<T extends TranslatableRichText | undefined = TranslatableRichText>(label?: MsgString): CustomField<T>;
735
764
 
736
765
  declare const bodyVariants: (props?: ({
737
- variant?: "sm" | "lg" | "base" | null | undefined;
766
+ variant?: "sm" | "lg" | "base" | "xs" | null | undefined;
738
767
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
739
768
  interface BodyProps extends Omit<React$1.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
740
769
  }
741
770
  declare const Body: React$1.ForwardRefExoticComponent<BodyProps & React$1.RefAttributes<HTMLParagraphElement>>;
742
771
 
743
772
  declare const buttonVariants: (props?: ({
744
- variant?: "link" | "secondary" | "primary" | "directoryLink" | null | undefined;
773
+ variant?: "link" | "secondary" | "primary" | "directoryLink" | "headerFooterMainLink" | "headerFooterSecondaryLink" | null | undefined;
745
774
  hasDarkBackground?: boolean | null | undefined;
746
775
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
747
776
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -767,7 +796,7 @@ declare const CTA: {
767
796
 
768
797
  declare const headingVariants: (props?: ({
769
798
  level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
770
- fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "base" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
799
+ fontSize?: "default" | "sm" | "lg" | "base" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
771
800
  weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
772
801
  transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
773
802
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
@@ -777,17 +806,15 @@ interface HeadingProps extends Omit<React$1.HTMLAttributes<HTMLHeadingElement>,
777
806
  }
778
807
  declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
779
808
 
780
- interface HoursTableAtomProps extends Omit<HoursTableProps$1, "dayOfWeekNames" | "intervalStringsBuilderFn"> {
809
+ interface HoursTableAtomProps extends Omit<HoursTableProps$1, "dayOfWeekNames" | "intervalStringsBuilderFn" | "intervalTranslations"> {
781
810
  className?: string;
782
811
  }
783
812
  declare const HoursTableAtom: (props: HoursTableAtomProps) => react_jsx_runtime.JSX.Element;
784
813
 
785
814
  interface ImageProps {
786
815
  image: ImageType | ComplexImageType;
787
- layout: "auto" | "fixed";
788
816
  aspectRatio?: number;
789
817
  width?: number;
790
- height?: number;
791
818
  className?: string;
792
819
  }
793
820
  declare const Image: React$1.FC<ImageProps>;
@@ -806,10 +833,10 @@ interface MaybeRTFProps extends Record<string, any> {
806
833
  data: RichText | string | undefined;
807
834
  bodyVariant?: BodyProps["variant"];
808
835
  }
809
- declare const MaybeRTF: ({ data, bodyVariant, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element | undefined;
836
+ declare const MaybeRTF: ({ data, bodyVariant, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element;
810
837
 
811
838
  declare const pageSectionVariants: (props?: ({
812
- verticalPadding?: "default" | "sm" | "footer" | "header" | null | undefined;
839
+ verticalPadding?: "default" | "sm" | "footer" | "header" | "footerSecondary" | null | undefined;
813
840
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
814
841
  interface PageSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
815
842
  background?: BackgroundStyle;
@@ -843,7 +870,7 @@ interface VisibilityWrapperProps {
843
870
  children: React$1.ReactNode;
844
871
  }
845
872
  declare const wrapperVariants: (props?: ({
846
- size?: "md" | "lg" | null | undefined;
873
+ size?: "lg" | "md" | null | undefined;
847
874
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
848
875
  declare const VisibilityWrapper: React$1.FC<VisibilityWrapperProps>;
849
876
 
@@ -870,8 +897,13 @@ type TimestampProps = {
870
897
  endDate?: string;
871
898
  timeZone?: string;
872
899
  hideTimeZone?: boolean;
900
+ locale?: string;
901
+ dateFormatOverride?: Omit<Intl.DateTimeFormatOptions, "timeZone">;
902
+ dateTimeFormatOverride?: Omit<Intl.DateTimeFormatOptions, "timeZone">;
873
903
  };
874
- declare function Timestamp({ date, option, endDate, timeZone, hideTimeZone, }: TimestampProps): JSX.Element;
904
+ declare function Timestamp({ date, option, endDate, timeZone, hideTimeZone, locale, dateFormatOverride, dateTimeFormatOverride, }: TimestampProps): JSX.Element;
905
+
906
+ declare function Toggle({ className, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root>): react_jsx_runtime.JSX.Element;
875
907
 
876
908
  type BannerSectionProps = {
877
909
  styles: {
@@ -879,7 +911,7 @@ type BannerSectionProps = {
879
911
  textAlignment: "left" | "right" | "center";
880
912
  };
881
913
  data: {
882
- text: YextEntityField<TranslatableString>;
914
+ text: YextEntityField<TranslatableRichText>;
883
915
  };
884
916
  liveVisibility: boolean;
885
917
  };
@@ -889,6 +921,9 @@ type BreadcrumbsSectionProps = {
889
921
  data: {
890
922
  directoryRoot: TranslatableString;
891
923
  };
924
+ styles: {
925
+ backgroundColor?: BackgroundStyle;
926
+ };
892
927
  analytics?: {
893
928
  scope?: string;
894
929
  };
@@ -948,11 +983,14 @@ interface EventSectionProps {
948
983
  };
949
984
  styles: {
950
985
  backgroundColor?: BackgroundStyle;
951
- cardBackgroundColor?: BackgroundStyle;
952
986
  heading: {
953
987
  level: HeadingLevel;
954
988
  align: "left" | "center" | "right";
955
989
  };
990
+ cards: {
991
+ headingLevel: HeadingLevel;
992
+ backgroundColor?: BackgroundStyle;
993
+ };
956
994
  };
957
995
  analytics?: {
958
996
  scope?: string;
@@ -961,6 +999,11 @@ interface EventSectionProps {
961
999
  }
962
1000
  declare const EventSection: ComponentConfig<EventSectionProps>;
963
1001
 
1002
+ interface ImageStylingProps {
1003
+ aspectRatio: number;
1004
+ width?: number;
1005
+ }
1006
+
964
1007
  interface HeroSectionProps {
965
1008
  data: {
966
1009
  businessName: YextEntityField<TranslatableString>;
@@ -975,6 +1018,7 @@ interface HeroSectionProps {
975
1018
  localGeoModifierLevel: HeadingLevel;
976
1019
  primaryCTA: CTAProps["variant"];
977
1020
  secondaryCTA: CTAProps["variant"];
1021
+ image: ImageStylingProps;
978
1022
  };
979
1023
  analytics?: {
980
1024
  scope?: string;
@@ -990,11 +1034,14 @@ interface InsightSectionProps {
990
1034
  };
991
1035
  styles: {
992
1036
  backgroundColor?: BackgroundStyle;
993
- cardBackgroundColor?: BackgroundStyle;
994
1037
  heading: {
995
1038
  level: HeadingLevel;
996
1039
  align: "left" | "center" | "right";
997
1040
  };
1041
+ cards: {
1042
+ headingLevel: HeadingLevel;
1043
+ backgroundColor?: BackgroundStyle;
1044
+ };
998
1045
  };
999
1046
  analytics?: {
1000
1047
  scope?: string;
@@ -1012,12 +1059,14 @@ interface NearbyLocationsSectionProps {
1012
1059
  };
1013
1060
  styles: {
1014
1061
  backgroundColor?: BackgroundStyle;
1015
- cardBackgroundColor?: BackgroundStyle;
1016
1062
  heading: {
1017
1063
  level: HeadingLevel;
1018
1064
  align: "left" | "center" | "right";
1019
1065
  };
1020
- cardHeadingLevel: HeadingLevel;
1066
+ cards: {
1067
+ headingLevel: HeadingLevel;
1068
+ backgroundColor?: BackgroundStyle;
1069
+ };
1021
1070
  phoneNumberFormat: "domestic" | "international";
1022
1071
  phoneNumberLink: boolean;
1023
1072
  hours: {
@@ -1042,11 +1091,14 @@ interface ProductSectionProps {
1042
1091
  };
1043
1092
  styles: {
1044
1093
  backgroundColor?: BackgroundStyle;
1045
- cardBackgroundColor?: BackgroundStyle;
1046
1094
  heading: {
1047
1095
  level: HeadingLevel;
1048
1096
  align: "left" | "center" | "right";
1049
1097
  };
1098
+ cards: {
1099
+ headingLevel: HeadingLevel;
1100
+ backgroundColor?: BackgroundStyle;
1101
+ };
1050
1102
  };
1051
1103
  analytics?: {
1052
1104
  scope?: string;
@@ -1067,6 +1119,7 @@ interface PromoSectionProps {
1067
1119
  level: HeadingLevel;
1068
1120
  align: "left" | "center" | "right";
1069
1121
  };
1122
+ image: ImageStylingProps;
1070
1123
  };
1071
1124
  analytics?: {
1072
1125
  scope?: string;
@@ -1078,7 +1131,7 @@ declare const PromoSection: ComponentConfig<PromoSectionProps>;
1078
1131
  interface PhotoGallerySectionProps {
1079
1132
  data: {
1080
1133
  heading: YextEntityField<TranslatableString>;
1081
- images: YextEntityField<ImageType[] | ComplexImageType[]>;
1134
+ images: YextEntityField<ImageType[] | ComplexImageType[] | GalleryImageType[]>;
1082
1135
  };
1083
1136
  styles: {
1084
1137
  backgroundColor?: BackgroundStyle;
@@ -1086,7 +1139,7 @@ interface PhotoGallerySectionProps {
1086
1139
  level: HeadingLevel;
1087
1140
  align: "left" | "center" | "right";
1088
1141
  };
1089
- imageStyle: Omit<ImageWrapperProps, "image">;
1142
+ image: ImageStylingProps;
1090
1143
  };
1091
1144
  liveVisibility: boolean;
1092
1145
  }
@@ -1105,6 +1158,9 @@ interface FAQSectionProps {
1105
1158
  };
1106
1159
  };
1107
1160
  liveVisibility: boolean;
1161
+ analytics?: {
1162
+ scope?: string;
1163
+ };
1108
1164
  }
1109
1165
  declare const FAQSection: ComponentConfig<FAQSectionProps>;
1110
1166
 
@@ -1115,28 +1171,34 @@ interface TestimonialSectionProps {
1115
1171
  };
1116
1172
  styles: {
1117
1173
  backgroundColor?: BackgroundStyle;
1118
- cardBackgroundColor?: BackgroundStyle;
1119
1174
  heading: {
1120
1175
  level: HeadingLevel;
1121
1176
  align: "left" | "center" | "right";
1122
1177
  };
1178
+ cards: {
1179
+ headingLevel: HeadingLevel;
1180
+ backgroundColor?: BackgroundStyle;
1181
+ };
1123
1182
  };
1124
1183
  liveVisibility: boolean;
1125
1184
  }
1126
1185
  declare const TestimonialSection: ComponentConfig<TestimonialSectionProps>;
1127
1186
 
1128
1187
  interface TeamSectionProps {
1188
+ data: {
1189
+ heading: YextEntityField<TranslatableString>;
1190
+ people: YextEntityField<TeamSectionType>;
1191
+ };
1129
1192
  styles: {
1130
1193
  backgroundColor?: BackgroundStyle;
1131
- cardBackgroundColor?: BackgroundStyle;
1132
1194
  heading: {
1133
1195
  level: HeadingLevel;
1134
1196
  align: "left" | "center" | "right";
1135
1197
  };
1136
- };
1137
- data: {
1138
- heading: YextEntityField<TranslatableString>;
1139
- people: YextEntityField<TeamSectionType>;
1198
+ cards: {
1199
+ headingLevel: HeadingLevel;
1200
+ backgroundColor?: BackgroundStyle;
1201
+ };
1140
1202
  };
1141
1203
  analytics?: {
1142
1204
  scope?: string;
@@ -1226,8 +1288,10 @@ interface HoursStatusProps {
1226
1288
  }
1227
1289
  declare const HoursStatus: ComponentConfig<HoursStatusProps>;
1228
1290
 
1229
- interface ImageWrapperProps extends Omit<ImageProps, "image"> {
1291
+ interface ImageWrapperProps {
1230
1292
  image: YextEntityField<ImageType | ComplexImageType>;
1293
+ aspectRatio?: number;
1294
+ width?: number;
1231
1295
  }
1232
1296
  declare const ImageWrapper: ComponentConfig<ImageWrapperProps>;
1233
1297
 
@@ -1260,6 +1324,38 @@ type HeaderProps = {
1260
1324
  };
1261
1325
  declare const Header: ComponentConfig<HeaderProps>;
1262
1326
 
1327
+ interface ExpandedHeaderProps {
1328
+ data: {
1329
+ primaryHeader: {
1330
+ logo: string;
1331
+ links: TranslatableCTA[];
1332
+ primaryCTA?: TranslatableCTA;
1333
+ secondaryCTA?: TranslatableCTA;
1334
+ };
1335
+ secondaryHeader: {
1336
+ show: boolean;
1337
+ showLanguageDropdown: boolean;
1338
+ secondaryLinks: TranslatableCTA[];
1339
+ };
1340
+ };
1341
+ styles: {
1342
+ primaryHeader: {
1343
+ logoWidth: number;
1344
+ aspectRatio: ImageWrapperProps["aspectRatio"];
1345
+ backgroundColor?: BackgroundStyle;
1346
+ primaryCtaVariant: CTAProps["variant"];
1347
+ secondaryCtaVariant: CTAProps["variant"];
1348
+ };
1349
+ secondaryHeader: {
1350
+ backgroundColor?: BackgroundStyle;
1351
+ };
1352
+ };
1353
+ analytics?: {
1354
+ scope?: string;
1355
+ };
1356
+ }
1357
+ declare const ExpandedHeader: ComponentConfig<ExpandedHeaderProps>;
1358
+
1263
1359
  type FooterProps = {
1264
1360
  backgroundColor?: BackgroundStyle;
1265
1361
  analytics?: {
@@ -1272,6 +1368,14 @@ interface DirectoryProps {
1272
1368
  data: {
1273
1369
  directoryRoot: TranslatableString;
1274
1370
  };
1371
+ styles: {
1372
+ backgroundColor?: BackgroundStyle;
1373
+ breadcrumbsBackgroundColor?: BackgroundStyle;
1374
+ cards: {
1375
+ headingLevel: HeadingLevel;
1376
+ backgroundColor?: BackgroundStyle;
1377
+ };
1378
+ };
1275
1379
  analytics?: {
1276
1380
  scope?: string;
1277
1381
  };
@@ -1280,6 +1384,7 @@ declare const Directory: ComponentConfig<DirectoryProps>;
1280
1384
 
1281
1385
  type LocatorProps = {
1282
1386
  mapStyle?: string;
1387
+ openNowButton?: boolean;
1283
1388
  entityTypeEnvVar?: string;
1284
1389
  experienceKeyEnvVar?: string;
1285
1390
  };
@@ -1292,46 +1397,96 @@ type StaticMapSectionProps = {
1292
1397
  liveVisibility: boolean;
1293
1398
  };
1294
1399
 
1400
+ interface ExpandedFooterProps {
1401
+ data: {
1402
+ primaryFooter: {
1403
+ logo: string;
1404
+ xLink: string;
1405
+ facebookLink: string;
1406
+ instagramLink: string;
1407
+ pinterestLink: string;
1408
+ linkedInLink: string;
1409
+ youtubeLink: string;
1410
+ utilityImages: {
1411
+ url: string;
1412
+ linkTarget?: string;
1413
+ }[];
1414
+ expandedFooter: boolean;
1415
+ footerLinks: TranslatableCTA[];
1416
+ expandedFooterLinks: {
1417
+ label: TranslatableString;
1418
+ links: TranslatableCTA[];
1419
+ }[];
1420
+ };
1421
+ secondaryFooter: {
1422
+ show: boolean;
1423
+ copyrightMessage: TranslatableString;
1424
+ secondaryFooterLinks: TranslatableCTA[];
1425
+ };
1426
+ };
1427
+ styles: {
1428
+ primaryFooter: {
1429
+ backgroundColor?: BackgroundStyle;
1430
+ linksAlignment: "left" | "right";
1431
+ logoStyles: {
1432
+ logoWidth: number;
1433
+ aspectRatioForLogo: ImageStylingProps["aspectRatio"];
1434
+ };
1435
+ utilityImagesStyles: {
1436
+ utilityImagesWidth: number;
1437
+ aspectRatioForUtilityImages: ImageStylingProps["aspectRatio"];
1438
+ };
1439
+ };
1440
+ secondaryFooter: {
1441
+ backgroundColor?: BackgroundStyle;
1442
+ linksAlignment: "left" | "right";
1443
+ };
1444
+ };
1445
+ analytics?: {
1446
+ scope?: string;
1447
+ };
1448
+ }
1449
+
1295
1450
  interface PageSectionCategoryProps {
1451
+ BannerSection: BannerSectionProps;
1296
1452
  BreadcrumbsSection: BreadcrumbsSectionProps;
1297
- HeroSection: HeroSectionProps;
1298
- EventSection: EventSectionProps;
1299
1453
  CoreInfoSection: CoreInfoSectionProps;
1454
+ EventSection: EventSectionProps;
1455
+ FAQSection: FAQSectionProps;
1456
+ HeroSection: HeroSectionProps;
1300
1457
  InsightSection: InsightSectionProps;
1301
1458
  NearbyLocationsSection: NearbyLocationsSectionProps;
1302
- BannerSection: BannerSectionProps;
1459
+ PhotoGallerySection: PhotoGallerySectionProps;
1303
1460
  ProductSection: ProductSectionProps;
1304
1461
  PromoSection: PromoSectionProps;
1305
- PhotoGallerySection: PhotoGallerySectionProps;
1306
- TeamSection: TeamSectionProps;
1307
- FAQSection: FAQSectionProps;
1308
1462
  StaticMapSection: StaticMapSectionProps;
1463
+ TeamSection: TeamSectionProps;
1309
1464
  TestimonialSection: TestimonialSectionProps;
1310
1465
  }
1311
1466
  declare const PageSectionCategoryComponents: {
1467
+ BannerSection: _measured_puck.ComponentConfig<BannerSectionProps>;
1312
1468
  BreadcrumbsSection: _measured_puck.ComponentConfig<BreadcrumbsSectionProps>;
1313
- HeroSection: _measured_puck.ComponentConfig<HeroSectionProps>;
1314
1469
  CoreInfoSection: _measured_puck.ComponentConfig<CoreInfoSectionProps>;
1315
- NearbyLocationsSection: _measured_puck.ComponentConfig<NearbyLocationsSectionProps>;
1316
- BannerSection: _measured_puck.ComponentConfig<BannerSectionProps>;
1317
- PhotoGallerySection: _measured_puck.ComponentConfig<PhotoGallerySectionProps>;
1318
- StaticMapSection: _measured_puck.ComponentConfig<StaticMapSectionProps>;
1319
1470
  EventSection: _measured_puck.ComponentConfig<EventSectionProps>;
1320
1471
  FAQSection: _measured_puck.ComponentConfig<FAQSectionProps>;
1472
+ HeroSection: _measured_puck.ComponentConfig<HeroSectionProps>;
1321
1473
  InsightSection: _measured_puck.ComponentConfig<InsightSectionProps>;
1474
+ NearbyLocationsSection: _measured_puck.ComponentConfig<NearbyLocationsSectionProps>;
1475
+ PhotoGallerySection: _measured_puck.ComponentConfig<PhotoGallerySectionProps>;
1322
1476
  ProductSection: _measured_puck.ComponentConfig<ProductSectionProps>;
1323
1477
  PromoSection: _measured_puck.ComponentConfig<PromoSectionProps>;
1478
+ StaticMapSection: _measured_puck.ComponentConfig<StaticMapSectionProps>;
1324
1479
  TeamSection: _measured_puck.ComponentConfig<TeamSectionProps>;
1325
1480
  TestimonialSection: _measured_puck.ComponentConfig<TestimonialSectionProps>;
1326
1481
  };
1327
1482
  declare const PageSectionCategory: (keyof PageSectionCategoryProps)[];
1328
1483
  interface OtherCategoryProps {
1329
- Header: HeaderProps;
1330
- Footer: FooterProps;
1484
+ ExpandedHeader: ExpandedHeaderProps;
1485
+ ExpandedFooter: ExpandedFooterProps;
1331
1486
  }
1332
1487
  declare const OtherCategoryComponents: {
1333
- Header: _measured_puck.ComponentConfig<HeaderProps>;
1334
- Footer: _measured_puck.ComponentConfig<FooterProps>;
1488
+ ExpandedHeader: _measured_puck.ComponentConfig<ExpandedHeaderProps>;
1489
+ ExpandedFooter: _measured_puck.ComponentConfig<ExpandedFooterProps>;
1335
1490
  };
1336
1491
  declare const OtherCategory: (keyof OtherCategoryProps)[];
1337
1492
  interface DirectoryCategoryProps {
@@ -1348,6 +1503,15 @@ declare const LocatorCategoryComponents: {
1348
1503
  Locator: _measured_puck.ComponentConfig<LocatorProps>;
1349
1504
  };
1350
1505
  declare const LocatorCategory: (keyof LocatorCategoryProps)[];
1506
+ interface DeprecatedCategoryProps {
1507
+ Header: HeaderProps;
1508
+ Footer: FooterProps;
1509
+ }
1510
+ declare const DeprecatedCategoryComponents: {
1511
+ Header: _measured_puck.ComponentConfig<HeaderProps>;
1512
+ Footer: _measured_puck.ComponentConfig<FooterProps>;
1513
+ };
1514
+ declare const DeprecatedCategory: (keyof DeprecatedCategoryProps)[];
1351
1515
  /** THE CATEGORIES BELOW ARE NO LONGER SUPPORTED */
1352
1516
  interface LayoutBlockCategoryProps {
1353
1517
  Flex: FlexProps;
@@ -1388,6 +1552,11 @@ declare const ContentBlockCategoryComponents: {
1388
1552
  };
1389
1553
  declare const ContentBlockCategory: (keyof ContentBlockCategoryProps)[];
1390
1554
 
1555
+ type ReviewsSectionProps = {
1556
+ backgroundColor: BackgroundStyle;
1557
+ };
1558
+ declare const ReviewsSection: ComponentConfig<ReviewsSectionProps>;
1559
+
1391
1560
  type SectionContainerProps = {
1392
1561
  background?: BackgroundStyle;
1393
1562
  sectionHeading: {
@@ -1405,4 +1574,4 @@ declare const addHeadingAlignmentMigration: Migration;
1405
1574
 
1406
1575
  declare const defaultThemeConfig: ThemeConfig;
1407
1576
 
1408
- 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, type ComponentField, ComponentFields, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, 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, HoursStatusAtom, type HoursStatusAtomProps, type HoursStatusProps, HoursTable, HoursTableAtom, type HoursTableAtomProps, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, KnowledgeGraphIcon, 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, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RenderYextEntityFieldSelectorProps, type RichText, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, type TranslatableCTA, type TranslatableRichText, TranslatableRichTextField, type TranslatableString, TranslatableStringField, VisibilityWrapper, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, addHeadingAlignmentMigration, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createSearchAnalyticsConfig, createSearchHeadlessConfig, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchLocalesToPathsForEntity, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, headingVariants, i18nComponentsInstance, i18nPlatformInstance, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveTranslatableRichText, resolveTranslatableString, resolveYextEntityField, resolveYextStructField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, validateSlug, withPropOverrides };
1577
+ 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, type ComponentField, ComponentFields, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, DeprecatedCategory, DeprecatedCategoryComponents, type DeprecatedCategoryProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExpandedHeader, type ExpandedHeaderProps, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, type GalleryImageType, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, type HeroSectionType, HoursStatus, HoursStatusAtom, type HoursStatusAtomProps, type HoursStatusProps, HoursTable, HoursTableAtom, type HoursTableAtomProps, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, KnowledgeGraphIcon, 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, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RenderYextEntityFieldSelectorProps, ReviewsSection, type ReviewsSectionProps, type RichText, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, Toggle, type TranslatableCTA, type TranslatableRichText, TranslatableRichTextField, type TranslatableString, TranslatableStringField, VisibilityWrapper, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, addHeadingAlignmentMigration, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createSearchAnalyticsConfig, createSearchHeadlessConfig, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchLocalesToPathsForEntity, fetchNearbyLocations, fetchReviewsForEntity, getAnalyticsScopeHash, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, headingVariants, i18nComponentsInstance, i18nPlatformInstance, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveTranslatableRichText, resolveTranslatableString, resolveYextEntityField, resolveYextStructField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, validateSlug, withPropOverrides };