@yext/visual-editor 1.3.4 → 1.4.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 (29) hide show
  1. package/dist/editor.css +1 -1
  2. package/dist/index.d.ts +62 -2
  3. package/dist/{visual-editor-alSdkArd.js → visual-editor-9vY--VO3.js} +273 -270
  4. package/dist/{visual-editor-w-nHIvQf.js → visual-editor-B7E3hOTM.js} +245 -242
  5. package/dist/{visual-editor-Ujfp7Vat.js → visual-editor-BHNar3aZ.js} +277 -274
  6. package/dist/{visual-editor-B6bgp2UY.js → visual-editor-Be27fZ4a.js} +265 -262
  7. package/dist/{visual-editor-B0X5TpDc.js → visual-editor-BxZlckKg.js} +293 -290
  8. package/dist/{visual-editor-ChLuXFXu.js → visual-editor-CKiBzHM6.js} +254 -251
  9. package/dist/{visual-editor-DsBz8yCO.js → visual-editor-CSfH_F9I.js} +249 -246
  10. package/dist/{visual-editor-C3l0T_LG.js → visual-editor-CZTTpT7T.js} +254 -251
  11. package/dist/{visual-editor-DG-di6q_.js → visual-editor-Cc40dzkG.js} +248 -245
  12. package/dist/{visual-editor-DivyYlYp.js → visual-editor-Cl39Utgu.js} +267 -264
  13. package/dist/{visual-editor-3JX-GREb.js → visual-editor-CnUKXhbS.js} +269 -266
  14. package/dist/{visual-editor-DTHajcVB.js → visual-editor-Cq2sHxlR.js} +264 -261
  15. package/dist/{visual-editor-3XhoO7Hk.js → visual-editor-Cr11cAkJ.js} +271 -268
  16. package/dist/{visual-editor-Ceoc3Wcz.js → visual-editor-Ct5bbv2J.js} +257 -254
  17. package/dist/{visual-editor-DwxPY7Oi.js → visual-editor-D4k-ZJES.js} +279 -276
  18. package/dist/{visual-editor-85NY77A2.js → visual-editor-DAtik0Wi.js} +249 -246
  19. package/dist/{visual-editor-DCnmT9g_.js → visual-editor-DSELY2I2.js} +255 -252
  20. package/dist/{visual-editor-DyEiXlgQ.js → visual-editor-DW9xHPSH.js} +277 -274
  21. package/dist/{visual-editor-D7V-b6HD.js → visual-editor-DWvKA7Ic.js} +271 -268
  22. package/dist/{visual-editor-CdsiO1f7.js → visual-editor-DY3a37kM.js} +261 -258
  23. package/dist/{visual-editor-DQppHXMQ.js → visual-editor-DfPjx_Ie.js} +248 -245
  24. package/dist/{visual-editor-cAqP7zKR.js → visual-editor-Ne7ogXbd.js} +275 -272
  25. package/dist/{visual-editor-CN9sjto4.js → visual-editor-PMFCbuES.js} +266 -263
  26. package/dist/{visual-editor-B9VFc0Qc.js → visual-editor-S0xQWAAx.js} +279 -276
  27. package/dist/{visual-editor-NXC_KYxi.js → visual-editor-TUlXr2TY.js} +276 -273
  28. package/dist/visual-editor.js +11310 -11278
  29. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as react_i18next from 'react-i18next';
5
5
  import * as i18next from 'i18next';
6
6
  import { TOptions } from 'i18next';
7
- import { ImageType, CTA as CTA$1, LinkType, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate as Coordinate$1, ListingType } from '@yext/pages-components';
7
+ import { ImageType, CTA as CTA$1, LinkType, useAnalytics, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate as Coordinate$1, ListingType } from '@yext/pages-components';
8
8
  import { ClassValue } from 'clsx';
9
9
  import * as _puckeditor_core from '@puckeditor/core';
10
10
  import { Data, DefaultComponentProps, DefaultRootProps, Config, BaseField, FieldProps, ComponentConfig, Field, ArrayField, ObjectField, Fields, CustomField, ComponentData, Slot } from '@puckeditor/core';
@@ -599,6 +599,11 @@ declare const getSchema: (data: TemplateRenderProps) => Record<string, any>;
599
599
  declare const getDirectoryParents: (streamDocument: StreamDocument) => Array<{
600
600
  slug: string;
601
601
  name: string;
602
+ meta?: {
603
+ entityType?: {
604
+ id?: string;
605
+ };
606
+ };
602
607
  }>;
