@yext/visual-editor 1.1.1 → 1.2.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.
Files changed (80) hide show
  1. package/dist/editor.css +1 -1
  2. package/dist/index.d.ts +173 -120
  3. package/dist/plugin/plugin.js +131 -110
  4. package/dist/{visual-editor-DMQzroun.js → visual-editor--_BC_6UD.js} +159 -153
  5. package/dist/{visual-editor-BkdlKi3o.js → visual-editor-5SNzvw5Y.js} +134 -128
  6. package/dist/visual-editor-5viILmK2.js +223 -0
  7. package/dist/visual-editor-8M5Hqx4X.js +211 -0
  8. package/dist/visual-editor-B25725d2.js +211 -0
  9. package/dist/{visual-editor-BJBnRYu6.js → visual-editor-B76RxU87.js} +240 -234
  10. package/dist/{visual-editor-Bj4P3dJx.js → visual-editor-BBOinHIe.js} +113 -107
  11. package/dist/{visual-editor-iFfw9PKM.js → visual-editor-BQuji8zo.js} +136 -130
  12. package/dist/{visual-editor-CHP8EORC.js → visual-editor-BVQuqld6.js} +112 -106
  13. package/dist/{visual-editor-Bx5EicS9.js → visual-editor-BWPq78Qw.js} +123 -117
  14. package/dist/visual-editor-BwrhuMAN.js +199 -0
  15. package/dist/{visual-editor-BUeqxUUb.js → visual-editor-C1KwbJQV.js} +134 -128
  16. package/dist/{visual-editor-C67NlNGm.js → visual-editor-C2CEpqwe.js} +145 -139
  17. package/dist/visual-editor-C2dpF5F8.js +211 -0
  18. package/dist/{visual-editor-BvA_Epm-.js → visual-editor-C8M03jq3.js} +115 -109
  19. package/dist/visual-editor-C9gJjr-S.js +199 -0
  20. package/dist/visual-editor-CBHqDMaW.js +223 -0
  21. package/dist/visual-editor-CMmyMiWT.js +199 -0
  22. package/dist/visual-editor-CNE02o_H.js +211 -0
  23. package/dist/visual-editor-COJhU5Y-.js +199 -0
  24. package/dist/visual-editor-CPKET4Hk.js +211 -0
  25. package/dist/{visual-editor-C0CIIRiN.js → visual-editor-C_-4ABIH.js} +136 -130
  26. package/dist/visual-editor-CaBeaBn6.js +199 -0
  27. package/dist/{visual-editor-BzlZGeRT.js → visual-editor-Cb4STUVq.js} +130 -124
  28. package/dist/{visual-editor-CY-m7io-.js → visual-editor-CgYnXHt5.js} +158 -152
  29. package/dist/{visual-editor-Fa87d0sP.js → visual-editor-CmwwapsT.js} +135 -129
  30. package/dist/visual-editor-CqOv3Qi-.js +199 -0
  31. package/dist/visual-editor-CrSHjfq2.js +199 -0
  32. package/dist/{visual-editor-Dos-fEcc.js → visual-editor-Cw50-3Ie.js} +139 -133
  33. package/dist/{visual-editor-DDBEf0yp.js → visual-editor-CzXf04HL.js} +194 -188
  34. package/dist/{visual-editor-W8RQhdF9.js → visual-editor-D-VY6Vld.js} +112 -106
  35. package/dist/{visual-editor-CSjSSW-b.js → visual-editor-DN2q-iMG.js} +112 -106
  36. package/dist/{visual-editor-DANOcoFk.js → visual-editor-DRqsvd4g.js} +122 -116
  37. package/dist/{visual-editor-DDvmUepl.js → visual-editor-DY3OUO2L.js} +121 -115
  38. package/dist/visual-editor-DeUPgs0w.js +199 -0
  39. package/dist/visual-editor-Dhi0FdVd.js +199 -0
  40. package/dist/visual-editor-Dj53QzhR.js +207 -0
  41. package/dist/visual-editor-DlW_yHKs.js +211 -0
  42. package/dist/{visual-editor-BjnmZQ3W.js → visual-editor-DrkYvKxe.js} +126 -120
  43. package/dist/visual-editor-Du-OtXB5.js +199 -0
  44. package/dist/visual-editor-EMklzKJd.js +199 -0
  45. package/dist/visual-editor-EN8CT9E3.js +199 -0
  46. package/dist/visual-editor-H4pE1deN.js +223 -0
  47. package/dist/visual-editor-Sp-srIpj.js +199 -0
  48. package/dist/{visual-editor-Epu9UTyC.js → visual-editor-adUa8gk2.js} +126 -120
  49. package/dist/{visual-editor-OT2J3tl1.js → visual-editor-dvq1yloE.js} +130 -124
  50. package/dist/visual-editor-f0OGRIJQ.js +199 -0
  51. package/dist/{visual-editor-Dv03mx0l.js → visual-editor-kfwVvauU.js} +153 -147
  52. package/dist/{visual-editor-iDger-lo.js → visual-editor-q25Hd_I3.js} +133 -127
  53. package/dist/visual-editor-qqxBEEkD.js +223 -0
  54. package/dist/visual-editor.js +16643 -15828
  55. package/package.json +6 -7
  56. package/dist/visual-editor-B1g1zuGA.js +0 -197
  57. package/dist/visual-editor-BYS2Ltqo.js +0 -197
  58. package/dist/visual-editor-BZsYFw5Y.js +0 -197
  59. package/dist/visual-editor-B_hM9xz0.js +0 -197
  60. package/dist/visual-editor-Bqbe9eY3.js +0 -209
  61. package/dist/visual-editor-BtG64Fhc.js +0 -209
  62. package/dist/visual-editor-Bz2F1AP3.js +0 -209
  63. package/dist/visual-editor-CB6pY2S6.js +0 -197
  64. package/dist/visual-editor-CC6NDyDt.js +0 -197
  65. package/dist/visual-editor-CG5u_8Wq.js +0 -209
  66. package/dist/visual-editor-CGQpxjE0.js +0 -197
  67. package/dist/visual-editor-CJtwiWfR.js +0 -209
  68. package/dist/visual-editor-Ce7thgPY.js +0 -221
  69. package/dist/visual-editor-CjzKal3b.js +0 -205
  70. package/dist/visual-editor-DIVmTakP.js +0 -197
  71. package/dist/visual-editor-DL3JgtH-.js +0 -197
  72. package/dist/visual-editor-DMc0Aka2.js +0 -197
  73. package/dist/visual-editor-DWw0LdJe.js +0 -209
  74. package/dist/visual-editor-DYkTM2vr.js +0 -197
  75. package/dist/visual-editor-DwTwZYAH.js +0 -221
  76. package/dist/visual-editor-HYr72_rc.js +0 -197
  77. package/dist/visual-editor-Pb1OBn4r.js +0 -197
  78. package/dist/visual-editor-YRVOkD4u.js +0 -221
  79. package/dist/visual-editor-YiQJ3Exb.js +0 -221
  80. package/dist/visual-editor-oB2xWu3p.js +0 -197
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { TOptions } from 'i18next';
7
7
  import { ImageType, CTA as CTA$1, LinkType, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate, ListingType } from '@yext/pages-components';
