easy-email-extensions 3.1.29 → 3.1.30
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/lib/AttributePanel/components/attributes/Width.d.ts +1 -1
- package/lib/BlockLayer/components/ContextMenu/index.d.ts +1 -1
- package/lib/BlockLayer/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +1 -1
- package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +1 -1
- package/lib/components/Form/ImageUploader/index.d.ts +1 -1
- package/lib/components/Form/enhancer.d.ts +1 -1
- package/lib/index2.js +2 -2
- package/lib/index2.js.map +1 -1
- package/lib/utils/getBlockTitle.d.ts +1 -1
- package/package.json +4 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
import { InputWithUnitProps } from '
|
1
|
+
import { InputWithUnitProps } from '../../../components/Form/InputWithUnit';
|
2
2
|
export declare function Width({ inline, unitOptions, }: {
|
3
3
|
inline?: boolean;
|
4
4
|
unitOptions?: InputWithUnitProps['unitOptions'];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { useBlock } from 'easy-email-editor';
|
2
|
+
import { useBlock } from '../../../../easy-email-editor';
|
3
3
|
import { IBlockDataWithId } from '../../../BlockLayer';
|
4
4
|
export declare function ContextMenu({ moveBlock, copyBlock, removeBlock, contextMenuData, onClose, }: {
|
5
5
|
onClose: (ev?: React.MouseEvent) => void;
|
package/lib/index2.js
CHANGED
@@ -39222,11 +39222,11 @@ const MergeTags = React__default.memo((props) => {
|
|
39222
39222
|
}, [props]);
|
39223
39223
|
const mergeTagContent = useMemo(() => renderMergeTagContent ? renderMergeTagContent({
|
39224
39224
|
onChange: props.onChange,
|
39225
|
-
isSelect: props.isSelect,
|
39225
|
+
isSelect: Boolean(props.isSelect),
|
39226
39226
|
value: props.value
|
39227
39227
|
}) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null), [renderMergeTagContent, props.onChange, props.isSelect, props.value]);
|
39228
39228
|
if (renderMergeTagContent) {
|
39229
|
-
return mergeTagContent;
|
39229
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, mergeTagContent);
|
39230
39230
|
}
|
39231
39231
|
return /* @__PURE__ */ React__default.createElement("div", {
|
39232
39232
|
style: { color: "#333" }
|