603
608
 
604
609
  declare const fetchLocalesToPathsForEntity: ({ businessId, apiKey, contentEndpointId, contentDeliveryAPIDomain, entityId, streamDocument, }: {
@@ -1496,6 +1501,15 @@ type EditorProps$1 = {
1496
1501
  tailwindConfig: TailwindConfig;
1497
1502
  };
1498
1503
  type VisualEditorProviderProps<T> = UniversalProps<T> & AllOrNothing<EditorProps$1>;
1504
+ type AnalyticsTrackProps = Parameters<NonNullable<ReturnType<typeof useAnalytics>>["track"]>[0];
1505
+ type YextCustomCodeAnalytics = {
1506
+ track: (request: AnalyticsTrackProps) => void;
1507
+ };
1508
+ declare global {
1509
+ interface Window {
1510
+ YextCustomCodeAnalytics?: YextCustomCodeAnalytics;
1511
+ }
1512
+ }
1499
1513
  declare const VisualEditorProvider: <T extends Record<string, any>>({ templateProps, entityFields, tailwindConfig, children, }: VisualEditorProviderProps<T>) => react_jsx_runtime.JSX.Element;
1500
1514
 
1501
1515
  declare function withPropOverrides<C extends YextComponentConfig>(base: C, overrides: Partial<typeof base.defaultProps>): C;
@@ -1622,7 +1636,10 @@ declare function TranslatableRichTextField<T extends TranslatableRichText | unde
1622
1636
  type GetDefaultRTFOptions = {
1623
1637
  isBold?: boolean;
1624
1638
  };
1625
- /** Returns a simple RTF-format p tag wrapper for text */
1639
+ /**
1640
+ * Returns Lexical rich text and matching HTML for text, preserving paragraphs
1641
+ * and line breaks from multiline input.
1642
+ */
1626
1643
  declare const getDefaultRTF: (text: string, options?: GetDefaultRTFOptions) => RichText;
1627
1644
 
1628
1645
  /**
@@ -4606,6 +4623,7 @@ declare const SlotsCategoryComponents: {
4606
4623
  metadata: _puckeditor_core.ComponentMetadata;
4607
4624
  trigger: _puckeditor_core.ResolveDataTrigger;
4608
4625
  parent: _puckeditor_core.ComponentData | null;
4626
+ root: _puckeditor_core.RootData;
4609
4627
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FAQCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4610
4628
  props?: Partial<FAQCardProps> | undefined;
4611
4629
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FAQCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4654,6 +4672,7 @@ declare const SlotsCategoryComponents: {
4654
4672
  metadata: _puckeditor_core.ComponentMetadata;
4655
4673
  trigger: _puckeditor_core.ResolveDataTrigger;
4656
4674
  parent: _puckeditor_core.ComponentData | null;
4675
+ root: _puckeditor_core.RootData;
4657
4676
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterExpandedLinkSectionSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4658
4677
  props?: Partial<FooterExpandedLinkSectionSlotProps> | undefined;
4659
4678
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterExpandedLinkSectionSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4702,6 +4721,7 @@ declare const SlotsCategoryComponents: {
4702
4721
  metadata: _puckeditor_core.ComponentMetadata;
4703
4722
  trigger: _puckeditor_core.ResolveDataTrigger;
4704
4723
  parent: _puckeditor_core.ComponentData | null;
4724
+ root: _puckeditor_core.RootData;
4705
4725
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4706
4726
  props?: Partial<FooterExpandedLinksWrapperProps> | undefined;
4707
4727
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterExpandedLinksWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4750,6 +4770,7 @@ declare const SlotsCategoryComponents: {
4750
4770
  metadata: _puckeditor_core.ComponentMetadata;
4751
4771
  trigger: _puckeditor_core.ResolveDataTrigger;
4752
4772
  parent: _puckeditor_core.ComponentData | null;
4773
+ root: _puckeditor_core.RootData;
4753
4774
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterLinksSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4754
4775
  props?: Partial<FooterLinksSlotProps> | undefined;
4755
4776
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterLinksSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4798,6 +4819,7 @@ declare const SlotsCategoryComponents: {
4798
4819
  metadata: _puckeditor_core.ComponentMetadata;
4799
4820
  trigger: _puckeditor_core.ResolveDataTrigger;
4800
4821
  parent: _puckeditor_core.ComponentData | null;
4822
+ root: _puckeditor_core.RootData;
4801
4823
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterLogoSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4802
4824
  props?: Partial<FooterLogoSlotProps> | undefined;
4803
4825
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterLogoSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4846,6 +4868,7 @@ declare const SlotsCategoryComponents: {
4846
4868
  metadata: _puckeditor_core.ComponentMetadata;
4847
4869
  trigger: _puckeditor_core.ResolveDataTrigger;
4848
4870
  parent: _puckeditor_core.ComponentData | null;
4871
+ root: _puckeditor_core.RootData;
4849
4872
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterSocialLinksSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4850
4873
  props?: Partial<FooterSocialLinksSlotProps> | undefined;
4851
4874
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterSocialLinksSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4894,6 +4917,7 @@ declare const SlotsCategoryComponents: {
4894
4917
  metadata: _puckeditor_core.ComponentMetadata;
4895
4918
  trigger: _puckeditor_core.ResolveDataTrigger;
4896
4919
  parent: _puckeditor_core.ComponentData | null;
4920
+ root: _puckeditor_core.RootData;
4897
4921
  }) => (Omit<Omit<_puckeditor_core.ComponentData<FooterUtilityImagesSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4898
4922
  props?: Partial<FooterUtilityImagesSlotProps> | undefined;
4899
4923
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<FooterUtilityImagesSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4942,6 +4966,7 @@ declare const SlotsCategoryComponents: {
4942
4966
  metadata: _puckeditor_core.ComponentMetadata;
4943
4967
  trigger: _puckeditor_core.ResolveDataTrigger;
4944
4968
  parent: _puckeditor_core.ComponentData | null;
4969
+ root: _puckeditor_core.RootData;
4945
4970
  }) => (Omit<Omit<_puckeditor_core.ComponentData<HeadingTextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4946
4971
  props?: Partial<HeadingTextProps> | undefined;
4947
4972
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HeadingTextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -4990,6 +5015,7 @@ declare const SlotsCategoryComponents: {
4990
5015
  metadata: _puckeditor_core.ComponentMetadata;
4991
5016
  trigger: _puckeditor_core.ResolveDataTrigger;
4992
5017
  parent: _puckeditor_core.ComponentData | null;
5018
+ root: _puckeditor_core.RootData;
4993
5019
  }) => (Omit<Omit<_puckeditor_core.ComponentData<HeroImageProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
4994
5020
  props?: Partial<HeroImageProps> | undefined;
4995
5021
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HeroImageProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5038,6 +5064,7 @@ declare const SlotsCategoryComponents: {
5038
5064
  metadata: _puckeditor_core.ComponentMetadata;
5039
5065
  trigger: _puckeditor_core.ResolveDataTrigger;
5040
5066
  parent: _puckeditor_core.ComponentData | null;
5067
+ root: _puckeditor_core.RootData;
5041
5068
  }) => (Omit<Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5042
5069
  props?: Partial<HoursStatusProps> | undefined;
5043
5070
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HoursStatusProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5086,6 +5113,7 @@ declare const SlotsCategoryComponents: {
5086
5113
  metadata: _puckeditor_core.ComponentMetadata;
5087
5114
  trigger: _puckeditor_core.ResolveDataTrigger;
5088
5115
  parent: _puckeditor_core.ComponentData | null;
5116
+ root: _puckeditor_core.RootData;
5089
5117
  }) => (Omit<Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5090
5118
  props?: Partial<HoursTableProps> | undefined;
5091
5119
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HoursTableProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5134,6 +5162,7 @@ declare const SlotsCategoryComponents: {
5134
5162
  metadata: _puckeditor_core.ComponentMetadata;
5135
5163
  trigger: _puckeditor_core.ResolveDataTrigger;
5136
5164
  parent: _puckeditor_core.ComponentData | null;
5165
+ root: _puckeditor_core.RootData;
5137
5166
  }) => (Omit<Omit<_puckeditor_core.ComponentData<ImageWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5138
5167
  props?: Partial<ImageWrapperProps> | undefined;
5139
5168
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<ImageWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5182,6 +5211,7 @@ declare const SlotsCategoryComponents: {
5182
5211
  metadata: _puckeditor_core.ComponentMetadata;
5183
5212
  trigger: _puckeditor_core.ResolveDataTrigger;
5184
5213
  parent: _puckeditor_core.ComponentData | null;
5214
+ root: _puckeditor_core.RootData;
5185
5215
  }) => (Omit<Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5186
5216
  props?: Partial<InsightCardsWrapperProps> | undefined;
5187
5217
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<InsightCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5230,6 +5260,7 @@ declare const SlotsCategoryComponents: {
5230
5260
  metadata: _puckeditor_core.ComponentMetadata;
5231
5261
  trigger: _puckeditor_core.ResolveDataTrigger;
5232
5262
  parent: _puckeditor_core.ComponentData | null;
5263
+ root: _puckeditor_core.RootData;
5233
5264
  }) => (Omit<Omit<_puckeditor_core.ComponentData<InsightCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5234
5265
  props?: Partial<InsightCardProps> | undefined;
5235
5266
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<InsightCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5278,6 +5309,7 @@ declare const SlotsCategoryComponents: {
5278
5309
  metadata: _puckeditor_core.ComponentMetadata;
5279
5310
  trigger: _puckeditor_core.ResolveDataTrigger;
5280
5311
  parent: _puckeditor_core.ComponentData | null;
5312
+ root: _puckeditor_core.RootData;
5281
5313
  }) => (Omit<Omit<_puckeditor_core.ComponentData<NearbyLocationCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5282
5314
  props?: Partial<NearbyLocationCardsWrapperProps> | undefined;
5283
5315
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<NearbyLocationCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5326,6 +5358,7 @@ declare const SlotsCategoryComponents: {
5326
5358
  metadata: _puckeditor_core.ComponentMetadata;
5327
5359
  trigger: _puckeditor_core.ResolveDataTrigger;
5328
5360
  parent: _puckeditor_core.ComponentData | null;
5361
+ root: _puckeditor_core.RootData;
5329
5362
  }) => (Omit<Omit<_puckeditor_core.ComponentData<PhoneListProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5330
5363
  props?: Partial<PhoneListProps> | undefined;
5331
5364
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<PhoneListProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5374,6 +5407,7 @@ declare const SlotsCategoryComponents: {
5374
5407
  metadata: _puckeditor_core.ComponentMetadata;
5375
5408
  trigger: _puckeditor_core.ResolveDataTrigger;
5376
5409
  parent: _puckeditor_core.ComponentData | null;
5410
+ root: _puckeditor_core.RootData;
5377
5411
  }) => (Omit<Omit<_puckeditor_core.ComponentData<PhoneProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5378
5412
  props?: Partial<PhoneProps> | undefined;
5379
5413
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<PhoneProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5422,6 +5456,7 @@ declare const SlotsCategoryComponents: {
5422
5456
  metadata: _puckeditor_core.ComponentMetadata;
5423
5457
  trigger: _puckeditor_core.ResolveDataTrigger;
5424
5458
  parent: _puckeditor_core.ComponentData | null;
5459
+ root: _puckeditor_core.RootData;
5425
5460
  }) => (Omit<Omit<_puckeditor_core.ComponentData<PhotoGalleryWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5426
5461
  props?: Partial<PhotoGalleryWrapperProps> | undefined;
5427
5462
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<PhotoGalleryWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5470,6 +5505,7 @@ declare const SlotsCategoryComponents: {
5470
5505
  metadata: _puckeditor_core.ComponentMetadata;
5471
5506
  trigger: _puckeditor_core.ResolveDataTrigger;
5472
5507
  parent: _puckeditor_core.ComponentData | null;
5508
+ root: _puckeditor_core.RootData;
5473
5509
  }) => (Omit<Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5474
5510
  props?: Partial<ProductCardsWrapperProps> | undefined;
5475
5511
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<ProductCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5518,6 +5554,7 @@ declare const SlotsCategoryComponents: {
5518
5554
  metadata: _puckeditor_core.ComponentMetadata;
5519
5555
  trigger: _puckeditor_core.ResolveDataTrigger;
5520
5556
  parent: _puckeditor_core.ComponentData | null;
5557
+ root: _puckeditor_core.RootData;
5521
5558
  }) => (Omit<Omit<_puckeditor_core.ComponentData<ProductCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5522
5559
  props?: Partial<ProductCardProps> | undefined;
5523
5560
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<ProductCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5566,6 +5603,7 @@ declare const SlotsCategoryComponents: {
5566
5603
  metadata: _puckeditor_core.ComponentMetadata;
5567
5604
  trigger: _puckeditor_core.ResolveDataTrigger;
5568
5605
  parent: _puckeditor_core.ComponentData | null;
5606
+ root: _puckeditor_core.RootData;
5569
5607
  }) => (Omit<Omit<_puckeditor_core.ComponentData<SecondaryFooterSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5570
5608
  props?: Partial<SecondaryFooterSlotProps> | undefined;
5571
5609
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<SecondaryFooterSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5614,6 +5652,7 @@ declare const SlotsCategoryComponents: {
5614
5652
  metadata: _puckeditor_core.ComponentMetadata;
5615
5653
  trigger: _puckeditor_core.ResolveDataTrigger;
5616
5654
  parent: _puckeditor_core.ComponentData | null;
5655
+ root: _puckeditor_core.RootData;
5617
5656
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TeamCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5618
5657
  props?: Partial<TeamCardProps> | undefined;
5619
5658
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TeamCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5662,6 +5701,7 @@ declare const SlotsCategoryComponents: {
5662
5701
  metadata: _puckeditor_core.ComponentMetadata;
5663
5702
  trigger: _puckeditor_core.ResolveDataTrigger;
5664
5703
  parent: _puckeditor_core.ComponentData | null;
5704
+ root: _puckeditor_core.RootData;
5665
5705
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5666
5706
  props?: Partial<TeamCardsWrapperProps> | undefined;
5667
5707
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TeamCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5710,6 +5750,7 @@ declare const SlotsCategoryComponents: {
5710
5750
  metadata: _puckeditor_core.ComponentMetadata;
5711
5751
  trigger: _puckeditor_core.ResolveDataTrigger;
5712
5752
  parent: _puckeditor_core.ComponentData | null;
5753
+ root: _puckeditor_core.RootData;
5713
5754
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TestimonialCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5714
5755
  props?: Partial<TestimonialCardProps> | undefined;
5715
5756
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TestimonialCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5758,6 +5799,7 @@ declare const SlotsCategoryComponents: {
5758
5799
  metadata: _puckeditor_core.ComponentMetadata;
5759
5800
  trigger: _puckeditor_core.ResolveDataTrigger;
5760
5801
  parent: _puckeditor_core.ComponentData | null;
5802
+ root: _puckeditor_core.RootData;
5761
5803
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5762
5804
  props?: Partial<TestimonialCardsWrapperProps> | undefined;
5763
5805
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TestimonialCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5806,6 +5848,7 @@ declare const SlotsCategoryComponents: {
5806
5848
  metadata: _puckeditor_core.ComponentMetadata;
5807
5849
  trigger: _puckeditor_core.ResolveDataTrigger;
5808
5850
  parent: _puckeditor_core.ComponentData | null;
5851
+ root: _puckeditor_core.RootData;
5809
5852
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TextListProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5810
5853
  props?: Partial<TextListProps> | undefined;
5811
5854
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TextListProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5854,6 +5897,7 @@ declare const SlotsCategoryComponents: {
5854
5897
  metadata: _puckeditor_core.ComponentMetadata;
5855
5898
  trigger: _puckeditor_core.ResolveDataTrigger;
5856
5899
  parent: _puckeditor_core.ComponentData | null;
5900
+ root: _puckeditor_core.RootData;
5857
5901
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5858
5902
  props?: Partial<TextProps> | undefined;
5859
5903
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5902,6 +5946,7 @@ declare const SlotsCategoryComponents: {
5902
5946
  metadata: _puckeditor_core.ComponentMetadata;
5903
5947
  trigger: _puckeditor_core.ResolveDataTrigger;
5904
5948
  parent: _puckeditor_core.ComponentData | null;
5949
+ root: _puckeditor_core.RootData;
5905
5950
  }) => (Omit<Omit<_puckeditor_core.ComponentData<TimestampProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5906
5951
  props?: Partial<TimestampProps> | undefined;
5907
5952
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<TimestampProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5950,6 +5995,7 @@ declare const SlotsCategoryComponents: {
5950
5995
  metadata: _puckeditor_core.ComponentMetadata;
5951
5996
  trigger: _puckeditor_core.ResolveDataTrigger;
5952
5997
  parent: _puckeditor_core.ComponentData | null;
5998
+ root: _puckeditor_core.RootData;
5953
5999
  }) => (Omit<Omit<_puckeditor_core.ComponentData<VideoProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
5954
6000
  props?: Partial<VideoProps> | undefined;
5955
6001
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<VideoProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -5998,6 +6044,7 @@ declare const SlotsCategoryComponents: {
5998
6044
  metadata: _puckeditor_core.ComponentMetadata;
5999
6045
  trigger: _puckeditor_core.ResolveDataTrigger;
6000
6046
  parent: _puckeditor_core.ComponentData | null;
6047
+ root: _puckeditor_core.RootData;
6001
6048
  }) => (Omit<Omit<_puckeditor_core.ComponentData<HeaderLinksProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6002
6049
  props?: Partial<HeaderLinksProps> | undefined;
6003
6050
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<HeaderLinksProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6046,6 +6093,7 @@ declare const SlotsCategoryComponents: {
6046
6093
  metadata: _puckeditor_core.ComponentMetadata;
6047
6094
  trigger: _puckeditor_core.ResolveDataTrigger;
6048
6095
  parent: _puckeditor_core.ComponentData | null;
6096
+ root: _puckeditor_core.RootData;
6049
6097
  }) => (Omit<Omit<_puckeditor_core.ComponentData<PrimaryHeaderSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6050
6098
  props?: Partial<PrimaryHeaderSlotProps> | undefined;
6051
6099
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<PrimaryHeaderSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6094,6 +6142,7 @@ declare const SlotsCategoryComponents: {
6094
6142
  metadata: _puckeditor_core.ComponentMetadata;
6095
6143
  trigger: _puckeditor_core.ResolveDataTrigger;
6096
6144
  parent: _puckeditor_core.ComponentData | null;
6145
+ root: _puckeditor_core.RootData;
6097
6146
  }) => (Omit<Omit<_puckeditor_core.ComponentData<SecondaryHeaderSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6098
6147
  props?: Partial<SecondaryHeaderSlotProps> | undefined;
6099
6148
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<SecondaryHeaderSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6142,6 +6191,7 @@ declare const SlotsCategoryComponents: {
6142
6191
  metadata: _puckeditor_core.ComponentMetadata;
6143
6192
  trigger: _puckeditor_core.ResolveDataTrigger;
6144
6193
  parent: _puckeditor_core.ComponentData | null;
6194
+ root: _puckeditor_core.RootData;
6145
6195
  }) => (Omit<Omit<_puckeditor_core.ComponentData<AboutSectionDetailsColumnProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6146
6196
  props?: Partial<AboutSectionDetailsColumnProps> | undefined;
6147
6197
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<AboutSectionDetailsColumnProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6190,6 +6240,7 @@ declare const SlotsCategoryComponents: {
6190
6240
  metadata: _puckeditor_core.ComponentMetadata;
6191
6241
  trigger: _puckeditor_core.ResolveDataTrigger;
6192
6242
  parent: _puckeditor_core.ComponentData | null;
6243
+ root: _puckeditor_core.RootData;
6193
6244
  }) => (Omit<Omit<_puckeditor_core.ComponentData<AddressProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6194
6245
  props?: Partial<AddressProps> | undefined;
6195
6246
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<AddressProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6238,6 +6289,7 @@ declare const SlotsCategoryComponents: {
6238
6289
  metadata: _puckeditor_core.ComponentMetadata;
6239
6290
  trigger: _puckeditor_core.ResolveDataTrigger;
6240
6291
  parent: _puckeditor_core.ComponentData | null;
6292
+ root: _puckeditor_core.RootData;
6241
6293
  }) => (Omit<Omit<_puckeditor_core.ComponentData<BodyTextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6242
6294
  props?: Partial<BodyTextProps> | undefined;
6243
6295
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<BodyTextProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6286,6 +6338,7 @@ declare const SlotsCategoryComponents: {
6286
6338
  metadata: _puckeditor_core.ComponentMetadata;
6287
6339
  trigger: _puckeditor_core.ResolveDataTrigger;
6288
6340
  parent: _puckeditor_core.ComponentData | null;
6341
+ root: _puckeditor_core.RootData;
6289
6342
  }) => (Omit<Omit<_puckeditor_core.ComponentData<BreadcrumbsSectionProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6290
6343
  props?: Partial<BreadcrumbsSectionProps> | undefined;
6291
6344
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<BreadcrumbsSectionProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6334,6 +6387,7 @@ declare const SlotsCategoryComponents: {
6334
6387
  metadata: _puckeditor_core.ComponentMetadata;
6335
6388
  trigger: _puckeditor_core.ResolveDataTrigger;
6336
6389
  parent: _puckeditor_core.ComponentData | null;
6390
+ root: _puckeditor_core.RootData;
6337
6391
  }) => (Omit<Omit<_puckeditor_core.ComponentData<CopyrightMessageSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6338
6392
  props?: Partial<CopyrightMessageSlotProps> | undefined;
6339
6393
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<CopyrightMessageSlotProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6382,6 +6436,7 @@ declare const SlotsCategoryComponents: {
6382
6436
  metadata: _puckeditor_core.ComponentMetadata;
6383
6437
  trigger: _puckeditor_core.ResolveDataTrigger;
6384
6438
  parent: _puckeditor_core.ComponentData | null;
6439
+ root: _puckeditor_core.RootData;
6385
6440
  }) => (Omit<Omit<_puckeditor_core.ComponentData<CTAWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6386
6441
  props?: Partial<CTAWrapperProps> | undefined;
6387
6442
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<CTAWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6430,6 +6485,7 @@ declare const SlotsCategoryComponents: {
6430
6485
  metadata: _puckeditor_core.ComponentMetadata;
6431
6486
  trigger: _puckeditor_core.ResolveDataTrigger;
6432
6487
  parent: _puckeditor_core.ComponentData | null;
6488
+ root: _puckeditor_core.RootData;
6433
6489
  }) => (Omit<Omit<_puckeditor_core.ComponentData<DirectoryCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6434
6490
  props?: Partial<DirectoryCardProps> | undefined;
6435
6491
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<DirectoryCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6478,6 +6534,7 @@ declare const SlotsCategoryComponents: {
6478
6534
  metadata: _puckeditor_core.ComponentMetadata;
6479
6535
  trigger: _puckeditor_core.ResolveDataTrigger;
6480
6536
  parent: _puckeditor_core.ComponentData | null;
6537
+ root: _puckeditor_core.RootData;
6481
6538
  }) => (Omit<Omit<_puckeditor_core.ComponentData<DirectoryGridProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6482
6539
  props?: Partial<DirectoryGridProps> | undefined;
6483
6540
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<DirectoryGridProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6526,6 +6583,7 @@ declare const SlotsCategoryComponents: {
6526
6583
  metadata: _puckeditor_core.ComponentMetadata;
6527
6584
  trigger: _puckeditor_core.ResolveDataTrigger;
6528
6585
  parent: _puckeditor_core.ComponentData | null;
6586
+ root: _puckeditor_core.RootData;
6529
6587
  }) => (Omit<Omit<_puckeditor_core.ComponentData<EmailsProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6530
6588
  props?: Partial<EmailsProps> | undefined;
6531
6589
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<EmailsProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6574,6 +6632,7 @@ declare const SlotsCategoryComponents: {
6574
6632
  metadata: _puckeditor_core.ComponentMetadata;
6575
6633
  trigger: _puckeditor_core.ResolveDataTrigger;
6576
6634
  parent: _puckeditor_core.ComponentData | null;
6635
+ root: _puckeditor_core.RootData;
6577
6636
  }) => (Omit<Omit<_puckeditor_core.ComponentData<EventCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6578
6637
  props?: Partial<EventCardProps> | undefined;
6579
6638
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<EventCardProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
@@ -6622,6 +6681,7 @@ declare const SlotsCategoryComponents: {
6622
6681
  metadata: _puckeditor_core.ComponentMetadata;
6623
6682
  trigger: _puckeditor_core.ResolveDataTrigger;
6624
6683
  parent: _puckeditor_core.ComponentData | null;
6684
+ root: _puckeditor_core.RootData;
6625
6685
  }) => (Omit<Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {
6626
6686
  props?: Partial<EventCardsWrapperProps> | undefined;
6627
6687
  }) | Promise<Omit<Omit<_puckeditor_core.ComponentData<EventCardsWrapperProps, string, Record<string, _puckeditor_core.DefaultComponentProps>>, "type">, "props"> & {