8
8
  import { ClassValue } from 'clsx';
9
9
  import * as _puckeditor_core from '@puckeditor/core';
10
- import { Config, Data, DefaultComponentProps, DefaultRootProps, Field, ComponentConfig, CustomField, ArrayField, BaseField, ObjectField, NumberField, Fields, ComponentData, Slot } from '@puckeditor/core';
10
+ import { Data, DefaultComponentProps, DefaultRootProps, Config, Field, ComponentConfig, CustomField, ArrayField, BaseField, ObjectField, NumberField, Fields, ComponentData, Slot } from '@puckeditor/core';
11
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';
@@ -407,29 +407,22 @@ type RichText = {
407
407
  };
408
408
 
409
409
  /**
410
- * Applies a theme color as the background of a page section
411
- * @ai This value MUST be one of the following
412
- * { bgColor: "bg-white", textColor: "text-black" }
413
- * { bgColor: "bg-palette-primary-light", textColor: "text-black", isDarkBackground: false }
414
- * { bgColor: "bg-palette-secondary-light", textColor: "text-black", isDarkBackground: false }
415
- * { bgColor: "bg-palette-tertiary-light", textColor: "text-black", isDarkBackground: false }
416
- * { bgColor: "bg-palette-quaternary-light", textColor: "text-black", isDarkBackground: false }
417
- * { bgColor: "bg-palette-primary-dark", textColor: "text-white", isDarkBackground: true }
418
- * { bgColor: "bg-palette-secondary-dark", textColor: "text-white", isDarkBackground: true }
410
+ * An object representing a color based on the theme specified by the user.
419
411
  */
