@yext/visual-editor 1.0.8 → 1.1.0-alpha.1
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.ts +1130 -765
- package/dist/plugin/plugin.js +371 -104
- package/dist/style.css +1 -1
- package/dist/visual-editor-85pPXURx.js +201 -0
- package/dist/visual-editor-9sp7NuQx.js +895 -0
- package/dist/visual-editor-B1Es6dVl.js +895 -0
- package/dist/visual-editor-BDpjzPLY.js +201 -0
- package/dist/visual-editor-BGQW-koH.js +883 -0
- package/dist/visual-editor-BQhtkby-.js +189 -0
- package/dist/visual-editor-BS0YO5MP.js +189 -0
- package/dist/visual-editor-BS69QQkF.js +895 -0
- package/dist/visual-editor-BSA1vco6.js +201 -0
- package/dist/visual-editor-BT5mUoay.js +189 -0
- package/dist/visual-editor-BZjvV6My.js +189 -0
- package/dist/visual-editor-BfcTynlY.js +189 -0
- package/dist/visual-editor-BfjQHprU.js +189 -0
- package/dist/visual-editor-Bm56fUn7.js +883 -0
- package/dist/visual-editor-Bogfx1aq.js +883 -0
- package/dist/visual-editor-Bpx3Omw3.js +883 -0
- package/dist/visual-editor-Bve5G158.js +201 -0
- package/dist/visual-editor-ByXo0gnp.js +883 -0
- package/dist/visual-editor-C3Dc3VrO.js +189 -0
- package/dist/visual-editor-C7V7kkUZ.js +213 -0
- package/dist/visual-editor-CB9wEKya.js +189 -0
- package/dist/visual-editor-CFWbwX3U.js +895 -0
- package/dist/visual-editor-CIpBWO4A.js +201 -0
- package/dist/visual-editor-CSaqnwdr.js +907 -0
- package/dist/visual-editor-CYUs-WIo.js +895 -0
- package/dist/visual-editor-CZ1ZA14Q.js +189 -0
- package/dist/visual-editor-Ch4Zke4f.js +213 -0
- package/dist/visual-editor-Chy6HJPX.js +883 -0
- package/dist/visual-editor-CmxC7ZcD.js +213 -0
- package/dist/visual-editor-CpNdLEta.js +213 -0
- package/dist/visual-editor-D77wkUoT.js +201 -0
- package/dist/visual-editor-DHcPuiFn.js +883 -0
- package/dist/visual-editor-DKMO6Cx1.js +883 -0
- package/dist/visual-editor-DSAW9Nkq.js +883 -0
- package/dist/visual-editor-DTz4usp4.js +883 -0
- package/dist/visual-editor-DVZv0BN3.js +907 -0
- package/dist/visual-editor-Dal_zEMP.js +883 -0
- package/dist/visual-editor-DgAov8Dt.js +189 -0
- package/dist/visual-editor-Dk50XMPP.js +883 -0
- package/dist/visual-editor-DlP_fDh8.js +189 -0
- package/dist/visual-editor-DnmYWiLW.js +189 -0
- package/dist/visual-editor-DtJSbin8.js +201 -0
- package/dist/visual-editor-DuOMqtGX.js +907 -0
- package/dist/visual-editor-H2GDRXKn.js +189 -0
- package/dist/visual-editor-U5ta2fMi.js +883 -0
- package/dist/visual-editor-baiBIgD3.js +883 -0
- package/dist/visual-editor-lHSSkq6t.js +189 -0
- package/dist/visual-editor-rSO9NRf2.js +907 -0
- package/dist/visual-editor-rmf2mtgY.js +895 -0
- package/dist/visual-editor-v7c7z5Iz.js +895 -0
- package/dist/visual-editor.js +36707 -33835
- package/package.json +14 -22
- package/dist/visual-editor-74ufbXyh.js +0 -1025
- package/dist/visual-editor-AKDsZYKI.js +0 -207
- package/dist/visual-editor-ATnQc-uF.js +0 -1037
- package/dist/visual-editor-BDQW1UlT.js +0 -1013
- package/dist/visual-editor-BGq9idGd.js +0 -1031
- package/dist/visual-editor-BHnW0cjf.js +0 -1024
- package/dist/visual-editor-BIzhrR5g.js +0 -219
- package/dist/visual-editor-BPiNHVOw.js +0 -207
- package/dist/visual-editor-BWx1Qhgo.js +0 -1049
- package/dist/visual-editor-BYLhV0_J.js +0 -1024
- package/dist/visual-editor-BdUiTVO8.js +0 -195
- package/dist/visual-editor-BeDQ0Pa0.js +0 -1027
- package/dist/visual-editor-BlCYEaCk.js +0 -219
- package/dist/visual-editor-Bo5EBMPm.js +0 -195
- package/dist/visual-editor-Br4ox-4c.js +0 -195
- package/dist/visual-editor-C-I7S85w.js +0 -1025
- package/dist/visual-editor-C6oY5vN6.js +0 -195
- package/dist/visual-editor-C8fElnGU.js +0 -1025
- package/dist/visual-editor-CAhQ8ZFa.js +0 -1051
- package/dist/visual-editor-CMOnuj6s.js +0 -195
- package/dist/visual-editor-CVskQUfJ.js +0 -1025
- package/dist/visual-editor-C_kZJpKZ.js +0 -219
- package/dist/visual-editor-Cd54qA2i.js +0 -207
- package/dist/visual-editor-Cfl2FOLY.js +0 -195
- package/dist/visual-editor-ClQpMK-e.js +0 -195
- package/dist/visual-editor-CpzS2xI6.js +0 -1037
- package/dist/visual-editor-CtPmOHeK.js +0 -195
- package/dist/visual-editor-D41-V1kg.js +0 -1025
- package/dist/visual-editor-D4qvBgN2.js +0 -195
- package/dist/visual-editor-D9tq0HyM.js +0 -1051
- package/dist/visual-editor-DGGh7inB.js +0 -183
- package/dist/visual-editor-DGmxioll.js +0 -183
- package/dist/visual-editor-DOl9cYU1.js +0 -1025
- package/dist/visual-editor-DR6NwQnQ.js +0 -1056
- package/dist/visual-editor-DV7U2a-7.js +0 -1025
- package/dist/visual-editor-DW5-TsPT.js +0 -195
- package/dist/visual-editor-DZwi4QDG.js +0 -1034
- package/dist/visual-editor-DgRzVLjz.js +0 -183
- package/dist/visual-editor-DlDEzICU.js +0 -1014
- package/dist/visual-editor-DrPmnRYU.js +0 -1013
- package/dist/visual-editor-KuYyYIE_.js +0 -1026
- package/dist/visual-editor-Xwf5qbxD.js +0 -195
- package/dist/visual-editor-_-EDAfBe.js +0 -1025
- package/dist/visual-editor-c-GIfNzg.js +0 -1024
- package/dist/visual-editor-dRECt3ih.js +0 -1037
- package/dist/visual-editor-dt1FvRLy.js +0 -219
- package/dist/visual-editor-hHUnRf9n.js +0 -195
- package/dist/visual-editor-h_bA7ivr.js +0 -195
- package/dist/visual-editor-l45LY5F6.js +0 -195
- package/dist/visual-editor-wd5c3h71.js +0 -195
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,10 @@ import { ImageType, CTA as CTA$1, LinkType, HoursTableProps as HoursTableProps$1
|
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import * as _puckeditor_core from '@puckeditor/core';
|
|
10
10
|
import { Config, Data, DefaultComponentProps, DefaultRootProps, Field, ComponentConfig, CustomField, ArrayField, BaseField, ObjectField, NumberField, Fields, ComponentData, Slot } from '@puckeditor/core';
|
|
11
|
-
import * as
|
|
11
|
+
import * as class_variance_authority_types from 'class-variance-authority/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 { SearchAnalyticsConfig, CardProps, Coordinate as Coordinate$1 } from '@yext/search-ui-react';
|
|
15
|
-
import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
|
|
16
15
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
17
16
|
|
|
18
17
|
declare const usePlatformBridgeDocument: () => any;
|
|
@@ -71,7 +70,8 @@ type PathInfoShape = {
|
|
|
71
70
|
primaryLocale?: string;
|
|
72
71
|
includeLocalePrefixForPrimaryLocale?: boolean;
|
|
73
72
|
template?: string;
|
|
74
|
-
|
|
73
|
+
breadcrumbPrefix?: string;
|
|
74
|
+
sourceEntityPageSetTemplate?: string;
|
|
75
75
|
[key: string]: any;
|
|
76
76
|
};
|
|
77
77
|
|
|
@@ -518,6 +518,10 @@ declare const ThemeOptions: {
|
|
|
518
518
|
label: MsgString;
|
|
519
519
|
value: string;
|
|
520
520
|
}[];
|
|
521
|
+
SHOW_HIDE: {
|
|
522
|
+
label: MsgString;
|
|
523
|
+
value: boolean;
|
|
524
|
+
}[];
|
|
521
525
|
};
|
|
522
526
|
declare const VisualEditorComponentsContentPath = "node_modules/@yext/visual-editor/dist/**/*.js";
|
|
523
527
|
|
|
@@ -550,7 +554,7 @@ declare const getPreferredDistanceUnit: (locale: string) => "mile" | "kilometer"
|
|
|
550
554
|
/**
|
|
551
555
|
* Converts miles to kilometers.
|
|
552
556
|
*/
|
|
553
|
-
declare const toKilometers: (miles: number
|
|
557
|
+
declare const toKilometers: (miles: number) => number;
|
|
554
558
|
|
|
555
559
|
interface TemplateRenderProps {
|
|
556
560
|
/** The relative path from the page to the site root */
|
|
@@ -740,22 +744,13 @@ interface RootProps extends DefaultRootProps {
|
|
|
740
744
|
}
|
|
741
745
|
declare const migrate: (data: Data<DefaultComponentProps, RootProps>, migrationRegistry: MigrationRegistry | undefined, config: Config, streamDocument: StreamDocument) => Data;
|
|
742
746
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
* @returns The fully resolved data for the component.
|
|
751
|
-
*/
|
|
752
|
-
declare function resolveComponentData(data: TranslatableString | YextEntityField<TranslatableString>, locale: string, streamDocument?: any): string;
|
|
753
|
-
declare function resolveComponentData(data: TranslatableRichText | YextEntityField<TranslatableRichText>, locale: string, streamDocument?: Record<string, any>, options?: {
|
|
754
|
-
variant?: BodyProps["variant"];
|
|
755
|
-
isDarkBackground?: boolean;
|
|
756
|
-
className?: string;
|
|
757
|
-
}): string | React__default.ReactElement;
|
|
758
|
-
declare function resolveComponentData<T>(data: YextEntityField<T>, locale: string, streamDocument?: Record<string, any>): T | undefined;
|
|
747
|
+
declare const bodyVariants: (props?: ({
|
|
748
|
+
variant?: "xs" | "sm" | "base" | "lg" | null | undefined;
|
|
749
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
750
|
+
interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
|
|
751
|
+
color?: BackgroundStyle;
|
|
752
|
+
}
|
|
753
|
+
declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
759
754
|
|
|
760
755
|
type Only<T, U> = {
|
|
761
756
|
[P in keyof T]: T[P];
|
|
@@ -803,6 +798,7 @@ type YextEntityField<T> = {
|
|
|
803
798
|
*/
|
|
804
799
|
selectedType?: string;
|
|
805
800
|
};
|
|
801
|
+
|
|
806
802
|
/**
|
|
807
803
|
* Configuration for the type selector dropdown in the YextEntityFieldSelector.
|
|
808
804
|
* This allows for a two-tiered selection: first a "type", then a "field" of that type.
|
|
@@ -832,6 +828,31 @@ type RenderYextEntityFieldSelectorProps<T extends Record<string, any>> = {
|
|
|
832
828
|
*/
|
|
833
829
|
declare const YextEntityFieldSelector: <T extends Record<string, any>, U>(props: RenderYextEntityFieldSelectorProps<T>) => Field<YextEntityField<U>>;
|
|
834
830
|
|
|
831
|
+
type ResolveComponentDataOptions = {
|
|
832
|
+
variant?: BodyProps["variant"];
|
|
833
|
+
isDarkBackground?: boolean;
|
|
834
|
+
className?: string;
|
|
835
|
+
color?: BackgroundStyle;
|
|
836
|
+
output?: "render" | "plainText";
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* The primary function for resolving all component data. It handles entity
|
|
840
|
+
* fields, constant values, embedded fields, and translatable types.
|
|
841
|
+
*
|
|
842
|
+
* @param data The field configuration object from component props OR a direct translatable value.
|
|
843
|
+
* @param locale The current language locale (e.g., "en").
|
|
844
|
+
* @param streamDocument The entity document. If not provided, embedded fields will not be resolved.
|
|
845
|
+
* @returns The fully resolved data for the component.
|
|
846
|
+
*/
|
|
847
|
+
declare function resolveComponentData(data: TranslatableString | YextEntityField<TranslatableString>, locale: string, streamDocument?: any): string;
|
|
848
|
+
declare function resolveComponentData(data: TranslatableRichText | YextEntityField<TranslatableRichText>, locale: string, streamDocument?: Record<string, any>, options?: Omit<ResolveComponentDataOptions, "output"> & {
|
|
849
|
+
output?: "render";
|
|
850
|
+
}): string | React__default.ReactElement;
|
|
851
|
+
declare function resolveComponentData(data: TranslatableString | TranslatableRichText | YextEntityField<TranslatableString | TranslatableRichText> | undefined, locale: string, streamDocument: Record<string, any> | undefined, options: {
|
|
852
|
+
output: "plainText";
|
|
853
|
+
}): string;
|
|
854
|
+
declare function resolveComponentData<T>(data: YextEntityField<T>, locale: string, streamDocument?: Record<string, any>): T | undefined;
|
|
855
|
+
|
|
835
856
|
declare const resolveYextEntityField: <T>(streamDocument: any, entityField: YextEntityField<T>, locale?: string) => T | undefined;
|
|
836
857
|
|
|
837
858
|
/**
|
|
@@ -1012,6 +1033,44 @@ type BasicSelectorProps = {
|
|
|
1012
1033
|
});
|
|
1013
1034
|
declare const BasicSelector: <T>(props: BasicSelectorProps) => Field<T>;
|
|
1014
1035
|
|
|
1036
|
+
type DynamicOptionValueTypes = string | number | boolean | object;
|
|
1037
|
+
type DynamicOptionsSelectorProps<T extends DynamicOptionValueTypes> = {
|
|
1038
|
+
label: string;
|
|
1039
|
+
dropdownLabel: string;
|
|
1040
|
+
getOptions: () => DynamicOption<T>[];
|
|
1041
|
+
placeholderOptionLabel?: string;
|
|
1042
|
+
};
|
|
1043
|
+
interface DynamicOptionSelection<T extends DynamicOptionValueTypes> {
|
|
1044
|
+
value: T | undefined;
|
|
1045
|
+
}
|
|
1046
|
+
interface DynamicOptionsSelectorType<T extends DynamicOptionValueTypes> {
|
|
1047
|
+
selections: DynamicOptionSelection<T>[];
|
|
1048
|
+
}
|
|
1049
|
+
interface DynamicOptionsSingleSelectorType<T extends DynamicOptionValueTypes> {
|
|
1050
|
+
selection: DynamicOptionSelection<T>;
|
|
1051
|
+
}
|
|
1052
|
+
interface DynamicOption<T extends DynamicOptionValueTypes> {
|
|
1053
|
+
label: string;
|
|
1054
|
+
value: T | undefined;
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* A multi selector component for dynamic options. The options can be loaded from a function that
|
|
1058
|
+
* uses hooks.
|
|
1059
|
+
*/
|
|
1060
|
+
declare const DynamicOptionsSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSelectorType<T> | undefined>;
|
|
1061
|
+
/**
|
|
1062
|
+
* A single selector component for dynamic options. The options can be loaded from a function that
|
|
1063
|
+
* uses hooks.
|
|
1064
|
+
*/
|
|
1065
|
+
declare const DynamicOptionsSingleSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSingleSelectorType<T> | undefined>;
|
|
1066
|
+
|
|
1067
|
+
type codeLanguageOptions = "html" | "css" | "json" | "shell" | "java" | "javascript" | "jsx" | "markdown" | "typescript";
|
|
1068
|
+
type CodeFieldProps = {
|
|
1069
|
+
fieldLabel: string;
|
|
1070
|
+
codeLanguage: codeLanguageOptions;
|
|
1071
|
+
};
|
|
1072
|
+
declare const CodeField: ({ fieldLabel, codeLanguage, }: CodeFieldProps) => CustomField<number | string>;
|
|
1073
|
+
|
|
1015
1074
|
/** Copied from Puck, do not change */
|
|
1016
1075
|
type FieldOption = {
|
|
1017
1076
|
label: string;
|
|
@@ -1019,7 +1078,7 @@ type FieldOption = {
|
|
|
1019
1078
|
};
|
|
1020
1079
|
/** Copied from Puck, do not change */
|
|
1021
1080
|
type FieldOptions = Array<FieldOption> | ReadonlyArray<FieldOption>;
|
|
1022
|
-
type radioOptions = "PHONE_OPTIONS" | "ALIGNMENT" | "BODY_VARIANT" | "JUSTIFY_CONTENT" | "CTA_VARIANT";
|
|
1081
|
+
type radioOptions = "PHONE_OPTIONS" | "ALIGNMENT" | "BODY_VARIANT" | "JUSTIFY_CONTENT" | "CTA_VARIANT" | "SHOW_HIDE";
|
|
1023
1082
|
type selectOptions = keyof Omit<typeof ThemeOptions, radioOptions>;
|
|
1024
1083
|
type YextBaseField = {
|
|
1025
1084
|
type: string;
|
|
@@ -1095,37 +1154,6 @@ declare const KnowledgeGraphIcon: ({ enabled }: {
|
|
|
1095
1154
|
enabled: boolean;
|
|
1096
1155
|
}) => react_jsx_runtime.JSX.Element;
|
|
1097
1156
|
|
|
1098
|
-
type DynamicOptionValueTypes = string | number | boolean | object;
|
|
1099
|
-
type DynamicOptionsSelectorProps<T extends DynamicOptionValueTypes> = {
|
|
1100
|
-
label: string;
|
|
1101
|
-
dropdownLabel: string;
|
|
1102
|
-
getOptions: () => DynamicOption<T>[];
|
|
1103
|
-
placeholderOptionLabel?: string;
|
|
1104
|
-
};
|
|
1105
|
-
interface DynamicOptionSelection<T extends DynamicOptionValueTypes> {
|
|
1106
|
-
value: T | undefined;
|
|
1107
|
-
}
|
|
1108
|
-
interface DynamicOptionsSelectorType<T extends DynamicOptionValueTypes> {
|
|
1109
|
-
selections: DynamicOptionSelection<T>[];
|
|
1110
|
-
}
|
|
1111
|
-
interface DynamicOptionsSingleSelectorType<T extends DynamicOptionValueTypes> {
|
|
1112
|
-
selection: DynamicOptionSelection<T>;
|
|
1113
|
-
}
|
|
1114
|
-
interface DynamicOption<T extends DynamicOptionValueTypes> {
|
|
1115
|
-
label: string;
|
|
1116
|
-
value: T | undefined;
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* A multi selector component for dynamic options. The options can be loaded from a function that
|
|
1120
|
-
* uses hooks.
|
|
1121
|
-
*/
|
|
1122
|
-
declare const DynamicOptionsSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSelectorType<T> | undefined>;
|
|
1123
|
-
/**
|
|
1124
|
-
* A single selector component for dynamic options. The options can be loaded from a function that
|
|
1125
|
-
* uses hooks.
|
|
1126
|
-
*/
|
|
1127
|
-
declare const DynamicOptionsSingleSelector: <T extends DynamicOptionValueTypes>(props: DynamicOptionsSelectorProps<T>) => Field<DynamicOptionsSingleSelectorType<T> | undefined>;
|
|
1128
|
-
|
|
1129
1157
|
/**
|
|
1130
1158
|
* Generates a translatable string config
|
|
1131
1159
|
* @param label optional label. Takes in a value from msg.
|
|
@@ -1167,13 +1195,6 @@ declare const EmbeddedFieldStringInputFromOptions: ({ value, onChange, options,
|
|
|
1167
1195
|
useOptionValueSublabel?: boolean;
|
|
1168
1196
|
}) => react_jsx_runtime.JSX.Element;
|
|
1169
1197
|
|
|
1170
|
-
type codeLanguageOptions = "html" | "css" | "json" | "shell" | "java" | "javascript" | "jsx" | "markdown" | "typescript";
|
|
1171
|
-
type CodeFieldProps = {
|
|
1172
|
-
fieldLabel: string;
|
|
1173
|
-
codeLanguage: codeLanguageOptions;
|
|
1174
|
-
};
|
|
1175
|
-
declare const CodeField: ({ fieldLabel, codeLanguage, }: CodeFieldProps) => CustomField<number | string>;
|
|
1176
|
-
|
|
1177
1198
|
/**
|
|
1178
1199
|
* getMaxWidthOptions returns a list of options including the theme max width,
|
|
1179
1200
|
* any widths greater than the theme value, or full width.
|
|
@@ -1196,18 +1217,11 @@ declare const filterMaxWidths: (styleElement: HTMLStyleElement) => {
|
|
|
1196
1217
|
|
|
1197
1218
|
declare const resolveDataFromParent: <T extends DefaultComponentProps>(fields: Fields<T>, data: Omit<ComponentData<T, string, Record<string, DefaultComponentProps>>, "type">) => Fields<T>;
|
|
1198
1219
|
|
|
1199
|
-
declare const bodyVariants: (props?: ({
|
|
1200
|
-
variant?: "sm" | "lg" | "base" | "xs" | null | undefined;
|
|
1201
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1202
|
-
interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
|
|
1203
|
-
}
|
|
1204
|
-
declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
1205
|
-
|
|
1206
1220
|
declare const buttonVariants: (props?: ({
|
|
1207
|
-
variant?: "link" | "
|
|
1221
|
+
variant?: "link" | "primary" | "secondary" | "directoryLink" | "headerFooterMainLink" | "headerFooterSecondaryLink" | null | undefined;
|
|
1208
1222
|
hasDarkBackground?: boolean | null | undefined;
|
|
1209
1223
|
linkPadding?: "none" | "yOnly" | null | undefined;
|
|
1210
|
-
} &
|
|
1224
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1211
1225
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
1212
1226
|
asChild?: boolean;
|
|
1213
1227
|
}
|
|
@@ -1216,22 +1230,25 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
|
|
|
1216
1230
|
type CTAProps = {
|
|
1217
1231
|
label: React.ReactNode;
|
|
1218
1232
|
ctaType?: "textAndLink" | "getDirections" | "presetImage";
|
|
1233
|
+
actionType?: "link" | "button";
|
|
1219
1234
|
link?: string;
|
|
1220
1235
|
linkType?: LinkType;
|
|
1221
1236
|
presetImageType?: PresetImageType;
|
|
1237
|
+
id?: string;
|
|
1238
|
+
dataAttributes?: Record<`data-${string}`, string>;
|
|
1222
1239
|
variant?: ButtonProps["variant"];
|
|
1223
1240
|
className?: string;
|
|
1224
1241
|
eventName?: string;
|
|
1225
1242
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
1226
1243
|
alwaysHideCaret?: boolean;
|
|
1227
1244
|
ariaLabel?: string;
|
|
1228
|
-
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
1245
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement, MouseEvent>) => void;
|
|
1229
1246
|
disabled?: boolean;
|
|
1230
1247
|
color?: BackgroundStyle;
|
|
1231
1248
|
openInNewTab?: boolean;
|
|
1232
1249
|
/**
|
|
1233
1250
|
* When true and variant is "link", applies vertical padding (py-3) to the CTA.
|
|
1234
|
-
* @
|
|
1251
|
+
* @defaultValue false
|
|
1235
1252
|
*/
|
|
1236
1253
|
setPadding?: boolean;
|
|
1237
1254
|
};
|
|
@@ -1245,13 +1262,13 @@ type CTAProps = {
|
|
|
1245
1262
|
* "headerFooterSecondaryLink": a text link style optimized for secondary links in the header and footer.
|
|
1246
1263
|
*/
|
|
1247
1264
|
type CTAVariant = ButtonProps["variant"];
|
|
1248
|
-
declare const CTA: (props: CTAProps) =>
|
|
1265
|
+
declare const CTA: (props: CTAProps) => react_jsx_runtime.JSX.Element | null;
|
|
1249
1266
|
|
|
1250
1267
|
declare const headingVariants: (props?: ({
|
|
1251
1268
|
level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1252
|
-
fontSize?: "default" | "
|
|
1253
|
-
weight?: "default" | "
|
|
1254
|
-
} &
|
|
1269
|
+
fontSize?: "default" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
1270
|
+
weight?: "default" | "400" | "100" | "200" | "300" | "500" | "600" | "700" | "800" | "900" | null | undefined;
|
|
1271
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1255
1272
|
interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
|
|
1256
1273
|
level: HeadingLevel;
|
|
1257
1274
|
semanticLevelOverride?: HeadingLevel | "span";
|
|
@@ -1311,11 +1328,11 @@ interface MaybeRTFProps extends Record<string, any> {
|
|
|
1311
1328
|
declare const MaybeRTF: ({ data, bodyVariant, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element;
|
|
1312
1329
|
|
|
1313
1330
|
declare const pageSectionVariants: (props?: ({
|
|
1314
|
-
verticalPadding?: "default" | "
|
|
1315
|
-
} &
|
|
1331
|
+
verticalPadding?: "default" | "none" | "sm" | "footer" | "header" | "footerSecondary" | null | undefined;
|
|
1332
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1316
1333
|
declare const maxWidthVariants: (props?: ({
|
|
1317
|
-
maxWidth?: "
|
|
1318
|
-
} &
|
|
1334
|
+
maxWidth?: "768px" | "960px" | "1024px" | "1280px" | "1440px" | "theme" | "fullWidth" | null | undefined;
|
|
1335
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1319
1336
|
interface PageSectionProps extends VariantProps<typeof maxWidthVariants>, React.HTMLAttributes<HTMLDivElement> {
|
|
1320
1337
|
background?: BackgroundStyle;
|
|
1321
1338
|
verticalPadding?: VariantProps<typeof pageSectionVariants>["verticalPadding"];
|
|
@@ -1351,7 +1368,7 @@ interface VisibilityWrapperProps {
|
|
|
1351
1368
|
}
|
|
1352
1369
|
declare const wrapperVariants: (props?: ({
|
|
1353
1370
|
size?: "lg" | "md" | null | undefined;
|
|
1354
|
-
} &
|
|
1371
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1355
1372
|
declare const VisibilityWrapper: React.FC<VisibilityWrapperProps>;
|
|
1356
1373
|
|
|
1357
1374
|
interface HoursStatusAtomProps {
|
|
@@ -1412,11 +1429,11 @@ type VideoAtomProps = {
|
|
|
1412
1429
|
declare const VideoAtom: (props: VideoAtomProps) => react_jsx_runtime.JSX.Element;
|
|
1413
1430
|
|
|
1414
1431
|
declare const layoutVariants: (props?: ({
|
|
1415
|
-
gap?: "0" | "1" | "2" | "3" | "
|
|
1416
|
-
verticalPadding?: "0" | "1" | "2" | "3" | "default" | "
|
|
1417
|
-
horizontalPadding?: "0" | "1" | "2" | "3" | "
|
|
1432
|
+
gap?: "0" | "1" | "2" | "3" | "0.5" | "4" | "1.5" | "6" | "8" | "2.5" | "10" | "12" | "3.5" | "14" | "16" | "5" | "20" | "24" | "7" | "9" | "11" | "none" | null | undefined;
|
|
1433
|
+
verticalPadding?: "0" | "1" | "2" | "3" | "default" | "0.5" | "4" | "1.5" | "6" | "8" | "2.5" | "10" | "12" | "3.5" | "14" | "16" | "5" | "20" | "24" | "7" | "9" | "11" | "none" | null | undefined;
|
|
1434
|
+
horizontalPadding?: "0" | "1" | "2" | "3" | "0.5" | "4" | "1.5" | "6" | "8" | "2.5" | "10" | "12" | "3.5" | "14" | "16" | "5" | "20" | "24" | "7" | "9" | "11" | "none" | null | undefined;
|
|
1418
1435
|
columnFormatting?: "default" | "none" | "forceHorizontal" | null | undefined;
|
|
1419
|
-
} &
|
|
1436
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1420
1437
|
interface layoutProps extends VariantProps<typeof layoutVariants> {
|
|
1421
1438
|
backgroundColor?: BackgroundStyle;
|
|
1422
1439
|
}
|
|
@@ -1466,6 +1483,8 @@ type BodyTextProps = {
|
|
|
1466
1483
|
styles: {
|
|
1467
1484
|
/** The size of the body text. */
|
|
1468
1485
|
variant: BodyProps["variant"];
|
|
1486
|
+
/** The color of the body text. */
|
|
1487
|
+
color?: BackgroundStyle;
|
|
1469
1488
|
};
|
|
1470
1489
|
/**
|
|
1471
1490
|
* @internal Controlled data from the parent section.
|
|
@@ -1487,8 +1506,23 @@ interface CTAWrapperProps {
|
|
|
1487
1506
|
data: {
|
|
1488
1507
|
/** Whether to show the CTA */
|
|
1489
1508
|
show?: boolean;
|
|
1509
|
+
/** Whether CTA renders as a link or a button */
|
|
1510
|
+
actionType?: "link" | "button";
|
|
1490
1511
|
/** The call to action to display */
|
|
1491
1512
|
entityField: YextEntityField<EnhancedTranslatableCTA>;
|
|
1513
|
+
/** Static text for the button label */
|
|
1514
|
+
buttonText?: TranslatableString;
|
|
1515
|
+
/** Sets id attribute on the button */
|
|
1516
|
+
customId?: string;
|
|
1517
|
+
/** Sets className attribute on the button */
|
|
1518
|
+
customClass?: string;
|
|
1519
|
+
/** Renders as data-* attributes */
|
|
1520
|
+
dataAttributes?: Array<{
|
|
1521
|
+
key: string;
|
|
1522
|
+
value: string;
|
|
1523
|
+
}>;
|
|
1524
|
+
/** Override for screen reader label */
|
|
1525
|
+
ariaLabel?: TranslatableString;
|
|
1492
1526
|
};
|
|
1493
1527
|
styles: {
|
|
1494
1528
|
/** The visual style of the CTA. */
|
|
@@ -1521,6 +1555,7 @@ interface EmailsProps {
|
|
|
1521
1555
|
};
|
|
1522
1556
|
styles?: {
|
|
1523
1557
|
listLength?: number;
|
|
1558
|
+
showIcon?: boolean;
|
|
1524
1559
|
};
|
|
1525
1560
|
/** @internal Event name to be used for click analytics */
|
|
1526
1561
|
eventName?: string;
|
|
@@ -1709,6 +1744,33 @@ declare const CTAGroup: ComponentConfig<{
|
|
|
1709
1744
|
props: CTAGroupProps;
|
|
1710
1745
|
}>;
|
|
1711
1746
|
|
|
1747
|
+
type TextProps = {
|
|
1748
|
+
data: {
|
|
1749
|
+
/** The text to display. */
|
|
1750
|
+
text: YextEntityField<TranslatableString | TranslatableRichText>;
|
|
1751
|
+
};
|
|
1752
|
+
styles: {
|
|
1753
|
+
/** The size of the text. */
|
|
1754
|
+
variant: BodyProps["variant"];
|
|
1755
|
+
/** Optional text color override. */
|
|
1756
|
+
color?: BackgroundStyle;
|
|
1757
|
+
/** Optional font style override. */
|
|
1758
|
+
fontStyle: "regular" | "bold" | "italic";
|
|
1759
|
+
};
|
|
1760
|
+
/** @internal Controlled data from the parent section. */
|
|
1761
|
+
parentData?: {
|
|
1762
|
+
field: string;
|
|
1763
|
+
text: TranslatableString | TranslatableRichText | undefined;
|
|
1764
|
+
};
|
|
1765
|
+
/** @internal Controlled style from the parent section */
|
|
1766
|
+
parentStyles?: {
|
|
1767
|
+
className: string;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1770
|
+
declare const Text: ComponentConfig<{
|
|
1771
|
+
props: TextProps;
|
|
1772
|
+
}>;
|
|
1773
|
+
|
|
1712
1774
|
interface AdvancedCoreInfoCategoryProps {
|
|
1713
1775
|
Grid: GridProps;
|
|
1714
1776
|
Address: AddressProps;
|
|
@@ -1724,6 +1786,7 @@ interface AdvancedCoreInfoCategoryProps {
|
|
|
1724
1786
|
MapboxStaticMap: MapboxStaticProps;
|
|
1725
1787
|
Phone: PhoneProps;
|
|
1726
1788
|
TextList: TextListProps;
|
|
1789
|
+
Text: TextProps;
|
|
1727
1790
|
}
|
|
1728
1791
|
declare const AdvancedCoreInfoCategoryComponents: {
|
|
1729
1792
|
Grid: {
|
|
@@ -2070,88 +2133,88 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2070
2133
|
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
2071
2134
|
metadata?: _puckeditor_core.ComponentMetadata;
|
|
2072
2135
|
} & _puckeditor_core.ComponentConfigExtensions;
|
|
2073
|
-
|
|
2074
|
-
render: _puckeditor_core.PuckComponent<
|
|
2136
|
+
HoursTable: {
|
|
2137
|
+
render: _puckeditor_core.PuckComponent<HoursTableProps>;
|
|
2075
2138
|
label?: string;
|
|
2076
|
-
defaultProps?:
|
|
2077
|
-
fields?: _puckeditor_core.Fields<
|
|
2139
|
+
defaultProps?: HoursTableProps | undefined;
|
|
2140
|
+
fields?: _puckeditor_core.Fields<HoursTableProps, {}> | undefined;
|
|
2078
2141
|
permissions?: Partial<_puckeditor_core.Permissions>;
|
|
2079
2142
|
inline?: boolean;
|
|
2080
|
-
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2081
|
-
changed: Partial<Record<keyof
|
|
2143
|
+
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2144
|
+
changed: Partial<Record<keyof HoursTableProps, boolean> & {
|
|
2082
2145
|
id: string;
|
|
2083
2146
|
}>;
|
|
2084
|
-
fields: _puckeditor_core.Fields<
|
|
2085
|
-
lastFields: _puckeditor_core.Fields<
|
|
2086
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2147
|
+
fields: _puckeditor_core.Fields<HoursTableProps, {}>;
|
|
2148
|
+
lastFields: _puckeditor_core.Fields<HoursTableProps, {}>;
|
|
2149
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2087
2150
|
metadata: _puckeditor_core.ComponentMetadata;
|
|
2088
2151
|
appState: _puckeditor_core.AppState;
|
|
2089
2152
|
parent: _puckeditor_core.ComponentData | null;
|
|
2090
|
-
}) => _puckeditor_core.Fields<
|
|
2091
|
-
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2092
|
-
changed: Partial<Record<keyof
|
|
2153
|
+
}) => _puckeditor_core.Fields<HoursTableProps, {}> | Promise<_puckeditor_core.Fields<HoursTableProps, {}>>) | undefined;
|
|
2154
|
+
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2155
|
+
changed: Partial<Record<keyof HoursTableProps, boolean> & {
|
|
2093
2156
|
id: string;
|
|
2094
2157
|
}>;
|
|
2095
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2158
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2096
2159
|
metadata: _puckeditor_core.ComponentMetadata;
|
|
2097
2160
|
trigger: _puckeditor_core.ResolveDataTrigger;
|
|
2098
2161
|
parent: _puckeditor_core.ComponentData | null;
|
|
2099
|
-
}) => (Omit<Omit<_puckeditor_core.ComponentData<
|
|
2100
|
-
props?: Partial<
|
|
2101
|
-
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<
|
|
2102
|
-
props?: Partial<
|
|
2162
|
+
}) => (Omit<Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2163
|
+
props?: Partial<HoursTableProps> | undefined;
|
|
2164
|
+
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2165
|
+
props?: Partial<HoursTableProps> | undefined;
|
|
2103
2166
|
}>) | undefined;
|
|
2104
|
-
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2105
|
-
changed: Partial<Record<keyof
|
|
2167
|
+
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2168
|
+
changed: Partial<Record<keyof HoursTableProps, boolean> & {
|
|
2106
2169
|
id: string;
|
|
2107
2170
|
}>;
|
|
2108
2171
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
2109
2172
|
permissions: Partial<_puckeditor_core.Permissions>;
|
|
2110
2173
|
appState: _puckeditor_core.AppState;
|
|
2111
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2174
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2112
2175
|
parent: _puckeditor_core.ComponentData | null;
|
|
2113
2176
|
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
2114
2177
|
metadata?: _puckeditor_core.ComponentMetadata;
|
|
2115
2178
|
} & _puckeditor_core.ComponentConfigExtensions;
|
|
2116
|
-
|
|
2117
|
-
render: _puckeditor_core.PuckComponent<
|
|
2179
|
+
HoursStatus: {
|
|
2180
|
+
render: _puckeditor_core.PuckComponent<HoursStatusProps>;
|
|
2118
2181
|
label?: string;
|
|
2119
|
-
defaultProps?:
|
|
2120
|
-
fields?: _puckeditor_core.Fields<
|
|
2182
|
+
defaultProps?: HoursStatusProps | undefined;
|
|
2183
|
+
fields?: _puckeditor_core.Fields<HoursStatusProps, {}> | undefined;
|
|
2121
2184
|
permissions?: Partial<_puckeditor_core.Permissions>;
|
|
2122
2185
|
inline?: boolean;
|
|
2123
|
-
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2124
|
-
changed: Partial<Record<keyof
|
|
2186
|
+
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2187
|
+
changed: Partial<Record<keyof HoursStatusProps, boolean> & {
|
|
2125
2188
|
id: string;
|
|
2126
2189
|
}>;
|
|
2127
|
-
fields: _puckeditor_core.Fields<
|
|
2128
|
-
lastFields: _puckeditor_core.Fields<
|
|
2129
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2190
|
+
fields: _puckeditor_core.Fields<HoursStatusProps, {}>;
|
|
2191
|
+
lastFields: _puckeditor_core.Fields<HoursStatusProps, {}>;
|
|
2192
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2130
2193
|
metadata: _puckeditor_core.ComponentMetadata;
|
|
2131
2194
|
appState: _puckeditor_core.AppState;
|
|
2132
2195
|
parent: _puckeditor_core.ComponentData | null;
|
|
2133
|
-
}) => _puckeditor_core.Fields<
|
|
2134
|
-
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2135
|
-
changed: Partial<Record<keyof
|
|
2196
|
+
}) => _puckeditor_core.Fields<HoursStatusProps, {}> | Promise<_puckeditor_core.Fields<HoursStatusProps, {}>>) | undefined;
|
|
2197
|
+
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2198
|
+
changed: Partial<Record<keyof HoursStatusProps, boolean> & {
|
|
2136
2199
|
id: string;
|
|
2137
2200
|
}>;
|
|
2138
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2201
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2139
2202
|
metadata: _puckeditor_core.ComponentMetadata;
|
|
2140
2203
|
trigger: _puckeditor_core.ResolveDataTrigger;
|
|
2141
2204
|
parent: _puckeditor_core.ComponentData | null;
|
|
2142
|
-
}) => (Omit<Omit<_puckeditor_core.ComponentData<
|
|
2143
|
-
props?: Partial<
|
|
2144
|
-
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<
|
|
2145
|
-
props?: Partial<
|
|
2205
|
+
}) => (Omit<Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2206
|
+
props?: Partial<HoursStatusProps> | undefined;
|
|
2207
|
+
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2208
|
+
props?: Partial<HoursStatusProps> | undefined;
|
|
2146
2209
|
}>) | undefined;
|
|
2147
|
-
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<
|
|
2148
|
-
changed: Partial<Record<keyof
|
|
2210
|
+
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2211
|
+
changed: Partial<Record<keyof HoursStatusProps, boolean> & {
|
|
2149
2212
|
id: string;
|
|
2150
2213
|
}>;
|
|
2151
2214
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
2152
2215
|
permissions: Partial<_puckeditor_core.Permissions>;
|
|
2153
2216
|
appState: _puckeditor_core.AppState;
|
|
2154
|
-
lastData: Omit<_puckeditor_core.ComponentData<
|
|
2217
|
+
lastData: Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2155
2218
|
parent: _puckeditor_core.ComponentData | null;
|
|
2156
2219
|
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
2157
2220
|
metadata?: _puckeditor_core.ComponentMetadata;
|
|
@@ -2328,6 +2391,49 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2328
2391
|
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
2329
2392
|
metadata?: _puckeditor_core.ComponentMetadata;
|
|
2330
2393
|
} & _puckeditor_core.ComponentConfigExtensions;
|
|
2394
|
+
Text: {
|
|
2395
|
+
render: _puckeditor_core.PuckComponent<TextProps>;
|
|
2396
|
+
label?: string;
|
|
2397
|
+
defaultProps?: TextProps | undefined;
|
|
2398
|
+
fields?: _puckeditor_core.Fields<TextProps, {}> | undefined;
|
|
2399
|
+
permissions?: Partial<_puckeditor_core.Permissions>;
|
|
2400
|
+
inline?: boolean;
|
|
2401
|
+
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2402
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
2403
|
+
id: string;
|
|
2404
|
+
}>;
|
|
2405
|
+
fields: _puckeditor_core.Fields<TextProps, {}>;
|
|
2406
|
+
lastFields: _puckeditor_core.Fields<TextProps, {}>;
|
|
2407
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2408
|
+
metadata: _puckeditor_core.ComponentMetadata;
|
|
2409
|
+
appState: _puckeditor_core.AppState;
|
|
2410
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
2411
|
+
}) => _puckeditor_core.Fields<TextProps, {}> | Promise<_puckeditor_core.Fields<TextProps, {}>>) | undefined;
|
|
2412
|
+
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2413
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
2414
|
+
id: string;
|
|
2415
|
+
}>;
|
|
2416
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2417
|
+
metadata: _puckeditor_core.ComponentMetadata;
|
|
2418
|
+
trigger: _puckeditor_core.ResolveDataTrigger;
|
|
2419
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
2420
|
+
}) => (Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2421
|
+
props?: Partial<TextProps> | undefined;
|
|
2422
|
+
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
2423
|
+
props?: Partial<TextProps> | undefined;
|
|
2424
|
+
}>) | undefined;
|
|
2425
|
+
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
2426
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
2427
|
+
id: string;
|
|
2428
|
+
}>;
|
|
2429
|
+
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
2430
|
+
permissions: Partial<_puckeditor_core.Permissions>;
|
|
2431
|
+
appState: _puckeditor_core.AppState;
|
|
2432
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
2433
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
2434
|
+
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
2435
|
+
metadata?: _puckeditor_core.ComponentMetadata;
|
|
2436
|
+
} & _puckeditor_core.ComponentConfigExtensions;
|
|
2331
2437
|
};
|
|
2332
2438
|
declare const AdvancedCoreInfoCategory: (keyof AdvancedCoreInfoCategoryProps)[];
|
|
2333
2439
|
|
|
@@ -2417,18 +2523,153 @@ declare const DirectoryCategoryComponents: {
|
|
|
2417
2523
|
};
|
|
2418
2524
|
declare const DirectoryCategory: (keyof DirectoryCategoryProps)[];
|
|
2419
2525
|
|
|
2420
|
-
interface
|
|
2421
|
-
/**
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
/**
|
|
2431
|
-
*
|
|
2526
|
+
interface LocatorResultCardProps {
|
|
2527
|
+
/** Settings for the main heading of the card */
|
|
2528
|
+
primaryHeading: {
|
|
2529
|
+
/**
|
|
2530
|
+
* The field from the data to use for the primary heading
|
|
2531
|
+
* @defaultValue "name"
|
|
2532
|
+
*/
|
|
2533
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2534
|
+
/** The heading level for the primary heading */
|
|
2535
|
+
headingLevel: HeadingLevel;
|
|
2536
|
+
/**
|
|
2537
|
+
* The color applied to the primary heading text
|
|
2538
|
+
* @defaultValue inherited from theme
|
|
2539
|
+
*/
|
|
2540
|
+
color?: BackgroundStyle;
|
|
2541
|
+
};
|
|
2542
|
+
/** Settings for the secondary heading of the card */
|
|
2543
|
+
secondaryHeading: {
|
|
2544
|
+
/** The field from the data to use for the secondary heading */
|
|
2545
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2546
|
+
/** The variant for the secondary heading */
|
|
2547
|
+
variant: BodyProps["variant"];
|
|
2548
|
+
/** Whether the secondary heading is visible in live mode */
|
|
2549
|
+
liveVisibility: boolean;
|
|
2550
|
+
};
|
|
2551
|
+
/** Settings for the tertiary heading of the card */
|
|
2552
|
+
tertiaryHeading: {
|
|
2553
|
+
/** The field from the data to use for the tertiary heading */
|
|
2554
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2555
|
+
/** The variant for the tertiary heading */
|
|
2556
|
+
variant: BodyProps["variant"];
|
|
2557
|
+
/** Whether the tertiary heading is visible in live mode */
|
|
2558
|
+
liveVisibility: boolean;
|
|
2559
|
+
};
|
|
2560
|
+
/** Whether to show icons for certain fields */
|
|
2561
|
+
icons: boolean;
|
|
2562
|
+
/** Settings for the hours block */
|
|
2563
|
+
hours: {
|
|
2564
|
+
/** The field from the data to use for the hours */
|
|
2565
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2566
|
+
/** Styles for the hours table */
|
|
2567
|
+
table: Omit<HoursTableProps["styles"], "alignment">;
|
|
2568
|
+
/** Whether the hours block is visible in live mode */
|
|
2569
|
+
liveVisibility: boolean;
|
|
2570
|
+
};
|
|
2571
|
+
/** Settings for the address block */
|
|
2572
|
+
address: {
|
|
2573
|
+
/** Whether to show the "Get Directions" link */
|
|
2574
|
+
showGetDirectionsLink: boolean;
|
|
2575
|
+
/** Whether the address block is visible in live mode */
|
|
2576
|
+
liveVisibility: boolean;
|
|
2577
|
+
};
|
|
2578
|
+
/** Settings for the phone block */
|
|
2579
|
+
phone: {
|
|
2580
|
+
/**
|
|
2581
|
+
* The field from the data to use for the phone number
|
|
2582
|
+
* @defaultValue "mainPhone"
|
|
2583
|
+
*/
|
|
2584
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2585
|
+
/**
|
|
2586
|
+
* The format to use for the phone number
|
|
2587
|
+
* @defaultValue "domestic"
|
|
2588
|
+
*/
|
|
2589
|
+
phoneFormat: "domestic" | "international";
|
|
2590
|
+
/** Whether to include a hyperlink for the phone number */
|
|
2591
|
+
includePhoneHyperlink: boolean;
|
|
2592
|
+
/** Whether the phone block is visible in live mode */
|
|
2593
|
+
liveVisibility: boolean;
|
|
2594
|
+
};
|
|
2595
|
+
/** Settings for the email block */
|
|
2596
|
+
email: {
|
|
2597
|
+
/**
|
|
2598
|
+
* The field from the data to use for the email address
|
|
2599
|
+
* @defaultValue "emails"
|
|
2600
|
+
*/
|
|
2601
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2602
|
+
/** Whether the email block is visible in live mode */
|
|
2603
|
+
liveVisibility: boolean;
|
|
2604
|
+
};
|
|
2605
|
+
/** Settings for the services block */
|
|
2606
|
+
services: {
|
|
2607
|
+
/**The field from the data to use for the services
|
|
2608
|
+
* @defaultValue "services"
|
|
2609
|
+
*/
|
|
2610
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2611
|
+
/** Whether the services block is visible in live mode */
|
|
2612
|
+
liveVisibility: boolean;
|
|
2613
|
+
};
|
|
2614
|
+
/** Settings for the primary CTA */
|
|
2615
|
+
primaryCTA: {
|
|
2616
|
+
/** Label for the primary CTA */
|
|
2617
|
+
label: TranslatableString;
|
|
2618
|
+
/** The variant for the primary CTA */
|
|
2619
|
+
variant: CTAVariant;
|
|
2620
|
+
/** Whether the primary CTA is visible in live mode */
|
|
2621
|
+
liveVisibility: boolean;
|
|
2622
|
+
};
|
|
2623
|
+
/** Settings for the secondary CTA */
|
|
2624
|
+
secondaryCTA: {
|
|
2625
|
+
/** Label for the secondary CTA */
|
|
2626
|
+
label: TranslatableString;
|
|
2627
|
+
/** Template for the secondary CTA link, which can contain entity field references */
|
|
2628
|
+
link: TranslatableString;
|
|
2629
|
+
/** The variant for the secondary CTA */
|
|
2630
|
+
variant: CTAVariant;
|
|
2631
|
+
/** Whether the secondary CTA is visible in live mode */
|
|
2632
|
+
liveVisibility: boolean;
|
|
2633
|
+
};
|
|
2634
|
+
/** Settings for the image */
|
|
2635
|
+
image: {
|
|
2636
|
+
/** The field from the data to use for the image */
|
|
2637
|
+
field: DynamicOptionsSingleSelectorType<string>;
|
|
2638
|
+
/** Whether the image block is visible in live mode */
|
|
2639
|
+
liveVisibility: boolean;
|
|
2640
|
+
};
|
|
2641
|
+
}
|
|
2642
|
+
interface Location {
|
|
2643
|
+
address: AddressType;
|
|
2644
|
+
hours?: HoursType;
|
|
2645
|
+
additionalHoursText?: string;
|
|
2646
|
+
id: string;
|
|
2647
|
+
mainPhone?: string;
|
|
2648
|
+
name: string;
|
|
2649
|
+
neighborhood?: string;
|
|
2650
|
+
slug?: string;
|
|
2651
|
+
timezone: string;
|
|
2652
|
+
yextDisplayCoordinate?: Coordinate$1;
|
|
2653
|
+
ref_listings?: ListingType[];
|
|
2654
|
+
[key: string]: any;
|
|
2655
|
+
}
|
|
2656
|
+
declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, }: {
|
|
2657
|
+
result: CardProps<Location>["result"];
|
|
2658
|
+
resultCardProps: LocatorResultCardProps;
|
|
2659
|
+
}) => React__default.JSX.Element>;
|
|
2660
|
+
|
|
2661
|
+
interface LocatorProps {
|
|
2662
|
+
/**
|
|
2663
|
+
* The visual theme for the map tiles, chosen from a predefined list of Mapbox styles.
|
|
2664
|
+
* @defaultValue 'mapbox://styles/mapbox/streets-v12'
|
|
2665
|
+
*/
|
|
2666
|
+
mapStyle?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* Configuration for the filters available in the locator search experience.
|
|
2669
|
+
*/
|
|
2670
|
+
filters: {
|
|
2671
|
+
/**
|
|
2672
|
+
* If 'true', displays a button to filter for locations that are currently open.
|
|
2432
2673
|
* @defaultValue false
|
|
2433
2674
|
*/
|
|
2434
2675
|
openNowButton: boolean;
|
|
@@ -2448,6 +2689,19 @@ interface LocatorProps {
|
|
|
2448
2689
|
latitude: string;
|
|
2449
2690
|
longitude: string;
|
|
2450
2691
|
};
|
|
2692
|
+
/**
|
|
2693
|
+
* Configuration for the locator page heading.
|
|
2694
|
+
* Allows customizing the title text and its color.
|
|
2695
|
+
*/
|
|
2696
|
+
pageHeading?: {
|
|
2697
|
+
/** The title displayed at the top of the locator page. */
|
|
2698
|
+
title: TranslatableString;
|
|
2699
|
+
/**
|
|
2700
|
+
* The color applied to the locator page title.
|
|
2701
|
+
* @defaultValue inherited from theme
|
|
2702
|
+
*/
|
|
2703
|
+
color?: BackgroundStyle;
|
|
2704
|
+
};
|
|
2451
2705
|
/**
|
|
2452
2706
|
* Props to customize the locator result card component.
|
|
2453
2707
|
* Controls which fields are displayed and their styling.
|
|
@@ -2544,25 +2798,6 @@ declare const CustomCodeSection: ComponentConfig<{
|
|
|
2544
2798
|
props: CustomCodeSectionProps;
|
|
2545
2799
|
}>;
|
|
2546
2800
|
|
|
2547
|
-
interface FooterProps {
|
|
2548
|
-
/**
|
|
2549
|
-
* The background color for the entire footer section.
|
|
2550
|
-
* @defaultValue Background Color 1
|
|
2551
|
-
*/
|
|
2552
|
-
backgroundColor?: BackgroundStyle;
|
|
2553
|
-
/** @internal */
|
|
2554
|
-
analytics: {
|
|
2555
|
-
scope?: string;
|
|
2556
|
-
};
|
|
2557
|
-
}
|
|
2558
|
-
/**
|
|
2559
|
-
* The Footer appears at the bottom of the page. It serves as a container for secondary navigation, social media links, legal disclaimers, and copyright information. See [Expanded Footer](#expanded-footer) for the newest footer component.
|
|
2560
|
-
* Available on Directory and Locator templates.
|
|
2561
|
-
*/
|
|
2562
|
-
declare const Footer: ComponentConfig<{
|
|
2563
|
-
props: FooterProps;
|
|
2564
|
-
}>;
|
|
2565
|
-
|
|
2566
2801
|
interface ExpandedFooterData {
|
|
2567
2802
|
/** Content for the primary footer bar. */
|
|
2568
2803
|
primaryFooter: {
|
|
@@ -2578,202 +2813,46 @@ interface ExpandedFooterStyles {
|
|
|
2578
2813
|
/** Styling for the primary footer bar. */
|
|
2579
2814
|
primaryFooter: {
|
|
2580
2815
|
backgroundColor?: BackgroundStyle;
|
|
2581
|
-
linksPosition: "left" | "right";
|
|
2582
|
-
};
|
|
2583
|
-
/** The maximum width of the footer. */
|
|
2584
|
-
maxWidth: PageSectionProps["maxWidth"];
|
|
2585
|
-
}
|
|
2586
|
-
interface ExpandedFooterProps {
|
|
2587
|
-
/**
|
|
2588
|
-
* This object contains all the content for both footer tiers.
|
|
2589
|
-
* @propCategory Data Props
|
|
2590
|
-
*/
|
|
2591
|
-
data: ExpandedFooterData;
|
|
2592
|
-
/**
|
|
2593
|
-
* This object contains properties for customizing the appearance of both footer tiers.
|
|
2594
|
-
* @propCategory Style Props
|
|
2595
|
-
*/
|
|
2596
|
-
styles: ExpandedFooterStyles;
|
|
2597
|
-
/** @internal */
|
|
2598
|
-
slots: {
|
|
2599
|
-
LogoSlot: Slot;
|
|
2600
|
-
SocialLinksSlot: Slot;
|
|
2601
|
-
UtilityImagesSlot: Slot;
|
|
2602
|
-
PrimaryLinksWrapperSlot: Slot;
|
|
2603
|
-
ExpandedLinksWrapperSlot: Slot;
|
|
2604
|
-
SecondaryFooterSlot: Slot;
|
|
2605
|
-
};
|
|
2606
|
-
/** @internal */
|
|
2607
|
-
analytics: {
|
|
2608
|
-
scope?: string;
|
|
2609
|
-
};
|
|
2610
|
-
/**
|
|
2611
|
-
* Indicates which props should not be checked for missing translations.
|
|
2612
|
-
* @internal */
|
|
2613
|
-
ignoreLocaleWarning?: string[];
|
|
2614
|
-
}
|
|
2615
|
-
/**
|
|
2616
|
-
* The Expanded Footer is a comprehensive, two-tiered site-wide component for large websites. It includes a primary footer area for a logo, social media links, and utility images, and features two distinct layouts: a standard link list or an "expanded" multi-column mega-footer. It also includes an optional secondary sub-footer for copyright notices and legal links.
|
|
2617
|
-
* Avalible on Location templates.
|
|
2618
|
-
*/
|
|
2619
|
-
declare const ExpandedFooter: ComponentConfig<{
|
|
2620
|
-
props: ExpandedFooterProps;
|
|
2621
|
-
}>;
|
|
2622
|
-
|
|
2623
|
-
interface FooterLogoSlotProps {
|
|
2624
|
-
data: {
|
|
2625
|
-
image: YextEntityField<AssetImageType | TranslatableAssetImage>;
|
|
2626
|
-
linkTarget?: string;
|
|
2627
|
-
};
|
|
2628
|
-
styles: {
|
|
2629
|
-
width?: number;
|
|
2630
|
-
aspectRatio?: number;
|
|
2631
|
-
};
|
|
2632
|
-
}
|
|
2633
|
-
declare const FooterLogoSlot: ComponentConfig<{
|
|
2634
|
-
props: FooterLogoSlotProps;
|
|
2635
|
-
}>;
|
|
2636
|
-
|
|
2637
|
-
interface FooterSocialLinksSlotProps {
|
|
2638
|
-
data: {
|
|
2639
|
-
xLink: string;
|
|
2640
|
-
facebookLink: string;
|
|
2641
|
-
instagramLink: string;
|
|
2642
|
-
linkedInLink: string;
|
|
2643
|
-
pinterestLink: string;
|
|
2644
|
-
tiktokLink: string;
|
|
2645
|
-
youtubeLink: string;
|
|
2646
|
-
};
|
|
2647
|
-
styles?: {
|
|
2648
|
-
filledBackground?: boolean;
|
|
2649
|
-
mobileAlignment?: "left" | "center";
|
|
2650
|
-
};
|
|
2651
|
-
}
|
|
2652
|
-
declare const FooterSocialLinksSlot: ComponentConfig<{
|
|
2653
|
-
props: FooterSocialLinksSlotProps;
|
|
2654
|
-
}>;
|
|
2655
|
-
|
|
2656
|
-
interface FooterUtilityImagesSlotProps {
|
|
2657
|
-
data: {
|
|
2658
|
-
utilityImages: {
|
|
2659
|
-
image: AssetImageType;
|
|
2660
|
-
linkTarget?: string;
|
|
2661
|
-
}[];
|
|
2662
|
-
};
|
|
2663
|
-
styles: {
|
|
2664
|
-
width?: number;
|
|
2665
|
-
aspectRatio?: number;
|
|
2666
|
-
};
|
|
2667
|
-
}
|
|
2668
|
-
declare const FooterUtilityImagesSlot: ComponentConfig<{
|
|
2669
|
-
props: FooterUtilityImagesSlotProps;
|
|
2670
|
-
}>;
|
|
2671
|
-
|
|
2672
|
-
interface FooterLinksSlotProps {
|
|
2673
|
-
data: {
|
|
2674
|
-
links: TranslatableCTA[];
|
|
2675
|
-
};
|
|
2676
|
-
/** @internal */
|
|
2677
|
-
variant?: "primary" | "secondary";
|
|
2678
|
-
/** @internal */
|
|
2679
|
-
eventNamePrefix?: string;
|
|
2680
|
-
/** @internal */
|
|
2681
|
-
alignment?: "left" | "center" | "right";
|
|
2682
|
-
}
|
|
2683
|
-
declare const FooterLinksSlot: ComponentConfig<{
|
|
2684
|
-
props: FooterLinksSlotProps;
|
|
2685
|
-
}>;
|
|
2686
|
-
|
|
2687
|
-
interface FooterExpandedLinkSectionSlotProps {
|
|
2688
|
-
data: {
|
|
2689
|
-
label: YextEntityField<TranslatableString>;
|
|
2690
|
-
links: TranslatableCTA[];
|
|
2691
|
-
};
|
|
2692
|
-
/** @internal */
|
|
2693
|
-
index?: number;
|
|
2694
|
-
}
|
|
2695
|
-
declare const FooterExpandedLinkSectionSlot: ComponentConfig<{
|
|
2696
|
-
props: FooterExpandedLinkSectionSlotProps;
|
|
2697
|
-
}>;
|
|
2698
|
-
|
|
2699
|
-
interface FooterExpandedLinksWrapperProps {
|
|
2700
|
-
data: {
|
|
2701
|
-
sections: {
|
|
2702
|
-
label: TranslatableString;
|
|
2703
|
-
links: TranslatableCTA[];
|
|
2704
|
-
}[];
|
|
2705
|
-
};
|
|
2706
|
-
}
|
|
2707
|
-
declare const FooterExpandedLinksWrapper: ComponentConfig<{
|
|
2708
|
-
props: FooterExpandedLinksWrapperProps;
|
|
2709
|
-
}>;
|
|
2710
|
-
|
|
2711
|
-
interface CopyrightMessageSlotProps {
|
|
2712
|
-
data: {
|
|
2713
|
-
text: TranslatableString;
|
|
2816
|
+
linksPosition: "left" | "right";
|
|
2714
2817
|
};
|
|
2715
|
-
/**
|
|
2716
|
-
|
|
2818
|
+
/** The maximum width of the footer. */
|
|
2819
|
+
maxWidth: PageSectionProps["maxWidth"];
|
|
2717
2820
|
}
|
|
2718
|
-
|
|
2719
|
-
declare const CopyrightMessageSlot: ComponentConfig<{
|
|
2720
|
-
props: CopyrightMessageSlotProps;
|
|
2721
|
-
}>;
|
|
2722
|
-
|
|
2723
|
-
interface SecondaryFooterSlotProps {
|
|
2821
|
+
interface ExpandedFooterProps {
|
|
2724
2822
|
/**
|
|
2725
|
-
*
|
|
2823
|
+
* This object contains all the content for both footer tiers.
|
|
2726
2824
|
* @propCategory Data Props
|
|
2727
2825
|
*/
|
|
2728
|
-
data:
|
|
2729
|
-
/** Whether to hide or show the secondary footer */
|
|
2730
|
-
show: boolean;
|
|
2731
|
-
};
|
|
2826
|
+
data: ExpandedFooterData;
|
|
2732
2827
|
/**
|
|
2733
|
-
*
|
|
2828
|
+
* This object contains properties for customizing the appearance of both footer tiers.
|
|
2734
2829
|
* @propCategory Style Props
|
|
2735
2830
|
*/
|
|
2736
|
-
styles:
|
|
2737
|
-
backgroundColor?: BackgroundStyle;
|
|
2738
|
-
linksPosition: "left" | "center" | "right";
|
|
2739
|
-
};
|
|
2831
|
+
styles: ExpandedFooterStyles;
|
|
2740
2832
|
/** @internal */
|
|
2741
2833
|
slots: {
|
|
2742
|
-
|
|
2743
|
-
|
|
2834
|
+
LogoSlot: Slot;
|
|
2835
|
+
SocialLinksSlot: Slot;
|
|
2836
|
+
UtilityImagesSlot: Slot;
|
|
2837
|
+
PrimaryLinksWrapperSlot: Slot;
|
|
2838
|
+
ExpandedLinksWrapperSlot: Slot;
|
|
2839
|
+
SecondaryFooterSlot: Slot;
|
|
2744
2840
|
};
|
|
2745
|
-
/** The maximum width inherited from parent. @internal */
|
|
2746
|
-
maxWidth?: PageSectionProps["maxWidth"];
|
|
2747
|
-
}
|
|
2748
|
-
/**
|
|
2749
|
-
* The Secondary Footer Slot is a sub-section of the Expanded Footer that contains copyright information and secondary links.
|
|
2750
|
-
*/
|
|
2751
|
-
declare const SecondaryFooterSlot: ComponentConfig<{
|
|
2752
|
-
props: SecondaryFooterSlotProps;
|
|
2753
|
-
}>;
|
|
2754
|
-
|
|
2755
|
-
interface HeaderProps {
|
|
2756
|
-
/**
|
|
2757
|
-
* The display width of the site logo in pixels.
|
|
2758
|
-
* @defaultValue 80
|
|
2759
|
-
*/
|
|
2760
|
-
logoWidth?: number;
|
|
2761
|
-
/**
|
|
2762
|
-
* If 'true', displays the language selector dropdown in the header.
|
|
2763
|
-
* @defaultValue false
|
|
2764
|
-
*/
|
|
2765
|
-
enableLanguageSelector: boolean;
|
|
2766
2841
|
/** @internal */
|
|
2767
2842
|
analytics: {
|
|
2768
2843
|
scope?: string;
|
|
2769
2844
|
};
|
|
2845
|
+
/**
|
|
2846
|
+
* Indicates which props should not be checked for missing translations.
|
|
2847
|
+
* @internal */
|
|
2848
|
+
ignoreLocaleWarning?: string[];
|
|
2770
2849
|
}
|
|
2771
2850
|
/**
|
|
2772
|
-
* The
|
|
2773
|
-
*
|
|
2851
|
+
* The Expanded Footer is a comprehensive, two-tiered site-wide component for large websites. It includes a primary footer area for a logo, social media links, and utility images, and features two distinct layouts: a standard link list or an "expanded" multi-column mega-footer. It also includes an optional secondary sub-footer for copyright notices and legal links.
|
|
2852
|
+
* Avalible on Location templates.
|
|
2774
2853
|
*/
|
|
2775
|
-
declare const
|
|
2776
|
-
props:
|
|
2854
|
+
declare const ExpandedFooter: ComponentConfig<{
|
|
2855
|
+
props: ExpandedFooterProps;
|
|
2777
2856
|
}>;
|
|
2778
2857
|
|
|
2779
2858
|
interface ExpandedHeaderStyles {
|
|
@@ -2950,13 +3029,6 @@ declare const OtherCategoryComponents: {
|
|
|
2950
3029
|
declare const OtherCategory: (keyof OtherCategoryProps)[];
|
|
2951
3030
|
|
|
2952
3031
|
type AboutSectionProps = {
|
|
2953
|
-
/**
|
|
2954
|
-
* This object contains properties for customizing the component's data.
|
|
2955
|
-
* @propCategory Data Props
|
|
2956
|
-
*/
|
|
2957
|
-
data: {
|
|
2958
|
-
showDetailsColumn: boolean;
|
|
2959
|
-
};
|
|
2960
3032
|
/**
|
|
2961
3033
|
* This object contains properties for customizing the component's appearance.
|
|
2962
3034
|
* @propCategory Style Props
|
|
@@ -2967,6 +3039,11 @@ type AboutSectionProps = {
|
|
|
2967
3039
|
* @defaultValue Background Color 2
|
|
2968
3040
|
*/
|
|
2969
3041
|
backgroundColor?: BackgroundStyle;
|
|
3042
|
+
/**
|
|
3043
|
+
* If 'true', the sidebar with additional details is shown; if 'false', it's hidden.
|
|
3044
|
+
* @defaultValue true
|
|
3045
|
+
*/
|
|
3046
|
+
showDetailsColumn: boolean;
|
|
2970
3047
|
};
|
|
2971
3048
|
/** @internal */
|
|
2972
3049
|
slots: {
|
|
@@ -2997,6 +3074,11 @@ interface BannerStyles {
|
|
|
2997
3074
|
* @defaultValue Background Color 6
|
|
2998
3075
|
*/
|
|
2999
3076
|
backgroundColor?: BackgroundStyle;
|
|
3077
|
+
/**
|
|
3078
|
+
* Optional text color for the banner text.
|
|
3079
|
+
* If not set, it will default to a color that contrasts with the background color.
|
|
3080
|
+
*/
|
|
3081
|
+
textColor?: BackgroundStyle;
|
|
3000
3082
|
/**
|
|
3001
3083
|
* The horizontal alignment of the text.
|
|
3002
3084
|
* @defaultValue center
|
|
@@ -3139,6 +3221,11 @@ interface EventSectionProps {
|
|
|
3139
3221
|
* @defaultValue Background Color 3
|
|
3140
3222
|
*/
|
|
3141
3223
|
backgroundColor?: BackgroundStyle;
|
|
3224
|
+
/**
|
|
3225
|
+
* Whether to show the section heading.
|
|
3226
|
+
* @defaultValue true
|
|
3227
|
+
*/
|
|
3228
|
+
showSectionHeading: boolean;
|
|
3142
3229
|
};
|
|
3143
3230
|
/** @internal */
|
|
3144
3231
|
slots: {
|
|
@@ -3163,47 +3250,6 @@ declare const EventSection: ComponentConfig<{
|
|
|
3163
3250
|
props: EventSectionProps;
|
|
3164
3251
|
}>;
|
|
3165
3252
|
|
|
3166
|
-
interface FAQStyles {
|
|
3167
|
-
/**
|
|
3168
|
-
* The background color of the section.
|
|
3169
|
-
* @defaultValue Background Color 3
|
|
3170
|
-
*/
|
|
3171
|
-
backgroundColor?: BackgroundStyle;
|
|
3172
|
-
}
|
|
3173
|
-
interface FAQSectionProps {
|
|
3174
|
-
data: Omit<YextEntityField<FAQSectionType>, "constantValue"> & {
|
|
3175
|
-
constantValue: {
|
|
3176
|
-
id?: string;
|
|
3177
|
-
}[];
|
|
3178
|
-
};
|
|
3179
|
-
/**
|
|
3180
|
-
* This object contains properties for customizing the component's appearance.
|
|
3181
|
-
* @propCategory Style Props
|
|
3182
|
-
*/
|
|
3183
|
-
styles: FAQStyles;
|
|
3184
|
-
slots: {
|
|
3185
|
-
HeadingSlot: Slot;
|
|
3186
|
-
CardSlot: Slot;
|
|
3187
|
-
};
|
|
3188
|
-
/** @internal */
|
|
3189
|
-
analytics: {
|
|
3190
|
-
scope?: string;
|
|
3191
|
-
};
|
|
3192
|
-
/**
|
|
3193
|
-
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3194
|
-
* @defaultValue true
|
|
3195
|
-
*/
|
|
3196
|
-
liveVisibility: boolean;
|
|
3197
|
-
}
|
|
3198
|
-
/**
|
|
3199
|
-
* The FAQ Section component displays a list of questions and answers in an organized format.
|
|
3200
|
-
* It includes a main heading for the section and typically renders the FAQs as an accordion,
|
|
3201
|
-
* where users can click on a question to reveal the answer.
|
|
3202
|
-
*/
|
|
3203
|
-
declare const FAQSection: ComponentConfig<{
|
|
3204
|
-
props: FAQSectionProps;
|
|
3205
|
-
}>;
|
|
3206
|
-
|
|
3207
3253
|
interface HeroData {
|
|
3208
3254
|
backgroundImage: YextEntityField<ImageType | AssetImageType | TranslatableAssetImage>;
|
|
3209
3255
|
}
|
|
@@ -3219,20 +3265,10 @@ interface HeroStyles {
|
|
|
3219
3265
|
* @defaultValue Background Color 1
|
|
3220
3266
|
*/
|
|
3221
3267
|
backgroundColor?: BackgroundStyle;
|
|
3222
|
-
/**
|
|
3223
|
-
* If 'true', displays the entity's average review rating.
|
|
3224
|
-
* @defaultValue true
|
|
3225
|
-
*/
|
|
3226
|
-
showAverageReview: boolean;
|
|
3227
|
-
/**
|
|
3228
|
-
* Whether to show the hero image (classic and compact variant).
|
|
3229
|
-
* @defaultValue true
|
|
3230
|
-
*/
|
|
3231
|
-
showImage: boolean;
|
|
3232
3268
|
/**
|
|
3233
3269
|
* Image Height for the hero image with Immersive or Spotlight variant
|
|
3234
3270
|
* Minimum height: content height + Page Section Top/Bottom Padding
|
|
3235
|
-
* @
|
|
3271
|
+
* @defaultValue 500px
|
|
3236
3272
|
*/
|
|
3237
3273
|
imageHeight?: number;
|
|
3238
3274
|
/**
|
|
@@ -3255,6 +3291,41 @@ interface HeroStyles {
|
|
|
3255
3291
|
* @defaultValue top
|
|
3256
3292
|
*/
|
|
3257
3293
|
mobileImagePosition: "bottom" | "top";
|
|
3294
|
+
/**
|
|
3295
|
+
* Whether to show the business name.
|
|
3296
|
+
* @defaultValue true
|
|
3297
|
+
*/
|
|
3298
|
+
showBusinessName: boolean;
|
|
3299
|
+
/**
|
|
3300
|
+
* Whether to show the geomodifier.
|
|
3301
|
+
* @defaultValue true
|
|
3302
|
+
*/
|
|
3303
|
+
showGeomodifier: boolean;
|
|
3304
|
+
/**
|
|
3305
|
+
* Whether to show the hours status.
|
|
3306
|
+
* @defaultValue true
|
|
3307
|
+
*/
|
|
3308
|
+
showHoursStatus: boolean;
|
|
3309
|
+
/**
|
|
3310
|
+
* If 'true', displays the entity's average review rating.
|
|
3311
|
+
* @defaultValue true
|
|
3312
|
+
*/
|
|
3313
|
+
showAverageReview: boolean;
|
|
3314
|
+
/**
|
|
3315
|
+
* Whether to show the primary CTA.
|
|
3316
|
+
* @defaultValue true
|
|
3317
|
+
*/
|
|
3318
|
+
showPrimaryCTA: boolean;
|
|
3319
|
+
/**
|
|
3320
|
+
* Whether to show the secondary CTA.
|
|
3321
|
+
* @defaultValue true
|
|
3322
|
+
*/
|
|
3323
|
+
showSecondaryCTA: boolean;
|
|
3324
|
+
/**
|
|
3325
|
+
* Whether to show the hero image (classic and compact variant).
|
|
3326
|
+
* @defaultValue true
|
|
3327
|
+
*/
|
|
3328
|
+
showImage: boolean;
|
|
3258
3329
|
}
|
|
3259
3330
|
interface HeroSectionProps {
|
|
3260
3331
|
/**
|
|
@@ -3304,6 +3375,11 @@ interface InsightSectionProps {
|
|
|
3304
3375
|
* @defaultValue Background Color 2
|
|
3305
3376
|
*/
|
|
3306
3377
|
backgroundColor?: BackgroundStyle;
|
|
3378
|
+
/**
|
|
3379
|
+
* Whether to show the section heading.
|
|
3380
|
+
* @defaultValue true
|
|
3381
|
+
*/
|
|
3382
|
+
showSectionHeading: boolean;
|
|
3307
3383
|
};
|
|
3308
3384
|
slots: {
|
|
3309
3385
|
SectionHeadingSlot: Slot;
|
|
@@ -3327,51 +3403,6 @@ declare const InsightSection: ComponentConfig<{
|
|
|
3327
3403
|
props: InsightSectionProps;
|
|
3328
3404
|
}>;
|
|
3329
3405
|
|
|
3330
|
-
interface CardWrapperType<T> {
|
|
3331
|
-
data: Omit<YextEntityField<T>, "constantValue"> & {
|
|
3332
|
-
constantValue: {
|
|
3333
|
-
id?: string;
|
|
3334
|
-
}[];
|
|
3335
|
-
};
|
|
3336
|
-
slots: {
|
|
3337
|
-
CardSlot: Slot;
|
|
3338
|
-
};
|
|
3339
|
-
}
|
|
3340
|
-
|
|
3341
|
-
type InsightCardsWrapperProps = CardWrapperType<InsightSectionType>;
|
|
3342
|
-
declare const InsightCardsWrapper: ComponentConfig<{
|
|
3343
|
-
props: InsightCardsWrapperProps;
|
|
3344
|
-
}>;
|
|
3345
|
-
|
|
3346
|
-
type InsightCardProps = {
|
|
3347
|
-
styles: {
|
|
3348
|
-
backgroundColor?: BackgroundStyle;
|
|
3349
|
-
};
|
|
3350
|
-
slots: {
|
|
3351
|
-
ImageSlot: Slot;
|
|
3352
|
-
TitleSlot: Slot;
|
|
3353
|
-
CategorySlot: Slot;
|
|
3354
|
-
DescriptionSlot: Slot;
|
|
3355
|
-
PublishTimeSlot: Slot;
|
|
3356
|
-
CTASlot: Slot;
|
|
3357
|
-
};
|
|
3358
|
-
/** @internal */
|
|
3359
|
-
parentData?: {
|
|
3360
|
-
field: string;
|
|
3361
|
-
insight: InsightStruct;
|
|
3362
|
-
};
|
|
3363
|
-
/** @internal */
|
|
3364
|
-
conditionalRender?: {
|
|
3365
|
-
hasCategory: boolean;
|
|
3366
|
-
hasPublishTime: boolean;
|
|
3367
|
-
};
|
|
3368
|
-
/** @internal */
|
|
3369
|
-
index?: number;
|
|
3370
|
-
};
|
|
3371
|
-
declare const InsightCard: ComponentConfig<{
|
|
3372
|
-
props: InsightCardProps;
|
|
3373
|
-
}>;
|
|
3374
|
-
|
|
3375
3406
|
interface NearbyLocationsSectionProps {
|
|
3376
3407
|
/**
|
|
3377
3408
|
* This object contains extensive properties for customizing the component's appearance.
|
|
@@ -3383,6 +3414,11 @@ interface NearbyLocationsSectionProps {
|
|
|
3383
3414
|
* @defaultValue Background Color 1
|
|
3384
3415
|
*/
|
|
3385
3416
|
backgroundColor?: BackgroundStyle;
|
|
3417
|
+
/**
|
|
3418
|
+
* Whether to show the section heading.
|
|
3419
|
+
* @defaultValue true
|
|
3420
|
+
*/
|
|
3421
|
+
showSectionHeading: boolean;
|
|
3386
3422
|
};
|
|
3387
3423
|
/** @internal */
|
|
3388
3424
|
analytics: {
|
|
@@ -3407,63 +3443,36 @@ declare const NearbyLocationsSection: ComponentConfig<{
|
|
|
3407
3443
|
props: NearbyLocationsSectionProps;
|
|
3408
3444
|
}>;
|
|
3409
3445
|
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
* This object contains properties for customizing the component's appearance.
|
|
3413
|
-
* @propCategory Style Props
|
|
3414
|
-
*/
|
|
3415
|
-
styles: {
|
|
3416
|
-
/**
|
|
3417
|
-
* The background color of the section.
|
|
3418
|
-
* @defaultValue Background Color 3
|
|
3419
|
-
*/
|
|
3420
|
-
backgroundColor?: BackgroundStyle;
|
|
3421
|
-
};
|
|
3422
|
-
/** @internal */
|
|
3423
|
-
slots: {
|
|
3424
|
-
SectionHeadingSlot: Slot;
|
|
3425
|
-
CardsWrapperSlot: Slot;
|
|
3426
|
-
};
|
|
3427
|
-
/** @internal */
|
|
3428
|
-
analytics: {
|
|
3429
|
-
scope?: string;
|
|
3430
|
-
};
|
|
3431
|
-
/**
|
|
3432
|
-
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3433
|
-
* @defaultValue true
|
|
3434
|
-
*/
|
|
3435
|
-
liveVisibility: boolean;
|
|
3436
|
-
}
|
|
3437
|
-
/**
|
|
3438
|
-
* The Team Section is designed to showcase a list of people, such as employees, executives, or other team members. It features a main section heading and renders each person's information—typically a photo, name, and title—as an individual card.
|
|
3439
|
-
* Available on Location templates.
|
|
3440
|
-
*/
|
|
3441
|
-
declare const TeamSection: ComponentConfig<{
|
|
3442
|
-
props: TeamSectionProps;
|
|
3443
|
-
}>;
|
|
3444
|
-
|
|
3445
|
-
interface PhotoGalleryStyles {
|
|
3446
|
-
/**
|
|
3447
|
-
* The background color for the entire section, selected from the theme.
|
|
3448
|
-
* @defaultValue Background Color 1
|
|
3449
|
-
*/
|
|
3450
|
-
backgroundColor?: BackgroundStyle;
|
|
3451
|
-
/**
|
|
3452
|
-
* The layout style for displaying images in the gallery.
|
|
3453
|
-
* @defaultValue "gallery"
|
|
3454
|
-
*/
|
|
3455
|
-
variant: "gallery" | "carousel";
|
|
3456
|
-
}
|
|
3457
|
-
interface PhotoGallerySectionProps {
|
|
3446
|
+
type ProductSectionVariant = "immersive" | "classic" | "minimal";
|
|
3447
|
+
interface ProductSectionProps {
|
|
3458
3448
|
/**
|
|
3459
3449
|
* This object contains properties for customizing the component's appearance.
|
|
3460
3450
|
* @propCategory Style Props
|
|
3461
3451
|
*/
|
|
3462
|
-
styles:
|
|
3463
|
-
|
|
3452
|
+
styles: {
|
|
3453
|
+
/**
|
|
3454
|
+
* The background color for the entire section.
|
|
3455
|
+
* @defaultValue Background Color 2
|
|
3456
|
+
*/
|
|
3457
|
+
backgroundColor?: BackgroundStyle;
|
|
3458
|
+
/**
|
|
3459
|
+
* The variant of the product cards.
|
|
3460
|
+
* @defaultValue Immersive
|
|
3461
|
+
*/
|
|
3462
|
+
cardVariant?: ProductSectionVariant;
|
|
3463
|
+
/**
|
|
3464
|
+
* Whether to show the section heading.
|
|
3465
|
+
* @defaultValue true
|
|
3466
|
+
*/
|
|
3467
|
+
showSectionHeading: boolean;
|
|
3468
|
+
};
|
|
3464
3469
|
slots: {
|
|
3465
|
-
|
|
3466
|
-
|
|
3470
|
+
SectionHeadingSlot: Slot;
|
|
3471
|
+
CardsWrapperSlot: Slot;
|
|
3472
|
+
};
|
|
3473
|
+
/** @internal */
|
|
3474
|
+
analytics: {
|
|
3475
|
+
scope?: string;
|
|
3467
3476
|
};
|
|
3468
3477
|
/**
|
|
3469
3478
|
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
@@ -3472,11 +3481,11 @@ interface PhotoGallerySectionProps {
|
|
|
3472
3481
|
liveVisibility: boolean;
|
|
3473
3482
|
}
|
|
3474
3483
|
/**
|
|
3475
|
-
* The
|
|
3484
|
+
* The Product Section is used to display a curated list of products in a dedicated section. It features a main heading and renders each product as an individual card, making it ideal for showcasing featured items, new arrivals, or bestsellers.
|
|
3476
3485
|
* Available on Location templates.
|
|
3477
3486
|
*/
|
|
3478
|
-
declare const
|
|
3479
|
-
props:
|
|
3487
|
+
declare const ProductSection: ComponentConfig<{
|
|
3488
|
+
props: ProductSectionProps;
|
|
3480
3489
|
}>;
|
|
3481
3490
|
|
|
3482
3491
|
interface PromoData {
|
|
@@ -3525,9 +3534,29 @@ interface PromoStyles {
|
|
|
3525
3534
|
/**
|
|
3526
3535
|
* Image Height for the promo image with Immersive or Spotlight variant
|
|
3527
3536
|
* Minimum height: content height + Page Section Top/Bottom Padding
|
|
3528
|
-
* @
|
|
3537
|
+
* @defaultValue 500px
|
|
3529
3538
|
*/
|
|
3530
3539
|
imageHeight: number;
|
|
3540
|
+
/**
|
|
3541
|
+
* Whether to show the media content, either image or video.
|
|
3542
|
+
* @defaultValue true
|
|
3543
|
+
*/
|
|
3544
|
+
showMedia: boolean;
|
|
3545
|
+
/**
|
|
3546
|
+
* Whether to show the heading text.
|
|
3547
|
+
* @defaultValue true
|
|
3548
|
+
*/
|
|
3549
|
+
showHeading: boolean;
|
|
3550
|
+
/**
|
|
3551
|
+
* Whether to show the description text.
|
|
3552
|
+
* @defaultValue true
|
|
3553
|
+
*/
|
|
3554
|
+
showDescription: boolean;
|
|
3555
|
+
/**
|
|
3556
|
+
* Whether to show the CTA.
|
|
3557
|
+
* @defaultValue true
|
|
3558
|
+
*/
|
|
3559
|
+
showCTA: boolean;
|
|
3531
3560
|
}
|
|
3532
3561
|
interface PromoSectionProps {
|
|
3533
3562
|
/**
|
|
@@ -3566,60 +3595,156 @@ declare const PromoSection: ComponentConfig<{
|
|
|
3566
3595
|
props: PromoSectionProps;
|
|
3567
3596
|
}>;
|
|
3568
3597
|
|
|
3569
|
-
|
|
3598
|
+
interface PhotoGalleryStyles {
|
|
3599
|
+
/**
|
|
3600
|
+
* The background color for the entire section, selected from the theme.
|
|
3601
|
+
* @defaultValue Background Color 1
|
|
3602
|
+
*/
|
|
3603
|
+
backgroundColor?: BackgroundStyle;
|
|
3604
|
+
/**
|
|
3605
|
+
* The layout style for displaying images in the gallery.
|
|
3606
|
+
* @defaultValue "gallery"
|
|
3607
|
+
*/
|
|
3608
|
+
variant: "gallery" | "carousel";
|
|
3609
|
+
/**
|
|
3610
|
+
* Whether to show the section heading
|
|
3611
|
+
* @defaultValue true
|
|
3612
|
+
*/
|
|
3613
|
+
showSectionHeading: boolean;
|
|
3614
|
+
}
|
|
3615
|
+
interface PhotoGallerySectionProps {
|
|
3616
|
+
/**
|
|
3617
|
+
* This object contains properties for customizing the component's appearance.
|
|
3618
|
+
* @propCategory Style Props
|
|
3619
|
+
*/
|
|
3620
|
+
styles: PhotoGalleryStyles;
|
|
3621
|
+
/** @internal */
|
|
3622
|
+
slots: {
|
|
3623
|
+
HeadingSlot: Slot;
|
|
3624
|
+
PhotoGalleryWrapper: Slot;
|
|
3625
|
+
};
|
|
3626
|
+
/**
|
|
3627
|
+
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3628
|
+
* @defaultValue true
|
|
3629
|
+
*/
|
|
3630
|
+
liveVisibility: boolean;
|
|
3631
|
+
}
|
|
3632
|
+
/**
|
|
3633
|
+
* The Photo Gallery Section is designed to display a collection of images in a visually appealing format. It consists of a main heading for the section and a flexible grid of images, with options for styling the image presentation.
|
|
3634
|
+
* Available on Location templates.
|
|
3635
|
+
*/
|
|
3636
|
+
declare const PhotoGallerySection: ComponentConfig<{
|
|
3637
|
+
props: PhotoGallerySectionProps;
|
|
3638
|
+
}>;
|
|
3570
3639
|
|
|
3571
|
-
interface
|
|
3640
|
+
interface FAQStyles {
|
|
3641
|
+
/**
|
|
3642
|
+
* The background color of the section.
|
|
3643
|
+
* @defaultValue Background Color 3
|
|
3644
|
+
*/
|
|
3645
|
+
backgroundColor?: BackgroundStyle;
|
|
3646
|
+
/**
|
|
3647
|
+
* Whether to show the section heading.
|
|
3648
|
+
* @defaultValue true
|
|
3649
|
+
*/
|
|
3650
|
+
showSectionHeading: boolean;
|
|
3651
|
+
}
|
|
3652
|
+
interface FAQSectionProps {
|
|
3653
|
+
data: Omit<YextEntityField<FAQSectionType>, "constantValue"> & {
|
|
3654
|
+
constantValue: {
|
|
3655
|
+
id?: string;
|
|
3656
|
+
}[];
|
|
3657
|
+
};
|
|
3658
|
+
/**
|
|
3659
|
+
* This object contains properties for customizing the component's appearance.
|
|
3660
|
+
* @propCategory Style Props
|
|
3661
|
+
*/
|
|
3662
|
+
styles: FAQStyles;
|
|
3663
|
+
slots: {
|
|
3664
|
+
HeadingSlot: Slot;
|
|
3665
|
+
CardSlot: Slot;
|
|
3666
|
+
};
|
|
3667
|
+
/** @internal */
|
|
3668
|
+
analytics: {
|
|
3669
|
+
scope?: string;
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3673
|
+
* @defaultValue true
|
|
3674
|
+
*/
|
|
3675
|
+
liveVisibility: boolean;
|
|
3676
|
+
}
|
|
3677
|
+
/**
|
|
3678
|
+
* The FAQ Section component displays a list of questions and answers in an organized format.
|
|
3679
|
+
* It includes a main heading for the section and typically renders the FAQs as an accordion,
|
|
3680
|
+
* where users can click on a question to reveal the answer.
|
|
3681
|
+
*/
|
|
3682
|
+
declare const FAQSection: ComponentConfig<{
|
|
3683
|
+
props: FAQSectionProps;
|
|
3684
|
+
}>;
|
|
3685
|
+
|
|
3686
|
+
interface ReviewsSectionProps {
|
|
3572
3687
|
/**
|
|
3573
3688
|
* This object contains properties for customizing the component's appearance.
|
|
3574
3689
|
* @propCategory Style Props
|
|
3575
3690
|
*/
|
|
3576
3691
|
styles: {
|
|
3577
3692
|
/**
|
|
3578
|
-
* The background color
|
|
3579
|
-
* @defaultValue Background Color
|
|
3693
|
+
* The background color of the section.
|
|
3694
|
+
* @defaultValue Background Color 1
|
|
3580
3695
|
*/
|
|
3581
3696
|
backgroundColor?: BackgroundStyle;
|
|
3582
3697
|
/**
|
|
3583
|
-
*
|
|
3584
|
-
* @defaultValue Immersive
|
|
3585
|
-
*/
|
|
3586
|
-
cardVariant?: ProductSectionVariant;
|
|
3587
|
-
/**
|
|
3588
|
-
* Whether to show the product image.
|
|
3589
|
-
* @defaultValue true
|
|
3590
|
-
*/
|
|
3591
|
-
showImage?: boolean;
|
|
3592
|
-
/**
|
|
3593
|
-
* Whether to show the product brow text.
|
|
3594
|
-
* @defaultValue true
|
|
3595
|
-
*/
|
|
3596
|
-
showBrow?: boolean;
|
|
3597
|
-
/**
|
|
3598
|
-
* Whether to show the product title.
|
|
3599
|
-
* @defaultValue true
|
|
3600
|
-
*/
|
|
3601
|
-
showTitle?: boolean;
|
|
3602
|
-
/**
|
|
3603
|
-
* Whether to show the product price.
|
|
3698
|
+
* Whether to show the section heading.
|
|
3604
3699
|
* @defaultValue true
|
|
3605
3700
|
*/
|
|
3606
|
-
|
|
3701
|
+
showSectionHeading: boolean;
|
|
3702
|
+
};
|
|
3703
|
+
/** @internal */
|
|
3704
|
+
slots: {
|
|
3705
|
+
SectionHeadingSlot: Slot;
|
|
3706
|
+
};
|
|
3707
|
+
/** @internal */
|
|
3708
|
+
analytics: {
|
|
3709
|
+
scope?: string;
|
|
3710
|
+
};
|
|
3711
|
+
/**
|
|
3712
|
+
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3713
|
+
* @defaultValue true
|
|
3714
|
+
*/
|
|
3715
|
+
liveVisibility: boolean;
|
|
3716
|
+
}
|
|
3717
|
+
/**
|
|
3718
|
+
* The Reviews Section displays customer reviews fetched dynamically from the Yext Reviews API. It features a customizable section heading and shows review details including ratings, content, and timestamps.
|
|
3719
|
+
* Available on Location templates.
|
|
3720
|
+
*/
|
|
3721
|
+
declare const ReviewsSection: ComponentConfig<{
|
|
3722
|
+
props: ReviewsSectionProps;
|
|
3723
|
+
}>;
|
|
3724
|
+
|
|
3725
|
+
interface TestimonialSectionProps {
|
|
3726
|
+
/**
|
|
3727
|
+
* This object contains properties for customizing the component's appearance.
|
|
3728
|
+
* @propCategory Style Props
|
|
3729
|
+
*/
|
|
3730
|
+
styles: {
|
|
3607
3731
|
/**
|
|
3608
|
-
*
|
|
3609
|
-
* @defaultValue
|
|
3732
|
+
* The background color of the section.
|
|
3733
|
+
* @defaultValue Background Color 2
|
|
3610
3734
|
*/
|
|
3611
|
-
|
|
3735
|
+
backgroundColor?: BackgroundStyle;
|
|
3612
3736
|
/**
|
|
3613
|
-
* Whether to show the
|
|
3737
|
+
* Whether to show the section heading.
|
|
3614
3738
|
* @defaultValue true
|
|
3615
3739
|
*/
|
|
3616
|
-
|
|
3740
|
+
showSectionHeading: boolean;
|
|
3617
3741
|
};
|
|
3742
|
+
/** @internal */
|
|
3618
3743
|
slots: {
|
|
3619
3744
|
SectionHeadingSlot: Slot;
|
|
3620
3745
|
CardsWrapperSlot: Slot;
|
|
3621
3746
|
};
|
|
3622
|
-
/** @internal
|
|
3747
|
+
/** @internal */
|
|
3623
3748
|
analytics: {
|
|
3624
3749
|
scope?: string;
|
|
3625
3750
|
};
|
|
@@ -3630,14 +3755,14 @@ interface ProductSectionProps {
|
|
|
3630
3755
|
liveVisibility: boolean;
|
|
3631
3756
|
}
|
|
3632
3757
|
/**
|
|
3633
|
-
* The
|
|
3758
|
+
* The Testimonial Section is used to display a list of customer testimonials or reviews. It features a main section heading and renders each testimonial as an individual card, providing social proof and building trust with visitors.
|
|
3634
3759
|
* Available on Location templates.
|
|
3635
3760
|
*/
|
|
3636
|
-
declare const
|
|
3637
|
-
props:
|
|
3761
|
+
declare const TestimonialSection: ComponentConfig<{
|
|
3762
|
+
props: TestimonialSectionProps;
|
|
3638
3763
|
}>;
|
|
3639
3764
|
|
|
3640
|
-
interface
|
|
3765
|
+
interface TeamSectionProps {
|
|
3641
3766
|
/**
|
|
3642
3767
|
* This object contains properties for customizing the component's appearance.
|
|
3643
3768
|
* @propCategory Style Props
|
|
@@ -3645,13 +3770,19 @@ interface ReviewsSectionProps {
|
|
|
3645
3770
|
styles: {
|
|
3646
3771
|
/**
|
|
3647
3772
|
* The background color of the section.
|
|
3648
|
-
* @defaultValue Background Color
|
|
3773
|
+
* @defaultValue Background Color 3
|
|
3649
3774
|
*/
|
|
3650
3775
|
backgroundColor?: BackgroundStyle;
|
|
3776
|
+
/**
|
|
3777
|
+
* Whether to show the section heading.
|
|
3778
|
+
* @defaultValue true
|
|
3779
|
+
*/
|
|
3780
|
+
showSectionHeading: boolean;
|
|
3651
3781
|
};
|
|
3652
3782
|
/** @internal */
|
|
3653
3783
|
slots: {
|
|
3654
3784
|
SectionHeadingSlot: Slot;
|
|
3785
|
+
CardsWrapperSlot: Slot;
|
|
3655
3786
|
};
|
|
3656
3787
|
/** @internal */
|
|
3657
3788
|
analytics: {
|
|
@@ -3664,25 +3795,11 @@ interface ReviewsSectionProps {
|
|
|
3664
3795
|
liveVisibility: boolean;
|
|
3665
3796
|
}
|
|
3666
3797
|
/**
|
|
3667
|
-
* The
|
|
3798
|
+
* The Team Section is designed to showcase a list of people, such as employees, executives, or other team members. It features a main section heading and renders each person's information—typically a photo, name, and title—as an individual card.
|
|
3668
3799
|
* Available on Location templates.
|
|
3669
3800
|
*/
|
|
3670
|
-
declare const
|
|
3671
|
-
props:
|
|
3672
|
-
}>;
|
|
3673
|
-
|
|
3674
|
-
type SectionContainerProps = {
|
|
3675
|
-
background?: BackgroundStyle;
|
|
3676
|
-
sectionHeading: {
|
|
3677
|
-
text: YextEntityField<TranslatableString>;
|
|
3678
|
-
level: HeadingProps["level"];
|
|
3679
|
-
alignment: "left" | "right" | "center";
|
|
3680
|
-
};
|
|
3681
|
-
liveVisibility: boolean;
|
|
3682
|
-
sectionContent: Slot;
|
|
3683
|
-
};
|
|
3684
|
-
declare const SectionContainer: ComponentConfig<{
|
|
3685
|
-
props: SectionContainerProps;
|
|
3801
|
+
declare const TeamSection: ComponentConfig<{
|
|
3802
|
+
props: TeamSectionProps;
|
|
3686
3803
|
}>;
|
|
3687
3804
|
|
|
3688
3805
|
interface StaticMapData {
|
|
@@ -3725,43 +3842,8 @@ interface StaticMapSectionProps {
|
|
|
3725
3842
|
* The Static Map Section displays a non-interactive map image of a business's location. It uses the entity's address or coordinates to generate the map and requires a valid API key from mapbox.
|
|
3726
3843
|
* Available on Location templates.
|
|
3727
3844
|
*/
|
|
3728
|
-
declare const StaticMapSection: ComponentConfig<{
|
|
3729
|
-
props: StaticMapSectionProps;
|
|
3730
|
-
}>;
|
|
3731
|
-
|
|
3732
|
-
interface TestimonialSectionProps {
|
|
3733
|
-
/**
|
|
3734
|
-
* This object contains properties for customizing the component's appearance.
|
|
3735
|
-
* @propCategory Style Props
|
|
3736
|
-
*/
|
|
3737
|
-
styles: {
|
|
3738
|
-
/**
|
|
3739
|
-
* The background color of the section.
|
|
3740
|
-
* @defaultValue Background Color 2
|
|
3741
|
-
*/
|
|
3742
|
-
backgroundColor?: BackgroundStyle;
|
|
3743
|
-
};
|
|
3744
|
-
/** @internal */
|
|
3745
|
-
slots: {
|
|
3746
|
-
SectionHeadingSlot: Slot;
|
|
3747
|
-
CardsWrapperSlot: Slot;
|
|
3748
|
-
};
|
|
3749
|
-
/** @internal */
|
|
3750
|
-
analytics: {
|
|
3751
|
-
scope?: string;
|
|
3752
|
-
};
|
|
3753
|
-
/**
|
|
3754
|
-
* If 'true', the component is visible on the live page; if 'false', it's hidden.
|
|
3755
|
-
* @defaultValue true
|
|
3756
|
-
*/
|
|
3757
|
-
liveVisibility: boolean;
|
|
3758
|
-
}
|
|
3759
|
-
/**
|
|
3760
|
-
* The Testimonial Section is used to display a list of customer testimonials or reviews. It features a main section heading and renders each testimonial as an individual card, providing social proof and building trust with visitors.
|
|
3761
|
-
* Available on Location templates.
|
|
3762
|
-
*/
|
|
3763
|
-
declare const TestimonialSection: ComponentConfig<{
|
|
3764
|
-
props: TestimonialSectionProps;
|
|
3845
|
+
declare const StaticMapSection: ComponentConfig<{
|
|
3846
|
+
props: StaticMapSectionProps;
|
|
3765
3847
|
}>;
|
|
3766
3848
|
|
|
3767
3849
|
interface VideoSectionProps {
|
|
@@ -4702,6 +4784,49 @@ declare const PageSectionCategoryComponents: {
|
|
|
4702
4784
|
};
|
|
4703
4785
|
declare const PageSectionCategory: (keyof PageSectionCategoryProps)[];
|
|
4704
4786
|
|
|
4787
|
+
interface HeaderProps {
|
|
4788
|
+
/**
|
|
4789
|
+
* The display width of the site logo in pixels.
|
|
4790
|
+
* @defaultValue 80
|
|
4791
|
+
*/
|
|
4792
|
+
logoWidth?: number;
|
|
4793
|
+
/**
|
|
4794
|
+
* If 'true', displays the language selector dropdown in the header.
|
|
4795
|
+
* @defaultValue false
|
|
4796
|
+
*/
|
|
4797
|
+
enableLanguageSelector: boolean;
|
|
4798
|
+
/** @internal */
|
|
4799
|
+
analytics: {
|
|
4800
|
+
scope?: string;
|
|
4801
|
+
};
|
|
4802
|
+
}
|
|
4803
|
+
/**
|
|
4804
|
+
* The Header component appears at the top of pages. It serves as the primary navigation and branding element, containing the site logo and optionally a language selector. See [Expanded Header](#expanded-header) for the newest header component.
|
|
4805
|
+
* Available on Directory and Locator templates.
|
|
4806
|
+
*/
|
|
4807
|
+
declare const Header: ComponentConfig<{
|
|
4808
|
+
props: HeaderProps;
|
|
4809
|
+
}>;
|
|
4810
|
+
|
|
4811
|
+
interface FooterProps {
|
|
4812
|
+
/**
|
|
4813
|
+
* The background color for the entire footer section.
|
|
4814
|
+
* @defaultValue Background Color 1
|
|
4815
|
+
*/
|
|
4816
|
+
backgroundColor?: BackgroundStyle;
|
|
4817
|
+
/** @internal */
|
|
4818
|
+
analytics: {
|
|
4819
|
+
scope?: string;
|
|
4820
|
+
};
|
|
4821
|
+
}
|
|
4822
|
+
/**
|
|
4823
|
+
* The Footer appears at the bottom of the page. It serves as a container for secondary navigation, social media links, legal disclaimers, and copyright information. See [Expanded Footer](#expanded-footer) for the newest footer component.
|
|
4824
|
+
* Available on Directory and Locator templates.
|
|
4825
|
+
*/
|
|
4826
|
+
declare const Footer: ComponentConfig<{
|
|
4827
|
+
props: FooterProps;
|
|
4828
|
+
}>;
|
|
4829
|
+
|
|
4705
4830
|
interface DeprecatedCategoryProps {
|
|
4706
4831
|
Header: HeaderProps;
|
|
4707
4832
|
Footer: FooterProps;
|
|
@@ -4796,6 +4921,36 @@ declare const DeprecatedCategoryComponents: {
|
|
|
4796
4921
|
};
|
|
4797
4922
|
declare const DeprecatedCategory: (keyof DeprecatedCategoryProps)[];
|
|
4798
4923
|
|
|
4924
|
+
interface CardWrapperType<T> {
|
|
4925
|
+
data: Omit<YextEntityField<T>, "constantValue"> & {
|
|
4926
|
+
constantValue: {
|
|
4927
|
+
id?: string;
|
|
4928
|
+
}[];
|
|
4929
|
+
};
|
|
4930
|
+
slots: {
|
|
4931
|
+
CardSlot: Slot;
|
|
4932
|
+
};
|
|
4933
|
+
}
|
|
4934
|
+
|
|
4935
|
+
interface FooterSocialLinksSlotProps {
|
|
4936
|
+
data: {
|
|
4937
|
+
xLink: string;
|
|
4938
|
+
facebookLink: string;
|
|
4939
|
+
instagramLink: string;
|
|
4940
|
+
linkedInLink: string;
|
|
4941
|
+
pinterestLink: string;
|
|
4942
|
+
tiktokLink: string;
|
|
4943
|
+
youtubeLink: string;
|
|
4944
|
+
};
|
|
4945
|
+
styles?: {
|
|
4946
|
+
filledBackground?: boolean;
|
|
4947
|
+
mobileAlignment?: "left" | "center";
|
|
4948
|
+
};
|
|
4949
|
+
}
|
|
4950
|
+
declare const FooterSocialLinksSlot: ComponentConfig<{
|
|
4951
|
+
props: FooterSocialLinksSlotProps;
|
|
4952
|
+
}>;
|
|
4953
|
+
|
|
4799
4954
|
type AboutSectionDetailsColumnProps = {
|
|
4800
4955
|
sections: DetailSection[];
|
|
4801
4956
|
headingLevelOverride?: HeadingLevel | "span";
|
|
@@ -4852,7 +5007,17 @@ declare const PhoneList: ComponentConfig<{
|
|
|
4852
5007
|
props: PhoneListProps;
|
|
4853
5008
|
}>;
|
|
4854
5009
|
|
|
4855
|
-
type ProductCardsWrapperProps = CardWrapperType<ProductSectionType
|
|
5010
|
+
type ProductCardsWrapperProps = CardWrapperType<ProductSectionType> & {
|
|
5011
|
+
styles: {
|
|
5012
|
+
showImage: boolean;
|
|
5013
|
+
showBrow: boolean;
|
|
5014
|
+
showTitle: boolean;
|
|
5015
|
+
showPrice: boolean;
|
|
5016
|
+
showDescription: boolean;
|
|
5017
|
+
showCTA: boolean;
|
|
5018
|
+
variant?: ProductSectionVariant;
|
|
5019
|
+
};
|
|
5020
|
+
};
|
|
4856
5021
|
|
|
4857
5022
|
type ProductCardProps = {
|
|
4858
5023
|
styles: {
|
|
@@ -4876,6 +5041,16 @@ type ProductCardProps = {
|
|
|
4876
5041
|
product: ProductStruct;
|
|
4877
5042
|
};
|
|
4878
5043
|
/** @internal */
|
|
5044
|
+
parentStyles?: {
|
|
5045
|
+
variant: ProductSectionVariant;
|
|
5046
|
+
showImage: boolean;
|
|
5047
|
+
showBrow: boolean;
|
|
5048
|
+
showTitle: boolean;
|
|
5049
|
+
showPrice: boolean;
|
|
5050
|
+
showDescription: boolean;
|
|
5051
|
+
showCTA: boolean;
|
|
5052
|
+
};
|
|
5053
|
+
/** @internal */
|
|
4879
5054
|
conditionalRender?: {
|
|
4880
5055
|
price?: boolean;
|
|
4881
5056
|
brow?: boolean;
|
|
@@ -4891,7 +5066,14 @@ type ProductCardProps = {
|
|
|
4891
5066
|
index?: number;
|
|
4892
5067
|
};
|
|
4893
5068
|
|
|
4894
|
-
type EventCardsWrapperProps = CardWrapperType<EventSectionType
|
|
5069
|
+
type EventCardsWrapperProps = CardWrapperType<EventSectionType> & {
|
|
5070
|
+
styles: {
|
|
5071
|
+
showImage: boolean;
|
|
5072
|
+
showDateTime: boolean;
|
|
5073
|
+
showDescription: boolean;
|
|
5074
|
+
showCTA: boolean;
|
|
5075
|
+
};
|
|
5076
|
+
};
|
|
4895
5077
|
|
|
4896
5078
|
type EventCardProps = {
|
|
4897
5079
|
/** Styling for all the cards. */
|
|
@@ -4909,12 +5091,19 @@ type EventCardProps = {
|
|
|
4909
5091
|
DescriptionSlot: Slot;
|
|
4910
5092
|
CTASlot: Slot;
|
|
4911
5093
|
};
|
|
4912
|
-
/** @internal */
|
|
5094
|
+
/** @internal data from parent component */
|
|
4913
5095
|
parentData?: {
|
|
4914
5096
|
field: string;
|
|
4915
5097
|
event: EventStruct;
|
|
4916
5098
|
};
|
|
4917
|
-
/** @internal */
|
|
5099
|
+
/** @internal styles from parent component */
|
|
5100
|
+
parentStyles?: {
|
|
5101
|
+
showImage: boolean;
|
|
5102
|
+
showDateTime: boolean;
|
|
5103
|
+
showDescription: boolean;
|
|
5104
|
+
showCTA: boolean;
|
|
5105
|
+
};
|
|
5106
|
+
/** @internal*/
|
|
4918
5107
|
conditionalRender?: {
|
|
4919
5108
|
image?: boolean;
|
|
4920
5109
|
title: boolean;
|
|
@@ -4977,6 +5166,22 @@ type NearbyLocationCardsWrapperProps = {
|
|
|
4977
5166
|
backgroundColor?: BackgroundStyle;
|
|
4978
5167
|
/** The heading level for the card title. */
|
|
4979
5168
|
headingLevel?: HeadingLevel;
|
|
5169
|
+
/**
|
|
5170
|
+
* The color applied to the card title
|
|
5171
|
+
* @defaultValue inherited from theme
|
|
5172
|
+
*/
|
|
5173
|
+
color?: BackgroundStyle;
|
|
5174
|
+
/** Styling for the hours display on each card. */
|
|
5175
|
+
hours: {
|
|
5176
|
+
/** Whether to display the current status ("Open Now" or "Closed") */
|
|
5177
|
+
showCurrentStatus: boolean;
|
|
5178
|
+
timeFormat?: "12h" | "24h";
|
|
5179
|
+
/** How to format the days of the week (short:Mon, long:Monday) */
|
|
5180
|
+
dayOfWeekFormat?: "short" | "long";
|
|
5181
|
+
/** Whether to include the day of the week */
|
|
5182
|
+
showDayNames?: boolean;
|
|
5183
|
+
};
|
|
5184
|
+
/** Styling for the phone display on each card. */
|
|
4980
5185
|
phone: {
|
|
4981
5186
|
/**
|
|
4982
5187
|
* The display format for phone numbers on the cards.
|
|
@@ -4989,21 +5194,79 @@ type NearbyLocationCardsWrapperProps = {
|
|
|
4989
5194
|
*/
|
|
4990
5195
|
phoneNumberLink: boolean;
|
|
4991
5196
|
};
|
|
4992
|
-
/**
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5197
|
+
/**
|
|
5198
|
+
* Whether to show the location's hours on the card.
|
|
5199
|
+
* @defaultValue true
|
|
5200
|
+
*/
|
|
5201
|
+
showHours: boolean;
|
|
5202
|
+
/**
|
|
5203
|
+
* Whether to show the location's phone on the card.
|
|
5204
|
+
* @defaultValue true
|
|
5205
|
+
*/
|
|
5206
|
+
showPhone: boolean;
|
|
5207
|
+
/**
|
|
5208
|
+
* Whether to show the location's address on the card.
|
|
5209
|
+
* @defaultValue true
|
|
5210
|
+
*/
|
|
5211
|
+
showAddress: boolean;
|
|
5002
5212
|
};
|
|
5003
5213
|
/** @internal */
|
|
5004
5214
|
sectionHeadingLevel?: HeadingLevel;
|
|
5005
5215
|
};
|
|
5006
5216
|
|
|
5217
|
+
type InsightCardsWrapperProps = CardWrapperType<InsightSectionType> & {
|
|
5218
|
+
styles: {
|
|
5219
|
+
showImage: boolean;
|
|
5220
|
+
showCategory: boolean;
|
|
5221
|
+
showPublishTime: boolean;
|
|
5222
|
+
showDescription: boolean;
|
|
5223
|
+
showCTA: boolean;
|
|
5224
|
+
};
|
|
5225
|
+
};
|
|
5226
|
+
declare const InsightCardsWrapper: ComponentConfig<{
|
|
5227
|
+
props: InsightCardsWrapperProps;
|
|
5228
|
+
}>;
|
|
5229
|
+
|
|
5230
|
+
type InsightCardProps = {
|
|
5231
|
+
/** Styling for all the cards. */
|
|
5232
|
+
styles: {
|
|
5233
|
+
/** The background color of each insight card */
|
|
5234
|
+
backgroundColor?: BackgroundStyle;
|
|
5235
|
+
};
|
|
5236
|
+
/** @internal */
|
|
5237
|
+
slots: {
|
|
5238
|
+
ImageSlot: Slot;
|
|
5239
|
+
TitleSlot: Slot;
|
|
5240
|
+
CategorySlot: Slot;
|
|
5241
|
+
DescriptionSlot: Slot;
|
|
5242
|
+
PublishTimeSlot: Slot;
|
|
5243
|
+
CTASlot: Slot;
|
|
5244
|
+
};
|
|
5245
|
+
/** @internal */
|
|
5246
|
+
parentData?: {
|
|
5247
|
+
field: string;
|
|
5248
|
+
insight: InsightStruct;
|
|
5249
|
+
};
|
|
5250
|
+
/** @internal styles from parent component */
|
|
5251
|
+
parentStyles?: {
|
|
5252
|
+
showImage: boolean;
|
|
5253
|
+
showCategory: boolean;
|
|
5254
|
+
showPublishTime: boolean;
|
|
5255
|
+
showDescription: boolean;
|
|
5256
|
+
showCTA: boolean;
|
|
5257
|
+
};
|
|
5258
|
+
/** @internal */
|
|
5259
|
+
conditionalRender?: {
|
|
5260
|
+
hasCategory: boolean;
|
|
5261
|
+
hasPublishTime: boolean;
|
|
5262
|
+
};
|
|
5263
|
+
/** @internal */
|
|
5264
|
+
index?: number;
|
|
5265
|
+
};
|
|
5266
|
+
declare const InsightCard: ComponentConfig<{
|
|
5267
|
+
props: InsightCardProps;
|
|
5268
|
+
}>;
|
|
5269
|
+
|
|
5007
5270
|
interface PhotoGalleryWrapperProps {
|
|
5008
5271
|
data: {
|
|
5009
5272
|
/**
|
|
@@ -5032,13 +5295,14 @@ interface PhotoGalleryWrapperProps {
|
|
|
5032
5295
|
|
|
5033
5296
|
type FAQCardProps = {
|
|
5034
5297
|
data: {
|
|
5035
|
-
question: YextEntityField<TranslatableRichText>;
|
|
5298
|
+
question: YextEntityField<TranslatableString | TranslatableRichText>;
|
|
5036
5299
|
answer: YextEntityField<TranslatableRichText>;
|
|
5037
5300
|
};
|
|
5038
5301
|
/** Styling for all the FAQ cards. */
|
|
5039
5302
|
styles: {
|
|
5040
5303
|
questionVariant: BodyProps["variant"];
|
|
5041
5304
|
answerVariant: BodyProps["variant"];
|
|
5305
|
+
answerColor?: BackgroundStyle;
|
|
5042
5306
|
};
|
|
5043
5307
|
/** @internal */
|
|
5044
5308
|
slots: {};
|
|
@@ -5051,7 +5315,15 @@ type FAQCardProps = {
|
|
|
5051
5315
|
index?: number;
|
|
5052
5316
|
};
|
|
5053
5317
|
|
|
5054
|
-
type TeamCardsWrapperProps = CardWrapperType<TeamSectionType
|
|
5318
|
+
type TeamCardsWrapperProps = CardWrapperType<TeamSectionType> & {
|
|
5319
|
+
styles: {
|
|
5320
|
+
showImage: boolean;
|
|
5321
|
+
showTitle: boolean;
|
|
5322
|
+
showPhone: boolean;
|
|
5323
|
+
showEmail: boolean;
|
|
5324
|
+
showCTA: boolean;
|
|
5325
|
+
};
|
|
5326
|
+
};
|
|
5055
5327
|
|
|
5056
5328
|
type TeamCardProps = {
|
|
5057
5329
|
/** Styling for all the cards. */
|
|
@@ -5074,6 +5346,14 @@ type TeamCardProps = {
|
|
|
5074
5346
|
person: PersonStruct;
|
|
5075
5347
|
};
|
|
5076
5348
|
/** @internal */
|
|
5349
|
+
parentStyles?: {
|
|
5350
|
+
showImage: boolean;
|
|
5351
|
+
showTitle: boolean;
|
|
5352
|
+
showPhone: boolean;
|
|
5353
|
+
showEmail: boolean;
|
|
5354
|
+
showCTA: boolean;
|
|
5355
|
+
};
|
|
5356
|
+
/** @internal */
|
|
5077
5357
|
conditionalRender?: {
|
|
5078
5358
|
image?: boolean;
|
|
5079
5359
|
name: boolean;
|
|
@@ -5084,36 +5364,167 @@ type TeamCardProps = {
|
|
|
5084
5364
|
};
|
|
5085
5365
|
/** @internal */
|
|
5086
5366
|
index?: number;
|
|
5087
|
-
};
|
|
5367
|
+
};
|
|
5368
|
+
|
|
5369
|
+
type TestimonialCardsWrapperProps = CardWrapperType<TestimonialSectionType> & {
|
|
5370
|
+
styles: {
|
|
5371
|
+
/**
|
|
5372
|
+
* Whether to show the name slot in the testimonial cards.
|
|
5373
|
+
* @defaultValue true
|
|
5374
|
+
*/
|
|
5375
|
+
showName: boolean;
|
|
5376
|
+
/**
|
|
5377
|
+
* Whether to show the date slot in the testimonial cards.
|
|
5378
|
+
* @defaultValue true
|
|
5379
|
+
*/
|
|
5380
|
+
showDate: boolean;
|
|
5381
|
+
};
|
|
5382
|
+
};
|
|
5383
|
+
|
|
5384
|
+
type TestimonialCardProps = {
|
|
5385
|
+
/** Styling for all the cards. */
|
|
5386
|
+
styles: {
|
|
5387
|
+
/** The background color of each testimonial card */
|
|
5388
|
+
backgroundColor?: BackgroundStyle;
|
|
5389
|
+
};
|
|
5390
|
+
/** @internal */
|
|
5391
|
+
slots: {
|
|
5392
|
+
DescriptionSlot: Slot;
|
|
5393
|
+
ContributorNameSlot: Slot;
|
|
5394
|
+
ContributionDateSlot: Slot;
|
|
5395
|
+
};
|
|
5396
|
+
/** @internal */
|
|
5397
|
+
parentData?: {
|
|
5398
|
+
field: string;
|
|
5399
|
+
testimonial: TestimonialStruct;
|
|
5400
|
+
};
|
|
5401
|
+
/** @internal */
|
|
5402
|
+
parentStyles?: {
|
|
5403
|
+
showName: boolean;
|
|
5404
|
+
showDate: boolean;
|
|
5405
|
+
};
|
|
5406
|
+
/** @internal */
|
|
5407
|
+
conditionalRender?: {
|
|
5408
|
+
description: boolean;
|
|
5409
|
+
contributorName: boolean;
|
|
5410
|
+
contributionDate: boolean;
|
|
5411
|
+
};
|
|
5412
|
+
/** @internal */
|
|
5413
|
+
index?: number;
|
|
5414
|
+
};
|
|
5415
|
+
|
|
5416
|
+
interface FooterLogoSlotProps {
|
|
5417
|
+
data: {
|
|
5418
|
+
image: YextEntityField<ImageType | ComplexImageType | AssetImageType | TranslatableAssetImage>;
|
|
5419
|
+
linkTarget?: string;
|
|
5420
|
+
};
|
|
5421
|
+
styles: {
|
|
5422
|
+
width?: number;
|
|
5423
|
+
aspectRatio?: number;
|
|
5424
|
+
};
|
|
5425
|
+
}
|
|
5426
|
+
declare const FooterLogoSlot: ComponentConfig<{
|
|
5427
|
+
props: FooterLogoSlotProps;
|
|
5428
|
+
}>;
|
|
5429
|
+
|
|
5430
|
+
interface FooterUtilityImagesSlotProps {
|
|
5431
|
+
data: {
|
|
5432
|
+
utilityImages: {
|
|
5433
|
+
image: AssetImageType;
|
|
5434
|
+
linkTarget?: string;
|
|
5435
|
+
}[];
|
|
5436
|
+
};
|
|
5437
|
+
styles: {
|
|
5438
|
+
width?: number;
|
|
5439
|
+
aspectRatio?: number;
|
|
5440
|
+
};
|
|
5441
|
+
}
|
|
5442
|
+
declare const FooterUtilityImagesSlot: ComponentConfig<{
|
|
5443
|
+
props: FooterUtilityImagesSlotProps;
|
|
5444
|
+
}>;
|
|
5445
|
+
|
|
5446
|
+
interface FooterLinksSlotProps {
|
|
5447
|
+
data: {
|
|
5448
|
+
links: TranslatableCTA[];
|
|
5449
|
+
};
|
|
5450
|
+
/** @internal */
|
|
5451
|
+
variant?: "primary" | "secondary";
|
|
5452
|
+
/** @internal */
|
|
5453
|
+
eventNamePrefix?: string;
|
|
5454
|
+
/** @internal */
|
|
5455
|
+
alignment?: "left" | "center" | "right";
|
|
5456
|
+
}
|
|
5457
|
+
declare const FooterLinksSlot: ComponentConfig<{
|
|
5458
|
+
props: FooterLinksSlotProps;
|
|
5459
|
+
}>;
|
|
5460
|
+
|
|
5461
|
+
interface FooterExpandedLinkSectionSlotProps {
|
|
5462
|
+
data: {
|
|
5463
|
+
label: YextEntityField<TranslatableString>;
|
|
5464
|
+
links: TranslatableCTA[];
|
|
5465
|
+
};
|
|
5466
|
+
/** @internal */
|
|
5467
|
+
index?: number;
|
|
5468
|
+
}
|
|
5469
|
+
declare const FooterExpandedLinkSectionSlot: ComponentConfig<{
|
|
5470
|
+
props: FooterExpandedLinkSectionSlotProps;
|
|
5471
|
+
}>;
|
|
5088
5472
|
|
|
5089
|
-
|
|
5473
|
+
interface FooterExpandedLinksWrapperProps {
|
|
5474
|
+
data: {
|
|
5475
|
+
sections: {
|
|
5476
|
+
label: TranslatableString;
|
|
5477
|
+
links: TranslatableCTA[];
|
|
5478
|
+
}[];
|
|
5479
|
+
};
|
|
5480
|
+
}
|
|
5481
|
+
declare const FooterExpandedLinksWrapper: ComponentConfig<{
|
|
5482
|
+
props: FooterExpandedLinksWrapperProps;
|
|
5483
|
+
}>;
|
|
5090
5484
|
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
/** The background color of each testimonial card */
|
|
5095
|
-
backgroundColor?: BackgroundStyle;
|
|
5485
|
+
interface CopyrightMessageSlotProps {
|
|
5486
|
+
data: {
|
|
5487
|
+
text: TranslatableString;
|
|
5096
5488
|
};
|
|
5097
5489
|
/** @internal */
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5490
|
+
alignment?: "left" | "center" | "right";
|
|
5491
|
+
}
|
|
5492
|
+
declare const defaultCopyrightMessageSlotProps: CopyrightMessageSlotProps;
|
|
5493
|
+
declare const CopyrightMessageSlot: ComponentConfig<{
|
|
5494
|
+
props: CopyrightMessageSlotProps;
|
|
5495
|
+
}>;
|
|
5496
|
+
|
|
5497
|
+
interface SecondaryFooterSlotProps {
|
|
5498
|
+
/**
|
|
5499
|
+
* Data configuration for the secondary footer.
|
|
5500
|
+
* @propCategory Data Props
|
|
5501
|
+
*/
|
|
5502
|
+
data: {
|
|
5503
|
+
/** Whether to hide or show the secondary footer */
|
|
5504
|
+
show: boolean;
|
|
5102
5505
|
};
|
|
5103
|
-
/**
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5506
|
+
/**
|
|
5507
|
+
* Styling configuration for the secondary footer.
|
|
5508
|
+
* @propCategory Style Props
|
|
5509
|
+
*/
|
|
5510
|
+
styles: {
|
|
5511
|
+
backgroundColor?: BackgroundStyle;
|
|
5512
|
+
linksPosition: "left" | "center" | "right";
|
|
5107
5513
|
};
|
|
5108
5514
|
/** @internal */
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
contributionDate?: boolean;
|
|
5515
|
+
slots: {
|
|
5516
|
+
SecondaryLinksWrapperSlot: Slot;
|
|
5517
|
+
CopyrightSlot: Slot;
|
|
5113
5518
|
};
|
|
5114
|
-
/** @internal */
|
|
5115
|
-
|
|
5116
|
-
}
|
|
5519
|
+
/** The maximum width inherited from parent. @internal */
|
|
5520
|
+
maxWidth?: PageSectionProps["maxWidth"];
|
|
5521
|
+
}
|
|
5522
|
+
/**
|
|
5523
|
+
* The Secondary Footer Slot is a sub-section of the Expanded Footer that contains copyright information and secondary links.
|
|
5524
|
+
*/
|
|
5525
|
+
declare const SecondaryFooterSlot: ComponentConfig<{
|
|
5526
|
+
props: SecondaryFooterSlotProps;
|
|
5527
|
+
}>;
|
|
5117
5528
|
|
|
5118
5529
|
type DirectoryCardProps = {
|
|
5119
5530
|
/** Styling for all the cards. */
|
|
@@ -5124,6 +5535,7 @@ type DirectoryCardProps = {
|
|
|
5124
5535
|
/** @internal */
|
|
5125
5536
|
slots: {
|
|
5126
5537
|
HeadingSlot: Slot;
|
|
5538
|
+
AddressSlot: Slot;
|
|
5127
5539
|
PhoneSlot: Slot;
|
|
5128
5540
|
HoursSlot: Slot;
|
|
5129
5541
|
};
|
|
@@ -5187,6 +5599,24 @@ type HeaderLinksProps = {
|
|
|
5187
5599
|
links: TranslatableCTA[];
|
|
5188
5600
|
collapsedLinks: TranslatableCTA[];
|
|
5189
5601
|
};
|
|
5602
|
+
styles: {
|
|
5603
|
+
/**
|
|
5604
|
+
* Alignment of the header links
|
|
5605
|
+
*/
|
|
5606
|
+
align?: "left" | "center" | "right";
|
|
5607
|
+
/**
|
|
5608
|
+
* The variant of the header links
|
|
5609
|
+
*/
|
|
5610
|
+
variant?: BodyProps["variant"];
|
|
5611
|
+
/**
|
|
5612
|
+
* The color of the header links
|
|
5613
|
+
*/
|
|
5614
|
+
color?: BackgroundStyle;
|
|
5615
|
+
/**
|
|
5616
|
+
* The weight of the header links
|
|
5617
|
+
*/
|
|
5618
|
+
weight?: "normal" | "bold";
|
|
5619
|
+
};
|
|
5190
5620
|
/** @internal data from the parent section */
|
|
5191
5621
|
parentData?: {
|
|
5192
5622
|
type: "Primary" | "Secondary";
|
|
@@ -5234,6 +5664,7 @@ interface SlotsCategoryProps {
|
|
|
5234
5664
|
TestimonialCard: TestimonialCardProps;
|
|
5235
5665
|
TestimonialCardsWrapper: TestimonialCardsWrapperProps;
|
|
5236
5666
|
TextListSlot: TextListProps;
|
|
5667
|
+
TextSlot: TextProps;
|
|
5237
5668
|
Timestamp: TimestampProps;
|
|
5238
5669
|
VideoSlot: VideoProps;
|
|
5239
5670
|
}
|
|
@@ -5827,7 +6258,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5827
6258
|
fields?: _puckeditor_core.Fields<InsightCardsWrapperProps, {}> | undefined;
|
|
5828
6259
|
inline?: boolean;
|
|
5829
6260
|
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
5830
|
-
changed: Partial<Record<keyof
|
|
6261
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<InsightSectionType>, boolean> & {
|
|
5831
6262
|
id: string;
|
|
5832
6263
|
}>;
|
|
5833
6264
|
fields: _puckeditor_core.Fields<InsightCardsWrapperProps, {}>;
|
|
@@ -5838,7 +6269,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5838
6269
|
parent: _puckeditor_core.ComponentData | null;
|
|
5839
6270
|
}) => _puckeditor_core.Fields<InsightCardsWrapperProps, {}> | Promise<_puckeditor_core.Fields<InsightCardsWrapperProps, {}>>) | undefined;
|
|
5840
6271
|
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
5841
|
-
changed: Partial<Record<keyof
|
|
6272
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<InsightSectionType>, boolean> & {
|
|
5842
6273
|
id: string;
|
|
5843
6274
|
}>;
|
|
5844
6275
|
lastData: Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
@@ -5851,7 +6282,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5851
6282
|
props?: Partial<InsightCardsWrapperProps> | undefined;
|
|
5852
6283
|
}>) | undefined;
|
|
5853
6284
|
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
5854
|
-
changed: Partial<Record<keyof
|
|
6285
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<InsightSectionType>, boolean> & {
|
|
5855
6286
|
id: string;
|
|
5856
6287
|
}>;
|
|
5857
6288
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
@@ -6115,7 +6546,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6115
6546
|
fields?: _puckeditor_core.Fields<ProductCardsWrapperProps, {}> | undefined;
|
|
6116
6547
|
inline?: boolean;
|
|
6117
6548
|
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6118
|
-
changed: Partial<Record<keyof
|
|
6549
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<ProductSectionType>, boolean> & {
|
|
6119
6550
|
id: string;
|
|
6120
6551
|
}>;
|
|
6121
6552
|
fields: _puckeditor_core.Fields<ProductCardsWrapperProps, {}>;
|
|
@@ -6126,7 +6557,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6126
6557
|
parent: _puckeditor_core.ComponentData | null;
|
|
6127
6558
|
}) => _puckeditor_core.Fields<ProductCardsWrapperProps, {}> | Promise<_puckeditor_core.Fields<ProductCardsWrapperProps, {}>>) | undefined;
|
|
6128
6559
|
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6129
|
-
changed: Partial<Record<keyof
|
|
6560
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<ProductSectionType>, boolean> & {
|
|
6130
6561
|
id: string;
|
|
6131
6562
|
}>;
|
|
6132
6563
|
lastData: Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
@@ -6139,7 +6570,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6139
6570
|
props?: Partial<ProductCardsWrapperProps> | undefined;
|
|
6140
6571
|
}>) | undefined;
|
|
6141
6572
|
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6142
|
-
changed: Partial<Record<keyof
|
|
6573
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<ProductSectionType>, boolean> & {
|
|
6143
6574
|
id: string;
|
|
6144
6575
|
}>;
|
|
6145
6576
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
@@ -6307,7 +6738,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6307
6738
|
fields?: _puckeditor_core.Fields<TeamCardsWrapperProps, {}> | undefined;
|
|
6308
6739
|
inline?: boolean;
|
|
6309
6740
|
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6310
|
-
changed: Partial<Record<keyof
|
|
6741
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TeamSectionType>, boolean> & {
|
|
6311
6742
|
id: string;
|
|
6312
6743
|
}>;
|
|
6313
6744
|
fields: _puckeditor_core.Fields<TeamCardsWrapperProps, {}>;
|
|
@@ -6318,7 +6749,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6318
6749
|
parent: _puckeditor_core.ComponentData | null;
|
|
6319
6750
|
}) => _puckeditor_core.Fields<TeamCardsWrapperProps, {}> | Promise<_puckeditor_core.Fields<TeamCardsWrapperProps, {}>>) | undefined;
|
|
6320
6751
|
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6321
|
-
changed: Partial<Record<keyof
|
|
6752
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TeamSectionType>, boolean> & {
|
|
6322
6753
|
id: string;
|
|
6323
6754
|
}>;
|
|
6324
6755
|
lastData: Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
@@ -6331,7 +6762,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6331
6762
|
props?: Partial<TeamCardsWrapperProps> | undefined;
|
|
6332
6763
|
}>) | undefined;
|
|
6333
6764
|
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6334
|
-
changed: Partial<Record<keyof
|
|
6765
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TeamSectionType>, boolean> & {
|
|
6335
6766
|
id: string;
|
|
6336
6767
|
}>;
|
|
6337
6768
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
@@ -6403,7 +6834,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6403
6834
|
fields?: _puckeditor_core.Fields<TestimonialCardsWrapperProps, {}> | undefined;
|
|
6404
6835
|
inline?: boolean;
|
|
6405
6836
|
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6406
|
-
changed: Partial<Record<keyof
|
|
6837
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TestimonialSectionType>, boolean> & {
|
|
6407
6838
|
id: string;
|
|
6408
6839
|
}>;
|
|
6409
6840
|
fields: _puckeditor_core.Fields<TestimonialCardsWrapperProps, {}>;
|
|
@@ -6414,7 +6845,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6414
6845
|
parent: _puckeditor_core.ComponentData | null;
|
|
6415
6846
|
}) => _puckeditor_core.Fields<TestimonialCardsWrapperProps, {}> | Promise<_puckeditor_core.Fields<TestimonialCardsWrapperProps, {}>>) | undefined;
|
|
6416
6847
|
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6417
|
-
changed: Partial<Record<keyof
|
|
6848
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TestimonialSectionType>, boolean> & {
|
|
6418
6849
|
id: string;
|
|
6419
6850
|
}>;
|
|
6420
6851
|
lastData: Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
@@ -6427,7 +6858,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6427
6858
|
props?: Partial<TestimonialCardsWrapperProps> | undefined;
|
|
6428
6859
|
}>) | undefined;
|
|
6429
6860
|
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6430
|
-
changed: Partial<Record<keyof
|
|
6861
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<TestimonialSectionType>, boolean> & {
|
|
6431
6862
|
id: string;
|
|
6432
6863
|
}>;
|
|
6433
6864
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
@@ -6486,6 +6917,54 @@ declare const SlotsCategoryComponents: {
|
|
|
6486
6917
|
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
6487
6918
|
metadata?: _puckeditor_core.ComponentMetadata;
|
|
6488
6919
|
};
|
|
6920
|
+
TextSlot: {
|
|
6921
|
+
permissions: {
|
|
6922
|
+
delete: boolean;
|
|
6923
|
+
drag: boolean;
|
|
6924
|
+
duplicate: boolean;
|
|
6925
|
+
insert: boolean;
|
|
6926
|
+
};
|
|
6927
|
+
render: _puckeditor_core.PuckComponent<TextProps>;
|
|
6928
|
+
label?: string;
|
|
6929
|
+
defaultProps?: TextProps | undefined;
|
|
6930
|
+
fields?: _puckeditor_core.Fields<TextProps, {}> | undefined;
|
|
6931
|
+
inline?: boolean;
|
|
6932
|
+
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6933
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
6934
|
+
id: string;
|
|
6935
|
+
}>;
|
|
6936
|
+
fields: _puckeditor_core.Fields<TextProps, {}>;
|
|
6937
|
+
lastFields: _puckeditor_core.Fields<TextProps, {}>;
|
|
6938
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
6939
|
+
metadata: _puckeditor_core.ComponentMetadata;
|
|
6940
|
+
appState: _puckeditor_core.AppState;
|
|
6941
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
6942
|
+
}) => _puckeditor_core.Fields<TextProps, {}> | Promise<_puckeditor_core.Fields<TextProps, {}>>) | undefined;
|
|
6943
|
+
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6944
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
6945
|
+
id: string;
|
|
6946
|
+
}>;
|
|
6947
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
6948
|
+
metadata: _puckeditor_core.ComponentMetadata;
|
|
6949
|
+
trigger: _puckeditor_core.ResolveDataTrigger;
|
|
6950
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
6951
|
+
}) => (Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
6952
|
+
props?: Partial<TextProps> | undefined;
|
|
6953
|
+
}) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
|
|
6954
|
+
props?: Partial<TextProps> | undefined;
|
|
6955
|
+
}>) | undefined;
|
|
6956
|
+
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
6957
|
+
changed: Partial<Record<keyof TextProps, boolean> & {
|
|
6958
|
+
id: string;
|
|
6959
|
+
}>;
|
|
6960
|
+
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
6961
|
+
permissions: Partial<_puckeditor_core.Permissions>;
|
|
6962
|
+
appState: _puckeditor_core.AppState;
|
|
6963
|
+
lastData: Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
6964
|
+
parent: _puckeditor_core.ComponentData | null;
|
|
6965
|
+
}) => Promise<Partial<_puckeditor_core.Permissions>> | Partial<_puckeditor_core.Permissions>) | undefined;
|
|
6966
|
+
metadata?: _puckeditor_core.ComponentMetadata;
|
|
6967
|
+
};
|
|
6489
6968
|
Timestamp: {
|
|
6490
6969
|
permissions: {
|
|
6491
6970
|
delete: boolean;
|
|
@@ -7219,7 +7698,7 @@ declare const SlotsCategoryComponents: {
|
|
|
7219
7698
|
fields?: _puckeditor_core.Fields<EventCardsWrapperProps, {}> | undefined;
|
|
7220
7699
|
inline?: boolean;
|
|
7221
7700
|
resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
7222
|
-
changed: Partial<Record<keyof
|
|
7701
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<EventSectionType>, boolean> & {
|
|
7223
7702
|
id: string;
|
|
7224
7703
|
}>;
|
|
7225
7704
|
fields: _puckeditor_core.Fields<EventCardsWrapperProps, {}>;
|
|
@@ -7230,7 +7709,7 @@ declare const SlotsCategoryComponents: {
|
|
|
7230
7709
|
parent: _puckeditor_core.ComponentData | null;
|
|
7231
7710
|
}) => _puckeditor_core.Fields<EventCardsWrapperProps, {}> | Promise<_puckeditor_core.Fields<EventCardsWrapperProps, {}>>) | undefined;
|
|
7232
7711
|
resolveData?: ((data: Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
7233
|
-
changed: Partial<Record<keyof
|
|
7712
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<EventSectionType>, boolean> & {
|
|
7234
7713
|
id: string;
|
|
7235
7714
|
}>;
|
|
7236
7715
|
lastData: Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
|
|
@@ -7243,7 +7722,7 @@ declare const SlotsCategoryComponents: {
|
|
|
7243
7722
|
props?: Partial<EventCardsWrapperProps> | undefined;
|
|
7244
7723
|
}>) | undefined;
|
|
7245
7724
|
resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
|
|
7246
|
-
changed: Partial<Record<keyof
|
|
7725
|
+
changed: Partial<Record<"styles" | keyof CardWrapperType<EventSectionType>, boolean> & {
|
|
7247
7726
|
id: string;
|
|
7248
7727
|
}>;
|
|
7249
7728
|
lastPermissions: Partial<_puckeditor_core.Permissions>;
|
|
@@ -7271,139 +7750,25 @@ interface LocatorConfigProps extends LocatorCategoryProps, SlotsCategoryProps, D
|
|
|
7271
7750
|
}
|
|
7272
7751
|
declare const locatorConfig: Config<LocatorConfigProps>;
|
|
7273
7752
|
|
|
7753
|
+
type SectionContainerProps = {
|
|
7754
|
+
background?: BackgroundStyle;
|
|
7755
|
+
sectionHeading: {
|
|
7756
|
+
text: YextEntityField<TranslatableString>;
|
|
7757
|
+
level: HeadingProps["level"];
|
|
7758
|
+
alignment: "left" | "right" | "center";
|
|
7759
|
+
};
|
|
7760
|
+
liveVisibility: boolean;
|
|
7761
|
+
sectionContent: Slot;
|
|
7762
|
+
};
|
|
7763
|
+
declare const SectionContainer: ComponentConfig<{
|
|
7764
|
+
props: SectionContainerProps;
|
|
7765
|
+
}>;
|
|
7766
|
+
|
|
7274
7767
|
declare const migrationRegistry: MigrationRegistry;
|
|
7275
7768
|
|
|
7276
7769
|
declare const addHeadingAlignmentMigration: Migration;
|
|
7277
7770
|
|
|
7278
|
-
interface LocatorResultCardProps {
|
|
7279
|
-
/** Settings for the main heading of the card */
|
|
7280
|
-
primaryHeading: {
|
|
7281
|
-
/**
|
|
7282
|
-
* The field from the data to use for the primary heading
|
|
7283
|
-
* @defaultValue "name"
|
|
7284
|
-
*/
|
|
7285
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7286
|
-
/** The heading level for the primary heading */
|
|
7287
|
-
headingLevel: HeadingLevel;
|
|
7288
|
-
};
|
|
7289
|
-
/** Settings for the secondary heading of the card */
|
|
7290
|
-
secondaryHeading: {
|
|
7291
|
-
/** The field from the data to use for the secondary heading */
|
|
7292
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7293
|
-
/** The variant for the secondary heading */
|
|
7294
|
-
variant: BodyProps["variant"];
|
|
7295
|
-
/** Whether the secondary heading is visible in live mode */
|
|
7296
|
-
liveVisibility: boolean;
|
|
7297
|
-
};
|
|
7298
|
-
/** Settings for the tertiary heading of the card */
|
|
7299
|
-
tertiaryHeading: {
|
|
7300
|
-
/** The field from the data to use for the tertiary heading */
|
|
7301
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7302
|
-
/** The variant for the tertiary heading */
|
|
7303
|
-
variant: BodyProps["variant"];
|
|
7304
|
-
/** Whether the tertiary heading is visible in live mode */
|
|
7305
|
-
liveVisibility: boolean;
|
|
7306
|
-
};
|
|
7307
|
-
/** Whether to show icons for certain fields */
|
|
7308
|
-
icons: boolean;
|
|
7309
|
-
/** Settings for the hours block */
|
|
7310
|
-
hours: {
|
|
7311
|
-
/** The field from the data to use for the hours */
|
|
7312
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7313
|
-
/** Styles for the hours table */
|
|
7314
|
-
table: Omit<HoursTableProps["styles"], "alignment">;
|
|
7315
|
-
/** Whether the hours block is visible in live mode */
|
|
7316
|
-
liveVisibility: boolean;
|
|
7317
|
-
};
|
|
7318
|
-
/** Settings for the address block */
|
|
7319
|
-
address: {
|
|
7320
|
-
/** Whether to show the "Get Directions" link */
|
|
7321
|
-
showGetDirectionsLink: boolean;
|
|
7322
|
-
/** Whether the address block is visible in live mode */
|
|
7323
|
-
liveVisibility: boolean;
|
|
7324
|
-
};
|
|
7325
|
-
/** Settings for the phone block */
|
|
7326
|
-
phone: {
|
|
7327
|
-
/**
|
|
7328
|
-
* The field from the data to use for the phone number
|
|
7329
|
-
* @defaultValue "mainPhone"
|
|
7330
|
-
*/
|
|
7331
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7332
|
-
/**
|
|
7333
|
-
* The format to use for the phone number
|
|
7334
|
-
* @defaultValue "domestic"
|
|
7335
|
-
*/
|
|
7336
|
-
phoneFormat: "domestic" | "international";
|
|
7337
|
-
/** Whether to include a hyperlink for the phone number */
|
|
7338
|
-
includePhoneHyperlink: boolean;
|
|
7339
|
-
/** Whether the phone block is visible in live mode */
|
|
7340
|
-
liveVisibility: boolean;
|
|
7341
|
-
};
|
|
7342
|
-
/** Settings for the email block */
|
|
7343
|
-
email: {
|
|
7344
|
-
/**
|
|
7345
|
-
* The field from the data to use for the email address
|
|
7346
|
-
* @defaultValue "emails"
|
|
7347
|
-
*/
|
|
7348
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7349
|
-
/** Whether the email block is visible in live mode */
|
|
7350
|
-
liveVisibility: boolean;
|
|
7351
|
-
};
|
|
7352
|
-
/** Settings for the services block */
|
|
7353
|
-
services: {
|
|
7354
|
-
/**The field from the data to use for the services
|
|
7355
|
-
* @defaultValue "services"
|
|
7356
|
-
*/
|
|
7357
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7358
|
-
/** Whether the services block is visible in live mode */
|
|
7359
|
-
liveVisibility: boolean;
|
|
7360
|
-
};
|
|
7361
|
-
/** Settings for the primary CTA */
|
|
7362
|
-
primaryCTA: {
|
|
7363
|
-
/** The variant for the primary CTA */
|
|
7364
|
-
variant: CTAVariant;
|
|
7365
|
-
/** Whether the primary CTA is visible in live mode */
|
|
7366
|
-
liveVisibility: boolean;
|
|
7367
|
-
};
|
|
7368
|
-
/** Settings for the secondary CTA */
|
|
7369
|
-
secondaryCTA: {
|
|
7370
|
-
/** Label for the secondary CTA */
|
|
7371
|
-
label: TranslatableString;
|
|
7372
|
-
/** Template for the secondary CTA link, which can contain entity field references */
|
|
7373
|
-
link: TranslatableString;
|
|
7374
|
-
/** The variant for the secondary CTA */
|
|
7375
|
-
variant: CTAVariant;
|
|
7376
|
-
/** Whether the secondary CTA is visible in live mode */
|
|
7377
|
-
liveVisibility: boolean;
|
|
7378
|
-
};
|
|
7379
|
-
/** Settings for the image */
|
|
7380
|
-
image: {
|
|
7381
|
-
/** The field from the data to use for the image */
|
|
7382
|
-
field: DynamicOptionsSingleSelectorType<string>;
|
|
7383
|
-
/** Whether the image block is visible in live mode */
|
|
7384
|
-
liveVisibility: boolean;
|
|
7385
|
-
};
|
|
7386
|
-
}
|
|
7387
|
-
interface Location {
|
|
7388
|
-
address: AddressType;
|
|
7389
|
-
hours?: HoursType;
|
|
7390
|
-
additionalHoursText?: string;
|
|
7391
|
-
id: string;
|
|
7392
|
-
mainPhone?: string;
|
|
7393
|
-
name: string;
|
|
7394
|
-
neighborhood?: string;
|
|
7395
|
-
slug?: string;
|
|
7396
|
-
timezone: string;
|
|
7397
|
-
yextDisplayCoordinate?: Coordinate$1;
|
|
7398
|
-
ref_listings?: ListingType[];
|
|
7399
|
-
[key: string]: any;
|
|
7400
|
-
}
|
|
7401
|
-
declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, }: {
|
|
7402
|
-
result: CardProps<Location>["result"];
|
|
7403
|
-
resultCardProps: LocatorResultCardProps;
|
|
7404
|
-
}) => React__default.JSX.Element>;
|
|
7405
|
-
|
|
7406
7771
|
declare function createDefaultThemeConfig(customFonts?: FontRegistry): ThemeConfig;
|
|
7407
7772
|
declare const defaultThemeConfig: ThemeConfig;
|
|
7408
7773
|
|
|
7409
|
-
export { AboutSection, type AboutSectionProps, 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, ProfessionalHeroSection, type ProfessionalHeroSectionProps, type ProfessionalHeroStyles, 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, applyCertifiedFacts, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getPreferredDistanceUnit, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, injectTranslations, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|
|
7774
|
+
export { AboutSection, type AboutSectionProps, 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, ProfessionalHeroSection, type ProfessionalHeroSectionProps, type ProfessionalHeroStyles, 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, Text, TextList, type TextListProps, type TextProps, 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, applyCertifiedFacts, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createDefaultThemeConfig, createSearchAnalyticsConfig, createSearchHeadlessConfig, deepMerge, defaultCopyrightMessageSlotProps, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, directoryConfig, fetchLocalesToPathsForEntity, filterComponentsFromConfig, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getPreferredDistanceUnit, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, injectTranslations, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
|