@yext/visual-editor 1.0.0-beta.1 → 1.0.0-beta.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/index.d.cts +196 -29
- package/dist/index.d.ts +196 -29
- package/dist/plugin/plugin.cjs +1 -1
- package/dist/plugin/plugin.js +3 -3
- package/dist/visual-editor.cjs +83 -80
- package/dist/visual-editor.js +22218 -20919
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -4,15 +4,16 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
4
4
|
import * as react_i18next from 'react-i18next';
|
|
5
5
|
import * as i18next from 'i18next';
|
|
6
6
|
import { TOptions } from 'i18next';
|
|
7
|
-
import { ImageType, CTA as CTA$1, LinkType, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate } from '@yext/pages-components';
|
|
7
|
+
import { ImageType, CTA as CTA$1, LinkType, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate, ListingType } from '@yext/pages-components';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import * as _measured_puck from '@measured/puck';
|
|
10
|
-
import { Config, Data, DefaultComponentProps, DefaultRootProps, Field, ComponentConfig, CustomField, ArrayField, BaseField, ObjectField, NumberField, Fields, ComponentData, Slot } from '@measured/puck';
|
|
10
|
+
import { Config, Data, DefaultComponentProps, DefaultRootProps, Field, ComponentConfig, CustomField, ArrayField, BaseField, ObjectField, NumberField, Fields, ComponentData, Slot, PuckContext } from '@measured/puck';
|
|
11
11
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
12
12
|
import { VariantProps } from 'class-variance-authority';
|
|
13
13
|
import * as _yext_search_headless_react from '@yext/search-headless-react';
|
|
14
14
|
import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
|
|
15
15
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
16
|
+
import { CardProps, Coordinate as Coordinate$1 } from '@yext/search-ui-react';
|
|
16
17
|
|
|
17
18
|
declare const usePlatformBridgeDocument: () => any;
|
|
18
19
|
|
|
@@ -1061,24 +1062,65 @@ type YextDynamicSelectField<T extends DynamicOptionValueTypes> = YextBaseField &
|
|
|
1061
1062
|
getOptions: () => DynamicOption<T>[];
|
|
1062
1063
|
placeholderOptionLabel?: string;
|
|
1063
1064
|
};
|
|
1065
|
+
type YextDynamicSingleSelectField<T extends DynamicOptionValueTypes> = YextBaseField & {
|
|
1066
|
+
type: "dynamicSingleSelect";
|
|
1067
|
+
getOptions: () => DynamicOption<T>[];
|
|
1068
|
+
dropdownLabel: string;
|
|
1069
|
+
placeholderOptionLabel?: string;
|
|
1070
|
+
};
|
|
1064
1071
|
type YextEntitySelectorField<T extends Record<string, any> = Record<string, any>> = YextBaseField & Omit<RenderYextEntityFieldSelectorProps<T>, "label"> & {
|
|
1065
1072
|
type: "entityField";
|
|
1066
1073
|
};
|
|
1067
|
-
type YextFieldConfig<Props = any> = YextArrayField<Props extends Record<string, any>[] ? Props : any> | YextObjectField<Props extends Record<string, any> ? Props : any> | YextNumberField | YextTextField | YextEntitySelectorField<Props extends Record<string, any> ? Props : any> | YextSelectField | YextRadioField | YextOptionalNumberField | YextCodeField | YextMaxWidthField | YextTranslatableStringField | YextImageField | YextVideoField | YextDynamicSelectField<Props extends DynamicOptionValueTypes ? Props
|
|
1074
|
+
type YextFieldConfig<Props = any> = YextArrayField<Props extends Record<string, any>[] ? Props : any> | YextObjectField<Props extends Record<string, any> ? Props : any> | YextNumberField | YextTextField | YextEntitySelectorField<Props extends Record<string, any> ? Props : any> | YextSelectField | YextRadioField | YextOptionalNumberField | YextCodeField | YextMaxWidthField | YextTranslatableStringField | YextImageField | YextVideoField | YextDynamicSelectField<Props extends DynamicOptionValueTypes ? Props : any> | YextDynamicSingleSelectField<Props extends DynamicOptionValueTypes ? Props : any>;
|
|
1068
1075
|
declare function YextField<T = any>(fieldName: MsgString, config: YextFieldConfig<T>): Field<T>;
|
|
1069
1076
|
declare function YextField<T extends Record<string, any>, U = any>(fieldName: MsgString, config: YextEntitySelectorField<T>): Field<YextEntityField<U>>;
|
|
1077
|
+
declare function YextField<T extends DynamicOptionsSelectorType<U>, U extends DynamicOptionValueTypes>(fieldName: MsgString, config: YextDynamicSelectField<U>): Field<T | undefined>;
|
|
1078
|
+
declare function YextField<T extends DynamicOptionsSingleSelectorType<U>, U extends DynamicOptionValueTypes>(fieldName: MsgString, config: YextDynamicSingleSelectField<U>): Field<T>;
|
|
1070
1079
|
|
|
1071
1080
|
declare const KnowledgeGraphIcon: ({ enabled }: {
|
|
1072
1081
|
enabled: boolean;
|
|
1073
1082
|
}) => react_jsx_runtime.JSX.Element;
|
|
1074
1083
|
|
|
1084
|
+
type DynamicOptionValueTypes = string | number | boolean | object;
|
|
1085
|
+
type DynamicOptionsSelectorProps<T extends DynamicOptionValueTypes> = {
|
|
1086
|
+
label: string;
|
|
1087
|
+
dropdownLabel: string;
|
|
1088
|
+
getOptions: () => DynamicOption<T>[];
|
|
1089
|
+
placeholderOptionLabel?: string;
|
|
1090
|
+
};
|
|
1091
|
+
interface DynamicOptionSelection<T extends DynamicOptionValueTypes> {
|
|
1092
|
+
value: T | undefined;
|
|
1093
|
+
}
|
|
1094
|
+
interface DynamicOptionsSelectorType<T extends DynamicOptionValueTypes> {
|
|
1095
|
+
selections: DynamicOptionSelection<T>[];
|
|
1096
|
+
}
|
|
1097
|
+
interface DynamicOptionsSingleSelectorType<T extends DynamicOptionValueTypes> {
|
|
1098
|
+
selection: DynamicOptionSelection<T>;
|
|
1099
|
+
}
|
|
1100
|
+
interface DynamicOption<T extends DynamicOptionValueTypes> {
|
|
1101
|
+
label: string;
|
|
1102
|
+
value: T | undefined;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* A multi selector component for dynamic options. The options can be loaded from a function that
|
|
1106
|
+
* uses hooks.
|
|
1107
|
+
*/
|
|
1108
|
+
declare const DynamicOptionsSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSelectorType<T> | undefined>;
|
|
1109
|
+
/**
|
|
1110
|
+
* A single selector component for dynamic options. The options can be loaded from a function that
|
|
1111
|
+
* uses hooks.
|
|
1112
|
+
*/
|
|
1113
|
+
declare const DynamicOptionsSingleSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSingleSelectorType<T> | undefined>;
|
|
1114
|
+
|
|
1075
1115
|
/**
|
|
1076
1116
|
* Generates a translatable string config
|
|
1077
1117
|
* @param label optional label. Takes in a value from msg.
|
|
1078
1118
|
* @param filter optional filter for the entity fields that can be embedded.
|
|
1079
1119
|
* @param showApplyAllOption enables the "Apply to All Locales" button
|
|
1120
|
+
* @param showFieldSelector enables the button to select an entity field to embed
|
|
1121
|
+
* @param getOptions optional function to get options for the field selector. If provided, the entity field filter is ignored.
|
|
1080
1122
|
*/
|
|
1081
|
-
declare function TranslatableStringField<T extends TranslatableString | undefined = TranslatableString>(label?: MsgString, filter?: RenderEntityFieldFilter<any>, showApplyAllOption?: boolean): CustomField<T>;
|
|
1123
|
+
declare function TranslatableStringField<T extends TranslatableString | undefined = TranslatableString>(label?: MsgString, filter?: RenderEntityFieldFilter<any>, showApplyAllOption?: boolean, showFieldSelector?: boolean, getOptions?: () => DynamicOption<string>[]): CustomField<T>;
|
|
1082
1124
|
|
|
1083
1125
|
/**
|
|
1084
1126
|
* Generates a translatableRichText field config
|
|
@@ -1091,10 +1133,21 @@ declare const getDefaultRTF: (text: string) => RichText;
|
|
|
1091
1133
|
/**
|
|
1092
1134
|
* A debounced string input that allows embedding entity fields via a popover selector.
|
|
1093
1135
|
*/
|
|
1094
|
-
declare const
|
|
1136
|
+
declare const EmbeddedFieldStringInputFromEntity: <T extends Record<string, any>>({ value, onChange, filter, showFieldSelector, }: {
|
|
1095
1137
|
value: string;
|
|
1096
1138
|
onChange: (value: string) => void;
|
|
1097
1139
|
filter: RenderEntityFieldFilter<T>;
|
|
1140
|
+
showFieldSelector: boolean;
|
|
1141
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1142
|
+
declare const EmbeddedFieldStringInputFromOptions: ({ value, onChange, options, showFieldSelector, useOptionValueSublabel, }: {
|
|
1143
|
+
value: string;
|
|
1144
|
+
onChange: (value: string) => void;
|
|
1145
|
+
options: {
|
|
1146
|
+
label: string;
|
|
1147
|
+
value: string;
|
|
1148
|
+
}[];
|
|
1149
|
+
showFieldSelector: boolean;
|
|
1150
|
+
useOptionValueSublabel?: boolean;
|
|
1098
1151
|
}) => react_jsx_runtime.JSX.Element;
|
|
1099
1152
|
|
|
1100
1153
|
type codeLanguageOptions = "html" | "css" | "json" | "shell" | "java" | "javascript" | "jsx" | "markdown" | "typescript";
|
|
@@ -1126,28 +1179,6 @@ declare const filterMaxWidths: (styleElement: HTMLStyleElement) => {
|
|
|
1126
1179
|
|
|
1127
1180
|
declare const resolveDataFromParent: <T extends DefaultComponentProps>(fields: Fields<T>, data: Omit<ComponentData<T, string, Record<string, DefaultComponentProps>>, "type">) => Fields<T>;
|
|
1128
1181
|
|
|
1129
|
-
type DynamicOptionValueTypes = string | number | boolean | object;
|
|
1130
|
-
type DynamicOptionsSelectorProps<T extends DynamicOptionValueTypes> = {
|
|
1131
|
-
label: string;
|
|
1132
|
-
dropdownLabel: string;
|
|
1133
|
-
getOptions: () => DynamicOption<T>[];
|
|
1134
|
-
placeholderOptionLabel?: string;
|
|
1135
|
-
};
|
|
1136
|
-
interface DynamicOptionSelection<T extends DynamicOptionValueTypes> {
|
|
1137
|
-
value: T | undefined;
|
|
1138
|
-
}
|
|
1139
|
-
interface DynamicOptionsSelectorType<T extends DynamicOptionValueTypes> {
|
|
1140
|
-
selections: DynamicOptionSelection<T>[];
|
|
1141
|
-
}
|
|
1142
|
-
interface DynamicOption<T extends DynamicOptionValueTypes> {
|
|
1143
|
-
label: string;
|
|
1144
|
-
value: T | undefined;
|
|
1145
|
-
}
|
|
1146
|
-
/**
|
|
1147
|
-
* A selector component for dynamic options. The options can be loaded from a function that uses hooks.
|
|
1148
|
-
*/
|
|
1149
|
-
declare const DynamicOptionsSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSelectorType<T> | undefined>;
|
|
1150
|
-
|
|
1151
1182
|
declare const bodyVariants: (props?: ({
|
|
1152
1183
|
variant?: "base" | "sm" | "lg" | "xs" | null | undefined;
|
|
1153
1184
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
@@ -1176,6 +1207,7 @@ type CTAProps = {
|
|
|
1176
1207
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
1177
1208
|
alwaysHideCaret?: boolean;
|
|
1178
1209
|
ariaLabel?: string;
|
|
1210
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1179
1211
|
disabled?: boolean;
|
|
1180
1212
|
};
|
|
1181
1213
|
/**
|
|
@@ -1275,6 +1307,7 @@ type PhoneAtomProps = {
|
|
|
1275
1307
|
format: "domestic" | "international" | undefined;
|
|
1276
1308
|
includeHyperlink: boolean;
|
|
1277
1309
|
includeIcon: boolean;
|
|
1310
|
+
onClick?: () => void;
|
|
1278
1311
|
};
|
|
1279
1312
|
declare const PhoneAtom: (props: PhoneAtomProps) => react_jsx_runtime.JSX.Element;
|
|
1280
1313
|
|
|
@@ -1368,6 +1401,7 @@ interface GridProps extends layoutProps {
|
|
|
1368
1401
|
}[];
|
|
1369
1402
|
liveVisibility: boolean;
|
|
1370
1403
|
className?: string;
|
|
1404
|
+
align?: "left" | "center" | "right";
|
|
1371
1405
|
/** @internal */
|
|
1372
1406
|
analytics: {
|
|
1373
1407
|
scope?: string;
|
|
@@ -2326,6 +2360,11 @@ interface LocatorProps {
|
|
|
2326
2360
|
latitude: string;
|
|
2327
2361
|
longitude: string;
|
|
2328
2362
|
};
|
|
2363
|
+
/**
|
|
2364
|
+
* Props to customize the locator result card component.
|
|
2365
|
+
* Controls which fields are displayed and their styling.
|
|
2366
|
+
*/
|
|
2367
|
+
resultCard: LocatorResultCardProps;
|
|
2329
2368
|
}
|
|
2330
2369
|
/**
|
|
2331
2370
|
* Available on Locator templates.
|
|
@@ -2409,7 +2448,6 @@ interface CustomCodeSectionProps {
|
|
|
2409
2448
|
/**
|
|
2410
2449
|
* The CustomCodeSection component allows you to add custom HTML, CSS, and JavaScript to your page.
|
|
2411
2450
|
* It is useful for integrating third-party widgets or custom scripts that are not supported by the visual editor natively.
|
|
2412
|
-
* Only available with additional feature flag enabled.
|
|
2413
2451
|
*/
|
|
2414
2452
|
declare const CustomCodeSection: ComponentConfig<{
|
|
2415
2453
|
props: CustomCodeSectionProps;
|
|
@@ -6592,6 +6630,135 @@ declare const migrationRegistry: MigrationRegistry;
|
|
|
6592
6630
|
|
|
6593
6631
|
declare const addHeadingAlignmentMigration: Migration;
|
|
6594
6632
|
|
|
6633
|
+
interface LocatorResultCardProps {
|
|
6634
|
+
/** Settings for the main heading of the card */
|
|
6635
|
+
primaryHeading: {
|
|
6636
|
+
/**
|
|
6637
|
+
* The field from the data to use for the primary heading
|
|
6638
|
+
* @defaultValue "name"
|
|
6639
|
+
*/
|
|
6640
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6641
|
+
/** The heading level for the primary heading */
|
|
6642
|
+
headingLevel: HeadingLevel;
|
|
6643
|
+
};
|
|
6644
|
+
/** Settings for the secondary heading of the card */
|
|
6645
|
+
secondaryHeading: {
|
|
6646
|
+
/** The field from the data to use for the secondary heading */
|
|
6647
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6648
|
+
/** The variant for the secondary heading */
|
|
6649
|
+
variant: BodyProps["variant"];
|
|
6650
|
+
/** Whether the secondary heading is visible in live mode */
|
|
6651
|
+
liveVisibility: boolean;
|
|
6652
|
+
};
|
|
6653
|
+
/** Settings for the tertiary heading of the card */
|
|
6654
|
+
tertiaryHeading: {
|
|
6655
|
+
/** The field from the data to use for the tertiary heading */
|
|
6656
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6657
|
+
/** The variant for the tertiary heading */
|
|
6658
|
+
variant: BodyProps["variant"];
|
|
6659
|
+
/** Whether the tertiary heading is visible in live mode */
|
|
6660
|
+
liveVisibility: boolean;
|
|
6661
|
+
};
|
|
6662
|
+
/** Whether to show icons for certain fields */
|
|
6663
|
+
icons: boolean;
|
|
6664
|
+
/** Settings for the hours block */
|
|
6665
|
+
hours: {
|
|
6666
|
+
/** The field from the data to use for the hours */
|
|
6667
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6668
|
+
/** Styles for the hours table */
|
|
6669
|
+
table: Omit<HoursTableProps["styles"], "alignment">;
|
|
6670
|
+
/** Whether the hours block is visible in live mode */
|
|
6671
|
+
liveVisibility: boolean;
|
|
6672
|
+
};
|
|
6673
|
+
/** Settings for the address block */
|
|
6674
|
+
address: {
|
|
6675
|
+
/** Whether to show the "Get Directions" link */
|
|
6676
|
+
showGetDirectionsLink: boolean;
|
|
6677
|
+
/** Whether the address block is visible in live mode */
|
|
6678
|
+
liveVisibility: boolean;
|
|
6679
|
+
};
|
|
6680
|
+
/** Settings for the phone block */
|
|
6681
|
+
phone: {
|
|
6682
|
+
/**
|
|
6683
|
+
* The field from the data to use for the phone number
|
|
6684
|
+
* @defaultValue "mainPhone"
|
|
6685
|
+
*/
|
|
6686
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6687
|
+
/**
|
|
6688
|
+
* The format to use for the phone number
|
|
6689
|
+
* @defaultValue "domestic"
|
|
6690
|
+
*/
|
|
6691
|
+
phoneFormat: "domestic" | "international";
|
|
6692
|
+
/** Whether to include a hyperlink for the phone number */
|
|
6693
|
+
includePhoneHyperlink: boolean;
|
|
6694
|
+
/** Whether the phone block is visible in live mode */
|
|
6695
|
+
liveVisibility: boolean;
|
|
6696
|
+
};
|
|
6697
|
+
/** Settings for the email block */
|
|
6698
|
+
email: {
|
|
6699
|
+
/**
|
|
6700
|
+
* The field from the data to use for the email address
|
|
6701
|
+
* @defaultValue "emails"
|
|
6702
|
+
*/
|
|
6703
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6704
|
+
/** Whether the email block is visible in live mode */
|
|
6705
|
+
liveVisibility: boolean;
|
|
6706
|
+
};
|
|
6707
|
+
/** Settings for the services block */
|
|
6708
|
+
services: {
|
|
6709
|
+
/**The field from the data to use for the services
|
|
6710
|
+
* @defaultValue "services"
|
|
6711
|
+
*/
|
|
6712
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6713
|
+
/** Whether the services block is visible in live mode */
|
|
6714
|
+
liveVisibility: boolean;
|
|
6715
|
+
};
|
|
6716
|
+
/** Settings for the primary CTA */
|
|
6717
|
+
primaryCTA: {
|
|
6718
|
+
/** The variant for the primary CTA */
|
|
6719
|
+
variant: CTAVariant;
|
|
6720
|
+
/** Whether the primary CTA is visible in live mode */
|
|
6721
|
+
liveVisibility: boolean;
|
|
6722
|
+
};
|
|
6723
|
+
/** Settings for the secondary CTA */
|
|
6724
|
+
secondaryCTA: {
|
|
6725
|
+
/** Label for the secondary CTA */
|
|
6726
|
+
label: TranslatableString;
|
|
6727
|
+
/** Template for the secondary CTA link, which can contain entity field references */
|
|
6728
|
+
link: TranslatableString;
|
|
6729
|
+
/** The variant for the secondary CTA */
|
|
6730
|
+
variant: CTAVariant;
|
|
6731
|
+
/** Whether the secondary CTA is visible in live mode */
|
|
6732
|
+
liveVisibility: boolean;
|
|
6733
|
+
};
|
|
6734
|
+
/** Settings for the image */
|
|
6735
|
+
image: {
|
|
6736
|
+
/** The field from the data to use for the image */
|
|
6737
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
6738
|
+
/** Whether the image block is visible in live mode */
|
|
6739
|
+
liveVisibility: boolean;
|
|
6740
|
+
};
|
|
6741
|
+
}
|
|
6742
|
+
interface Location {
|
|
6743
|
+
address: AddressType;
|
|
6744
|
+
hours?: HoursType;
|
|
6745
|
+
additionalHoursText?: string;
|
|
6746
|
+
id: string;
|
|
6747
|
+
mainPhone?: string;
|
|
6748
|
+
name: string;
|
|
6749
|
+
neighborhood?: string;
|
|
6750
|
+
slug?: string;
|
|
6751
|
+
timezone: string;
|
|
6752
|
+
yextDisplayCoordinate?: Coordinate$1;
|
|
6753
|
+
ref_listings?: ListingType[];
|
|
6754
|
+
[key: string]: any;
|
|
6755
|
+
}
|
|
6756
|
+
declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, puck, }: {
|
|
6757
|
+
result: CardProps<Location>["result"];
|
|
6758
|
+
resultCardProps: LocatorResultCardProps;
|
|
6759
|
+
puck: PuckContext;
|
|
6760
|
+
}) => React__default.JSX.Element>;
|
|
6761
|
+
|
|
6595
6762
|
declare const defaultThemeConfig: ThemeConfig;
|
|
6596
6763
|
|
|
6597
|
-
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, Editor, Emails, type EmailsProps,
|
|
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, 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 };
|