@yext/visual-editor 0.0.18 → 0.0.19

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
@@ -6,7 +6,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
7
7
  import { VariantProps } from 'class-variance-authority';
8
8
  import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
9
- import { AddressType, GetDirectionsConfig, Coordinate, HoursType, DayOfWeekNames, ImageType } from '@yext/pages-components';
9
+ import { AddressType, GetDirectionsConfig, Coordinate, ImageType, CTA as CTA$1, HoursType, DayOfWeekNames } from '@yext/pages-components';
10
10
  import * as class_variance_authority_dist_types_js from 'class-variance-authority/dist/types.js';
11
11
 
12
12
  declare const usePlatformBridgeDocument: () => any;
@@ -90,11 +90,15 @@ declare const themeResolver: (developerTheming: TailwindConfig, marketerTheming:
90
90
 
91
91
  type Document = {
92
92
  [key: string]: any;
93
+ __?: {
94
+ layout?: string;
95
+ theme?: string;
96
+ codeTemplate?: string;
97
+ name?: string;
98
+ };
93
99
  };
94
100
  declare const applyTheme: (document: Document, themeConfig: ThemeConfig, base?: string) => string;
95
101
 
96
- declare function resolveVisualEditorData(data: any, pageSet: string | undefined): any;
97
-
98
102
  type Only<T, U> = {
99
103
  [P in keyof T]: T[P];
100
104
  } & {
@@ -137,7 +141,37 @@ declare const YextEntityFieldSelector: <T extends Record<string, any>, U>(props:
137
141
 
138
142
  declare const resolveYextEntityField: <T>(document: any, entityField: YextEntityField<T>) => T | undefined;
139
143
 
140
- declare function yextCn(...inputs: ClassValue[]): string;
144
+ declare const themeMangerTwMergeConfiguration: {
145
+ extend: {
146
+ classGroups: {
147
+ "font-family": {
148
+ font: ((value: string) => boolean)[];
149
+ }[];
150
+ "font-weight": {
151
+ font: ((value: string) => boolean)[];
152
+ }[];
153
+ "font-size": {
154
+ text: ((value: string) => boolean)[];
155
+ }[];
156
+ "text-color": {
157
+ text: ((value: string) => boolean)[];
158
+ }[];
159
+ "gap-y": {
160
+ "gap-y": ((value: string) => boolean)[];
161
+ }[];
162
+ "max-w": {
163
+ "max-w": ((value: string) => boolean)[];
164
+ }[];
165
+ "bg-color": {
166
+ "bg-color": ((value: string) => boolean)[];
167
+ }[];
168
+ rounded: {
169
+ rounded: ((value: string) => boolean)[];
170
+ }[];
171
+ };
172
+ };
173
+ };
174
+ declare function themeMangerCn(...inputs: ClassValue[]): string;
141
175
 
142
176
  type FontRegistry = Record<string, FontSpecification>;
143
177
  type FontSpecification = {
@@ -195,7 +229,7 @@ declare const FontSizeSelector: (label?: string) => Field;
195
229
  declare const bodyVariants: (props?: ({
196
230
  fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
197
231
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
198
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
232
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
199
233
  textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
200
234
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
201
235
  interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
@@ -227,11 +261,11 @@ declare const CTA: {
227
261
  };
228
262
 
229
263
  declare const headingVariants: (props?: ({
264
+ level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
230
265
  fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
231
266
  weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
232
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
267
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
233
268
  transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
234
- level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
235
269
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
236
270
  type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
237
271
  interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
@@ -270,8 +304,8 @@ declare const CTAWrapperComponent: ComponentConfig<CTAWrapperProps>;
270
304
 
271
305
  declare const emailsVariants: (props?: ({
272
306
  fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "medium" | null | undefined;
273
- fontWeight?: "bold" | "default" | "normal" | "black" | "medium" | "light" | "thin" | "extralight" | "semibold" | "extrabold" | null | undefined;
274
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | "foreground" | null | undefined;
307
+ fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
308
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
275
309
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
276
310
  interface EmailsProps extends VariantProps<typeof emailsVariants> {
277
311
  list: YextEntityField<string[]>;
@@ -282,8 +316,8 @@ declare const EmailsComponent: ComponentConfig<EmailsProps>;
282
316
 
283
317
  declare const flexContainerVariants: (props?: ({
284
318
  direction?: "row" | "column" | null | undefined;
285
- alignment?: "center" | "end" | "start" | "stretch" | null | undefined;
286
- justification?: "center" | "end" | "start" | "spaceBetween" | "spaceAround" | null | undefined;
319
+ alignment?: "end" | "start" | "center" | "stretch" | null | undefined;
320
+ justification?: "end" | "start" | "center" | "spaceBetween" | "spaceAround" | null | undefined;
287
321
  spacing?: "small" | "large" | "medium" | null | undefined;
288
322
  wrap?: "wrap" | "nowrap" | null | undefined;
289
323
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
@@ -305,14 +339,14 @@ type GetDirectionsProps = {
305
339
  declare const GetDirectionsComponent: ComponentConfig<GetDirectionsProps>;
306
340
 
307
341
  declare const backgroundVariants: (props?: ({
308
- backgroundColor?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
342
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
309
343
  maxContentWidth?: "default" | "lg" | "xl" | "xxl" | null | undefined;
310
344
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
311
345
  declare const gridSectionVariants: (props?: ({
312
346
  horizontalSpacing?: "small" | "large" | "medium" | null | undefined;
313
347
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
314
348
  declare const columnVariants: (props?: ({
315
- verticalAlignment?: "center" | "end" | "start" | "spaceBetween" | null | undefined;
349
+ verticalAlignment?: "end" | "start" | "center" | "spaceBetween" | null | undefined;
316
350
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
317
351
  interface ColumnProps extends VariantProps<typeof columnVariants> {
318
352
  span?: number;
@@ -325,6 +359,20 @@ interface GridSectionProps extends React.HTMLAttributes<HTMLDivElement>, Variant
325
359
  }
326
360
  declare const GridSectionComponent: ComponentConfig<GridSectionProps>;
327
361
 
362
+ declare const headerVariants: (props?: ({
363
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
364
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
365
+ interface HeaderProps extends VariantProps<typeof headerVariants> {
366
+ logo: {
367
+ image: YextEntityField<ImageType>;
368
+ };
369
+ links: {
370
+ cta: YextEntityField<CTA$1>;
371
+ id?: string;
372
+ }[];
373
+ }
374
+ declare const Header: ComponentConfig<HeaderProps>;
375
+
328
376
  interface HeadingTextProps extends HeadingProps {
329
377
  text: YextEntityField<string>;
330
378
  }
@@ -362,7 +410,7 @@ declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
362
410
 
363
411
  declare const phoneVariants: (props?: ({
364
412
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
365
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | "foreground" | null | undefined;
413
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
366
414
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
367
415
  interface PhoneProps extends VariantProps<typeof phoneVariants> {
368
416
  phone: YextEntityField<string>;
@@ -401,7 +449,7 @@ declare const PromoComponent: ComponentConfig<PromoProps>;
401
449
 
402
450
  declare const textListVariants: (props?: ({
403
451
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
404
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
452
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
405
453
  textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
406
454
  padding?: "small" | "default" | "none" | "large" | null | undefined;
407
455
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
@@ -411,4 +459,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
411
459
  }
412
460
  declare const TextListComponent: ComponentConfig<TextListProps>;
413
461
 
414
- export { AddressComponent as Address, type AddressProps, Body, type BodyProps, BodyTextComponent as BodyText, type BodyTextProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapperComponent as CTAWrapper, type CTAWrapperProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, GetDirectionsComponent as GetDirections, type GetDirectionsProps, GridSectionComponent as GridSection, type GridSectionProps, 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, TailwindConfigContext, TextListComponent as TextList, type TextListProps, type ThemeConfig, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, applyTheme, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, getFontWeightOptions, getFontWeightOverrideOptions, headingVariants, resolveVisualEditorData, resolveYextEntityField, sectionVariants, themeResolver, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, yextCn };
462
+ export { AddressComponent as Address, type AddressProps, Body, type BodyProps, BodyTextComponent as BodyText, type BodyTextProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapperComponent as CTAWrapper, type CTAWrapperProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, GetDirectionsComponent as GetDirections, type GetDirectionsProps, GridSectionComponent as GridSection, type GridSectionProps, 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, TailwindConfigContext, TextListComponent as TextList, type TextListProps, type ThemeConfig, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, applyTheme, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, getFontWeightOptions, getFontWeightOverrideOptions, headingVariants, resolveYextEntityField, sectionVariants, themeMangerCn, themeMangerTwMergeConfiguration, themeResolver, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig };
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
7
7
  import { VariantProps } from 'class-variance-authority';
8
8
  import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
9
- import { AddressType, GetDirectionsConfig, Coordinate, HoursType, DayOfWeekNames, ImageType } from '@yext/pages-components';
9
+ import { AddressType, GetDirectionsConfig, Coordinate, ImageType, CTA as CTA$1, HoursType, DayOfWeekNames } from '@yext/pages-components';
10
10
  import * as class_variance_authority_dist_types_js from 'class-variance-authority/dist/types.js';
11
11
 
12
12
  declare const usePlatformBridgeDocument: () => any;
@@ -90,11 +90,15 @@ declare const themeResolver: (developerTheming: TailwindConfig, marketerTheming:
90
90
 
91
91
  type Document = {
92
92
  [key: string]: any;
93
+ __?: {
94
+ layout?: string;
95
+ theme?: string;
96
+ codeTemplate?: string;
97
+ name?: string;
98
+ };
93
99
  };
94
100
  declare const applyTheme: (document: Document, themeConfig: ThemeConfig, base?: string) => string;
95
101
 
96
- declare function resolveVisualEditorData(data: any, pageSet: string | undefined): any;
97
-
98
102
  type Only<T, U> = {
99
103
  [P in keyof T]: T[P];
100
104
  } & {
@@ -137,7 +141,37 @@ declare const YextEntityFieldSelector: <T extends Record<string, any>, U>(props:
137
141
 
138
142
  declare const resolveYextEntityField: <T>(document: any, entityField: YextEntityField<T>) => T | undefined;
139
143
 
140
- declare function yextCn(...inputs: ClassValue[]): string;
144
+ declare const themeMangerTwMergeConfiguration: {
145
+ extend: {
146
+ classGroups: {
147
+ "font-family": {
148
+ font: ((value: string) => boolean)[];
149
+ }[];
150
+ "font-weight": {
151
+ font: ((value: string) => boolean)[];
152
+ }[];
153
+ "font-size": {
154
+ text: ((value: string) => boolean)[];
155
+ }[];
156
+ "text-color": {
157
+ text: ((value: string) => boolean)[];
158
+ }[];
159
+ "gap-y": {
160
+ "gap-y": ((value: string) => boolean)[];
161
+ }[];
162
+ "max-w": {
163
+ "max-w": ((value: string) => boolean)[];
164
+ }[];
165
+ "bg-color": {
166
+ "bg-color": ((value: string) => boolean)[];
167
+ }[];
168
+ rounded: {
169
+ rounded: ((value: string) => boolean)[];
170
+ }[];
171
+ };
172
+ };
173
+ };
174
+ declare function themeMangerCn(...inputs: ClassValue[]): string;
141
175
 
142
176
  type FontRegistry = Record<string, FontSpecification>;
143
177
  type FontSpecification = {
@@ -195,7 +229,7 @@ declare const FontSizeSelector: (label?: string) => Field;
195
229
  declare const bodyVariants: (props?: ({
196
230
  fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
197
231
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
198
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
232
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
199
233
  textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
200
234
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
201
235
  interface BodyProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, "color">, VariantProps<typeof bodyVariants> {
@@ -227,11 +261,11 @@ declare const CTA: {
227
261
  };
228
262
 
229
263
  declare const headingVariants: (props?: ({
264
+ level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
230
265
  fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
231
266
  weight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
232
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
267
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
233
268
  transform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
234
- level?: 2 | 1 | 3 | 4 | 5 | 6 | null | undefined;
235
269
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
236
270
  type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
237
271
  interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">, VariantProps<typeof headingVariants> {
@@ -270,8 +304,8 @@ declare const CTAWrapperComponent: ComponentConfig<CTAWrapperProps>;
270
304
 
271
305
  declare const emailsVariants: (props?: ({
272
306
  fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "medium" | null | undefined;
273
- fontWeight?: "bold" | "default" | "normal" | "black" | "medium" | "light" | "thin" | "extralight" | "semibold" | "extrabold" | null | undefined;
274
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | "foreground" | null | undefined;
307
+ fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
308
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
275
309
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
276
310
  interface EmailsProps extends VariantProps<typeof emailsVariants> {
277
311
  list: YextEntityField<string[]>;
@@ -282,8 +316,8 @@ declare const EmailsComponent: ComponentConfig<EmailsProps>;
282
316
 
283
317
  declare const flexContainerVariants: (props?: ({
284
318
  direction?: "row" | "column" | null | undefined;
285
- alignment?: "center" | "end" | "start" | "stretch" | null | undefined;
286
- justification?: "center" | "end" | "start" | "spaceBetween" | "spaceAround" | null | undefined;
319
+ alignment?: "end" | "start" | "center" | "stretch" | null | undefined;
320
+ justification?: "end" | "start" | "center" | "spaceBetween" | "spaceAround" | null | undefined;
287
321
  spacing?: "small" | "large" | "medium" | null | undefined;
288
322
  wrap?: "wrap" | "nowrap" | null | undefined;
289
323
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
@@ -305,14 +339,14 @@ type GetDirectionsProps = {
305
339
  declare const GetDirectionsComponent: ComponentConfig<GetDirectionsProps>;
306
340
 
307
341
  declare const backgroundVariants: (props?: ({
308
- backgroundColor?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
342
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
309
343
  maxContentWidth?: "default" | "lg" | "xl" | "xxl" | null | undefined;
310
344
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
311
345
  declare const gridSectionVariants: (props?: ({
312
346
  horizontalSpacing?: "small" | "large" | "medium" | null | undefined;
313
347
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
314
348
  declare const columnVariants: (props?: ({
315
- verticalAlignment?: "center" | "end" | "start" | "spaceBetween" | null | undefined;
349
+ verticalAlignment?: "end" | "start" | "center" | "spaceBetween" | null | undefined;
316
350
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
317
351
  interface ColumnProps extends VariantProps<typeof columnVariants> {
318
352
  span?: number;
@@ -325,6 +359,20 @@ interface GridSectionProps extends React.HTMLAttributes<HTMLDivElement>, Variant
325
359
  }
326
360
  declare const GridSectionComponent: ComponentConfig<GridSectionProps>;
327
361
 
362
+ declare const headerVariants: (props?: ({
363
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
364
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
365
+ interface HeaderProps extends VariantProps<typeof headerVariants> {
366
+ logo: {
367
+ image: YextEntityField<ImageType>;
368
+ };
369
+ links: {
370
+ cta: YextEntityField<CTA$1>;
371
+ id?: string;
372
+ }[];
373
+ }
374
+ declare const Header: ComponentConfig<HeaderProps>;
375
+
328
376
  interface HeadingTextProps extends HeadingProps {
329
377
  text: YextEntityField<string>;
330
378
  }
@@ -362,7 +410,7 @@ declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
362
410
 
363
411
  declare const phoneVariants: (props?: ({
364
412
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
365
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | "foreground" | null | undefined;
413
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
366
414
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
367
415
  interface PhoneProps extends VariantProps<typeof phoneVariants> {
368
416
  phone: YextEntityField<string>;
@@ -401,7 +449,7 @@ declare const PromoComponent: ComponentConfig<PromoProps>;
401
449
 
402
450
  declare const textListVariants: (props?: ({
403
451
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
404
- color?: "default" | "text" | "secondary" | "primary" | "accent" | "background" | null | undefined;
452
+ color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
405
453
  textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | null | undefined;
406
454
  padding?: "small" | "default" | "none" | "large" | null | undefined;
407
455
  } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
@@ -411,4 +459,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
411
459
  }
412
460
  declare const TextListComponent: ComponentConfig<TextListProps>;
413
461
 
414
- export { AddressComponent as Address, type AddressProps, Body, type BodyProps, BodyTextComponent as BodyText, type BodyTextProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapperComponent as CTAWrapper, type CTAWrapperProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, GetDirectionsComponent as GetDirections, type GetDirectionsProps, GridSectionComponent as GridSection, type GridSectionProps, 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, TailwindConfigContext, TextListComponent as TextList, type TextListProps, type ThemeConfig, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, applyTheme, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, getFontWeightOptions, getFontWeightOverrideOptions, headingVariants, resolveVisualEditorData, resolveYextEntityField, sectionVariants, themeResolver, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, yextCn };
462
+ export { AddressComponent as Address, type AddressProps, Body, type BodyProps, BodyTextComponent as BodyText, type BodyTextProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapperComponent as CTAWrapper, type CTAWrapperProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, GetDirectionsComponent as GetDirections, type GetDirectionsProps, GridSectionComponent as GridSection, type GridSectionProps, 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, TailwindConfigContext, TextListComponent as TextList, type TextListProps, type ThemeConfig, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, applyTheme, bodyVariants, buttonVariants, constructFontSelectOptions, defaultFonts, getFontWeightOptions, getFontWeightOverrideOptions, headingVariants, resolveYextEntityField, sectionVariants, themeMangerCn, themeMangerTwMergeConfiguration, themeResolver, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig };