easy-email-extensions 3.2.1-alpha.8 → 4.0.0-alpha.0

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.
@@ -1 +1,3 @@
1
- export declare function FontStyle(): JSX.Element;
1
+ export declare function FontStyle({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function FontWeight(): JSX.Element;
1
+ export declare function FontWeight({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function LetterSpacing(): JSX.Element;
1
+ export declare function LetterSpacing({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function LineHeight(): JSX.Element;
1
+ export declare function LineHeight({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1,5 +1,6 @@
1
1
  export interface PaddingProps {
2
2
  title?: string;
3
3
  attributeName?: 'padding' | 'inner-padding' | 'text-padding';
4
+ name?: string;
4
5
  }
5
6
  export declare function Padding(props?: PaddingProps): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function TextAlign(): JSX.Element;
1
+ export declare function TextAlign({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function TextDecoration(): JSX.Element;
1
+ export declare function TextDecoration({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1,3 @@
1
- export declare function TextTransform(): JSX.Element;
1
+ export declare function TextTransform({ name }: {
2
+ name?: string;
3
+ }): JSX.Element;
@@ -1 +1 @@
1
- export declare function Social(): JSX.Element;
1
+ export declare function Social(): JSX.Element | null;
@@ -1 +1 @@
1
- export default function MergeTagBadge(): JSX.Element;
1
+ export declare function MergeTagBadge(): JSX.Element;
@@ -1,6 +1,8 @@
1
- export interface DragIconProps {
1
+ import { IBlockData } from 'easy-email-core';
2
+ import { RecursivePartial } from 'easy-email-core';
3
+ export interface DragIconProps<T extends IBlockData> {
2
4
  type: string;
3
- payload?: any;
5
+ payload?: RecursivePartial<T>;
4
6
  color: string;
5
7
  }
6
- export declare function DragIcon(props: DragIconProps): JSX.Element;
8
+ export declare function DragIcon<T extends IBlockData = any>(props: DragIconProps<T>): JSX.Element;
@@ -2,4 +2,5 @@ import React from 'react';
2
2
  import { BlockLayerProps } from '../BlockLayer';
3
3
  export declare const SimpleLayout: React.FC<{
4
4
  showSourceCode?: boolean;
5
+ defaultShowLayer?: boolean;
5
6
  } & BlockLayerProps>;
@@ -0,0 +1,10 @@
1
+ import { TabsProps } from '@arco-design/web-react';
2
+ import React from 'react';
3
+ export interface EditGridTabProps<T extends any = any> extends Omit<TabsProps, 'onChange'> {
4
+ value: Array<T>;
5
+ renderItem: (item: T, index: number) => React.ReactNode;
6
+ onChange: (vals: Array<T>) => any;
7
+ additionItem?: T;
8
+ label: string;
9
+ }
10
+ export declare function EditGridTab<T extends any = any>(props: EditGridTabProps<T>): JSX.Element;
@@ -8,6 +8,7 @@ import enhancer from './enhancer';
8
8
  import { InputProps } from './Input';
9
9
  import { InputWithUnitProps } from './InputWithUnit';
10
10
  import { EditTabProps } from './EditTab';
11
+ import { EditGridTabProps } from './EditGridTab';
11
12
  import { InlineTextProps } from './InlineTextField';
12
13
  import { AutoCompleteProps } from './AutoComplete';
13
14
  export { RichTextField } from './RichTextField';
@@ -28,5 +29,6 @@ export declare const SwitchField: (props: import("./enhancer").EnhancerProps<Swi
28
29
  export declare const DatePickerField: (props: import("./enhancer").EnhancerProps<DatePickerProps> & Omit<DatePickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
29
30
  export declare const CheckboxField: (props: import("./enhancer").EnhancerProps<CheckboxGroupProps<any>> & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
30
31
  export declare const EditTabField: (props: import("./enhancer").EnhancerProps<EditTabProps<any>> & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
32
+ export declare const EditGridTabField: (props: import("./enhancer").EnhancerProps<EditGridTabProps<any>> & Omit<EditGridTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
31
33
  export declare const InlineTextField: (props: import("./enhancer").EnhancerProps<InlineTextProps> & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
32
34
  export { enhancer };
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, $ as AutoCompleteField, j as Background, m as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, x as BlockMarketManager, y as BlockMaskWrapper, p as Border, q as BorderColor, t as BorderStyle, v as BorderWidth, a3 as CheckboxField, C as Color, U as ColorPickerField, h as ContainerBackgroundColor, a2 as DatePickerField, D as Decoration, n as Direction, a4 as EditTabField, F as FontFamily, r as FontSize, u as FontStyle, w as FontWeight, H as Height, Y as ImageUploaderField, a5 as InlineTextField, J as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, k as LineHeight, o as Link, M as Margin, s as MergeTags, N as NavbarLinkPadding, Q as NumberField, P as Padding, a0 as RadioGroupField, a7 as RichTextField, K as SearchField, Z as SelectField, S as ShortcutToolbar, E as SimpleLayout, R as SliderField, z as SourceCodePanel, a1 as SwitchField, T as TextAlign, O as TextAreaField, i as TextDecoration, G as TextField, l as TextTransform, _ as TreeSelectField, X as UploadField, V as VerticalAlign, W as Width, a6 as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType } from "./index2.js";
2
- import "easy-email-editor";
1
+ export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a0 as AutoCompleteField, j as Background, m as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, x as BlockMarketManager, y as BlockMaskWrapper, p as Border, q as BorderColor, t as BorderStyle, v as BorderWidth, a4 as CheckboxField, C as Color, X as ColorPickerField, h as ContainerBackgroundColor, a3 as DatePickerField, D as Decoration, n as Direction, a6 as EditGridTabField, a5 as EditTabField, F as FontFamily, r as FontSize, u as FontStyle, w as FontWeight, H as Height, Z as ImageUploaderField, a7 as InlineTextField, K as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, k as LineHeight, o as Link, M as Margin, G as MergeTagBadge, s as MergeTags, N as NavbarLinkPadding, R as NumberField, P as Padding, a1 as RadioGroupField, a9 as RichTextField, O as SearchField, _ as SelectField, S as ShortcutToolbar, E as SimpleLayout, U as SliderField, z as SourceCodePanel, a2 as SwitchField, T as TextAlign, Q as TextAreaField, i as TextDecoration, J as TextField, l as TextTransform, $ as TreeSelectField, Y as UploadField, V as VerticalAlign, W as Width, a8 as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType } from "./index2.js";
3
2
  import "react";
4
- import "react-dom";
3
+ import "easy-email-editor";
5
4
  import "easy-email-core";
5
+ import "react-dom";
6
6
  import "react-final-form";
7
7
  //# sourceMappingURL=index.js.map