@yext/visual-editor 0.0.28 → 0.0.29
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 +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/visual-editor.cjs +45 -45
- package/dist/visual-editor.js +2862 -2796
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -416,13 +416,13 @@ interface CTAWrapperProps {
|
|
|
416
416
|
declare const CTAWrapperComponent: ComponentConfig<CTAWrapperProps>;
|
|
417
417
|
|
|
418
418
|
declare const emailsVariants: (props?: ({
|
|
419
|
-
fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" |
|
|
419
|
+
fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
420
420
|
fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
|
|
421
421
|
color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
|
|
422
|
+
includeHyperlink?: boolean | null | undefined;
|
|
422
423
|
} & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
|
|
423
424
|
interface EmailsProps extends VariantProps<typeof emailsVariants> {
|
|
424
425
|
list: YextEntityField<string[]>;
|
|
425
|
-
includeHyperlink: boolean;
|
|
426
426
|
listLength: number;
|
|
427
427
|
}
|
|
428
428
|
declare const EmailsComponent: ComponentConfig<EmailsProps>;
|
|
@@ -565,4 +565,9 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
|
|
|
565
565
|
}
|
|
566
566
|
declare const TextListComponent: ComponentConfig<TextListProps>;
|
|
567
567
|
|
|
568
|
-
|
|
568
|
+
type BreadcrumbsProps = {
|
|
569
|
+
separator?: string;
|
|
570
|
+
};
|
|
571
|
+
declare const Breadcrumbs: ComponentConfig<BreadcrumbsProps>;
|
|
572
|
+
|
|
573
|
+
export { AddressComponent as Address, type AddressProps, Banner, type BannerProps, 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, DocumentContext, 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, 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, validateSlug };
|
package/dist/index.d.ts
CHANGED
|
@@ -416,13 +416,13 @@ interface CTAWrapperProps {
|
|
|
416
416
|
declare const CTAWrapperComponent: ComponentConfig<CTAWrapperProps>;
|
|
417
417
|
|
|
418
418
|
declare const emailsVariants: (props?: ({
|
|
419
|
-
fontSize?: "default" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" |
|
|
419
|
+
fontSize?: "default" | "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
420
420
|
fontWeight?: "default" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | null | undefined;
|
|
421
421
|
color?: "default" | "text" | "accent" | "secondary" | "primary" | "background" | null | undefined;
|
|
422
|
+
includeHyperlink?: boolean | null | undefined;
|
|
422
423
|
} & class_variance_authority_dist_types_js.ClassProp) | undefined) => string;
|
|
423
424
|
interface EmailsProps extends VariantProps<typeof emailsVariants> {
|
|
424
425
|
list: YextEntityField<string[]>;
|
|
425
|
-
includeHyperlink: boolean;
|
|
426
426
|
listLength: number;
|
|
427
427
|
}
|
|
428
428
|
declare const EmailsComponent: ComponentConfig<EmailsProps>;
|
|
@@ -565,4 +565,9 @@ interface TextListProps extends VariantProps<typeof textListVariants> {
|
|
|
565
565
|
}
|
|
566
566
|
declare const TextListComponent: ComponentConfig<TextListProps>;
|
|
567
567
|
|
|
568
|
-
|
|
568
|
+
type BreadcrumbsProps = {
|
|
569
|
+
separator?: string;
|
|
570
|
+
};
|
|
571
|
+
declare const Breadcrumbs: ComponentConfig<BreadcrumbsProps>;
|
|
572
|
+
|
|
573
|
+
export { AddressComponent as Address, type AddressProps, Banner, type BannerProps, 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, DocumentContext, 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, 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, validateSlug };
|