@yext/visual-editor 0.0.33 → 0.0.34

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 CHANGED
@@ -1,12 +1,13 @@
1
- import * as React from 'react';
2
- import React__default from 'react';
3
- import { Field, Config, CustomField, ComponentConfig } from '@measured/puck';
4
- import { ClassValue } from 'clsx';
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode } from 'react';
5
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import * as _measured_puck from '@measured/puck';
5
+ import { Field, Fields, Config, CustomField, ComponentConfig } from '@measured/puck';
6
+ import { ClassValue } from 'clsx';
6
7
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
7
8
  import { VariantProps } from 'class-variance-authority';
8
9
  import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
9
- import { LinkType, AddressType, ImageType, Coordinate, GetDirectionsConfig, HoursType, DayOfWeekNames } from '@yext/pages-components';
10
+ import { LinkType, ImageType, AddressType, HoursType, DayOfWeekNames, Coordinate } from '@yext/pages-components';
10
11
  import * as class_variance_authority_dist_types_js from 'class-variance-authority/dist/types.js';
11
12
 
12
13
  declare const usePlatformBridgeDocument: () => any;
@@ -34,13 +35,120 @@ type YextFieldDefinition = {
34
35
  declare const usePlatformBridgeEntityFields: () => YextSchemaField[] | null;
35
36
  declare const useEntityFields: () => YextSchemaField[] | null;
36
37
 
37
- declare const TemplatePropsContext: React.Context<any>;
38
+ declare const TemplatePropsContext: React$1.Context<any>;
38
39
  declare const useTemplateProps: <T>() => T;
39
40
  declare const useDocument: <T>() => T;
40
41
 
41
- declare const TailwindConfigContext: React.Context<any>;
42
+ declare const TailwindConfigContext: React$1.Context<any>;
42
43
  declare const useTailwindConfig: <T>() => T;
43
44
 
45
+ type BackgroundStyle = {
46
+ bgColor: string;
47
+ textColor: string;
48
+ };
49
+ type BackgroundOption = {
50
+ label: string;
51
+ value: BackgroundStyle;
52
+ };
53
+ declare const backgroundColors: Record<string, BackgroundOption>;
54
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
55
+ declare const defaultThemeTailwindExtensions: {
56
+ colors: {
57
+ "palette-primary-light": string;
58
+ "palette-secondary-light": string;
59
+ "palette-tertiary-light": string;
60
+ "palette-quaternary-light": string;
61
+ "palette-primary-dark": string;
62
+ "palette-secondary-dark": string;
63
+ "palette-primary-contrast": string;
64
+ "palette-secondary-contrast": string;
65
+ "palette-tertiary-contrast": string;
66
+ "palette-quaternary-contrast": string;
67
+ gray: {
68
+ 100: string;
69
+ 200: string;
70
+ 300: string;
71
+ 400: string;
72
+ 500: string;
73
+ 600: string;
74
+ 800: string;
75
+ 900: string;
76
+ };
77
+ };
78
+ fontSize: {
79
+ "body-sm-fontSize": string;
80
+ "body-lg-fontSize": string;
81
+ "3xl": string;
82
+ "4xl": string;
83
+ };
84
+ };
85
+ declare const ThemeOptions: {
86
+ HEADING_LEVEL: {
87
+ label: string;
88
+ value: HeadingLevel;
89
+ }[];
90
+ TEXT_TRANSFORM: {
91
+ label: string;
92
+ value: string;
93
+ }[];
94
+ LETTER_SPACING: {
95
+ label: string;
96
+ value: string;
97
+ }[];
98
+ BACKGROUND_COLOR: {
99
+ label: string;
100
+ value: BackgroundStyle;
101
+ color: string;
102
+ }[];
103
+ DARK_BACKGROUND_COLOR: {
104
+ label: string;
105
+ value: BackgroundStyle;
106
+ color: string;
107
+ }[];
108
+ CTA_VARIANT: {
109
+ label: string;
110
+ value: string;
111
+ }[];
112
+ ALIGNMENT: {
113
+ label: string;
114
+ value: string;
115
+ }[];
116
+ JUSTIFY_CONTENT: {
117
+ label: string;
118
+ value: string;
119
+ }[];
120
+ BODY_VARIANT: {
121
+ label: string;
122
+ value: string;
123
+ }[];
124
+ BORDER_RADIUS: () => {
125
+ label: string;
126
+ value: string;
127
+ }[];
128
+ SPACING: () => {
129
+ label: string;
130
+ value: string;
131
+ }[];
132
+ FONT_SIZE: (includeLargeSizes?: boolean) => {
133
+ label: string;
134
+ value: string;
135
+ }[];
136
+ HOURS_OPTIONS: {
137
+ label: string;
138
+ value: string;
139
+ }[];
140
+ PHONE_OPTIONS: {
141
+ label: string;
142
+ value: string;
143
+ }[];
144
+ };
145
+
146
+ declare const useBackground: () => BackgroundStyle | undefined;
147
+ declare const BackgroundProvider: ({ children, value, }: {
148
+ children: ReactNode;
149
+ value: BackgroundStyle;
150
+ }) => react_jsx_runtime.JSX.Element;
151
+
44
152
  type CoreStyle = {
45
153
  label: string;
46
154
  type: "number";
@@ -120,8 +228,9 @@ type DisallowList<T extends Record<string, any>> = {
120
228
  disallowList: ConfigFields<T>[number][];
121
229
  };
122
230
  type EntityFieldTypesFilter = {
123
- types: EntityFieldTypes[];
231
+ types?: EntityFieldTypes[];
124
232
  includeListsOnly?: boolean;
233
+ directChildrenOf?: string;
125
234
  };
126
235
  type RenderEntityFieldFilter<T extends Record<string, any>> = EntityFieldTypesFilter & EitherOrNeither<AllowList<T>, DisallowList<T>>;
127
236
  type EntityFieldTypes = "type.string" | "type.image" | "type.hours" | "type.address" | "type.phone" | "type.coordinate" | "type.cta" | `c_${string}`;
@@ -131,16 +240,51 @@ type YextEntityField<T> = {
131
240
  constantValue: T;
132
241
  constantValueEnabled?: boolean;
133
242
  };
243
+ type YextCollection = {
244
+ items: YextEntityField<Array<any>>;
245
+ limit: string | number;
246
+ };
134
247
  type RenderYextEntityFieldSelectorProps<T extends Record<string, any>> = {
135
248
  label: string;
136
249
  filter: RenderEntityFieldFilter<T>;
250
+ isCollection?: boolean;
137
251
  };
138
252
  /**
139
253
  * Allows the user to select an entity field from the document and set a constant value.
140
254
  */
141
255
  declare const YextEntityFieldSelector: <T extends Record<string, any>, U>(props: RenderYextEntityFieldSelectorProps<T>) => Field<YextEntityField<U>>;
256
+ /**
257
+ * Allows the user to select an entity subfield from the document and set a constant value.
258
+ */
259
+ declare const YextCollectionSubfieldSelector: <T extends Record<string, any>, U>(props: RenderYextEntityFieldSelectorProps<T>) => Field<YextEntityField<U>>;
142
260
 
143
261
  declare const resolveYextEntityField: <T>(document: any, entityField: YextEntityField<T>) => T | undefined;
262
+ declare const resolveYextSubfield: <T>(parent: any, field: YextEntityField<T> | undefined) => T | undefined;
263
+ /**
264
+ * handleResolveFieldsForCollections determines if lastFields
265
+ * should be returned, returns filters for YextCollectionSubfieldSelector,
266
+ * and resets prop data when isCollection changes.
267
+ * @param data the data object from Puck's resolveFields
268
+ * @param params the params object from Puck's resolveFields
269
+ */
270
+ declare const handleResolveFieldsForCollections: (data: {
271
+ props: Record<string, any>;
272
+ }, params: {
273
+ lastFields: Fields<any>;
274
+ parent: {
275
+ props: Record<string, any>;
276
+ } | null;
277
+ }) => {
278
+ /** No field updates need. Return params.lastFields */
279
+ shouldReturnLastFields: boolean;
280
+ /**
281
+ * Whether the component is currently in a CollectionSection
282
+ * with a field set. Use in YextCollectionSubfieldSelector.
283
+ */
284
+ isCollection: boolean;
285
+ /** The parent's field selected field if applicable. Use in YextCollectionSubfieldSelector. */
286
+ directChildrenFilter: string | undefined;
287
+ };
144
288
 
145
289
  declare const themeManagerTwMergeConfiguration: {
146
290
  extend: {
@@ -175,6 +319,8 @@ declare const themeManagerTwMergeConfiguration: {
175
319
  rounded: {
176
320
  rounded: ((value: string) => boolean)[];
177
321
  }[];
322
+ "text-transform": ((value: string) => boolean)[];
323
+ tracking: ((value: string) => boolean)[];
178
324
  };
179
325
  };
180
326
  };
@@ -225,19 +371,6 @@ declare const validateSlug: (content: string) => boolean;
225
371
  */
226
372
  declare const normalizeSlug: (content: string) => string;
227
373
 
228
- declare const getFontSizeOptions: (includeLargeSizes?: boolean) => {
229
- label: string;
230
- value: string;
231
- }[];
232
- declare const getBorderRadiusOptions: () => {
233
- label: string;
234
- value: string;
235
- }[];
236
- declare const getSpacingOptions: () => {
237
- label: string;
238
- value: string;
239
- }[];
240
-
241
374
  declare const applyAnalytics: (document: Record<string, any>) => string | undefined;
242
375
 
243
376
  type RootConfig = {
@@ -247,6 +380,15 @@ type RootConfig = {
247
380
  };
248
381
  declare function getPageMetadata(document: Record<string, any>): RootConfig;
249
382
 
383
+ declare const fetchNearbyLocations: ({ contentEndpoint, latitude, longitude, radiusMi, limit, entityType, }: {
384
+ contentEndpoint: string;
385
+ longitude: number;
386
+ latitude: number;
387
+ radiusMi: number;
388
+ limit: number;
389
+ entityType: string;
390
+ }) => Promise<Record<string, any>>;
391
+
250
392
  type EditorProps = {
251
393
  document: any;
252
394
  componentRegistry: Map<string, Config<any>>;
@@ -264,229 +406,416 @@ type EntityFieldProps = {
264
406
  };
265
407
  declare const EntityField: ({ displayName, fieldId, constantValueEnabled, children, }: EntityFieldProps) => string | number | boolean | Iterable<React__default.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
266
408
 
267
- type NumberOrDefault = number | "default";
268
- type NumberFieldWithDefaultOptionProps = {
269
- label: string;
409
+ type OptionalNumberFieldProps = {
410
+ fieldLabel: string;
411
+ hideNumberFieldRadioLabel: string;
412
+ showNumberFieldRadioLabel: string;
270
413
  defaultCustomValue: number;
271
414
  };
272
- declare const NumberFieldWithDefaultOption: ({ label, defaultCustomValue, }: NumberFieldWithDefaultOptionProps) => CustomField<NumberOrDefault>;
415
+ declare const OptionalNumberField: ({ fieldLabel, hideNumberFieldRadioLabel, showNumberFieldRadioLabel, defaultCustomValue, }: OptionalNumberFieldProps) => CustomField<number | string>;
273
416
 
274
417
  declare const FontSizeSelector: (label?: string, includeLargeSizes?: boolean) => Field;
275
418
 
276
419
  declare const BorderRadiusSelector: (label?: string) => Field;
277
420
 
278
- declare const SpacingSelector: (spacingType: "padding" | "gap", label?: string) => Field;
421
+ declare const SpacingSelector: (label: string, spacingType: "padding" | "gap", includeDefault: boolean) => Field;
279
422
 
280
- declare const BasicSelector: (label: string, options: {
423
+ type Option<T = any> = {
281
424
  label: string;
282
- value: any;
283
- }[]) => Field;
425
+ value: T;
426
+ color?: string;
427
+ };
428
+ declare const BasicSelector: (label: string, options: Option[]) => Field;
284
429
 
285
430
  declare const bodyVariants: (props?: ({
286
- fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
287
- fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
288
- color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
289
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
431
+ variant?: "sm" | "lg" | "base" | null | undefined;
290
432
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
291
- interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
433
+ interface BodyProps extends Omit<React$1.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
292
434
  }
293
- declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLParagraphElement>>;
435
+ declare const Body: React$1.ForwardRefExoticComponent<BodyProps & React$1.RefAttributes<HTMLParagraphElement>>;
294
436
 
295
437
  declare const buttonVariants: (props?: ({
296
- variant?: "link" | "primary" | null | undefined;
297
- size?: "small" | "icon" | "large" | null | undefined;
298
- fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
299
- borderRadius?: "default" | "none" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "md" | "full" | null | undefined;
438
+ variant?: "link" | "secondary" | "primary" | "directoryLink" | null | undefined;
439
+ hasDarkBackground?: boolean | null | undefined;
300
440
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
301
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
441
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
302
442
  asChild?: boolean;
303
443
  }
304
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
444
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
305
445
 
306
- interface CTAProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
307
- label?: string;
446
+ interface CTAProps {
447
+ label?: React$1.ReactNode;
308
448
  link?: string;
309
449
  linkType?: LinkType;
450
+ eventName?: string;
310
451
  variant?: ButtonProps["variant"];
311
- size?: ButtonProps["size"];
312
- borderRadius?: ButtonProps["borderRadius"];
313
- fontSize?: ButtonProps["fontSize"];
452
+ className?: string;
453
+ target?: "_self" | "_blank" | "_parent" | "_top";
454
+ alwaysHideCaret?: boolean;
314
455
  }
315
456
  declare const CTA: {
316
- ({ label, link, linkType, variant, size, borderRadius, className, fontSize, }: CTAProps): react_jsx_runtime_js.JSX.Element;
457
+ ({ label, link, linkType, variant, eventName, className, target, alwaysHideCaret, }: CTAProps): react_jsx_runtime_js.JSX.Element;
317
458
  displayName: string;
318
459
  };
319
460
 
320
461
  declare const headingVariants: (props?: ({
321
462
  level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
322
- fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
463
+ fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "base" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
323
464
  weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
324
- color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
325
465
  transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
326
466
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
327
- type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
328
- interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
329
- level?: HeadingLevel;
467
+ interface HeadingProps extends Omit<React$1.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
468
+ level: HeadingLevel;
469
+ }
470
+ declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
471
+
472
+ interface ImageProps {
473
+ image: ImageType;
474
+ layout: "auto" | "fixed";
475
+ aspectRatio?: number;
476
+ width?: number;
477
+ height?: number;
478
+ className?: string;
330
479
  }
331
- declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
480
+ declare const Image: React$1.FC<ImageProps>;
332
481
 
333
- declare const sectionVariants: (props?: ({
334
- padding?: "small" | "default" | "none" | "large" | null | undefined;
335
- maxWidth?: "default" | "xl" | "full" | null | undefined;
482
+ type MaybeLinkProps = {
483
+ href?: string;
484
+ children?: React$1.ReactNode;
485
+ className?: string;
486
+ eventName?: string;
487
+ variant?: CTAProps["variant"];
488
+ alwaysHideCaret?: boolean;
489
+ };
490
+ declare const MaybeLink: (props: MaybeLinkProps) => react_jsx_runtime_js.JSX.Element;
491
+
492
+ declare const pageSectionVariants: (props?: ({
493
+ verticalPadding?: "default" | "sm" | "footer" | "header" | null | undefined;
336
494
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
337
- interface SectionProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sectionVariants> {
495
+ interface PageSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
496
+ background?: BackgroundStyle;
497
+ verticalPadding?: VariantProps<typeof pageSectionVariants>["verticalPadding"];
498
+ as?: "div" | "section" | "nav" | "header" | "footer" | "main" | "aside";
499
+ outerClassName?: string;
338
500
  }
339
- declare const Section: React.ForwardRefExoticComponent<SectionProps & React.RefAttributes<HTMLDivElement>>;
501
+ declare const PageSection: React$1.ForwardRefExoticComponent<PageSectionProps & React$1.RefAttributes<HTMLDivElement>>;
340
502
 
341
- type AddressProps = {
342
- address: YextEntityField<AddressType>;
343
- alignment: "items-start" | "items-center";
344
- padding: VariantProps<typeof sectionVariants>["padding"];
345
- showGetDirections: boolean;
503
+ type PhoneAtomProps = {
504
+ phoneNumber: string;
505
+ label?: string;
506
+ backgroundColor?: BackgroundStyle;
507
+ format: "domestic" | "international" | undefined;
508
+ includeHyperlink: boolean;
346
509
  };
347
- declare const AddressComponent: ComponentConfig<AddressProps>;
510
+ declare const PhoneAtom: (props: PhoneAtomProps) => react_jsx_runtime.JSX.Element;
348
511
 
349
- type BannerProps = {
350
- text: YextEntityField<string>;
351
- textAlignment: "justify-end" | "justify-start" | "justify-center";
352
- fontSize: BodyProps["fontSize"];
353
- fontWeight?: BodyProps["fontWeight"];
354
- textColor: BodyProps["color"];
355
- backgroundColor: "bg-palette-primary" | "bg-palette-secondary" | "bg-palette-accent" | "bg-palette-text" | "bg-palette-background";
512
+ interface BackgroundProps extends React$1.HTMLAttributes<HTMLDivElement> {
513
+ background?: BackgroundStyle;
514
+ as?: "div" | "section" | "nav" | "header" | "footer" | "main" | "aside";
515
+ }
516
+ declare const Background: React$1.ForwardRefExoticComponent<BackgroundProps & React$1.RefAttributes<HTMLDivElement>>;
517
+
518
+ type EventCardProps = {
519
+ card?: {
520
+ title: YextEntityField<string>;
521
+ image: YextEntityField<ImageType>;
522
+ dateTime: YextEntityField<string>;
523
+ description: YextEntityField<string>;
524
+ cta: YextEntityField<CTAProps>;
525
+ };
526
+ collection?: YextCollection;
356
527
  };
357
- declare const Banner: ComponentConfig<BannerProps>;
528
+ declare const EventCard: ComponentConfig<EventCardProps>;
358
529
 
359
- interface BodyTextProps extends BodyProps {
530
+ type ExampleRepeatableItemProps = {
531
+ text?: YextEntityField<string>;
532
+ image?: YextEntityField<ImageType>;
533
+ collection?: YextCollection;
534
+ };
535
+ declare const ExampleRepeatableItemComponent: ComponentConfig<ExampleRepeatableItemProps>;
536
+
537
+ type InsightCardProps = {
538
+ card?: {
539
+ image: YextEntityField<ImageType>;
540
+ title: YextEntityField<string>;
541
+ category: YextEntityField<string>;
542
+ date: YextEntityField<string>;
543
+ description: YextEntityField<string>;
544
+ cta: YextEntityField<CTAProps>;
545
+ };
546
+ collection?: YextCollection;
547
+ };
548
+ declare const InsightCard: ComponentConfig<InsightCardProps>;
549
+
550
+ type ProductCardProps = {
551
+ card?: {
552
+ image?: YextEntityField<ImageType>;
553
+ heading?: YextEntityField<string>;
554
+ category?: YextEntityField<string>;
555
+ description?: YextEntityField<string>;
556
+ cta?: YextEntityField<string>;
557
+ };
558
+ styles: {
559
+ cardBackgroundColor?: BackgroundStyle;
560
+ };
561
+ collection?: YextCollection;
562
+ };
563
+ declare const ProductCard: ComponentConfig<ProductCardProps>;
564
+
565
+ interface PersonCardProps {
566
+ card?: {
567
+ headshot?: YextEntityField<ImageWrapperProps>;
568
+ name?: YextEntityField<string>;
569
+ title?: YextEntityField<string>;
570
+ phone?: YextEntityField<string>;
571
+ email?: YextEntityField<string>;
572
+ cta?: YextEntityField<CTAProps>;
573
+ };
574
+ styles: {
575
+ cardBackgroundColor?: BackgroundStyle;
576
+ };
577
+ collection?: YextCollection;
578
+ }
579
+ declare const PersonCard: ComponentConfig<PersonCardProps>;
580
+
581
+ type TestimonialCardProps = {
582
+ card?: {
583
+ testimonial: YextEntityField<string>;
584
+ authorName: YextEntityField<string>;
585
+ date: YextEntityField<string>;
586
+ };
587
+ styles: {
588
+ cardBackgroundColor?: BackgroundStyle;
589
+ };
590
+ collection?: YextCollection;
591
+ };
592
+ declare const TestimonialCard: ComponentConfig<TestimonialCardProps>;
593
+
594
+ type BannerSectionProps = {
360
595
  text: YextEntityField<string>;
596
+ textAlignment: "left" | "right" | "center";
597
+ backgroundColor?: BackgroundStyle;
598
+ };
599
+ declare const BannerSection: ComponentConfig<BannerSectionProps>;
600
+
601
+ type BreadcrumbsSectionProps = {
602
+ separator?: string;
603
+ };
604
+ declare const BreadcrumbsSection: ComponentConfig<BreadcrumbsSectionProps>;
605
+
606
+ interface CoreInfoSectionProps {
607
+ styles: {
608
+ headingLevel: HeadingLevel;
609
+ backgroundColor?: BackgroundStyle;
610
+ };
611
+ address: {
612
+ headingText: YextEntityField<string>;
613
+ address: YextEntityField<AddressType>;
614
+ showGetDirectionsLink: boolean;
615
+ };
616
+ phoneNumbers: {
617
+ phoneNumber: Array<{
618
+ number: YextEntityField<string>;
619
+ label: string;
620
+ }>;
621
+ phoneFormat: "domestic" | "international";
622
+ includePhoneHyperlink: boolean;
623
+ };
624
+ emails: {
625
+ emails: YextEntityField<string[]>;
626
+ listLength: number;
627
+ };
628
+ hours: {
629
+ headingText: YextEntityField<string>;
630
+ hours: YextEntityField<HoursType>;
631
+ startOfWeek: keyof DayOfWeekNames | "today";
632
+ collapseDays: boolean;
633
+ showAdditionalHoursText: boolean;
634
+ };
635
+ services: {
636
+ headingText: YextEntityField<string>;
637
+ servicesList: YextEntityField<string[]>;
638
+ };
361
639
  }
362
- declare const BodyTextComponent: ComponentConfig<BodyTextProps>;
640
+ declare const CoreInfoSection: ComponentConfig<CoreInfoSectionProps>;
363
641
 
364
- declare const imageWrapperVariants: (props?: ({
365
- size?: "small" | "large" | "full" | "medium" | null | undefined;
366
- aspectRatio?: "video" | "auto" | "square" | "portrait" | null | undefined;
367
- rounded?: "small" | "none" | "large" | "full" | "medium" | null | undefined;
368
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
369
- interface ImageWrapperProps extends VariantProps<typeof imageWrapperVariants> {
370
- image: YextEntityField<ImageType>;
642
+ interface HeroSectionProps {
643
+ image: ImageWrapperProps;
644
+ businessName: {
645
+ entityField: YextEntityField<string>;
646
+ level: HeadingLevel;
647
+ };
648
+ localGeoModifier: {
649
+ entityField: YextEntityField<string>;
650
+ level: HeadingLevel;
651
+ };
652
+ hours: {
653
+ entityField: YextEntityField<HoursType>;
654
+ showHours: boolean;
655
+ };
656
+ primaryCta: {
657
+ entityField: YextEntityField<CTAProps>;
658
+ variant: CTAProps["variant"];
659
+ showCTA: boolean;
660
+ };
661
+ secondaryCta: {
662
+ entityField: YextEntityField<CTAProps>;
663
+ variant: CTAProps["variant"];
664
+ showCTA: boolean;
665
+ };
666
+ styles: {
667
+ backgroundColor?: BackgroundStyle;
668
+ imageOrientation: "left" | "right";
669
+ };
371
670
  }
372
- declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
671
+ declare const HeroSection: ComponentConfig<HeroSectionProps>;
373
672
 
374
- interface CardProps {
375
- orientation: "left" | "right";
673
+ interface NearbyLocationsSectionProps {
674
+ styles: {
675
+ backgroundColor?: BackgroundStyle;
676
+ cardBackgroundColor?: BackgroundStyle;
677
+ };
376
678
  heading: {
377
- text: YextEntityField<string>;
378
- fontSize: HeadingProps["fontSize"];
379
- color: HeadingProps["color"];
380
- weight: HeadingProps["weight"];
381
- transform: HeadingProps["transform"];
382
679
  level: HeadingLevel;
383
- };
384
- subheading: {
385
680
  text: YextEntityField<string>;
386
- fontSize: HeadingProps["fontSize"];
387
- color: HeadingProps["color"];
388
- weight: HeadingProps["weight"];
389
- transform: HeadingProps["transform"];
390
- level: HeadingLevel;
391
681
  };
392
- body: {
682
+ cards: {
683
+ headingLevel: HeadingLevel;
684
+ phoneNumberFormat: "domestic" | "international";
685
+ phoneNumberLink: boolean;
686
+ hours: {
687
+ showCurrentStatus: boolean;
688
+ timeFormat?: "12h" | "24h";
689
+ dayOfWeekFormat?: "short" | "long";
690
+ showDayNames?: boolean;
691
+ };
692
+ };
693
+ coordinate: YextEntityField<Coordinate>;
694
+ radius: number;
695
+ limit: number;
696
+ }
697
+ declare const NearbyLocationsSection: ComponentConfig<NearbyLocationsSectionProps>;
698
+
699
+ interface PromoSectionProps {
700
+ image: ImageWrapperProps;
701
+ title: {
393
702
  text: YextEntityField<string>;
394
- fontSize: BodyProps["fontSize"];
395
- color: BodyProps["color"];
396
- weight: BodyProps["fontWeight"];
397
- transform: BodyProps["textTransform"];
703
+ level: HeadingProps["level"];
398
704
  };
399
- image: {
400
- image: YextEntityField<ImageType>;
401
- size: ImageWrapperProps["size"];
402
- aspectRatio: ImageWrapperProps["aspectRatio"];
403
- rounded: ImageWrapperProps["rounded"];
705
+ description: {
706
+ text: YextEntityField<string>;
707
+ variant: BodyProps["variant"];
404
708
  };
405
709
  cta: {
406
710
  entityField: YextEntityField<CTAProps>;
407
- linkType: CTAProps["linkType"];
408
711
  variant: CTAProps["variant"];
409
- fontSize: CTAProps["fontSize"];
712
+ visible: boolean;
713
+ };
714
+ styles: {
715
+ backgroundColor?: BackgroundStyle;
716
+ orientation: "left" | "right";
410
717
  };
411
- backgroundColor: "bg-card-backgroundColor" | "bg-palette-primary" | "bg-palette-secondary" | "bg-palette-accent" | "bg-palette-text" | "bg-palette-background";
412
718
  }
413
- declare const CardComponent: ComponentConfig<CardProps>;
719
+ declare const PromoSection: ComponentConfig<PromoSectionProps>;
414
720
 
415
- interface CTAWrapperProps {
416
- entityField: YextEntityField<CTAProps>;
417
- variant: CTAProps["variant"];
418
- size: CTAProps["size"];
419
- borderRadius: CTAProps["borderRadius"];
420
- fontSize: CTAProps["fontSize"];
421
- linkType: CTAProps["linkType"];
422
- className?: CTAProps["className"];
721
+ interface PhotoGallerySectionProps {
722
+ styles: {
723
+ backgroundColor?: BackgroundStyle;
724
+ };
725
+ sectionHeading: {
726
+ text: YextEntityField<string>;
727
+ level: HeadingLevel;
728
+ };
729
+ images: Array<ImageWrapperProps>;
423
730
  }
424
- declare const CTAWrapperComponent: ComponentConfig<CTAWrapperProps>;
731
+ declare const PhotoGallerySection: ComponentConfig<PhotoGallerySectionProps>;
425
732
 
426
- declare const emailsVariants: (props?: ({
427
- fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
428
- fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
429
- color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
430
- includeHyperlink?: boolean | null | undefined;
431
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
432
- interface EmailsProps extends VariantProps<typeof emailsVariants> {
433
- list: YextEntityField<string[]>;
434
- listLength: number;
733
+ interface FAQsSectionProps {
734
+ styles: {
735
+ backgroundColor?: BackgroundStyle;
736
+ };
737
+ sectionHeading: {
738
+ text: YextEntityField<string>;
739
+ level: HeadingProps["level"];
740
+ };
741
+ cards: Array<{
742
+ question: string;
743
+ answer: string;
744
+ }>;
435
745
  }
436
- declare const EmailsComponent: ComponentConfig<EmailsProps>;
746
+ declare const FAQsSection: ComponentConfig<FAQsSectionProps>;
747
+
748
+ type SectionContainerProps = {
749
+ background?: BackgroundStyle;
750
+ sectionHeading: {
751
+ text: YextEntityField<string>;
752
+ level: HeadingProps["level"];
753
+ alignment: "left" | "right" | "center";
754
+ };
755
+ };
756
+ declare const SectionContainer: ComponentConfig<SectionContainerProps>;
757
+
758
+ interface CollectionProps {
759
+ collection: YextCollection;
760
+ shouldClearDropZone?: boolean;
761
+ layout?: "grid" | "flex";
762
+ direction?: "flex-row" | "flex-col";
763
+ }
764
+ declare const collectionWrapperClassName = "flex flex-wrap gap-4 flex-col sm:flex-row items-center";
765
+ declare const Collection: ComponentConfig<CollectionProps>;
437
766
 
438
767
  declare const layoutVariants: (props?: ({
439
- gap?: "0" | "1" | "2" | "3" | "4" | "default" | "none" | "5" | "6" | "7" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "9" | "11" | null | undefined;
440
- verticalPadding?: "0" | "1" | "2" | "3" | "4" | "default" | "none" | "5" | "6" | "7" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "9" | "11" | null | undefined;
441
- horizontalPadding?: "0" | "1" | "2" | "3" | "4" | "default" | "none" | "5" | "6" | "7" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "9" | "11" | null | undefined;
442
- backgroundColor?: "default" | "text" | "accent" | "none" | "inherit" | "secondary" | "primary" | "background" | null | undefined;
443
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
444
- declare const innerLayoutVariants: (props?: ({
445
- maxContentWidth?: "default" | "none" | "lg" | "xl" | "xxl" | null | undefined;
768
+ gap?: "0" | "1" | "2" | "3" | "4" | "none" | "6" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "5" | "7" | "9" | "11" | null | undefined;
769
+ verticalPadding?: "0" | "1" | "2" | "3" | "4" | "default" | "none" | "6" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "5" | "7" | "9" | "11" | null | undefined;
770
+ horizontalPadding?: "0" | "1" | "2" | "3" | "4" | "none" | "6" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "5" | "7" | "9" | "11" | null | undefined;
771
+ columnFormatting?: "default" | "none" | "forceHorizontal" | null | undefined;
446
772
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
773
+ interface layoutProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof layoutVariants> {
774
+ backgroundColor?: BackgroundStyle;
775
+ }
447
776
 
448
- interface FlexProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof layoutVariants>, VariantProps<typeof innerLayoutVariants> {
777
+ interface FlexProps extends layoutProps {
449
778
  justifyContent: "start" | "center" | "end";
450
- direction: "row" | "column";
779
+ direction: "flex-row" | "flex-col";
451
780
  wrap: "wrap" | "nowrap";
452
781
  }
453
- declare const FlexContainerComponent: ComponentConfig<FlexProps>;
782
+ declare const Flex: ComponentConfig<FlexProps>;
454
783
 
455
- declare const footerVariants: (props?: ({
456
- backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
457
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
458
- type FooterProps = VariantProps<typeof footerVariants>;
459
- declare const Footer: ComponentConfig<FooterProps>;
784
+ interface GridProps extends layoutProps {
785
+ columns: number;
786
+ }
787
+ declare const Grid: ComponentConfig<GridProps>;
460
788
 
461
- type GetDirectionsProps = {
462
- coordinate: YextEntityField<Coordinate>;
463
- getDirectionsProvider: GetDirectionsConfig["provider"];
464
- variant: ButtonProps["variant"];
465
- size: ButtonProps["size"];
466
- borderRadius: ButtonProps["borderRadius"];
467
- fontSize: ButtonProps["fontSize"];
789
+ type AddressProps = {
790
+ address: YextEntityField<AddressType>;
791
+ showGetDirections: boolean;
468
792
  };
469
- declare const GetDirectionsComponent: ComponentConfig<GetDirectionsProps>;
793
+ declare const Address: ComponentConfig<AddressProps>;
470
794
 
471
- interface ColumnProps {
472
- justifyContent: "center" | "start" | "end" | "spaceBetween";
473
- span?: number;
474
- }
475
- interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof layoutVariants>, VariantProps<typeof innerLayoutVariants> {
476
- columns: ColumnProps[];
795
+ interface BodyTextProps extends BodyProps {
796
+ text: YextEntityField<string>;
477
797
  }
478
- declare const GridSectionComponent: ComponentConfig<GridProps>;
798
+ declare const BodyText: ComponentConfig<BodyTextProps>;
479
799
 
480
- declare const headerVariants: (props?: ({
481
- backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
482
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
483
- type HeaderProps = VariantProps<typeof headerVariants>;
484
- declare const Header: ComponentConfig<HeaderProps>;
800
+ interface CTAWrapperProps {
801
+ entityField: YextEntityField<CTAProps>;
802
+ variant: CTAProps["variant"];
803
+ className?: CTAProps["className"];
804
+ }
805
+ declare const CTAWrapper: ComponentConfig<CTAWrapperProps>;
485
806
 
486
- interface HeadingTextProps extends HeadingProps {
487
- text: YextEntityField<string>;
807
+ interface EmailsProps {
808
+ list: YextEntityField<string[]>;
809
+ listLength: number;
810
+ includeHyperlink: boolean;
488
811
  }
489
- declare const HeadingTextComponent: ComponentConfig<HeadingTextProps>;
812
+ declare const Emails: ComponentConfig<EmailsProps>;
813
+
814
+ type GetDirectionsProps = {
815
+ coordinate: YextEntityField<Coordinate>;
816
+ variant: CTAProps["variant"];
817
+ };
818
+ declare const GetDirections: ComponentConfig<GetDirectionsProps>;
490
819
 
491
820
  type HoursTableProps = {
492
821
  hours: YextEntityField<HoursType>;
@@ -494,9 +823,8 @@ type HoursTableProps = {
494
823
  collapseDays: boolean;
495
824
  showAdditionalHoursText: boolean;
496
825
  alignment: "items-start" | "items-center";
497
- padding: VariantProps<typeof sectionVariants>["padding"];
498
826
  };
499
- declare const HoursTableComponent: ComponentConfig<HoursTableProps>;
827
+ declare const HoursTable: ComponentConfig<HoursTableProps>;
500
828
 
501
829
  interface HoursStatusProps {
502
830
  hours: YextEntityField<HoursType>;
@@ -506,69 +834,146 @@ interface HoursStatusProps {
506
834
  dayOfWeekFormat?: "short" | "long";
507
835
  showDayNames?: boolean;
508
836
  }
509
- declare const HoursStatusComponent: ComponentConfig<HoursStatusProps>;
837
+ declare const HoursStatus: ComponentConfig<HoursStatusProps>;
510
838
 
511
- declare const phoneVariants: (props?: ({
512
- fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
513
- color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
514
- includeHyperlink?: boolean | null | undefined;
515
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
516
- interface PhoneProps extends VariantProps<typeof phoneVariants> {
517
- phone: YextEntityField<string>;
518
- format?: "domestic" | "international";
519
- textSize?: number;
839
+ interface ImageWrapperProps {
840
+ image: YextEntityField<ImageType>;
841
+ layout: ImageProps["layout"];
842
+ aspectRatio?: ImageProps["aspectRatio"];
843
+ width?: ImageProps["width"];
844
+ height?: ImageProps["height"];
520
845
  }
521
- declare const PhoneComponent: ComponentConfig<PhoneProps>;
846
+ declare const ImageWrapper: ComponentConfig<ImageWrapperProps>;
522
847
 
523
- interface PromoProps {
524
- orientation: "left" | "right";
525
- title: {
526
- text: YextEntityField<string>;
527
- fontSize: HeadingProps["fontSize"];
528
- color: HeadingProps["color"];
529
- transform: HeadingProps["transform"];
530
- };
531
- description: {
532
- text: YextEntityField<string>;
533
- fontSize: HeadingProps["fontSize"];
534
- color: HeadingProps["color"];
535
- transform: HeadingProps["transform"];
536
- };
537
- image: {
538
- image: YextEntityField<ImageType>;
539
- size: ImageWrapperProps["size"];
540
- aspectRatio: ImageWrapperProps["aspectRatio"];
541
- rounded: ImageWrapperProps["rounded"];
542
- };
543
- cta: {
544
- entityField: YextEntityField<CTAProps>;
545
- variant: CTAProps["variant"];
546
- fontSize: CTAProps["fontSize"];
547
- linkType: CTAProps["linkType"];
548
- };
848
+ type MapboxStaticProps = {
849
+ apiKey: string;
850
+ coordinate: YextEntityField<Coordinate>;
851
+ zoom?: number;
852
+ mapStyle?: string;
853
+ };
854
+ declare const MapboxStaticMapComponent: ComponentConfig<MapboxStaticProps>;
855
+
856
+ interface PhoneProps {
857
+ phone: YextEntityField<string>;
858
+ format?: "domestic" | "international";
859
+ includeHyperlink: boolean;
549
860
  }
550
- declare const PromoComponent: ComponentConfig<PromoProps>;
861
+ declare const Phone: ComponentConfig<PhoneProps>;
551
862
 
552
- declare const textListVariants: (props?: ({
553
- fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
554
- color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
555
- textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
556
- padding?: "small" | "default" | "none" | "large" | null | undefined;
557
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
558
- interface TextListProps extends VariantProps<typeof textListVariants> {
863
+ interface TextListProps {
559
864
  list: YextEntityField<string[]>;
560
- textSize?: number;
561
865
  }
562
- declare const TextListComponent: ComponentConfig<TextListProps>;
866
+ declare const TextList: ComponentConfig<TextListProps>;
563
867
 
564
- type BreadcrumbsProps = {
565
- separator?: string;
868
+ type HeaderProps = Record<string, never>;
869
+ declare const Header: ComponentConfig<HeaderProps>;
870
+
871
+ type FooterProps = {
872
+ backgroundColor?: BackgroundStyle;
566
873
  };
567
- declare const Breadcrumbs: ComponentConfig<BreadcrumbsProps>;
874
+ declare const Footer: ComponentConfig<FooterProps>;
568
875
 
569
876
  interface DirectoryProps {
570
877
  separator?: string;
571
878
  }
572
879
  declare const Directory: ComponentConfig<DirectoryProps>;
573
880
 
574
- export { AddressComponent as Address, type AddressProps, Banner, type BannerProps, BasicSelector, Body, type BodyProps, BodyTextComponent as BodyText, type BodyTextProps, BorderRadiusSelector, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapperComponent as CTAWrapper, type CTAWrapperProps, CardComponent as Card, type CardProps, Directory, type DirectoryProps, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirectionsComponent as GetDirections, type GetDirectionsProps, GridSectionComponent as Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingProps, HeadingTextComponent as HeadingText, type HeadingTextProps, HoursStatusComponent as HoursStatus, type HoursStatusProps, HoursTableComponent as HoursTable, type HoursTableProps, ImageWrapperComponent as ImageWrapper, type ImageWrapperProps, NumberFieldWithDefaultOption, type NumberFieldWithDefaultOptionProps, type NumberOrDefault, PhoneComponent as Phone, type PhoneProps, PromoComponent as Promo, type PromoProps, type RenderYextEntityFieldSelectorProps, Section, type SectionProps, SpacingSelector, TailwindConfigContext, TemplatePropsContext, TextListComponent as TextList, type TextListProps, type ThemeConfig, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, type YextFieldDefinition, type YextSchemaField, applyAnalytics, applyTheme, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, getBorderRadiusOptions, getFontSizeOptions, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, getSpacingOptions, headingVariants, normalizeSlug, resolveYextEntityField, sectionVariants, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, useTemplateProps, validateSlug };
881
+ interface PageSectionCategoryProps {
882
+ BreadcrumbsSection: BreadcrumbsSectionProps;
883
+ HeroSection: HeroSectionProps;
884
+ CoreInfoSection: CoreInfoSectionProps;
885
+ NearbyLocationsSection: NearbyLocationsSectionProps;
886
+ BannerSection: BannerSectionProps;
887
+ PromoSection: PromoSectionProps;
888
+ PhotoGallerySection: PhotoGallerySectionProps;
889
+ FAQsSection: FAQsSectionProps;
890
+ SectionContainer: SectionContainerProps;
891
+ }
892
+ declare const PageSectionCategoryComponents: {
893
+ BreadcrumbsSection: _measured_puck.ComponentConfig<BreadcrumbsSectionProps>;
894
+ HeroSection: _measured_puck.ComponentConfig<HeroSectionProps>;
895
+ CoreInfoSection: _measured_puck.ComponentConfig<CoreInfoSectionProps>;
896
+ NearbyLocationsSection: _measured_puck.ComponentConfig<NearbyLocationsSectionProps>;
897
+ BannerSection: _measured_puck.ComponentConfig<BannerSectionProps>;
898
+ PromoSection: _measured_puck.ComponentConfig<PromoSectionProps>;
899
+ PhotoGallerySection: _measured_puck.ComponentConfig<PhotoGallerySectionProps>;
900
+ FAQsSection: _measured_puck.ComponentConfig<FAQsSectionProps>;
901
+ SectionContainer: _measured_puck.ComponentConfig<SectionContainerProps>;
902
+ };
903
+ declare const PageSectionCategory: (keyof PageSectionCategoryProps)[];
904
+ interface LayoutBlockCategoryProps {
905
+ Collection: CollectionProps;
906
+ Flex: FlexProps;
907
+ Grid: GridProps;
908
+ }
909
+ declare const LayoutBlockCategoryComponents: {
910
+ Collection: _measured_puck.ComponentConfig<CollectionProps>;
911
+ Flex: _measured_puck.ComponentConfig<FlexProps>;
912
+ Grid: _measured_puck.ComponentConfig<GridProps>;
913
+ };
914
+ declare const LayoutBlockCategory: (keyof LayoutBlockCategoryProps)[];
915
+ interface CardCategoryProps {
916
+ EventCard: EventCardProps;
917
+ InsightCard: InsightCardProps;
918
+ PersonCard: PersonCardProps;
919
+ ProductCard: ProductCardProps;
920
+ TestimonialCard: TestimonialCardProps;
921
+ }
922
+ declare const CardCategoryComponents: {
923
+ EventCard: _measured_puck.ComponentConfig<EventCardProps>;
924
+ InsightCard: _measured_puck.ComponentConfig<InsightCardProps>;
925
+ PersonCard: _measured_puck.ComponentConfig<PersonCardProps>;
926
+ ProductCard: _measured_puck.ComponentConfig<ProductCardProps>;
927
+ TestimonialCard: _measured_puck.ComponentConfig<TestimonialCardProps>;
928
+ };
929
+ declare const CardCategory: (keyof CardCategoryProps)[];
930
+ interface ContentBlockCategoryProps {
931
+ Address: AddressProps;
932
+ BodyText: BodyTextProps;
933
+ CTAWrapper: CTAWrapperProps;
934
+ Emails: EmailsProps;
935
+ GetDirections: GetDirectionsProps;
936
+ HoursTable: HoursTableProps;
937
+ HoursStatus: HoursStatusProps;
938
+ ImageWrapper: ImageWrapperProps;
939
+ MapboxStaticMap: MapboxStaticProps;
940
+ Phone: PhoneProps;
941
+ TextList: TextListProps;
942
+ }
943
+ declare const ContentBlockCategoryComponents: {
944
+ Address: _measured_puck.ComponentConfig<AddressProps>;
945
+ BodyText: _measured_puck.ComponentConfig<BodyTextProps>;
946
+ CTAWrapper: _measured_puck.ComponentConfig<CTAWrapperProps>;
947
+ Emails: _measured_puck.ComponentConfig<EmailsProps>;
948
+ GetDirections: _measured_puck.ComponentConfig<GetDirectionsProps>;
949
+ HoursTable: _measured_puck.ComponentConfig<HoursTableProps>;
950
+ HoursStatus: _measured_puck.ComponentConfig<HoursStatusProps>;
951
+ ImageWrapper: _measured_puck.ComponentConfig<ImageWrapperProps>;
952
+ MapboxStaticMap: _measured_puck.ComponentConfig<MapboxStaticProps>;
953
+ Phone: _measured_puck.ComponentConfig<PhoneProps>;
954
+ TextList: _measured_puck.ComponentConfig<TextListProps>;
955
+ };
956
+ declare const ContentBlockCategory: (keyof ContentBlockCategoryProps)[];
957
+ interface OtherCategoryProps {
958
+ Header: HeaderProps;
959
+ Footer: FooterProps;
960
+ }
961
+ declare const OtherCategoryComponents: {
962
+ Header: _measured_puck.ComponentConfig<HeaderProps>;
963
+ Footer: _measured_puck.ComponentConfig<FooterProps>;
964
+ };
965
+ declare const OtherCategory: (keyof OtherCategoryProps)[];
966
+ interface DirectoryCategoryProps {
967
+ Directory: DirectoryProps;
968
+ }
969
+ declare const DirectoryCategoryComponents: {
970
+ Directory: _measured_puck.ComponentConfig<DirectoryProps>;
971
+ };
972
+ declare const DirectoryCategory: (keyof DirectoryCategoryProps)[];
973
+
974
+ interface HeadingTextProps extends HeadingProps {
975
+ text: YextEntityField<string>;
976
+ }
977
+ declare const HeadingText: ComponentConfig<HeadingTextProps>;
978
+
979
+ export { Address, type AddressProps, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, BannerSection, type BannerSectionProps, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, BorderRadiusSelector, BreadcrumbsSection, type BreadcrumbsSectionProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapper, type CTAWrapperProps, CardCategory, CardCategoryComponents, type CardCategoryProps, Collection, type CollectionProps, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventCard, type EventCardProps, ExampleRepeatableItemComponent, type ExampleRepeatableItemProps, FAQsSection, type FAQsSectionProps, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightCard, type InsightCardProps, LayoutBlockCategory, LayoutBlockCategoryComponents, type LayoutBlockCategoryProps, MapboxStaticMapComponent as MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, PersonCard, type PersonCardProps, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductCard, type ProductCardProps, PromoSection, type PromoSectionProps, type RenderYextEntityFieldSelectorProps, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TemplatePropsContext, TestimonialCard, type TestimonialCardProps, TextList, type TextListProps, type ThemeConfig, ThemeOptions, VisualEditorProvider, type YextCollection, YextCollectionSubfieldSelector, type YextEntityField, YextEntityFieldSelector, type YextFieldDefinition, type YextSchemaField, applyAnalytics, applyTheme, backgroundColors, bodyVariants, buttonVariants, collectionWrapperClassName, constructFontSelectOptions, defaultFonts, defaultThemeTailwindExtensions, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, handleResolveFieldsForCollections, headingVariants, normalizeSlug, resolveYextEntityField, resolveYextSubfield, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, useTemplateProps, validateSlug };