@yext/visual-editor 0.0.20 → 0.0.22

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
@@ -289,6 +289,16 @@ type AddressProps = {
289
289
  };
290
290
  declare const AddressComponent: ComponentConfig<AddressProps>;
291
291
 
292
+ type BannerProps = {
293
+ text: YextEntityField<string>;
294
+ textAlignment: "justify-end" | "justify-start" | "justify-center";
295
+ fontSize: BodyProps["fontSize"];
296
+ fontWeight?: BodyProps["fontWeight"];
297
+ textColor: BodyProps["color"];
298
+ backgroundColor: "bg-palette-primary" | "bg-palette-secondary" | "bg-palette-accent" | "bg-palette-text" | "bg-palette-background";
299
+ };
300
+ declare const Banner: ComponentConfig<BannerProps>;
301
+
292
302
  interface BodyTextProps extends BodyProps {
293
303
  text: YextEntityField<string>;
294
304
  }
@@ -507,4 +517,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
507
517
  }
508
518
  declare const TextListComponent: ComponentConfig<TextListProps>;
509
519
 
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 };
520
+ export { AddressComponent as Address, type AddressProps, Banner, type BannerProps, 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
@@ -289,6 +289,16 @@ type AddressProps = {
289
289
  };
290
290
  declare const AddressComponent: ComponentConfig<AddressProps>;
291
291
 
292
+ type BannerProps = {
293
+ text: YextEntityField<string>;
294
+ textAlignment: "justify-end" | "justify-start" | "justify-center";
295
+ fontSize: BodyProps["fontSize"];
296
+ fontWeight?: BodyProps["fontWeight"];
297
+ textColor: BodyProps["color"];
298
+ backgroundColor: "bg-palette-primary" | "bg-palette-secondary" | "bg-palette-accent" | "bg-palette-text" | "bg-palette-background";
299
+ };
300
+ declare const Banner: ComponentConfig<BannerProps>;
301
+
292
302
  interface BodyTextProps extends BodyProps {
293
303
  text: YextEntityField<string>;
294
304
  }
@@ -507,4 +517,4 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
507
517
  }
508
518
  declare const TextListComponent: ComponentConfig<TextListProps>;
509
519
 
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 };
520
+ export { AddressComponent as Address, type AddressProps, Banner, type BannerProps, 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 };