@yext/visual-editor 1.0.1 → 1.0.3
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 +19 -14
- package/dist/index.d.ts +19 -14
- package/dist/plugin/plugin.cjs +2 -6
- package/dist/plugin/plugin.js +35 -43
- package/dist/style.css +1 -1
- package/dist/visual-editor.cjs +86 -82
- package/dist/visual-editor.js +20723 -19765
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -253,8 +253,11 @@ type EnhancedTranslatableCTA = TranslatableCTA & {
|
|
|
253
253
|
*/
|
|
254
254
|
ctaType?: "textAndLink" | "getDirections" | "presetImage";
|
|
255
255
|
};
|
|
256
|
+
/** Preset delivery logo options */
|
|
257
|
+
declare const FOOD_DELIVERY_SERVICES: readonly ["deliveroo", "doordash", "grubhub", "skip-the-dishes", "postmates", "uber-eats", "ezcater"];
|
|
258
|
+
type FoodDeliveryServiceType = (typeof FOOD_DELIVERY_SERVICES)[number];
|
|
256
259
|
/** Preset image types for CTA buttons - app store or food delivery logos */
|
|
257
|
-
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" |
|
|
260
|
+
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" | FoodDeliveryServiceType;
|
|
258
261
|
/** Data for the HeroSection */
|
|
259
262
|
type HeroSectionType = {
|
|
260
263
|
/**
|
|
@@ -496,6 +499,7 @@ declare const ThemeOptions: {
|
|
|
496
499
|
value: string;
|
|
497
500
|
}[];
|
|
498
501
|
BACKGROUND_COLOR: ComboboxOptionGroup[];
|
|
502
|
+
SITE_COLOR: ComboboxOptionGroup[];
|
|
499
503
|
CTA_VARIANT: {
|
|
500
504
|
label: MsgString;
|
|
501
505
|
value: string;
|
|
@@ -678,7 +682,7 @@ type MigrationAction = {
|
|
|
678
682
|
};
|
|
679
683
|
type Migration = Record<string, MigrationAction> | {
|
|
680
684
|
root: {
|
|
681
|
-
propTransformation: (oldProps: Record<string, any
|
|
685
|
+
propTransformation: (oldProps: Record<string, any>, streamDocument: StreamDocument) => Record<string, any>;
|
|
682
686
|
};
|
|
683
687
|
};
|
|
684
688
|
type MigrationRegistry = Migration[];
|
|
@@ -1209,6 +1213,7 @@ type CTAProps = {
|
|
|
1209
1213
|
ariaLabel?: string;
|
|
1210
1214
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1211
1215
|
disabled?: boolean;
|
|
1216
|
+
color?: BackgroundStyle;
|
|
1212
1217
|
};
|
|
1213
1218
|
/**
|
|
1214
1219
|
* The different visual variants for CTA buttons.
|
|
@@ -1226,7 +1231,6 @@ declare const headingVariants: (props?: ({
|
|
|
1226
1231
|
level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1227
1232
|
fontSize?: "default" | "base" | "sm" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
1228
1233
|
weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
|
|
1229
|
-
transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
|
|
1230
1234
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1231
1235
|
interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
|
|
1232
1236
|
level: HeadingLevel;
|
|
@@ -1246,6 +1250,7 @@ interface ImageProps {
|
|
|
1246
1250
|
className?: string;
|
|
1247
1251
|
/** sizes attribute of the underlying img tag */
|
|
1248
1252
|
sizes?: string;
|
|
1253
|
+
loading?: "lazy" | "eager";
|
|
1249
1254
|
}
|
|
1250
1255
|
declare const Image: React.FC<ImageProps>;
|
|
1251
1256
|
type ImgSizesByBreakpoint = {
|
|
@@ -1419,6 +1424,7 @@ interface AddressProps {
|
|
|
1419
1424
|
showGetDirectionsLink: boolean;
|
|
1420
1425
|
/** The variant of the get directions button */
|
|
1421
1426
|
ctaVariant: CTAVariant;
|
|
1427
|
+
color?: BackgroundStyle;
|
|
1422
1428
|
};
|
|
1423
1429
|
/** @internal */
|
|
1424
1430
|
parentData?: {
|
|
@@ -1467,6 +1473,7 @@ interface CTAWrapperProps {
|
|
|
1467
1473
|
variant: CTAVariant;
|
|
1468
1474
|
/** The image to use if the CTA is set to preset image */
|
|
1469
1475
|
presetImage?: PresetImageType;
|
|
1476
|
+
color?: BackgroundStyle;
|
|
1470
1477
|
};
|
|
1471
1478
|
/** Additional CSS classes to apply to the CTA. */
|
|
1472
1479
|
className?: string;
|
|
@@ -1500,6 +1507,7 @@ declare const Emails: ComponentConfig<EmailsProps>;
|
|
|
1500
1507
|
|
|
1501
1508
|
type GetDirectionsProps = {
|
|
1502
1509
|
variant: CTAVariant;
|
|
1510
|
+
color?: BackgroundStyle;
|
|
1503
1511
|
};
|
|
1504
1512
|
declare const GetDirections: ComponentConfig<{
|
|
1505
1513
|
props: GetDirectionsProps;
|
|
@@ -1590,6 +1598,7 @@ interface ImageWrapperProps {
|
|
|
1590
1598
|
data: {
|
|
1591
1599
|
/** The image to display. */
|
|
1592
1600
|
image: YextEntityField<ImageType | ComplexImageType | AssetImageType>;
|
|
1601
|
+
link?: TranslatableString;
|
|
1593
1602
|
};
|
|
1594
1603
|
/** Size and aspect ratio of the image. */
|
|
1595
1604
|
styles: ImageStylingProps;
|
|
@@ -1658,6 +1667,7 @@ type BasicCTAProps = {
|
|
|
1658
1667
|
variant: CTAVariant;
|
|
1659
1668
|
/** The image to use if the CTA is set to preset image */
|
|
1660
1669
|
presetImage?: PresetImageType;
|
|
1670
|
+
color?: BackgroundStyle;
|
|
1661
1671
|
};
|
|
1662
1672
|
interface CTAGroupProps {
|
|
1663
1673
|
buttons: BasicCTAProps[];
|
|
@@ -1931,7 +1941,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1931
1941
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
1932
1942
|
inline?: boolean;
|
|
1933
1943
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1934
|
-
changed: Partial<Record<
|
|
1944
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1935
1945
|
id: string;
|
|
1936
1946
|
}>;
|
|
1937
1947
|
fields: _measured_puck.Fields<GetDirectionsProps, {}>;
|
|
@@ -1941,7 +1951,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1941
1951
|
parent: _measured_puck.ComponentData | null;
|
|
1942
1952
|
}) => _measured_puck.Fields<GetDirectionsProps, {}> | Promise<_measured_puck.Fields<GetDirectionsProps, {}>>) | undefined;
|
|
1943
1953
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1944
|
-
changed: Partial<Record<
|
|
1954
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1945
1955
|
id: string;
|
|
1946
1956
|
}>;
|
|
1947
1957
|
lastData: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -1953,7 +1963,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1953
1963
|
props?: Partial<GetDirectionsProps> | undefined;
|
|
1954
1964
|
}>) | undefined;
|
|
1955
1965
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1956
|
-
changed: Partial<Record<
|
|
1966
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1957
1967
|
id: string;
|
|
1958
1968
|
}>;
|
|
1959
1969
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2684,8 +2694,8 @@ declare const Header: ComponentConfig<{
|
|
|
2684
2694
|
interface ExpandedHeaderStyles {
|
|
2685
2695
|
/** The maximum width of the header */
|
|
2686
2696
|
maxWidth: PageSectionProps["maxWidth"];
|
|
2687
|
-
/** Whether the header is
|
|
2688
|
-
headerPosition: "
|
|
2697
|
+
/** Whether the header is fixed to the top of the page or not */
|
|
2698
|
+
headerPosition: "fixed" | "scrollsWithPage";
|
|
2689
2699
|
}
|
|
2690
2700
|
interface ExpandedHeaderProps {
|
|
2691
2701
|
/**
|
|
@@ -4405,11 +4415,6 @@ declare const Timestamp: ComponentConfig<{
|
|
|
4405
4415
|
type NearbyLocationCardsWrapperProps = {
|
|
4406
4416
|
/** The search parameters for finding nearby locations. */
|
|
4407
4417
|
data: {
|
|
4408
|
-
/**
|
|
4409
|
-
* The central coordinate (`latitude`, `longitude`) to search from.
|
|
4410
|
-
* @defaultValue 'yextDisplayCoordinate' field
|
|
4411
|
-
*/
|
|
4412
|
-
coordinate: YextEntityField<Coordinate>;
|
|
4413
4418
|
/**
|
|
4414
4419
|
* The search radius in miles.
|
|
4415
4420
|
* @defaultValue 10
|
|
@@ -6762,4 +6767,4 @@ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, r
|
|
|
6762
6767
|
declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
|
|
6763
6768
|
declare const defaultThemeConfig: ThemeConfig;
|
|
6764
6769
|
|
|
6765
|
-
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 };
|
|
6770
|
+
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 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -253,8 +253,11 @@ type EnhancedTranslatableCTA = TranslatableCTA & {
|
|
|
253
253
|
*/
|
|
254
254
|
ctaType?: "textAndLink" | "getDirections" | "presetImage";
|
|
255
255
|
};
|
|
256
|
+
/** Preset delivery logo options */
|
|
257
|
+
declare const FOOD_DELIVERY_SERVICES: readonly ["deliveroo", "doordash", "grubhub", "skip-the-dishes", "postmates", "uber-eats", "ezcater"];
|
|
258
|
+
type FoodDeliveryServiceType = (typeof FOOD_DELIVERY_SERVICES)[number];
|
|
256
259
|
/** Preset image types for CTA buttons - app store or food delivery logos */
|
|
257
|
-
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" |
|
|
260
|
+
type PresetImageType = "app-store" | "google-play" | "galaxy-store" | "app-gallery" | FoodDeliveryServiceType;
|
|
258
261
|
/** Data for the HeroSection */
|
|
259
262
|
type HeroSectionType = {
|
|
260
263
|
/**
|
|
@@ -496,6 +499,7 @@ declare const ThemeOptions: {
|
|
|
496
499
|
value: string;
|
|
497
500
|
}[];
|
|
498
501
|
BACKGROUND_COLOR: ComboboxOptionGroup[];
|
|
502
|
+
SITE_COLOR: ComboboxOptionGroup[];
|
|
499
503
|
CTA_VARIANT: {
|
|
500
504
|
label: MsgString;
|
|
501
505
|
value: string;
|
|
@@ -678,7 +682,7 @@ type MigrationAction = {
|
|
|
678
682
|
};
|
|
679
683
|
type Migration = Record<string, MigrationAction> | {
|
|
680
684
|
root: {
|
|
681
|
-
propTransformation: (oldProps: Record<string, any
|
|
685
|
+
propTransformation: (oldProps: Record<string, any>, streamDocument: StreamDocument) => Record<string, any>;
|
|
682
686
|
};
|
|
683
687
|
};
|
|
684
688
|
type MigrationRegistry = Migration[];
|
|
@@ -1209,6 +1213,7 @@ type CTAProps = {
|
|
|
1209
1213
|
ariaLabel?: string;
|
|
1210
1214
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1211
1215
|
disabled?: boolean;
|
|
1216
|
+
color?: BackgroundStyle;
|
|
1212
1217
|
};
|
|
1213
1218
|
/**
|
|
1214
1219
|
* The different visual variants for CTA buttons.
|
|
@@ -1226,7 +1231,6 @@ declare const headingVariants: (props?: ({
|
|
|
1226
1231
|
level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1227
1232
|
fontSize?: "default" | "base" | "sm" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
1228
1233
|
weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
|
|
1229
|
-
transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
|
|
1230
1234
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1231
1235
|
interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
|
|
1232
1236
|
level: HeadingLevel;
|
|
@@ -1246,6 +1250,7 @@ interface ImageProps {
|
|
|
1246
1250
|
className?: string;
|
|
1247
1251
|
/** sizes attribute of the underlying img tag */
|
|
1248
1252
|
sizes?: string;
|
|
1253
|
+
loading?: "lazy" | "eager";
|
|
1249
1254
|
}
|
|
1250
1255
|
declare const Image: React.FC<ImageProps>;
|
|
1251
1256
|
type ImgSizesByBreakpoint = {
|
|
@@ -1419,6 +1424,7 @@ interface AddressProps {
|
|
|
1419
1424
|
showGetDirectionsLink: boolean;
|
|
1420
1425
|
/** The variant of the get directions button */
|
|
1421
1426
|
ctaVariant: CTAVariant;
|
|
1427
|
+
color?: BackgroundStyle;
|
|
1422
1428
|
};
|
|
1423
1429
|
/** @internal */
|
|
1424
1430
|
parentData?: {
|
|
@@ -1467,6 +1473,7 @@ interface CTAWrapperProps {
|
|
|
1467
1473
|
variant: CTAVariant;
|
|
1468
1474
|
/** The image to use if the CTA is set to preset image */
|
|
1469
1475
|
presetImage?: PresetImageType;
|
|
1476
|
+
color?: BackgroundStyle;
|
|
1470
1477
|
};
|
|
1471
1478
|
/** Additional CSS classes to apply to the CTA. */
|
|
1472
1479
|
className?: string;
|
|
@@ -1500,6 +1507,7 @@ declare const Emails: ComponentConfig<EmailsProps>;
|
|
|
1500
1507
|
|
|
1501
1508
|
type GetDirectionsProps = {
|
|
1502
1509
|
variant: CTAVariant;
|
|
1510
|
+
color?: BackgroundStyle;
|
|
1503
1511
|
};
|
|
1504
1512
|
declare const GetDirections: ComponentConfig<{
|
|
1505
1513
|
props: GetDirectionsProps;
|
|
@@ -1590,6 +1598,7 @@ interface ImageWrapperProps {
|
|
|
1590
1598
|
data: {
|
|
1591
1599
|
/** The image to display. */
|
|
1592
1600
|
image: YextEntityField<ImageType | ComplexImageType | AssetImageType>;
|
|
1601
|
+
link?: TranslatableString;
|
|
1593
1602
|
};
|
|
1594
1603
|
/** Size and aspect ratio of the image. */
|
|
1595
1604
|
styles: ImageStylingProps;
|
|
@@ -1658,6 +1667,7 @@ type BasicCTAProps = {
|
|
|
1658
1667
|
variant: CTAVariant;
|
|
1659
1668
|
/** The image to use if the CTA is set to preset image */
|
|
1660
1669
|
presetImage?: PresetImageType;
|
|
1670
|
+
color?: BackgroundStyle;
|
|
1661
1671
|
};
|
|
1662
1672
|
interface CTAGroupProps {
|
|
1663
1673
|
buttons: BasicCTAProps[];
|
|
@@ -1931,7 +1941,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1931
1941
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
1932
1942
|
inline?: boolean;
|
|
1933
1943
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1934
|
-
changed: Partial<Record<
|
|
1944
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1935
1945
|
id: string;
|
|
1936
1946
|
}>;
|
|
1937
1947
|
fields: _measured_puck.Fields<GetDirectionsProps, {}>;
|
|
@@ -1941,7 +1951,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1941
1951
|
parent: _measured_puck.ComponentData | null;
|
|
1942
1952
|
}) => _measured_puck.Fields<GetDirectionsProps, {}> | Promise<_measured_puck.Fields<GetDirectionsProps, {}>>) | undefined;
|
|
1943
1953
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1944
|
-
changed: Partial<Record<
|
|
1954
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1945
1955
|
id: string;
|
|
1946
1956
|
}>;
|
|
1947
1957
|
lastData: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -1953,7 +1963,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
1953
1963
|
props?: Partial<GetDirectionsProps> | undefined;
|
|
1954
1964
|
}>) | undefined;
|
|
1955
1965
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<GetDirectionsProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
1956
|
-
changed: Partial<Record<
|
|
1966
|
+
changed: Partial<Record<keyof GetDirectionsProps, boolean> & {
|
|
1957
1967
|
id: string;
|
|
1958
1968
|
}>;
|
|
1959
1969
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2684,8 +2694,8 @@ declare const Header: ComponentConfig<{
|
|
|
2684
2694
|
interface ExpandedHeaderStyles {
|
|
2685
2695
|
/** The maximum width of the header */
|
|
2686
2696
|
maxWidth: PageSectionProps["maxWidth"];
|
|
2687
|
-
/** Whether the header is
|
|
2688
|
-
headerPosition: "
|
|
2697
|
+
/** Whether the header is fixed to the top of the page or not */
|
|
2698
|
+
headerPosition: "fixed" | "scrollsWithPage";
|
|
2689
2699
|
}
|
|
2690
2700
|
interface ExpandedHeaderProps {
|
|
2691
2701
|
/**
|
|
@@ -4405,11 +4415,6 @@ declare const Timestamp: ComponentConfig<{
|
|
|
4405
4415
|
type NearbyLocationCardsWrapperProps = {
|
|
4406
4416
|
/** The search parameters for finding nearby locations. */
|
|
4407
4417
|
data: {
|
|
4408
|
-
/**
|
|
4409
|
-
* The central coordinate (`latitude`, `longitude`) to search from.
|
|
4410
|
-
* @defaultValue 'yextDisplayCoordinate' field
|
|
4411
|
-
*/
|
|
4412
|
-
coordinate: YextEntityField<Coordinate>;
|
|
4413
4418
|
/**
|
|
4414
4419
|
* The search radius in miles.
|
|
4415
4420
|
* @defaultValue 10
|
|
@@ -6762,4 +6767,4 @@ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, r
|
|
|
6762
6767
|
declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
|
|
6763
6768
|
declare const defaultThemeConfig: ThemeConfig;
|
|
6764
6769
|
|
|
6765
|
-
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 };
|
|
6770
|
+
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 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 };
|