easy-email-extensions 3.0.14 → 3.1.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "easy-email-extensions",
3
3
  "license": "MIT",
4
4
  "description": "Email editor",
5
- "version": "3.0.14",
5
+ "version": "3.1.0",
6
6
  "author": "m-Ryan",
7
7
  "repository": {
8
8
  "type": "git",
@@ -73,17 +73,13 @@
73
73
  "react-codemirror2": "^7.2.1",
74
74
  "react-color": "^2.19.3",
75
75
  "react-final-form-arrays": "^3.1.3",
76
- "react-sortablejs": "^6.0.0",
77
- "react-use": "^17.3.1",
78
- "sortablejs": "^1.14.0"
76
+ "react-use": "^17.3.1"
79
77
  },
80
78
  "peerDependencies": {
81
79
  "easy-email-core": "^2.5.2",
82
80
  "react": "^17.0.2",
83
81
  "react-dom": "^17.0.2",
84
- "react-final-form": "^6.5.7",
85
- "react-sortablejs": "^6.0.0",
86
- "sortablejs": "^1.14.0"
82
+ "react-final-form": "^6.5.7"
87
83
  },
88
- "gitHead": "ec499ff12cb9eca4d20fcd2994ff95d4d5d5b141"
84
+ "gitHead": "2ee98c374fddd4086b11938b650b7f7a44dade11"
89
85
  }
@@ -1,23 +0,0 @@
1
- import { ReactSortableProps } from 'react-sortablejs';
2
- import React from 'react';
3
- export declare const DATA_ATTRIBUTE_ID = "data-tree-node-id";
4
- export declare const DATA_ATTRIBUTE_INDEX = "data-tree-node-index";
5
- export interface TreeNode<T> {
6
- id: string;
7
- children?: T[];
8
- }
9
- export interface BlockTreeItemProps<T> {
10
- indent: number;
11
- index: number;
12
- nodeData: T;
13
- renderTitle: (data: T) => React.ReactNode;
14
- defaultExpandAll: boolean;
15
- onSelect: (id: string) => void;
16
- onMouseEnter?: (id: string, event: React.MouseEvent) => void;
17
- onContextMenu?: (nodeData: T, event: React.MouseEvent) => void;
18
- onDragStart: ReactSortableProps<T>['onStart'];
19
- onDragMove: ReactSortableProps<T>['onMove'];
20
- onDragEnd: ReactSortableProps<T>['onEnd'];
21
- onSpill: ReactSortableProps<T>['onSpill'];
22
- }
23
- export declare function BlockTreeItem<T extends TreeNode<T>>(props: BlockTreeItemProps<T>): JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export declare const TreeCollapse: React.FC<{
3
- hasChildren: boolean;
4
- expand: boolean;
5
- setExpand: React.Dispatch<React.SetStateAction<boolean>>;
6
- }>;