@yext/visual-editor 1.0.2 → 1.0.4
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/editor.css +1 -1
- package/dist/index.d.cts +25 -14
- package/dist/index.d.ts +25 -14
- package/dist/plugin/plugin.cjs +1 -1
- package/dist/plugin/plugin.js +185 -87
- package/dist/visual-editor.cjs +85 -85
- package/dist/visual-editor.js +22479 -21420
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -208,6 +208,11 @@ type AssetImageType = Omit<ImageType, "alternateText"> & {
|
|
|
208
208
|
alternateText?: TranslatableString;
|
|
209
209
|
assetImage?: ImageContentData;
|
|
210
210
|
};
|
|
211
|
+
type LocalizedAssetImage = {
|
|
212
|
+
hasLocalizedValue: "true";
|
|
213
|
+
[key: string]: AssetImageType | string | undefined;
|
|
214
|
+
};
|
|
215
|
+
type TranslatableAssetImage = AssetImageType | LocalizedAssetImage;
|
|
211
216
|
|
|
212
217
|
type Video$1 = {
|
|
213
218
|
/** The YouTube video URL */
|
|
@@ -253,8 +258,11 @@ type EnhancedTranslatableCTA = TranslatableCTA & {
|
|
|
253
258
|
*/
|
|
254
259
|
ctaType?: "textAndLink" | "getDirections" | "presetImage";
|
|
255
260
|
};
|
|
261
|
+
/** Preset delivery logo options */
|
|
262
|
+
declare const FOOD_DELIVERY_SERVICES: readonly ["deliveroo", "doordash", "grubhub", "skip-the-dishes", "postmates", "uber-eats", "ezcater"];
|
|
263
|
+
type FoodDeliveryServiceType = (typeof FOOD_DELIVERY_SERVICES)[number];
|
|
256
264
|
/** Preset image types for CTA buttons - app store or food delivery logos */
|
|
257
|
-
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" |
|
|
265
|
+
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" | FoodDeliveryServiceType;
|
|
258
266
|
/** Data for the HeroSection */
|
|
259
267
|
type HeroSectionType = {
|
|
260
268
|
/**
|
|
@@ -496,6 +504,7 @@ declare const ThemeOptions: {
|
|
|
496
504
|
value: string;
|
|
497
505
|
}[];
|
|
498
506
|
BACKGROUND_COLOR: ComboboxOptionGroup[];
|
|
507
|
+
SITE_COLOR: ComboboxOptionGroup[];
|
|
499
508
|
CTA_VARIANT: {
|
|
500
509
|
label: MsgString;
|
|
501
510
|
value: string;
|
|
@@ -1209,6 +1218,7 @@ type CTAProps = {
|
|
|
1209
1218
|
ariaLabel?: string;
|
|
1210
1219
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1211
1220
|
disabled?: boolean;
|
|
1221
|
+
color?: BackgroundStyle;
|
|
1212
1222
|
};
|
|
1213
1223
|
/**
|
|
1214
1224
|
* The different visual variants for CTA buttons.
|
|
@@ -1239,12 +1249,13 @@ interface HoursTableAtomProps extends Omit<HoursTableProps$1, "dayOfWeekNames" |
|
|
|
1239
1249
|
declare const HoursTableAtom: (props: HoursTableAtomProps) => react_jsx_runtime.JSX.Element;
|
|
1240
1250
|
|
|
1241
1251
|
interface ImageProps {
|
|
1242
|
-
image: ImageType | ComplexImageType |
|
|
1252
|
+
image: ImageType | ComplexImageType | TranslatableAssetImage;
|
|
1243
1253
|
aspectRatio?: number;
|
|
1244
1254
|
width?: number;
|
|
1245
1255
|
className?: string;
|
|
1246
1256
|
/** sizes attribute of the underlying img tag */
|
|
1247
1257
|
sizes?: string;
|
|
1258
|
+
loading?: "lazy" | "eager";
|
|
1248
1259
|
}
|
|
1249
1260
|
declare const Image: React.FC<ImageProps>;
|
|
1250
1261
|
type ImgSizesByBreakpoint = {
|
|
@@ -1418,6 +1429,7 @@ interface AddressProps {
|
|
|
1418
1429
|
showGetDirectionsLink: boolean;
|
|
1419
1430
|
/** The variant of the get directions button */
|
|
1420
1431
|
ctaVariant: CTAVariant;
|
|
1432
|
+
color?: BackgroundStyle;
|
|
1421
1433
|
};
|
|
1422
1434
|
/** @internal */
|
|
1423
1435
|
parentData?: {
|
|
@@ -1466,6 +1478,7 @@ interface CTAWrapperProps {
|
|
|
1466
1478
|
variant: CTAVariant;
|
|
1467
1479
|
/** The image to use if the CTA is set to preset image */
|
|
1468
1480
|
presetImage?: PresetImageType;
|
|
1481
|
+
color?: BackgroundStyle;
|
|
1469
1482
|
};
|
|
1470
1483
|
/** Additional CSS classes to apply to the CTA. */
|
|
1471
1484
|
className?: string;
|
|
@@ -1499,6 +1512,7 @@ declare const Emails: ComponentConfig<EmailsProps>;
|
|
|
1499
1512
|
|
|
1500
1513
|
type GetDirectionsProps = {
|
|
1501
1514
|
variant: CTAVariant;
|
|
1515
|
+
color?: BackgroundStyle;
|
|
1502
1516
|
};
|
|
1503
1517
|
declare const GetDirections: ComponentConfig<{
|
|
1504
1518
|
props: GetDirectionsProps;
|
|
@@ -1588,14 +1602,15 @@ interface ImageStylingProps {
|
|
|
1588
1602
|
interface ImageWrapperProps {
|
|
1589
1603
|
data: {
|
|
1590
1604
|
/** The image to display. */
|
|
1591
|
-
image: YextEntityField<ImageType | ComplexImageType |
|
|
1605
|
+
image: YextEntityField<ImageType | ComplexImageType | TranslatableAssetImage>;
|
|
1606
|
+
link?: TranslatableString;
|
|
1592
1607
|
};
|
|
1593
1608
|
/** Size and aspect ratio of the image. */
|
|
1594
1609
|
styles: ImageStylingProps;
|
|
1595
1610
|
/** @internal Controlled data from the parent section. */
|
|
1596
1611
|
parentData?: {
|
|
1597
1612
|
field: string;
|
|
1598
|
-
image: ImageType | ComplexImageType |
|
|
1613
|
+
image: ImageType | ComplexImageType | TranslatableAssetImage | undefined;
|
|
1599
1614
|
};
|
|
1600
1615
|
/** Additional CSS classes to apply to the image. */
|
|
1601
1616
|
className?: string;
|
|
@@ -1657,6 +1672,7 @@ type BasicCTAProps = {
|
|
|
1657
1672
|
variant: CTAVariant;
|
|
1658
1673
|
/** The image to use if the CTA is set to preset image */
|
|
1659
1674
|
presetImage?: PresetImageType;
|
|
1675
|
+
color?: BackgroundStyle;
|
|
1660
1676
|
};
|
|
1661
1677
|
interface CTAGroupProps {
|
|
1662
1678
|
buttons: BasicCTAProps[];
|
|
@@ -1930,7 +1946,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1930
1946
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
1931
1947
|
inline?: boolean;
|
|
1932
1948
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1933
|
-
changed: Partial<Record<
|
|
1949
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1934
1950
|
id: string;
|
|
1935
1951
|
}>;
|
|
1936
1952
|
fields: _measured_puck.Fields<GetDirectionsProps, {}>;
|
|
@@ -1940,7 +1956,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1940
1956
|
parent: _measured_puck.ComponentData | null;
|
|
1941
1957
|
}) => _measured_puck.Fields<GetDirectionsProps, {}> | Promise<_measured_puck.Fields<GetDirectionsProps, {}>>) | undefined;
|
|
1942
1958
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1943
|
-
changed: Partial<Record<
|
|
1959
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1944
1960
|
id: string;
|
|
1945
1961
|
}>;
|
|
1946
1962
|
lastData: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -1952,7 +1968,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1952
1968
|
props?: Partial<GetDirectionsProps> | undefined;
|
|
1953
1969
|
}>) | undefined;
|
|
1954
1970
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1955
|
-
changed: Partial<Record<
|
|
1971
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1956
1972
|
id: string;
|
|
1957
1973
|
}>;
|
|
1958
1974
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2530,7 +2546,7 @@ declare const ExpandedFooter: ComponentConfig<{
|
|
|
2530
2546
|
|
|
2531
2547
|
interface FooterLogoSlotProps {
|
|
2532
2548
|
data: {
|
|
2533
|
-
image: YextEntityField<AssetImageType>;
|
|
2549
|
+
image: YextEntityField<AssetImageType | TranslatableAssetImage>;
|
|
2534
2550
|
linkTarget?: string;
|
|
2535
2551
|
};
|
|
2536
2552
|
styles: {
|
|
@@ -4404,11 +4420,6 @@ declare const Timestamp: ComponentConfig<{
|
|
|
4404
4420
|
type NearbyLocationCardsWrapperProps = {
|
|
4405
4421
|
/** The search parameters for finding nearby locations. */
|
|
4406
4422
|
data: {
|
|
4407
|
-
/**
|
|
4408
|
-
* The central coordinate (`latitude`, `longitude`) to search from.
|
|
4409
|
-
* @defaultValue 'yextDisplayCoordinate' field
|
|
4410
|
-
*/
|
|
4411
|
-
coordinate: YextEntityField<Coordinate>;
|
|
4412
4423
|
/**
|
|
4413
4424
|
* The search radius in miles.
|
|
4414
4425
|
* @defaultValue 10
|
|
@@ -6761,4 +6772,4 @@ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, r
|
|
|
6761
6772
|
declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
|
|
6762
6773
|
declare const defaultThemeConfig: ThemeConfig;
|
|
6763
6774
|
|
|
6764
|
-
export { 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, type FontRegistry, FontSizeSelector, 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 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, 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, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampAtom, type TimestampAtomProps, TimestampOption, type TimestampProps, Toggle, 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, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, fetchReviewsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, locatorConfig, mainConfig, mergeMeta, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolvePageSetUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|
|
6775
|
+
export { 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, 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, TextList, type TextListProps, 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, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, fetchReviewsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, locatorConfig, mainConfig, mergeMeta, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolvePageSetUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|
package/dist/index.d.ts
CHANGED
|
@@ -208,6 +208,11 @@ type AssetImageType = Omit<ImageType, "alternateText"> & {
|
|
|
208
208
|
alternateText?: TranslatableString;
|
|
209
209
|
assetImage?: ImageContentData;
|
|
210
210
|
};
|
|
211
|
+
type LocalizedAssetImage = {
|
|
212
|
+
hasLocalizedValue: "true";
|
|
213
|
+
[key: string]: AssetImageType | string | undefined;
|
|
214
|
+
};
|
|
215
|
+
type TranslatableAssetImage = AssetImageType | LocalizedAssetImage;
|
|
211
216
|
|
|
212
217
|
type Video$1 = {
|
|
213
218
|
/** The YouTube video URL */
|
|
@@ -253,8 +258,11 @@ type EnhancedTranslatableCTA = TranslatableCTA & {
|
|
|
253
258
|
*/
|
|
254
259
|
ctaType?: "textAndLink" | "getDirections" | "presetImage";
|
|
255
260
|
};
|
|
261
|
+
/** Preset delivery logo options */
|
|
262
|
+
declare const FOOD_DELIVERY_SERVICES: readonly ["deliveroo", "doordash", "grubhub", "skip-the-dishes", "postmates", "uber-eats", "ezcater"];
|
|
263
|
+
type FoodDeliveryServiceType = (typeof FOOD_DELIVERY_SERVICES)[number];
|
|
256
264
|
/** Preset image types for CTA buttons - app store or food delivery logos */
|
|
257
|
-
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" |
|
|
265
|
+
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" | FoodDeliveryServiceType;
|
|
258
266
|
/** Data for the HeroSection */
|
|
259
267
|
type HeroSectionType = {
|
|
260
268
|
/**
|
|
@@ -496,6 +504,7 @@ declare const ThemeOptions: {
|
|
|
496
504
|
value: string;
|
|
497
505
|
}[];
|
|
498
506
|
BACKGROUND_COLOR: ComboboxOptionGroup[];
|
|
507
|
+
SITE_COLOR: ComboboxOptionGroup[];
|
|
499
508
|
CTA_VARIANT: {
|
|
500
509
|
label: MsgString;
|
|
501
510
|
value: string;
|
|
@@ -1209,6 +1218,7 @@ type CTAProps = {
|
|
|
1209
1218
|
ariaLabel?: string;
|
|
1210
1219
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1211
1220
|
disabled?: boolean;
|
|
1221
|
+
color?: BackgroundStyle;
|
|
1212
1222
|
};
|
|
1213
1223
|
/**
|
|
1214
1224
|
* The different visual variants for CTA buttons.
|
|
@@ -1239,12 +1249,13 @@ interface HoursTableAtomProps extends Omit<HoursTableProps$1, "dayOfWeekNames" |
|
|
|
1239
1249
|
declare const HoursTableAtom: (props: HoursTableAtomProps) => react_jsx_runtime.JSX.Element;
|
|
1240
1250
|
|
|
1241
1251
|
interface ImageProps {
|
|
1242
|
-
image: ImageType | ComplexImageType |
|
|
1252
|
+
image: ImageType | ComplexImageType | TranslatableAssetImage;
|
|
1243
1253
|
aspectRatio?: number;
|
|
1244
1254
|
width?: number;
|
|
1245
1255
|
className?: string;
|
|
1246
1256
|
/** sizes attribute of the underlying img tag */
|
|
1247
1257
|
sizes?: string;
|
|
1258
|
+
loading?: "lazy" | "eager";
|
|
1248
1259
|
}
|
|
1249
1260
|
declare const Image: React.FC<ImageProps>;
|
|
1250
1261
|
type ImgSizesByBreakpoint = {
|
|
@@ -1418,6 +1429,7 @@ interface AddressProps {
|
|
|
1418
1429
|
showGetDirectionsLink: boolean;
|
|
1419
1430
|
/** The variant of the get directions button */
|
|
1420
1431
|
ctaVariant: CTAVariant;
|
|
1432
|
+
color?: BackgroundStyle;
|
|
1421
1433
|
};
|
|
1422
1434
|
/** @internal */
|
|
1423
1435
|
parentData?: {
|
|
@@ -1466,6 +1478,7 @@ interface CTAWrapperProps {
|
|
|
1466
1478
|
variant: CTAVariant;
|
|
1467
1479
|
/** The image to use if the CTA is set to preset image */
|
|
1468
1480
|
presetImage?: PresetImageType;
|
|
1481
|
+
color?: BackgroundStyle;
|
|
1469
1482
|
};
|
|
1470
1483
|
/** Additional CSS classes to apply to the CTA. */
|
|
1471
1484
|
className?: string;
|
|
@@ -1499,6 +1512,7 @@ declare const Emails: ComponentConfig<EmailsProps>;
|
|
|
1499
1512
|
|
|
1500
1513
|
type GetDirectionsProps = {
|
|
1501
1514
|
variant: CTAVariant;
|
|
1515
|
+
color?: BackgroundStyle;
|
|
1502
1516
|
};
|
|
1503
1517
|
declare const GetDirections: ComponentConfig<{
|
|
1504
1518
|
props: GetDirectionsProps;
|
|
@@ -1588,14 +1602,15 @@ interface ImageStylingProps {
|
|
|
1588
1602
|
interface ImageWrapperProps {
|
|
1589
1603
|
data: {
|
|
1590
1604
|
/** The image to display. */
|
|
1591
|
-
image: YextEntityField<ImageType | ComplexImageType |
|
|
1605
|
+
image: YextEntityField<ImageType | ComplexImageType | TranslatableAssetImage>;
|
|
1606
|
+
link?: TranslatableString;
|
|
1592
1607
|
};
|
|
1593
1608
|
/** Size and aspect ratio of the image. */
|
|
1594
1609
|
styles: ImageStylingProps;
|
|
1595
1610
|
/** @internal Controlled data from the parent section. */
|
|
1596
1611
|
parentData?: {
|
|
1597
1612
|
field: string;
|
|
1598
|
-
image: ImageType | ComplexImageType |
|
|
1613
|
+
image: ImageType | ComplexImageType | TranslatableAssetImage | undefined;
|
|
1599
1614
|
};
|
|
1600
1615
|
/** Additional CSS classes to apply to the image. */
|
|
1601
1616
|
className?: string;
|
|
@@ -1657,6 +1672,7 @@ type BasicCTAProps = {
|
|
|
1657
1672
|
variant: CTAVariant;
|
|
1658
1673
|
/** The image to use if the CTA is set to preset image */
|
|
1659
1674
|
presetImage?: PresetImageType;
|
|
1675
|
+
color?: BackgroundStyle;
|
|
1660
1676
|
};
|
|
1661
1677
|
interface CTAGroupProps {
|
|
1662
1678
|
buttons: BasicCTAProps[];
|
|
@@ -1930,7 +1946,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1930
1946
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
1931
1947
|
inline?: boolean;
|
|
1932
1948
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1933
|
-
changed: Partial<Record<
|
|
1949
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1934
1950
|
id: string;
|
|
1935
1951
|
}>;
|
|
1936
1952
|
fields: _measured_puck.Fields<GetDirectionsProps, {}>;
|
|
@@ -1940,7 +1956,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1940
1956
|
parent: _measured_puck.ComponentData | null;
|
|
1941
1957
|
}) => _measured_puck.Fields<GetDirectionsProps, {}> | Promise<_measured_puck.Fields<GetDirectionsProps, {}>>) | undefined;
|
|
1942
1958
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1943
|
-
changed: Partial<Record<
|
|
1959
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1944
1960
|
id: string;
|
|
1945
1961
|
}>;
|
|
1946
1962
|
lastData: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -1952,7 +1968,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1952
1968
|
props?: Partial<GetDirectionsProps> | undefined;
|
|
1953
1969
|
}>) | undefined;
|
|
1954
1970
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1955
|
-
changed: Partial<Record<
|
|
1971
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1956
1972
|
id: string;
|
|
1957
1973
|
}>;
|
|
1958
1974
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2530,7 +2546,7 @@ declare const ExpandedFooter: ComponentConfig<{
|
|
|
2530
2546
|
|
|
2531
2547
|
interface FooterLogoSlotProps {
|
|
2532
2548
|
data: {
|
|
2533
|
-
image: YextEntityField<AssetImageType>;
|
|
2549
|
+
image: YextEntityField<AssetImageType | TranslatableAssetImage>;
|
|
2534
2550
|
linkTarget?: string;
|
|
2535
2551
|
};
|
|
2536
2552
|
styles: {
|
|
@@ -4404,11 +4420,6 @@ declare const Timestamp: ComponentConfig<{
|
|
|
4404
4420
|
type NearbyLocationCardsWrapperProps = {
|
|
4405
4421
|
/** The search parameters for finding nearby locations. */
|
|
4406
4422
|
data: {
|
|
4407
|
-
/**
|
|
4408
|
-
* The central coordinate (`latitude`, `longitude`) to search from.
|
|
4409
|
-
* @defaultValue 'yextDisplayCoordinate' field
|
|
4410
|
-
*/
|
|
4411
|
-
coordinate: YextEntityField<Coordinate>;
|
|
4412
4423
|
/**
|
|
4413
4424
|
* The search radius in miles.
|
|
4414
4425
|
* @defaultValue 10
|
|
@@ -6761,4 +6772,4 @@ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, r
|
|
|
6761
6772
|
declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
|
|
6762
6773
|
declare const defaultThemeConfig: ThemeConfig;
|
|
6763
6774
|
|
|
6764
|
-
export { 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, type FontRegistry, FontSizeSelector, 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 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, 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, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampAtom, type TimestampAtomProps, TimestampOption, type TimestampProps, Toggle, 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, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, fetchReviewsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, locatorConfig, mainConfig, mergeMeta, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolvePageSetUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|
|
6775
|
+
export { 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, 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, TextList, type TextListProps, 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, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, fetchReviewsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, locatorConfig, mainConfig, mergeMeta, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolvePageSetUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|