420
- type BackgroundStyle = {
421
- /** The tailwind background color class */
422
- bgColor: string;
423
- /** The tailwind text color class */
424
- textColor: string;
425
- /** Whether the background color is dark (for adjusting other styles based on background) */
426
- isDarkBackground?: boolean;
412
+ type ThemeColor = {
413
+ /** The theme color token selected by the user. */
414
+ selectedColor: string;
415
+ /** The theme color token that contrasts with the selectedColor. */
416
+ contrastingColor: string;
417
+ /**
418
+ * Whether the user-selected color is dark.
419
+ */
420
+ isDarkColor?: boolean;
427
421
  };
428
- type BackgroundOption = {
422
+ declare const backgroundColors: Record<string, {
429
423
  label: string;
430
- value: BackgroundStyle;
431
- };
432
- declare const backgroundColors: Record<string, BackgroundOption>;
424
+ value: ThemeColor;
425
+ }>;
433
426
  /** Corresponds to the different semantic heading levels */
434
427
  type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
435
428
  declare const defaultThemeTailwindExtensions: {
@@ -535,12 +528,13 @@ declare const ThemeOptions: {
535
528
  value: boolean;
536
529
  }[];
537
530
  };
531
+ declare const VisualEditorThemeClassSafelist: string[];
538
532
  declare const VisualEditorComponentsContentPath = "node_modules/@yext/visual-editor/dist/**/*.js";
539
533
 
540
- declare const useBackground: () => Required<BackgroundStyle> | undefined;
534
+ declare const useBackground: () => Required<ThemeColor> | undefined;
541
535
  declare const BackgroundProvider: ({ children, value, }: {
542
536
  children: ReactNode;
543
- value: Required<BackgroundStyle>;
537
+ value: Required<ThemeColor>;
544
538
  }) => react_jsx_runtime.JSX.Element;
545
539
 
546
540
  /**
@@ -706,16 +700,6 @@ declare const themeManagerTwMergeConfiguration: {
706
700
  };
707
701
  declare function themeManagerCn(...inputs: ClassValue[]): string;
708
702
 
709
- /**
710
- * Filters out gated layout components and categories from a Puck configuration object.
711
- *
712
- * @param config - The original Puck configuration object.
713
- * @param additionalLayoutComponents - An optional list of gated component names to keep.
714
- * @param additionalLayoutCategories - An optional list of gated category names to keep.
715
- * @returns A new, filtered configuration object.
716
- */
717
- declare const filterComponentsFromConfig: <C extends Config>(config: C, additionalLayoutComponents?: string[], additionalLayoutCategories?: string[]) => C;
718
-
719
703
  type RootConfig = {
720
704
  title?: string;
721
705
  description?: string;
@@ -760,7 +744,7 @@ declare const bodyVariants: (props?: ({
760
744
  variant?: "xs" | "sm" | "base" | "lg" | null | undefined;
761
745
  } & class_variance_authority_types.ClassProp) | undefined) => string;
762
746
  interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
763
- color?: BackgroundStyle;
747
+ color?: ThemeColor;
764
748
  }
765
749
  declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLParagraphElement>>;
766
750
 
@@ -799,15 +783,9 @@ type YextEntityField<T> = {
799
783
  constantValue: T;
800
784
  /** Whether to use the Yext field or the constant value */
801
785
  constantValueEnabled?: boolean;
802
- /**
803
- * Whether the field can be translated or not.
804
- * @ai always omit this property
805
- */
786
+ /** Whether the field can be translated or not. */
806
787
  disallowTranslation?: boolean;
807
- /**
808
- * Filter the embedded field input to this type.
809
- * @ai always omit this property
810
- */
788
+ /** Filter the embedded field input to this type. */
811
789
  selectedType?: string;
812
790
  };
813
791
 
@@ -844,7 +822,7 @@ type ResolveComponentDataOptions = {
844
822
  variant?: BodyProps["variant"];
845
823
  isDarkBackground?: boolean;
846
824
  className?: string;
847
- color?: BackgroundStyle;
825
+ color?: ThemeColor;
848
826
  output?: "render" | "plainText";
849
827
  };
850
828
  /**
@@ -1258,7 +1236,7 @@ type CTAProps = {
1258
1236
  ariaLabel?: string;
1259
1237
  onClick?: (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement, MouseEvent>) => void;
1260
1238
  disabled?: boolean;
1261
- color?: BackgroundStyle;
1239
+ color?: ThemeColor;
1262
1240
  openInNewTab?: boolean;
1263
1241
  /**
1264
1242
  * When true and variant is "link", applies vertical padding (py-3) to the CTA.
@@ -1286,7 +1264,7 @@ declare const headingVariants: (props?: ({
1286
1264
  interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
1287
1265
  level: HeadingLevel;
1288
1266
  semanticLevelOverride?: HeadingLevel | "span";
1289
- color?: BackgroundStyle;
1267
+ color?: ThemeColor;
1290
1268
  }
1291
1269
  declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
1292
1270
 
@@ -1335,6 +1313,7 @@ type MaybeLinkProps = {
1335
1313
  className?: string;
1336
1314
  eventName?: string;
1337
1315
  variant?: CTAVariant;
1316
+ color?: ThemeColor;
1338
1317
  alwaysHideCaret?: boolean;
1339
1318
  ariaLabel?: string;
1340
1319
  disabled?: boolean;
@@ -1354,7 +1333,7 @@ declare const maxWidthVariants: (props?: ({
1354
1333
  maxWidth?: "768px" | "960px" | "1024px" | "1280px" | "1440px" | "theme" | "fullWidth" | null | undefined;
1355
1334
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1356
1335
  interface PageSectionProps extends VariantProps<typeof maxWidthVariants>, React.HTMLAttributes<HTMLDivElement> {
1357
- background?: BackgroundStyle;
1336
+ background?: ThemeColor;
1358
1337
  verticalPadding?: VariantProps<typeof pageSectionVariants>["verticalPadding"];
1359
1338
  as?: "div" | "section" | "nav" | "header" | "footer" | "main" | "aside";
1360
1339
  outerClassName?: string;
@@ -1366,16 +1345,17 @@ type PhoneAtomProps = {
1366
1345
  phoneNumber: string;
1367
1346
  label?: string;
1368
1347
  eventName?: string;
1369
- backgroundColor?: BackgroundStyle;
1348
+ backgroundColor?: ThemeColor;
1370
1349
  format: "domestic" | "international" | undefined;
1371
1350
  includeHyperlink: boolean;
1372
1351
  includeIcon: boolean;
1352
+ linkColor?: ThemeColor;
1373
1353
  onClick?: () => void;
1374
1354
  };
1375
1355
  declare const PhoneAtom: (props: PhoneAtomProps) => react_jsx_runtime.JSX.Element;
1376
1356
 
1377
1357
  interface BackgroundProps extends React.HTMLAttributes<HTMLDivElement> {
1378
- background?: BackgroundStyle;
1358
+ background?: ThemeColor;
1379
1359
  as?: "div" | "section" | "nav" | "header" | "footer" | "main" | "aside";
1380
1360
  }
1381
1361
  declare const Background: React.ForwardRefExoticComponent<BackgroundProps & React.RefAttributes<HTMLDivElement>>;
@@ -1432,6 +1412,7 @@ type ReviewStarsProps = {
1432
1412
  averageRating: number;
1433
1413
  reviewCount?: number;
1434
1414
  className?: string;
1415
+ color?: ThemeColor;
1435
1416
  };
1436
1417
  declare const ReviewStars: (props: ReviewStarsProps) => react_jsx_runtime.JSX.Element;
1437
1418
  /**
@@ -1455,7 +1436,7 @@ declare const layoutVariants: (props?: ({
1455
1436
  columnFormatting?: "default" | "none" | "forceHorizontal" | null | undefined;
1456
1437
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1457
1438
  interface layoutProps extends VariantProps<typeof layoutVariants> {
1458
- backgroundColor?: BackgroundStyle;
1439
+ backgroundColor?: ThemeColor;
1459
1440
  }
1460
1441
 
1461
1442
  interface GridProps extends layoutProps {
@@ -1493,12 +1474,12 @@ interface AddressProps {
1493
1474
  showGetDirectionsLink: boolean;
1494
1475
  /** The variant of the get directions button */
1495
1476
  ctaVariant: CTAVariant;
1496
- color?: BackgroundStyle;
1477
+ color?: ThemeColor;
1497
1478
  };
1498
1479
  /** @internal */
1499
1480
  parentData?: {
1500
1481
  field: string;
1501
- address: AddressType;
1482
+ address?: AddressType;
1502
1483
  };
1503
1484
  }
1504
1485
  declare const Address: ComponentConfig<{
@@ -1514,7 +1495,7 @@ type BodyTextProps = {
1514
1495
  /** The size of the body text. */
1515
1496
  variant: BodyProps["variant"];
1516
1497
  /** The color of the body text. */
1517
- color?: BackgroundStyle;
1498
+ color?: ThemeColor;
1518
1499
  };
1519
1500
  /**
1520
1501
  * @internal Controlled data from the parent section.
@@ -1561,7 +1542,7 @@ interface CTAWrapperProps {
1561
1542
  variant: CTAVariant;
1562
1543
  /** The image to use if the CTA is set to preset image */
1563
1544
  presetImage?: PresetImageType;
1564
- color?: BackgroundStyle;
1545
+ color?: ThemeColor;
1565
1546
  };
1566
1547
  /** Additional CSS classes to apply to the CTA. */
1567
1548
  className?: string;
