@yext/visual-editor 0.0.19 → 0.0.20

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, ImageType, CTA as CTA$1, HoursType, DayOfWeekNames } from '@yext/pages-components';
9
+ import { AddressType, GetDirectionsConfig, ImageType, CTA as CTA$1, Coordinate, 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;
@@ -294,9 +294,55 @@ interface BodyTextProps extends BodyProps {
294
294
  }
295
295
  declare const BodyTextComponent: ComponentConfig<BodyTextProps>;
296
296
 
297
+ declare const imageWrapperVariants: (props?: ({
298
+ size?: "small" | "large" | "medium" | "full" | null | undefined;
299
+ aspectRatio?: "video" | "auto" | "square" | "portrait" | null | undefined;
300
+ rounded?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
301
+ } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
302
+ interface ImageWrapperProps extends VariantProps<typeof imageWrapperVariants> {
303
+ image: YextEntityField<ImageType>;
304
+ }
305
+ declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
306
+
307
+ interface CardProps {
308
+ orientation: "left" | "right";
309
+ heading: {
310
+ text: YextEntityField<string>;
311
+ fontSize: HeadingProps["fontSize"];
312
+ color: HeadingProps["color"];
313
+ transform: HeadingProps["transform"];
314
+ };
315
+ subheading: {
316
+ text: YextEntityField<string>;
317
+ fontSize: HeadingProps["fontSize"];
318
+ color: HeadingProps["color"];
319
+ transform: HeadingProps["transform"];
320
+ };
321
+ body: {
322
+ text: YextEntityField<string>;
323
+ fontSize: BodyProps["fontSize"];
324
+ color: BodyProps["color"];
325
+ transform: BodyProps["textTransform"];
326
+ };
327
+ image: {
328
+ image: YextEntityField<ImageType>;
329
+ size: ImageWrapperProps["size"];
330
+ aspectRatio: ImageWrapperProps["aspectRatio"];
331
+ rounded: ImageWrapperProps["rounded"];
332
+ };
333
+ cta: {
334
+ entityField: YextEntityField<CTAProps>;
335
+ variant: CTAProps["variant"];
336
+ fontSize: HeadingProps["fontSize"];
337
+ };
338
+ }
339
+ declare const CardComponent: ComponentConfig<CardProps>;
340
+
297
341
  interface CTAWrapperProps {
298
342
  entityField: YextEntityField<CTAProps>;
299
343
  variant: CTAProps["variant"];
344
+ size: CTAProps["size"];
345
+ borderRadius: CTAProps["borderRadius"];
300
346
  fontSize: CTAProps["fontSize"];
301
347
  className?: CTAProps["className"];
302
348
  }
@@ -326,14 +372,26 @@ interface FlexContainerProps extends React.HTMLAttributes<HTMLDivElement>, Varia
326
372
  }
327
373
  declare const FlexContainerComponent: ComponentConfig<FlexContainerProps>;
328
374
 
375
+ declare const footerVariants: (props?: ({
376
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
377
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
378
+ interface FooterProps extends VariantProps<typeof footerVariants> {
379
+ copyright: BodyProps & {
380
+ text: YextEntityField<string>;
381
+ };
382
+ links: {
383
+ cta: YextEntityField<CTA$1>;
384
+ id?: string;
385
+ }[];
386
+ }
387
+ declare const Footer: ComponentConfig<FooterProps>;
388
+
329
389
  type GetDirectionsProps = {
330
390
  coordinate: YextEntityField<Coordinate>;
331
391
  getDirectionsProvider: GetDirectionsConfig["provider"];
332
392
  variant: ButtonProps["variant"];
333
393
  size: ButtonProps["size"];
334
394
  borderRadius: ButtonProps["borderRadius"];
335
- alignment: "items-start" | "items-center";
336
- padding: VariantProps<typeof sectionVariants>["padding"];
337
395
  fontSize: ButtonProps["fontSize"];
338
396
  };
339
397
  declare const GetDirectionsComponent: ComponentConfig<GetDirectionsProps>;
@@ -398,16 +456,6 @@ interface HoursStatusProps {
398
456
  }
399
457
  declare const HoursStatusComponent: ComponentConfig<HoursStatusProps>;
400
458
 
401
- declare const imageWrapperVariants: (props?: ({
402
- size?: "small" | "large" | "medium" | "full" | null | undefined;
403
- aspectRatio?: "video" | "auto" | "square" | "portrait" | null | undefined;
404
- rounded?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
405
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
406
- interface ImageWrapperProps extends VariantProps<typeof imageWrapperVariants> {
407
- image: YextEntityField<ImageType>;
408
- }
409
- declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
410
-
411
459
  declare const phoneVariants: (props?: ({
412
460
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
413
461
  color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
@@ -459,4 +507,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
459
507
  }
460
508
  declare const TextListComponent: ComponentConfig<TextListProps>;
461
509
 
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 };
510
+ 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, CardComponent as Card, type CardProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, 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, ImageType, CTA as CTA$1, HoursType, DayOfWeekNames } from '@yext/pages-components';
9
+ import { AddressType, GetDirectionsConfig, ImageType, CTA as CTA$1, Coordinate, 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;
@@ -294,9 +294,55 @@ interface BodyTextProps extends BodyProps {
294
294
  }
295
295
  declare const BodyTextComponent: ComponentConfig<BodyTextProps>;
296
296
 
297
+ declare const imageWrapperVariants: (props?: ({
298
+ size?: "small" | "large" | "medium" | "full" | null | undefined;
299
+ aspectRatio?: "video" | "auto" | "square" | "portrait" | null | undefined;
300
+ rounded?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
301
+ } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
302
+ interface ImageWrapperProps extends VariantProps<typeof imageWrapperVariants> {
303
+ image: YextEntityField<ImageType>;
304
+ }
305
+ declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
306
+
307
+ interface CardProps {
308
+ orientation: "left" | "right";
309
+ heading: {
310
+ text: YextEntityField<string>;
311
+ fontSize: HeadingProps["fontSize"];
312
+ color: HeadingProps["color"];
313
+ transform: HeadingProps["transform"];
314
+ };
315
+ subheading: {
316
+ text: YextEntityField<string>;
317
+ fontSize: HeadingProps["fontSize"];
318
+ color: HeadingProps["color"];
319
+ transform: HeadingProps["transform"];
320
+ };
321
+ body: {
322
+ text: YextEntityField<string>;
323
+ fontSize: BodyProps["fontSize"];
324
+ color: BodyProps["color"];
325
+ transform: BodyProps["textTransform"];
326
+ };
327
+ image: {
328
+ image: YextEntityField<ImageType>;
329
+ size: ImageWrapperProps["size"];
330
+ aspectRatio: ImageWrapperProps["aspectRatio"];
331
+ rounded: ImageWrapperProps["rounded"];
332
+ };
333
+ cta: {
334
+ entityField: YextEntityField<CTAProps>;
335
+ variant: CTAProps["variant"];
336
+ fontSize: HeadingProps["fontSize"];
337
+ };
338
+ }
339
+ declare const CardComponent: ComponentConfig<CardProps>;
340
+
297
341
  interface CTAWrapperProps {
298
342
  entityField: YextEntityField<CTAProps>;
299
343
  variant: CTAProps["variant"];
344
+ size: CTAProps["size"];
345
+ borderRadius: CTAProps["borderRadius"];
300
346
  fontSize: CTAProps["fontSize"];
301
347
  className?: CTAProps["className"];
302
348
  }
@@ -326,14 +372,26 @@ interface FlexContainerProps extends React.HTMLAttributes<HTMLDivElement>, Varia
326
372
  }
327
373
  declare const FlexContainerComponent: ComponentConfig<FlexContainerProps>;
328
374
 
375
+ declare const footerVariants: (props?: ({
376
+ backgroundColor?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
377
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
378
+ interface FooterProps extends VariantProps<typeof footerVariants> {
379
+ copyright: BodyProps & {
380
+ text: YextEntityField<string>;
381
+ };
382
+ links: {
383
+ cta: YextEntityField<CTA$1>;
384
+ id?: string;
385
+ }[];
386
+ }
387
+ declare const Footer: ComponentConfig<FooterProps>;
388
+
329
389
  type GetDirectionsProps = {
330
390
  coordinate: YextEntityField<Coordinate>;
331
391
  getDirectionsProvider: GetDirectionsConfig["provider"];
332
392
  variant: ButtonProps["variant"];
333
393
  size: ButtonProps["size"];
334
394
  borderRadius: ButtonProps["borderRadius"];
335
- alignment: "items-start" | "items-center";
336
- padding: VariantProps<typeof sectionVariants>["padding"];
337
395
  fontSize: ButtonProps["fontSize"];
338
396
  };
339
397
  declare const GetDirectionsComponent: ComponentConfig<GetDirectionsProps>;
@@ -398,16 +456,6 @@ interface HoursStatusProps {
398
456
  }
399
457
  declare const HoursStatusComponent: ComponentConfig<HoursStatusProps>;
400
458
 
401
- declare const imageWrapperVariants: (props?: ({
402
- size?: "small" | "large" | "medium" | "full" | null | undefined;
403
- aspectRatio?: "video" | "auto" | "square" | "portrait" | null | undefined;
404
- rounded?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
405
- } & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
406
- interface ImageWrapperProps extends VariantProps<typeof imageWrapperVariants> {
407
- image: YextEntityField<ImageType>;
408
- }
409
- declare const ImageWrapperComponent: ComponentConfig<ImageWrapperProps>;
410
-
411
459
  declare const phoneVariants: (props?: ({
412
460
  fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
413
461
  color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
@@ -459,4 +507,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
459
507
  }
460
508
  declare const TextListComponent: ComponentConfig<TextListProps>;
461
509
 
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 };
510
+ 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, CardComponent as Card, type CardProps, DocumentContext, Editor, EmailsComponent as Emails, type EmailsProps, EntityField, FlexContainerComponent as FlexContainer, type FlexContainerProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, 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 };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-eGvjhehK.cjs");exports.Address=e.AddressComponent;exports.Body=e.Body;exports.BodyText=e.BodyTextComponent;exports.Button=e.Button;exports.CTA=e.CTA;exports.CTAWrapper=e.CTAWrapperComponent;exports.DocumentContext=e.DocumentContext;exports.Editor=e.Editor;exports.Emails=e.EmailsComponent;exports.EntityField=e.EntityField;exports.FlexContainer=e.FlexContainerComponent;exports.FontSizeSelector=e.FontSizeSelector;exports.GetDirections=e.GetDirectionsComponent;exports.GridSection=e.GridSectionComponent;exports.Header=e.Header;exports.Heading=e.Heading;exports.HeadingText=e.HeadingTextComponent;exports.HoursStatus=e.HoursStatusComponent;exports.HoursTable=e.HoursTableComponent;exports.ImageWrapper=e.ImageWrapperComponent;exports.NumberFieldWithDefaultOption=e.NumberFieldWithDefaultOption;exports.Phone=e.PhoneComponent;exports.Promo=e.PromoComponent;exports.Section=e.Section;exports.TailwindConfigContext=e.TailwindConfigContext;exports.TextList=e.TextListComponent;exports.VisualEditorProvider=e.VisualEditorProvider;exports.YextEntityFieldSelector=e.YextEntityFieldSelector;exports.applyTheme=e.applyTheme;exports.bodyVariants=e.bodyVariants;exports.buttonVariants=e.buttonVariants;exports.constructFontSelectOptions=e.constructFontSelectOptions;exports.defaultFonts=e.defaultFonts;exports.getFontWeightOptions=e.getFontWeightOptions;exports.getFontWeightOverrideOptions=e.getFontWeightOverrideOptions;exports.headingVariants=e.headingVariants;exports.resolveYextEntityField=e.resolveYextEntityField;exports.sectionVariants=e.sectionVariants;exports.themeMangerCn=e.themeMangerCn;exports.themeMangerTwMergeConfiguration=e.themeMangerTwMergeConfiguration;exports.themeResolver=e.themeResolver;exports.useDocument=e.useDocument;exports.useEntityFields=e.useEntityFields;exports.usePlatformBridgeDocument=e.usePlatformBridgeDocument;exports.usePlatformBridgeEntityFields=e.usePlatformBridgeEntityFields;exports.useTailwindConfig=e.useTailwindConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B7goU0uD.cjs");exports.Address=e.AddressComponent;exports.Body=e.Body;exports.BodyText=e.BodyTextComponent;exports.Button=e.Button;exports.CTA=e.CTA;exports.CTAWrapper=e.CTAWrapperComponent;exports.Card=e.CardComponent;exports.DocumentContext=e.DocumentContext;exports.Editor=e.Editor;exports.Emails=e.EmailsComponent;exports.EntityField=e.EntityField;exports.FlexContainer=e.FlexContainerComponent;exports.FontSizeSelector=e.FontSizeSelector;exports.Footer=e.Footer;exports.GetDirections=e.GetDirectionsComponent;exports.GridSection=e.GridSectionComponent;exports.Header=e.Header;exports.Heading=e.Heading;exports.HeadingText=e.HeadingTextComponent;exports.HoursStatus=e.HoursStatusComponent;exports.HoursTable=e.HoursTableComponent;exports.ImageWrapper=e.ImageWrapperComponent;exports.NumberFieldWithDefaultOption=e.NumberFieldWithDefaultOption;exports.Phone=e.PhoneComponent;exports.Promo=e.PromoComponent;exports.Section=e.Section;exports.TailwindConfigContext=e.TailwindConfigContext;exports.TextList=e.TextListComponent;exports.VisualEditorProvider=e.VisualEditorProvider;exports.YextEntityFieldSelector=e.YextEntityFieldSelector;exports.applyTheme=e.applyTheme;exports.bodyVariants=e.bodyVariants;exports.buttonVariants=e.buttonVariants;exports.constructFontSelectOptions=e.constructFontSelectOptions;exports.defaultFonts=e.defaultFonts;exports.getFontWeightOptions=e.getFontWeightOptions;exports.getFontWeightOverrideOptions=e.getFontWeightOverrideOptions;exports.headingVariants=e.headingVariants;exports.resolveYextEntityField=e.resolveYextEntityField;exports.sectionVariants=e.sectionVariants;exports.themeMangerCn=e.themeMangerCn;exports.themeMangerTwMergeConfiguration=e.themeMangerTwMergeConfiguration;exports.themeResolver=e.themeResolver;exports.useDocument=e.useDocument;exports.useEntityFields=e.useEntityFields;exports.usePlatformBridgeDocument=e.usePlatformBridgeDocument;exports.usePlatformBridgeEntityFields=e.usePlatformBridgeEntityFields;exports.useTailwindConfig=e.useTailwindConfig;
@@ -1,49 +1,51 @@
1
- import { A as s, y as t, B as i, K as n, M as o, C as r, D as d, E as l, n as u, m as g, o as m, F as c, G as F, p, H as T, O as h, q as x, v as y, s as C, I as f, N as E, P as S, w as B, S as D, T as H, x as O, V as P, Y as V, e as b, z as v, L as W, k as w, h as A, i as M, j as G, Q as Y, r as z, R as I, f as L, g as N, t as R, c as j, a as k, u as q, b as K, d as Q } from "./index-BGhAL0Pq.js";
1
+ import { A as s, K as t, B as i, M as o, Q as n, n as r, C as d, D as l, E as u, o as g, m, p as F, F as c, q as p, G as C, s as T, H as h, R as x, v as y, x as f, w as E, I as S, N as B, P as D, y as H, U as O, T as P, z as V, V as W, Y as b, e as v, L as w, O as A, k as M, h as G, i as Y, j as z, S as I, r as L, W as N, f as R, g as j, t as k, c as q, a as K, u as Q, b as U, d as J } from "./index-BzE_pVEk.js";
2
2
  export {
3
3
  s as Address,
4
4
  t as Body,
5
5
  i as BodyText,
6
- n as Button,
7
- o as CTA,
6
+ o as Button,
7
+ n as CTA,
8
8
  r as CTAWrapper,
9
- d as DocumentContext,
10
- l as Editor,
11
- u as Emails,
12
- g as EntityField,
13
- m as FlexContainer,
9
+ d as Card,
10
+ l as DocumentContext,
11
+ u as Editor,
12
+ g as Emails,
13
+ m as EntityField,
14
+ F as FlexContainer,
14
15
  c as FontSizeSelector,
15
- F as GetDirections,
16
- p as GridSection,
17
- T as Header,
18
- h as Heading,
19
- x as HeadingText,
20
- y as HoursStatus,
21
- C as HoursTable,
22
- f as ImageWrapper,
23
- E as NumberFieldWithDefaultOption,
24
- S as Phone,
25
- B as Promo,
26
- D as Section,
27
- H as TailwindConfigContext,
28
- O as TextList,
29
- P as VisualEditorProvider,
30
- V as YextEntityFieldSelector,
31
- b as applyTheme,
32
- v as bodyVariants,
33
- W as buttonVariants,
34
- w as constructFontSelectOptions,
35
- A as defaultFonts,
36
- M as getFontWeightOptions,
37
- G as getFontWeightOverrideOptions,
38
- Y as headingVariants,
39
- z as resolveYextEntityField,
40
- I as sectionVariants,
41
- L as themeMangerCn,
42
- N as themeMangerTwMergeConfiguration,
43
- R as themeResolver,
44
- j as useDocument,
45
- k as useEntityFields,
46
- q as usePlatformBridgeDocument,
47
- K as usePlatformBridgeEntityFields,
48
- Q as useTailwindConfig
16
+ p as Footer,
17
+ C as GetDirections,
18
+ T as GridSection,
19
+ h as Header,
20
+ x as Heading,
21
+ y as HeadingText,
22
+ f as HoursStatus,
23
+ E as HoursTable,
24
+ S as ImageWrapper,
25
+ B as NumberFieldWithDefaultOption,
26
+ D as Phone,
27
+ H as Promo,
28
+ O as Section,
29
+ P as TailwindConfigContext,
30
+ V as TextList,
31
+ W as VisualEditorProvider,
32
+ b as YextEntityFieldSelector,
33
+ v as applyTheme,
34
+ w as bodyVariants,
35
+ A as buttonVariants,
36
+ M as constructFontSelectOptions,
37
+ G as defaultFonts,
38
+ Y as getFontWeightOptions,
39
+ z as getFontWeightOverrideOptions,
40
+ I as headingVariants,
41
+ L as resolveYextEntityField,
42
+ N as sectionVariants,
43
+ R as themeMangerCn,
44
+ j as themeMangerTwMergeConfiguration,
45
+ k as themeResolver,
46
+ q as useDocument,
47
+ K as useEntityFields,
48
+ Q as usePlatformBridgeDocument,
49
+ U as usePlatformBridgeEntityFields,
50
+ J as useTailwindConfig
49
51
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yext/visual-editor",
3
3
  "description": "Component library for Yext Pages Visual Editor",
4
- "version": "0.0.19",
4
+ "version": "0.0.20",
5
5
  "type": "module",
6
6
  "author": "sumo@yext.com",
7
7
  "types": "dist/index.d.ts",