easy-email-extensions 3.2.1-alpha.9 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/lib/AttributePanel/components/attributes/FontFamily.d.ts +1 -3
  2. package/lib/AttributePanel/components/blocks/index.d.ts +0 -13
  3. package/lib/AttributePanel/hooks/useSelectionRange.d.ts +0 -1
  4. package/lib/SimpleLayout/SimpleLayout.d.ts +0 -1
  5. package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +3 -5
  6. package/lib/components/Form/RichTextToolBar/components/FontSizeList/index.d.ts +3 -0
  7. package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +2 -4
  8. package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +1 -0
  9. package/lib/index.d.ts +0 -1
  10. package/lib/index.js +2 -2
  11. package/lib/index2.js +1219 -2661
  12. package/lib/index2.js.map +1 -1
  13. package/lib/style.css +1 -1
  14. package/package.json +3 -3
  15. package/lib/AttributePanel/components/attributes/CollapseWrapper/index.d.ts +0 -5
  16. package/lib/AttributePanel/components/attributes/Condition.d.ts +0 -1
  17. package/lib/AttributePanel/components/attributes/Iteration.d.ts +0 -1
  18. package/lib/MergeTagBadge/index.d.ts +0 -1
  19. package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +0 -6
  20. package/lib/components/Form/RichTextToolBar/components/BasicTools.d.ts +0 -1
  21. package/lib/components/Form/RichTextToolBar/components/Bold/index.d.ts +0 -6
  22. package/lib/components/Form/RichTextToolBar/components/FontSize/index.d.ts +0 -5
  23. package/lib/components/Form/RichTextToolBar/components/Italic/index.d.ts +0 -6
  24. package/lib/components/Form/RichTextToolBar/components/MergeTags/index.d.ts +0 -5
  25. package/lib/components/Form/RichTextToolBar/components/StrikeThrough/index.d.ts +0 -6
  26. package/lib/components/Form/RichTextToolBar/components/Tools/IconBgColor/index.d.ts +0 -5
  27. package/lib/components/Form/RichTextToolBar/components/Tools/IconFontColor/index.d.ts +0 -5
  28. package/lib/components/Form/RichTextToolBar/components/Underline/index.d.ts +0 -6
  29. package/lib/components/Form/RichTextToolBar/components/Unlink/index.d.ts +0 -12
@@ -1,3 +1 @@
1
- export declare function FontFamily({ name }: {
2
- name?: string;
3
- }): JSX.Element;
1
+ export declare function FontFamily(): JSX.Element;
@@ -39,17 +39,4 @@ export declare const blocks: {
39
39
  navbar: typeof Navbar;
40
40
  social: typeof Social;
41
41
  table: typeof Table;
42
- advanced_text: typeof Text;
43
- advanced_image: typeof Image;
44
- advanced_button: typeof Button;
45
- advanced_divider: typeof Divider;
46
- advanced_spacer: typeof Spacer;
47
- advanced_accordion: typeof Accordion;
48
- advanced_carousel: typeof Carousel;
49
- advanced_navbar: typeof Navbar;
50
- advanced_social: typeof Social;
51
- advanced_wrapper: typeof Wrapper;
52
- advanced_section: typeof Section;
53
- advanced_group: typeof Group;
54
- advanced_column: typeof Column;
55
42
  };
@@ -3,5 +3,4 @@ export declare function useSelectionRange(): {
3
3
  selectionRange: Range | null;
4
4
  setSelectionRange: import("react").Dispatch<import("react").SetStateAction<Range | null>>;
5
5
  restoreRange: (range: Range) => void;
6
- setRangeByElement: (element: ChildNode) => void;
7
6
  };
@@ -2,5 +2,4 @@ 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;
6
5
  } & BlockLayerProps>;
@@ -1,5 +1,3 @@
1
- export interface FontFamilyProps {
2
- execCommand: (cmd: string, value: any) => void;
3
- getPopupContainer: () => HTMLElement;
4
- }
5
- export declare function FontFamily(props: FontFamilyProps): JSX.Element;
1
+ export declare function FontFamily(props: {
2
+ onChange: (val: string) => void;
3
+ }): JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare function FontSizeList(props: {
2
+ onChange: (val: string) => void;
3
+ }): JSX.Element;
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
2
  export declare const ToolItem: React.FC<{
3
- title?: string;
3
+ title: string;
4
4
  icon: React.ReactNode;
5
- onClick?: React.MouseEventHandler<any>;
5
+ onClick?: () => void;
6
6
  trigger?: string;
7
- style?: React.CSSProperties;
8
- isActive?: boolean;
9
7
  }>;
@@ -1,4 +1,5 @@
1
1
  export interface ToolsProps {
2
2
  onChange: (content: string) => any;
3
+ container: HTMLElement | null;
3
4
  }
4
5
  export declare function Tools(props: ToolsProps): JSX.Element;
package/lib/index.d.ts CHANGED
@@ -5,7 +5,6 @@ export * from './ShortcutToolbar';
5
5
  export * from './SourceCodePanel';
6
6
  export * from './InteractivePrompt';
7
7
  export * from './SimpleLayout';
8
- export * from './MergeTagBadge';
9
8
  export * from './components/Form';
10
9
  export { getContextMergeTags } from './utils/getContextMergeTags';
11
10
  export { getIconNameByBlockType } from './utils/getIconNameByBlockType';
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
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";
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