@@ -1588,6 +1569,8 @@ interface EmailsProps {
1588
1569
  styles?: {
1589
1570
  listLength?: number;
1590
1571
  showIcon?: boolean;
1572
+ /** The color applied to both the email icon background and the email link. */
1573
+ color?: ThemeColor;
1591
1574
  };
1592
1575
  /** @internal Event name to be used for click analytics */
1593
1576
  eventName?: string;
@@ -1601,7 +1584,7 @@ declare const Emails: ComponentConfig<EmailsProps>;
1601
1584
 
1602
1585
  type GetDirectionsProps = {
1603
1586
  variant: CTAVariant;
1604
- color?: BackgroundStyle;
1587
+ color?: ThemeColor;
1605
1588
  };
1606
1589
  declare const GetDirections: ComponentConfig<{
1607
1590
  props: GetDirectionsProps;
@@ -1620,12 +1603,12 @@ type HeadingTextProps = {
1620
1603
  align: "left" | "center" | "right";
1621
1604
  /** Optional override to render a different HTML tag instead of the one based on the level */
1622
1605
  semanticLevelOverride?: HeadingLevel | "span";
1623
- color?: BackgroundStyle;
1606
+ color?: ThemeColor;
1624
1607
  };
1625
1608
  /** @internal Controlled data from the parent section */
1626
1609
  parentData?: {
1627
1610
  field: string;
1628
- text: string | undefined;
1611
+ text?: string;
1629
1612
  };
1630
1613
  };
1631
1614
  declare const HeadingText: ComponentConfig<{
@@ -1678,8 +1661,8 @@ interface HoursStatusProps {
1678
1661
  /** @internal */
1679
1662
  parentData?: {
1680
1663
  field: string;
1681
- hours: HoursType;
1682
- timezone: string;
1664
+ hours?: HoursType;
1665
+ timezone?: string;
1683
1666
  };
1684
1667
  }
1685
1668
  declare const HoursStatus: ComponentConfig<HoursStatusProps>;
@@ -1741,11 +1724,13 @@ interface PhoneProps {
1741
1724
  includePhoneHyperlink: boolean;
1742
1725
  /** Whether to include the phone icon, defaults to true */
1743
1726
  includeIcon?: boolean;
1727
+ /** The color applied to both the phone icon background and the phone link. */
1728
+ color?: ThemeColor;
1744
1729
  };
1745
1730
  /** @internal */
1746
1731
  parentData?: {
1747
1732
  field: string;
1748
- phoneNumber: string;
1733
+ phoneNumber?: string;
1749
1734
  };
1750
1735
  }
1751
1736
  declare const Phone: ComponentConfig<{
@@ -1769,7 +1754,7 @@ type BasicCTAProps = {
1769
1754
  variant: CTAVariant;
1770
1755
  /** The image to use if the CTA is set to preset image */
1771
1756
  presetImage?: PresetImageType;
1772
- color?: BackgroundStyle;
1757
+ color?: ThemeColor;
1773
1758
  };
1774
1759
  interface CTAGroupProps {
1775
1760
  buttons: BasicCTAProps[];
@@ -1787,7 +1772,7 @@ type TextProps = {
1787
1772
  /** The size of the text. */
1788
1773
  variant: BodyProps["variant"];
1789
1774
  /** Optional text color override. */
1790
- color?: BackgroundStyle;
1775
+ color?: ThemeColor;
1791
1776
  /** Optional font style override. */
1792
1777
  fontStyle: "regular" | "bold" | "italic";
1793
1778
  };
@@ -2476,12 +2461,16 @@ interface DirectoryStyles {
2476
2461
  * The background color for the directory page heading area.
2477
2462
  * @defaultValue Background Color 1
2478
2463
  */
2479
- backgroundColor: BackgroundStyle;
2464
+ backgroundColor: ThemeColor;
2480
2465
  /**
2481
2466
  * The background color for the directory list area.
2482
2467
  * @defaultValue Background Color 1
2483
2468
  */
2484
- listBackgroundColor: BackgroundStyle;
2469
+ listBackgroundColor: ThemeColor;
2470
+ /**
2471
+ * The color of links in the directory list layout.
2472
+ */
2473
+ linkColor?: ThemeColor;
2485
2474
  }
2486
2475
  interface DirectoryProps {
2487
2476
  /**
@@ -2585,7 +2574,7 @@ interface LocatorResultCardProps {
2585
2574
  * The color applied to the primary heading text
2586
2575
  * @defaultValue inherited from theme
2587
2576
  */
2588
- color?: BackgroundStyle;
2577
+ color?: ThemeColor;
2589
2578
  };
2590
2579
  /** Settings for the secondary heading of the card */
2591
2580
  secondaryHeading: {
@@ -2615,6 +2604,8 @@ interface LocatorResultCardProps {
2615
2604
  };
2616
2605
  /** Whether to show icons for certain fields */
2617
2606
  icons: boolean;
2607
+ /** The accent color used for icon backgrounds and contact/action links. */
2608
+ accentColor?: ThemeColor;
2618
2609
  /** Settings for the hours block */
2619
2610
  hours: {
2620
2611
  /** The field from the data to use for the hours */
@@ -2758,7 +2749,7 @@ interface LocatorProps {
2758
2749
  iconName?: string;
2759
2750
  };
2760
2751
  /** The color applied to the pin. */
2761
- pinColor?: BackgroundStyle;
2752
+ pinColor?: ThemeColor;
2762
2753
  }>;
2763
2754
  /**
2764
2755
  * Configuration for the filters available in the locator search experience.
@@ -2775,6 +2766,8 @@ interface LocatorProps {
2775
2766
  * @defaultValue false
2776
2767
  */
2777
2768
  showDistanceOptions: boolean;
2769
+ /** Accent color for filter button and icons. */
2770
+ accentColor?: ThemeColor;
2778
2771
  /** Which fields are facetable in the search experience */
2779
2772
  facetFields?: DynamicOptionsSelectorType<string>;
2780
2773
  };
@@ -2796,7 +2789,7 @@ interface LocatorProps {
2796
2789
  * The color applied to the locator page title.
2797
2790
  * @defaultValue inherited from theme
2798
2791
  */
2799
- color?: BackgroundStyle;
2792
+ color?: ThemeColor;
2800
2793
  };
2801
2794
  /**
2802
2795
  * Props to customize the locator result card component.
@@ -2909,13 +2902,26 @@ interface ExpandedFooterData {
2909
2902
  * expandedFooter: true uses multiple columns of expandedFooterLinks.
2910
2903
  */
2911
2904
  expandedFooter: boolean;
2905
+ /** Whether to show the logo in the primary footer. */
2906
+ showLogo: boolean;
2907
+ /** Whether to show social links in the primary footer. */
2908
+ showSocialLinks: boolean;
2909
+ /** Whether to show utility images in the primary footer. */
2910
+ showUtilityImages: boolean;
2911
+ };
2912
+ /** Content for the secondary footer bar. */
2913
+ secondaryFooter: {
2914
+ /** Whether to show the secondary footer. */
2915
+ show: boolean;
2912
2916
  };
2913
2917
  }
2914
2918
  interface ExpandedFooterStyles {
2915
2919
  /** Styling for the primary footer bar. */
2916
2920
  primaryFooter: {
2917
- backgroundColor?: BackgroundStyle;
2921
+ backgroundColor?: ThemeColor;
2918
2922
  linksPosition: "left" | "right";
2923
+ desktopContentAlignment: "left" | "center" | "right";
2924
+ mobileContentAlignment: "left" | "center" | "right";
2919
2925
  };
2920
2926
  /** The maximum width of the footer. */
2921
2927
  maxWidth: PageSectionProps["maxWidth"];
@@ -2950,8 +2956,9 @@ interface ExpandedFooterProps {
2950
2956
  ignoreLocaleWarning?: string[];
2951
2957
  }
2952
2958
  /**
2953
- * 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.
2954
- * Avalible on Location templates.
2959
+ * The Expanded Footer is a comprehensive, two-tiered site-wide component for large websites.
2960
+ * 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.
2961
+ * It also includes an optional secondary sub-footer for copyright notices and legal links.
2955
2962
  */
2956
2963
  declare const ExpandedFooter: ComponentConfig<{
2957
2964
  props: ExpandedFooterProps;
@@ -3140,7 +3147,11 @@ type AboutSectionProps = {
3140
3147
  * The background color of the section.
3141
3148
  * @defaultValue Background Color 2
3142
3149
  */
3143
- backgroundColor?: BackgroundStyle;
3150
+ backgroundColor?: ThemeColor;
3151
+ /**
3152
+ * The read more/read less button color.
3153
+ */
3154
+ readMoreButtonColor?: ThemeColor;
3144
3155
  /**
3145
3156
  * If 'true', the sidebar with additional details is shown; if 'false', it's hidden.
3146
3157
  * @defaultValue true
@@ -3175,12 +3186,12 @@ interface BannerStyles {
3175
3186
  * The background color of the section.
3176
3187
  * @defaultValue Background Color 6
3177
3188
  */
3178
- backgroundColor?: BackgroundStyle;
3189
+ backgroundColor?: ThemeColor;
3179
3190
  /**
3180
3191
  * Optional text color for the banner text.
3181
3192
  * If not set, it will default to a color that contrasts with the background color.
3182
3193
  */
3183
- textColor?: BackgroundStyle;
3194
+ textColor?: ThemeColor;
3184
3195
  /**
3185
3196
  * The horizontal alignment of the text.
3186
3197
  * @defaultValue center
@@ -3234,7 +3245,11 @@ interface BreadcrumbsStyles {
3234
3245
  * The background color of the section.
3235
3246
  * @defaultValue Background Color 1
3236
3247
  */
3237
- backgroundColor?: BackgroundStyle;
3248
+ backgroundColor?: ThemeColor;
3249
+ /**
3250
+ * The link color of breadcrumbs.
3251
+ */
3252
+ linkColor?: ThemeColor;
3238
3253
  /**
3239
3254
  * Whether to show the current page's link in the breadcrumb trail (last link).
3240
3255
  * @defaultValue true
@@ -3280,7 +3295,7 @@ interface CoreInfoStyles {
3280
3295
  * The background color of the section.
3281
3296
  * @defaultValue `Background Color 1`
3282
3297
  */
3283
- backgroundColor?: BackgroundStyle;
3298
+ backgroundColor?: ThemeColor;
3284
3299
  }
3285
3300
  interface CoreInfoSectionProps {
3286
3301
  /**
@@ -3332,7 +3347,7 @@ interface EventSectionProps {
3332
3347
  * The background color of the section.
3333
3348
  * @defaultValue Background Color 3
3334
3349
  */
3335
- backgroundColor?: BackgroundStyle;
3350
+ backgroundColor?: ThemeColor;
3336
3351
  /**
3337
3352
  * Whether to show the section heading.
3338
3353
  * @defaultValue true
@@ -3376,7 +3391,7 @@ interface HeroStyles {
3376
3391
  * The background color for the featured content (spotlight variant).
3377
3392
  * @defaultValue Background Color 1
3378
3393
  */
3379
- backgroundColor?: BackgroundStyle;
3394
+ backgroundColor?: ThemeColor;
3380
3395
  /**
3381
3396
  * Image Height for the hero image with Immersive or Spotlight variant
3382
3397
  * Minimum height: content height + Page Section Top/Bottom Padding
@@ -3423,6 +3438,10 @@ interface HeroStyles {
3423
3438
  * @defaultValue true
3424
3439
  */
3425
3440
  showAverageReview: boolean;
3441
+ /**
3442
+ * The color applied to review stars when average review is shown.
3443
+ */
3444
+ reviewStarsColor?: ThemeColor;
3426
3445
  /**
3427
3446
  * Whether to show the primary CTA.
3428
3447
  * @defaultValue true
@@ -3486,7 +3505,7 @@ interface InsightSectionProps {
3486
3505
  * The background color for the entire section.
3487
3506
  * @defaultValue Background Color 2
3488
3507
  */
3489
- backgroundColor?: BackgroundStyle;
3508
+ backgroundColor?: ThemeColor;
3490
3509
  /**
3491
3510
  * Whether to show the section heading.
3492
3511
  * @defaultValue true
@@ -3525,7 +3544,7 @@ interface NearbyLocationsSectionProps {
3525
3544
  * The background color for the entire section.
3526
3545
  * @defaultValue Background Color 1
3527
3546
  */
3528
- backgroundColor?: BackgroundStyle;
3547
+ backgroundColor?: ThemeColor;
3529
3548
  /**
3530
3549
  * Whether to show the section heading.
3531
3550
  * @defaultValue true
@@ -3566,7 +3585,7 @@ interface ProductSectionProps {
3566
3585
  * The background color for the entire section.
3567
3586
  * @defaultValue Background Color 2
3568
3587
  */
3569
- backgroundColor?: BackgroundStyle;
3588
+ backgroundColor?: ThemeColor;
3570
3589
  /**
3571
3590
  * The variant of the product cards.
3572
3591
  * @defaultValue Immersive
@@ -3627,7 +3646,7 @@ interface PromoStyles {
3627
3646
  * The background color for the entire section.
3628
3647
  * @defaultValue Background Color 1
3629
3648
  */
3630
- backgroundColor?: BackgroundStyle;
3649
+ backgroundColor?: ThemeColor;
3631
3650
  /**
3632
3651
  * Positions the media to the left or right of the promo content on desktop (classic and compact variants).
3633
3652
  * @defaultValue right
@@ -3712,7 +3731,7 @@ interface PhotoGalleryStyles {
3712
3731
  * The background color for the entire section, selected from the theme.
3713
3732
  * @defaultValue Background Color 1
3714
3733
  */
3715
- backgroundColor?: BackgroundStyle;
3734
+ backgroundColor?: ThemeColor;
3716
3735
  /**
3717
3736
  * The layout style for displaying images in the gallery.
3718
3737
  * @defaultValue "gallery"
@@ -3754,7 +3773,7 @@ interface FAQStyles {
3754
3773
  * The background color of the section.
3755
3774
  * @defaultValue Background Color 3
3756
3775
  */
3757
- backgroundColor?: BackgroundStyle;
3776
+ backgroundColor?: ThemeColor;
3758
3777
  /**
3759
3778
  * Whether to show the section heading.
3760
3779
  * @defaultValue true
@@ -3805,7 +3824,11 @@ interface ReviewsSectionProps {
3805
3824
  * The background color of the section.
3806
3825
  * @defaultValue Background Color 1
3807
3826
  */
3808
- backgroundColor?: BackgroundStyle;
3827
+ backgroundColor?: ThemeColor;
3828
+ /**
3829
+ * Accent color used for show more/show less and pagination controls.
3830
+ */
3831
+ accentColor?: ThemeColor;
3809
3832
  /**
3810
3833
  * Whether to show the section heading.
3811
3834
  * @defaultValue true
@@ -3844,7 +3867,7 @@ interface TestimonialSectionProps {
3844
3867
  * The background color of the section.
3845
3868
  * @defaultValue Background Color 2
3846
3869
  */
3847
- backgroundColor?: BackgroundStyle;
3870
+ backgroundColor?: ThemeColor;
3848
3871
  /**
3849
3872
  * Whether to show the section heading.
3850
3873
  * @defaultValue true
@@ -3884,7 +3907,7 @@ interface TeamSectionProps {
3884
3907
  * The background color of the section.
3885
3908
  * @defaultValue Background Color 3
3886
3909
  */
3887
- backgroundColor?: BackgroundStyle;
3910
+ backgroundColor?: ThemeColor;
3888
3911
  /**
3889
3912
  * Whether to show the section heading.
3890
3913
  * @defaultValue true
@@ -3926,7 +3949,7 @@ interface StaticMapStyles {
3926
3949
  * The background color of the section.
3927
3950
  * @defaultValue Background Color 1
3928
3951
  */
3929
- backgroundColor?: BackgroundStyle;
3952
+ backgroundColor?: ThemeColor;
3930
3953
  /**
3931
3954
  * The style of the map to be displayed.
3932
3955
  * @defaultValue Default (streets-v12)
@@ -3968,7 +3991,7 @@ interface VideoSectionProps {
3968
3991
  * The background color for the entire section, selected from the theme.
3969
3992
  * @defaultValue Background Color 1
3970
3993
  */
3971
- backgroundColor?: BackgroundStyle;
3994
+ backgroundColor?: ThemeColor;
3972
3995
  };
3973
3996
  slots: {
3974
3997
  SectionHeadingSlot: Slot;
@@ -3993,12 +4016,16 @@ interface ProfessionalHeroStyles {
3993
4016
  * The background color for the section.
3994
4017
  * @defaultValue Background Color 1
3995
4018
  */
3996
- backgroundColor?: BackgroundStyle;
4019
+ backgroundColor?: ThemeColor;
3997
4020
  /**
3998
4021
  * If 'true', displays the entity's average review rating.
3999
4022
  * @defaultValue true
4000
4023
  */
4001
4024
  showAverageReview: boolean;
4025
+ /**
4026
+ * The color applied to review stars when average review is shown.
4027
+ */
4028
+ reviewStarsColor?: ThemeColor;
4002
4029
  /**
4003
4030
  * Whether to show the hero image.
4004
4031
  * @defaultValue true
@@ -4925,7 +4952,7 @@ interface FooterProps {
4925
4952
  * The background color for the entire footer section.
4926
4953
  * @defaultValue Background Color 1
4927
4954
  */
4928
- backgroundColor?: BackgroundStyle;
4955
+ backgroundColor?: ThemeColor;
4929
4956
  /** @internal */
4930
4957
  analytics: {
4931
4958
  scope?: string;
@@ -5057,6 +5084,7 @@ interface FooterSocialLinksSlotProps {
5057
5084
  styles?: {
5058
5085
  filledBackground?: boolean;
5059
5086
  mobileAlignment?: "left" | "center";
5087
+ iconColor?: ThemeColor;
5060
5088
  };
5061
5089
  }
5062
5090
  declare const FooterSocialLinksSlot: ComponentConfig<{
@@ -5136,7 +5164,7 @@ type ProductCardProps = {
5136
5164
  /** The background color of each individual card
5137
5165
  * @defaultValue Background Color 1
5138
5166
  */
5139
- backgroundColor?: BackgroundStyle;
5167
+ backgroundColor?: ThemeColor;
5140
5168
  };
5141
5169
  /** @internal */
5142
5170
  slots: {
@@ -5191,7 +5219,7 @@ type EventCardProps = {
5191
5219
  /** Styling for all the cards. */
5192
5220
  styles: {
5193
5221
  /** The background color of each event card */
5194
- backgroundColor?: BackgroundStyle;
5222
+ backgroundColor?: ThemeColor;
5195
5223
  /** Whether to truncate the event description text */
5196
5224
  truncateDescription: boolean;
5197
5225
  };
@@ -5275,14 +5303,14 @@ type NearbyLocationCardsWrapperProps = {
5275
5303
  /** Styling for the individual location cards. */
5276
5304
  styles: {
5277
5305
  /** The card background color. */
5278
- backgroundColor?: BackgroundStyle;
5306
+ backgroundColor?: ThemeColor;
5279
5307
  /** The heading level for the card title. */
5280
5308
  headingLevel?: HeadingLevel;
5281
5309
  /**
5282
5310
  * The color applied to the card title
5283
5311
  * @defaultValue inherited from theme
5284
5312
  */
5285
- color?: BackgroundStyle;
5313
+ color?: ThemeColor;
5286
5314
  /** Styling for the hours display on each card. */
5287
5315
  hours: {
5288
5316
  /** Whether to display the current status ("Open Now" or "Closed") */
@@ -5305,6 +5333,10 @@ type NearbyLocationCardsWrapperProps = {
5305
5333
  * @defaultValue false
5306
5334
  */
5307
5335
  phoneNumberLink: boolean;
5336
+ /**
5337
+ * The color applied to phone links (and icon if enabled) on each card.
5338
+ */
5339
+ color?: ThemeColor;
5308
5340
  };
5309
5341
  /** Styling for the address on each card */
5310
5342
  address?: {
@@ -5350,7 +5382,7 @@ type InsightCardProps = {
5350
5382
  /** Styling for all the cards. */
5351
5383
  styles: {
5352
5384
  /** The background color of each insight card */
5353
- backgroundColor?: BackgroundStyle;
5385
+ backgroundColor?: ThemeColor;
5354
5386
  };
5355
5387
  /** @internal */
5356
5388
  slots: {
@@ -5399,6 +5431,8 @@ interface PhotoGalleryWrapperProps {
5399
5431
  styles: {
5400
5432
  /** Styling options for the gallery images, such as aspect ratio. */
5401
5433
  image: ImageStylingProps;
5434
+ /** Accent color used for carousel arrows and slide indicators. */
5435
+ accentColor?: ThemeColor;
5402
5436
  /**
5403
5437
  * Number of images to show in carousel variant at once, either 1, 2, or 3.
5404
5438
  * In Mobile view, only 1 image is shown at a time regardless of this setting.
@@ -5421,7 +5455,7 @@ type FAQCardProps = {
5421
5455
  styles: {
5422
5456
  questionVariant: BodyProps["variant"];
5423
5457
  answerVariant: BodyProps["variant"];
5424
- answerColor?: BackgroundStyle;
5458
+ answerColor?: ThemeColor;
5425
5459
  };
5426
5460
  /** @internal */
5427
5461
  slots: {};
@@ -5448,7 +5482,7 @@ type TeamCardProps = {
5448
5482
  /** Styling for all the cards. */
5449
5483
  styles: {
5450
5484
  /** The background color of each team card */
5451
- backgroundColor?: BackgroundStyle;
5485
+ backgroundColor?: ThemeColor;
5452
5486
  };
5453
5487
  /** @internal */
5454
5488
  slots: {
@@ -5504,7 +5538,7 @@ type TestimonialCardProps = {
5504
5538
  /** Styling for all the cards. */
5505
5539
  styles: {
5506
5540
  /** The background color of each testimonial card */
5507
- backgroundColor?: BackgroundStyle;
5541
+ backgroundColor?: ThemeColor;
5508
5542
  };
5509
5543
  /** @internal */
5510
5544
  slots: {
@@ -5557,6 +5591,10 @@ interface FooterUtilityImagesSlotProps {
5557
5591
  width?: number;
5558
5592
  aspectRatio?: number;
5559
5593
  };
5594
+ /** @internal */
5595
+ desktopContentAlignment?: "left" | "center" | "right";
5596
+ /** @internal */
5597
+ mobileContentAlignment?: "left" | "center" | "right";
5560
5598
  }
5561
5599
  declare const FooterUtilityImagesSlot: ComponentConfig<{
5562
5600
  props: FooterUtilityImagesSlotProps;
@@ -5566,12 +5604,15 @@ interface FooterLinksSlotProps {
5566
5604
  data: {
5567
5605
  links: TranslatableCTA[];
5568
5606
  };
5607
+ color?: ThemeColor;
5569
5608
  /** @internal */
5570
5609
  variant?: "primary" | "secondary";
5571
5610
  /** @internal */
5572
5611
  eventNamePrefix?: string;
5573
5612
  /** @internal */
5574
- alignment?: "left" | "center" | "right";
5613
+ desktopContentAlignment?: "left" | "center" | "right";
5614
+ /** @internal */
5615
+ mobileContentAlignment?: "left" | "center" | "right";
5575
5616
  }
5576
5617
  declare const FooterLinksSlot: ComponentConfig<{
5577
5618
  props: FooterLinksSlotProps;
@@ -5582,6 +5623,10 @@ interface FooterExpandedLinkSectionSlotProps {
5582
5623
  label: YextEntityField<TranslatableString>;
5583
5624
  links: TranslatableCTA[];
5584
5625
  };
5626
+ styles?: {
5627
+ /** Color applied to section label and links. */
5628
+ color?: ThemeColor;
5629
+ };
5585
5630
  /** @internal */
5586
5631
  index?: number;
5587
5632
  }
@@ -5596,6 +5641,13 @@ interface FooterExpandedLinksWrapperProps {
5596
5641
  links: TranslatableCTA[];
5597
5642
  }[];
5598
5643
  };
5644
+ styles?: {
5645
+ color?: ThemeColor;
5646
+ };
5647
+ /** @internal */
5648
+ desktopContentAlignment?: "left" | "center" | "right";
5649
+ /** @internal */
5650
+ mobileContentAlignment?: "left" | "center" | "right";
5599
5651
  }
5600
5652
  declare const FooterExpandedLinksWrapper: ComponentConfig<{
5601
5653
  props: FooterExpandedLinksWrapperProps;
@@ -5606,7 +5658,9 @@ interface CopyrightMessageSlotProps {
5606
5658
  text: TranslatableString;
5607
5659
  };
5608
5660
  /** @internal */
5609
- alignment?: "left" | "center" | "right";
5661
+ desktopContentAlignment?: "left" | "center" | "right";
5662
+ /** @internal */
5663
+ mobileContentAlignment?: "left" | "center" | "right";
5610
5664
  }
5611
5665
  declare const defaultCopyrightMessageSlotProps: CopyrightMessageSlotProps;
5612
5666
  declare const CopyrightMessageSlot: ComponentConfig<{
@@ -5614,21 +5668,15 @@ declare const CopyrightMessageSlot: ComponentConfig<{
5614
5668
  }>;
5615
5669
 
5616
5670
  interface SecondaryFooterSlotProps {
5617
- /**
5618
- * Data configuration for the secondary footer.
5619
- * @propCategory Data Props
5620
- */
5621
- data: {
5622
- /** Whether to hide or show the secondary footer */
5623
- show: boolean;
5624
- };
5625
5671
  /**
5626
5672
  * Styling configuration for the secondary footer.
5627
5673
  * @propCategory Style Props
5628
5674
  */
5629
5675
  styles: {
5630
- backgroundColor?: BackgroundStyle;
5631
- linksPosition: "left" | "center" | "right";
5676
+ backgroundColor?: ThemeColor;
5677
+ desktopContentAlignment: "left" | "center" | "right";
5678
+ mobileContentAlignment: "left" | "center" | "right";
5679
+ showLinks: boolean;
5632
5680
  };
5633
5681
  /** @internal */
5634
5682
  slots: {
@@ -5645,11 +5693,16 @@ declare const SecondaryFooterSlot: ComponentConfig<{
5645
5693
  props: SecondaryFooterSlotProps;
5646
5694
  }>;
5647
5695
 
5696
+ type DirectoryChildReference = {
5697
+ childIndex: number;
5698
+ childId?: string;
5699
+ };
5700
+
5648
5701
  type DirectoryCardProps = {
5649
5702
  /** Styling for all the cards. */
5650
5703
  styles: {
5651
5704
  /** The background color of each directory card */
5652
- backgroundColor?: BackgroundStyle;
5705
+ backgroundColor?: ThemeColor;
5653
5706
  };
5654
5707
  /** @internal */
5655
5708
  slots: {
@@ -5660,7 +5713,7 @@ type DirectoryCardProps = {
5660
5713
  };
5661
5714
  /** @internal */
5662
5715
  parentData?: {
5663
- profile: any;
5716
+ childRef: DirectoryChildReference;
5664
5717
  };
5665
5718
  /** @internal */
5666
5719
  index?: number;
@@ -5668,7 +5721,7 @@ type DirectoryCardProps = {
5668
5721
 
5669
5722
  type DirectoryGridProps = {
5670
5723
  styles: {
5671
- backgroundColor?: BackgroundStyle;
5724
+ backgroundColor?: ThemeColor;
5672
5725
  };
5673
5726
  slots: {
5674
5727
  CardSlot: Slot;
@@ -5677,7 +5730,7 @@ type DirectoryGridProps = {
5677
5730
 
5678
5731
  interface PrimaryHeaderSlotProps {
5679
5732
  styles: {
5680
- backgroundColor?: BackgroundStyle;
5733
+ backgroundColor?: ThemeColor;
5681
5734
  };
5682
5735
  /** @internal values that come from the parent ExpandedHeader */
5683
5736
  parentValues?: {
@@ -5705,7 +5758,7 @@ interface SecondaryHeaderSlotProps {
5705
5758
  showLanguageDropdown: boolean;
5706
5759
  };
5707
5760
  styles: {
5708
- backgroundColor?: BackgroundStyle;
5761
+ backgroundColor?: ThemeColor;
5709
5762
  };
5710
5763
  parentStyles?: {
5711
5764
  maxWidth?: PageSectionProps["maxWidth"];
@@ -5733,7 +5786,7 @@ type HeaderLinksProps = {
5733
5786
  /**
5734
5787
  * The color of the header links
5735
5788
  */
5736
- color?: BackgroundStyle;
5789
+ color?: ThemeColor;
5737
5790
  /**
5738
5791
  * The weight of the header links
5739
5792
  */
@@ -5900,7 +5953,7 @@ declare const SlotsCategoryComponents: {
5900
5953
  fields?: _puckeditor_core.Fields<FooterExpandedLinksWrapperProps, {}> | undefined;
5901
5954
  inline?: boolean;
5902
5955
  resolveFields?: ((data: Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
5903
- changed: Partial<Record<"data", boolean> & {
5956
+ changed: Partial<Record<keyof FooterExpandedLinksWrapperProps, boolean> & {
5904
5957
  id: string;
5905
5958
  }>;
5906
5959
  fields: _puckeditor_core.Fields<FooterExpandedLinksWrapperProps, {}>;
@@ -5911,7 +5964,7 @@ declare const SlotsCategoryComponents: {
5911
5964
  parent: _puckeditor_core.ComponentData | null;
5912
5965
  }) => _puckeditor_core.Fields<FooterExpandedLinksWrapperProps, {}> | Promise<_puckeditor_core.Fields<FooterExpandedLinksWrapperProps, {}>>) | undefined;
5913
5966
  resolveData?: ((data: Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
5914
- changed: Partial<Record<"data", boolean> & {
5967
+ changed: Partial<Record<keyof FooterExpandedLinksWrapperProps, boolean> & {
5915
5968
  id: string;
5916
5969
  }>;
5917
5970
  lastData: Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type"> | null;
@@ -5924,7 +5977,7 @@ declare const SlotsCategoryComponents: {
5924
5977
  props?: Partial<FooterExpandedLinksWrapperProps> | undefined;
5925
5978
  }>) | undefined;
5926
5979
  resolvePermissions?: ((data: Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, params: {
5927
- changed: Partial<Record<"data", boolean> & {
5980
+ changed: Partial<Record<keyof FooterExpandedLinksWrapperProps, boolean> & {
5928
5981
  id: string;
5929
5982
  }>;
5930
5983
  lastPermissions: Partial<_puckeditor_core.Permissions>;
@@ -7873,7 +7926,7 @@ interface LocatorConfigProps extends LocatorCategoryProps, SlotsCategoryProps, D
7873
7926
  declare const locatorConfig: Config<LocatorConfigProps>;
7874
7927
 
7875
7928
  type SectionContainerProps = {
7876
- background?: BackgroundStyle;
7929
+ background?: ThemeColor;
7877
7930
  sectionHeading: {
7878
7931
  text: YextEntityField<TranslatableString>;
7879
7932
  level: HeadingProps["level"];
@@ -7901,4 +7954,4 @@ declare const GTMBody: React__default.FC<{
7901
7954
  children: React__default.ReactNode;
7902
7955
  }>;
7903
7956
 
7904
- 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, GTMBody, 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, isLocalizedAssetImage, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveLocalizedAssetImage, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };
7957
+ export { AboutSection, type AboutSectionProps, Address, type AddressProps, AdvancedCoreInfoCategory, AdvancedCoreInfoCategoryComponents, type AdvancedCoreInfoCategoryProps, type AggregateRating, type AssetImageType, type AssetVideo, Background, type BackgroundProps, BackgroundProvider, 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, GTMBody, 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 ThemeColor, 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, VisualEditorThemeClassSafelist, 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, filterMaxWidths, getAggregateRating, getAnalyticsScopeHash, getCanonicalUrl, getDefaultRTF, getDirectoryParents, getFontWeightOptions, getFontWeightOverrideOptions, getMaxWidthOptions, getPageMetadata, getPreferredDistanceUnit, getSchema, headingVariants, i18nComponentsInstance, i18nPlatformInstance, imgSizesHelper, injectTranslations, isLocalizedAssetImage, locatorConfig, mainConfig, migrate, migrationRegistry, msg, normalizeLink, normalizeSlug, pt, resolveComponentData, resolveDataFromParent, resolveLocalizedAssetImage, resolveUrlTemplate, resolveUrlTemplateOfChild, resolveYextEntityField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, toKilometers, useBackground, useDocument, useEntityFields, useOverflow, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, withPropOverrides };