@yext/visual-editor 1.0.0-beta.0 → 1.0.0-beta.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/index.d.cts +27 -61
- package/dist/index.d.ts +27 -61
- package/dist/plugin/plugin.cjs +11 -7
- package/dist/plugin/plugin.js +68 -55
- package/dist/visual-editor.cjs +107 -92
- package/dist/visual-editor.js +26131 -24868
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1176,6 +1176,7 @@ type CTAProps = {
|
|
|
1176
1176
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
1177
1177
|
alwaysHideCaret?: boolean;
|
|
1178
1178
|
ariaLabel?: string;
|
|
1179
|
+
disabled?: boolean;
|
|
1179
1180
|
};
|
|
1180
1181
|
/**
|
|
1181
1182
|
* The different visual variants for CTA buttons.
|
|
@@ -1241,6 +1242,7 @@ type MaybeLinkProps = {
|
|
|
1241
1242
|
variant?: CTAVariant;
|
|
1242
1243
|
alwaysHideCaret?: boolean;
|
|
1243
1244
|
ariaLabel?: string;
|
|
1245
|
+
disabled?: boolean;
|
|
1244
1246
|
};
|
|
1245
1247
|
declare const MaybeLink: (props: MaybeLinkProps) => react_jsx_runtime.JSX.Element;
|
|
1246
1248
|
|
|
@@ -1443,8 +1445,6 @@ interface CTAWrapperProps {
|
|
|
1443
1445
|
parentStyles?: {
|
|
1444
1446
|
classNameFn?: (variant: CTAVariant) => string;
|
|
1445
1447
|
};
|
|
1446
|
-
/** @internal Fields to hide from the editor i.e. styles.displayType */
|
|
1447
|
-
fieldsToHide?: string[];
|
|
1448
1448
|
/** @internal Event name to be used for click analytics */
|
|
1449
1449
|
eventName?: string;
|
|
1450
1450
|
}
|
|
@@ -1459,6 +1459,8 @@ interface EmailsProps {
|
|
|
1459
1459
|
styles?: {
|
|
1460
1460
|
listLength?: number;
|
|
1461
1461
|
};
|
|
1462
|
+
/** @internal Event name to be used for click analytics */
|
|
1463
|
+
eventName?: string;
|
|
1462
1464
|
}
|
|
1463
1465
|
declare const Emails: ComponentConfig<EmailsProps>;
|
|
1464
1466
|
|
|
@@ -1609,6 +1611,7 @@ declare const Phone: ComponentConfig<{
|
|
|
1609
1611
|
|
|
1610
1612
|
interface TextListProps {
|
|
1611
1613
|
list: YextEntityField<TranslatableString[]>;
|
|
1614
|
+
commaSeparated: boolean;
|
|
1612
1615
|
}
|
|
1613
1616
|
declare const TextList: ComponentConfig<{
|
|
1614
1617
|
props: TextListProps;
|
|
@@ -2174,7 +2177,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2174
2177
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
2175
2178
|
inline?: boolean;
|
|
2176
2179
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2177
|
-
changed: Partial<Record<
|
|
2180
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2178
2181
|
id: string;
|
|
2179
2182
|
}>;
|
|
2180
2183
|
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
@@ -2184,7 +2187,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2184
2187
|
parent: _measured_puck.ComponentData | null;
|
|
2185
2188
|
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
2186
2189
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2187
|
-
changed: Partial<Record<
|
|
2190
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2188
2191
|
id: string;
|
|
2189
2192
|
}>;
|
|
2190
2193
|
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -2196,7 +2199,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2196
2199
|
props?: Partial<TextListProps> | undefined;
|
|
2197
2200
|
}>) | undefined;
|
|
2198
2201
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2199
|
-
changed: Partial<Record<
|
|
2202
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2200
2203
|
id: string;
|
|
2201
2204
|
}>;
|
|
2202
2205
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2537,7 +2540,6 @@ interface FooterLinksSlotProps {
|
|
|
2537
2540
|
data: {
|
|
2538
2541
|
links: TranslatableCTA[];
|
|
2539
2542
|
};
|
|
2540
|
-
styles: {};
|
|
2541
2543
|
/** @internal */
|
|
2542
2544
|
variant?: "primary" | "secondary";
|
|
2543
2545
|
/** @internal */
|
|
@@ -2575,8 +2577,10 @@ declare const FooterExpandedLinksWrapper: ComponentConfig<{
|
|
|
2575
2577
|
|
|
2576
2578
|
interface CopyrightMessageSlotProps {
|
|
2577
2579
|
data: {
|
|
2578
|
-
text:
|
|
2580
|
+
text: TranslatableString;
|
|
2579
2581
|
};
|
|
2582
|
+
/** @internal */
|
|
2583
|
+
alignment?: "left" | "right";
|
|
2580
2584
|
}
|
|
2581
2585
|
declare const defaultCopyrightMessageSlotProps: CopyrightMessageSlotProps;
|
|
2582
2586
|
declare const CopyrightMessageSlot: ComponentConfig<{
|
|
@@ -2921,7 +2925,7 @@ interface CoreInfoSectionProps {
|
|
|
2921
2925
|
HoursHeadingSlot: Slot;
|
|
2922
2926
|
HoursTableSlot: Slot;
|
|
2923
2927
|
ServicesHeadingSlot: Slot;
|
|
2924
|
-
|
|
2928
|
+
TextListSlot: Slot;
|
|
2925
2929
|
};
|
|
2926
2930
|
/** @internal */
|
|
2927
2931
|
conditionalRender?: {
|
|
@@ -4246,6 +4250,8 @@ interface PhoneListProps {
|
|
|
4246
4250
|
phoneNumbers: Array<PhoneProps["data"]>;
|
|
4247
4251
|
};
|
|
4248
4252
|
styles: PhoneProps["styles"];
|
|
4253
|
+
/** @internal Event name to be used for click analytics */
|
|
4254
|
+
eventName?: string;
|
|
4249
4255
|
}
|
|
4250
4256
|
declare const PhoneList: ComponentConfig<{
|
|
4251
4257
|
props: PhoneListProps;
|
|
@@ -4427,11 +4433,17 @@ type InsightCardProps = {
|
|
|
4427
4433
|
PublishTimeSlot: Slot;
|
|
4428
4434
|
CTASlot: Slot;
|
|
4429
4435
|
};
|
|
4436
|
+
/** @internal */
|
|
4430
4437
|
parentData?: {
|
|
4431
4438
|
field: string;
|
|
4432
4439
|
insight: InsightStruct;
|
|
4433
4440
|
};
|
|
4434
4441
|
/** @internal */
|
|
4442
|
+
conditionalRender?: {
|
|
4443
|
+
hasCategory: boolean;
|
|
4444
|
+
hasPublishTime: boolean;
|
|
4445
|
+
};
|
|
4446
|
+
/** @internal */
|
|
4435
4447
|
index?: number;
|
|
4436
4448
|
};
|
|
4437
4449
|
declare const InsightCard: ComponentConfig<{
|
|
@@ -4646,7 +4658,6 @@ interface SlotsCategoryProps {
|
|
|
4646
4658
|
ProductCard: ProductCardProps;
|
|
4647
4659
|
SecondaryFooterSlot: SecondaryFooterSlotProps;
|
|
4648
4660
|
SecondaryHeaderSlot: SecondaryHeaderSlotProps;
|
|
4649
|
-
ServicesListSlot: TextListProps;
|
|
4650
4661
|
TeamCard: TeamCardProps;
|
|
4651
4662
|
TeamCardsWrapper: TeamCardsWrapperProps;
|
|
4652
4663
|
TestimonialCard: TestimonialCardProps;
|
|
@@ -5646,51 +5657,6 @@ declare const SlotsCategoryComponents: {
|
|
|
5646
5657
|
}) => Promise<Partial<_measured_puck.Permissions>> | Partial<_measured_puck.Permissions>) | undefined;
|
|
5647
5658
|
metadata?: _measured_puck.Metadata;
|
|
5648
5659
|
};
|
|
5649
|
-
ServicesListSlot: {
|
|
5650
|
-
permissions: {
|
|
5651
|
-
delete: boolean;
|
|
5652
|
-
drag: boolean;
|
|
5653
|
-
duplicate: boolean;
|
|
5654
|
-
insert: boolean;
|
|
5655
|
-
};
|
|
5656
|
-
render: _measured_puck.PuckComponent<TextListProps>;
|
|
5657
|
-
label?: string;
|
|
5658
|
-
defaultProps?: TextListProps | undefined;
|
|
5659
|
-
fields?: _measured_puck.Fields<TextListProps, {}> | undefined;
|
|
5660
|
-
inline?: boolean;
|
|
5661
|
-
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5662
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5663
|
-
id: string;
|
|
5664
|
-
}>;
|
|
5665
|
-
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
5666
|
-
lastFields: _measured_puck.Fields<TextListProps, {}>;
|
|
5667
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5668
|
-
appState: _measured_puck.AppState;
|
|
5669
|
-
parent: _measured_puck.ComponentData | null;
|
|
5670
|
-
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
5671
|
-
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5672
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5673
|
-
id: string;
|
|
5674
|
-
}>;
|
|
5675
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5676
|
-
metadata: _measured_puck.Metadata;
|
|
5677
|
-
trigger: _measured_puck.ResolveDataTrigger;
|
|
5678
|
-
}) => (Omit<Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, "props"> & {
|
|
5679
|
-
props?: Partial<TextListProps> | undefined;
|
|
5680
|
-
}) | Promise<Omit<Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, "props"> & {
|
|
5681
|
-
props?: Partial<TextListProps> | undefined;
|
|
5682
|
-
}>) | undefined;
|
|
5683
|
-
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5684
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5685
|
-
id: string;
|
|
5686
|
-
}>;
|
|
5687
|
-
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
5688
|
-
permissions: Partial<_measured_puck.Permissions>;
|
|
5689
|
-
appState: _measured_puck.AppState;
|
|
5690
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5691
|
-
}) => Promise<Partial<_measured_puck.Permissions>> | Partial<_measured_puck.Permissions>) | undefined;
|
|
5692
|
-
metadata?: _measured_puck.Metadata;
|
|
5693
|
-
};
|
|
5694
5660
|
TeamCard: {
|
|
5695
5661
|
permissions: {
|
|
5696
5662
|
delete: boolean;
|
|
@@ -5884,7 +5850,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5884
5850
|
fields?: _measured_puck.Fields<TextListProps, {}> | undefined;
|
|
5885
5851
|
inline?: boolean;
|
|
5886
5852
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5887
|
-
changed: Partial<Record<
|
|
5853
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5888
5854
|
id: string;
|
|
5889
5855
|
}>;
|
|
5890
5856
|
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
@@ -5894,7 +5860,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5894
5860
|
parent: _measured_puck.ComponentData | null;
|
|
5895
5861
|
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
5896
5862
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5897
|
-
changed: Partial<Record<
|
|
5863
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5898
5864
|
id: string;
|
|
5899
5865
|
}>;
|
|
5900
5866
|
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -5906,7 +5872,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5906
5872
|
props?: Partial<TextListProps> | undefined;
|
|
5907
5873
|
}>) | undefined;
|
|
5908
5874
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5909
|
-
changed: Partial<Record<
|
|
5875
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5910
5876
|
id: string;
|
|
5911
5877
|
}>;
|
|
5912
5878
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -6289,7 +6255,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6289
6255
|
fields?: _measured_puck.Fields<CopyrightMessageSlotProps, {}> | undefined;
|
|
6290
6256
|
inline?: boolean;
|
|
6291
6257
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6292
|
-
changed: Partial<Record<
|
|
6258
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6293
6259
|
id: string;
|
|
6294
6260
|
}>;
|
|
6295
6261
|
fields: _measured_puck.Fields<CopyrightMessageSlotProps, {}>;
|
|
@@ -6299,7 +6265,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6299
6265
|
parent: _measured_puck.ComponentData | null;
|
|
6300
6266
|
}) => _measured_puck.Fields<CopyrightMessageSlotProps, {}> | Promise<_measured_puck.Fields<CopyrightMessageSlotProps, {}>>) | undefined;
|
|
6301
6267
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6302
|
-
changed: Partial<Record<
|
|
6268
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6303
6269
|
id: string;
|
|
6304
6270
|
}>;
|
|
6305
6271
|
lastData: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -6311,7 +6277,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6311
6277
|
props?: Partial<CopyrightMessageSlotProps> | undefined;
|
|
6312
6278
|
}>) | undefined;
|
|
6313
6279
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6314
|
-
changed: Partial<Record<
|
|
6280
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6315
6281
|
id: string;
|
|
6316
6282
|
}>;
|
|
6317
6283
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -6603,7 +6569,7 @@ interface DirectoryConfigProps extends DirectoryCategoryProps, SlotsCategoryProp
|
|
|
6603
6569
|
}
|
|
6604
6570
|
declare const directoryConfig: Config<DirectoryConfigProps>;
|
|
6605
6571
|
|
|
6606
|
-
interface LocatorConfigProps extends LocatorCategoryProps, DeprecatedCategoryProps, OtherCategoryProps {
|
|
6572
|
+
interface LocatorConfigProps extends LocatorCategoryProps, SlotsCategoryProps, DeprecatedCategoryProps, OtherCategoryProps {
|
|
6607
6573
|
BannerSection: BannerSectionProps;
|
|
6608
6574
|
}
|
|
6609
6575
|
declare const locatorConfig: Config<LocatorConfigProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1176,6 +1176,7 @@ type CTAProps = {
|
|
|
1176
1176
|
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
1177
1177
|
alwaysHideCaret?: boolean;
|
|
1178
1178
|
ariaLabel?: string;
|
|
1179
|
+
disabled?: boolean;
|
|
1179
1180
|
};
|
|
1180
1181
|
/**
|
|
1181
1182
|
* The different visual variants for CTA buttons.
|
|
@@ -1241,6 +1242,7 @@ type MaybeLinkProps = {
|
|
|
1241
1242
|
variant?: CTAVariant;
|
|
1242
1243
|
alwaysHideCaret?: boolean;
|
|
1243
1244
|
ariaLabel?: string;
|
|
1245
|
+
disabled?: boolean;
|
|
1244
1246
|
};
|
|
1245
1247
|
declare const MaybeLink: (props: MaybeLinkProps) => react_jsx_runtime.JSX.Element;
|
|
1246
1248
|
|
|
@@ -1443,8 +1445,6 @@ interface CTAWrapperProps {
|
|
|
1443
1445
|
parentStyles?: {
|
|
1444
1446
|
classNameFn?: (variant: CTAVariant) => string;
|
|
1445
1447
|
};
|
|
1446
|
-
/** @internal Fields to hide from the editor i.e. styles.displayType */
|
|
1447
|
-
fieldsToHide?: string[];
|
|
1448
1448
|
/** @internal Event name to be used for click analytics */
|
|
1449
1449
|
eventName?: string;
|
|
1450
1450
|
}
|
|
@@ -1459,6 +1459,8 @@ interface EmailsProps {
|
|
|
1459
1459
|
styles?: {
|
|
1460
1460
|
listLength?: number;
|
|
1461
1461
|
};
|
|
1462
|
+
/** @internal Event name to be used for click analytics */
|
|
1463
|
+
eventName?: string;
|
|
1462
1464
|
}
|
|
1463
1465
|
declare const Emails: ComponentConfig<EmailsProps>;
|
|
1464
1466
|
|
|
@@ -1609,6 +1611,7 @@ declare const Phone: ComponentConfig<{
|
|
|
1609
1611
|
|
|
1610
1612
|
interface TextListProps {
|
|
1611
1613
|
list: YextEntityField<TranslatableString[]>;
|
|
1614
|
+
commaSeparated: boolean;
|
|
1612
1615
|
}
|
|
1613
1616
|
declare const TextList: ComponentConfig<{
|
|
1614
1617
|
props: TextListProps;
|
|
@@ -2174,7 +2177,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2174
2177
|
permissions?: Partial<_measured_puck.Permissions>;
|
|
2175
2178
|
inline?: boolean;
|
|
2176
2179
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2177
|
-
changed: Partial<Record<
|
|
2180
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2178
2181
|
id: string;
|
|
2179
2182
|
}>;
|
|
2180
2183
|
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
@@ -2184,7 +2187,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2184
2187
|
parent: _measured_puck.ComponentData | null;
|
|
2185
2188
|
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
2186
2189
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2187
|
-
changed: Partial<Record<
|
|
2190
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2188
2191
|
id: string;
|
|
2189
2192
|
}>;
|
|
2190
2193
|
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -2196,7 +2199,7 @@ declare const AdvancedCoreInfoCategoryComponents: {
|
|
|
2196
2199
|
props?: Partial<TextListProps> | undefined;
|
|
2197
2200
|
}>) | undefined;
|
|
2198
2201
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
2199
|
-
changed: Partial<Record<
|
|
2202
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
2200
2203
|
id: string;
|
|
2201
2204
|
}>;
|
|
2202
2205
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -2537,7 +2540,6 @@ interface FooterLinksSlotProps {
|
|
|
2537
2540
|
data: {
|
|
2538
2541
|
links: TranslatableCTA[];
|
|
2539
2542
|
};
|
|
2540
|
-
styles: {};
|
|
2541
2543
|
/** @internal */
|
|
2542
2544
|
variant?: "primary" | "secondary";
|
|
2543
2545
|
/** @internal */
|
|
@@ -2575,8 +2577,10 @@ declare const FooterExpandedLinksWrapper: ComponentConfig<{
|
|
|
2575
2577
|
|
|
2576
2578
|
interface CopyrightMessageSlotProps {
|
|
2577
2579
|
data: {
|
|
2578
|
-
text:
|
|
2580
|
+
text: TranslatableString;
|
|
2579
2581
|
};
|
|
2582
|
+
/** @internal */
|
|
2583
|
+
alignment?: "left" | "right";
|
|
2580
2584
|
}
|
|
2581
2585
|
declare const defaultCopyrightMessageSlotProps: CopyrightMessageSlotProps;
|
|
2582
2586
|
declare const CopyrightMessageSlot: ComponentConfig<{
|
|
@@ -2921,7 +2925,7 @@ interface CoreInfoSectionProps {
|
|
|
2921
2925
|
HoursHeadingSlot: Slot;
|
|
2922
2926
|
HoursTableSlot: Slot;
|
|
2923
2927
|
ServicesHeadingSlot: Slot;
|
|
2924
|
-
|
|
2928
|
+
TextListSlot: Slot;
|
|
2925
2929
|
};
|
|
2926
2930
|
/** @internal */
|
|
2927
2931
|
conditionalRender?: {
|
|
@@ -4246,6 +4250,8 @@ interface PhoneListProps {
|
|
|
4246
4250
|
phoneNumbers: Array<PhoneProps["data"]>;
|
|
4247
4251
|
};
|
|
4248
4252
|
styles: PhoneProps["styles"];
|
|
4253
|
+
/** @internal Event name to be used for click analytics */
|
|
4254
|
+
eventName?: string;
|
|
4249
4255
|
}
|
|
4250
4256
|
declare const PhoneList: ComponentConfig<{
|
|
4251
4257
|
props: PhoneListProps;
|
|
@@ -4427,11 +4433,17 @@ type InsightCardProps = {
|
|
|
4427
4433
|
PublishTimeSlot: Slot;
|
|
4428
4434
|
CTASlot: Slot;
|
|
4429
4435
|
};
|
|
4436
|
+
/** @internal */
|
|
4430
4437
|
parentData?: {
|
|
4431
4438
|
field: string;
|
|
4432
4439
|
insight: InsightStruct;
|
|
4433
4440
|
};
|
|
4434
4441
|
/** @internal */
|
|
4442
|
+
conditionalRender?: {
|
|
4443
|
+
hasCategory: boolean;
|
|
4444
|
+
hasPublishTime: boolean;
|
|
4445
|
+
};
|
|
4446
|
+
/** @internal */
|
|
4435
4447
|
index?: number;
|
|
4436
4448
|
};
|
|
4437
4449
|
declare const InsightCard: ComponentConfig<{
|
|
@@ -4646,7 +4658,6 @@ interface SlotsCategoryProps {
|
|
|
4646
4658
|
ProductCard: ProductCardProps;
|
|
4647
4659
|
SecondaryFooterSlot: SecondaryFooterSlotProps;
|
|
4648
4660
|
SecondaryHeaderSlot: SecondaryHeaderSlotProps;
|
|
4649
|
-
ServicesListSlot: TextListProps;
|
|
4650
4661
|
TeamCard: TeamCardProps;
|
|
4651
4662
|
TeamCardsWrapper: TeamCardsWrapperProps;
|
|
4652
4663
|
TestimonialCard: TestimonialCardProps;
|
|
@@ -5646,51 +5657,6 @@ declare const SlotsCategoryComponents: {
|
|
|
5646
5657
|
}) => Promise<Partial<_measured_puck.Permissions>> | Partial<_measured_puck.Permissions>) | undefined;
|
|
5647
5658
|
metadata?: _measured_puck.Metadata;
|
|
5648
5659
|
};
|
|
5649
|
-
ServicesListSlot: {
|
|
5650
|
-
permissions: {
|
|
5651
|
-
delete: boolean;
|
|
5652
|
-
drag: boolean;
|
|
5653
|
-
duplicate: boolean;
|
|
5654
|
-
insert: boolean;
|
|
5655
|
-
};
|
|
5656
|
-
render: _measured_puck.PuckComponent<TextListProps>;
|
|
5657
|
-
label?: string;
|
|
5658
|
-
defaultProps?: TextListProps | undefined;
|
|
5659
|
-
fields?: _measured_puck.Fields<TextListProps, {}> | undefined;
|
|
5660
|
-
inline?: boolean;
|
|
5661
|
-
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5662
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5663
|
-
id: string;
|
|
5664
|
-
}>;
|
|
5665
|
-
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
5666
|
-
lastFields: _measured_puck.Fields<TextListProps, {}>;
|
|
5667
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5668
|
-
appState: _measured_puck.AppState;
|
|
5669
|
-
parent: _measured_puck.ComponentData | null;
|
|
5670
|
-
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
5671
|
-
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5672
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5673
|
-
id: string;
|
|
5674
|
-
}>;
|
|
5675
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5676
|
-
metadata: _measured_puck.Metadata;
|
|
5677
|
-
trigger: _measured_puck.ResolveDataTrigger;
|
|
5678
|
-
}) => (Omit<Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, "props"> & {
|
|
5679
|
-
props?: Partial<TextListProps> | undefined;
|
|
5680
|
-
}) | Promise<Omit<Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, "props"> & {
|
|
5681
|
-
props?: Partial<TextListProps> | undefined;
|
|
5682
|
-
}>) | undefined;
|
|
5683
|
-
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5684
|
-
changed: Partial<Record<"list", boolean> & {
|
|
5685
|
-
id: string;
|
|
5686
|
-
}>;
|
|
5687
|
-
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
5688
|
-
permissions: Partial<_measured_puck.Permissions>;
|
|
5689
|
-
appState: _measured_puck.AppState;
|
|
5690
|
-
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
5691
|
-
}) => Promise<Partial<_measured_puck.Permissions>> | Partial<_measured_puck.Permissions>) | undefined;
|
|
5692
|
-
metadata?: _measured_puck.Metadata;
|
|
5693
|
-
};
|
|
5694
5660
|
TeamCard: {
|
|
5695
5661
|
permissions: {
|
|
5696
5662
|
delete: boolean;
|
|
@@ -5884,7 +5850,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5884
5850
|
fields?: _measured_puck.Fields<TextListProps, {}> | undefined;
|
|
5885
5851
|
inline?: boolean;
|
|
5886
5852
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5887
|
-
changed: Partial<Record<
|
|
5853
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5888
5854
|
id: string;
|
|
5889
5855
|
}>;
|
|
5890
5856
|
fields: _measured_puck.Fields<TextListProps, {}>;
|
|
@@ -5894,7 +5860,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5894
5860
|
parent: _measured_puck.ComponentData | null;
|
|
5895
5861
|
}) => _measured_puck.Fields<TextListProps, {}> | Promise<_measured_puck.Fields<TextListProps, {}>>) | undefined;
|
|
5896
5862
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5897
|
-
changed: Partial<Record<
|
|
5863
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5898
5864
|
id: string;
|
|
5899
5865
|
}>;
|
|
5900
5866
|
lastData: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -5906,7 +5872,7 @@ declare const SlotsCategoryComponents: {
|
|
|
5906
5872
|
props?: Partial<TextListProps> | undefined;
|
|
5907
5873
|
}>) | undefined;
|
|
5908
5874
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<TextListProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
5909
|
-
changed: Partial<Record<
|
|
5875
|
+
changed: Partial<Record<keyof TextListProps, boolean> & {
|
|
5910
5876
|
id: string;
|
|
5911
5877
|
}>;
|
|
5912
5878
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -6289,7 +6255,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6289
6255
|
fields?: _measured_puck.Fields<CopyrightMessageSlotProps, {}> | undefined;
|
|
6290
6256
|
inline?: boolean;
|
|
6291
6257
|
resolveFields?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6292
|
-
changed: Partial<Record<
|
|
6258
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6293
6259
|
id: string;
|
|
6294
6260
|
}>;
|
|
6295
6261
|
fields: _measured_puck.Fields<CopyrightMessageSlotProps, {}>;
|
|
@@ -6299,7 +6265,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6299
6265
|
parent: _measured_puck.ComponentData | null;
|
|
6300
6266
|
}) => _measured_puck.Fields<CopyrightMessageSlotProps, {}> | Promise<_measured_puck.Fields<CopyrightMessageSlotProps, {}>>) | undefined;
|
|
6301
6267
|
resolveData?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6302
|
-
changed: Partial<Record<
|
|
6268
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6303
6269
|
id: string;
|
|
6304
6270
|
}>;
|
|
6305
6271
|
lastData: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type"> | null;
|
|
@@ -6311,7 +6277,7 @@ declare const SlotsCategoryComponents: {
|
|
|
6311
6277
|
props?: Partial<CopyrightMessageSlotProps> | undefined;
|
|
6312
6278
|
}>) | undefined;
|
|
6313
6279
|
resolvePermissions?: ((data: Omit<_measured_puck.ComponentData<CopyrightMessageSlotProps, string, Record<string, _measured_puck.DefaultComponentProps>>, "type">, params: {
|
|
6314
|
-
changed: Partial<Record<
|
|
6280
|
+
changed: Partial<Record<keyof CopyrightMessageSlotProps, boolean> & {
|
|
6315
6281
|
id: string;
|
|
6316
6282
|
}>;
|
|
6317
6283
|
lastPermissions: Partial<_measured_puck.Permissions>;
|
|
@@ -6603,7 +6569,7 @@ interface DirectoryConfigProps extends DirectoryCategoryProps, SlotsCategoryProp
|
|
|
6603
6569
|
}
|
|
6604
6570
|
declare const directoryConfig: Config<DirectoryConfigProps>;
|
|
6605
6571
|
|
|
6606
|
-
interface LocatorConfigProps extends LocatorCategoryProps, DeprecatedCategoryProps, OtherCategoryProps {
|
|
6572
|
+
interface LocatorConfigProps extends LocatorCategoryProps, SlotsCategoryProps, DeprecatedCategoryProps, OtherCategoryProps {
|
|
6607
6573
|
BannerSection: BannerSectionProps;
|
|
6608
6574
|
}
|
|
6609
6575
|
declare const locatorConfig: Config<LocatorConfigProps>;
|